Question

Extracting x, y, z values of lines and polylines within a AutoCAD .dwg file

  • 12 February 2020
  • 2 replies
  • 94 views

I have a few AutoCAD drawing files (.dwg) that have a number of 2D and 3D lines and polylines. My goal is to extract all the vertices of each individual line so that I can store it within my GIS database (PostgreSQL). Additionally, I want to extract the layer name and a few other attributes.

 

 

Is there a way to extract this data and convert it into a Shape file (.shp) ?

 

 

Cheers

2 replies

Userlevel 2
Badge +16

For Extracting X, Y and Z you could use the CoordinateExtractor transformer.

The name of the AutoCAD layer is stored in the fme_feature_type attribute, that can be exposed on the reader feature types.

Hope this helps.

What is the polygon z-points does not show with this, what to do? I know they are in there because it´s measured data, but how to get it out? This did not work.

  • K

Reply