A space to discuss FME Form
Recently active
My question is similar to this one: https://community.safe.com/s/question/0D54Q000080hbnqSAA/extruding-building-heights-from-3d-terrain-model-creates-sloped-buildings and Takashi's answer helped me to progress. However, in Takashi's answer, the z value of each vertex is the same (the minimum z value of the whole vertices) but I would like to keep the proper z value of each vertices and then extrude them with different elevation in order to keep a flat roof. My idea is to extract each vertices of the building footprint and extrude them with their own elevation values. SurfaceDraper: Drape the polygon by the terrain surface.VertexExtractor:Calculate elevation of each vertices (building highest altitude minus z value)Extruder: vertical using the elevation calculated beforeRebuild the 3D building geometry from those extruded vertices My question then, is there a way to rebuild the 3D buildings from those extruded 3D points (that are now lines)?
I am currently upgrading from FME2019/ArcMap 10.8 to FME 2021.2/ArcPro 2.9. In our ArcMap workflow we use the tool VPF-to-Geodatabase via arcpy scripting:arcpy.production.VpfToGeodatabase(in_vpf_features, in_target_geodatabase, in_product, {import_notes}) Being that the tool is not yet developed for ArcPro 2.9, is there a way to force FME to recognize this is an ArcMap tool? I still have both versions of ArcMap and ArcPro installed. I've also tried the option under Translation > ESRI ArcGIS Compatibility set to "Esri ArcMap", with no luck. When changing this, it forces the Python Compatibility from 3.7 to 2.7.
For example, we have walls lines, but some times the room has only 3 wall lines. Or sometimes there is gap between wall lines. Is there way to create room shape(area or polygon)? Please see attached Sample CAD Cleaned File.dwg. This is my input dwg file. And I want to create a new layer called _Plines, this layer will have the enclosed polygn created based on the wall lines. The out put is something like CAP Level 1_RevC_MB.dwginputresult
I am experimenting with an aerial raster over a river delta trying to find the fastest way to extract centre lines over the water ways. Creating a point cloud with some sorting has resulted in a multipoint geometry that does a decent representation of the shore lines. Up until this stage the workspace is blazingly fast. But in the next step it becomes painstakingly slow. I have tried both creating a hull around the multipoints as well as buffering them. The former was slightly faster but still very slow. Are there other methods that might process faster?
My data is all in LL84. I'm curious if I should reproject into UTM or other coordinate system before I use Buffer and Dissolver? This is due the answer that I got for my other question https://community.safe.com/s/feed/0D54Q00009LDzFBSA1 The solution was changing LL84 into UTM and then everything found correct matches for nearest neighbor. I'm doing additional work with same data but this time applying a 4 foot buffer to each point and then running them through dissolver to see which points are near each other. It appears to work fine but after my last answer I'm thinking I should reproject the data to UTM and then do this work. Thoughts?
However, if an old verison of file is already present in the path, then it is able to rewrite the file. But i want each time it creates a new file. Kindly suggest
We use FME(R) 2020.0.2.1. I've made a workspace that uses a DateTimeConverter. I then loaded it on FME-Server (FME Server 2020.0.2.1). Now I wanted to change something and downloaded it from FME-Server. When I opened it in FME-Desktop, in the DateTimeConverter there was just a text DATETIMECALC_1_ADD_INTERVAL on a red background in the Mode-Field, and I couldn't do anything with the transformer. I viewed the workspace on FME-Server, there the Transformer looked ok, with all the different parameters filled in.I then tried to use the DateTimeConverter in a new, empty workspace, but it didnt't work anymore neither.(We have FME2021.1.3 installed on the same server, but we don't use it for some reasons. I tried it with this version all the same, but it didn't work neither)What's wrong here, how can I get this transformer to work again? Thanks, Vera
Hi FME'ers, I have access to Ordnance Survey's CodePoint with Polygons through the PSGA. I am trying to write a workbench that would dissolve the individual postcode polygons into the areas (DN), districts (DN1) and sectors (DN1 1). The issues here are vertical streets (sometimes stacked) and islands postcodes. I haven't had too much issue with areas and districts, they iron themselves out at these scales, but sectors are just a mess. I have been playing around with the Dissolver, Clipper, DonutBuilder and DonutHoleExtractor but each approach has it's issue. I would be very grateful if anyone could share how they have achieved the above. Many thanks,David.
Hello,When I open my app with the URL, I want to integrate external data (like local files) and run the processing but when I run it, an error message is displayed. Thanks in advance
Using FME Server 2021.Uploaded workspace that has no problems to run on Desktop. When running on FME Server it fails with the message:FAILUREINCLUDE -- failed to evaluate TCL expression ` FME_CleanseFMEUUID {StringPairReplacer_9f3b9011_1d33_4123_9fa5_4f7dd23e28558} ' -- invalid command name "FME_CleanseFMEUUID" while executing "FME_CleanseFMEUUID {StringPairReplacer_9f3b9011_1d33_4123_9fa5_4f7dd23e28558} "
Dynamic attribute name reading does not seem to work still (FME 2021). I'm trying to extract attribute names from certain excel row. I don't know the attribute names beforehand and workflow should be completely automatic. Basically I have attribute names like Extra1, Extra2, Extra3... and if there is any extra attributes, those names would be changed in excel: "Extra1" --> "car". What I'm trying to do is reading those changed attributes automatically, but can't get excel reader to dynamically detect changing attribute names. I know there is a work around with generic reader (link to question below) but that really don't work because I have to read specific cell range from excel and can't determine that cell range with generic reader. Any ideas how to work around this? https://community.safe.com/s/question/0D54Q000080hFpiSAE/dynamic-excel-sheet-reading-without-having-to-reload-the-reader
Hi! I have created components (resistivity and resistivity_class) in a LAS-data. When i uploaded it in FME inspector, the created components showed up, but not in ArcGIS Pro. Any ideas how I can make it to show up in ArcGIS Pro?
I have a test Shapefile with 19 roads/segments. I want to merge all segments that are shorter than 200m with the shortest adjacent segment, and use the attributes of the adjacent segment for the new road segment. I've got most of the logic working, but can't get it to loop until there are no more segments less than 200m in length. The attached workspace shows one iteration going from 19 records to 18 records. Any pointers as to where I'm going wrong appreciated!
Hi, I've been having a problem and I couldn't find any answer that could help me in the forum.I need to cut a raster mosaic that I did by tiles that I have: But when I run the workspace, in the clipper the whole image is set to "outside" and I can't figure out why. I also need to transform the raster mosaic to multiple rasters by that tile and with the ID that appears in the image, but I didn't get there since everything goes wrong after the clipper transformer. What am I doing wrong? Thanks in advance.
Hi, I have created a random polygon (in EPSG: 4647) and now I want to put hatches inside of it via DWGStyler. They should be depicted in an angle of 45° and as lines - this works. Between the lines, there has to be a distance of 2 meter and this is where I got stuck. I've tried to achieve this via Pattern Scale in the DWGStyler and by setting "autocad_hatch_pattern_space" to 2 by using an attributecreator, but this doesn't seem to work properly.
I am using the DuplicateFilter to remove features with the same attribute. It does work well but I am having an odd issue with the geometries behind each feature. The features that gets filtered out somehow 'still exists in the background'. It doesn't get counted as a normal feature if loaded in GIS, nor appear as one, but when using transparent symbology it is visible, as if it hasn't been fully removed. Just the attribute seem to be removed. The filtered out feature still seem to exist hidden in the dataset (a shapefile in this case). How can geometries be filtered out properly with their attributes?
I'm sure this is really basic but I'm stumped. How do I take some sort of action based on the number of features emitted by a previous transformer? In this particular instance I need to abort the final write (and send an email) if the number of features are less than 2000. I have a Counter, and can see the number of features. I have a Tester, but it appears to be testing each feature instead of the total count.
I have a shapefile of the road and I want to convert it into GeoTIFF But I want the GeoTIFF should show the road name
Is there any possiblity to configure/customize fme server error messsages on server side? Any good idea for this?
If I use a Counter Transformer in my workspace, I often find myself using a 'Local' Count Scope, and also I prefer to start counting at 1 (instead of at 0). Also, I would prefer to use the count functionality through Count() FME Feature Function(s) as opposed to using Counter Transformers, as this makes my workspace a bit more compact. Unfortunately, I haven't been able to combine both of these goals. In particular, I haven't been able to use the 'Count()' FME Feature Function in combination with a Local Count Scope and a Count Start of 1. See below screenshot and the attached workspace (FME 2021.2.2.0 b21806, Counter Version 3)). I had a look at the FME Feature Function documentation page, and I thought that the NO_LOG option could be similar to the Local Count Scope. If I look at the indicated Syntax of the Count() function, i.e.@Count([<domain>[,<startVal>[,<modulo>]]][,NO_LOG]),I'm tempted to believe that it should be possible to us
Hello FMEers FME Academy UpdatesIn case you missed the announcement, there are a number of useful updates to the FME training academy that may be of interest to you. New modules include:Read From and Write To Multiple LocationsImprove Data Quality by Handling Null and Missing ValuesBuild a Shared Library of Custom Transformers These are part of the new Build Advanced Workflows trail. I count 11 trails so far, each with different modules: And don't forget, online FME training materials are free of charge to use. FME Hub UpdatesThe Hub Monthly Digest is a must-read if you are Swedish since most of the new items relate to Swedish formats. There is a web connection for the Nationella Geodataplattformen (NGP) and several transformers for the Digital Twin Cities Centre (DTCC). The DTCC project seems to be about modelling urban environments to assist in real-world planning and design. It looks like a series of projects, actually, so I'm really happy to see FME functionality may pl
I have Esri SDE writer that is not updating a representation domain. I am trying to update two fields, a string for color and the rep field with an integer. If I remove the color field it writes the domain field fine. If I "enable" the color field it nulls out the domain field and writes the color. The log is not showing any errors. The workspace is super simple. I don't understand why it is doing this.FME 2021.1Esri 10.6.1Oracle 12c
Currently I have an XFMap file to parse attributes, but I'm looking at creating an attribute with the raw XML of the item to write out as a CLOB. Is there an easy way to add this into the xfmap to include it as an attribute when parsing out all the other attributes? I've tried mapping match=".", mapping match="*.", mapping match="*" all which don't work correctly.Thanks in advance!== Feature-Map to parse out each item ==<feature-map multi-feature-construction="true"><mapping match="item"><feature-type><literal expr="Feature"/></feature-type></mapping></feature-map>== Feature-Content-Map (what I'm trying to get to work ==<mapping match="."><attributes><attribute><name><literal expr="RAW_XML"/></name><value><extract expr="." /></value></attribute></attributes></mapping>
I am attempting to append records to an ArcGIS Enterprise Portal table from a Postgres database using an SQL statement. I have a SQL statement that works correctly to query the database. I can use this in the SQL Creator Transformer and connect it to an Esri ArcGIS Portal Feature Service writer in FME Workbench. I can run this in FME workbench, and the records successfully write to the Portal table. The project works on my local machine and on the network server we plan to use for scheduled tasks. FME is installed on the server. I would like to run this on a 12-hour interval using Windows Task Scheduler. Here's what I've tried:Copied the "header text" from the log in FME Workbench, and saved this as a .BAT file. Placed the .FMW and .BAT files in the same directory on a network server, and edited the .BAT file to point to the .FMW file in its new location.I created a new scheduled task in Windows Task Scheduler to Start a program, and pathed to the .BAT file.Nothing i
Hello,Here is my situation. I have nearly 500 gdbs with exactly the same schema (each gdb contains 7 feature classes). I need to merge only two feature classes. My process also involves a loop and because I do not want to read all the gdb everytime, I have an index shapefile (one feature = one gdb extent) which I intersect with the area of interest in order to extract the names of the targeted gdbs. Right now I have come down to creating a custom transformer which is able to select the good 2 features classes but in order for my filters to work, I need to be able to input the list of the previsouly selected gdb names in my epxression. So far this is what I manage to do. I know there is something missing but I can't seem to figure out what. Basically, what I need is a way to feed the list of attributes to build the expression that will filter what I need. Thank you for your help!