Creating and organizing workspaces. How to use Workbench.
Recently active
I have a bit of a convoluted workbench at the moment where I take in an AutoCAD level as a Reader which contains some blocks (stop & yield signs). I pass this through an AreaBuilder which makes it's way to a centerpoint replacer. The output is a Point feature within a Sequel DB. I'm trying to maintain the rotation of the signs so I can associate a bmp symbol to the point and have the proper rotation. (so the stop signs read the correct way).The AreaBuilder appears to be dropping the exposed attributes from the reader, in particular the 'autocad_original_rotation' and 'fme_rotation'? which I essentially want to feed to the Writer using the Rotator transformer...
Hello there!I use BulkAttributeRenamer to add a Prefix to all Attributes of two tables I need to merge as they both have the same attribute name.Often when I load a FME Workbench the BulkAttributeRenamer transformer is broken. It does save all the options, but simply doesn't work. The output features show no prefix and the following FeatureMerger does not work, as the attribute names don't fit. Does somebody know how to fix this problem?
I'm using a PDFPageFormatter. From the output, I'm using a writer to create my pdf file.I want to use this pdf file to merge it with another, thanks to my python script. I know I can write my python script in WorkspaceParameters/Advanced/ShutdownPythonScript.But I don't feel it's a clean method.I'd like to directly connect the output of the PDFPageFormatter into a PythonCaller and use the pdf file as an attribute for the PythonCaller.Does anybody have a knowing process to handle that?
Hello, probably this is something easy to achieve but I'm still new to FME. I'm reading a set of points from a DWG file. These are definition points from a dimension feature. Each dimension object has 3 definition points, but there is no dimension ID. All that I have is a set of points listed consecutively; the first 3 points belong to one feature, the next 3 points belong to another feature and so on. I want to group all points using a count or split rule but so far I can't find a way to implement it. Here is an example of what I want to accomplish. Count fme_feature_type1 Dimension |2 Dimension |--> Group 1 3 Dimension |4 Dimension | 5 Dimension |--> Group 2 6 Dimension |Thanks
I want to send an email at the completion of a workspace. If 300 features pass through to it, will the Emailer try to send 300 emails? If so, how can I just send one email?
I used a writer with the following code (working OK):FeaturesWritten = str(FME_FeaturesWritten) fcno = FME_FeaturesWritten.get(fc)But i have changed it to a feature Writer (not working anymore): result is Nonewhat should the code be to get the number of features written?_total_features_written is the attribute in summary
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...