Using transformers to modify data.
Recently active
So I have a BrepSolid representing a roof. In the roof there's some holes represented by an inner boundary. I want to remove all inner boundaries of the roof making it whole. How do I remove Inner boundaries from BREP solid?
I am very new to FME so this may be an obvious question BUT I need a transformer that will take an attribute (ie "SymbolID") of a shapefile and use that as the classification for the layer it will be drawn in for the writer (MSI).
Hello,I'm looking to find the best way to gather or acknowledge an attribute values, and also to count it, in order to easily review my data before moving on. I currently do it thru the Aggregator tranformer, but not sure if it's the best practices ? Any hint would appreciated. Thank you very much.Regards
I'm trying to spatially join floating polygons (colored lines in image below) to a vertical grid's tiles. The vertical tiles have all the same XY coordinates, as do the floating polygons. The polygons intersect the tiles; the tiles are not grouped.Unfortunately I can't get it to work; the closest I managed to do is join them with NeighborFinder (1 neighbor), but what this does is giving every tile the attributes of the topmost floating polygon only. Furthermore, NeighborFinder doesn't seem to have join rules, which I'd need for the rightmost case, where two polygons are touching the same tile; for that case, whatever tile has the highest value in an attribute should win. Any ideas how to accomplish this?
I use this https://hub.safe.com/templates/citygml-create-simple-city Sample, But I don't Know mean offset paramerter set EPSG:31467 are x:,y:.I am set Reader skp set EPSG:31467, but how did set x,y?so, I set Offsetter x,y, but i want position and model is vary different position!How did i skp convert citygml?
Hopefully have an interesting Friday question that I would be very grateful for your help on.We are using a feature reader to read all the features/tables in a PostGIS database contained within a particular schema. There are lots of tables/features and when they write to the Filegeodatabase Open API writer for some reason we get locking issues after approximately 400 tables (sometimes more sometimes less) we can write out to spatialite etc no problem so the issue doesn't lie with the data. What we are thinking to do if to put a condition between the two perhaps a counter/sampler which then after say 100 tables are transferred we put a decelerator so that it then can hopefully get it's composure back before it kicks off again.Is this possible, has anyone done something similar. I guess it would also be useful if for example you needed to report back progress to a application to report how many feature are complete you could report back a counter of some type.Thanks for the help
I created a custom coordinate file using the online tool, but trying to restart FME results in the error message:Coordinate system definition 'COORDINATE_SYSTEM_DEF Suddenlink DESC_NM "New Wave" DT_NAME NAD83 GROUP Cable One ORG_LAT 37.5 ORG_LNG -96 PARM1 45.5 PARM2 29.5 PROJ AE QUAD 1 SOURCE "New Wave" UNIT FOOT X_OFF 10000000 Y_OFF 5000000 MAP_SCL 1.0' has an invalid number of parameters -- no value is present for '1.0'If I change the order of the values so that something else is on the last line, I get the same error with whatever is on the last line.COORDINATE_SYSTEM_DEF Suddenlink \\ DESC_NM "New Wave" \\ DT_NAME NAD83 \\ GROUP Cable One \\ ORG_LAT 37.5 \\ ORG_LNG -96 \\ PARM1 45.5 \\ PARM2 29.5 \\ PROJ AE \\ QUAD 1 \\ SOURCE "New Wave" \\ UNIT FOOT \\ X_OFF 10000000 \\ Y_OFF 5000000 \\ MAP_SCL 1.0
For the BRT Top10NL (dutch) we use FME desktop to transform gml's to shapes. The newest release of the Top10NL causes a problem. It is quoting "unbalanced quotation marks" But we don't get any more information. The log file is empty. The featuretypes (readers) are not getting connection or processed by. 0 reads. We have so far tried a flex $(FME_MF_DIR) solution which doesn't work and a steady pathname which also doesn't work. We tried opening gml's in qgis and this works fine.We have used FME Workbench version 2015 and 2016, but both have the seem error message.We also tried the / and \\ in the pathnames, no result.By now we are quite frustrated because we don't know where or what to look for.Anyone recognizing this issue?
Hi, I don't understand the shortestpathfinder. I want to achieve the following:I have a layer waternetwork (VHA) and used the topologybuilder to create end and beginnodes. Then i have 2 other layers, 1 with de beginpoints (from) and another layer with endpoints. These points are exactly on the watercours. For each beginpoint, i want to know the lines in the waternetworks to come to the specified eindpoint and calculate the length.I wanted to use the shortestpathfinder but i have no outcome. First i have used de custom from/to transformer where i connected the beginpoint tot from and the endpoints in to, but again no outcome.The same with the shortestpath finder. I know i'm doing something wrong but i don't know which parameters to use of what to do.Does anyone have an example of how to set up the transformer correctly?ThxNathalie
Hi FME community, The behaviour of point cloud writers is a bit unclear. I want to set the srs for the point cloud exports (as "EPSG:28992+5709" or "EPSG:28992"). This works for LAS/LAZ exports with versions below 1.4. However, exports with version 1.4 do not carry the srs metadata.The method to determine the srs is the PDAL command: "pdal info .\\{filename} --metadata". This returns the following: ***plaatje*** I've tried writing the point cloud as: - LAZ 1.4 legacy: srs not set - LAS 1.4 legacy: srs not set - LAZ 1.4: srs not set - LAS 1.4: srs not set - LAZ 1.3: srs OK - LAS 1.3: srs OK Is this behaviour normal?
I have this where there are start first, end first coordinate(x1, y1) and start second, end second (x2,y2). I simply want to create a line from these points.I tried using vertex creator and line builder but couldn't get the required thing.Thanks
I have an excel with several rows and one column contains several lat/long for a polygon for each row. How to convert those lat/long of points into polygon?e.g. one column contains[100.61279296875, 13.9141845703125], [100.61279296875, 13.919677734375], [100.623779296875, 13.919677734375], [100.623779296875, 13.9141845703125], [100.61279296875, 13.9141845703125]
Is it possible to call API python for GRASS in a FME project?
When I use the Reprojector:The coordinate system seems to be correct: Coordinate System Parameters CS_NAME: UTM31-ED50 DESC_NM: Universal Transverse Mercator Zone 31 North (Europ50) DT_NAME: EUROP50 GROUP: EUROPE MAP_SCL: 1 PARM1: 3 PROJ: TM QUAD: 1 SCL_RED: 0.9996 UNIT: METER X_OFF: 500000 Datum Parameters DELTA_X: -87 DELTA_Y: -98 DELTA_Z: -121 DESC_NM: European 1950, mean Values ELLIPSOID: INTNL SOURCE: US Defense Mapping Agency, TR-8350.2-B, December 1987 USE: MOLODENSKY Ellipsoid Parameters DESC_NM: International - 1924 E_RAD: 6378388 P_RAD: 6356911.9461279465 SOURCE: US Defense Mapping Agency, TR-8350.2-B, December 1987 OGC WKT Description PROJCS["Universal Transverse Mercator Zone 31 North (Europ50)", GEOGCS["ED50", DATUM["European_Datum_1950", SPHEROID["International - 1924",6378388,297.0000000000014, AUTHORITY["EPSG","7022"]], AUTHORITY["EPSG",&qu
Hello to all forum members, I am looking for a solution for searching on a point cloud (*las) of a set with parameters:1. The height of the set of points does not differ from each other by 0.03 [m], (flat surface) 2. The set creates a rectangular plane with an area of not less than 25-30 [sqr m], (5x5, 4x7 etc.)Below the workflow on which I stopped.Thank you for your help.
I've written a regular expression for StringSearcher to separate features with road names (e.g. "Acacia Avenue") from features with road numbers (e.g. "A246", "B3276", "A3(M)"). Road numbers start with a single letter followed by a 1-4+ digit number and sometimes suffixed with further characters such as "(M)".However my original RegEx mistakenly treats values like "Service Road 2" and "14th Avenue" as road numbers when they should be treated as road names. I've updated the RegEx to this: ^[a-zA-Z]{1}[\\d]{1,}.{0,}$ but it's still not filtering correctly. If I put square brackets round the dot (any single character), it correctly gets "A246" but misses "A3(M)".
Hello,I have an external command line tool consisting of a single executable file that I'd like to run via a workbench on FME Server. Are there any recommendations on how I'd go about uploading the tool onto the FME Server environment and setting the environment path variable? I'll likely need to involve the platform administrator, but I'd like to know what the best approach is first so that we have a clear idea on how best to set it up.Thanks.
Hi, I have roads with start and end measures. I use measure setter and then measure extraction of whole line. I got measures on vertex like 179.789 and I’d like to have it like 180 (rounded numbers)Is-it possible to get measures as integer number?And another problem that I have points with measures and I’d like to calibrate my roads but calibration transformer give an error (python error – index is out of range).Any idea how can solve those problems (I’m using fme 2018) Thanks
I'm using a trial-version FME Desktop on macOS 10.14.I try to convert files in .osgb type to .obj type. Actually, the files in .osgb can be successfully read by Acute3D Viewer. But when I run the Reader, FME shows that 'OSG reader: An unknown exception occurred'.(The log text is recorded in .)I haven't used FME before, so I wonder if I chose some parameters wrongly. The workspace is generated as follow.I'm looking forward to anyone who has a solution or just some ideas about this.
Hi there,New to FME! I would like to automate a simple FME task; convert .dwg to .shp. How can I go about doing this simple command for hundreds of .dwg files? Also, how can I make the output .shp to have as a suffix the original .dwg filename? e.g. 1234.dwg to (1234_line.shp, 1234_polyline.shp, 1234_polygon.shp and etc....)
Hello,I'm having difficulty getting the String Formatter to work for me (I'm confident this is the right transformer I need to use.) I am trying to convert values stored as a number such as "23.012" to text in the following format: "000.0000". The destination output being "023.0120".I'm sure it's incredibly easy, but I've had a play about with it and I'm getting nowhere.Would be massively grateful for any help.Thanks!
Hello,I am working on input datasets having different schemas. In the end of my translation, I have to inspect obtained results. I had therefore to use a testfilter and 3 (AttributeManagers + Inspectors) as shown in the screenshot. The attributes managers perform some schema mapping depending on input features (this include removing and adding attributes) Is there a way to reduce the amount of used Attribute managers and Inspectors ? My workspace is getting really big and I need to optimize it.Thank you very much.
I'm doing some data conversions using FME Workbench through Data Interoperability, and I'm having issues with the JSONTemplater. I am grabbing a field from a json that contains more json, and I want to leave it unaltered as part of my template. the fme:get-attribute XQuery alters the contents, and fme:get-json-attribute returns an error stating that the data does not contain any JSON text when it does.My template expression: { "annotations": fme:get-attribute("annotations"), "initialStepId": fme:get-attribute("initialStepID"), "initialStepName": fme:get-attribute("initialStepName"), "steps":fme:get-attribute("steps"), "displayGrid": fme:get-attribute("displayGrid")}And an example set of data for the annotation field:"annotations" : [ { "position":"299, 109, 171, 77", "text":"This is an annotation." } ] Comes out like this with get-attribute... \"annotations\" : \"[ { \\\"position\\\":\\\"299, 109, 171, 77\\\", \\\"text\\\":\\\"This is an annotation.\\\"
I am new to FME, so pardon the basic nature of this question. But I am trying to normalize my data.Standardization of names, such as Chevrolet to Chevy. Remove a leading " " and change the case of words.Here is what I have done:It seems logical to me, but my output doesn't get applied to my excel:Any help would be appreciated.Thanks,
I need to do some interpolations to create nice terrain models for the architects at my office. The TINGenerator isn´t enough in this case. I tested a script in R that makes an idw interpolation. My input data is pointcloud lidar data and my output/end result in FME should be a vector surface to use in cad or sketchup. I am using the lidR library in R.Should I make a raster output from RCaller first and then create a terrain model? Do I need more librarys in R? My R script is : library(lidR) las = readLAS("C:/R/win-library/3.5/lidR/extdata/Topography.laz") dtm1 = grid_terrain(las, method = "knnidw", k = 6, p = 2 ) plot3d(dtm1) The plot in the end wouldn´t be useful in this caseHow should I apply the code in RCaller with pointcloud as input and vector terrain model as wanted output? Other transformers after the RCaller could be useful?Tobias