Using transformers to modify data.
Recently active
I have points in WGS84, collected with a gps on one single point (static). I would like to determine the median of these points. Or the one point with the less deviation.Thank you for your comment.
We have recently implemented a new version of the ESRI ArcGIS platform and are running the old geodatabase with the new one as well. Is there any functionality in FME to sync the old geodatabase with the new one. As of right now the two are out sync.
I have a CAD layer of control points which have two labels around it. I'm trying to extract the neighboring labels and add them as attributes in the final geodatabase. I have tried using NeighborFinder but it captures the nearest label only. I have tried to use a Tester to differentiate between the two labels and then run NeighborFinder but it leads to multiple records. The red circled is the control point and orange circled are the labels. How can I capture the attributes and have 5 points in the output rather than duplicating them?
Hello every one,I have a cad file with lines and block on to on them.The block have some attributes, and one of the is Length.for some reason, there are a lot of blocks that instead of having the length properly, it have #### marks.I tried to fixit of course with FME, I managed to recover the length from the line which the block is belonging to, but- when i'm writing it to dwg, it is get mess again!I tried to use Attribute Output in the writer definition, 'Inserts' or 'Limited' got the right length number, but they destroy a lot of other definitions in the cad file.can someone please help me?I'm attaching here small sample..Thanks!
Hi, I am trying to asses assets that are in CAD and not in GIS. Using the Spatial filter or the SpatialRelator i am getting results of one to many. I.e. the results are relating one candidate to many filters. What transformer can i use that only spatial joins one candidate to only one filter? Please help!
I am trying to select a polygon located in between other polygons. All polygons are saved in the same layer. Either NeighborFinder or AreaOnAreaOverlayer do not provide the result I am after.
Hi, I'm encountering issues to connect to an sFTP server through a proxy.With my ftp client I'm able to connect with the following configuration.But I don't know how to configure my FME Desktop environnment and FTPCaller transformer to access to it.Here is how I tested it.Configure proxy settings on Windows Configure FME Desktop environnementConfigure FTP CallerI have the following error See log file attached.I alswo tried with pythonCaller but I didn't yet figure it out. Any tips to solve my case ?Thank you,
Please appreciate if you could let me know in details
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 ?