A space to discuss FME Form
Recently active
I have an SDE geodatabase. I need to load a shapefile and replace all of the data in a layer with the new data coming in. For example there is a roads layer in the geodatabase and once a month I get a new roads layer. I'm looking to just replace the entire layer and add the new data that I have received in a shapefile format. Is there an easy way to do this?
FME Desktop 2022: How to use the same “reader” multiple times in the workbench without repeating adding it? In the screenshot below, I got an excel file as a reader. I need to use it multiple times in the workbench. How can I do that without repeating adding it each time?
I have a set of points (>100) and I want to calculate a cost raster along a network fpor each point. For 1 point I can do this by:point > netyworkcostcalculator>surfacemodeller. However when I use multiple points the networkcostcalculator only outputs disconnected features (also when using 'group by' point ID). But even if it would have an output, the output does not contain an pointID attribute, so I can not use the group by option in the surface modeller. Is there an easy way to calculate a cost raster for more then 1 point?
I have a problem with the attributetransposer in a workspace that has a couple of httpcallers upstream. In case all the httpcallers get a rejected call (handled with an emailer) no input is going into the AttributeTransposer. I then see the following error showing in the log:AttributeTransposer Input Input Collector (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)AttributeTransposer_Input1509999976 Input Splitter (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)AttributeTransposer_ParameterFetcher (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)Python Exception <TypeError>: Input must be a string or unicode.Traceback (most recent call last): File "<string>", line 86, in closeTypeError: object of type 'NoneType' has no len()During handling of the above exception, another exception occurred:Traceback (most recent call last): File "<string>", line 99, in close File "<string>", line 24, in throwTypeError: Input must
I have a layer that was created with the tiler transformer and rather than column (0 - n) I want to covert them to an alpha equivalent i.e. 0 => A, 25 => Z, 26 => AA etc Does anyone have a approach for this please?
Hi FME:ers!My task is to find a way to create polygons at the bottom of each solid geometry classes. The created polygons should follow the solid geometry classes bottom edges (x, y and z). I have marked a dark line in the picture for more understanding.
Currently I run a testfilter that checks the name of a fme_feature_type which has layer names from the drawing. So basically my testfilter is full of if statements like "if @value(fme_feature_type) LIKE %P-STM-MH" and output each if statement to its own output port (Ie 'Manholes' or 'Storm Mainline'). from there i run an attribute creator on each output. the attributecreator looks at the field_name and i add it to a field in my shapefile but named differently. So if field_name is STM-MH its added as an attribute in my shapefile as 'Storm Manhole'Is there a more efficient way of doing this vs what im doing? I feel like I'll have a lot of layers and there for a lot of outputs where I might need to run 10+ attribute creators.If theres a better way of doing this I'd love to know it. Thanks
Unable to retrieve access token Request to update access token failed. HTTP Error: HTTP/1.1 401 Unauthorized
The workspaces receives a JSON message with information about the columns & geometry (where the user is interested in). We use the geometry in the FeatureReader (Spatial Filter) that is working fine, but the user only wants the attributes: "test1", "test2" in this example. How can i filter the feature class only to: "test1" & "test2". And how can i make this dynamic because it is every time different (attributes)? The output is an excel file. thank you.
FME Desktop 2022: The sequence of records numbering before and after aggregating don’t match, In the screenshot below, the symbols are numbered and it appears that the numbers start from top to bottom. As the features are aggregated and re-numbered, it appears that there is no logic based on what they are numbered Then based on what "counter" tool work? The data and workbench are attached
Dear Team,I really appreciate the data inspector for z visualization of the point cloud, but I can't find how this color grading works inside fme data inspector.In my case I wanted to bring cloud points to the shapefile by color gradation based on z value. so my output shapefile looks the same as fme data inspector view. how can I do this ? is there any tool available for color gradation for feature color (based on z value)
Hi everybodyI m a c# developer and i want create some fme extension. I have seen that it s exist a fme dotnet framework api on github that not Working with free fme desktop edition. Someone can help me?
I have a simple FME 2021.2.1.0 workspace which isn't very usable - its just for giving a simple example: My custom transformer looks like this: I am trying to create the custom transformer so that it takes one user parameter from the main workspace and use it for the bufferer. I would like the Anchored Snapper to use a fraction (10% as an example) of the my_value user parameter as the Snapping Distance. The problem is that the Anchored Snapper can only use a hard coded value or a user parameter as input. In the custom transformer I can create a "Number" user parameter but I cannot assign it the my_value user parameter and multiply it by 0.1.I can create a scripted python user parameter but when I use FME_MacroValues['my_value'] to return a new value FME_MacroValues['my_value'] just returns "$(my_value)" (I guess it needs to be dereferenced somehow?). I can create another user parameter in the main workspace and give it to the custom transformer,
Hello, for a 3D visualization I would like to assign contaminant data from soil samples from varying intervals (e. g. 0,5 m) into a smaller interval of choice, e. g. 0,1 m. An example of my input/original data and the desired output with a densification interval of 0,1 m is shown here:In our recent example, we have around 350 samples. By now, this is easy to solve with Excel formulas, but takes some time to process . As I am quite new to FME but also in terms of a future automation – is there a quick to do this in FME? Or would a Python script be more practicable in this case? Thanks for any hints and suggestions! Kind regardsAlex
Hi all,I'm having a bottle-neck on a workbench due to the use of the transformer "NeighborFinder". This operation only is taking around 18 hours. The goal is to find around 200K points to the nearest Polygon (having around 10K). Points that I want are quite near, not touching some times. Also, there are some points that are farther and I don't want to have them on the "MatchedBase" output (red ones): These are the transformer parameters: Also, attributes from Polygon need to be transferred.I don't see the option to make the search by Groups, since I cannot foresee which points belongs to certain Polygons beforehand. Also, reducing the number of features is not possible. Any suggestion?Something that could be faster on that search?Thanks!Juanma,
We have a pipeline that is reading .dgn files, it seems to be working fine on a local machine where we actually have Microstation installed but once we deploy it on the server we are getting this message:It creates some output, the pipeline is not failing but the output on the FME Server is almost half as big as locally and has missing features. So my question is: Is this a bug or what's causing this? Because I was under the impression that FME does not require additional software. Our FME Server is hosted by us, not on FME Cloud if that matters. Thank you in advance!
I am developing a leaflet-based web app. I would like to pass the geojson drawn by a user in leaflet through the FME rest API to my workspace in FME server. The workspace contains a geojson reader, topologycalculator and geojson writer. But so far, the geojson reader accepts only a file or URL. Is it possible to send it along with URL as a parameter without the need to create a file. Something likeURL Example :http://desktop-f25rpfv:8080/fmerest/v3/transformations/submit/GeneralizationPredict/networkcalculator.fmw?data = {geojson object}
Hey folks, I am brand new to FME script writing. I have for example, a DWG with sewer, water and electrical lines. The layer names are usually all the same except with unique numbers. eg. HET-32434-WATor HET-23422-WAT-SERor HET-232345-ELECetc I am trying to output each of the categories into their own shape files so I can simply point my script to a dwg and run it. I have no problem doing this manually by adding the DWG into my workspace where it asks me what layers to load into the workspace and I can point those to an attribute creator and output a shapefile. That works fine, I am just trying to figure out how I can have it look in a DWG drawing I specify for the layer names like %WAT% to output all my waterlines into a shapefile. Hopefully I made sense here. Thanks
Hello! I'm new to FME and I'm wondering if it is possible to integrate PDFs into a CityGML model (LOD1). I need to link a different PDF for each building of the 3D model. Can anybody help me? Thanks in advance
Hello, To automate some of my tasks using FME, I'm currently trying to make FME download some .7z files and extract their content (composed of subfolders, txt files, pdf and shp). I managed to make FME download the archive and store it into a temporary folder just as I wanted but know I want to make FME extract the content of the archive so I can then sort it's content (I want to go inside the subfolders and only extract shp files, then work on them). I've already tried to use some transformers like "ZipExtractor" or "Unzipper" but they don't seem to make what I'd like... If someone know a way to extract and sort zipfile's content using FME please help me ! Regards,Andy METAYER
FME Desktop 2022: “AttributeCreator” fails to copy a field into another using the arithmetic editor, In the screenshot below, I wanted to copy the “fme_text_string” field to the “F1” but appears not work except for the first record. What could be the issue here? The data and workbench are attached
I’m trying to build something to automatically compare control points for mobile laser scanning/lidar to the final point cloud to validate it (and also validate other point clouds that I haven’t collected, but where I have overlapping control). Generally, for this type of point cloud I control it in another software package using 3D control points mainly, but I do collect extra independent ones for validation that are suitable for comparison of the three different planes. Such as height, along (front/back), or across (left/right) compared to the direction the scanner is movingIn the past I have done this manually in another software package which is quite time consuming. I’d like to make something to do it automatically. The result I need to make are some separate statistics of the differences in easting, northing, height that I can use in reports. I can work out a way to compare the vertical (By making a clipped cloud around each control point, then a surface, and then comparing the
There is no log file written to the set output folder (as a parameter) when running the workspace from FME Server. The FME server version is FME(R) 2019.2.3.2 (20200320 - Build 19825 - WIN32). What could be the reason?
I have the need to utilise a dynamic writer for coordinate conversion of a user uploaded file.The schema will be unknown therefore the need to be dynamic.I am using FME (20201027 - Build 20787)I have used a writer transformer and have set the schema to Dynamic and the schema is set as "Schema From Schema Feature". I am wondering if this has an impact on the first feature being used to dimension the dataset and is not written to the table. However this would be unusual because I have used these writer transformers before with more success. The noted difference I can surmise would be that the schema and features have been split up after the reader and I have used the schema to determine the coordinate system of the incoming dataset features to check that it conforms to the eventual conversion, then the features and schema are brought back together using a Joiner transformer.This works for other formats (CSV and TAB) with which I have used the same logical design.The cached rec
I have a polygon with a line inside. I want to create several polygons out of the big one by snipping the line every 1 Meter. See my image for reference: I want to cut the red line every meter and split the polygon at that point by using a perpendicular line to the red one. As a result I will get more than 10 polygons.