A space to discuss FME Form
Recently active
Hi, my attributes to expose in an jsonfragmenter comes from an user defined parameter, but I have to insert array brackets (like "WIND_6H{}"). How can I do this? It is only possible to edit this list manually or to take userdefined parameters, but not to edit the parameters dynamically.Thank you for your help!Christoph
I encountered something peculiar and I was wondering how/why this is the case. When I build a JSON document, I am able to fetch a number parameter, and parse that to a string.When I however try to do the same with a text parameter, and try to parse that to a string, I get an error. See below: Also seems related to this old community thread. In some sense I get the error 'undeclared variable' (since in XQuery the '$' is used for variables), but it seems odd that this error does occur for a text parameter and not for a number parameter, and I was wondering how that is possible. Of course there are easy solutions. I generally try to enclose user parameters in double quotes in these situations, like e.g. { "key": "$(IN_Text)"}In that case, (data type parsing) functions also can be used, like e.g. { "key": xs:string("$(IN_Text)")}But in this case that's a bit of a redundant example, as without that data type parsing function, the parameter is already inserted as a string. Just as a ca
I have created a workspace with the help of Mr. Takashi(a person from this forum) that reads the shapefile ,creates buildings then this buildings are separated in storeys and then the storeys are separated in roof,ground and wall surfaces. All this work is attached.I want to find a way to write this information in CityGML (Lod 2).In conclusion i want a workspace that gives me a CityGML writer with the buildings.
I have two Arc SDE Geodatabases. Both in different coordinate systems. I need to do a spatial filter. Can I temporarily reproject data to do the spatial filter? If so, how do I do that?
Hello FMEers,Here is your weekly FME news update, just a day late. Unfolded FormatIn case you missed it, we revealed the new Unfolded format reader and writer last Tuesday. And it really was a reveal, because that format hasn't even been exposed in the FME betas yet. But when it is available, do give it a try. I just created an account on Unfolded itself and it certainly looks like a useful platform. FME TerminologyI'm sure you've noticed that by clicking "More" on the FME Community menu that there is an option to access documentation. But what you might not have noticed is a newly added link to the FME Terminology page: The FME Terminology page looks like this: It has been available for quite a while, but fairly well hidden from view! Now that you can find it through this link, I hope that you'll share it with other FME users - especially beginners - to help them understand the terms we use in FME. Deprecations and Other ArticlesThere are a few new and up
Hello, I'm currently reading multiple data sources with a File/DIRECTORY reader and then using the path to read data whether its from a gdb, shp or json. I'm having trouble understanding how I can manage to read ONLY features that have a POLYLINE geometry. I'm guessing there is something to do in the constraint parameters of a FeatureReader transformer but, for the life of me, I can't seem to figure it out.Thanks for your help!Anne-Marie
Hello, FMEers. Here's the latest news for you... Conference TrainingA traditional part of the FME User Conference is pre-conference training. As we plan for the upcoming conference, we're gathering interest on training course topics and welcome your feedback. We've created a survey that lets you vote for existing course ideas or submit your own. If you are interested in filling it out, we'd appreciate you doing so by Feb 4th. If you already signed up for training courses from a previous postponed UC, don't worry. We will be in touch with details of any changes. World Tour RegistrationsSpeaking of FME events, registration is now open for the upcoming FME World Tour. The theme this year... performance and power in the form of motor racing! So "put your pedal to the metal" and visit the World Tour website to browse the schedule of events and see when the World Tour is at a venue near you. Don't forget to click on the Virtual button too, to find online
I have a CSV file that looks like this:- ID,X_COR,Y_COR187347635,335375,369977185565488,282016,438601185768788,281568,438584 FME has classified the X_COR and Y_COR columns as time? I lost hours of work by not spotting this and getting mysterious geocoding errors. I can't see an easy way to override it in the Reader and it doesn't make sense to me to have the time classification?
I'm currently working in FME 2021.2 and trying implement a workbench that can do some dynamic filtering, etc by using a user parameter that defines which fields to act against. The workbench reads in zipped shp file(s) that can have different schemas each time it runs and I want to use a parameter to define which fields I wish to analyse. I can successfully get it to work when one field name is entered but never with 2 or more.Does anybody know what the parameter type should be (eg. text) and what format the field names need to be entered as (eg. VM_STATUS,R20AH or VM_STATUS R20AH)? When 2 or more fields, only 1 feature is returned. I know for a particular datasets that I should expect 207 which is what I get by manually selecting the fields when the data is cached while debugging the workbench. Thankyou for any time spent looking at this
I'm struggling to understand why I get different results for what should essentially be the same transformers. I created a set of sample data and workbench to demonstrate my question. Using NeighborFinder I'm getting points about 6 miles away from my test point. Using the same test point and using GeographicNeighborFinder I find the correct nearest points only 5 miles away. Since all my data is in same LL84 I don't understand why NeighborFinder isn't giving identical results. I'm asking because I eventually have to run millions of features and GeograpicNeighborFinder is nice but has a lot more overhead and will take much longer to complete. I don't need the extra features if NeighborFinder would give identical results.
Last week I was contacted by a colleague to process a text based dataset that reminded me of something I had seen in the past for Fortran based datasets. In particular, the text based dataset looks somewhat like a CSV dataset, only now columns are separated by a fixed width. See below for an example of how it looked:I was wondering if there is maybe already some type of reader that can deal with such type of data? Of course, if you get such a dedicated dataset, you can use a text_line reader, cut/split the text line into separate features (based on the known width (e.g. using a '#s#s#s' format string in an AttributeSplitter, see third example on the documentation page)), and then using e.g. an AttributeTrimmer to remove excessive whitespace. However, this method needs to be configured for each individual dataset, so I was wondering if there was maybe already a tailored made reader that could do this (by first automatically detecting the column widths). Out of curiosity I crea
I'm trying to output CSV files to Word or PDF. Formatting issues... not sure which transformers to use and what settings to use... Thank you in advance!!!
I want to use the RasterCellCoercer to polygonise a raster. I am using it in favour of the RasterToPolygonCoercer, since this one is running out of memory constantly when dissolving. So I would like to write the raster cells as polygons to a PosgresDB and then ST_UNION them.However, on the RasterCellCoercer I am unable to retrieve the band values. There is only one band. The _band{}_value field is always empty. When I use the RasterToPolygonCoercer I get the expected values.Could someone give me a hint on how to solve this issue? Thank you in advance!
A while back I developed a workspace in which I wanted to calculate the 'outsideWallArea' of buildings. That is, whenever buildings are directly next to each other, the touching wall that they both share, shouldn't be counted as an outsideWall. So for example, consider these 3 buildings (cubes with sidelength of 1);Now both building 1 and 2 would have an outsideWallArea of 3, and building 3 would have an outsideWallArea of 4 (note, the floor and roof do not count as wallArea). For this purpose, I used a SurfaceOnSurfaceOverlayer on the buildings. In this way neighbouring buildings fall apart in individual IFMEFaces, and by using the _overlaps attribute neighbouring walls can be excluded from the (outside)WallArea. The 'problem' now is that disjoint buildings are not overlayed to other buildings, and these keep having an IFMECompositeSurface geometry, where neighbouring buildings fall apart in IFMEFace geometry features. So after this step I need to distinguish betwe
I have a large postgres database with over 100 layers. I would like to know how, and if, the indvidual layers relate by a shared attribute. For instance: a river will have an attribute with the county-name it flows through. However, the county will not have an attribute with the river name (but wil have an attribute with it own name). Both will have a completely different geometry obvioulsy. I am also not interested in creating that attribute (using spatial relator). I just want to know which features share which attributes. Since the dataset is so large I can not use the matcher since I will not know beforehand which attribute might match. How would I best go ahead to try and find these relations?
Are there possibilities to do an automatic texturing with oblique aerial photos in fme? Ther eare some software like CityGrid or RhinoCity who can do that. They only need some parameter regarding orientation of cameras. We have an production workflow for CityGML buildings in fme and we would like to texturize within the workspace or by implementing existing functions or something else. Does anyone know if this is possible by using FME?
Can somebody please confirm that I'm understanding this correctly:https://knowledge.safe.com/articles/23883/working-with-geodatabase-subtypes.htmlLimitationsAt the time of writing, FME will not allow you to associate different domains based on a particular subtype. For instance, you would not be able to set range domains of 0-50,000; 50,000-100,000; 100,000-250,000 and apply them to a subtype definition containing the values of Small, Medium, and Large. In order to achieve this, you would need to create the domain:subtype relationship in ArcGIS.In our database (ArcSDE 10.3.1 w/ Oracle 12c) we have a feature class which has a subtype field and within each subtype there is defined a different domain for a "subclass" field. I want to be able to resolve the subtypes and domains (both in and out of the subtypes) but the above paragraph makes me think this is not possible for domains defined within a subtype. I have had no success in my testing as of yet - only coded values are
Hiwindows 10, FME desktop 2020.2.5 I installed scipy using pip"fme.exe python -m pip install numpy --target C:\\Users\\<user>\\Documents\\FME\\Plugins\\Python\\python37 " I check numpy version and it says 1.16.5 using pip list in commando prompt. But when I run the script in FME desktop it saysERROR |C:\\Users\\<my username here>\\AppData\\Roaming\\Python\\Python37\\site-packages\\scipy\\__init__.py:149: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.15.1 UserWarning) But the only version of numpy that i have installed is 1.16.5. Any suggestions on how I can fix this problem?
I have a workspace that has two SQL Executors connecting to an Oracle database (the same database connection). In between there is processing that happens. It appears that FME is keeping the oracle connection open from the first SQL Executor for the entire duration of the processing, and using the same connection when it runs the 2nd SQL Executor. This is causing a network timeout error to occur. To prevent this I have tried unchecking the Persistent Connection option in the 2 SQL Executors, but still get the same behaviour. As a test, I have logged the oracle session ID from the first SQL Executor to the log file, and in the 2nd SQL Executor I have logged the session ID and session duration. Both session IDs are the same and the session duration is the entire running time of the workbench. See attached screenshot for workbench, the decelerator is to simulate processing time. So to summarize, the Persistent Connection check box doesn't do anything in FME Desktop or Server.
I'm creating DEM rasters (1m cell size) from Lidar using RasterDEMGenerator. Then Hillshades from the DEM rasters using RasterHillshader.I'm getting hillshades that look like stacked contour layers.I believe the hillshades "should" be smooth surfaces (especially Lidar surfaces) so I'm not sure what I'm doing wrong.I've attached my model and sample output.
My Data moved from Network drive A to Network drive B.Is there a way to mass change the Source Paths from the Readers in multiple Workbenches at once or do i need to open every Workbench and need to change it manually?
Hİ,I have one las file and all point cloud data is in one class. How can I classify this las data and export only ground data from it?
We'd like to publish the /fmerest/v3/ API in an API Manager.It's well documented and structured here:https://docs.safe.com/fme/html/FME_REST/apidoc/v3/index.html#I was wondering if there's also a OpenAPI definition of the services.
Hello, i have an e57 file with size over 100g. It contains 50 pointclouds and 300 raster. So i wan to reduce the point cloud size .I've 2 questions I'm not sure if my workflow for this is correct. Cloud someone give me advice?In transformer "Writer" exits much options, i'm not sure the one i've choosed enough to export and save the minified file Thanks in advance
I have a file in format of .e57, it contains point cloud and raster.I plan to firstly reduce the number of points and export again as e57 that also contians raster and point clouds.After processing the point cloud data is there 2 options in transform Writer: Raster, Point cloud. Which one should i choose? Or can i just export the raster and point cloud separately(like the picture below), and then open these 2 data file in FME Inspector at the same time and save as format .e57?Thanks in advance.