Using readers and writers to extract and load data.
Recently active
I am looking into the possibilities to proces IFC_XML messages within FME. I found that the current IFC and Revit readers are not able to read IFC_XML files.One approach is to build a custom reader / transformer / workspace to interpret IFC_XML messages. I think it would be a lot of work to make a custom implementation of the IFC_XML standard in FME. Especially difficult to interpret the geometry of the objects.Another approach would be to use a third party tool (e.g. python library). But i am struggling to find something appropiate. I have only found xBIM Toolkit so far (which is .NET based). I am playing with the idea to see if I can use this tookit to create custom IFC_XML transformer in FME.I would like to hear from others who are experienced with using this format. How would or have you tackle(d) this?
Hi!I am at the moment struggling with reading Civil3D Files(created in Civil 3D 2017/older). I end up with a lot of strange looking Chambers/Structures & most of the Pipes end up as lines. Please see Pictures & attached Example File . The Designer in this case i using a Plugin called "Naviate", which is mostly used in Sweden(I think). These Pipe Networks are also modeled with a huge radius(Which is a bit uncommon I believe). Therefore I thought this could be the source of the problem, and tried creating test networks in a "plain" Civil 3D, to check if it´s due to the Designer/plugins/etc. However I end up with the same result. -------Any known bugs? -Possible to get a test Workspace + test File? -Any guidance on the Topic would be vary helpful.------I attended an inspiring presentation by Dale, showing a neat workflow to handle the Civil 3D Files & the object. Note sure if this was in the 2019.1 version, but as I understood, this should also be possible
I have an issue with a DatabaseUpdater command.It seems to initiate a SELECT * FROM MyTable before it does the update SQL command which is fine for one of my tables as I don't have masses of data so it completes quickly then carries on and does the updates. One of my tables however has millions of rows so doing a SELECT * on this is clearly never going to work and basically locks the table out and becomes unusable.Here is my flow so a csv input passes through a tester then calls to the DatabaseUpdaterSQL Trace:Does anyone know why it needs to do the SELECT * and how I stop it from doing it so my updates run?
Hi,I'm simply trying to convert a DWG to ESRI shapefile but the DWG has no spatial reference. I'm aware of the ability to add DWGs in ArcMap, however, the scale on the DWG file is exaggerated. Below is my FME tool that I setup per FME tutorial and still get the same results. The layer is spatially wrong size and location. When I run the inspector the CRS and units are unknown. What am I missing? Thanks!
I need to write features, coming from a WFS, into PostGIS (I'm using FME 2017.1 Build 17532).Requirements: 1. As the WFS delivers lots of feature types I want to do it dynamically (Dynamic Schema Definition) 2. I need to change table names to lowercase (not only attribute names) 3. I want to dynamically delete all attributes containing "gml_" or "xsi_nil" in their names. No. 2: I copy the format attribute fme_feature_type to a new attribute that I call lowercase_feature_type and change its case. The original fme_feature_type goes into "Schema Definition Name" (so that the writer finds the original schema from the reader), lowercase_feature_type goes into "Table Name". Problem: Apparently there's still a bug in the PostGIS writer so that in the dynamic case the "Table Qualifier" parameter is not respected at all. I solved this by concatenating the desired schema name to lowercase_feature_type separated by a point before assigning
Hi I have used JsonFragmenter to read a json file and have ended up with a set of attribute values plus a list of values for each feature. I need to write the list to single attributes in a table based on the index. (see attached)e.g Signalstatus[0] written to field STATUS_0Signalstatus[1] -> STATUS_1 e.tc.Any suggestion ?
Morning all, I am loading a set of shapefiles into a PostGIS database using a shapefile reader and a PostGIS writer. If I accept the default workbench created by FME the data gets written to the public schema. Where/how can I set the schema in the writer that I actually want the data written to? Probably a simple solution... FME Desktop 2012 sp3 and PostgreSQL 9.1 with PostGIS 2.0 Thanks
I converted a gml data to cesium 3d tiles.It got converted to cesium 3d tiles correctly but the data is getting an extra added height.The 3d tiles data is not getting aligning properly with the basemap.The 3d tiles data is in the air.What could be the reason.Please check the attachment image.The tile is in the air.
Hey all,I'm just recently working with FME. We are using fme for converting xyz pointclouds to geotiff format. Converting is not longer a problem (thanks to the fast help here).But now i'm looking how i can set a boundrie for the geotiff. (drawn in blue) As you will see in picture i have added here the geotiff also gives elevation where there is no data. (blue circle).I know that in C3D i can set a boundrie for the geotiff or give a max triangle length(witch is not the best solution but also works for this problem). Is there anything like that possible in FME? Many thanks,Koen
Hi,I'm trying to wirte to a SDE database with postgres arcitechture. I've filled in all the parameters and I get this error message: An error occurred while attempting to open the table, feature class or relationship class 'datasetname.featureclassname'. The error number from ArcObjects is: '-2147467263'. The error message from ArcObjects is: {}What a lovely error message from ArcObjects, right..Has anyone experienced this, and know what can be the fault?Ps: I couldn't find the error number here: http://resources.arcgis.com/en/help/arcobjects-java/api/arcobjects/constant-values.html
On the safe software site, I realize that there are only 64-bit FME products for Linux. I have a 32bit oracle database and obviously use a 32bit client. How will this linux FME enable the Oracle reader?
Hello FMErs,I am wanting to read a .log file from a specific directory, run it pass a tester on a specific attribute and then output the result in excel file format. I plan to place this on the server for self serve.example file attached. I had to change the file extension to .txt due to attach rules.suggestions?thanks in advance.
I'm calling a child Workspace using a WorkspaceRunner. The child Workspace says translation was successful as does the WorkspaceRunner, but when I reviewed the log for the child Workspace, I noticed there were warnings like this: "Provider error `(-2147217873) Violation of PRIMARY KEY constraint 'xxxx'. Cannot insert duplicate key in object 'yyyy'". If this happens, I want the Workspace to fail/terminate. Is there a way I can do this? Would a FeatureWriter transformer rather than a normal Writer give me this functionality?
Hi Community,After reading this article here, I felt I should tailor my question for my particular challenge and request help from @GerhardAtSafe and @stewartharper, (and if you could point me to the youtube videos and github repo mentioned there I'd be so grateful!) My question pertains to creating a similar process as the "FME Cloud API return ZIP file", but with a few variations in the workflow.What I want to do is call a varying number of CSV files, created as output from another set of FME workspaces executed on Cloud/server, into a workspace(s) which parses some media UUIDs from a couple columns in the CSV into a single line item list. This list of media UUIDs is then used to pull the media from an S3 bucket, and push to another S3 bucket. Now, this next steps is where it gets tricky in the workflow. * How can I enable to ZIP up all the media into one zipped file, give it a date_timestamp file name, such as update_03OCT2018_0830utc.zip, (or what ever may come from s
Hello,I have researched this topic quite a bit and have not been able to solve my issue. I am simply wanting read ArcGIS online feature service layers. I thought it might be a proxy issue, but confirmed with IT that the proxy is fine. I put in my credentials and then click on the ellipses for Feature Service. It will simply look and then time out. I have also tried all the authentication types as well and none of them work.Is anyone else having this issue?
Good afternoon all, I'm trying to create a large nested JSON document from SQL to load into MongoDB. Currently I have managed to create the JSON file but i'm not able to load it into Mongo based on the size of the documents. The maximum size for documents is 16MB while my average document size is over 50MB. A solution I have thought of is to bucket each of the sub files so that instead of thousands of documents being embedded into each root there is a maximum limit of say 500 and then a new document is created with the same root, but a continuation of the Sub documents. In the end instead of a single 50MB document I would be left with say 10 identical documents that would hold different Sub documents from one another. I could then query the set of 10 documents using $unwind so that it treated them as a single document of sorts. Does anyone know of a way to achieve this within FME Workbench instead of loading all sub documents into a root?
I have a workspace which reads a CSV (CSV Reader) file for a parameter which is used in a web service call. At the end of the workspace, the CSV file is updated (CSV Writer). This approach work OK on fme desktop; however, when it is run on FME server 2017, instead of updating the CSV file (same file as reader), it simply returns the CSV file as a download--leaving the original file unmodified.Is there any way to ensure that the file which is consumed by the reader is updated by the writer?Thanks
Hi.I've just tried to create a large PNG raster mosaic. I get this error in the log file:PNGRASTER writer: libpng: Image width exceeds user limit in IHDRPNGRASTER writer: libpng: Image height exceeds user limit in IHDRPNGRASTER writer: libpng: Invalid IHDR dataPNGRASTER writer: Failed to write dataset ....The tile grid is 6 tiles wide and 12 tiles high, and each tile is 20000x20000 pixels.But what is the effective limit of a PNGRASTER output ?According to the libpng documentation, PNG allows 2^31-1 rows and columns, but libpng has "arbitrarily" set the maximum to 1 million. And that's well below my max 240K requirement.Cheers
Immediately following the TRUNCATE TABLE SchemaName.TableName SQL command, we have been getting the following:Error executing SQL: 'Underlying DBMS error [ORA-29859: error occurred in the execution of ODCIINDEXTRUNCATE routineORA-00942: table or view does not existORA-06512: at "SDE.ST_DOMAIN_METHODS", line 2352]'Then in another instance (on a separate table) we got this error after it truncated, but on the reloading data:An error occurred while attempting to insert a row into the table 'SchemaName.TableName' using a cursor. The error number from ArcObjects is: '-2147216072'. The error message from ArcObjects is: {Underlying DBMS error [ORA-29861: domain index is marked LOADING/FAILED/UNUSABLE] [SchemaName.TableName]}In both cases, the data was completely truncated, and we copied data back over from our production server. It still occasionally pops these errors up, but other times I can write just fine. We have been having this issue with more than just these 2 tables as we heavily use
I have xml data (see attached). I'm trying to get the following result from this data:ID= 9328Buffer PH = 6.39BS_CA = 68.2and so on. I have no issues flattening the data, my problem is that the "buffer PH" for example needs to be an column with value of 6.39 as the data. But with the way the xml is set up the basic flattening gives me a feature for every <Data/> tag. I can use the transposer, but then I lose other info related to that sample. This particular xml only has one sample, but there can be multiple samples.
I have been given a dgn file and imodel i.dgn that contain 3D solids and shapes. I can work with either file, but need to read the data into FME as 3D solids and translate them to a different 3D data format e.g. FBX. I have had the most luck with the .dgn file using the Bentley Microstation Design (V8) reader with some data read in as a fme_solid, but most of the data has a fme_gemoetry type of fme_line. Previously I had some success reading an i.dgn file using the Bentley i-model Interchange Format reader, but with this data it doesn't seem to read all the 3D objects. How can I read all the data from the dgn files as fme_solids? In Bentley View the model looks like this...In FME inspector using the Bentley Microstation Design (V8) reader it looks like this...In FME inspector using the Bentley i-model Interchange Format reader it looks like this...Note I'm using FME version 2018.1 and have 2019.0 beta installed
Hi.I know that FME is case sensitive per se, but I've just had it report some curious errors in an UPDATE operation.Apparently 5 fields with similar names were spelled differently case-wise in a database that's case-insensitive. E.g. one field was "ImageFile", another "Imagefile1". Renaming the attributes fixed that of course.Before that, it erred because I attempted to update a field with type "varchar(250)" with a value (created in AttributeManager) that FME determined to be "varchar(200)". Yes, really.And lastly, FME erred because there were extra attributes in the feature, that aren't in the database table. Instead of just ignoring them, which really ought to be an option. Removing them solved this issue.Updating a larger field with a smaller value should also just be accepted, and not throw an error.And FME already prompts the target database for all sorts of information before pushing data into it. Would it then be too much to a
conversion log:OBJ Reader: Token Unsupported: 'Ni' - IgnoredOBJ Reader: continue reading with next good featureOBJ Reader: Token Unsupported: 'illum' - IgnoredOBJ Reader: continue reading with next good featureFailed to read texture: 'C:\\test\\collada_data\\Sedan_W3_Destroyed\\sedan\\sedan_metro_orng_pan_burn_w3_d.tga'OBJ Reader: Token Unsupported: 'Ni' - IgnoredOBJ Reader: continue reading with next good featureOBJ Reader: Token Unsupported: 'illum' - IgnoredOBJ Reader: continue reading with next good featureFailed to read texture: 'C:\\test\\collada_data\\Sedan_W3_Destroyed\\sedan\\sedan_bottom_w3_burn_d.tga'OBJ Reader: Token Unsupported: 'Ni' - IgnoredOBJ Reader: continue reading with next good featureOBJ Reader: Token Unsupported: 'illum' - IgnoredOBJ Reader: continue reading with next good featureFailed to read texture: 'C:\\test\\collada_data\\Sedan_W3_Destroyed\\sedan\\sedan_w3_decals_d.tga'OBJ Reader: Toke
I am trying to create a proof of concept. Reading a web service and then writing to a sql server db. I am using the XML format for the reader. Getting the error message below: Starting translation... FME 2018.0.1.1 (20180615 - Build 18312 - WIN64) FME Home Edition (node locked-crc) Temporary License: 265 days left. Machine host name is: 8BCCFH2-LT Operating System: Microsoft Windows 10 64-bit (Build 16299) Copyright (c) 1994 - 2018, Safe Software Inc. Safe Software Inc. Potentially retrieving dataset 'https://www.applitrack.com/Littleton/api/AppliTrackAPI_v3.svc/Universities()' for reader Retrieved file C:\\Users\\tgolden\\AppData\\Local\\Temp\\FME_TempFileStore_1538683504282_11704\\Universities() for reader Creating reader for format: XML (Extensible Markup Language) Trying to find a DYNAMIC plugin for reader named `XML' Loa