Using transformers to modify data.
Recently active
I am using an existing polygon buffered dataset along with another line dataset to produce a new line dataset, where the source lines either contain or intersect the source polygon. The problem I am facing is that there are considerate gaps between the lines of the new dataset as the sources are either not fully contained in the polygon or don't intersect at a specific point.Using GIS software I can trace to join the lines, how can I automate this in FME?
I'm slowly getting this PDF to work and have made some progress, now getting stuck in another spot. Right now the process is I clip a raster and a points shapefile by the same polygon > rotate both > and export out to a PDF. I've figured out how to rotate and align the points all neatly, but I want the raster image to fill the extent I want. Examples:The extent I want (made from ArcMap) on top and the extent that FME outputs:
I want to group polylines together depending on x, y and z. Neighborhood Aggregator only seems to take into account XY. The 2D perspective snip shows the lines in 2D. Neighborhood groups polylines together regardless in they are far apart in 3D (as the second snip shows).
I need to extract a variable amount of characters from a string and would like some help.I have an attribute in the following format:id-Structure-1.1.13.1.6.1I need to extract the first 4 numbers (1.1.13.1)Where it's get tricky, is that each number can have a value that may varies between 1 and 6000so it's possible to see "id-Structure-1.5474.768.322.22.12" where I'd like to extract (1.5474.768.322)Any help would be much appreciatethanks
Tried all the "solutions" in the provided link, and changing my port. It was working 1 days prior to the errors
I simply want to create a subset of my pointcloud containing points between 2 heights. What syntax enables me to write the expression in one line?
Here is the basic outline of what I'm trying to figure out1. clip raster to polygon (a rectangle shape)2. clip points to same polygon shape 3. rotate both (points and raster) the same degree, i.e 30.54. output is PDFWhere I'm getting stuck is everything is working fine until I try to rotate the raster- the imagery rotates correctly but it rotated in the wrong location?: I have examples to help explain-When I add the boundary of the clipped imagery is shows that the rotated points and rotated imagery are not lined up:This is what it looks like before I rotate the data: everything is nicely lined up:Any help in rotating this raster will be great!
Hi everyone, I have two data setsOne contains many catchment areas and their sizes (calculated)The second has the total area of all catchments (Calculated)I need to join these two so that I can then use an ExpressionEvaluator on them to determine percentages. How do I do this if they do not have a common attribute to join on? I tried a FeatureMerger assigning them both a value of 1 as I thought I read somewhere that that would work... but can not find that article again :-(Thanks!Iris
Hi all,I have the next question : is it possible to make a LineOnAreaOverlay and calculate new measures (based on the origin measures) of the output lines that intersect the polygons? The origin lines are roadsections and have a start and end measure (hectopoints).See also the attached png:
Hi,I am trying to find the position of the interruption in a polyline. I have already filtered the broken line, now I need the coordinates of the interruption point.
Hi all,I have a question about performing calculations on individual grid points.I have a regular, 6*6 grid, which contains information about depth values (height above ground surface). I also have a constant ground surface elevation. I called these attributes [z.point] and [z.ground].What I want to do, is to calculate the depth difference between the ground surface and those grid points, so basically I want to calculate [z.point]-[z.ground]. [z-ground] is a constant attribute, but z.point is a variable attribute that I already defined correctly per point via a spatial join. Later on, I would like to use more formula's and add more attributes with formula output to the individual grid points, but I think that could be done once I know how to solve this problem.Any suggestions would be great!Thanks in advance,Martin-------------------------------------------------------------------------------------------------------------------------------------------Further model information, if n
Hi, when I apply the sliver remover after an areaonarea-overlay I noticed that arcs get dissolved. I would like to remove slivers but keep arcs as arcs. Repair method is set to "longest boundary". It seems even arcs get dissolved (turned into line segments) for areas/arcs where there is no sliver.FME 2017.1 Is that behaviour as designed? Did not find anything about in documentation. Thank you, Rob
I created a workbench translating data from Smallworld to json. It was just a plain Smallworld reader and then a connector that connects to write to a json writer. After the translation is done, the FME Data Inspector tells me there is no geometry in my json file. Do I need some sort of transformer in between to create the geometry in json? Thanks!
Hi,I have some JSON GET requests working AWS API Gateway and an FME backend thanks to @GerhardAtSafe and @stewartharper for the youtube videos and github repo. The next step is to offer up zip files. The workbench streams a small zip file and I am now trying to get this working through the AWS API Gateway. I have added application/zip for the content type and got the gateway to support application/zip binary. When I try to make the call though I only get an empty zip file - although the FME job does run successfully and a file is created. I suspect it is because the body mapping is incorrect. There is some information for images here:https://aws.amazon.com/blogs/compute/binary-support-for-api-integrations-with-amazon-api-gateway/Does anyone know what I should put in the body mapping template for the integration response?Many Thanks,Oliver
Good afternoon all!I am having a problem with developing a QA/QC process for some CAD data. The ultimate objective is to compare the layers within the CAD files against base layer names located in a spreadsheet (i.e Elevation Contours, Houses, Lights, etc). I think the best way to do this is using Python. I have tried transformers but they only look at the data that is being run. I'm new to FME Python and I'm kinda lost so far. Any assistance would be great!Thanks! David
I have a road allowance that I have divided into multiple sections. I need to number these polygons from one end of the road, to the other, in sequence. When I use the counter and group by road_id, it seems to move from top to bottom in numbering, so if a road curves or is circular, the polygons get numbered out of sequence through the curved area. Is there a way to keep these polygons numbered in sequence even through a highway ramp or a curved street? Any suggestions as to how I can assign numbers to these polygons and keep them in order from start of road to end of road?
Hi,I have a 2015 FME Server that I am preparing to upgrade to 2017.We found out last week that 3 of the 50 legacy jobs do send emails and are in daily use by our DMS team.The email part of the workspaces consists of a FMEServerEmailGenerator transformer and FMEServerNotifier transformer that connects to the topic Email.However there are no Subscriptions configured on the 2015 FME Server.So I'm wondering how is it working so I can port the configuration to FME Sever 2017 and test these important jobs? Every article I read about configuring sending Email refers to a Subscription.I have made a sample workspace and send an email by using the 2 transformers above connecting to the topic, so it is working.I've checked \\Utilities\\smtprelay\\james\\apps\\james\\SAR-INF\\config.xml on the 2015 server but don't see anything specific. I know the SMTP relay service is part of the FME Core in 2017. Any tips would be appreciated.Thanks,Annette
Hi all, I have to bulk update a whole bunch of phone numbers. The current format is ten digits, starting with a 0. I need to convert these numbers to area code + local number.The area code is either three or four digits followed by a dash (-). The area codes are stored in enclosed file "PhoneUpdating" The input and output phone numbers are in "PhoneOutput" What I'd like FME to do:When the first three or four digits in the "Phone" column match with the thee or four digits found in AreaCode: then replace these with the data found in AreaCodeUpdated. (output examples in green) Example files:Thanks again, Ed
I have the problem that some areas don't become polygon. Don't know why. I tried using snapper and line closer but that did not work. The polylines need to remain as they are in the dwg file. I have sent you a zip file with workbench and dwg file.This is the result I get. Almost correct. You can see in this picture that some lines are missing. Anyone have any ideas how to solve this?
Hello,I'm new to FME and trying to find my way around and could use a little help. I'm trying to subtract one attribute from another and test that it is above one value and below another. My thought was to use the arithmetic editor in the Tester translator, however, the items that pass are not correct. Below is a screenshot of what I'm trying to do but the results appear to be the opposite and have a result value greater than 1000. What am I doing wrong?Thanks!
So I am trying to create a workbench that will take a 3D Polyline and drape the vertices based on the USGS 10m NED data. I would like for the data to be queried based on the 3D Polyline which will be projected into a UTM Zone based on US Survey Feet. The thought of using an HTTPCaller has been suggested, however I am not quite sure on the steps to take to ensure the query is accurate. Has anyone achieved this?
As already discussed here ESRI shape file FME writer issue Shape format does not support arcs.In the linked article it says, that therefore arcs are automatically stroked before writing them to shape.As I had to learn recently this does not work if the arc went through a SurfaceDraper before and turned into a kind of 3D arc (whatever this might be).In that case the Shape Writer raises some weird error message about "extra measures which do not fit to coordinate count ..." - or something like this - and translation stops with ERROR.Solution (as you might guess by now): Use ArcStroker before SurfaceDraper and everything is fine.P.S.: I thought it maybe helpful to post this here ...
Hello,Let's say that I have one big polygon A and two smaller polygons B and C.One small polygon B is fully inside the big polygon A and the other one C is on the border of polygon A. I need to clip them B and C from the big polygon A. I use donutBuilder and for one small polygon which is fully inside, I get a good result (big polygon A with a hole B).The other polygon C which intersects the border of big polygon A is clipped from the big polygon but the part which was outside the big polygon remains as an object. How to get clean cut on the border?
Hi All,I have a data in GDB with some field ID and i want to generate UUID for this in specific format.for this i have used UUID generator but results are not as per my retirements.i.e 32 digit with dash in between eg.I want Entity_ID in such format : 000000000-0000-0000-0000-000000000012.last digit should be from Field ID field.I am not sure which transformer i can use to do this can some body guide me on this ?
!HiI am trying to use this python script which would be very helpful for me. I have a huge amount of data from a WFS which needs to be tiled in a good way. @takashi had a very good code, but I can’t get it to work in 2017.10.154 edition (the version I have).I have a test file with more than 2000 points and I want tiles with 230 points each.I have python installed on my computer and I am using the python caller.I get error messages:” FME Configuration: No destination coordinate system setPythonFactory failed to load python symbol `FeatureProcessor'Factory proxy not initialized f_4(PythonFactory): PythonFactory failed to process feature”Why is that?Any suggestions?/Regards, Tobias