More

Need links on DWG to GDB conversion using FME Workbench

Need links on DWG to GDB conversion using FME Workbench


I am using FME workbench (trial version) to convert .DWG to .GDB (ESRI Geodatabase [file based]). I have mapped the Writer attributes with the exact Writer attributes. In fact, in the test database that we are using, there are only 5 fields with char(255) datatype, so no problems while mapping them.

Now when I run translation, it says 'Translation was SUCCESSFUL'. But also gives following warning:

During translation, some features were read that did not match a reader feature type in the workspace. This can happen if the reader dataset is changed, or a reader feature type removed or renamed.

If I test in ArcCatalog, the destination FeatureSet is created will all shapes, but WITHOUT fields mapped from Reader to Writer. If I preview table, it displays the table with all the rows with only Object_ID, Shape and Shape_Length fields, but not the attributes that were mapped from Reader to Writer.

I am aware that it might not be possible for you give any comments without having a look at the workspace. But can someone provide me some links to tutorials showing .DWG to .GDB conversion using FME workbench.

Thanks in advance


This message:

During translation, some features were read that did not match a reader feature type in the workspace. This can happen if the reader dataset is changed, or a reader feature type removed or renamed.

… should have nothing to do with how the data is written, just what is read. This FME Evangelist post should explain that part of the process.

With the attributes, one possible problem is that you aren't over-writing the original Geodatabase. ie once you run the workspace w/o creating the attributes, then future translations will never add them unless you overwrite the Geodatabase or at least drop the table. FME can create a table, but not modify one.

So, check in the Navigator window for a parameter to delete the geodatabase first, or open the Feature Type (table) properties dialog and click the Parameters tab for a parameter to drop the table first. Hopefully this will solve the problem.


You need to understand the CAD file format (DWG have many variants) and going to a folder based format (File Geodatabase).

Note: ArcGIS does need to be installed for conversion to ESRI Geodatabase formats. [But not shapefiles]

Here is a video from Safe Software last week [22nd November 2011] CAD to GIS formats

http://www.safe.com/solutions/for-data-types/cad-to-gis/

You will pick up on that workbench is much more than a data translation tool, it is an Manipulation Tool [hence the M in FME]


I think what you need to do is create the attribute fields (as User Attributes) in your target and then, if the target/source attributes are not named identically, you may have to explicitly map the source attributes to those new target User Attributes.

If you have a lot of attributes, you can also import attribute fields from the Writers menu:


Watch the video: CAD to GIS: Converting DGN to Esri Geodatabase