A space to discuss FME Form
Recently active
Hey, I have a Server App setup using my FME server where it allows users to select a location on an interactive map, and enter details into a text box. I would love to expand this to also allow the user to upload n images to be associated with this form submission. I have been looking for a tutorial for guidance, but they all seem to be setup around the user submitting a document like a CSV with data to be extracted and processed, mine is simpler than that, I just want to 'move' the images to a resource directory for future reference, but this 'move' process is where I get stuck. EDIT: So after stepping away from my computer and coming back I think I have worked out the process, but the output file is 'corrupt' and the image cannot be viewed. Is there anything specific I need to have setup so that files are output exactly as they are uploaded?
I have tried to add feature reader after the WFS reader, it did not work. I then tried to use python caller to unzip the shapefile first. But it looks like the zipped shapefile gets deleted after wfs reader finishes. Has anyone successfully used SHAPE-ZIP as WFS reader output format? how do you get that data into the next step?
FME Desktop 2022: How to specify the type of created attribute field (chr, double, integer, etc.)? I couldn’t figure out how to specify the type of the attribute field In the screenshot below, I created the “AreaPercent” attribute but couldn’t figure out how to specify its type. However, as it’s written in a feature class geodatabase, it’s considered as “chr”. How this can be managed?
Let's say I have data with an attribute "A" which is an integer. I want to process all incoming features with the same attribute the same way (example: check for overlapping geometries within that group of features). But I do not know beforehand what that number will be. How do I do that in FME? Looking for something like AttributeFilter, but with unknown attributes.I suspect the "group-by" option can do this for some tools, but I'm not sure how to apply it for this problem.
FME Desktop 2022: How to dissolve based on a particular field and then to get the COUNT of the dissolved features as well as the FIRST value of other field? For example, in the screenshot below, I wanted to dissolve based on the “autocad_color” field and then to COUNT the features that have been dissolved while taking the FIRST value of the “landuse_arabic” field. This can be done easily in Pro with one command (dissolve) The data is attached The data is attached
Are FME Desktop Licences tied to IP Address of the machine or Hardware Configuration?
FME Desktop 2022: How two columns of points are transferred as two fields in the attribute table of polygon layer? As per the screenshot (and the attached data): 1) I have a data that is generated in point layer and polygon layer2) Each feature of the point layer lies next to a feature from the polygon layer Now, how the two columns of the point layer are transferred as two fields in the attribute table of the polygon layer?
FME Desktop 2022: How to filter all records based on the “null” value of particular field? In the screenshot, I couldn’t figure out how to filter all records that have “null” values in the “ump_layers”
FME Desktop 2022: How to add comma separator (thousands separator) and specify the number of decimal places? I couldn’t figure out how to add comma separator (thousands separator) and specify the number of decimal places as they appear in the table
transformers
I did a clean installation of the software as administrator but the startup screen hangs on loading transformers. Have anybody any idea? See screenhot attached
Is there a transformer to read the unique values contained within an attribute and then assign a new value? Similar to the way that the attribute manager works but for values. For example I have a dataset with the columns fruits: Fruits New Value-------- ----------------Apple > Green AppleBananaOrange > Blond OrangeKiwi > Golden Kiwi Ideally the transformer would read the unique values listed in the Fruits attribute and then I could specify the new value for the output. As I am working with large datasets, I do not want to have to create a mapping rule for every value individually. Ideally the values would be automatically clustered and would be presented in a table and I could then just specify the newly mapped value.
How would I go about spitting a column every 12th row so I have three features from column a instead of one
Hello everyone, I have this very large raster and a shapefile with polygons. My process is a looping one where the raster is clipped with each polygon. In order to avoid reading the whole raster everytime, I've created a subprocess that uses the polygon bounds directly in the search envelop of reader. Then, it is clipped.My problem arise when the polygon used for clipping is outside the raster extent. The "inside" port of the transformer is empty but the process continues. This output is supposed to be used later on in a script (arcpy custom transformer) to align many other rasters. But clearly all this fails because there is no raster. The best solution I have come up with would be to add a Tester or something after the transformer and create a bolean value which would allow me to deal with this empty raster directly in the script. However, I can't seem to find a way to do that. Mind me, I cannot use the "outside" port since I always have an extra part to
Hello everyone,I am probably posting in the wrong forum section. If that is the case, I am sorry for that. I was wondering one thing. Normally, there is a FME Desktop training available for every year on the following link: https://www.safe.com/training/recorded/. But for some reason there is no FME desktop 2021 available on this link. Is this only for 2021 the case or does it mean that FME desktop trainings will not be made available anymore online from now on?
Hello,After using the CenterLineReplacer transformer on a ploygon I get the following result. Is it possible to extend the line that was created before so that it reaches the edge of the polygon? Thanks for your help
I have a 3D building file (stemming from a PostGIS reader) that is read correctly in FME (green object below). After exporting it as a File Geodatabase with geodb_multipatch geometry, I get the orange result. Any idea on what might be going wrong in the FeatureWriter?
I have a set of tabluar data with attributes (X, Y, EPSG). Where the ESPG can be any valid coordinate system. My goal is to create a set of points in a common coordinate system. I understand I could use a TestFilter for each EPSG I'm expecting then create points, but the workbench will fail if the data contains an EPSG code I didn't expect. What is the best approach to create points in a single coordinate system without hard-coding the workbench for a set of expected coordinate systems? Thanks
Hi everyone, I've got to convert waypoint files to GPX files. I also need to convert txt to GPX. Please let me know if there is a work instruction for either conversion. Kind Regards, David
I have been linking S3Connector and the RasterExtentCoercer via the FeatureReader reading a downloaded COG to get its extent, but thinking about the nature of COGs, is there a way to only read the top layer overview instead of having to download the whole tiff? Downloading is ok for smallish files, but this would save a lot of time for large COG files.
I would like to be able to read all tables only from both an ESRI file gdb and our SDE db. There are additional feature classes, rasters, views and relationships in there that need to be excluded. If the view tables are captured that is okay - they all have a standard prefix of "View_" so could easily filter those out. I was thinking I can expose the geometry and then select tables only or something. However I am having trouble figuring out the best way to do this. Perhaps this is not the best way. Basically all my tables in a single SDE gdb must be compared against tables split amongst multiple file geodatabases in another folder. So I'll merge all those file gdb's into one, and I need to be able to search through it and look at the tables only to find matches with SDE. We have 50-ish tables and those table names can change so would like it to be dynamic. Is this possible?! :)
Is there a DotNET sample to develop a custom Factory ?
Hello,I have a pipe table (Polylines) and a manhole table (Points). I would like to spatially join the point located at each pipe start, to link the attributes of each entity. I manage without problem to find the point for the beginning of the line thanks to a NeighborFinder, but impossible for the end point. How to do ? Possible ? Thank you in advance.
Hi all, Today I wanted to set an attribute based on incoming values of an fme_feature_type name. I noticed that if I wanted to avoid getting an 'Incomplete Transformers' warning from FME, I would have to expose the fme_feature_type attribute first, before I could use it in e.g. an Attribute Value expression of e.g. an AttributeManager or AttributeCreator. Note that it was possible to disregard the warning, and the expression would still work. I wanted to avoid the incomplete (red cogwheel) warning. But as I also wanted to keep things clean in the workspace, I wanted to perform both actions in an AttributeManager; first expose fme_feature_type in the first line, and then in the second line set a new attribute using the exposed fme_feature_type attribute. However, I noticed that the AttributeManager still shows up as incomplete (red cogwheel), and if I look at the summary annotation of the AttributeManager it only shows the line about creating the new attribute, but not the first
Last week a colleague asked me to help him to help him change his dependency of an Esri licence for his workspace, which in this case meant changing from an Esri GDB reader to an OpenAPI GDB reader. In his initial implementation, an Esri GDB FeatureReader was used, in combination with a Where Clause (constructed from incoming attributes), to only read in a portion of the GDB. So for example:However, when we switched from Esri GDB to OpenAPI GDB in the FeatureReader, I noticed that the Where Clause of the FeatureReader was greyed out, so unfortunately using a where clause directly at the FeatureReader was not possible. e.g.:So from there I assumed that a Where Clause would unfortunately not be possible for the OpenAPI GDB Reader, and when using the OpenAPI GDB reader, we should just read in the whole GDB, and then filter out only the relevant features later on. This week however I am attending the FME Server Authoring course of Safe (based on the corresponding trail in the FME Academy),