Using transformers to modify data.
Recently active
Hi,I have a file geodatabase with a number of domains and I cannot work out how to expose the domain values.I have ticked 'Resolve Domains' in the Reader Parameters and then exposed the attribute domain in the following way in the AttributeExposer transformer by typing: '_<attribute>_resolved_' based on the information I read in the following article: https://knowledge.safe.com/articles/22897/working-with-geodatabase-domains.htmlHowever the attribute I exposed is empty in the output file.Can someone please assist?Thank you in advance.I am using FME 2017.0 32 Bit.
Hi,I have a table in MS SQL with polygons and i need to extract the area in sq km and sq h for each (depending on location) so have built a work space that re-projects into 3857 does the calcs and re-projects back in 4326 apart from the answers are not the same as QGIS gives me:Im using plane area with multiplier of 1
I have two point datasets (image below). There is a 1-to-many relationship between the yellow squares (1) and the red circles (many). The points are related by an ID attribute which is common to both datasets. I need to draw connecting lines from the yellow squares (the "hubs") to the red circles ("spokes") which share the same ID. I've read a number of previous posts regarding connecting points in separate datasets but they all seem to deal with either a single point connecting to many points or many-to-many relationships between datasets, but not a one-to-many relationship between two large (5,000+ rows) datasets. Any advice or info is much appreciated. Cheers,Rich
Hi,I have many points created with vertexcreator. These points are connected each other ( two by two ) and formed IFME Line. There is an order for each point. After 6 points there is a break. Then 4 more points connected each other 2 by 2 ( forming IFME Line) and the last one equal to the first point at the first Line.I have to obtain two lines at the end , using LineJoiner with the 6 first points and then with the 4 last points. With these 2 lines i will to output the succeeding description of points coordinates using geom: Get-point ().The problem : like the last point is equal to the first point, the LineJoiner connects the two lines . It's not what i want.How can i do ? Is there an other solution if i want to obtain the list of my points coordinates ?At the end, i have to obtain the list of each coordinates point (x,y) for the 2 "big" lines but the point connection ( first and ending points are similar) must be in the two lines.Can you help me ?
I have an interesting challenge. I've been provided an AutoCAD DWG with blocks placed using an unknown (an so far unable to be determined) projection and asked if I can take some source data in MapInfo (GDA94) and place it onto the DWG. Obviously without knowing the projection its not a trivial problem to make assets line up.What I am able to do is in the source data identify objects that exist as blocks in AutoCAD and match on feature attributes. This gives me around 3,000 common points with locations in the unknown coordinate system relative to the known source data. I thought I might be able to use the rubber sheeting transformer to create a transformation that would simulate a reprojection but the closest I've managed seems to result in the geometry being stretched in the y-axis by around a factor of 2 to 5.Am I just looking down a fruitless path or is there some hope? Can anyone suggest an alternative approach given the ability to match two sets of points within the two sy
Hi,I am reading in a DGN TIN and then using a GeometryCoercer transformer to convert the data to fme_polygon. I am then outputting the polygons to a Shapefile writer.However the incoming dataset is so large that it is failing to write out completely to shapefile due to shapefile's size limit of 2GB.Is there any transformer I can use that will somehow compress the data so that I can write it to shapefile (I need shapefile and can't use any other output format)?I am using FME 2017.1 64 BitThank you in advance.
I am searching for a transformer where ITopologicalOperator.ConstructUnion in ArcGIS..
I have a built and design areas which have lines inside them, and would like to style the lines based on the status of the area it exists in.i.e: Area - Built = Blue lineArea - Design = Red line
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.