Using transformers to modify data.
Recently active
Hi everybody! I have tried to remove collinear points without sucess. For example, a square(polygon) but between two vertex I have one or more collinear point's. So how to remove this???
Hello,it is first time ,I use zigzag transformer but I got error .python caller failed to process feature .how could I fix it ?i have used spike remover for the same input lines data and it works great without problem .which transformer is better (spike or zigzag) ?which angle that should I use from your experience ?thanks in advance FME 2021
I have a bunch of points that fall on or near a linear features (routes/roads). Is there a way to use the Locate Features Along Route tool in FME to identify which route those points fall on?
Hello ,i would like to know ,what is the best tolerance value that use in anchored snapper (segment type ) to avoid any problems i have used 0.02 , automatic .it works well for some lines but it make problems for some lines when they are so close or cross eachother .The segment type of anchored snapper make lines to be intersected instead of cross lines . which value that people has experience with segment type always use without any problems ? is there any alternative for anchored snapper segment type that do the same purpose fme 2021
I have string attributes which contain repetitions of the type ";;;". How to get rid of these, however numerous the ";" are. I also want to nullify the attribute if it ends up being ";" but that can be done with a trimmer afterwards. I also would like to delete other repetitions.Examples"31;31;44" should become "31;44""*3*;*3*;*4*" or "*3*;*4*;*3*" should become "*3*;*4*" "#TH#;#BAT#;#TH#;#BAT#" should become "#TH#;#BAT#"
Hi, I hope someone can help:I have an XML URL.The URL is updated from my reader with different variables. I go through the AttributeManager to stitch together the different URL's I need to go through.I input that result into the FeatureReader When I go the the FeatureReaders parameters and choose elements to match, I see this:If I take the URL the FeatureReader receives as an input and paste it into a browser, it worksIf I take the working URL and hardcode the value directly into the AttributeManager, without any variables, the FeatureReader gives me the same errorIf I paste the working URL directly into the dataset within the feature reader I get access to the parameters and can set the Elements to Match, but that won't make it updateable from the features coming in.To me it seems like I can't use an attribute with the URL as a dataset on an XML URL in the FeatureReader. Does anyone know how to use an attribute calculated from the input data to get the information out of a
Hello, I have a response from one of the APIs I'm using that is formatted as the following example:{ "measurements": { "timestamps": [ 1504377563, 1504378166, 1504378372 ], "waterGround_mm": [ -5032, -5030, -5031 ], "waterNAP_mm": [ -7532, -7530, -7531 ], "validity": [ null, null, 1 ] }}Now, I can flatten this using FME to the following lists:_timestamps{0}: 1504377563_timestamps{1}: 1504378166_timestamps{2}: 1504378372_waterGround_mm{0}: -5032_waterGround_mm{1}: -5030_waterGround_mm{2}: -5031_waterNAP_mm{0}: -7532_waterNAP_mm{1}: -7530_waterNAP_mm{2}: -7531_validity{0}: <null>_validity{1}: <null>_validity{2}: 1Now my idea would be to rename these lists somehow to _list{}.measurement, _list{}.waterGround_mm and so on, and then use the ListExploder to explode _list{} to features. Sadly I can't find a way to properly rename _measurement{} to _list{}.measurement. Also, just trying to explode _measurements{} takes a long time with 30.000 records. Is this the proper way to go ab
Is it possible to set the Cache-Control header using the S3Connector? When I set Cache-Control in the Metadata it changes it to x-amz-meta-cache-control, which supposedly doesn't influence cache control on client requests. My Content-Type metadata changes are working. Is that a bug or expected behaviour? Via Cloudberry
The data lod-2 is available for public download from the servers of the bavarian Opengeodata platform at: <https://geodaten.bayern.de/opengeodata/OpenDataDetail.html?pn=lod2> here is the direct link to a 2x2 km square that is downloaded as citygml: <https://download1.bayernwolke.de/a/lod2/citygml/704_5322.gml> I have a whole workflow for processing that data, which stopped working without any changes to the workspace. Then i realized that i can not even read the data into a brand new workspace with the same basic error message being shown:'http://repository.gdi-de.org/schemas/adv/citygml/1.0/cityGMLBaseLoD2.xsd' mapped to 'C:\\Users\\mutzh\\AppData\\Local\\Temp\\FME_XSD_CACHE\\fmexsd_1696954419928_14896.xml'Parsing schema document 'C:\\Users\\mutzh\\AppData\\Local\\Temp\\FME_XSD_CACHE\\fmexsd_1696954419928_14896.xml' ...XML Parser error: 'Error at file: 'http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd' line: 126 column: 22 message: unable t
Hello FME Community, I am using a 'StringConcatenator' and a 'Text Writer' to create a text file. I intend to add two separate texts as the header and footer. Is there a way to add these texts without duplication?
Hey everyone. I have 3 road datasets I am working with. One point, one line and one polygon. I need to join these three datasets. The point data is set so that each point is about 100m from one another. I can manage to merge all the data but now I need to create a perpendicular line through my points to create segments of my road data.
I have some data in text files that may contain both points and lines. Each line contains a code and either a sub-code or a coordinate set: 05 1 2302 6826513.392 548235.740 257.374 05 31 2302 6826704.339 548284.671 275.511 09 91 05 1 2302 6826513.392 548235.740 257.374 05 2 2302 6826518.762 548233.548 257.950 05 3 2302 6826525.326 548234.694 258.184 05 4 2302 6826532.691 548235.254 258.606 09 99The first column is the first code, '05' is always followed by a coordinate, '09' is always followed by a sub-code: '09 91' defines start of a line, '09 99' defines end of a line. So the short example above contains two points and a polyline with four vertices. Any suggestions on how I can turn this text file into two points and a polyline?I have a python script that can handle the parsing, but I was wondering if there is a better way to
I am trying to add the following WMS in FME Desktop:http://gis.rijeka.hr/geoserver/At/wms?service=WMS&version=1.1.0&request=%20GetCapabilities&srs=EPSG:3765&format=image%2Fpng I have no problems loading this map service in ArcGIS Pro but can't seem to get it to load in FME Workbench or Data Inspector. The WMS contains two layers, I have tried adding them individually as well. Not sure what I am doing wrong. Any assistance here would be great.
I want to read from a csv file and put the contents in an SQL database table. The issue is that there are duplicate lines in the CSV file, so I want to select distinct into the SQL table to remove duplicate rows. Is there a slick way to do this, or do I need to read the csv into a temporary SQL Table holding the duplicates, and re-read the data out of that table using perform sql executor transform into its final destination? .
FINAL UPDATETurns out the problem was that the hatch fill in my block is incompatible with colors for some reason. Having a standalone circle for a block was ok. What I ended up doing was typing • via Text and then saving that as a block and now my CAD looks like a proper point layer. 2nd UpdateI added my template file to my writer parameters and I am now able to generate blocks for my individual points, but I can't seem to get the colors from my attributes to stick to my blocks.UPDATE This is my current workflow, but it still doesn't seem to produce a cad file with data inside all. **Original Post below**I have a point layer in an Esri GDB file I'm using workbench to convert to DWG AutoCAD data while maintaining color data. I have no issues with lines and polygonal layers but my understanding is that CAD uses blocks while Esri uses points. I tried a direct conversion where I just had a reader with my GDB and a writer with my DWG and the end result was a file with the poi
I'm reading a feature layer from ArcGIS Online containing about 20 layers into FME, each one with proper domains and field aliases. Unfortunately, it is not possible to: first, resolve domains without including only code output attributes, and second, there is no option to "resolve" Attribute names using aliases. I'm then trying to find a time-efficient way to solve this by using AttributeRenamer. I'm currently importing an Excel schema that contains only two columns for Input and Output Attribute and the list of attributes I want to keep from the reader output. In the Import Wizard, I deselect "Sorted" (img 1) to keep the original order of attributes and then I set the "If Input Attribute Is Missing" to "Remove Output Attribute" (img 2). What I'm experiencing is that imported attributes from the schema are still alphabetically sorted despite the "Sorted" box being deselected (img 4) and second, when I run the transform
I have a workspace that inputs property polygons and bounding boxes from an oracle database and it feeds into a WMS feature reader to obtain a raster image. It then overlays property boundary as a redline on top of the image. How do I maintain constant height and width of the image without stretching it? The WMS I am reading from does not have scale hint, nor does it have scale denominator in its implementation.
Why are inputs or parameters the "\\" is getting changed to "backslash" when using FME Form 2023.1.0.0? Seeing it happen on Workspace Runner for log file as well as database name on database joiner. How wide spread is this issue? Previous version was 2021.2.0.1
Hi I have a LAS dataset that contain small pointcloud one for each signpost along a street. Mi goal is to extract the 3d coordinates of the controid of each small pointcloud.I tried with 3dbuffer but no results thx Francesco
Hi I have a GDB file with feature layers from ArcGIS Pro in it that I would like to use workbench to convert to CAD while maintaining the symbology colors. I have extracted the colors of the symbology in hex code format *(E.g. #ffffff) into the attribute tables of the layers. I added my GDB in as a Reader, added in an AttributeFilter, link the field that my symbology is dependent on back in ArcGIS, then added in a DWGStyler to every single possible option in that field in AttributeFilter. I set the color of DWGStyler to be the field containing the hexcode, and then added in my output vis writer and connected everything. But no matter what I try, the CAD file doesn't register any of that at all.As you can see, none of the hex colors seemed to have gotten into my CAD file.
I just started with the FME AR app available in Google Play and deployed it on my Samsung A73 5g mobile phone. This supports ARCore and the Depth API. I also granted permissions to use Camera, Location and Notifications. I made use of the sample fmear file available at the FME site and tried opening that in the app. As the tutorial says, I should be able to see the sample AR content even without me having to be present at the true location of the assets in Canada. At the time of opening, I pointed the phone to the floor after which it displayed a message Searching for planes. This was followed by a display of an array of points on the floor on my house with a message Pick a plane for model elevation with a green circle like icon spinning. After i touched the points displayed on the screen, i saw a push buton like icon and a small box with a label Hydrant. Pls refer to attached image. Am i missing something? Second, i made use of the FME Workbench and copied the table structue of the
Hi, I'm running a large workbench that I can't seem to troubleshoot as I'm getting the following on the log as per below. It runs fine on different smaller test batches, but upon running on the actual dataset it seems to crash or stop. Is there a way to override if there is a single file that is breaking the process? Log below. Thanks for the assistance (happy to include more files if need be). ListExploder (ElementFactory): Processed 7927 elementsCreating reader for format: Autodesk AutoCAD DWG/DXFTrying to find a DYNAMIC plugin for reader named `ACAD'ACAD_1 Reader: Using rich geometry.AutoCAD Reader: Successfully opened file xyz etc....AutoCAD Reader: Renamed attribute 'Sign Type' to 'Sign_Type' to remove the following invalid characters '<>/\\&$|:!~ ()"@'Error running translation.
Hi Everyone, I have this KML and I cannot seem to figure out how to convert to shapefile without losing the data in html description field. Ideally, I want these to be parsed to attributes. Any help would be appreciated.
Hi,Is it possible to halt the normal data flow (preferably with a transformer), and ensure that a certain transformer receives and processes one feature at a time before the next feature is provided to it ? Some sort of "semaphore" or "street light" functionality ?I have a custom transformer that works perfectly, but its logic is only valid on a single feature.Plan B is to redo the logic, but if the above is possible, it would be much simpler.Cheers. Lars