Creating and organizing workspaces. How to use Workbench.
Recently active
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?
Hi guys, I'm trying to work out if there is any performance difference between linked vs embedded custom transformers vs Custom Readers I have a workspace which is getting really large and working with Linked Custom transformers and custom formats is much nicer for development and being able to make changes, however, I want to make sure there is no hit to performance. Has anyone looked into this already? Is one faster than the other? Thanks in advance
Hi!If 2 workbenchs run at the same time, each one with a workspacerunner calling the same workspace, is that a problem ? Could it create conflict? If translation failed for one user, does it affect the second user?Thanks!
Firstly I'm fairly new to FME so this might be something so simple but I couldn't find anything. My aim is to read a Geopackage (that may or many not have many layers) and grab a specific layer from that Geopackage that is defined by a user param and write it as a Geopacakage with the associated schema.I started playing with the feature reader and using the Feature Reader with Feature types to read but the output port doesn't change after the first run through.This has to be something simple I'm missing.
Hello thereWe are using change detector in order to update a large data base with million if recordsIs there a wày we could speed up the detection processThanks
I am trying to download a set of GZIPPED log files from Amazon S3The file listing is working but the downloader rejects all files.In my logs I see:-S3Connector_CATCHER (TeeFactory): Cloned 1 input feature(s) into 2 output feature(s)S3Connector_ROUTER (TestFactory): Tested 112 input feature(s) -- 112 feature(s) passed and 0 feature(s) failedS3Connector_OUTPUT Feature Counter -1 6 (TeeFactory): Cloned 112 input feature(s) into 112 output feature(s)S3Connector_INITIATOR Feature Counter -1 2147680258 (TeeFactory): Cloned 1 input feature(s) into 0 output feature(s)S3Connector_<REJECTED> Feature Counter -1 2147745794 (TeeFactory): Cloned 0 input feature(s) into 0 output feature(s)S3Connector_2_CATCHER (TeeFactory): Cloned 112 input feature(s) into 224 output feature(s)S3Connector_2_ROUTER (TestFactory): Tested 112 input feature(s) -- 0 feature(s) passed and 112 feature(s) failed What am I doing wrong here?