Creating and organizing workspaces. How to use Workbench.
Recently active
Does anyone know what the 'rules' are for best practice sharing of named database connections? I'm seeing some very odd behavior that I can't explain.It seems that for example there was a name change for the named connections database between FME 2016 and 2017 from namedConnections.data to fme_connections.data, meaning that an old connection database presumably must be exported as XML and reimported to a newer FME before the connections can be used. So, its not possible to share connections between different versions of FME in an organisation where there are different FME versions installed.Also, I'm seeing connections that are created on one machine, that work fine when 'tested', when they are tried to be used on another machine in the same organisation and they are 'tested' a whole raft of errors come back and authentication fails. Interestingly the authentication errors mention FME Server and web APIs... Its super odd. At the moment I don't ha
In my workflow I need to check whether multiple lines (paths) crosses within some areas (hazard zones). I'm doing this with LineOnAreaOverlayer, but it is too slow only with 17K lines and 8 areas. It has taken more than two hours and the process didn't finish (On the bottom of the workbench I get this message performing low-level intersection phase X%)I've read that I could enable paralellism with grouping. However, when I did this the process doesn't find any overlaping line with the area, when it certainly are lines that do it. How could I improve the performance of this process?
So I have a point shapefile of orthophoto locations with approx. 250 features in it with attributes. I also have a .txt file to use as a template. What I basically need to do is for each feature in the shapefile, I need to extract the attributes, do a find/replace in the template, and write out to a text file. Essentially it's just creating text files with metadata of each orthophoto in it, so I should end up with approximately 250 text files when finished. I'm not sure how to get FME to go through one feature at a time and write out to a .txt. Does anybody have any idea how to do this?
Hello everybody,in my workbench the scale of an output raster type feature should depend on an attribute RADIUS, which is defined as a numeric published parameter the user can manipulate. I realized that with a private parameter which is defined through a python script as you see below. I set the default value of the RADIUS attribute to '500' so the scale should be '4000'... But the script returns the value '15000'. I also tried to return just the value of the RADIUS itself in this script to test if the RADIUS value is still setted to 500 when the python script is running and it is! And the RADIUS attribute is definitely numeric. It has the type 'Number'. What could be the problem? I don't really know what to do.Best regards,Felixscale=0if (FME_MacroValues['RADIUS'] <= 500): scale=4000elif (500 < FME_MacroValues['RADIUS'] <= 1000): scale=8000else: scale=15000return scale
I have configured a "master" workspace that runs 4 Workspace Runners sequentially. I run the master workspace from a BAT file via the fme.exe command line. When one child workspace fails, the parent workspace stops, but does not fail. The workspaces are linked together by the Succeeded port. The Failed port is not linked to anything. I imagine I should link it to something? If so what? Thanks.
Hi,We have installed FME 2017 and i have adjusted my model to the new transformers (not all) but when i try to run my model for a large set of data (worked fine in 2016) FME failes and in the temp folder he makes al lot of files like "FME_OBJC_STF_RPTree_1497357414998_4532_186" (52.0000 in the first 10 minutes) and he has done only 10 percent of the model.It happens while using the snapper...If i run my model whith less data he workes fine.We have already tried to enlarge the memory and added extra processors.Has somebody also had this problem?GrtjsNath.
I have multiple shape files from different owners classified in sub-directories. All Owners have shape reader entries in my workbench. Every once and a while some readers don't read the file and so I loop input. Testing the input in the workbench with the inspector option works well so the data is there. I need to recreate the reader.How can I test non read input from these readers and terminate the workbench before going any further. When I put a counter after the reader it isn't triggered so that doesn't work.
Hi! I'm using FeatureReaders in my workspace, and when adding a Writer, I would like to use Copy from Reader option to get the feature types and their attributes to the Writer, but I can't because it seems Copy from Reader works only for Readers. Am I missing something, or is it not supported yet?Also I can't get the attribute types and lengths from an FeatureReader (Copy Attributes From Transformer), and I need to have a Reader, copy attributes from its feature type.
I'm trying to create a zip file when the workspace completes that containing sub-directory and file in the root coming from file output by FMEServerJobSubmitter.
Hello everybody,I want to make my FME workbench executable from outside of FME. What expected is something like a program you can open by double click. After that a window should be opened where you can enter a few user parameters. By clicking another button the FME workbench should be runned and the user parameters should be used in that workbench then. Do you have any experiences with that? Is there a feature in FME that allows something like that?Best regards, Felix
I have a colleague with FME who wants to batch run a few processes using workspace runners. The first workspace reads multiple Excel spreadsheets and runs successfully when started on its own, not using the workspace runner, but when trying with the workspace runner it fails at the reading stage with no further information on the error - including in the child workspace's log file. I don't have the workspace here to add, but any general ideas as to why this may fail would be helpful - if I can get further details I will do.
Can a reader be enabled or disabled in run-time based on certain conditions? Or a more general case: can a set of bookmarked transformers/components in a workspace be enabled or disabled in run-time based on some conditions?Thanks in advance,George
I need to read from a file with multiple records only the columns name that start with a prefix and convert them into a list to do some processing after with those column names. This is what I've got so farThis is the output with the column names that I need. But I need to convert those into a list to do some processing for every column name. How could I achieve that?Thanks
I have a workbench with a scripted Parameter for a temporary folder. The python start up script creates it. The workbench does it's stuff and empties the folder. All this works fine; folder created, data moved to it, processed, then removed.The shutdown script waits 5 seconds, then tries to delete the folder. I get an "[Error 5] Access is denied:" message (FME 2015 32 bit).Can anyone help determine why this cannot be deleted, please?
I have an FME Cloud instance and would like to scale up by increasing the number of engines.How do I do that, and how many engines can I have? Is there an extra cost?Also, what is the optimum number of engines, and what does that depend on?
Dear all,I have a problem which I cannot solve. I'm pretty new to FME and can't seem to find out a solution for my problem. I have a csv table with attributes such as parcel land numbers and land owners with addresses and so on. I need to export this data to a different files organized by land parcel number. So output is textual files (attribute created with text editor) with data like land parcel no. 2, owners no.1, 2,3 and so on (name, address), area size of the land parcel, things like that. So there will be as many files as there are land parcels. I've stuck because cannot seem to get all the parcel owners for one land parcel number. I get only first one and that's all for that land parcel. I've tried to work it out with list but really don't understand how that works in fme. The other solution is to try looping through that attributes but also stuck there. How do I get all the owners for each land parcel number. Thanks in advance for the help.Best regards
I'm having some difficulty trying to use a private parameter as a path for a Data Reader. The difficulty stems from the fact that the value in the parameter is not literal but is calculated at run time (based on date). The parameter name is SourcePath and its value is a concatenation of a literal string and two other private parameters, which are based on a date. At runtime the value in SourcePath would look something like this:P:\\GIS Development\\Vicmap_Downloads\\2017\\20170606\\The workspace itself is very simple, consisting of a Directory and File Pathnames Reader, and a corresponding File Copy Writer. The reader obtains a listing of files in the directory, as specified in the SourcePath parameter. It then supplies this list of files to the File Copy Writer to perform the copy/paste. If I set the Data Reader folder path to a literal string then the workspace runs fine. However this is not workable as the path must be determined at runtime because it's based on current
Hello FME-community, I want to upload a workspace to FME Server and ensure this workspace always runs with a default priority of 50.Is there a way to set the default priority when publishing the workspace to FME Server?ORCan you change the default priority of workspaces once they are published at FME Server? I know you can assign a priority when launching a workspace by the FMEServerJobSubmitter transformer, but this is not my intention in this case.
Hi @NatalieAtSafe,From this Q&A;: SMTP errorThe issue has been filed as C125117 (PR76958) and I was notified that it has been fixed in FME 2017.1 Beta already. I confirmed that the original issue has been resolved in FME 2017.1 Beta with Python 3.5, but the fixed Emailer newly causes this error when running with Python 2.7. I think the error apparently indicates that the implementation of the Emailer in FME 2017.1 Beta doesn't conform to Python 2.7 specifications.Emailer: <type 'exceptions.TypeError'>: character mapping must return integer, None or unicode Nearly two months have passed since I reported the error above, but it has not been resolved yet in the latest Beta build 17498.Could you please check the current status of the PR?
Hi all, I'am trying to update some atributes in features from Smallworld using fme_db_operation but my writters doesn't enable this field to exposed it, neither the "Parameters" box. I'm using FME Desktop 2011, Smallworld 4.1 and i got the next message in my log about Sworldswaf: "Trying to find a DYNAMIC plugin for reader named `SWORLDSWAF' FME API version of module 'SWORLDSWAF' is '3.1 20031010', which is older than the current with FME internal API version '3.6 20101014'. An updated plug-in may be available from the provider. " Do you know if it's possible to do the Update, Delete and Insert operations with Smallworld 4 Writters using my tools described? How I could use this kind of operations for Smallworld database? Thanks. Regards, Diego O.
Hello,I want to replace point coordinates (X and Y) with .3ds file and write to CityGML instance document as City furniture feature. Please let me know how to do this task in FME workbench v16.0.
Hi, can you please have a look at this issue and see if it's a bug that needs fixing?https://knowledge.safe.com/questions/42262/to-use-comma-in-variable-of-workspacerunner.htmlMy colleague stumbled into the exact same issue last week. We had to work around it by substituting the comma for something else, then using a StringReplacer in the child workspace to restore the value.
Hi @NatalieAtSafe,I am using FME(R) 2016.0.1.0 (20160130 - Build 16174 - WIN64) desktop. In child workspace, i have changed the publish parameter type to 'Text (Multiline)'. In parent workspace, when i am passing two numbers comma separated in workspace runner, Comma automatically gets replaced by '<comma>'. Eg. I am passing '123,345' but it is passing '123<comma>345' to child transformer.
I have 8000 polygons of varying areas and shapes. I want to divide these into equal area polygons.I am looking for a similar functionality to the land parcel editor in ArcGIS. My shapes look something like this. I have already considered the options where we intersect the shapes with a fishnet. This doesn't suit my purpose as I end up small clippings on the edges. Also the number of newly created polygons will depend on the size of the original polygon. What I am hoping to achieve with the expert advice from FME gurus here is to divide each of the polygon into 4 parts having equal areas. Thanks in advance.
I've heard that there are some users out there doing really cool things with python scripted parameters to help move workspaces between different FME Desktop installs and FME Server as well!!I'd love to know what FME users have been up to on this front! Please share your solutions.