Using transformers to modify data.
Recently active
Hi all I have buildings polygones with height attribut. when the height was calculated some of buildings were cutted in two. So now, I would like to dissolve those buildings and keep the max height of both. I can dissolve easily because they share an identificator, but I dont know how to keep the maximal height of both. Thanks you all
Hmm, I am struggling with this for a day now and I tried the tutorials, but it seems I am doing something wrong.So, basically I have an xml file out of which I want to put certain elements into an Excel output. But here is the issue.I want those outputs in a certain order - and no matter what I do, FME will always write the columns into alphabetical order. Which just will not do for this application. The transformation is a simple one: But somehow I always end up with the same output.As You can see, I already renamed the attributes with the numbers, trying to sort it that way, but no matter what I do, the output then looks like this:(Also with those weird widths for those columns) Can this be somehow changed? Thanks so much in advance.
I am upgrading from FME Desktop 2016 to 2021.2. I am facing a issue with my FME script, getting error as "SCHEMA_DATASET" not found. I don't want to supply data set sometimes so haven't fixed it's value. In my script I have only one schema reader and it is causing issue as I see I can't give null dataset to it.I have tried enabling "Ignore Failed Readers" to yes and "Rejected Feature Handling" to continue translation.Any help would be appreciated
I added a FMW file that shall create a PDF page with the names Arnold and Sylvester. It creates the page but with nothing on it.
Hi,I've a polygon feature with an attribute "LEVEL" containing values from 1 to 10.The polygons can be overlapped. I want to dissolve the polygon grouped by "LEVEL" and only keep the polygon with the lowest "LEVEL" value. It's easy to dissolve the polygon grouped by "LEVEL" but how to only keep the polygons with the lowest value ?Here is an illustration of what I'm trying to do, the number correspond to the attribute "LEVEL":
All,Need some help. I have a httpcaller hit a webpage but the package it brings back is only a partial response body. The first file attached is the response body from the HTTPCaller and the second is from copying the html using the Chrome developer tools. Do I just have a setting wrong? Using FME 2021.1 with the default HTTPCaller settings for 'Get'@Takashi Iijima
HiFairly new to FME!I have connected to my AGOL account and downloaded the data through the AGOL reader. I wish to change the date format from the AGOL default yyyymmddhhmmss.sssss to something more sensible i.e dd/mm/yyyy hh:mm:ss I have tried using the DateTimeConverter to output but whatever combination I try the Attribute (Survey_Date) stays the same. Any help or advice would be great
Corrupt GML file error Hello everyone, I am creating an FME script, the input data are DGN files and the output data are GML files. I am using the "XMLValidator" transformer which contains a template file used as an example to model and structure the output GML file. Here's my problem: I need to convert several DGN plans into GML. 1) : When I input the DGN plans created with the Microstation software, the 'XMLValidator' indicates no errors and the output GML file is correct and matches my expectations. 2) : On the other hand, when I input DGN plans created with TopoCalc surveying software, the 'XMLValidator' transformer indicates several errors: (see photo) - no declaration found for the 'featureMember'" element - prefix 'gml' can not be resolved to namespace URI". Error in QGIS when opening the GML file:".gml is not a valid or recognised data source." The GML file is therefore corrupted and cannot be opened... I ca
I have a workbench which takes two inputs - both are polygons. One clips the other one. After clipping I use aggregator to aggregate the polygons with same attribute and the output i want to write into a gpkg file as multipolygon. The workbench works perfectly if i write single geometry to gpkg or if i write multipolygon into shp. However it is not working with mutlipolygon in gpkg. I have tried many things which were suggested in the forum. But nothing helped so far. Please let me know any ideas. I am out of ideas
I have a land records data set that has a beginning page and an ending page. Both are numeric values. I would like to create a list of all possible page numbers (integers) between the beginning and ending page number. Is there an easy way to accomplish this?
I have 2 feature types in my work space. One being a report from field staff that collects data on manholes and another being a shapefile containing a "master" set of manhole data. I want to match features from the report to the master manhole shapefile based on an asset number, then filter out the features that are outside the +/- 20cm e.g. if the master manhole data has a depth of 1.1m and the report has a depth of 1.05 i want to ignore it, but if the report had a depth of 1.3m i want it in my end result. I currently have my 2 readers going into a FeatureMerger which compares the asset numbers and any matching are allowed through. I then have those merged results going to a ExpressionEvaluator which is subtracting the report depths from the Master manhole depths. All that is feeding into a .xlsx writer which produces a spreadsheet that i can look at and decide if i want to update the depth in the master manhole shapefile. I have a tester in their coming off of the Unmerge
Dear all, Very simple question (sorry if it sounds naive, I am newbie to FME) : I would like to set to uppercase all attributes that start with a given prefix (or that match a given pattern). Is it possible to do that with the BulkAttributeRenamer ? Or what would be the ''cleanest'' way to do that without using custom transformers ? (NB : I know I could achieve this with a custom transformer (for example, inspired by this question), but I would like to avoid this kind of solution as then I face the tricky issue of having attributes that need to be dynamically exposed and I would like to avoid also the complicated things with schema mapping and so on...) I would be very grateful if you could share how you would implement that 😀 Thanks in advance for any suggestion
I would like some inputs if possible. I want to write several thousand of rows to a database (each of these rows represent a pdf file). I have created an attribute called 'status' that should have the value 1 or 0 based on whether the particular row has been written into the database. This should be a precaution if FME breaks down. Then it is possible to see which rows have been written into the database and which haven't. I don't expect a complete answer at all but perhaps just some ideas on how to achieve this. Thanks in advance.
I have an FME workspace in which input from an DWG file is read and exported into an FGBD file. I am using a dynamic FeatureWriter. Whenever a Text feature is written to a layer whose name contains an Umlaut (i.e. ä/Ä, ö/Ö, ü/Ü), the translation fails with the following error message:"GEODATABASE_FILE writer: An unknown exception occurred" Very strangely, layer names with Umlauts are not a problem for any other feature type, i.e. Point, Line, and Area features all can be written to corresponding layers without a problem. (As another rather confusing side note, Text features can actually be written to layers whose names contain 'ß' which from a technical/encoding point of view should cause the same problems as 'ä', 'ö', 'ü'). Here is a screenshot of my workspace:After reading the features from the DWG, I simply split them by geometry type. For the Text features, the Tester:DOES_NOT_CONTAIN_UMLAUT only lets features pass whose fme_feature_type do
Hi,I have been using FME 2019.1 for some months now with no issues. But strangely now I can no longer view the cached features. I have 'Run' set with 'Enable Feature Caching' but when I click on the green magnifying glass and select 'Inspect Cached Features', nothing happens. There are definitely records going trough these ports... I have probably changed some setting but can't work out what it is!Thanks,
<mdContact><rpOrgName>AAA</rpOrgName><rpPosName>BBB</rpPosName> rpOrgName is appearing at multiple locations in the XML file.How can I update its value from AAA to CCC for all of them in a single go without having to go to each element using Xpath.
I have a very large 3D OBJ file and wanted to convert to 3D Cesium Tiles. The Cesium Writer only creates to tile outputs that are huge (650-900 MBytes). Is there a way of introducing LOD and enable more tiles to be created with smaller tile size?
hello , i would like to know if all my data are Esri objects or not How could I do that ?i am using oracle developer , and FME 2021
I have several shapefiles in different UTM coordinate system. I want to:a. reproject each of them into LL84b. Then merge the re-projected feature into a single shapefile I need help in a. Merge features after reprojecting them.b. Find a better way to do it than the way I am trying to do it (see image below). As you can see, I am stuck and I do not know how to do the last part.
I am working with a forest geopackage, in which small forest roads, rocky areas and other surfaces are not included in the forest layer. What I am looking to do is to make all these spaces part of the forest area. I tried with Area gap and overlap cleaner but I didn't get results, because the problem is that there are roads that I would like to keep as such or other surfaces that I don't want to be converted to forest. Any idea how to proceed?
I thought I should have two lists, one with the current Xs and Ys and another with the same Xs and Ys and some defined heights as their Zs. And then make some lines between these two lists and after that make the cylinders. Can anybody help me to implement it?
Hi guysim trying to craete a workbench to backup my agol group content into local shapefiles. ideally i want to use _name (feature service name) as folder names so web layers (using fme_feature_type as dynamic shapefile name) goes into each folders by their service name. however, for some reason the fanout option couldnt work. Also tried to create attribtue with the output file path then use it as destination esri shapefile folder on the writter - this solution doesnt work neither. wondering if anyone know a good practice for this? Thanks!
Hi, I am trying to use the S3Connector to upload/ download from an s3bucket. Just to test this out i have setup a AWS web connection and i am trying to list all the files in the folder FMS/ I keep getting the following error:S3Connector: There was an error connecting to Amazon S3: 'Failed to connect to proxy URL: . Confirm that your credentials and region settings are correct. Some regions are not publicly available - contact AWS for more information I have played about with the proxy settings but im not entirely sure that is the issue as i have a python script that uses all the same credentials and proxy settings and that works okay. Im on FME version 2022.0 and using s3 connector version 2.1.2 Any advice would be appreciated
Hi there,I am working on two IFC files i.e. version_4x and version_2x3. At some point, I want to get or write this version in database. I failed to find any transformer to read or get the exact .ifc version. Is there a way to do that?