Using transformers to modify data.
Recently active
Hi everyone I run an image clipping workbench (let's call it clip.fmw) from another workbench (starter.fmw) using WorkespaceRunner. But I am unable to put the parameters in the right format in order to get the clipping done right. I did some testing: ----------------------------------- Starting by using the starterfmw skript with the WorkespaceRunner that runs clip.fmw: in the starter.fmw skript: Klicking on the (...)-button in the workspaceRunner to select my images I get following result (when selecting multiple images): In the picture selection window: "picture1.jpg" "picture2.jpg" In the WorkspaceRunner Parameter Window: E:\\picture1.jpg,E:\\picture2.jpg In Log window when running the WorkspaceRunner out of the starter.fmw: --SourceDataset_JPEG {""E:\\picture1.jpg" "E:\\picture2.jpg""} --> The Skript Fails ------------------------------------ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx In clip.fmw skript without using a Work
Not really a question but more a hint I'd like to share with you. I've recently managed to get quite a performance boost on a complex workspace by replacing some ImageRasterizer transformers with MapnikRasterizers. Along with some other tweaks in the process I've gotten the processing time on FME Cloud cut back to 7 minutes where it originally was 14 minutes.So in short: if you have a workspace that uses an ImageRasterizer and takes a lot of time, try it with a MapnikRasterizer
Hi All, I'm trying to use the XMLTemplater to create an XML doc from database table. I'm trying to generate the template using an XSD that I know is valid. Workbench keeps choking on specific elements I suspect because there is an 'xsd:import' pointing to a remote document. Does anyone have any experiene with this? Thanks!
Hi, I have 2 grayscale rasters which I want to combine using the "RasterExpressionEvaluator", BUT they differ slighty in the number of rows and columns which is why my workflow fails. I want to run this script several times so I want to dynamically work out the rows and columns of both rasters which we can get these values with the "RasterPropertiesExtractor". I then work out the MIN of both rows and cols using the "ExpressionEvaluator" and resample both rasters to this common dimension using the "RasterResampler". Because I need to number of rows and columns of BOTH rasters, the workflow from both raster inputs are COMBINED, but now I want to use the "RasterExpressionEvaluator" in "Two Rasters" mode, how can I separate out the 2 rasters again to that I can assign them into the appropriate "A" and "B" input ports?? Hope my quetsion is understandable!(!)
I can't create the exact footprint through RasterExtentsCoercer, even i have set the Extents Type as 'Data Extents'. The transformer only allow me to generate a rectangle that covers the entire extents.My aerial imagery is in RGBA, possible the alpha band caused this issue. Is there a way to create the exact footprint?PS: i have attached a sample image.Thanks and Regards,Jian
I have used SchemaMapper successfully with CAD to GIS conversions but apparently CAD to CAD is different. The output DWG has all the layers in the DestinationLayer column of the crosswalk.xls as well as the SourceLayer layers. No redefinition takes place.
SliverRemover remover has option Repair Method : (Priority Longest boundary) In my case shortest boundary option needed, I wander if someone knows how to realize this?
Hi,Can i use a testfilter on a concatenated field?For example record1 = concatenated field contains "Aqf; Aqf,"record 2 = concatenated field contains "Aqf; Mrl, Mrl"record 3 = concatenated field contains " Als; Als"I would want a filter that gives me all records where the value in the concatenated field is the same (Aqf: Aqf) and "Als: Als) or i want to have the records where one of the values of the concatenated field is AqfThe concatenated field is already the result of a list.
Hi,i have an problem with the Oracle Non-Spatial (and Spatial) Reader / Writer.FME seems to have an issue when the password contains a section sign (§).Other special characters don't seem to cause any problems - at least dollar signs ($) and slashes (/) work.As soon as a § is included, the login fails.Version: FME Form 2024.2.1.0 (Build 24801)I tried with Named-Connection and with Embedded Connection Parameters.Maybe it is a similar problem as this post:Error Message:Creating reader for format: Oracle Non-SpatialCreating reader for format: Oracle Non-SpatialEnvironment variable ORACLE_HOME is not set.Connecting to ORACLE database `ABC' with user name of `CARLO_TEST' and password of `***'Error connecting to Oracle database: message was `ORA-01017: Benutzername/Kennwort ungültig; Anmeldung abgelehnt'. (serverType=`ORACLE8i', serverName=`ABC', userName=`CARLO_TEST', password=`***', dbname=`')Failed to obtain any schemas from reader 'ORACLE_NONSPATIAL' from 1 datasets. This may be due to
Hi All,Has anyone tried to follow the steps for ‘Using the OpenAICompletionsConnector’ tutorial? Link here: https://support.safe.com/hc/en-us/articles/25407431621517-Using-the-OpenAICompletionsConnectorI have used the FMWT attached to the tutorial but I have the following error when trying to run it: A few considerations below:I’m using FME(R) 2024.2.4.0 (20250318 - Build 24831 - WIN64) I have created my own API Key Thanks
Using Ingres X Spatial DB and getting "FME Configuration: No destination coordinate system set Invalid WKB encountered. Ingres: invalid WKB encountered " The table has been created with srid 26911 and data inserted with the same srid. In FME the Coord system shows EPSG:26911. Any ideas on what is going wrong ? Using the Ingres table in reader and writer features.
Hi there,I want to start a new counter every time an attribute changes. So I have an attribute equal to either same or next.Same – Count Value = 1Same – Count Value = 1Same – Count Value = 1Same – Count Value = 1Same – Count Value = 1Next – Count Value = 2Same– Count Value = 2Same– Count Value = 2Same– Count Value = 2Next – Count Value = 3Same– Count Value = 3This is so that I can put all the Count 1s in a folder, all the Count 2s in the next folder, etc.It seems simple, but I can't quite put my finger on how to do it!Thanks, Amt
While reading arc geometry from smallworld, FME converting geometry as a linear, Could any one help us to resolve the issue ? The conversion of the geometry is done by FME internally?
I have excel-files with coordinates and have always used 2D-pointadder to create points for shape-files. When I upgraded to FME 2014 I no longer have this transformer. What can I use instead? I guess I am missing something really obvious here....
i have lines and points ,both of them as input .i want to find which lines intersectes with points and which notand show me the id of each station that line intersected so i tried by point on line layer and neighbor finderand it find correct data of overlapped point but i have still problem,when one line intersected with two points ,the output that i got only id of this line and and overlap 2 and name one of the two station .it did not show me the 2 stations that line intersectedso i noticedthat it checked only by xmin and ymin of the line which point intersected . this is the station that it has chosen and another point at end of the line ,it did not show me bcs it is xmax and ymaxbut the line intersected with 2 point as the output said 2 overlap,so how could i solve this problem .and i get id of each 2 pointand i tried also neighbor finder but both of them works with xmin ymin close candidatehow could i let both of them work with xmin ymin and also x max y maxbcs it means also if i
We are migrating data from Smallworld Electric Office 5.x data into ESRI Enterprise Geodatabase(SDE), while doing the process we came across one difficulty to export the data for the table named "Cable Existing Phase" which stores the relationship between main tables and unit tables in Smallworld native environment.We used the below parameters for the Smallworld readerReader: Smallworld 4/5Service: FMEExpose Internal Tables: On Please refer to the screenshot of the tables which we are getting after using the "Expose Internal Tables" as ON. Here we are missing a table called "eo_cable_exi_phase". Without the "Cable Existing Phase" table in the target environment, we can't build the relationships between feature classes. Is there any alternative approach or any other plugin (SBS) to resolve the issue
hi!I would like to use HullAccumulator to create polygones around group of lines spatially apart, but I don't have any attribute to permit to use "group by" option.Do you have any idea to do that? I don't find a tranformer that permit to give an ID to a group of objects that intersect each other.Thanks!
As per title, Sorter does not work properly in FME2018 when fed from a FeatureJoiner that supplies Features downstream in Bulk Mode. It's similar to the bug that @takashi found when FeatureJoiner supplies Features to AttributeManager.Attached workspace to show how Sorter does not work when fed directly from FeatureJoiner, but does work if put in an AttributeKeeper to split the features out of Bulk Mode into "Normal" Mode.Workaround is to add a Transformer like AttributeKeeper (and sure there are other Transformers that may do it too).Question is, has this been resolved in latest FME or is this still an issue?
I try to make a custom transformer to do linear referencing of point features to a maximum of 10 polylines. Inputs are point features and polyline features with or without measurements. The custom transformer would output a list with the combination _kp{0}.KP, _kp{0}.DCC, _kp{0}.selectedRoute. The KP is the distance along the polyline, DCC is the perpendicular distance to the polyline (negative values on LEFT side of the polyline, positive on the RIGHT side), and selectedRoute name is the name of each polyline. At the end of the custom transformer FME shows the list being created for each feature, but it can not be used in the attributemanager following the custom transformer.
Hello, I have following situation: - Master workspace A (including 1 FMEServerJobSubmitter for Workspace B) - Workspace B containing a linked custom transformer Workspace B generates the actual output (GML). The output location can not be defined by me because of a known issue (decision of Safe). Workspace A moves the data from the default location (based on attribute output_datasets{}.path) to the desired location. When doing this I would also like to zip the GML file. This is possible when the Destination File Copy Directory is like ...\\result.zip Both the actual output name should be set by an attribute like ...\\attributA.zip In order to do that I create attributes filecopy_source_dataset, filecopy_dest_Dataset and filecopy_dest_filename But by doing this, the created zip file is corrupt.It seems that just the extention "zip" is added but the data is not zipped. Is there a way to move and zip a file and define the zip name based on an attribute? Thanks, Rob
Hi In my windows 2016 data center sever, installed FME Desktop 2019 (Build 19246-win 64) edition. It connected to another flexnet floating license server [FlexNet Licensing (v11.16.2.1 build 245043 x64_n6)] which has valid licenses . I can do nslookup of license server with aliasm works good. On opening FME work bench, it crashes immediately (screen disappears without any message) on loading transfer stage. This is brand new installation. Any clues. Checked all .dat files,but could not find cause for this behaviour.
Hi,I work with WFS reader with polygons and multipart polygons. So, FME ingore the multipart polygones. There is no any error message, but it imports only simply polygons. I don't understand why. Is there any parameter of the WFS reader to change? Thanks
I want to plot 2 data series in one chart. But the chart generator creates 2 charts or make it as one serie. I have used an list with an feature representing the dataserie. And i tried it without the list.
Dear FME community, we have a webservice with a SOAP interface. The service gives the geometries for linestrings. We have tested it with the following request in the firefox plugin RESTClient. Some of the attributes in the xml request are dynamic, for example: pVNK, pNNK, pVST and pBST. They are read from an excel spread and change for each request. We want to create the same response in FME to get the geometries like the result in firefox. Already tried the SOAPSender, but it's not described what to enter in parameters. Anyone here with experience in the SOAP field who can help? Kind regards Thomas <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://webservice.saxhisto.list.smwa.de/"> <soapenv:Header/> <soapenv:Body> <web:gibAktuellenAbschnitt> <pVNK>4540047O</pVNK> <pNNK>4440019O</pNNK> <pVST>72</pV
Hi,How do I transform donut polygons with a variable amount of holes from ESRI database to GML?So far I have only succeeded in transforming one hole per polygon. Below is the code inside my XMLTemplater transformer. <hy-p:geometry> <gml:Polygon gml:id="id{fme:get-attribute("OBJECTID")}"> <gml:exterior> <gml:LinearRing> <gml:coordinates>{fme:get-attribute("_coord_outer")}</gml:coordinates> </gml:LinearRing> </gml:exterior> <gml:interior> <gml:LinearRing> <gml:coordinates>{fme:get-attribute("_coord_hole")}</gml:coordinates> </gml:LinearRing> </gml:interior> </gml:Polygon> </hy-p:geometry>Kind regardsKristina Danielsson