Creating and organizing workspaces. How to use Workbench.
Recently active
How to split a delimited string with a carriage return to create a stacked list. Example:Input = A:1-100+B:1-300+C:1-600Output = A:1-100 B:1-300 C:1-600 The output will be stored in a multiline attribute in AutoCAD 2017.
Is FME 2022.1.x still supporting custom formats? Can someone share the documentation to create and consuming a custom format in FME 2022.1.x. Custom format that I have created in FME 2022.1, published user parameters not getting exposed. Means, published user parameters of the custom format are not available to set in the consuming (as Workspace Resources) workspace.
I am using Data Interoperability (Build 21302) from Pro 2.8.4 to frequently refresh tables in an ArcGIS Enterprise Geodatabase. The tables are registered and published to Portal. The client is using the data in web maps, apps and dashboards in ArcGIS Enterprise Portal and require specific web layers to have little or preferably no time where it's empty of data. Instead of using the Truncate and Append to Existing table in the ArcSDE Writer I am using the ChangeDetector to set all new features coming in as both "Inserted" (containing the latest data / timestamp) and "Deleted" (data from 5mins ago) then in the writer match by Unique ID. From testing this enables a "seemless" refresh with minimal time of the table appearing empty in Portal. Is this method at all stupid or precarious? If so, what is a better solution. Additionally is it risky to read in and write to the same table in the same workspace? Background Notes:One frequently refreshed table can
Hi All, I have script written in Py3 in ArcGIS Pro 2.8, it uses pyodbc lib to connect to Non GIS SQL Server database. ArcGIS pro needs to be a cloned env. I want to schedule this script as FME workspace (Ver 2021.2) using Python caller to run the script. The issue that I am having is that it’s not able to find the Cloned environment and not able to reach pyodbc library. I have implemented all the suggestions from this Safe Community Article. https://community.safe.com/s/article/choosing-a-different-python-interpreter-installati#SettingACustomInterpreterForDesktop I am looking for some feedback on hoe to have FME Desktop point to the clone env. It points to the following path: C:\\Users\\testUser\\AppData\\Local\\ESRI\\conda\\envs\\arcgispro-py3 I need to update so that it points to the following path: C:\\Users\\testUser\\AppData\\Local\\ESRI\\conda\\envs\\arcgispro-py3-clone The error that I am getting is: Python Exception <ModuleNotFoundError>: No module named 'pyodbc&#
I'm working on a workflow to convert a DWG file to KML file. I noticed that DWG files may contain Autodesk (ACAD) and/or Civil3D type features, so I added both Readers to my workspace to handle both. Features coming from the Civil3D Reader do not convert to KML well. See attached screenshots. I want to replicate how the Civil3D 2 KML looks. This was performed using the Civil3D Export To KML tool. The FME conversion looks very different. I tried toggling the Explode Blocks To Entities in the Civil3D Entities setting, but it didn't seem to make a difference. Overall, I want my FME conversion tool to produce a KML that looks just like the drawing does in Civil3D. I'm looking into ways to Explode or Drop the drawing so that it breaks down to simple linework if that makes sense. Does anyone have any suggestions?
Has safe adopted the standard for related tables in geopackage (writing/reading)?If so, how do I go about it?
Environment - Ubuntu 16.04 LTS Docker Host, running FME Server 2018.1.1-20190122 images I am receiving an error - There was an error submitting the job - when trying to run a workspace within FME Sever. Digging through the FME Server logs I find the following error within the Resources > Logs > tomcat > fmeserverweb > localhost current log.07-Mar-2019 09:05:10.300 SEVERE [http-nio-8080-exec-1] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [JobRunnerForm] in context with path [/fmeserver] threw exception java.net.ConnectException: Connection refused (Connection refused) at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:3
I really try to keep things nice and organized, but apparently all it takes is opening one bookmark and all heck breaks loose!!! This happens all the time and it's really straining my relationship with FME. I was working on another part of the workspace before noticing the chaos. I can't just hit undo. If anybody has any tips, it would be much appreciated. With Dynamo, I don't have this problem. Devs, are you listening?
When writing to a csv file with the following settingsIf writing a value such as 18" pipe the field is written to the csv file as18" pipeThis is different behaviour to the 2015 writer where this would be represented as"18"" pipe"It looks like the 2019 writer doesn't consider the presence of a single quote character to warrant the field value to be quoted (although i would consider it to be an unsafe character)Is this expected?
Following some helpful advice from Shannon in the FME Customer Success team, in place of a jobs board on the FME site I was advised to post a current position we are recruiting for here. We are looking for a seasoned FME Professional with Desktop and Cloud skills to support a team of geoscientists and help mentor 5 or so other FME users within the office. The role within Landmark Halliburton is to continue to develop our suite of geoscience products which include a range of 2D and 3D continental and global scale geological representations of the Earth - see Exploration Insights for more information.Within the role you will be working on further innovations to the product range and helping to shape the direction of product delivery. If you have OL3 and GeoServer experience as well that would be a fantastic bonus.If you are interested please apply through:this linkThe role is permanent and based in the Oxford office in the UK, the salary range will be between £50 - 70k depending on exper
Error message with filename wb-xlate-...
Hi Community, does anybody know a way to force FeatureWriter to wait for completion of a writing task of a feature type before the next writing is triggered? I'm trying to delete features on a database (Oracle Non Spatial) with constraints on the affected tables. So I must enforce a specific delete order. Currently I use a rather complex mechanism with mutiple FeatureWriter transformers in chain and would like to tie them down into one FetureWriter. If a FeatureWriter could be configured in that way it would also be great to do the action within a single transaction. Is this possible too?
We have an automation that runs and outputs a report result as a HMTL page using the data streaming service. Our testing did not have any issues, but in our production system, it appears if the job is queued, the web client times out, although eventually the job completes on server. If there are not jobs in the queue, or the job is a quick job it completes without error. Does anyone have any ideas on why this is occurring?FME server 2019 with 3 engines.
I want to simply add a folder with 3 subfolders to an S3 bucket. I'm using the S3Connector transformer and it seems you need a file to Upload to an S3 folder to create a folder, whereas, it seems to me that you can't only add a folder w/o having a file to upload it. I tried adding a csv file to each subfolder to setup my folder structure in S3 and that works to get the main folder w/ 3 subfolders each containing an empty csv file. I then added 3 more S3Connector transformers w/ the Delete option to remove the csv files from each subfolder thinking then I would have the desired folder setup without any files in them. This doesn't work because when you delete the only csv file from the subfolder, it also removes subfolder leaving nothing left in S3. Is there a way to create the desired s3 folder structure without adding a file? Or is it possible to delete the file from the subfolder without removing the subfolder?
What is the FME syntax required to assign a <null> value? Inputting <null> seems to return the string '<null>' and not a bonefide <null> (greyed out FME version). Some fields offer <null> in the drop down, but some do not and require the user to input, such as...Thank you.TylerFME WorkBench 2021.0
Hello,In one field, I want to keep all string values matching the regex:\\d{4}-\\d{2}-\\d{2}and relegate all strings NOT matching that string to:<null> See following image for my attempt where I developed ^(?!\\d{4}-\\d{2}-\\d{2}).* as the negation of \\d{4}-\\d{2}-\\d{2} and set replacement to <null>. This did not work. Any pointers would be greatly appreciated!Tyler
Hi,I am translating a DGN file to File GDB using dynamic schema.In DGN reader, i can see so many extra attributes like attribute.color, attribute.length etc. I want to ignore those attributes in file GDB writer.I am using attribute keeper but it is not working in case of Dynamic Schema, Please guide.Thanks in advance.
The workbench is checking where lines, points and polygons intersect with 2 other datasets (one a polygon dataset, the other a line). The workbench worked when initially built but after saving and coming back it no longer runs with the following message being displayed. Starting translation...Too many recursive macro substitutions -- line currently is: `OS_MASTERMAP_WATER_NETWORK_GML_2_DATASET "$(SourceDataset_OS_MASTERMAP_WATER_NETWORK_GML_2)"'Program TerminatingTranslation FAILED. I've attached an image of what the workbench is looking to do. Inputs are mid/mif and gz. Outputs are xls and geodatabase. Any idea why this might be happening and how to fix would be greatly appreciated.
I am trying to create a new attribute for each element in a list. The tables below show the desired outcome. Here is an explanation.For every item in the MASTER list I am loading its corresponding detail list and saving it as a parameter. I want to take the corresponding list and transform it to the example below. I could accomplish this with a database view or query, but would like to be able to do it in FME. I can assume that all ITEM_NAME values are known, which means all the possible attributes that I need to add could be added ahead of time if needed. Note that for every record in the master list, it won't have all of the possible ITEM_NAME values. My process right now is very brute force, and I am thinking there may be a transformer I haven't found that does this or a variation of this easily. MASTER ListIDNAME1Bill2Sally DETAIL ListMASTER_IDDETAIL_IDITEM_NAMETYPECOLOR1AShirtLongRed1BPantsJeansBlue2CShirtShortGreen2DPantsDressPurple2EHatBaseballRedTransformed Mas
To transform a 3d model into a straight line, need matrices and quaternions? Who has a good method, I hope to explain, thank you
Is there an easy way to remove accents from characters that are contained in an attribute?
The Scaler transformer looks to be the sort of thing I need, but seems to scale the entire feature, rather than just the top face. I seem to remember, years back, a tutorial where 3D features were deconstructed, altered, and re-combined again, so maybe there's a solution that works like that? Thanks.
I'm trying to create a conditional parameter value in a WorkspaceRunner, based on an attribute value. I can do this, as the WorkspaceRunner is allowing me to fill in conditional values for the parameters, however, every time I click OK and reopen my WorkspaceRunner, all these conditional values are reset and again replaced by their hard coded values, as read from the model that the WorkspaceRunner is calling.Is there a reason for this behaviour or is this just a bug?I'm using FME 2018.1 build 18547 WIN64.
Hello,I would like to make an FME Server app which allows the user to download data from Resources folder from FME Server (these files are html files generated by another automation).Now, in my workspace I am using "Directory and Files pathnames" to get the path to all these .html files located in different folders. I am blocked now because I have no idea how to continue my workspace to download the files. Any ideas? Thank youNicu
So, I'm looking at this question on StackExchange.The user has color blindness and has trouble reading error messages in the FME log, because they are colored red.I've filed an enhancement request and we'll work on adding those to our special color blindness theme.But, in the meantime I was wondering if we could do something else to help. They don't want to have to copy/paste the log to check for errors. So I was thinking perhaps a shutdown python script that automatically extracted error messages? Or even a script that just popped up a dialog saying "there has been an error"?Any thoughts? My Python skills are pretty limited. And yes, I just tweeted recently how I never needed them, because of FME. Ironic (or perhaps moronic) is the word you're looking for!NB: I'll treat it as a challenge and award extra reputation points for really good solutions.