Using transformers to modify data.
Recently active
Our team are trying to create a workbench which will be used to answer user data requests. The workbench should provide a packaged export from our Oracle database, including a schema definition, metadata and various file type(s). I'm trying to make this as simple as possible by using parameters for the user to input, including table name and spit out folder at the end however I'm stuck when trying to create a parameter for the table name we want to download using the Esri Geodatabase (ArcSDE Geodb) Reader. I've actually managed to work around this for the metadata by setting a default table, using the merge feature type option and using a wildcard, then setting a parameter from that. However when I try this with features although I get the geometry I get an empty attribute table. Anyone have any experience of this or potential better solutions?
Forgive me for what is likely a very simple answer to this question, but I'm still rather new to FME. I'm wanting to use a defined User Parameter (Type - Text) which will then inform my AttributeFilter transformer (where the user parameter directly corresponds to a specific field of the dataset being read by the AttributeFilter transformer). However, when I set the transformer parameters as per the screenshot below, I don't then get the expected output, i.e. the dataset filtered for that specific value. Is there something I'm missing? Thankyou for taking the time to read this post.
Hi everyone, I am trying to get the value of the first table (that only has one row with info about xmin, xmax, ymin etc.) into the 2nd table. The second table has more rows and my wish is to have all the rows in table to get the same value for e.g. xmin from the first table. However in the 2nd table only the first row gets the value of the first table, while I want to have all the rows the same value for that column. Does anyone how that might be achieved? In case my question is not clear, just let me know.
Hi! I am trying to read into FME a series of images (jpeg/tif/png) and then match them to a different datasource and rename them using pieces of information from both sources. All works well. But. I have some files which contain special/accented characters which aren't being read in. For example the filename below Anadolu Koyu PLAN_IZMIT KÖRFEZI TO ISTANBUL.jpg throws an error 'Anadolu Koyu PLAN_IZMIT KÖRFEZI TO ISTANBUL.jpg' cannot be located. Please ensure the file exists and is accessible' The common denominator in all of the errors is the special/accented characters. My question is whether I am missing something and I can get FME to read the filenames and bring them into the workspace, or whether I need to handle these (hundreds of) files manually? All helps much appreciated!
I am converting a dgn file with lightweight polylines to an autocad file. The input dgn file has a size of 70 MB and when I am converting to a dwg the size becomes roughly 97 MB. The dng consists thus of lightweight polylines and during conversion to autocad there is automatically a z component in the autocad file. Based on the following page FME Creates Large AutoCAD DXF Files (safe.com) I included an autocad_original_entity_type attribute in the attributemanager with the following value autocad_lwpolyline . The size becomes then 95 MB. I would like to make the dwg much smaller, how can I make the file much smaller than 95 mb by changing somethign in the autocad writer or doing some kind of transformation.
Log details : FME Configuration: Using connection values from 'J10_170' for R_3Creating reader for format: PostgreSQLTrying to find a DYNAMIC plugin for reader named `POSTGRES'FME API version of module 'POSTGRES' matches current internal version (3.8 20180604)FME Configuration: Using connection values from 'J10_170' for R_3Creating reader for format: PostgreSQLTrying to find a DYNAMIC plugin for reader named `POSTGRES'FME API version of module 'POSTGRES' matches current internal version (3.8 20180604)Opening POSTGRES reader for dataset 'postgres'PostGIS client encoding: 'UTF8'PostgreSQL 9.5.25 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44), 64-bitSuccessfully closed POSTGRES database readerSuccessfully closed POSTGRES database readerMerged 0 schema features read from 1 datasets into 0 resulting feature typesUniversalReader -- readSchema resulted in 0 schema features being returnedReader Parameter(
I have a linear feature and need to create another linear feature perpendicular to the original feature and at a given distance along the original feature from the beginning point. Any help as to how to accomplish this would be much appreciated.
I'd like to have the value of an attribute as a user parameter.I need to make sure tables I work with comply with a schema. The schema field names are in a CSV, imported without column headers. I aggregate the attribute which leaves me with this output:Is it possible to get the string in col0, row 1, as the default value in a user parameter to ensure my output table conforms to the schema? Thanks!
I have a dgn file that consist of many models ( it corresponds to a building and every floor has its own model) and I would like to import the models as seperate features in FME if that would be possible. When I try to import individual feature types in the dgn reader, instead of the models I get all the level names instead that are present in the models. So the feature types do not correspond to the model names, but to the level names. So for example I would like to get a seperate feature type of a model for floor 1 and of a model for floor 2. Does anyone know how that might be achieved in FMe desktop?
After .obj files had converted to cesium 3d tiles, buildings created transparently. When I looked behind building, I saw another building. I dont want it. I want that these buildings are opaque. Is there any way for this?Thanks!
How to compare two database schema (File GDB & SDE) including subtype & domains values.
The input looks like this:The result must look like this:
Hello,Can anyone explain the difference shown below? Inside a standard workflow, the SchemaScanner captures the order of the attribute names correctly as they appear on the input file. However, when used inside of a custom transformer, the incoming attribute names are sorted alphanumerically. Does anyone have any ideas why this is happening?
Hi!I would like to export my datas (only attributes) on a jpeg file.I would like to create a sort of table like on excel, with blacks border and dimentionnate the columns in order to not truncate the datas. And then export an jpeg file.I used ExcelStyler and an JPEG writer, but it failed because it's not an raster format. So I tried with ImageRasterizer but I don't succeed. I'm not use to manipulate raster format. So could you give me advices to suceed?Thanks !
I had two features that both had FME Geometry of single point that I merged together with FeatureJoiner. The result of join I have single feature with FME Aggregate, with both points inside that. My question is that I want to get the distance (preferred in feet) between the two points that are now inside a FME Aggregate. I figure the easiest way to do this is with Python caller. I tried looking at the forum question below calling Python. However, I couldn't determine how to use it to get both my FME Points out of FME Aggregate. https://community.safe.com/s/question/0D54Q00008z6yR3SAI/distance-calculation-per-pipe-segment If there are other suggestions, please let me know. I'm attaching a sample FFS file with the data points. Can open and see the features each have FME aggregate with two FME points inside that.
I am currently creating a network by running nodes to a central point, using a 2d Grid as my network. I am noticing that points that should follow a similar route, sometimes take a slightly different path see below. I'm wondering if there is anything i'm missing to try and avoid this?
For example, I have two features with different code in their field "code".These two areas overlap when I use the transformer "AreaOnAreaOverlayer"and I have a field named "overlap" where it writes "2". But now, I would like a field to know if these overlap include the same code of no. In this example, the features (area) haven't the same code. Thank you!
Hey everyone, I am trying to write a file to a temporary filepath in my PythonCaller script and I thought that using the TempPathnameCreator transformer might save me some time coding something which is a basic function in FME. Unfortunately if I try to write the file to the location I get a python error that says that the location does not exist. I have used the OS python package to test if the temporary path is valid and it is not. Am I using the TempPathnameCreator incorrectly and is it logical that my PythonCaller is unable to write to the temporary location?
Hi I need to post requests to SOAP to retrieve some information about Planning cases back in XML and I have read the article: https://community.safe.com/s/article/working-with-soap-services Our process is more complicated as I need to log in and out of SOAP at the start/end of the process. I created steps in a TestCase in SOAPUI and it worked and I have set up a workbench with the following transformers: CreatorXML Templater (for login)HPPTCaller (for login - cookies enabled)XML Templater (to Get data)HTTPCaller (to Get data)XML Templater (to logoff)HTTPCaller (to logoff) While this worked for retrieving one planning case I actually need to retrieve information on multiple cases but cannot get this to work. I tried two things: 1) I created a spreadsheet with multiple planning case references in, read this into FME (replacing the Creator) and changed the value in XMLTemplater to use the attribute value (using fme:get-attribute), instead of a hardcoded value.This appeared to be attempti
Hi Community,Based on the Figure 1 table, two fields exist as mentioned and I want to find the results as mentioned in Figure 2I tried so many transformers and had no luck.Figure 1Figure 2Please help me with how to get the results.
I created trees in citygml based on point data. The tutorial is described here:https://hub.safe.com/publishers/con-terra/templates/citygml-create-solitaryvegetationobject-with-implicit-representationWorkflow:Result: No I will set a color for this trees. Unfortunately it is not working with appearance setter. No appearance is set inside citygml file. In the description it is written: "tree models: can be any kind of 3D object (Sketchup, OBJ, DWG, ...) but currently does not work with geometry containing color appearances" So does anyone know if this is possible maybe? We need to color this trees Hope someone has ideas how to solve this kind of problem?
This process used to work fine but I realised lately since updating the database connection due to SQL server moving I see it does not update the table like it used to. It stops working at the GeometryExtractor but no errors. I do getEND - ProcessID: 888, peak process memory usage: 226836 kB, current process memory usage: 93912 kB Can that cause the issue and what would be a way around this issue? Regards, Josh
We want to convert a GDB to SHP file with field type string and length>254. How can we keep the data with maximum size 254, but not ignore the dataThanks
BADNEWS: Cannot convert null string into an integer(C:\\code\\fme\\foundation\\framework\\util\\stf\\stfutil.cpp:346) class StatusInfo *__cdecl STF_stringToUInt(const class ObsoleteString &,unsigned int &)... Last 2 lines repeated 6 times ...this error often display,when read excel 、shp 、 dwg file
Hi all, I will create trees[citygml] based on point geometry. On the internet I found this tutorial: https://hub.safe.com/publishers/con-terra/templates/citygml-create-solitaryvegetationobject-with-implicit-representation Unfortunately *SKP format is not supported for my fme version. So I have tried it with obj models. But this doesnt work for me! I got this rejection code: INVALID_SHARED_ITEM(SharedItemIDSetter). How can I solve this problem? Workflow: