Creating and organizing workspaces. How to use Workbench.
Recently active
i have to select based on positionselect based on positions like first position Alpha and second position numeric or first two alphabets and last numeric HSNAFD151212114A15A10ABBAC501D1D2D5D is there any possibility to select yellow highlighted vales based on above parameters Thanks in advance
I am using FME 2014 SP4 and I see that the behavior of Custom Transformer Inputs differs from previous versions of FME. I have 3 transformer inputs which all show the same attributes- however each of these input lines should have different attributes. When I Edit Transformer Input to expose Attributes, the checked attributes get applied to all 3 Transformer Inputs. If I uncheck Publish on Transformer Input- I loose all attributes. What can I do to expose attributes on only the Transformer Input for which they pertain? I am more concerned with keeping the inbound attributes straight per feature pipeline, than using published parameters. Thanks!
I have set up a complex workbench, which 8 of the 10 times runs fine without trouble. However, twice it has fallen over now, because my input data provider has been using lowercase for an attribute name when he normally uses uppercase. I can't change it in the transformer (AttributeRangeMapper), because it only 'sees' the uppercase attribute name from the reader (with wildcard). Given that this is such a basic issue, I hope that there is a very basic solution as well. Is there? At the moment, my solution is to have a second identical workspace, but with the offending attribute names set to lowercase. Not ideal...
Hi FME'rs! Recently an FME user ran into an issue with the ListIndexer where it did not return the desired output. The user initially generated a list from the Format Attribute, fme_feature_type and so appropriately gave the list the same name, fme_feature_type_list{}. However because the list name began with fme_ it is not processed. This is because _fme is a reserved word in FME used by Format Attributes and as a result, some transformers are unable to correctly handle User Attributes/Lists that contain this prefix.In general we would recommend the fme_ prefix should be reserved for use by format attributes only and I have filed TECHPUBS-6273 to ensure this is highlighted in our documentation. However it would also be great to compile a list of known transformers that can have trouble handling the fme_ prefix on user attributes, and this is where the Community can help!Please comment below to share your experiences if you have encountered anything that sounds similar to the scena
I need to make the error messages of logfiles output on fmeserver (after running a workbench) more "readable/helpful/shorter" and finally return it to an email sender.As far as I see, there are the following options:a) I could use the usual logfile (like on fme Workbench) and parse it somehow within a shutdown script of the workspace, handing the result over to the emailer (or trigger a notfication) - don't know the exact workflow on fmeserver, yet.b) if I don't want to write python or tcl, I could probably use a job chain: running another workspace interpreting the logfile and sending out another email with interpretational text. This should be possible to be used directly by the emailer (within the workbench), right?c) I could go for an automation on fmeserver and use those logfile-options there (don't find good hints on how to produce a good output, there).Any hints what to go for? Are there any best practice examples available ?Thanks for your help, Marion
I used the transformer MapnikRasterizer to create a raster for a specific data set. I want to combine this raster with a list that has the same the same unique ID into a single document. How can I create this list and combine it with a raster into a single document? For example, in the photo below:I want a list showing the records of BW #SW-0127, BW# 316002, and BW# 318003 on the first page,with a raster of the spatial extent (created with Mapnik Rasterizer) on the second page if possible
I have a table like below select red highlighted data and replace at once without case sensitive I need to change as like below table Thanks in Advance.. _/\\_..
How to check if an object's attribute eqals with one of the list elements? (The different features contains different numbers of list elements and I want to compare with the all)
Hi list.This is more an administrative question than a technical one, but I need some insight into what's best practice.My installation has multiple FME versions (2016-2019, x32+x64), and most of these versions are still being used in regular tasks.I have a "Shared FME Folders" site defined on a network drive, and this is shared by all FME versions via FME options.I have created a substantial number of custom transformers in here, and they all run with the embedded Python interpreter.So far I'm using Python 2.7 in all FME versions, which luckily is still an option in 2019 (although deprecated), but I would like to upgrade them to Python 3.x.My problem is, that since all transformers are shared among all FME versions, it looks like it needs to be an "all-or-nothing" update. There's no provision for a separate transformer repository for each Python version, nor for each FME versions.I.e. all transformers need to be updated to Python 3.x all at once, and al
I have a process running for little over a week now, up to yesterday it was at about 50%. FME workbench was 'not responding' yesterday after I tried opening another workbench in a new window and it stayed that way until this morning. I seem to have now closed out my translation but can see that the memory usage is still the same for the fme.exe process. Is it that my process is still running and if so, how can I get to see the progress again in workbench? Or is it that I have to start again from scratch and have essentially lost once week of processing? HELP!
Maybe this is can be done in a very easy operation, but how can I create a general custom transformer?I created a custom transformer in a workbench to process data A, it worked fine. Then I wanted to use it to process data B which has different attributes from data A, after I linked data B to custom transformer, it became a incomplete transformer, it can't read attributes from data B, how can I solve this problem, there's too many data I can't create custom transformer for every data.
Hi,is this possible to pass User Parameter into function argument as a second argument inside PythonCaller ?Putting it like that, does not work:def processFeature(feature, FME_MacroValues['SomeUserParameter']):Thanks,Submi
Is there a way to have a parameter used to kick off the workspace?What I want is to be able to run the workspace and have the user enter a value or list of values that are then passed to a bunch of tests which then control the running of the rest of the workspace.
I have recently refreshed computer with windows 10 professional x64 and i can not run any fme workspace on it anymore. msg said "FME EXE has stopped working.. A problem cause the program to stop working correctly. please close the program" (see screenshot below). but if I publish it on the server and run from server, it was fine.
I have two feature classes. one is Table-1 and another is Table-2.Challenge: Select data from Table-2 based on NICKNAMES which is matched with last NAMES matched. I need output LIKE FINAL TABLE. NOTE: need to select red colored DATA need not to select green colored DATA
Hi All, This seems like a straightforward issue, but I am struggling to come up with a solution for my workflow. I have created a set of lines within a polygon shape, the set of lines have inherited a '_count' attribute from the parent polygon. Using StatisticsCalculator I have calculated the '_numeric_count', '_sum' and '_mean' for the Lines, grouping using the '_count' attribute. However, when looking at the results I have a need to remove Lengths such as the one highlighted. If any Length in the group is >= 10, for example, how do I exclude the entire group of values? In this case the entire '1947' _count group would be removed and would not pass to the StatisticsCalculator. Thanks in advance Andrew
Hi,I'm relatively new to FME but am interested in running a workbench that loops/iterates parameter values (Neighbour Finder distance, Bufferer distance, and a number value in a tester) multiple times.E.g. I want to generate outputs with a buffer distance of 5000, 10000, 15000, neighbour counts of 4,5,6 etc. What is the best way to set a workbench running, that will generate multiple different outputs, based on iterating through parameter values, naming outputs accordingly? I wish to end up with multiple outputs in a format similar to output_$BufferDistance_$NeighbourDistance_$NumberValue
Hello all,I have 1721 point features, which I am combining into a single line using LineBuilder.Each node has a datetime stamp, and I want to populate the line with the attributes "start_date" and "end_date" drawn from the "date" attribute of the first and last point feature.In the LineBuilder I have ticked the parameter Generate List, so I have a list with 1721 elements.I can use the Attribute manager to create a new attribute "start_date" with a value of;@Value(points{0}.date)However, I fail to do the equivalent for the last element in the list.@Value(points{-1}.date) is not accepted by the Text editor or the List Element Selection: points{}.dateI thought I might solve it by using ListElementCounter, which does create a new attribute with a value of 1721, but again the List Element Selection: does not accept an attribute value as an input.
Hello therewe have data structured this way PlaceAttr1Attr2P1213P2104 and we want to convert it to this structure PlaceAttrP1attr121P2attr110P1attr23 P2attr24 Any idea, pleaseThanks
Hi,I created some user parameters and want to set their values programmatically some time later (when some data is processed). Is this possible? Or I must set their values initially?
I have a feature writer transformer that exports to .csv. For the dataset parameter and CSV File Name I have an attribute "_dirpath" and "_outputName" that are both dynamical created based on the input and the time.The problem is I want User Attributes to be set to "Automatic" but at the same time there are certain generated attributes that I don't want showing up in the output.I can use an "Attribute Remover" on most of them with the exception of "_dirpath" and "_outputName" as I need them to tell the feature writer where to write the file to. How do I get out of this catch-22 of having "_dirpath" and "_outputName" available to the feature writer but NOT outputting to the file?I tried using "VariableSetter" and "VariableRetriever" to assign the attribute to a Private User param but this does not work as I later read that "FME configures user parameters before starting the translation, and their values cannot be changed in the workflow later." Having a global variable also does not wor
In workspace 1 (WS1) the "_dirPath" and "_outputName" is derived from the input and a timestamp. For example: Input: C:\Temp\MyFile.csvOutput: C:\Temp\MyFile_2019-8-22.csvThese values are then passed into a custom transformer (WS2) so that _dirPath and _outputName show up as User Parameters.This is done because :Answer by takashi · Feb 14, 2018 at 02:56 PMFME configures user parameters before starting the translation, and their values cannot be changed in the workflow later. SourceIn WS2 I have a Feature Writer that exports to csv. The Feature Readers Dataset is set to, $(_DIRPATH) ie. the user parameter that is set from "_dirpath" in WS1 and the CSV file name is set to $(_OUTPUTNAME).Now, this all works fine. The problem is I want the feature writer to have it's User Attributes set to "Automatic". Yet, at the same time I don't want the attributes of "_dirPath" and "_outputName" showing up in the output. While the user params of $(_DIRPATH) , $(_OUTPUTNAME) should be set at the st
Hi, I have an urgent question.I have a point file. Each point has a rank number and a circle size.Basically, what I am trying to do is to:1: Find the point with the highest rank and add it to the selected list.2: Find the next point with second-highest rank & draw a circle (using circle size), the point is selected and added to the list if there are no selected points (from 1) from the list inside the circle.3: Find the next point with third-highest rank & draw a circle (using circle size), the point is selected and added to the list if there are no selected points (from 1 & 2) from the list inside the circle.4: Repeat the process until no points left.Thank you so much in advance.
I have to sample a large area with high resolution: A country with a resolution of 1 Meter. I will use points for this which eventually will be written to a database.I will have to split up the calculation, e.g. 50 by 50 km which would result in 2.5 billion points per run.Can FME handle this? Or would it be better to split the calculations to smaller parts?The computer has 64 GB of RAM.
For some reason I can not get this to work, and its driving me nuts. I am using a File & Directories reader in conjunction with a Workspace runner but am unable to get the writer to function correctly. The data is a bunch of shape files (point, line, polygon). The usual method of using fme_feature_type with a dynamic schema does not seem to work. If I use path_rootname for the outgoing file names it does save the files, but they are empty. Any ideas?