Using transformers to modify data.
Recently active
Hello,Just wondering if anyone could help, i've run into a slight problem with overlapping polygons and I can't seem to find a solution with AreaonAreaOverlayer or SpatialRelator...My problem is that I would like to find when a polygon (Yellow - C in the pictures below) overlaps 2 other polygons. This can be when the full extent of that polygon is completely within the other 2 (example on the left) or it is contained within the others and overlaps their individual boundaries (example on the right).Hopefully that is understandable, sorry if i've missed out anything it's my first time posting a question on here!Thanks in advance,Jack
Hi,I work with WFS reader with polygons and multipart polygons. So, FME ingore the multipart polygones. There is no any error message, but it imports only simply polygons. I don't understand why. Is there any parameter of the WFS reader to change? Thanks
Hello.I'm using a mapnik rasterizer to overlay a couple of vector datasets on a set of rasters. I have three input, one raster and two vector. When I run it it produced one output including the three input rasters on top of eachother. How can I set it up to run separately for each input raster?
Hello to all forum members, I am looking for lines that have a close relationship between each other ~10 [cm]. The result is a blue line. pictures: a), b), c) it's results from the workflow: pictures: d), e) found a similar solution only the lines have a real relationship, they intersect. Transformer: LineOnLineOverlayer and finall LengthCalculator so it's easy to detect. I tested: NeighborFinder, LineDevider, Snipper, SpatialRelatorThank you for your help.
I am trying to parse an XML file to generate a chart. I am not exactly sure how do do this and could use some help. These should be data series line graph of temperature, salinity, and sound velocity by water depth.Here is an xml example file!
Hello, I wished to summarize the length each route type based on the Map_NO. For example, in Map_No 000, it will give me the length of the total of Program #1, Program #2 and Islands & Turning Lanes. My reader is a line feature class, and I also have separate Map Index class. Ideally, I would like to have attributes about distance of each route type for the associated Map No. I have tried the Sampler, StatiscticsCalculator, Aggregator etc and they didn't give the result I wanted. Maybe there is anything setting or other transformers I could try? Thank you.
I have annotation features in one FileGeoDatabase and I translate them to another FileGeoDatabase using FME. However, it does not maintain the font size. I think it has to do with the relationship of text size and symbol ID in the FileGeoDatabase. But I cannot maintain the font size of the annotation whatever FME format attributes I use in the writer.
Hello, I want to extract individual tiles/images with a fixed dimension (pixels x pixels) from an orthomosaic file (.ecw format), containing a single building in the centre of each tile/image. I do have a shapefile containing all building footprints but a can figure out how to approach this.Can someone help me or give me some tips? Thank you! Best regards,Bram
Hello FME community, I am looking for ideas/ logic to use in FME to divide an irregular polygon geometry into user defined number of polygons of equal or approximately equal area. Example: Assume an irregular polygon with total area of 180 Sq Km.The user would like to divide this irregular polygon into 6 smaller polygons of equal area. That is 30 Sq Km each.But for the spatial input for the irregular polygon to be divided and the number of smaller polygons of equal or approximately equal area desired, there will be no other inputs from the user.Looking for ideas/ logic to use in FME.ThanksSRG
Hi, Could anyone please help with the following issue?I've got 2008.0 version (32 bit) FME installed on server (Windows Server 2008 R2 64bits) with python 2.65 (32 bit) installed. The FME workbench works well on my desktop. But when I moved it across to the aforementioned server, it could not render some of the transformation shapes, hence delete them.I then updated the FME desktop on the server to 2018.1 (latest release 32 bit). But the issue persisted.In every run, the workbench stopped with the following error message: "FME API version of module 'Python_func' matches current internal version (3.8 20180604)In a future release, FME will have reduced support for Python 2.7. Please review http://fme.ly/py27 for further informationPython Exception <ImportError>: No module named _fileioFailed to import `fmesite'Python Exception <ImportError>: cannot import name OrderedDictError executing string `import StatisticsCalculator'@Python failed to execute com
Hi all I hope you can help. I'm fairly new to FME Server, but am having an issue with IMAPS picking up email.We've recently migrated our email from on-premise Exchange to a cloud-hosted solution (Exchange365).We have some contractors out in the field that email geotagged photos from their iPhones to a specific email address.For the past few years, we've been relying on an SMTP "notification publication" on FME server to pick up these emails and process them accordingly.From what I can see, the publication picks up the email, saves any attached photos to a specific folder and adds the location of that folder to a text file. The text file also contains a bunch of meta data contained in the email (sender, date, that sort of thing).An FME workbench is then called that uploads that photograph to a map and tags it with the metadata. Here's an example of the text file that is generated: {"fns_type": "email_publisher","email_publisher_to"
OK S00224 11-18_1-19.csvI have a list that I need to parse. I am not very well versed in Regex. I can manually build my attribute names (and in fact will have to change some of these as they are. I need to know how to1. handle the different number of dashes between the attribute name and the attr value.2. retrieve multiple attributes from one line.3. remove the brackets and write the value to the attribute with varying length strings4. handle LF5. manage dashes inside of brackets (keep)Here is some of the data structure of the list...RKORT 1712 OKOCS 11/01/18 11:33:07 18110111301739 UPDATETICKET NUMBER--[18110111301739]OLD TICKET NUM-[18102215173653]MESSAGE TYPE--[UPDATE] LEAD TIME--[48]PREPARED------[11/01/18] AT [11:30] BY [IMTHEBESTMAN@TRUCKERCONST.COM]CONTRACTOR--[MTRUCKER CONSTRUCTION] CALLER--[JARVIS BESTMAN]ADDRESS-----[707 S CREEK COUNTRY ROAD]COUNTY-[PINE] PLACE--[CUTHING]ADDRESS-----[] STREET--[E][DEEROCK][RD][]NEARBY MAJOR INTERSECTION-[N LITTLE AVE AND E DEEROCK RD]LATITUDE
Hi,reading a geojson file from an online ressource delivers the following error:The file contains german special characters called "Umlaute", such as ä,ö, ü or ß. Manually replacing these characters by other characters, e.g. "ae" instead of ä "solved" the problem. Within FME I can't find any place where one could set the character Encoding.Any smarter ideas out there?
Hello,I have global data read in from PostGIS which I want to clip out to any one of the 5000+ coordinate reference systems (the end user might request anything) and then export to FileGDB, Shapefile or Landmark Z-Map Grid. The data is in WGS84, clipped in WSG84, and then reprojected. Some data reprojects fine (maybe based on the CRS) but others don't and I can't see why. The example image below shows some data that is projected into Minna.NigeriaMid projection. In the original data, the entire earth is covered by data, but no polygons overlap. Clearly, after reprojection they do. I believe most overlaps are caused by the data being 180 degrees away from the central meridian of the Minna.NigeriaMid projection, but cannot think of a way to easily get around this. If there was a way to find the central meridian of the projection the user requests and cut the clipper 180 degrees from that, it might solve the issue? I have cut my clipper area so it doesn't go beyond -179.99, -8
Is there a way to customize the translation message after a workspace was successfully ran by the end user from the FME Server web interface? Rather than writing to a download file, I would like to just show a custom message after the translation was successful. This would be similar to how I use shut-down scripts on FME Desktop to bring up pop-up windows with statistics and information from the logfile and workspace after the translation was ran.
I'm sure this is likely to be a bug, I've spent a long time trying to figure out why this doesn't work.I have a workspace that reads CAD blocks (doors) from a .dwg file into FME, exploding these on input (as I want to use the original shape in GIS). It then aggregates these shapes (lines/arcs), and merges the insert point coordinates/attributes of the exploded block to the attributes of the aggregated shape. I then use the VertexCreator with these coordinates stored on the aggregated shape to turn it back to a point. This workflow is needed so I can hopefully have a smooth transfer of data from CAD to GIS and back again. The problem is when these blocks are recreated using the CAD writer, they do not represent the original blocks that are read in, even though all the attributes are identical. It is inconsistent with how the blocks use the x/y scale; if a negative x/y scale is used the block will be created as if this is positive so the block is mirrored. If you then reset a
I will be receiving a spreadsheet with a list of streetlights that have been removed from the field. I need to select these lights in my streetlight feature class and delete them. I can read the spreadsheet and the feature class but how do in select or filter the streetlights and delete them?
Hello I am using the left-right transformer in order to see the location of the point compared to the road, but it's not giving the expected value, all output is in right but visually are not I reproject both inputs to the same CS but still the same resultAny idea?
Hello FME gurus I want to reproject some GDA data to MGA and then reproject back to GDA and extract some coordinates but am getting weird values for the GDA coordinates. I’m confident the problem is with the CoordinateExtractor tool when used in combination with the Reprojector tool. To test it, I have set up this workbench where I started with a SHP file in GDA94 projection then:Exported the coordinatesReprojected to GDA94 MGA56Exported the coordinatesReprojected to GDA94Exported the coordinatesReprojected to GDA94 MGA56Exported the coordinates Workbench looks like this: Below is the results. Yellow is the exported data in GDA94 and blue is the exported data in GDA94 MGA56. The blues match, but the yellows don’t, although they should. Any ideas why the coordinate extractor is giving me the wrong coordinates? Thanks Kym
I have an old unconventional excel worksheets which need to be restructured. See below: The first column are field names and every subsequent column is a route number. Ideally, I'd like to transform it to the following: Any recommendations on how to pivot every n rows per column??
I am transforming a dataset using the RubberSheeter, but it is having no effect on the Observed data. The control dataset is 11,600 polylines, in a shapefile, and are an average of 1,150,000 feet long. I have successfully used this transformer before, but the control geometries have been much shorter in length. Distance Exponent: 2.0Max Distance: 0Max Number of Influencing Vectors: 0No constraints. The Control and Observed are the same coordinate systems.The features exiting from the Corrected port are exactly the same as the original source and I cannot figure out what the issue is. Any help appreciated.
What I am doing: I am creating a QC process on our dataset. On a regular basis (daily or weekly) the job will run and I want to email the last person who edited that record to tell them the error that was introduced so that they can go back and rectify the error. SCENARIO 1: I am using the HTMLReportGenerator to create a report that can get emailed. It is a simple report. The HTMLReportGenerator settings are: - Page Contents - one Table - Table Content Settings - Two ColumnsThis output goes into a EMAILER and sends me a test email. Everything I need is in the email but the columns are a bad width causing the information to get squished. My Question: How do I control the width of the two columns? SCENARIO 2: I turned the Page Contents into a Custom HTML. The problem here is I don't know how to write HTML. So, I found the HTML output from Scenario 1 and added in two lines of HTML that adjust the columns width, but I don't know how to get FME to read in more than just the first r
Hi everyone, I have a matrix stored in a spreadsheet and I would like to copy the corresponding value into a vector file by comparing two fields to the matrix. To give more detail. I am unioning two habitat maps together, one from 2011 and one from 2017. I have a spreadsheet with habitat classes on row 1 and column A. The matrix then assigns each pair a change value e.g. no change, some change, extreme change etc. Is it possible compare the 2011 field with row 1 of the spreadsheet and the 2017 field with column A and populate a new field with the result? Many thanks, Matthew
Hello.I am very new to python and need some help. I am trying to snap a polygon file to Polyline. I have two Feature class which I want to use in Python caller. And there in the transformer, I want to copy a python script which is exported from the model builder in ArcGIS. Can I use one transformer Python caller for both feature class? And also can I copy the script as it is in the python script window of Python caller.
Can anyone help me with a fairly simple workflow with transformers I need to use? Below is a simple graphic example. I have several overlapping polygon layers and would like to extract a non-overlapping polygon layer that uses an attribute value as the hierarchy (priority) for determining how to clip the output polygon. Polygon Input: Desired output:Additionally, I'd like for the output to have the polygon source name along with output. So in the above example, the attribute table would look like:ColorValueBlue4.0Green3.0Yellow1.5Red2.5Not too worried about this addition because I figure a generate list will accomplish that part. Any help for the above would be greatly appreciated!! Thanks