Using transformers to modify data.
Recently active
If the "create with oid" is set in an earlier version of FME, both desktop and server still reads this. And you now dont have the option to remove it, unless you open the workbench in a earlier version. I'm using build 20202, and I just noticed cause we migrated to a newer PostGis server version which dont support OIDS. The parameter exists in 2019.2.
I am new to lists and xml in FME and having a bit of trouble. I am using the XMLTemplator to populate an XML tag using a list value. The following works as it should.{for $Contact_id in fme:get-list-attribute("Contact{}")return <NRWContact>{$Contact_id}</NRWContact>}However I am also using a different list which has been produced using the list builder and the name of the list is appended on the end so can get it to recognise it to get the value.{for $ExcelColumnName_id in {fme:get-list-attribute("list{}.ExcelColumnName")}return<Location>$ExcelColumnName_id</Location>}This just returns “<Location>$ExcelColumnName_id</Location>” and not the value from the list e.g <Location>Column B</Location>”. Hopefully it’s a simple tweak but I have not stumbled across it yet or found the same thing on the community.
Hi,I have a dataset containing point cloud terrain data and a point dataset. The point dataset is buffered using an attribute in the dataset and extruded using another attribute, but I can´t seem to get the extruded features to drape to the terrain data. What am i doing wrong here?
I am trying to create a boundary from contour data to define three different areas. I split the areas using test filter and tried AreaBuilder. It created polygons for closed lines. But It doesn't create outline boundary.
I am trying to create a TIN-model with FME using the TINGenerator. Picture below shows (red) whats generated with FME and another software (blue). As can be seen the breaklines does not get handled well. Is there any way to tweak the data so it can handle breaklines better? I have tried using the following transformers:DensifierGeneralizerPointCloudCombinerHowever it does not seem to handle breaklines very well. Breaklines shown on GREEN line in the image below
I'm running a workspace that ultimately uses a python caller to generate a chart from features processed within it. To allow me to use the group by function I have wrapped the python caller in a custom transformer. This was working great but I am now getting the following error code when I try to run the workspace: Attempting to retrieve global variable 'pmi_is_error' which was not set -- setting it to the empty stringFailed to create process, error was 'Access is denied. ', command line arguments were....... I've tried running the python caller outside of the custom transformer on single features which works fine so I assume the fault must be with the custom transformer. Any ideas of how to solve this would be greatly appreciated! Thanks
Hi folks I have a WFS file, containing (among others) a structure like that : gmgml:GEOMETRY><gmgml:MultiTextPoint srsName="EPSG:3945"><gmgml:pointMember><gmgml:SingleTextPoint srsName="EPSG:3945"><gml:pos srsDimension="2">1409133.60177307 4182456.9978057</gml:pos><gmgml:TextName>1</gmgml:TextName><gmgml:Alignment>9</gmgml:Alignment><gmgml:Format>2</gmgml:Format><gmgml:Rotation>-67.2065811157227</gmgml:Rotation> i would like to know how to recover informations contained in the list attributes (for exemple gmgml:Rotation in an user attribute ?I tried many ways by changing reader parameters, but didn't succeed. regards https://ws-sigeaeau.bordeaux-metropole.fr/WFS_SIGEAEAU_ETK/service.svc/get?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=gmgml%3AETK_ETK_10000_TXT&NAMESPACE=xmlns%28gmgml%3Dhttp%3A%2F%2Fwww.intergraph.com%2Fgeomedia%2Fgml%29&LBZMAPID={E601A08E
Hello. I'm in México. The official Coordinate System is ITRF82 - CCL. Reprojector can't read this coordinates system, so I can't reproject it. Please if someone caould help.
I have a shape-file of polygons representing land cover (cropland, forest, water etc.). For each cropland polygon I would like to know the furthest distance from any point within each cropland polygon the nearest edge of another polygon that is not cropland or water (see the paint illustration below 😃 ). Any ideas?
Picture of my workbench attached. Can someone advise me on how to write out each feature to a separate excel sheet, and include only the attachments for the specific feature? Thank You
Im having trouble with something that seems extremely trivial. I'm trying to convert the GeoJSON output from an Arcgis REST API call into geometry using the GeometryReplacer. Nothing too fancy is going on, but for some reason I get INVALID_PARAMETER_GEOMETRY_SOURCE out of the rejected port. I feel like I've done this countless number of times without issue. If I save the API output to a GeoJSON file and read it using the GeoJSON reader, FME reads it fine. I'm bewildered 😣
I have a csv of locations points tracking a utility vehicle. Each point is denoted by the "POSITION" number, and they are grouped by a "TRIP" attribute. The LineBuilder transformer will either A) Make a single line connected all points or B) if I group by Position it will leave as points. I've done this in Python by using a combination iteration, to use a for loop to connect each point to the one in front of it, but I am unsure what transformers I would use in FME. Additionally, I have yet to figure out how to access and output my features using the PythonCaller. How would I go about connecting each point to the next individually?
Hi all,Hopefully a simple question! I have a custom transformer that I have exported to a FMX as it contains blocking transformers and looping. I want to use the iteration count value to calculate another attribute value but I cannot for the life of me work out how to access the iteration count attribute from within the workspace. Thanks for your help.Cheers,Barrett
Hi All, Has anyone used Mapnik Rasterizer transformer for OpenStreetMap Raster Tiles. I have used other raster tile sources with success by rendering them with Mapnik Rasterizer; unfortunately, I am not able to find the cause of OpenStreetMap output being totally blank or transparent. Before using this transformer I am able to visualize it within Inspector so I am confident is something to do with the rendering I am using for this specific raster. Thanks,Ana
Hi All, I am trying to merge several raster tiles into a single one using RasterMosaicker. Unfortunately, in the output raster you are able to see horizontal and vertical white lines as well as a horizontal black line at the bottom. Please note these are not present after georeferencing the tiles and is only after the used of the RasterMosaicker transformer that they appears. Is there a transformer I need to use prior this or are the parameters within the RasterMosaicker the ones need altering? Any ideas welcome! Thanks,Ana
Just wanted to check before I put something in place to handle it. Is there anything in either the Date/Time Functions or Date Time Converter that allows you to specify that 1 year on from the 29 February 2020 is the 1st March 2021 rather than the 28 February 2021?
I have an xml with the following structure: <?xml version="1.0" encoding="UTF-16"?><Report> <Category> <Category Empty="10" Name="T" Type="Filter"></Category> <Category Empty="30" Name="S" Type="Filter"></Category> </Category> <Fase> <Fase Empty="1" Name="AO" Type="Filter"></Fase> <Fase Empty="2" Name="VO" Type="Filter"></Fase> <Fase Empty="3" Name="DO" Type="Filter"></Fase> <Fase Empty="4" Name="UO" Type="Filter"></Fase> </Fase> <Imago> <Imago Empty="1" Effect="Low risk" Score="1" Type="Quantifier"></Imago> <Imago Empty="2" Effect="Moderate risk" Score="2" Type="Quantifier"></Imago> <Imago Empty="3" Effect="High risk" Score="3" Type="Quantifier"></Imago> <Imago Empty="4" Effect="Extreme risk" Score="4" Type="Quantifier"></Imago> <Imago Empty="5" Effect="None" Score="0" Type="Quantifier"></Imago> <Im
I have a template with differents divs with id and class, I want to delete or remove them with javascript code, I am not sure if I should use javascriptCaller or if there is another way to do that, if javascriptCaller is the right way, how can I do it? if not what the other option is and how I can do itThanks
Hello,Is there a method to combine a STANDARD TEXT with the VALUE of a PARAMETER and use thia as the NAME of an ATTRIBUTE?The value of the parameter varies with the loop.Ie:TEXT : DAYS_PARAMETER-VALUE : 2017, (next time) 2018, , (next time) 2019 So I want to name the new attribute:- the 1st time: DAYS_2017- the second time: DAYS_2018- the third time: DAYS_2019- ...etc. The value of the attribute is calculated by DATE_END-DATE_START in days.So the output looks like this:NumberFile DD_START DD_END DAYS_2017 DAYS_2018 DAYS_20195124 20180101 20200131 0 365 31 Please response if it is not possible to make an ATTRIBUTE_NAME while looping with parameters.(I also tried the AttributeDereferencer and attribute exposer and other transformers without succes.)Thank you,Perry
Hi,I want to create a custom transformer that concatenates the elements of a list entered as a parameter. This list is like: elements {0}, elements {1}, elements {2}... elements{x} and contains words. The start index is also an input parameter. As the number of items in the list varies, I created a loop where I get the index of each item.My problem: my list $(_ list) is a parameter and I don't know how to call its elements to add them to the string I want to build.Can you help me?Nicolas
I have a Workspace with a CustomTransformer that get Input values, Uploads file via SSH to a MFT (managed file transfer, fancy ftp server), generates a unique link for downloading. I can't use WorkspaceRunner/FMEServerWorkspaceRunner, it can accept Input values but only returns a basic successful but not the unique link. I started to create the FMX so I can save the CustomTransformer on FME Server to be used as a LinkTransformer. I'm not worried about users using the CustomTransformer, but I would prefer users not seeing the password for the upload accounts. QuestionI there a way for me to scramble the password so the users of the CustomTransformer can't see the password?ORWebhooks and create an API so it could use by anybody?The idea would be any FME Workspace that needs a file upload would HTTPCaller, FME Server URL address (Webhooks) with Query String of Input values and then I think a Data Streaming Service to get back a JSON or HTML?Can Webhooks be use without a Token
Adding cost attribute : i have specific attribute and i would like to find the path that has the lowest value of this attribute ,even if it is shortest path or longest path ,does not matter of the length .i tried to use Cost type by one attribute ,i did not get any paths so i used by two attributes and i get output but it goes through two paths . one path has cost attribute=30 ,and the second path has cost attribute = 60 ,i did not understand why it goes through this path that contains 60 . i thought ,it will goes only through path 30 . secondly ,i was watching videos about shortest path finder and i did the same parameter for attribute value mapper but i did not understand why should i make the parameters like that ,default value 2 ...why will be better for Cost to use two attributes instead only one attribute ?i need only to get one path that contains lowest cost of attribute ,how could i achieve that and does not matter of the length ? the network is noded correctly ,because i used
Hi, I have 399 polygons that I want to dissolve on their nearest neighbour. I'm using the spatial relator to create an id between the polygons to be dissolve and the polygon they will be dissolve on. In the vast majority of instances when I run these polygons through the spatial relator it works. For example if a polygon to be dissolved touches another polygon it will get a shared id. But in some instances where I can see that the two polygons are touching I'm not getting an id created between these two. Would anyone have any idea why this is happening? I can share any details through screenshots, just ask.Thanks for any help. B
So, I am working with a river linear dataset. I am assigning an ID to every river that all of the unique features of the river share. But, the issue that I am having is that there are some general names and one name is shared between 50 different streams (that contain 350 features). I located most of the using NodeValence and FeatureCounter where I group by name and valence 1. However, I cannot distinguish with 100% certainty which rivers are different even when they share the same name so that I may assign them different river IDs. I would need to include coordinates or similar. Any idea? So, I am using the aggregator to aggregate by name, creating a list of unique IDs and appending the same ID to same named features. But the problem is that some same-named features are actually at different locations so I need to separate these and provide a separate river ID.
Hi, I have several XML files with the following content: <gmd:contact> <gmd:CI_ResponsibleParty> <gmd:organisationName xsi:type="gmd:PT_FreeText_PropertyType"> <gco:CharacterString>Information in main language</gco:CharacterString> <gmd:PT_FreeText> <gmd:textGroup> <gmd:LocalisedCharacterString locale="#ENG">contact info in English</gmd:LocalisedCharacterString> </gmd:textGroup> </gmd:PT_FreeText> </gmd:organisationName> </gmd:CI_ResponsibleParty> </gmd:contact> I will like to add contact in other language, for example: <gmd:contact> <gmd:CI_ResponsibleParty> <gmd:organisationName xsi:type="gmd:PT_FreeText_PropertyType"> <gco:CharacterString>nformation in main language</gco:CharacterString> <gmd:PT_FreeText> <gmd:textGroup> <gmd:LocalisedCharacterString locale="#ENG">Cont