Creating and organizing workspaces. How to use Workbench.
Recently active
Can I create a published parameter to accept either a value or an attribute name? You see this quite a bit in the transformer parameters, where you can either type in a constant value, or select from an attribute list. Cheers Keith
Hello I have one attribute table and I would like to merge two attributes into one new attribute in the same table. I though this could work with the attribute creator by merging together two attributes with the help of the arithmetic editor, however this does not work. One attribute is a string, the other one nummerical. Does anyone has a suggestion?
Hello, I am new to FME and working on a project... I have merged a zoning polygons together based on their application number. I am now labelling them, there is just one problem, in a couple applications, there are 2 seperate shapes that require the same label, but only one is being labelled. I am using the 'CenteredLabelAdder' transformer. What am I doing wrong? Thanks for the help! Iris
Hi, I have a workbench where i need to fanout the output (GML writer) based on a chopper set to maximum of 1000 vertices. I guess I should be able to use the fanout option, setting it to the input-chopper but can´t seem to figure out exactlyhow to do it. Can someone point me in the right direction? Christian
Is it possible to fanout AIXM 4.5? From what I read I need to fanout the dataset but I need to do that based on the feature type not a specific attribute. I basically need FME to write out a seperate xml file per feature type in my AIXM source message and can't see how I can do that with the fanout options. I am using FME 2015
Hello, I'm sure this must have been asked before but I can't find the answer. I'm trying to break up a big image processing job by splitting up a directory of jpegs into sets and then passing each set to my worker workbench. I'm trying to pass the group of jpegs as an list of files to the jpeg reader in the worker though the workspacerunner, however the list keeps being 'fixed' by the engine as it is passed in: i.e my paths look like this (note i have spaces in my path so require quotes) \\\\prodds\\a folder\\a picture1.jpeg \\\\prodds\\a folder\\a picture2.jpeg If i run this (succesfully) in the worker directly the reader string looks like this: "\\\\prodds\\a folder\\a picture1.jpeg","\\\\prodds\\a folder\\a picture2.jpeg" so following the guidance in here http://docs.safe.com/fme/html/FME_Server_Documentation/Default.htm#ServerConsole/Arguments_Quotation_Escaping.htm I set my master workbench to pass the string as: ""&quo
Hello all, Firstly, sorry for adding another looping question! I have a shape file of buffered polygons and I would like to perform an AreaOnArea action to them against a second basemap shapefile. These buffers overlap one another in places but I would like to compare each one individually against the second shapefile. I've tried to set up a loop and I don't think I have set it up correctly. I've limited the features to read to 10 for testing and running it using inspection but it doesn't seem like it will create a single shapefile in the end as I had 10 different layers open in inspector. Also, do I have the loop iteration parameters set correctly? I have just under 5000 buffered polygons to go through and I don't want it to get stuck in an infinte loop or anything else that could cause it to crash. I've uploaded screenshots of my workbench Thanks for taking the time to look at this!
Hi, we are trying to connect to FME Server 2014 programmatically via .NET. We are using the sample code provided by the FME Server Documentation, but get following error: {"QSIncompleteResponse:Incomplete FME Server response. Expected [SUCCESS|ERROR]+message. Received: "} The Server is running and the connection via web is successful. We have tried the code with enabled security and disabled security but both ways were unsuccessful. Our Code is attached: Any Ideas what we are doing wrong? Thanks in advance!
I’ve made a user parameter attributelist, that I use in a NullattributeMapper. Then I want to use a tester wich tests only the attributes that I defined in my parameter. How should I use my published parameter in a Tester? (FME 2015). I would like to know since I want to convert these transformers to a custom transformer. This way didn't work for me: Thanks,
I am trying to use the RunWorkspace script that was posted on here in the knowledge base, so a workspace could be run from a python script. I keep getting an error on the line that initializes the FMEWorkspaceRunner object: runner = fmeobjects.FMEWorkspaceRunner(). The error is: fmeobjects.FMEException: FMEException: 896902:. I couldn't find any information on what that error means specifically. What could be wrong?
Is it possible to enable/disable a transformer or a connection in a workspace using a published parameter?
I have a routine that writes data into rows in Excel through a workspace runner but once the routine is finished I want FME to open the spreadsheet. I have looked at both python and TCL but can't get anything to work without runtime errors. Does anyone have any scripts I would use to simply open an xlsx in a shutdown script.
create a list of drawings where a certain text string is found
Hi, I'm reading in some data via the FeatureReader transformer and I would like to write it out dynamically, but when I try to setup the dynamic proprties I get a pop-up message No reader or schema reader found. Please add a reader or schema reader to workspace that can be used as a schema source. I can't add a reader or schema reader because the data does not exist prior to the workspace being run. Any ideas?
Hello, I am passing comma separated list of table names to workbench. It's working fine. Just want to make sure is there any limit on number of characters in parameter. Currently I am passing about 5 table names as a parameter(about 40 characters). So just want to make sure if I need to pass say 100 table names will it support those many characters. Also I am publishing this workbench to FME server. Cheers
Hi, I cant achieve to to parse correctly json elements and attributes correctly. The json received is like this: { "elements": [ { "type": "way", "id": 98815885, "nodes": [ 3325506694, 3325506698, 3325506701, 3325506705, ], }, { "type": "way", "id": 98815895, "nodes": [ 1142949510, 1142941660, 1142983536, ] } ] } I am using the JSONFlattener, then the AttributesExposer (with elements{}, elements{},nodes{}, elements{}.id and elements{}.type) and finally the listExploder on elements{}. The number of parsed feature is correct but there is no data inside the nodes attributes of each features. It's like if elements{}.nodes was empty for each feature.
I have multiple FCs in multiple FGDBs which I need to run through NeighbourFinder to generate distance/proximity info and then write into a single Excel writer feature type. These FCs have certain attributes I want to carry over into the writer but they are all named slightly differently. I would like some suggestions on the best way to carry this out please so it is easy to swap different combinations of Attribute in and out.
Hi, I have 2 shapefiles with two columns, one is an ID, the other is a description. I need to merge these two datasets into one shapefile whereby if a feature has the same ID but a different description these can get pulled out so I can change them. Sounds simple but for some reason I am really struggling. Any advice would be very much appreciated, Thanks!
I would like to achieve the following: Create a workspace that can be used to read a large number of tables, create geometries with the vertexcreator and write them to a database after changing attribute names based on regular expressions. Attributes differ from table to table and should be preserved. I can probably achieve this by writing the schema to a feel and rereading that using the workspace runner. However, I feel like I am missing something really obvious. Isn't there a way to use a dynamic writer and derive the schema from a transformer rather than a reader? Jakob
With FME moving toward the ability to continuously run on FME Server and FME Cloud, I am wondering if there is a way to incorporate python libraries (ie NLTK, GeoPY, etc) for real-time web mapping. For example, I would like the ability to strip the body text of an XML feed and send it to the NLTK library for semantic learning and strip it of geo location data. From there. I would send it to the GeoPy library for geocoding. I am a bit out of my element here and I know that with the python caller I can incorporate simply python scripts, but I would like the ability to call entire libraries from GitHub. Has anyone had any luck with or experience in this regard?
Hi! I have a list attribute such this one: ['a', 'b', 'c', 'a', 'b'] I would like to have the number of different values present in that list. In python I would do: list=['a', 'b', 'c', 'a', 'b'] len(set(list)) >>> 3 Is it possible to get that count with some fme transformer?
Hi, Is there a way to set an Oracle Table as a Published Parameter? When I try, the only thing I can seem to set is the hostname, not the actual table name.. Thanks,
Hi, I want to create a published parameter that prompts on run-time, the user to open multiple files. I have tried to set the Type to "Filename (Existing)" and the configuration as in the image below. But this only allows the user to select one file at a time, rather than multiple files. Is there a way to create the parameter so the "Advanced Browser" option can be enabled? Thanks,
Hello, i have a many 1000s of point features with some time series data. Each point has a CODE attribute column for 2000 to 2010 inclusive (CODE01, CODE 02, CODE03 .... CODE10). These code attributes can be one of 10 entries (1,2,4,8,16,32,64,128, 256 or empty). I need to look over the attributes in year order for a given feature and ascertain how many times the code value has changed in those 11 given years. EG; so you can see Feature 1 would have a new attribute recording 0 changes, feature 2 would have 2 changes (to 64 and back to 32), feature 3 would have 7 changes and feature 4 would have 5 changes (missing does count as a change). I thought perhaps i should transpose the data? have each feature exploded into 11 features, one for each year, and then use the Multiple Feature Attribute Support (using Feature(-1) etc) but if im dealing with a million points, that will make 11 millions points. Is there any way of dealing with a previous attribute in a similar way? all help mu
Hi, It seems impossible to have the same name for different writer feature type even if they are not connected to the same writer and not written into the same directory. That seems impossible if the writer are of the same type ex: MapInfo TAB. Does it means that I have to create a path attribute and use it as a fanout inside a unique writer? Any other solution then this one? Thank you!