Creating and organizing workspaces. How to use Workbench.
Recently active
I have several separate workspaces I want to chain together. How can I get the first WorkspaceRunner transformer to start running with nothing preceding it?I am using FME 2016.
Hi all, I am working a lot with custom transformers lately and I noticed that if an attribute is created inside the custom transformer, it overwrites the value of this attribute if the feature entering the custom transformer already has an attribute with the same name. I was wondering if / how it is possible to keep the attributes created in the custom transformer local so that they don't overwrite the already existing attributes (not exposing the attribute in the output port doesn't work since then the initial attribute also will be unexposed. I am asking for this behaviour since I want to be sure that my custom transformers - that are used by multiple people - don't mess with the attributes unexpectedly.I figured that I could be using a custom prefix for attributes created in the custom transformers but this isn't the cleanest solution in my opinion.Thanks for you help!JeroenFYI: The related 'idea'
I'm attempting to convert a .dwg to .shp with FME software. So far I have pulled in the .dwg, added the writer to convert to a shapefile with a specified coord system and chose the location of the output dataset, and now my screen looks like this but I do not know how to actually access or move/save these shapefiles so I can open in arcmap. I do not need to manipulate files in any other way, just need to get them into arcmap. This is what my screen currently looks like:
Hi,Last week I built a couple of custom transformers (with Python) in my 64 bit FME. They worked.Friday I installed PyCharm, which is 32 bit, so I ended up having to install the 32 bit version of FME as well, but finally got it to work there.Today I'm revisiting my custom transformers in my 64 bit FME, and now they don't work! And they don't work in the 32 bit version neither!!The error is the "import" statement, that tries to load my custom transformer (import StationingCalculator). The PY/PYC files are present in the FME/transformers folder.It looks like the whole Python setup is riddled with 32-vs-64 bit issues, so I have to ask, How do I get a stable environment to work with ?I would prefer to use the 64 bit FME, but also PyCharm, so what the right way to approach this ?Cheers Lars
I would like to run the same workspace multiple times but with a different source geodabase each time. Basically, I want to run it once for each geodatabase in a given folder. I believe this could be scripted with Python, but am not entirely sure where to start.Any suggestions or script samples is appreciated.
Hello FME'ers,Remember, in older FME workspaces you may have used a Cloner or Sampler transformer to bring together a bunch of connection lines to tidy the workspace, like this:In FME2016 you can, of course, use the new Junction transformer to do the same thing, like so:But it would no doubt be a pain to have to review old workspaces and manually replace all those Cloners and Samplers with Junctions.So, courtesy of @daleatsafe we bring you a tool to automatically replace all those Cloners and Samplers with the new Junctions. We don't replace all of those transformers; just the Cloners with a clone rate of 1, and just the Samplers with a sampling rate of 1 and a sample type of every nth feature. In other words, the Samplers/Cloners that don't do any specific transformation to the data.Attached is a . Naturally it's a simple FME workspace that you run and point to the workspace you wish to update. Included in the zip file is the workspace above, in before-and-after forms,
I may have missed something obvious, but I could not find a way to fan-out multiple feature types/classes in a single FGDB based on either geometry type or attribute values. Dataset fan-out created multiple FGDBs of different names each with single feature classes of the same name. But this is not what we are looking for.Your help is appreciated!
Hello,I want to export in DWG as "road_CC47" (voies_CC47) many shp files as it is show below. I want to do an export of "road_CC47" for EACH neighbourhood but the shp files I use include all the neighbourhoods of the city. I would like to repeat the process for each neighbourhood and that the file's name take the neighbourhood's name such as "road_CC47_1", "road_CC47_2", "road_CC47_3" ...I don't know how to proceed? I thought I could use a sql query and a spatial filter that loop on the process but I really don't know how to do this in FME.Could you help me please? Thanks Hugo
So far my workflow was the following: Open FME, run a workspace 'A' including a workspacerunner calling workspace B. Workspace B is in the same location as workspace A, and in the WorkspaceRunner I'm calling 'B.fmw', without a path. It is importent that B is found in the same location as a without, so that the project can be distributed to other computers.Now I'm trying to call workspace A from the command line. But now the workspace runner does not work, workspace B is not found anymore. If I write the complete path in the workspace runner it works. But this is not an option for me.In the log files one difference is that the 'Current working folder' originally was my workspace location. Using the command line it is now C:\\Program File\\FME. I assume that this might be related to my issue. Is there any way I can tell FME to search for my Workspace B in the same Folder as Workspace A?
I wish to be able to find the maximum value in a data set for an attribute and then use this value to set the value at which a counter starts at.I can get the value using the statistics calculator, but don't know how to pass it to a parameter for use b y the counter.I need to do this for a number of dataset and counters in one workspace.Thanks in advanceI am using workspace runners to mage the work flow, so could calculate and pass as published parameters in needed.
Hello,on occasion while running a job the FME.exe will consume 99% of the available memory on my server thus causing much consternation for the IT folks.Is it possible to limit the amount of RAM available to a process and/or set a time-out to kill a job if if runs for longer than ...
I have problems with this FME proyect. Im triying to merge some attributes from candidate features to base features using a neighbor finder. It works when I run the workspace alone but when I try to Batch Deploy it, it seems that the transformer doesnt works...¿Can someone help me to solve this problem please?
I have set up a workspace with a number of tweetsearchers however i want to set a delay before each one runs (so i don't go over the max allowed requests) is there an easy to force each TweetSearcher to wait x before it runs?
Hi,I'm looking into building custom transformers with FME Objects and Python, and I have succeeded in getting my first one up and running.However, I'm not finding very much documentation, e.g. of the FMX file format needed to configure the transformer, nor of a development guide. I've looked into the local API docs, the online knowledge base, the online tutorials and googled, but it's proven to be rather illusive.Are there any comprehensive documentation to be found on these issues anywhere ?Cheers Lars
Is there anyway in FME to create spatial features from data in Microsoft CRM Online?We have various CRM entities, which we'd like to put on the map. Some have addresses, some have UK OS NGR, some even have lat/long values.I've checked the list of FME formats but can't find anything relating to Microsoft CRMSomebody suggested going directly to the SQL Server tables, but this isn't possible as we're using CRM Online, so database connection
Are there are plans to add a Reader and Writer for Dynamics CRM Online, similar to the ones for Salesforce?
Hi all,I just deleted the foldersin my C:\\users\\...\\appdata\\local\\temp directory as a workbench that used to run fine was running into memory issues and I was clearing up space on the drive. However, on starting the workbench again (and also others) I get below error message. Starting an empty workbench works alright.I attempted to restore the deleted folders (named '2' and '4') but apparently they have been permanently deleted off the box.Any ideas?Problem signature:Problem Event Name:APPCRASHApplication Name:fmeworkbench.exeApplication Version:2014.7.12.14433Application Timestamp:54480bb3Fault Module Name:MSVCR100.dllFault Module Version:10.0.40219.325Fault Module Timestamp:4df2be1eException Code:40000015Exception Offset:0008d6fdOS Version:6.1.7601.2.1.0.272.7Locale ID:5129Additional Information 1:0dddAdditional Information 2:0ddd9e71307c79c270d13579c2efd473Additional Information 3:d259Additional Information 4:d2593a22a6c6a3fa2238503d2dd2baf6Read our privacy stat
I have downloaded the FuzzyStringCompare transformer and tried to install it. It appear it is already installed yet it is not available to me in a workbench. Are there settings I should be checking. Does this transformer only work with certain versions? I cannot find detailed info how transformers downloaded from the FME Hub work. I am useless with Python scripting so don't want to go down that route for the work I am doing.
I have a lot of named database connections defined in FME Desktop and would like to have them all available on FME Server. Is there an easy way to publish / copy named connections from Desktop to Server? I know that I can publish a workspace and the connections will get copied up but I don't want to have to create a dummy workspace with all of my possible DB connections just to get them published. I'm also hoping not to have to re-create all of the connections manually on Server...
Hi All,I am getting confused with some issues with published parameters and running schedules via FME Server. I can run the workspace manually via FME server, the published parameters are filled, and it runs no problems. When it runs via a schedule, the published parameters go missing and it fails each time due to the published parameters having no value?Cheers,
I try to create an md5-hashcode in my fme-workbench. The only way I found is to create it with python.Is that right? No other way?Ok, I tried with python, but I got some errors. Can anyone help me?First I created a new attribute where I concatenated all needed attributes and then I used this code in a pythoncaller:import hashlib, os def getHash(feature): mystring = feature.getAttribute('concatenated') # Assumes the default UTF-8 hash_object = hashlib.md5(mystring.encode()) print(hash_object.hexdigest())I hoped that I get back a new attribut called hash_object with the code I want. But I got only errors. ;-(Thanks for your support.
I have a batch process with a Directory and file Path names reader (files are in a different folder depending on county and municipality for example \\xyz\\DATA\\Topo\\N50\\Original\\fylke_kommune\\01_Ostfold\\0101_Halden) and a WorkspaceRunner that calls a worskpace that does a conversion from SOSI (norwegian standard) to shapefiles for all the sosi files (*.sos) into a new directory with subfolders named after the file's county and municipality it belongs to. In the conversion workspace I have the writers destination as fanout expression of the county and municipality that is extracted from the Path being read with a filenamextractor (_dirpath) and a string searcher (_firstmatch) and then a stringreplacer to change the destination path (updated _dirpath). So the files will be generated in a new folder whose naming depends on the County and Municipality that is in the path of the reader (Destination folder: \\xyz\\DATA\\Topo\\Norway_N50\\Converted. The fanout expression for the de
I have created a custom transformer that's linked by default. I decided at some point while I was making changes that one of the changes warranted creating a new "Version", so now I have a custom transformer that has version 1 and version 2.I have since decided that I no longer need version 1 but there doesn't seem to be any way of deleting it as it's embedded inside the .fmx file along with version 2. If I could delete version 1 then I'd rename v2 -> v1.I guess I could edit the .fmx file with a text editor and I'm normally ok with getting my hands dirty doing that but this situation seems a little too risky.
This is probably very simple but what transformer do I use to globally update a field with a standard value. All I want to do is add the number "1" to an integer field in several feature classes within the same file geodatabase. ThanksDave
I am trying to convert shape files with attributes to AutoCAD .dwg files, but when I get the attributes to come across, the geometry is forced to an FME block. I want the geometry to be a polyline, but still maintain the attributes as properties in the cad file.