Creating and organizing workspaces. How to use Workbench.
Recently active
After talking to @RylanAtSafe, I want to create an opportunity for FME trainers to publish their training schedule on the Knowledge Center.All Certified FME trainers are invited to publish their In-person FME training here.This is not replacing the Safe Software training calendar, but merely an additional opportunity to share the FME knowledge.
Hi everyone I have an issue with Scripted Parameters inside of Custom Transformers (CT). More specifically, I have a published parameter in a workspace that receives the path to an SDE connection file. This parameter is linked to a CT attribute. Inside of the CT, a published parameter receives this path. Then, several private scripted (Python) parameters read credentials from a configuration table based on this sde path. The credentials are then used in a PythonCaller in the CT.However, the content of the original Sde-parameter from the workspace cannot be used in the scripted parameters of the CT. Instead of its content, only the name of the parameter ("$(Sde)") is there. But when I hard code the path into the corresponding parameter of the CT in the workspace (instead of linking it to the published parameter), it works.Do you have any idea how to fix this or to get a functioning workaround? To illustrate the problem, I attached a simplified example of my issue. I tested th
Hi,A customer requests a nation wide set of themes to be "cookie-cut" into separate municipalities. Each municipality should have a complete set of themes in its own sub folder.I'm using a dynamic output to TAB, with Table name set to:(A)Value(MUNICODE)\\(A)Value(fme_feature_type)But FME just substitutes the "\\" (and "/") with an underscore, so all tables end up in the same folder.Is there a way to tell FME to create the sub folders and put data into these ?Cheers
Hi! I have a workspace with two HTTPCaller transformers. Both of their output ports are piped to some logic to generate features and write to database. There is a FeatureHolder between the HttpCallers and the writers, such that nothing will be written before all the HTTP calls are finished (either complete or error). Both of the HTTPCaller <reject> ports are piped to a Terminator transformer. I want to make sure the workspace will terminate without any feature written to database, if any of the HTTP calls fails. When I test ran the workspace with some failure in HTTP calls, it did what I want. However, because I couldn't find instruction to help me make sure Terminator will always be executed first, because conceptually when a rejected feature is travelling towards the Terminator, another feature may come out of FeatureHolder and race towards the writer.Any way I can make sure that?Thank you!
Hi all, I have a workbench which returns multi page .Tiff files as xml then outputs back to Tiff. I use the XML Flattener, TextDecoder and RasterReplacer transformers to decode and rasterize the images. I then write to Tif but the writer only returns the first page of the multi page Tif. Any ideas on how to return all of the pages? Below is a screenshot of the process. I'm thinking it could be something to do with the RasterReplacer not populating the tiff_subdataset_name' which delineates a multi page Tiff file.Thanks,Stuart
Hi, I would like to know if the following is possible and how: I have several identical Access backend databases (one for each client, same scheme - different data, several relationships, links and foreign keys). I would like to merge all of them to one MS SQL database and add an identifier for each client data. One time only! How to handle original relationships? Example: InvoiceID and InvoiceLine for each original database. I’m talking about Access DB, but I could convert them all to MSSQL and then merge… All front ends will connect to this database, but each client will be able to see only each own data. Any help? Thanks! Jairo
Hi,Web and Database connections are great but you can create the same name for Web and Database in FME Desktop under options, but when you load it to Server it comes back with duplicate name already existSurely options in Desktop should adhere to the same rulesJust an observationRudy
Is there a notable performance difference between SQL Creator performance vs. Oracle table Reader performance. We have a script that take 3.5 hours to run and are looking for ways to help it along.
This answer probably exists, but still can't find it...I'd like to install custom reader on FME Server (2017.1.1.). Double clicking installs only on FME Desktop.Thank you,
HI! I installed Anaconda on a windows server, for all users, then I followed the set-up in my workspace TOOLS > "FME Options" > Translation > "Python Interpreter" checked "Use Custom Python Interpreter" and provided the path (C:\ProgramData\Anaconda3\python36.dll)The log then shows : Loaded module 'PythonFactory' from file 'C:\Program Files\FME2016\plugins/PythonFactory.dll' FME API version of module 'PythonFactory' matches current internal version (3.8 20160224) The user-specified Python interpreter `C:\ProgramData\Anaconda3\python36.dll' is version 3.6 (PythonFactory): A Python installation could not be detected. PythonFactory could not initialize A Python installation could not be detected. PythonFactory could not initialize A fatal error has occurred. Check the logfile above for details
Hi,Initially, auto-layout is working well, but suddenly showing the error as shown below...Does anyone came across and identified solution for it...
Reader is a single merged feature type reading 6 tables from an oracle database. Then using a feature type filter to export out the different tables, but the export contains the attributes for all the tables. How do I get the writer to just read the attributes for a particular feature type? Also when I update the feature type filter it removes all the tables and just adds one of the tables
Hi! I have a HTTPCaller transformer in workspace that downloads 80 MB of data in the same feature attribute before failing. Once it fails, FME desktop attempted to write a feature in the log dispaly and display. The data it tried to display is so big such that the FME desktop crashed. Is there a way to still let it write, but truncate the size of each attribute?Thank you!
Hi,I was wondering could any of the python experts help me. I'm trying to write a python shut down script that calls FME Server and passes some parameter values into a workspace to run on Server.I can successfully do the same on Desktop- run a workspace collect information in the shutdown script about featuresRead, featureswritten, timings and so on and kick off a new workspace using these values which records and reports on this.So I was testing could I complete the same task on Server -- I am able to run the workspace on server as part of the shut down script but right now I am just populating all the parameter values with "Test".#Building URL for FME Server# fmeURL='''http://SERVERFME03/fmejobsubmitter/Samples/samplepythonlogging.fmw?DestDataset_XLSXW=C%3A%5CFMESERVER_PRIME2%5Cshutdown%5Ctest_write.xlsx&Written;=test&Read;=test&FeaturesLogged;=TEST&Time;=TEST&maxmemory;=TEST&Status;=TEST&Error;=TEST&Location;=TEST&Workspa
Hi,I'm using FME Desktop 2017 to write features to a feature class in a geodatabase using a dynamic schema definition. The dynamic schema is necessary as I'm using an AttributePivoter transformer. When I selected "Dynamic Schema Definition" in the Feature Type Parameters, FME automatically changed the Feature Class name to the attribute "fme_feature_type". Whenever I try to change anything about this, my workbench doesn't work anymore. Can I change anything about this? It'd be quite useful to assign a name different from fme_feature_type...Any hint is appreciated ;-)
Hi i am converting DWG to FileGDB and using Geometry Filter, while translating "A" Layer is being divided in three parts i.e A_Point, A_line, A_Polygon similarly "B" layer to B_point, B_line etc.I want to change the layer names in writer, I am using Dynamic Writer. Do i need different dynamic writer for each layer or any other option?
If my FME Server port is 8080 and i have created a topic and publication with username "myUser" then what will be the email address to receive email?my server address is myserver.mydomain:8080/fmeserver
Hi! I am writing a translation, and thinking about how to handle an unexpected situation while there is eventually no feature going through a pipe. For example, when a reader or a http call returns nothing, it usually indicates some error or rare situation, such that I may want a email to be sent or some message to be logged.I tried but couldn't find a simple way to do that. Except a way that seems unnecessarily complicated: fire a feature by a Creator, pipe it into the requestor of a FeatureMerger, let the port to be checked connect to the supplier port of FeatureMerger, connect the NotMerged port of the FeatureMerger to the "rare case" handling transformerHowever, this method seems unnecessarily complicated to me if I only want to do simple handling such as writing a log message. Is there easier way?Thank you!
HiI have a workbench that goes like this :Using FME Desktop 2014 (build 14339)I'm using a FeatureReader to extract data (from SDE).I'm using a FeatureReader to extract SCHEMA (attribute name and type) from the data extracted from SDE).The schema is extracted because I need to change an attribute type before writing it to MapInfo (an SDE date attribute is formatted as fme_datetime and for MapInfo I need it to be fme_date).I'm using python to change this and it works perfect.Then I merge the extracted schema to every feature with the FeatureMerger and then output the data in Mapinfo.The real problem is that I now need to change an SDE float attribut to a mapinfo decimal type (fme_decimal(10,5)).FROM SDE : fme_data_type = fme_real64 and native_data_type = doubleTO MAPINFO : the type is FLOATI try to change the fme_data_type and native_data_type to double (fme_decimal(10,5)).In the workbench it's ok, but the mapinfo output is still FLOAT.Any Idea?Thanks!Francis
I am running a workbench to validate overlapping polygons My table structure is versioned spatial tables I have ran the validation workbench against one version, using a published parameter setting the override version. This has been successful for a single version. I want to automate validating a large number of table versions. I have attempted to use the workspace runner to achieve this. In order to change the override version. With the idea that this will run for each table version. I have a tried using a CSV list of the versions and I have tried reading directly from the Oracle version table list. I have been unable to produce an output with test cases, these test cases produce an output when run against an individual version.I think the workspace runner is failing to change the override version published parameter instead running against the SDE.default version for the same amount of versions within the CSV list.I would be greatful for any help or advice, at a bit of
HiI am using FME to transfer data from Oracle to PostGISFor a couple of my tables I don't want to include some fields, however some of the fields to be removed have the same name as fields on other feature types that I want to keep.Can I specify which table to remove the attribute from in the dynamic writer properties?Thanks
In the 'Using Python with FME Server' doc, step 2 asks to run the command python get-pip.py however, the server we are configuring is offline so we get an error 'Failed to establish a new connection'. What are the steps to get get-pip installed?
Hi! I am using a writer to write to a non-version ESRI SDE feature class. For now I pass some parameter to the "Truncate Table" of the writer. When the parameter is "Yes", the writer deletes everything in the feature class before writing new records, as expected.When I tried a situation that the parameter is "Yes" but there is no feature to be written, the feature class is not going to be truncated. This is the behavior I want. However, I couldn't find any documentation about this scenario.Is there any documentation I can use to verify my implementation is ok? I am trying to avoid using undocumented feature as much as possible.Thank you!
Could you please take a look at this:https://knowledge.safe.com/questions/54930/statisticscalculator-bug.htmlMy first reaction is that it's indeed a bug.