Creating and organizing workspaces. How to use Workbench.
Recently active
I'm trying to create GCP points for a raster. I have some points for which I know the original and transformed coordinates. So now I need to know for each point the column and row from the underlying raster. I tried the PointOnRasterValueExtractor, but it gives only information from the bands. I tried the RasterCellCoercer which gives me row and column. With a spatialfilter I get results, but is already slow for my test file and when I try to do that for my actual raster I run out of disk space. Does anybody know another way to get the row and column from a raster for a certain point? I use 2020.2
Hi list.I'm using FeatureWriter to write some data into a temporary ZIP file, that is being attached to an email.When I have the situation, where a single feature needs to be output in ESRI Shape format (inside the ZIP), it seems that the file isn't being written at all !?!?I've tried different file locations, different file names etc., nothing works.But if I add a Cloner with a value of 2, the file gets written as expected.What gives ?
Hi.I'm trying to utilize the "schema features" for dynamic schema definition output, but have a hard times grasping exactly how FME uses and don't use these schema features.FeatureReader has a special "<Schema>" output, but readers don't seem to have a similar mechanism, even though one can designate them in the dynamic output as "Schema Source". Does this mean that there is an underlying hidden connection between the readers and the writers ?Specifying "Schema From Schema Feature" does _not_ seem to enable the writer to read schema features, but requires the schema feature content to be superimposed upon all data features. Is this correct?I have several needs to be able to manipulate the schema before output, so understanding the functionality is important to me.One need is to "clean up" a schema defintion before output, especially if the input if WFS (FME adds all sorts of nonsense into the schema, e.g. "*.xsi_n
Hi,I know that there are a lot of questions in the forum about that but I’m not able to find how I can use it correctly. So, for extract my attributes from a list I’m using ListIndexer after the aggregator (10 listIndexer if I have 10 lines aggregated) to add a prefix to my attribute (index 0 with prefix for example x0_ and so on). That works but I think that is not a good way to do that (especially if the data change and I need to add more ListIndexer).Is-there a way to do that with loop or another method (a dynamic way to extract the attributes)P.s: I have many attributes, so expose elements will be more complicated.Thanks
I currently have about 175 ETL workbenches for extracting Smallworld data for ESRI/Oracle which are being run from scheduled job on FME Server, and rarely are also manually run individually via FME Desktop if the scheduled job fails. We are moving to a new environment (new network, new hostnames etc.), so each workbench now has to be visited individually to change the Smallworld connection config. Are there any plans to allow a Smallworld database connection (i.e. under Tools/FME Options/Database Connections) to be created? If not, would anyone have any suitable method (considering I will be visiting all of these anyway) to provide a centralised parameter(s) type solution to allow one location to have the connection config information? I am even starting to look at 'config.ini' type functionality in each workbench, but obviously that is a kludge. Any ideas/possible solutions would be very welcome - thanks.
Working with FME 2021 here, trying to set up a Choice with Alias parameter and it seems the option to import format and coordinate system names has disappeared in this version. Does anybody know how we can get that back (other than setting up the workspace in 2020)
Hi list.I'm attempting to use a FeatureWriter to write som ESRI Shape files, wanting to utilize the schema features from the (WFS) input (read with FeatureReader) to enable dynamic schema based output.I have selected "Schema from schema features" for source and "fme_feature_type_name" for definition name. And both schema and data features arrive at the same port in FeatureWriter.However, the workspace fails immidiately when FeatureWriter receives the first schema feature, and long before any data features arrive.Why does FeatureWriter fail when receiving a single schema feature? I would have expected it to just keep it (them) until any data features arrive ?Is dynamic schema definition driven output at all possible with FeatureWriter ?Any help is appreciated.
I can create a list of schemas and tables, using a SQLCreatorselect schema_name(t.schema_id) as schema_name, t.name as table_namefrom sys.tables tand then i can use that in an SQLExecutorselect top 10 *from [@Value(schema_name)].[@Value(table_name)]and this is where i get stuck, as each table will have different attributes to expose. I have also tried using a dynamic reader & writer combination, but couldn't workout how to stop it reading all the records in each table (which would take way too long to run). i'd appreciate any help you can offer.
I have an FME Server App configured to run a workspace. That workspace may run an FME Job Submitter that runs another workspace. The second workspace has a data download service on it. How can I get the App to access the data that is made available from the second workspace triggered by the Data Download service?
Hi,Is it possible to set AutoCAD Lineweight and Linetype at Layer level instead of Object/Entity level? I am using DWGStyler transformer and a DWG Template. Each object is represented with the correct lineweight and linetype; however, these are set at object level instead of layer level as you can see in the below picture. Thanks,Ana
Points to Polygons: I've done file translations, have never tried points to polygons, the points are a mess, suggestions welcome! See image, can send the shapefiles if needed. My guess is AreaBuilder.
Hello, We're experiencing issues with google sheets v4 writer adding large amounts of blank rows to the bottom of google sheets. It eventually causes the writers to fail due to size. Thank you!Robyn
HiI'm trying to set-up a Scheduled task to run a workspace whilst i'm on leaveThe Scheduled Task has been set up to look at a .bat file, copy of which is attached to this post when i run the .bat file using the cmd prompt, i get the following error message; File \\\\gis\\GIS\\ITDATA\\FME\\Batch runs\\Standard Runs\\StatMap_QGIS_Addr_Cross_Refs.fmw--SourceDataset_CSV2 could not be openedProgram Terminating Could it be failing because there are 3 seperate csv files running in the Workspace?I've copied SourceDataset_CSV2 to a local drive, as well as changing the file paths back to the mapped drive locations, but am still getting the error messageHas anyone got any advice or workarounf they can provide?thanks Simon Hume
Hi list.I was under the impression, that every single transformer in a workspace had its own set of parameters.However, I now have a custom transformer in my workspace, which contains two FeatureReaders, both targeting WFS. They seems to have a shared parameter set.Whenever I change the parameters in one of the FeatureReaders, the parameters in the other FeatureReader mirrors those parameters exactly.This works both way, whenever I change one, the other changes too, which makes me suspect a shared parameter set.What gives ?Is this because they are embedded within a custom transformer ?Please advise.Cheers.
Novice question (my DOS days are very, very far behind me). I am trying to copy files (photo's) from one location to the other using system caller. The problem I encounter is that only the first photo get's copied. I use this line in the systemcaller: F: && cd F:\\folder\\photos\\ && md 10122019location && copy F:\\projects\\2019\\location\\drone\\fotos\\\\DJI_0503.JPG F:\\folder\\photos\\10122019location\\DJI_0503.JPG Of course the photo name changes for every photo I want to copy using @value(photofilename), but it only copies the first photo. How do I copy all? I do not want to copy all photo's in the source folder, else I could use *.JPG.
I am using a pythoncaller to access Zoom API to download unique meeting IDs. The code is:import ssl import http.client import zipfile import fme import fmeobjects # Template Function interface: # When using this function, make sure its name is set as the value of # the 'Class or Function to Process Features' transformer parameter def processFeature(feature): pass # Template Class Interface: # When using this class, make sure its name is set as the value of # the 'Class or Function to Process Features' transformer parameter class FeatureProcessor(object): def __init__(self): pass def input(self,feature): self.pyoutput(feature) def close(self): pass #Setting User Parameters MeetingID = "?????????" conn.request("GET", "/v2/past_meetings/"+ MeetingID +"/instances", headers=headers)What I would like to do is set MeetingID to feature.getAttribute('SCO_Zoom_Meeting_ID__c') where that is a value returned from a query from my database. I would appreciate any help. If
Is there a way to set up a workbench that would loop through an Enterprise SDE database & provide me with a list of layers without adding multiple readers? And also allow me to extract data from at least one of the attribute fields in each layer? How about using python? Thank you in advance.
If a User Parameter ends in a backslash - such as a Windows path, then accessing that value in a PythonCaller results in extra text. Example: if a User Parameter called foldername has the value: frog\\ then using fme.macroValues['foldername'] or FME_MacroValues['foldername'] in a PythonCaller returns:frog GUI OPTIONAL TEXT foldername Folder name:
The task is to migrate data from smallworld and oracle to sql-server.The data contains multiple geometry columns. So I've followed Writing to Database Tables that contain Multiple Geometry ColumnsI managed to insert the records but the geometry trait information is missing.Here is an example of Oracle:And here an example of Smallworld:The FME translation results in sql server:So the traits information is lost.Can I keep the trait information stored in Smallworld as "Text Rotation" or in Oracle called "oracle_orientation" into the sql db?Is there an sql-server equivalent?
I have a workflow that reads data from one database and puts it in another (postgres). My question, as an FME newbie, is how can I run another step after the Postgres Writer step - there seems to be no output port on the Writer module. The intent is to wait until the writing is complete, then run a GeoWebCache reseed step (though it could be any other step, really).
Hi, I have created Excel xlsx files using FME (using a Template and adding values in, for various formulae to use the inputted values to calculate others), and it works really well! My issue is then when I read that xlsx file back through FME, the formula (IF statements mainly) don't pick up the inserted values! I have them formatted as Numbers in both Excel and FME, and the statement is similar to '=IF(AB8=0,"No Maps",AB8)', which works well when opening in Excel, but every value is 'No Maps' for the above cells when opening in FME! Very frustrating! I'm running FME Desktop 2020.2.4, 64 bit. Thanks!
Trying to read from SDE but I get the following error:Unable to read from the table/feature class 'schemaName.tableName'. If 'schemaName.tableName' contains a class extension, make sure it is registered on this computer.Yes, there is a featureclass extension and it is correctly installed on the same machine. Arcmap is showing the parcels ok. The sde backend is postgres and SDE 10.6.1
Hello, I have a field in a database where KML's are uploaded and stored in Base64. Is there a way to export those and convert them to KML within FME? My end goal was to convert to KML, then covert them to shapefile for a Portal Layer. For example attached is one of the files encoded that I confirmed is a KML by manually decoding it outside of FME. I tried the BinaryDecoder transformer, but I wasn't sure what to do with the result.
Last week we upgraded FME Server to 2020.1. Since then our Data Streaming and Job Submitter Services as applied via webhooks don't work anymore. The log files indicate some AccessDenied-problems.localhost_access_log: Post call receiveddatastreaming and jobsubmitterservice logs: request received. Fatal error: Service failed: java.nio.file.AccessDeniedException: E:\\FMEServerData\\resources\\system\\temp\\requestdata\\1710266074152417324FME Server runs on a service account with admin rights to all of the server.How to solve this?
I've got a bunch of AGOL Feature Layer (hosted) created with different schemas and I'm combining them into One AGOL Feature Layer (hosted). I can see the AGOL READ is seeing the "Photo Attachments", I can fix schema/attribute variations but "Photo Attachments" are not moving across the New Feature Layer.