Using transformers to modify data.
Recently active
Hi I have two data sets:service stations, about 100 pointsroad networkI would like to create polygons for the service area for each point, much like image #3 here, https://www.zimmi.cz/posts/2017/routing-with-grass-gis-catchment-area-calculation/, but instead of dividing the network, I would like a polygon for each zone. I have been unable to find any FME examples for this task. Any recommendations on how to solve this? Regards, Magnus
I have an import from Revit to IFC and I can not find any property of the ifcSpace objects that show me which floor they are on.How to know to which level a ifcspace is?Thanks!!!
I am trying to transform a .ntx file into a custom coordinate system, when inspecting the data at the last step before the writer, coordinate system appears correctly. After exiting the writer and opening in Data Inspector, coordinate system appears as unknown.I have had success transforming shapefiles using the custom coordinate system so I do not believe it is the problem.I have also had success transforming the NTX file using built in coordinate systems.Any suggestions?
Hi,This issue have been revisited multiple times, and I've tried to browse these. But I can't seem to find out, whether the "FME_ENGINE_MEMORY_REDLINE" fix is only applicable to FME Server, or whether it (or something similar) also works with FME Desktop ?If it does work with desktop, where and how is it set ?Our FME license is running a small number of nightly jobs, but if I manually start an ad-hoc job before leaving for the day, having the job run all night, it hogs all resources, and all the nightly jobs fails. It would be beneficial to limit the ad-hoc job to use e.g. just half of the available memory.Cheers.
Hey everyone, I tried to find any suggestions how to deal with big Datasets. In Numbers: I have a Shape linedataset with 10 000 000 lines, the .shp has approx. 5gb the dbf file 7gb. Starting the reader took 3h+ then i stopped it manually. In Qgis it also takes some time, but lets say several minutes. Is there a more efficient format I should transform the Dataset before using FME?
Is there a way to prefix/concatenate the attribute name and a separator character to all of the values on that feature? For example, I have a feature with 60 attributes - can I retain the values of each cell, but have the attribute name appended to the values without having to manually create each attribute.Input:AttributeNameabcdefhijOutputAttributeNameAttributeName|abcAttributeName|defAttributeName|hij
Hey, I am very new to FME, I have a problem I thought I may can solve easy with FME, but I am stucked, so I hope someone can help me.I have a curb dataset and I need to cut it at every street intersection so that every street is feature. First I thought about calculating the angles between the lines with the Polyline Analyzer, so I have the Information where the line bends, and I can cut it at the node or delete all segements with those nodes. Unfortunately it only gives me the angles of segment nodes, not of all nodes. I tried to aggregate the Dataset, but then it would take hours, even for my test dataset with "only" 15000 nodes ( total dataset has app. 10 000 000 nodes). My second thought was to cut the lines at their max and min points wich should be possible to calculate somehow, but I did not find out how so far. Any suggestions?Another approach would be to sharpen the ends, so that they are no curves in the lines, then I guess it would be easier to cut the lines at the
When FME create an FFS for failed features is there a way to add the failure reason to the feature in the FFS?I was hoping for an easy way to have a table of features failed with teh fail reason that I can send to the vendorIn the logs I see this2017-11-16 11:09:13| 224.4| 1.7|ERROR |The invalid value ' . °' was supplied to the field 'lat_wgs84' for the table/feature class '####'but I don't see this information in the FFS or what feature this failure occurred on.Plus in the log file it often truncates repeated messages:2017-11-16 11:09:45| 239.1| 2.6|ERROR |... Last line repeated 2 times ...So then I don't have a complete list of failures from the log anyway.Currently these features are failing on the Geodatabase Writer. What I'm after is any failed feature in the workspace goes to FFS with the failed reason code (or a solution alike to this).
Does anyone know how I can find lines that form a circular loop with the same endpoints. I can find lines with the same endpoints by calculating the distance between the endpoints, but I am interested in determining if it forms a loop. I would like to process these in a different way. Thanks you for any ideas.
Hi,I have a list of points point(0), point(1), point(2) ... and i will to retrieve them in a xml templater like this:<listPoint>for $i in (1 to {fme:get-attribute("_element_count")}) return {fme:get-attribute("point[$i]")}</listPoint>I don't succeed with this writing ...
Hi,Very hard question to post here :I work on a project to write AIXM5.1 AirspaceTimeSlice. In the writer, i have a field [xml_geometry ] : Surface.Inside this field i can found <gml: geometricLineString> nested structure, <gml:arcbycenter> nested structure in different positions. ( Not known when i read the feature ).When i read the feature in FME, i'm able to recognize an arc and put in an XML templater the definition of this geometry in gml fields. But i don't succeed to write the <geometricLineString > définition. It shall contain <posList > éléments of each point defining the IFME Line. e.g :<posList> Long(A) Lat(A) Long(B) Lat(B).....Long(k) Lat(k) </posList>I have the points in a list :Long {0} ALat {0} A.....I don't succeed in writing after the whole structure Surface by combining the different parts ( the order is random )
I like to have all the attribute names as values in a new attribute. Tried different solutions, but nothing worked so far. Looking for some suggestions. Maybe a simple question, but I can't get it right... source table with attribute names: [aaa] | [bbb] | [ccc] 1233 | 4322 | 2343 1231 | 9584 | 7123 target: [id] | [names] 1 | aaa 2 | bbb 3 | ccc
Hi,In the question https://knowledge.safe.com/questions/44413/lineonlineoverlayer-in-dynamic-segmentation.htmlLineOnlineOverLayer is used to have the desired table. If I have the same first 2 tables (without geometries) and I’d like to do the segmentation before creating geometries to get the desired result like in the example, Is-it possible to do that? thanks
I have a spreadsheet with lines of names and addresses which have comments by the author in square brackets in the names. e.g. Eon Energy [formerly Powergen]. I want to be able to search for and remove everything in the square brackets (and the brackets themselves). Does anyone know how to do this?
Hi guys,does anyone know if / when the DWG format changes in AutoCAD 2018 will be supported in FME? Will it be in FME 2018.0 or is it in 2017.1?There's some brief info about the format changes on the AutoCAD website here "There are no specific changes that you need to make to use your existing drawing files with the latest release, but you might need to save any new drawing files that you create to an earlier drawing file format to exchange or use them in a previous release."The current FME documentation states that there is support for "reading and writing AutoCAD file versions up to and including 2013"CheersBatesy
HelloI need help with FME transformation. I am trying to split the route data collected with GPS into separate line segments at vertices. Then I need to find our the length of each line segment in miles or inches or yards. I need to figure out mph using distance and time.Time is fixed interval but need to figure out length for calculations. Thanks for help!
How would I go about getting a Joiner to read from a CSV created earlier on in a workbench?Currently the workbench extracts coordinates from las files and writes them out to three separate csv's; (Ground, Vegetation and Building) by using a Feature Writer. After a Python distance calculation Vegetation and Building values are then merged separately with Ground, with X and Y being the Requester and Supplier. This takes a considerable amount of time. I'm tested out using a Joiner with the Ground csv being the Reader and it cuts down the processing time. How would I do this dynamically within a workbench and set a Joiner to read a csv that has yet to be created?
Workspace + csv FilesHello i want to create a LandXML with all the points in csvIts work for the creation of the file.But i want to built groups points for each csv in the LandXML output file.I Built a new attribute for the filename: NEWNAMEWhen i write the new LANDXML i have all points in the same CgPoints groupand the rest of the CgPoints with no point.How i can fix this ?Thx
Hi. I've been tasked with plotting the locations of photographs taken from an iphone 6s into a GIS (Data is based in the UK). I've been successful in exposing the jpeg_exif_gpslatitute and jpeg_exif_gpslongitude from the images. With these attributes exposed I've run a series of substring extractors to extract the hours minutes and seconds from the lat long data. I've also been successful in displaying the points at the correct location in the inspector view by using the DecimalDegreeCalculator and vertexCreator transformer. All that seemed straight forward, once I exposed the attruibutes. However I'm now stuck ... I need to create an excel table from FME that holds the six digit UK Easting and six digit Northing for each location. I've tried numerous transformers with no success. (I will be using the workbench to process multiple photographs) I know it is possible as this web page: http://gridreferencefinder.com/batchConvert/batchConvert.php can do exactly what
Hi Folks, I have a requirement of browsing parcel boundaries with particular attribute value and create a outer boundary for all browsed parcel boundaries. Here the browsed parcel boundaries are not all connected together, there are some gaps between the parcel boundaries. Please guide me that how can I outer line for parcel boundaries. Thanks in Advance. Regards, Seshu
I need to generate Near Table between two point ArcSDE feature classes which are in WGS84. The ESRI's solution is arcpy.GenerateNearTable_analysis(baseFC,candidateFC,NEAR_TABLE,"2500 Feet","","","ALL"). It gives NEAR_TABLE with 82 records. If I only want the "closest" candidates, I use this arcpy.GenerateNearTable_analysis(baseFC,candidateFC,NEAR_TABLE,"2500 Feet","","","CLOSEST") which gives 26 records.I think the nearest transformer to do this in FME is GeographicNeighborFinder. See below image. However, it gives 29 records. I assume it only searches the closest candidates. But why is it different than the 26 that ESRI "CLOEST" gives? Does FME has another transformer that does what arcpy.GenerateNearTable_analysis(baseFC,candidateFC,NEAR_TABLE,"2500 Feet","","","ALL") does?
How to update related table automatically without duplicate record.UG and OHTL are two feature classes. related table CircuitSection and ElectricLine.Circuit section will keep 2 records UG and OHTL with the same Line name = A-B ans type as UG or OH.ElectricLine one One record as Linename =A-B and total length which will be equal to all UC segments + All OHTL segments length. How i can update these two related table automatically without duplicate records.Thanks & Regards,AZA
I need to connect a stream of consecutive input points into a series 2-point line segments. I need to retain the attributes of each point. This seems like an easy problem, yet I cannot find an efficient way to do it. PointConnector wants a "break" attribute, which causes a new segment to start at the "breaking" point, not at the previous point. 1 2 3 4 ... to infinity and beyond X X X X ... I need segments [(1,2),(2,3),(3,4)] I'm about to write a python script to do it, but it seems like it should be a simple enough pattern to be able to do with transformers. --Brad
Hi ! When using several python installations on the same server, they usually don't use windows python path environment variables. How ever, FME cannot start the python module without these (error messages about not being able to find libraries, as you can imagine) Is there a good way to define unique environment variables (python home, python path) for fme in a config file ?
I'm importing data from a ArcGIS .gdb to a POSTGIS DB using FME Desktop 2016. For this I need first to rename single attribute names using the AttributeRenamer transformer. My poblem is that, reader attributes with width 254 (data type "text") are automatically transformed to writer width 200 (type "varchar"). Why does FME cut the width of the attributes, is it a bug? However, this issue only appears when I use an AttribruteRenamer. I also tryied the BulkAttributeRenamer, which retrieves the same. Any ideas? Thanks