Using transformers to modify data.
Recently active
I have a set of features, all with IFMELine geometry, where some are closed and others are not. The closed ones vary between 2D and 3D closure. I can inspect these features and see the Closed propery right there in the Feature Information:(The straight line to the lower left of highlighted box has Closed = No, as one would expect.) So, for every line in the set, Closed is visible in the Feature Information window and has a value of Closed In 2D, Closed In 3D, or No; however, when I then run this set of features through a GeometryPropertyExtractor, all features are Rejected with the MISSING_GEOMETRY_PROPERTY error. The setup for this transformer in my workspace looks as follows:The transformer was working yesterday. Today, it isn't, and I swear I haven't changed anything. (OK, yes, apparently I did, but I can't for the life of me think what.) Am I missing something simple here? (Feels like a "facepalm" situation, for sure.) Thanks, All.
Please refer snapshot, creating texture Atlas using CITYGML data FME 2022.1.2 version
So I have data from several 100s of pumping stations. In a specific point in time there is a radical decline in what the sum of all pumping stations is delivering (it declines). I need an analysis that can verify if the decline comes from one, or several, of the pumps or if it is due to a "general" decline on all or most of the pumps? Could this be solved in FME? I have 20+ years of data so there should be sufficient amounts for statistical analysis. However, it is more important to be able to dispaly the results (in for instance in a graph) visually than for instance R technical value. Even if both could be of interest. Would appriciate all the input and since I am doing all the data prep in FME it would be great if this issue also could be solved in FME :) Regards
I have two input table I set to LL-WGS84. I need to determine the length of the lines after the SpatialFilter in meters. I re-projected to XY-M then used LengthCalculator but the resulting values are not in meters. How do I reveal the line length in meters?
Dear all, I am facing the following issue - sounds very simple : I have a 2-column table that gives a mapping oldname->newname that I store in a dictionnary inside a PythonCaller ; in another PythonCaller, I need to use this dictionary.So far, I am doing the following : 1) in Python Start-up script, I define a global variableglobal mydictmydict = {}2) in the 1st PythonCaller : I populate a dictionary in the `input`function and then in the `close`function , I update the value of the global`all_progs` class FeatureProcessor(object): def __init__(self): tmpdict={} pass def input(self,feature): # do something like : tmpdict['oldname'] = 'newname' def close(self): mydict = tmpdict pass3) in the 2nd PythonCaller I would like to use this dictionary ; but when I try iterating over the dict `mydict` in the 2nd PythonCaller, it looks empty... What am I doing wrong ? How could I pass the values from a PythonCaller to another ? Should I put
In Attribute Manager I have created 3 fields (Borough Code, Block_Leading, Lot_Leading), 2 of which have leading zeros in them. I need to concatenate the three fields into a 10 digit string while retaining the leading zeros in the order listed above. My formula for for Block_Leading is @PadLeft(@Value(Block),5,0) and the formula for Lot_Leading is @PadLeft(@Value(Lot),4,0). Can I concatenate all three fields in a single formula in a new field in Attribute Manager and if so how?
I'm having some trouble when trying to upload Python libraries to FME Cloud and I couldn't find any documentation over it. I have tested that the workspace successfully imports the PyPDF2 python library on my desktop (windows 10). I then followed the directions on the post that is linked below and I am still unable to have the workspace on FME cloud import PyPDF2. I'm still fairly new to Python and haven't had any experience with Linux, so I'm not sure what I might be doing wrong.My stepsCreated a virtual machine with ubuntu (32 bit. No option for 64)Downloaded the source code for PyPDF2 from: https://github.com/mstamy2/PyPDF2Compiled the library on the virtual machine and copied the folder created in the dest-packages folder to FME Cloud folder located at Resources>Engine>Plugins>Python>Python27. (no files in site-packages)Reference to Post: https://knowledge.safe.com/questions/4164/python-libraries-on-fme-cloud.html?childToView=69192#comment-69192Any h
Hi, we have some problems during clipping raster datasets!So the black area in the example is successfully clipped. But then as result we have raster clipped by clipper. But FME makes the raster square again and fills the missing pixels black. I can remove these nodata values but then sometime black pixels inside the raster are also deleted not only the black areas on the edge! We want to get only the clipped area without black areas. It does not have to be square.Is this possible?
I currently have a dataset, see top half of picture below, that I wish to transform/transpose into the format that can be seen in the bottom half of the image. The blue/green/peach coloured fields are date/measurement. I am totally unsure of where to begin with this, the current transposer tools seem to only be able to do simple transposing without adding the additional rows of location/sourcetype/date/measurement I need. As can be seen I want to make a individual row for each date/measurement combination. I have also attached sample data in xlsx and csv. Any help would be appreciated!
I'm trying to combine the two pink polylines with the green closed curve and make them one entity without making an aggregate. They are for use in AutoCAD and can't be aggregates as they show up as a block and not a polyline. LineCombiner does not work.
I am currently converting IFC format to Shapefile. So far, I have been successful in importing only the geometric objects. Due to the fact that most properties in the IFC are in separate classes, when they are brought into FME, they remain in their own feature types. How can I map these properties as attributes within the created feature geometry?
Hello, I am having issues extracting info from a kml. Here is how the information is stored in the kml_description. What kind of transformer would I use to extract the info. <style type="text/css">td {white-space:nowrap} th {align:left} td.padr {padding-right:0.5cm}</style><table><tr><th></th><th></th></tr><tr><td class="padr">GPS Date:</td><td>03/29/17</td></tr><tr><td class="padr">GPS Time:</td><td>02:26:15pm</td></tr><tr><td class="padr">Datafile:</td><td>R032913A.cor</td></tr><tr><td class="padr">Avg Horz Prec:</td><td>0.9</td></tr><tr><td class="padr">Worst Horz Prec:</td><td>1.2</td></tr></table>
Hello, I use the transformer Bufferer in a workbench.I don't understand the result pour some features for which I have an ellipse in result (fme_geometry = fme_point, fme_type = fme_ellipse). I join a very simple fmw (2022.2) with 2 polygons. What parameters should I take to always have features with fme_type=fme_area et fme_geometry=fme_polygon ? Mélanie
How to convert all the attribute names of all the feature classes within a File Geodatabase, to uppercase?
Hi team,I've seen this at multiple locations, where Sophos will prevent FME from installing custom transformers from the Hub (i.e. Emailer) and display a Lockdown alert, Sophos believes it to be malicious behavior. Has anyone else experienced this? Is it possible for Safe to reach out to Sophos to see if this can be looked at, as the only way to get around this, is to allow exceptions per Transformer on the Sophos side and we have to re-do this each time we upgrade FME Desktop.
I have a string column containing lake names in the format ''Blue, Lake'' and I would like to reverse the format to ''Lake Blue''. I somehow can't find a way to reverse a string at the comma. Is there an easy way to accomplish this using string functions in FME ?
I am wanting my StringReplacer to search for values which start with a certain string, and replace the ENTIRE value with a new string (not just the start). I have table with a list of values starting with "Sh 1" and "Sh 77", and they all have following text after Sh 1 and Sh 77. I would like to replace the entire value, e.g. "Sh 1 Rs 401 Rakaia to Chertsey" should be replaced with "State Highway 1". I have tried a few expressions, but currently I am only able to replace the "Sh 1" part of the string, not the following text. How do I change my expression so the entire value is replaced?
I have a large set of featureclasses that need to be run into a workspace, one at a time because loading the dataset all at once will make my FME workspace terminate because the memory is full. I have used workspacerunner on a folder with multiple csv files, which solves the memory problem. But I can't figure out how to do a simular thing with multiple featureclasses. I wouldnt mind if the featureclasses need to merged into one and the input the first xx number of features into the workspacerunner. If that is even possible.
The writer stops working after I added a geolocation field to the sharepoint list. Even without writing anything to the geolocation field, the writer still gives me this error. Could anyone help me? Kind regards. https://docs.safe.com/fme/2019.0/html/FME_Desktop_Documentation/FME_ReadersWriters/sharepoint/sharepoint-user-attr.htm
Hi there. I am outputting SQL data into a CSV into well known text. Some of these features are polygons and others are multipolygons. I am finding in the output some multipolygon WKT strings are spilling over into other fields which throws everything out. I'm not sure the field length is exceeding the maximum length for a CSV but is there anything I can do to keep it all on one line or is this a problem with multipolygons? I'm using a GeometryExtractor to convert to WTK, then a couple of StringReplacers to remove Z and change the SRID from 0 to 3857 so the csv can be brought into Power BI. Most are appearing fine. Regards, Josh
Hi I'm using FME 2022.2.5 it crashes at the start and before loading the main window, sometimes it happens when I enable/disable cache. the issue with Qt6Sql_fme.dll ! appcrash event in the the log file.. anyone with helpful tips it does start after 5-6 tries. this log is from the start up crash------------------------------------------------------------------Felet uppstod i programmet med namn: fmeworkbench.exe, version 2022.7.45.22795, tidsstämpel 0x6424fcdc, felet uppstod i modulen med namn: Qt6Sql_fme.dll, version 6.2.4.0, tidsstämpel 0x6254adbaUndantagskod: 0xc0000005Felförskjutning: 0x000000000000edbfProcess-ID: 0x7968Programmets starttid: 0x01d98ca438014579Sökväg till program: C:\\Program Files\\FME\\fmeworkbench.exeSökväg till modul: C:\\Program Files\\FME\\Qt6Sql_fme.dllRapport-ID: 4320bc12-2030-4046-b3b8-63e036810fb4Fullständigt namn på felaktigt paket: Program-ID relativt till felaktigt paket: ----------------------------------------------------------------------------
Hi, i am using this structure to generate solid meshes from a LAS, extruding the point from x,y and z and then building the mesh of each small cube. But I found that the solid mesh was moved in the space (there is an offset) when I use cloud compare to viz it, and I don't know why it is occurred.Very grateful for the answer!! thanks:) !
As you see, I connect separate inputs to the two duplicates of my custom transformer. But all the data goes into one of them. Why is it like this?
I'm using FME serverI got a dataset with only one feature inside.I converted it to fgdb with ignore schema selection as attached fmw.But the output is zero feature.It can be success if I duplicated the feature to make it become 2 features.The attached is dataset, log and fmwIs any other thing I can do on fmw for this situation