Creating and organizing workspaces. How to use Workbench.
Recently active
After creating an FME Server Resource Connection, how can I work with this to author my workspaces? When I view the Folder properties in FME Server I can see the System path references an FME Server macro $(), however when I specify this path within my workspace it shows red because FME Desktop does not recognise this as an existing parameter.
Hello there! I have a problem with the definition of Published Parameters. Using Customized Transformers when I define a Published Parameter to the type "Attribute name", creating a new attribute and having that as output, I have the Attribute name as output and not the Attribute Value. I would like the Attribute Value as output. When I change the definition of the Published Parameter to the type "Text" and fill in the textstring "@Value(name_of_the_attribute)" I do receive the Attribute Value as output. In the attachment you find two files. In one you can see the results of the settings from the configuration menu. Please take into account only "Foutmelding" and "Fouttype". "Foutmelding" makes use of the above described textstring while "Fouttype" makes use of the type attribute name-setting.In the other you can see the output seen from the FME Data Inspector. As can be seen the attribute "Foutmelding"
I've got a big workspace (running on desktop 2019.1.1.0) that uses a few embedded custom transformers to perform some fairly complex calcs. I actually call one custom transformer a lot of times. This worked OK when I had about 75 of the transformers in the workspace, but now that I have about 90 it is returning the error "Too many recursive macro substitutions..."I think there is probably a way I can use looping to physically reduce the number of transformers in the workspace, but this will be a very big effort and I'm not sure there is any guarantee it will actually fix the problem.Has anyone seen this before and know what the issue is?I have found a couple of unanswered questions about this when searching in the previous questions. thanksKeith
Let's say I have 10000 features going thorugh my workflow and 7000 do not pass a test. I want to send a single message (to whatever) and not a message for each feature.I know there's many ways of doing this but I'm looking for the most efficient one. Maybe my approach is wrong, but I've considered any transformer that lets me get a single feature and then I build the message with an AttributeManger or an AttributeCreator:Sampler: 9999 features would go through the NotSampled portStatisticsCalculator: I actually have no statistics to calculateAggregator: may be the best optionAny other?
Hi, I could probably work this out over days (weeks!) but I figured asking the question here may be a quicker method to the end goal!As a first line, I am working in FME(R) 2018.1.0.0 (20180717 - Build 18520 - WIN32) which is unchangeable due to it being what is installed/available at my place of work. Just in case this affects a solution.Also, this is my first time posting here, so apologies if this is vague/long winded/wrong format etc.I have a spreadsheet with each row being a project and multiple columns showing the names and addresses of people involved in the project. I have successfully run this through FME to amend the various raw details into the format required to distribute as I require.However, I now need to generate a duplicate free list of all the 'contact name'/'company name'/'postcode' which I will then be able to reference back to the original format of the spreadsheet (i.e. a row per project with multiple 'contact name'/'company nam
Hi Everyone, im new in FME and still learning a lot. I want to Sort some Files by their Filename.For Example:in Directory are few Files: E006N52_ed2.zipE025S23_ed4.zipW312N34_ed1.zipetc....Now i want to Sort them by:All E..... in one Way (Output on html as: All East Files)All W.... in one Way (Output on html as: All West Files)Hope u understand what i mean ;) Greetings
Hello there!I was creating a report from a database and I had the idea to pimp my report with the ExcelStyler, to impress some colleagues. I realized very fast that when I put a conditional value on Background Color or Font, I can't write without an error into an Excel file when I have too much features. I can click yes, but I don't get any color/font, the ExcelStyler hasn't worked.To explain the problem I created a workspace I attached . I put a conditional value on an attribute and I write it into Excel. I added a Sampler because as you'll see, when I write exactly 21809 features it's working, but higher than that, it's not, I get the error. Am I doing something wrong?I'm using FME 2018.1. Thanks.
Hello guys,i have a feature class with the county of new york, some one say to me that if want to iterate through the county i need to :"Create a published parameter for the county (name or id) to limit the workspace to one county.Create a second workspace with a reader for the counties."I dont really know how to create a published parameter on a attribute value like the name of my county feature class. who could help me ?
Hi,Usually when accessing API data I can pass my user credentials using a HTTP caller and then the name of the API service.However, for the service I'm using now its asking me to log in first, then access the API using a url. I can use a HTTP caller to pass my login credentials to the server, which results in a successful response: how then do I use the results of this to access the API service, which looks like this: https://sww.watercore.net/API2.ashx/GetAvailableChannelListForExport Thanks,N
Hi all, Has anyone had any luck trying to calculate a radius of on object from a point cloud?I have point data for several structures (e.g., wind turbine, water towers etc) and I have a fairly detailed Surface Model. Seems to be quite a tricky task for FME. I would probably try and clip the point cloud by some buffer which I assume will be bigger and then try and get all points which are some percentage of the max height withing the buffer.Once I have the points then it would be about creating a convex hull and calculate radius based on area (assuming a circle). Pretty crude... Any other ideas would be welcome. Thanks in Advance
Hello!I have 2 workspaces. The second workspace call the first with a workspace runner.The user of the workspace will launch only a .fme file. So for the moment, I use published parameters to fill the parameters on the workspace runner. But it's very long and if I update the first workspace I have to change the second one.So there is a way to show the parameters of the workspace runner directly on the form when the workbench run ?Thanks!
I am using looper to modelize the daily temperature. I want to input different values from different cells in Excel to do the calculation in each loop.(For example, input Value A1 to calculate Loop1, A2 to Loop2 ) Is it possible for me to do that in FME?
I want to read different csv files that includes coordinates and do some calculation with this coordinates. The attribute names differer from file to file: x, y or a, b or lon, lat ... The calculation is the same for all input files. I have created internal names for the coordinates like wgs84_lon and wgs84_lat. I want to create parameters to let the user assign which attributes in the source csv includes the values for wgs84_lon and wgs84_lat like x >>> wgs84_lony >>> wgs84_latI have used an dynamic csv reader and tried to use the AttributeCreator and publish some of its parameters but this did not work for me :-(I am looking for a solution that works with FME Desktop and FME Server.Can anybody help me?
I have a folder of pdf files. I would like to extract the names of the files and put them into a separate rows into a column. Attached is a screen shot that shows examples of the files.
I have a line network and need to calculate the angle for each line vertex. I have tried using PolylineAnalyzer but unfortunately it doesn't calculate the angle for all vertices when I used it in the main workspace. Too many vertices miss the angle value. As for now, I use PolylineAnalyzer in a second workspace which I execute for each line in the line network and write the results to a csv. This does, however, take a looong time. It is the attribute AngleBetweenLines I am after.
I'm looking at starting to publish some of the custom transformers I've been putting together and it occurs to me that while I want to publish them on the FME Hub under an open source license (like MIT, requiring only attribution and nothing else to use), that perhaps I'm not able to as FME itself is proprietary. So I was wondering if I can get some guidance on what I can open source and what I cannot?For example, if I create my own Python code, that is mine, but if I'm importing fmeobjects, then technically I'm bound by the license for that as my code depends on it.Similarly, if my transformer just uses the .fmx format, then it heavily depends on the FME internal factories and functions. This would be especially true if my transformer was based on an existing transformer first.As I'm looking at open source, I'm not looking to get any money out of this. It's just nice to get recognition in the long run. Particularly if Safe one day likes my idea and want
Hi, I am using the websocketSender transformer to stream some data; when I am using the template in the data to transmit as below: { "ws_op" : "send", "ws_msg" : "FME Rocks" } I have no issues; however when replacing the "FME Rocks" with the attribute name, nothing happens. For example, if I have an attribute named "id", here is what I do:{ "ws_op" : "send", "ws_msg" : fme_get_attribute("id") }I don't get any errorr, it is just that data is not transmitted compared to the first case.Any pointers would be much appreciated.Thanks.Lyes
Hello, I am reading a number of input files that are then processed all-together and split into multiple subfiles based on an attribute, using fanout. The reason of running them together is that there are 30 inputs and each input generates 3 outputs, so that would be 90 writers in the workspace.Fanout works fine. However, because each input has slightly different Attribute Definition, in the end the final outputs have an accumulation of all the attributes, most of them being empty.I wanted to know if it is possible to take a different Attribute Definition for each input, if that makes sense? So each output after fanout would have exactly the attributes that it needs to have, and not lots of empty ones that come from the other files.
I am trying to set up a process where I have a bulk dataset of approximately 77,000 records and will be needing to do weekly updates. The first incremental update had 48 records so I am trying to do UPDATE, INSERT, DELETE of these to my bulk dataset with 77,000 records. I have set up a process that looks like this. How do I compare the records before I write it out though and is this the best way to do it but can't seem to get this process to work using change detector. When I looked at the bulk record it had only added 12 records but thought I would get 13 extra records based on my workbench.
Greetings,I received an .osgb file w/ textures that I need to convert to an .obj so that I can open it in Maya- I also need the supplied textures to link to the .obj. I downloaded and installed the Mac trial FME software and received the activation key but when I click on FME Workbench, the prompt to insert the activation key does not appear- please tell me what I'm overlooking, thanks. Attached shows my downloaded and installed FME software
Hello, I belive the answer to this question is quite easy, but I can't figure it out or can find it in any documentation. I have some trouble simply setting up a Published Parameter with a list. I have tried to set up a comma separated, a blank separated and an ordered list, but with no succes of retriviewing the attributes. What I have in mind is: myList{0} value1 myList{1} value2 myList{2} value3 myList{3} value4 myList{4} value5 myList{5} value6 How do I configure the Published Paramter to store this kind of list in it?
I am trying to string together some workspaces to create output from several drives and I think i need to keep the output separate in order to be able to process the latest files from each output. First i am trying to keep the input and output as pairs and thought i need to have parameters in a workspace and call a workspace runner to feed those parameters into. But now i don't see how to do that. Now it looks like i need to have a parameter file and have all of the input. Right now i have the following parameters I1 needs to be run with O1 I=input, O=output. I also need to have specific layers queried when I1 is run. that is an attribute named L1.someone please help.
Hi,I need to design the following process:1. I move the object to a specific point (x, y)2. I check if it fits in another training ground3. generate another object with offset (dx) I repeat steps until dx <1.01 I did it like this: When I created the loops I got a message So I click YES and create custom transformer: But when I start the process I don't get the result from the loop... Does anyone know the easier way? or knows what I have to change?
Hello,I am working on writing large amounts of data to ArcGIS portal and due to these data sizes I am getting 502 Server Error: Bad Gateway errors or the token expires before all the data is uploaded.I have created a workflow that works OK, but isn't perfect, which I'll describe below, but I'm wondering where anyone would have other recommendations.So the first thing I do is empty a feature service on ArcGIS Portal of any existing data to give an empty data structure to upload new data into. I do this using a Feature Writer with Writer Mode set to DELETE. An alternative would be to use the truncate first option.Once the deletion has completed I use a Feature Reader to read in all the new data I want to upload. This data's schema matches that of the dataset on the Portal.To avoid the Bad Gateway and Token errors I divide the data into more manageable volumes and use a workspace runner to batch process the uploading of these into ArcGIS Portal. To do this I add a Counter
Hi, I have several feature classes and I'd like to dissolve them one by one, they all have different attribute fields, I only know which fields to exclude. And because there's no tolerance in LineCombiner, I hope to use Arcpy to do the dissolve processing like @daveatsafe demonstrated in the link below:https://knowledge.safe.com/articles/47216/using-arcpy-for-fme-feature-processing.htmlIs it possible to make this happen?