Using transformers to modify data.
Recently active
My fmw is saved in a directory called C:\\DATA\\VariousTasks. A parameter called InputFolder is pointing to a subfolder of this directory. Is it possible not to use FME MF DIR predefined parameter ? I use a text parameter to point to C:\\DATA\\VariousTasks\\DEV but the script is replacing it automatically by "$(FME_MF_DIR_USERTYPED)DEV" when executing which translates to C:\\DATA\\VariousTasks/DEV . I am using a python script later and python is every sensitive to / and \\ . How can I force FME to use C:\\DATA\\VariousTasks\\DEV instead of $(FME_MF_DIR_USERTYPED)DEV (translating to C:\\DATA\\VariousTasks/DEV) ?
Hello! I would like to create LOD2 buildings, but somehow, my files don't show their own citygml relations between parent_id and gml_id. Could you find me some errors in my workflow? I created gml_parent_id as a field already. eg.)<?xml version="1.0" encoding="UTF-8"?><core:CityModel xmlns:brid="http://www.opengis.net/citygml/bridge/2.0" xmlns:tran="http://www.opengis.net/citygml/transportation/2.0" xmlns:frn="http://www.opengis.net/citygml/cityfurniture/2.0" xmlns:wtr="http://www.opengis.net/citygml/waterbody/2.0" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:veg="http://www.opengis.net/citygml/vegetation/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:tun="http://www.opengis.net/citygml/tunnel/2.0" xmlns:tex="http://www.opengis.net/citygml/texturedsurface/2.0" xmlns:gml="http://www.opengis.net/gml" xmlns:gen="http://www.opengis.net/cit
I have a workspace that takes a spreadsheet that contains these fields: And I've got that reader feeding into a FeatureReader that grabs the Source Dataset feature classes from a specified .gdb. I would like to dynamically create a new attribute called "_description" and populate it with the values in the Feature Description column. The values that are referenced in the Feature Description column are not exposed, but I can view the values when I click on a feature in the visual preview. I've tried to use an AttributeCreator with the following parameters:However the output looks like the literal string input values, instead of dynamically grabbing the values from the feature:Is there another way I can achieve this?
Hello, i used the topologybuilder transformer to build the topology of a network ( roads centrlines). The problem is that z values are not considered while computing intersections. So it may not produce correct results for overpasses, inderpasses....Any recommandations please. Thank you.
I have got this Geometry XML data from HTTPCaller and need to know what is next to convert it to SHP file or other ESRI formats, I tried to find an XML template for geometry and run it with XML Processor and then XMLFragmente, but I didn't get the data.
I am writing to MSSQL using a dynamic featureWriter. But I can not understand why it fail to write to an existing schema. Warning: Cannot find a matching schema named 'dbo.MyTable' in the known set of schemas: ''. Known schema sources are: 'MSSQL_SPATIAL_1'. Please verify writer feature type configuration Error: Microsoft SQL Server Spatial Writer: A feature has arrived with 'fme_feature_type' of dbo.MyTable, but the feature type is not recognized. Halting translationMSSQL_SPATIAL writer: A fatal error has occurred. Check the logfile above for details. The fme_feature_type here is "MyTable". In the writer I use dbo as table Qualifier to match the existing table in my database "dbo.MyTable".What is it I am not getting? I have set the Schema Definition Name to the default option because it should use the table definition for the fme_feature_type "dbo.MyTable". I will try to prefix the Schema Definition Name with the dbo. prefi
I am trying to segment a line dataset at every intersection with a polygon dataset. Instead of breaking the line at the true intersection, the transformer appears to generalize the polygon first, then break the line at resulting intersections. The result is as seen in the image, in this case a dangle of about 7'. (candidate line left to right, original polygon in brown, and Intersector's drawn line from bottom left to top right. Selected blue line should end at polygon boundary.)I've tried LineOnAreaOverlayer, Intersector and Clipper with similar results. I've manipulated the coordinate systems of each dataset and changed their source type with no differences. What am I doing wrong? Thanks!
Pretty simple data export, I have a reader referencing some SDE data and then a writer to a file geodatabase. But reviewing the attributes in the file geodatabase I see that the domain attributes are the codes (1,2.3, etc) not the descriptions (copper, steel, PVC, etc).Is there a way to write the domain descriptions and not codes? The same is true for the subtypes, it is writing the code (1,2,3) and not the description (tap, bend, saddle, etc).
Hi,How can I expose the information that are visible in the Properties/Source tab of feature layer
I am joining 3 tables together. There will always be a record in the first table and there may or may not be a related record in the second. If there is a related record, there may or may not be a record in the third. I always want to have the record from the first table.The relationships are as follows:Left: Table 1 primary key - Right: Table 2 foreign keyLeft: Table 2 primary key - Right: Table 3 foregin keyWhen I try and set this up using FeatureJoiner transformers, it works ok on the first, but if there is no record in the second table, it cannot join to the third as there is no left key. Is there any way to pass records with a null left key in FeatureJoiner? If I did a similar workflow in a Microsoft Access query I would still have the record from the first table. I presume I could use a FeatureMerger and pass Merged and UnmergedRequestor into the input of the next transformer. This could work ok but I do much prefer the FeatureJoinerMany thanks
Hello! I could make a 3D buildings with simple roof form, I got SurfaceNormal Z, so I could separate flat form roof. But I have a building with complex roof. So I want to separate the building from certain Z height, above it, it is roof and under it, it is body of the building. Do you have any Idea to get it?
Hi, I am working on translating data from numbers to phrases. I know using the String Replacer and Attribute Value Mapper is the best for this, but I am having issues when trying to map more than one value to one field. An example would be the reason_of_given_set has multiple values, I need these values to populate with given phrases, each number represents a phrase. I provided the parameters of the transformer I am using below. I also tried creating 14 different string replacers to represent each number and each time the output shows blank at the attributes with multiple values. I am probably using the Attribute Value Mapper transformer incorrectly and its not designed to do this, or I have the parameters set incorrectly. Does anyone know how I can fix this?
I have a "Directory and File Pathnames" reader that gives me a list of text files in a Windows folder. I want to pass those folder and filenames to a FeatureReader transformer and be able to read the text lines from them as output for further processing, but I can't seem to get anything out of the FeatureReader other than the results of the Directory and File Pathnames that go into it. How do I get the contents of the text files out?
Hi,I am facing an issue where wall was not rendered properly by the FME inspector as it has direction issue. I tried "SurfaceNormalExtractor" but I didn't get any information out of the transformer. Please find the screenshot. Could you please help me in this regard. Same issue was posted 6 years back https://community.safe.com/s/question/0D54Q000080hfTrSAI/citygml-generation Wall not render properly in FME inspector
I am utilizing the EsriReprojector and am getting limited results for datum transformation options from GCS_WGS_1984 to EPSG:6574. Is there a certain setting that needs to be applied to gain the other transformation options?
Is it possible to write into 'autocad_layer_desc'? A key piece of info/metadata that seems to be unavailable on DWG writers.
The documentation for autocad_dimension features says that you can use an attribute "autocad_text_rotation" to rotate the text of a dimension.See autocad_dimensionHowever, I haven't succeeded in rotating the dimension text yet.I use "autocad_dimension_type" = autocad_aligned Any ideas?
Hi, I'm trying to write an XLS file based on a template (according to this help), with complete rewriting of the data (Overwrite Existing File = Yes) and I can't find a way to keep the order of the columns according to the template in the output XLS and not in the order in which FME processes the attributes. For example, I would like that if I invert 2 columns in the template, it also inverts it in the output xls, without setting this with an attribute manager. Did I miss a parameter in the xls output that would allow this or is there another method.Thanks a lot in advance for your answers and best regards. Antonin
We have a client that has a unique need and I'm wondering if it's even possible in FME. There goal is to have a csv or table that contains a dataset name, itemID, and layerID. They also have a GDB file containing the datasets. The would like to have a function to cycle through their csv table, and overwrite an individual layer in an AGOL hosted feature class. The caveat is this hosted feature class may contain many layers and as far as I know you can't update just one layer. We have been racking our brain and FME seems like it may be our last hope. Here's the short version of the workflowRead update table -> Read GDB -> Update Hosted Feature Service Layer Any advice would be appreciated,Chad
Hi all, I have building footprints, DEM and DOM data, I have finished 3D modelling for DEM with overlaying DOM, and 3D buildings, while the bottom part of some buildings, especially those located along the foot of the mountains, are under the terrain. I have tried many ways like 3Dforce with values minZ, or chopper buildings to points and acquire the points cooridinate Z value, and also clamp function, while all failed. Anyone can help? thanks a lot.
I want to convert a ESRI Multipatch Feature class to IFC and wonder what the best practice is to write the feature into IFC writer. I am using FME Form 2023. Appreciate your help! Thanks
Bonjour j'ai un "nuage de points" et je cherche a les trier par distance :le resultat attendu est le suivant:le point 2 est proche du point 1, le point 5 est proche du point 2, le point 3 est proche du point 5 etc...j'utilise un neighborfinder en candidates only mais le probleme est que dans ce cas j'ai comme resultatle point 2 est proche du point 1et le point 1 est proche du 2et je ne les trie pas il faudrait que lorsque le point 1 est traité il "disparaisse" je ne suis pas sur d’être très clairmerci a la communauté de votre aide
i have two geodatabases. geodatabase 1 containing all lookup tables. One lookup table is source_table in which there is a column named "source_table_name" is added. Based on the values in "source_table_name " I want to select the feature class from geodatabase 2. I am getting output but its routing through generic port of the FeatureReader so no schema is being added. Can anyone help me solve this issue.
I'm new, so any help is appreciated. I have a SQL table that has lat/longs. Want to copy table into SQL Server SDE feature dataset with geom column. Tried the feature writer, but don't see where I can select the feature dataset.