Using transformers to modify data.
Recently active
I'm new to FME and the Vmap/VPF format, And I would like to now how to convert an ESRI shapefile, obstacles (points with attribute height), to the VPF format. Is there someone who can guide me?
What is the best solution to transfer files from IFC format that have a geo-reference as shown in the picture to KML, bearing in mind that I kept the same geographical reference? Thanks for the help.
Hi all,I have roof shapes which I transform to fme_composite_surface (GeometryCoercer). Now I will use BRepSolidBoundaryCreator.Beta to create ground and walls. It works for a single building. Unfortunatley if I use a bigger area the transformer stopped by saying:BRepSolidBoundaryCreator.Beta_2_DonutBuilder_<Rejected> (TeeFactory): BRepSolidBoundaryCreator.Beta_2_DonutBuilder_<Rejected>: Termination Message: 'Element BRepSolidBoundaryCreator.Beta_DonutBuilder gibt ein <Rejected>-Feature aus. Um mit der Umsetzung fortzufahren, wenn Features abgewiesen werden, ändern Sie 'Workspace-Parameter' > Umsetzung > 'Behandlung abgewiesener Features' in 'Umsetzung fortsetzen'' What is going on here? Are donut polygons not working? Inside Transformer BRepSolidBoundaryCreator_Beta error comes from DonutBuilder: INVALID_GEOMETRY_DEGENERATEHow can I avoid this?
Hi all, we are using the transformer BRepSolidBoundaryCreator.Beta to create buildings based on 3D roof shapes. For most of the buildings it works fine but we found some buildings with strange results. For example:We have this roof shape as input: The roof polygons have adjacent roof polygons that directly connect (lower left corner). Because of this we have 5 nodes First step is to create faces so we can use it later for the transformer.Result roof shape after creating faces:We have 3 Faces. After using the BRepSolidBoundaryCreator.Beta we have this result:The result of the walls are not correct. We have duplicate wall surface. The transformer should take the roof polygon (input) an should create a vertical sidewall surface that bridges between the boundaries of the planar surface and the source surface. Why does it turn multiple wall surfaces? Is it because we have three faces? Is there a way to create only the outer wall? Or do I have to manipulate the input polygon that I only have
Is it possible to loop in FME? I want to connect a transformer back to the previous transformer in a particular condition.
I am not that familiar with the SQLexecutor, but I was wondering something. When I am running the SQLexecutor, I don't get any feedback, so therefore I was wondering if I can get some kind of feedback mechanism that the database operations have occurred succesfully or not
I have two polygons which overlaps and I use transformers to have the intersection (I tried Clipper, AreaOnareaoverlayer, spatialrelator and intersection) . So, it created a new polygon (the overlap of the two polygon.) The problem is that this new polygon belongs (in the attribute table) to one of the two polygon (The feature name of the new polygon is the name of one of the polygon) but I would like the name of the both polygon even if it created two overlap (the same but one with the name of the first polygon and one witch the second). Thanks you
Hi, I have to transform a series of points to a line consisting of cubic Bezier curves. I couldn't find a function to do that in existing transformers or the Python API of FME Objects. The Generalizer (NURBfit algotirhm) creates a spline curve, but it's not exact cubic Bezier curves. The expected line has to pass through the both ends of each 3 segments. So, I wrote the following script. Is this the "re-invention of the wheel"? If you know an existing function (transformer or Python function) that creates cubic Bezier curves based on control points, please let me know. ----- import fmeobjects class CubicBezierCurveReplacer(object): def __init__(self): self.set_coefficients(32) def set_coefficients(self, n): self.n = n r = 1.0 / float(self.n) s = range(0, self.n) self.k0 = [(1.0 - (r * m))**3 for m in s] self.k1 = [3.0 * (r * m) * (1.0
is there any Geometry smoothing function in FME needs polygons edges smooth
Hello, I have some polygons which overlaps and every polygon is a featureI succeeded to have in attributes the name of polygons which intersect the feature (the 1st polygon).Now, I would like to know how can I have the name of the polygon which intersects the most the first polygon. Thank you!
Hi everyone, I have a XML question.I got an XML structure from filegdb_polygon via GeometryExtractor (GML 3.2.1) and XMLFragmenter:<gml:Surface gml:id="ID_1" srsName="MysrsName" srsDimension="2"><gml:patches><gml:PolygonPatch><gml:exterior><gml:LinearRing><gml:posList>"list of xy coordinates"</gml:posList></gml:LinearRing></gml:exterior></gml:PolygonPatch></gml:patches></gml:Surface>However, my XML structure should look like this:<gml:MultiSurface srsName="MysrsName" gml:id="ID_1"> <gml:surfaceMember> <gml:Polygon srsName="MysrsName" gml:id="ID_2"> <gml:exterior> <gml:LinearRing> <gml:posList srsDimension="2" count="####">"list of xy coordinates"</gml:posList> </gml:LinearRing> </gml:exterior> </gml:Polygon> </gml:surfaceMember></gml:MultiSurface>I used XMLUpdater to delete the attribute/gml:Surface/@srs
Sorry, I'm new to FME and don't know which transformer to use. I am working on an FME project that is currently getting an XML response using an HTTPCaller. The Output of the HTTPCaller has many "attributes" and then the Output is passed to an XML Fragmenter. The XML Fragmenter output is the same but has one new attribute pulled from the XML response. It then is passed to an XMLQueryExtractor which then adds another attribute. I need to get the value of a tag and I'm wondering if I should add an XML Flattener or Fragmenter or perform this in the XML Query Extractor or some other transformer.an example of what I need is the value in <sub3> in the following XML example and save it to a variable for later use. <Root><sub1><sub2><sub3>value</sub3></sub2></sub1></root> Thank you
I am trying to clip a point cloud using the values of a csv using the reader, but the PointCloudFilter transformer does not accept the @Value() field. I am at a loss now. Any help would be great.
I have an OBJ file that I am converting to a Multipatch in an Esri FileGeodatabase. The process mostly works but the colored mesh in the georeferenced OBJ file appears as a white mesh, with no color, in ArcGIS Pro. How can I preserve the detailed colors?
I am running a workbench to split transactional work orders onto different worksheets in an .xlsx writer using FME 32-bit 2021.1.6 We have hit the 2gb memory ceiling due to the number of rows, as a work around I have installed the 64-bit version, but now i find where before it took a few minutes to write out the .xlsx output in 32bit the 64-bit seems to slowly parse through the feautres as it write them out, its much slower over an hour and I stopped the tranlsation. Is the performance really so different in 64-bit?
I have this workbench in which I combine multiple CSV-files and write out to one Excel-file. the file contains aprox. 190K rows. In the previous FME version (2020.x) I used this workbench it took a few minutes. Now the XLSXW is taking hours to write the output. Did something change in the way the XLSXW writer functions? I did a test by writing to a CSV file, this took seconds to complete, so clearly the problem lies with the Excel writer. Hopefully someone knows about a fix. Cheers, Jaap
Hello, can we convert .shp files, to aixm (.xml) ? and how to convert them, thanks
I followed the steps in Example 2 here to switch my table columns to rows: https://community.safe.com/s/article/transpose-a-table-using-fmeIs there a way to keep the original column order as the new row order after the table is transposed?Using the counter/sorter, as outlined in the example does not give me the desired order of rows.
Hi, The GoogleBigQueryConnector return the error of Python Exception. I'm not too sure what should I do to resolve this exception. I'm using the new version of FME 2022.1. Previously this transformer is working well in the FME 2020.Message error detail:Python Exception <ImportError>: cannot import name 'decodeWWJDString' from 'fmegeneral.fmeutil' (/Library/FME/2022.1/python/python39/fmegeneral/fmeutil.pyc)PythonFactory failed to load python symbol `fmepy_google_bigquery.connector.GoogleBigQueryConnector'Factory proxy not initializedGoogleBigQueryConnector_CALLER (PythonFactory): PythonFactory failed to process feature Can someone help me on this please. Thanks
Is it possible to move files to an error directory when a FeatureWriter fails? Unfortunately, I have not found a way so far. Is there any other way than to use an FMEServer Automation that triggers another FME Workbench in case of an error, which only moves files to a directory? Is it possible to achieve this with only one FME Workbench?
I am using the RasterDEMGenerator transformer to create a digital elevation model. The resulting raster cells cover the entire bounding box of my point cloud. So far so good. What I want to achieve is, that such raster cells, that do not cover any point of the point cloud will have a "NoData" value. I have tried all of the available interpolation methods, but non eof them seemed to work in this respect. Any ideas? Thank you
Hi,FME seems to display a single point from Oracle at the wrong location. I have a simple workspace with a SQLCreator with the following statement:select SDO_GEOMETRY('POINT(163170.864 501575.234)',28992) from dual I would like see the location in the visual preview so I have a background map which is a WMS in the same coordinate system: http://www.openbasiskaart.nl/mapcache/? with the layers {Openbasiskaart}|{osm}. The point is shown at the wrong location somewhere in the middle of the sea. When I add a bufferer with 200 meters it is shown at the correct location. Is this a bug? I have attached my workspace (FME 2021.1.3)
If I write to SDF the 'Has Elevation' of the schema seems to be on 'false' by default. My data has geometry with Z values, wich are visible if i open the SDF file in the data inspector. But the SDF schema stays on 'Has Elevation = False', wich means the Z value isn't shown in autocad map3D. How can I change this?
Hi, I have 2 global counters with the same domain in my workspace (default parameters), but each of them is producing an individual sequence. As per documentation, this should produce for example 0-9 and 10-19, but I'm getting 0-9 from each counter... see the screen attached... am I doing something wrong?
Hi,I'm having this error when I try to write the values in postgres through fme tool. The attribute has 6 possible values (0-6). what is the best way of solving this problems.Value of attribute 'n_lane' could not be converted to type 'int2'. Feature will be logged and skipped.And then at last the tool throws an error of insufficient memory available.I mean I really don't understand how to solve this issue..Please someone help me out with this.I'm attaching a photo so that you can have a clear vision of this error.