Using transformers to modify data.
Recently active
Hello,I have a shapefile of points and 103 rasters. I wanna overlay the points on the 103 rasters and extract the values to attributes. The final aimed result is the shapefile containing 103 additionnal attributes with extracted values, I want also that attributes have the same names as the rasters. Is there any way to do this batch process ?I tried to load all the rasters into the PointOnRasterOverlayer but it seems that it connot do a batch process but work only on a single raster at once.Thank you very much.
Hello All,I am trying to follow the documentation in the Electric Migration Tools V1.zip that comes with the Electric Utility Network Migration Tools. There is a section in the documentation called "Import additional associations and rules to the Asset Package" that states that the Append command should be used to append the AssetPackageAdditions.zip to the Asset Package. I tried looking at this article: https://knowledge.safe.com/articles/32670/combining-multiple-streams-of-data.html but it doesn't seem like it has instructions to perform an Append. My question is how to use the Append command as the documentation states?
HelloFirst off all, I'm sorry for my English.I'm working with annotations with different textsizes, rotation, horizontal- and vertical alignments in ArcGIS Pro 2.1.3. I have to import and export this annotations to another format (Interlis) as a point feature class. ArcGIS Pro uses a different annotation format (compared to ArcGIS for Desktop).I can import a file to the file-geodatabase in the "old" annotation format (ArcGIS Desktop) and then i can upgrade it with python. So that's not a big problem.But I can't export the annotations. The File Geodb reader doesn't recognize the annotations of ArcGIS Pro. With the Open API reader, I can import the annotations as a polygon. But i need a point and the point doesn't have to be in the center of the polygon (alignments). Is there any workaround? I'm a beginner in FME. Or are there any plans to implement the support of the ArcGIS Pro Annotation? (How long does it take?)
What does EXTRA_POLYGON_FEATURE mean in PointOnAreaOverlayer?I've added a SpatialFilter on the Area dataset to reduce the number of unnecessary area features going to the PointOnAreaOverlayer and suddenly I get a load of rejected features out of the PointOnAreaOverlayer with EXTRA_POLYGON_FEATURE as the rejection code.It would be nice if the documentation gave some explanation of the codes rather than simply listing them...Update: This is in 64-bit FME 2018.1 on Windows Server 2012 and was using PointOnAreaOverlayer version 7. I upgraded the PointOnAreaOverlayer to version 8 and it worked, so presumably there was some bug fix in the new version of the Transformer.I'd still like to know what the rejection code means though.
Is there a way to create an Excel formatted table with FME? I can create only a named group of cells using this sintax in xls writer sheet name parameter : <sheet_name>/<group_name> as showed below Thank You
Hi guys, I have a small question which could probably be solved easily.I have 20 datasets. Each of these datasets needs to be given a new field called 'Trajectnaam'. This was done using 20 attribute creators.. this could be done easier I guess? This field needs to get the name of the corresponding dataset as value for each dataset respectively. Is there an option to enter the name of each dataset as new attribute value?Finally I want to merge the 20 datasets into 1 dataset with 20 lines.Thanks for your help!
Hi I'm calling a json api, that gives several geometrys. I can succesfully parse the json to kmz and see the features. Unfortinatly there are examples, where multipoints are used, and it gives more value (for me) to show it as polygons (each enclosed by a group of multipoints) . How do I change the multipoint to polygons?Im attaching my fme script, and a sample json.Using FME Workbench 19.1Adress of url of json api is in the script.Best RegardsDavid
Hi there, I have calculated an attribute by using the Python script in Python caller. I tried to add the attribute in the output using following code at the close function:for i in self.df2['Normalized_SAIDI_DPP2']: newFeature = fmeobjects.FMEFeature() newFeature.setAttribute('Normalized_SAIDI_DPP2',i) self.pyoutput(newFeature)The above code add the attribute in the output but the added attribute is not in-lined with the other attributes of the output. For instance, if the current output has 3 columns, and 100 rows of record, after adding new attribute, it would become 4 column, however, the value of 4th column after 100 rows of record, in the first 100 rows value of new column is missing. Could anyone guide about how to inline the value of new added column with the existing value?
I don't want multi-part features in my data so now I have to use deaggregator after every clipper.
This is a fantastic Christmas present. Thank you very much!Where can we access the documentation on the API?======================= FME 2017.0 "What's New" =======================------------------------- FME 2017.0 17217 20161221 -------------------------FME Objects Python: Added Python Raster API. (PR 50880). C86032 C88501 C88502 C93631 C107415 C120839 [Edit] OK. I found the doc in the FME 2017.0 beta build 17217 install directory :-)<FME 2017 HOME>/fmeobjects/python/apidoc/index.html fmeobjects.FMEBand / FMEBandProperties/ FMEBandTilePopulator / FMEPalette / FMERaster / FMERasterProperties / FMERasterTools / FMETile
Bonjour,J'ai une donnée géographique de 46 000 000 millions de points, je veux la fusionner (dissolve) dans FME desktop. J’ai essayé à plusieurs reprises faire le géotraitement sur ARCGIS mais, le logiciel plante. Donc, j'aimerais l'intégrer dans FME . Quel outil vous me suggérez pour générer cette couche.Merci beaucoup
Hello there,I try to read from a web service and write in Database but Datetime value from service came as string like /Date(1578560957763)/ . How can I change these string to actual datetime. I use FME(R) 2019.2.2.0 (20200103 - Build 19817 - WIN64)Thanks in advance.
I'm doing a CAD to CAD conversion, but my final file, is constantly losing the hatches, in most cases do not show the hatches in the output file. Could someone help me and tell you what's going on? Follow my template Thank´s
Currently I'm running 2 datasets into a spatial Filter between 2 datasets to locate spatial differences, and then I have a few testers setup to filter the data to just what I'd like to see.For the spatial Filter I clicked merge attributes and added a prefix to differentiate between the two data sets and this works as intended for data that is outputted into the Pass portion but does not locate the prefix fields if I hook up the testers to the failed results. However when its hooked to the failed results this is the apperance of the tester after the spatial filterIt does not find the Package1 prefix fields.
Hello All,I have 2 polygon MapInfo files - land classification and farms. I want to update columns in the Farms table with the classification/s in the Land Classification table where they overlap. I can't work out how to do this as there may be multiple (though not overlapping) classification polygon areas for each Farm, so I want to update the % overlap for each column - Grade 1, Grade 2 etc. I can produce separate files for each grade, but not then update columns in the master Farms table.Any help would be much appreciated.Thanks,Jane
Hello every one. I have a folder with 700 .tiff raster files (images) and a external orientation text file with 700 rows of ID (name of the raster file), X, Y and rotation of the center point of each raster file. How could I convert all these in to geotiff? How do y manage to relate each row of the text file to its raster file? After this is solved I gess it should be easy to georeference them with the rastergeoreferencer...
I have a huge set of polygons which I would like to group by connectivity in FME 2016. In the following is a simplified example with a set of polygons where I would like to end up with three groups:I would like each polygon to afterwards have a group_id or similar describing which group it belongs to.This is easily done using a Dissolver, but with an increasing number of polygons the dissolver seams like a very expensive process and I feel like this could be done in a less expensive fashion.
How to configure 2 engines one is with 32 bit and another with 64 bit in same fme server
Hello,we have some trouble running FME Server (2017) workbenches. Italian characters are interpreted using Server system configuration instead of the italian one. Is it enough to include in the "environment" section of the fmeCommonConfig.txt file the LOCALE=it_IT ? Other configuration needed? ThanksRoberto
See image below, my z value that I need to pull with the contours in this DWG are here (circled): How do I expose the Z value circled (and/or the rest of the coordinates XY) in my workspace from a DWG? I can see this in inspector. I'm converting the contours to GDB.
Hi, I want to do a geographic analysis on height. Some cell values however are filtered out because of trees, etc and set to No Data. For this reason I want to change the no data values(brown) to the average of surrounding band values (green). I tried using the rasterConvolver, without success. Also I tried all these steps (https://knowledge.safe.com/questions/3796/fill-raster-nodata-values-with-minmaxaverage-value.html ) , also without luck, since I guess it requires a more profound understanding of FME. Any help much appreciated!
Hi, actually i have the data worked in tm that was converted into utm. i have created the projection https://demos-safe-software.fmecloud.com/fmedatastreaming/Coordsys/Create_Form.fmw using this link.but i dont know how to assign coordinate system for my projection.i need to idea about how to create projection and how to import the coordinate system for the corresponding projection. here i had attached my prj file. i have my dat abased on this projection.i need to convert into utm.
Hi there, I am calculating two new fields in Python caller. When I tried to set those attributes, I got an error message of "Python Exception <TypeError>: Could not convert attribute value to a supported attribute type." Here is the part of my code:self.df2['Normalized_SAIDI_DPP2'] = self.df2['SAIDI'].apply(self.normalized_SAIDI) self.df2['Normalized_SAIFI_DPP2'] = self.df2['SAIFI'].apply(self.normalized_SAIFI)newFeature = fmeobjects.FMEFeature()newFeature.setAttribute('Normalized_SAIDI_DPP2',self.df2['Normalized_SAIDI_DPP2'])Datatype of self.df2['Normalized_SAIDI_DPP2'] is string. I got an error message on the last line. Could anyone guide me where am I making the mistake?
Hi! There are multiple tips on how to solve this issue. I think I have tried them all, but just to document and see if I have skipped some part.Challenge: You get the error message when trying to run an RCaller:2020-02-04 08:36:56| 0.6| 0.0|ERROR |RCaller_2 (InlineQueryFactory): Failed with exit code 1 when executing R script. Output was: Error in library("sqldf") : there is no package called 'sqldf' Solution1. Check if sqldf is installed correctly:Do:Start cmd.bat / command line in "ADMINISTRATOR MODE"Navigate to where R is installed and the 32 or 64-bit R. Same version as your FME (I have 64-bit): C:\Program Files\R\R-3.6.1\bin\x64run R.exeRun and select your closes mirrorinstall.packages("sqldf")The reply for my pat is:> install.packages("sqldf")Installing package into 'C:/Users/XXXX/Documents/R/win-library/3.6'(as 'lib' is unspecified)--- Please select a CRAN mirror for use in this session ---trying URL 'https://cran.uib.no/bin/windows/contrib/3.6/sqldf_0.4-11.zip'Content typ
Hi there!I'm trying to get a Regex search and replace going but my poor regex skills are letting me down. I'm trying to obtain the first 3 (or 4) digits in an existing attribute string and into a new attribute using the StringReplacer but can't get the right formula. I only want the first set of numeric values.PS. I'm sure this can be done in a single AttributeCreator transformer using a string function too? Any help would be appreciated!