Using transformers to modify data.
Recently active
I have features with a structure with 3 geometries, point, line and area. I need to reproject the geometry, so I use the geometryreplacer to get each of the geometries, reproject them and put them back in the structure with an geometryextractor.Somehow the 3rd dimension is lost after using the geometryreplacer. The geometries I get are only 2d (>inspector). As GeometryEncoding I use HexEncoded OGC Well Known binary.How can I get the 3rd dimension back?Thanks, Vera
I have a grid with 16 polygons. I have an orthophoto and a contour dataset that covers the extent of the 16 polygons. I want to buffer each polygon by a set amount and clip to the extent of the buffered polygons to create an overlap. When I use the the bufferer and clipper transformer for imagery using the fanout expression to create 16 individual named folders it works fine but when I run the same unchanged routine on a contour shapefile it doesn't buffer to extent of the buffered polygons correctly. I've attached screenshots of the result using the shapefile. I've tried changing random settings but cannot achieve the expected result. Thanks in advance. Aaron The blue lines are my grid polygons. The darker shades are the overlaps of the surrounding polygons.You can see from this the routine seems to be using some of the surrounding polygons as a clipper and clipping contours from the left and top of the grid polygon. This does not happen when using the same routine on th
Hi,I’m using HttpCaller for a REST JSON get call.On the response I use JSONFlattener & JSON Fragmenter with query json["{data}"] giving the following 2 pages-(personal data redacted for this post) data{0}.applicationId (encoded: utf-8)data{0}.applicationStatus (encoded: utf-8)data{0}.applicationTypeCode (encoded: utf-8)data{0}.dob (encoded: utf-8)data{0}.eligibilityCode (encoded: utf-8)data{0}.name (encoded: utf-8)data{0}.nino (encoded: utf-8)data{0}.partyTypeCode (encoded: utf-8)data{0}.submissionDate (encoded: utf-8)data{1}.applicationId (encoded: utf-8)data{1}.applicationStatus (encoded: utf-8)data{1}.applicationTypeCode (encoded: utf-8)data{1}.dob (encoded: utf-8)data{1}.eligibilityCode (encoded: utf-8)data{1}.name (encoded: utf-8)data{1}.nino (encoded: utf-16)data{1}.partyTypeCode (encoded: utf-8)data{1}.submissionDate (encoded: utf-8) (Pagination set to max 50 pages) How can I process each page individually as I’ll be using the attributes from each page to then popu
I was wondering how to add Custom Symbols so that I could use it in FME workbench to style a MapInfo table. I have a folder with .bmp images that I want to use. I'm using FME 2019. I've tried copying the folder to Program Files/FME/mapinfo/Custom symbols but it didn't work. Any ideas?
I am creating an ECW raster mosaic from around 500 JPGs using the RasterMosaicker transformer, in FME 2015.1. The attached snapshot shows a test piece of the resulting mosaic, but ideally I would like the areas with no data to be transparent, not black. Is this possible? I have read some threads on a similar theme but I find the answers where bands are discussed difficult to understand as I don't have enough knowledge in this area. Is there a simple solution? Probably not! Many thanks.
A workbench that I've created has been set up on a Linux VM and I've been asked to list the workbench exit codes. What does this mean?
I am trying to LiDAR use data provided by the NYS Clearing House to improve a digital terrain model and to do so need to turn a xyzi file into a las. I can even open the xyzi file in arcmap or in qgis. Let me know if you know.
Basically I have a linear featureclass and a polygon featureclass that overlap in areas. Every line has a Name attribute. I'm trying to determine the best way to find all lines in a polygon and list the Name that occurs the most. I used a LineOnAreaOverlay along with StatisticsCalculator but I'm not getting the correct results. Any ideas to a better approach? thx
Hi again! New uissue. Concerning custom transformers. I made a transformer doing some spatial operations. At the end i have a new attribute and a lot of the input attributes. I use a keeper to only pass the new attribute and a ID-type field. The purpose is to use this customtransformer multiple times in a workbench. What now happens is, as soon as i enter a second or more instance(s) of this transformer, it turns some fields to parameters. No problem yet.. But then i get a red eclamation mark, so i choose the parameters...then the excalmation mark moves to a transformer connected to the output of the customtransformers. It appears some attributes wont pass. I found out that the problem was the attributekeeper in the custom transformer. If i remove that, and do the keeping outside the transformer, everything is AOK again. Why is this? Thanks for answering. Greeting again, Gio But the weird thing is some key fields wont pass.
I want to put some things to discussion I ran across while testing SurfaceDissolver.I am using it on data coming from a PointCloud, which I send through a TINGenerator in order to get as view surfaces as possible. My sample data is relatively simple, representing the roof of a small house. The PointCloud data have point distance ~20cm and seem to be accurate in z to ~5-10cm.Remark: Before I started with TINGenerator I was not very successful with PointCloudSurfaceBuilder combined with MeshSimplifier. The mesh just didn't get simple enough :-( SurfaceDissolver:First I tried different settings for "Normal Tolerance" and "Offset Tolerance" and I was not really satisfied with the amount of simplification achieved. I ended up using Normal Tolerance=30 degress and Offset Tolerance=1mFinally I tried to use SurfaceDissolver repeatedly (with identical settings) and that really improved the result.example: starting with 129 surfacesrun 1: 129 -> 65 surfacesrun 2: 65
Hello, I am trying to convert a DWG to GIS feature class (gdb) or Shapefile. I've done this previously with no issue.However, I am trying to bring through some of the extended data (In the DWG) into the attributes of the GIS output, but I cannot seem to get FME to read the extended data.I have "Read Interpreted Extended Entity Data" and "Read Extended Entity Data As List" parameters ticked, but the extended data under "format attributes" reads no values when selected and inspected.If someone could point me the right direction i'd fully appreciate it, or let me know if this is even possible or not? Many thanks in advance.
Hello all,I have a DWG file that has distance labels (text) and lines that I need to attach the text to.I have figured out, mostly through assistance through this forum (thank you), how to get the closest features to match but what I am having trouble with is where the text label is not the closest feature.I have used the Neighbor Finder and then a feature merger but for the ones that don't merge I want to be able to do a second test to look through the list of the other lines that are in the closest lines list.I have done this by using a List Exploder, followed by a length calculator and then a tester. My issue is that if I have found the closest 5 features to the label and the test is successful on one of them, how do I ignore the other four in the test? In some cases no matches will be found, so in this case I need to keep the failed record. Any assistance or guidance into how to do this better is very much appreciated.Thanks Dean
i am trying to clip a shapefile using a polyline and / or a polygon and the clipper keeps failing by saying that the "clipper outputs a rejected feature"
I'm trying to rename .wld files to .jpw after an image has been processed but the following dos command is not working. Any idea?
I'm posting a new question since part of my question was answered. The workbench uses published parameters for selecting the files to input $(SourceDataset_DGN or DWG). There is a feature reader for dwg and a feature reader for dgn, each pointing to the correct dataset. In both feature readers, the <Generic> port attributes to expose are: $(SourceDataset_DGN or DWG), $(Project) typed in as a parameter, fme_feature_type, fme_basename_, fme_text_string, fme_dataset, and fme_geometry. All seven attribute fields are created but only fme_feature_type and fme_text_string are populated with data, all of the other fields (except geometry which I get) show "missing". I am getting the fme_dataset for the DGN reader but not anything else. Takashi recommended a FileNamePartExtractor transformer after the DWG reader but still nothing. I think nothing else is populating because there is a problem with converting the parameter information since not even the $SourceDataset has any
we have 12 tables with about 400,000 records so i want to know if I can create 4 new fields; Lat, Long, and both Spatial SQL fields from the current UTM zone 13 Nad83 data.New user, so the help posts I have ready don't directly answer this question and I am still trying to learn how to create the new fields.Can I do this in one project, or does this become a multi project for each table?If not to much to ask, can you give me the functions in order for this? I can supply data if that will help also.
I've got some .KAP files which are missing spatial data and as such, I cannot convert them into something more useful like a .TIF image. I've been using FME which errors on these files with "Failed to specify the feature index as constraints on the reader". Has anyone come across this and found a solution? At this point, i'm happy just to convert to a non-spatial image format.
I have flattened some JSON and it now shows as a separate feature for each object. This is the JSONAnd this is it flattened from the JSONFlattenerI want to get the json_index to be the attribute header and the _response_body to be the feature attribute. These are the settings I currently have for the JSONFlattener. Any assistance on this would be great. I am in unfamiliar territory with JSON. Thanks
I have an attribute containing multiline text where an arbitrary block of lines are repeated near the end of the data. I can't just remove duplicate lines, as an individual line might be have legitimate duplicates. In the below example lines 2 and 15 are identical, but are correct, whereas the block of lines 17-23 are a repetition of lines 10-16, and need to be removed. The number of lines that are repeated varies, but there will always be at least one, and will include the last REV line before the footer. The footer data varies in length and content, but will never include a line beginning with REV.SITE 1REV 10-1PREV 10-3DSITE 2REV 20-3V3REV 20-3V4REV 20-3V5REV 20-3V6REV 20-3WREV 20-3XREV 20-3X4REV 20-3X5REV 20-3X6SITE 3REV 10-1PREV 10-1P1REV 20-3XREV 20-3X4REV 20-3X5REV 20-3X6SITE 3REV 10-1PREV 10-1P1Footer Data HereThe data is not in a text file that can be read bottom up, though I suppose if required it could be written to one and read back in
Hi!First question up here for me :)I have a Dataset with 137k timestamped points (over 1000 trajectories belonging to 160 individuals). Now I want to figure out, what percentage of each path is unique (I define unique as >80m away from any other path).So first i created lines from my csv-file with the coordinates of the trips, then i used Linebuilder to create a line for each trip and added a buffer of 80m. Now I wanted to use this geometry as the filter in SpatialFilter, with the point dataset as Candidates. The Problem is though, that I want to compare each point ONLY with the Trips(buffered lines) of the same Individual, except the Trip with the same TripID, because otherwise they woul all intersect.Can anyone of you help with an idea to create these conditions before feeding the data into SpatialFilter?Here is my workspace so far.
Hello FME users, I have a set of lines that make up a polygon. I need to determine which side(left or right) of the line is "looking" outside of the polygon. Lines are not oriented the same, end point of one is not always a start point of next line and so on. LeftRightSpatialCalculator can't do the job because I don't have anything to Candidate. Thank you in advance. Milos
Hello all,I am looking for some suggestions on the best way to create a summary table that can be used in the HTML Report Generator. The overall scenario is that we have an AutoCAD file coming into FME and various parts of the data are being validated and reported on. What I am trying to get it something like the following:Object Passed Failed TotalRoads 10 3 13Distance 15 1 16Area 5 2 7 Thanks Dean
Hi Team,I have a folder structure with thousands of DWG files in multiple sub folders. Excuse the naming convention, its purely indicative.Currently as below, all the DWG files reside inside the DWG folder. I am trying to create the following, In the current workspace I have a Directory and File and Pathnames reader to FileCopy WriterThe reader reads the "TESTIN" Folder with "Recurse into subfolders" as the checked option, running a path filter of "*.dwg"I have an Attribute Manager translator to assign 'Path_windows' and "Path_filename" to the writer. Currently the writer output location is set to the same Root level "TESTIN" folder using the "SourceDataset_PATH" parameter (which is default), with the fanout expression of "_PLANS\\DWG"This result obviously searches all the folders for the .dwg extension and then copies them all to the TESTIN\\_PLANS\\DWG folder that is created by the fan out expression.My qu
Hi allI am quite new to FME workbench and I am temporarily working for LOD2 process. I have already made LOD1 containing footprints and heights and I converted the models found in 3D warehouse into GML files. So the what should I do to use the gml models to take the place to cubs of LOD1 with matched ID? Thank you in advance.
Can anyone show me how I can calculate the number of unique values within the list of each record using Python?For example, what is the count of "Primary" or "Repair"?I know that I can do this easily by exploding the list and go from there. But since I have over 1mil lists, I think the best way to do it is to take advantage of Python to improve performance. Thanks in advance!