Using transformers to modify data.
Recently active
When I run an FME Script in one repository containing a custom transformer, FME Server will sometimes incorrectly use a custom transformer with same name from a different repository. I have separate repositories on FME Server for a set of workspaces. I would like to extract some logic into custom transformers that would be loaded into these repositories. Unfortunately, it seems that FME Server sometimes loads a transformer from a different repository. I can run the same workspace in one repository twice in a row and get a different result because it will grab a transformer from different folders on different runs.
Hello everyone,I´m still thinking about issue when after successful translation all folders in some path will be zipped. I have no idea, how to do this via simple workspace. Maybe only one possibility is to do that via Shutdown Python script. Unfortunately I´m not a huge expert in Python, could anybody help me please?Thank You so much!Lubo
Hello...I would like to sort the output of the Attributepivoter. Is this possible? For example, one of the group by rows is month and I want to sort this output based on the calendar year months (Jan. to December). Thanks.
Hello,I try to solve two problems. Database in my project contains many types of geometry - points, lines, polygons. I need to do bulk conversion of every coordinate by 2 decimal places. E.g. One point feature has X coordinate 152,125 and Y coordinate 696,745. I need to convert these values to X coordinate 15212,5 and Y coordinate 69674,5. Does anybody idea how to solve this problem please? Second problem is about work with lists. I have met many times situations when I use list in XML templater. I had to divide values of any attributes in list, so I have to specify index of feature in list, e.g. {fme:get-list-attribute("_indices{0}.x")}. But how can I specify, that I want to put there all values without index 0 please?Thank You so much!Lubo
Hi,is it possible to radiate a line connection between two points, so that it is a vertical and horizontal part?...indicated by the red line.
I hope someone can help me out. I have some curb lines that are poorly drafted. I tried to use Snapper (with various snapping tolerance ranging from 0.1 to 5) and then LineJoiner to join them together, but had no luck so far. I attached the file here so if you want to give it a try, please go ahead.Thanks in advance.
I've pairs of two nodes which have an offset in between. I need to add in the middle of each pair a new feature (see the left diagram). The first table shows the current list with the node pairs connected by the attribute ID. I like to create a new list with the new created node-features. Is there a way to solve this problem with existing transformers?
I'm trying to use visual studio 2015 as Python IDE to debug the code. Is this even possible? If not what is the easiest way to debug python scripts? Unfortunately, I found no answer witch works for me...
I have an XML document that contains a string of coordinates that form a line. I want to create the line geometry from the list of coordinates. My first thought was to use an AttributeSplitter to separate out the coordinates then a VertexCreator and Line Builder and so on. However I'm sure there must be a less long-winded way. I've looked at using the GeometryReplacer, but haven't been able to get that working (I've tried it with various Geometry Encoding options). Any suggestions much appreciated as my knowledge with XML is very basic!<LineString xmlns="http://www.opengis.net/gml" gid="102790531.1" srsName="osgb:BNG" srsDimension="46" axisLabels="x y"><posList srsDimension="46">468763 339612 468739 339598 468712 339581 468684 339568 468647 339556 468603 339546 468562 339542 468540 339541 468530 339536 468337 339604 468335 339610 468330 339617 468322 339625 468313 339635 468307 339642 468862 339504 468856 339510 468838 339528 468823 339548 468811 339570 468800 339592 468793
Hi there,I have some geometry correction problem..maybe you have some idea to help...I have two polygon layers (blue and red). The blue layer (in this example a poylgon with 4 vertices) is the reference layer and is not allowed to be changed. The red layer (a polygon with 6 vertices) has been digitized on top of the blue layer, the vertices of the red layer have been snapped to the blue one. Unfortunately there have been added some additional unneccesary vertices in the red layer. Hmmm, how can I remove those vertices if there are within a certain distance of the underlying segment?
Hi,I would like to export images from a geodatabase attachment table to JPEGs. In the process I would love to write the geoobject feature attributes to name the jpeg.The attachments are joined to geoobject features by a Global ID. I would like to name the jpegs with attributes from "Stadsvandring" and "ID_nr" columns. I appreciate tips on what translators could be used!/Sofia
@andrewegriffin@gmail.com
I downloaded a point shapefile and want to add new attributes and update them depending on what boundary they fall within. In this case, I have a pre-existing MapInfo Table of grids in a city. I want the green points to have a new attribute with what grid they are in. So the points in the upper left would have ANSW1636 in it.Usually I would manually create the new attribute in the table within MapInfo and then update the field using their Update Column feature like below.I'm a fairly new user of FME and am not sure what an easy way to do this is. Also I am using FME 2013 so I won’t have any of the fancy new features after that version.
A direct utf-8 text file to utf-8 text file works perfectly but when I try to write to a system character encoding text file I get an error after a while.I include the log file in the workspace (https://goo.gl/DF46Yx)Any suggestions?
Hello: Has anyone attempted to use FME to capture survey responses from Survey Monkey? If so, what approach did you take? I don't have python experience but I have a survey I need to automate processing the survey responses. Any help or advice is welcomed.
Hi, I have a dataset containing polygons with donuts. I need to remove these donuts as they are not allowed for further use of the dataset. I manage to remove all these by identifying these polygons with the donutholeextractor. Then these identified polygons are plit by an itterative proces of overlaying them with a rectangular raster with decreasing cell size. As there are big polygons with small holes this gives me a result were these polygons are cut into many many parts instead of just 3-4 parts. Is there a simpler/better way to split the donut polygons that is resulting in just a few new polygons without holes? It does not need to be the optimal solution. It is ok if a polygon is split in a few parts more than necessary. I just dont want to split it into 100+ parts to remove on donut as it is now. Thx, Rob
Hi all,I have to extract the coordinates of some polygons' vertices from an SDE feature class and write them into a database table. The vertices have to be numbered according to their order in the polygon. I'm using the Chopper and the Geometry Extractor to get the vertices and their coordinates. However I didn't find a possibility to save a number for each vertex. For each polygon I'm transforming the numbering has to start with 1 of course. I first tried the Counter, but I can only get consecutive numbers for all vertices with it. Can I make the Counter start with 1 again when for each new Polygon or is there any other Transformer that can do the job?Thanks in advance for any hints!
Hi, I have a bunch of data in SQL with date stamps and I have had a request to convert the data into our 4 weekly cycles. eg. any dates from 7th Jan to 13th Jan 2017 are a week 1, from 14th Jan to 20th Jan 2017 are Week2 ... Week 3, Week 4 and then 4th Feb to 10th Feb being Week 1 again ongoing. The data continues to be added to and they want me to be able to continue to run this workspace into the future and keep working out on the new data which week is it falling into. Any thoughts
I use FTPCaller to download zip files from a vendor FTP site. The number and name of the zip files can vary. Each zip file has one ESRI file geodb and its name can also vary. I have no problem downloading those zip files and unzip them. I want to load all the feature classes/tables in a file geodb into ArcSDE. As the object names in the file geodatabase can vary, I tried to use one FeatureReader with "Esri Geodatabase (File Geodb Open API)" to retrieve the feature type names, and then use a second FeatureReader with "Generic (Amy Format)" to retrieve the Schema and Data Features. However, in the Data Inspector, I can see the features, but not the feature schema. If connect the 2nd FeatureReader to a dynamic file geodatabase, I will get the error like "Unable to find the schema definition 'di_LegalLease' for feature with feature type name 'di_LegalLease'. Ensure the feature type name is correct and that its schema definition exists in the schema
Hello everyone,I try to export some XML data package via XML Templater. I have many conditions in tag filling and in cases, when tag is not filled, FME left there many whitespace, even if I use XML Formatter. You can check my syntax below:The result is below of template is below:Does anybody know, how to remove empty space and put object tag to the right level please?Thank You so much!Lubo
Is there any we could use FME to compare 2 database schema, to check for any table and any attributes diffrences.
Hey folks,If anyone has a couple of minutes to spare, could you do me a favour and test this transformer on the FME hub: https://hub.safe.com/transformers/spatialsorterIt should run to completion (and not fail in a Python error) and it should return output like this: https://www.screencast.com/t/kRP9ysTq3N (I ran it on the Parks training dataset, but it should work on any dataset).Thanks. I've had problems where it works on one machine but not another. I thought I had it cracked, but the test workspace fails on the hub. I'd like to check if it's just the hub (or just linux) or if everyone has issues.Mark