Skip to main content
Question

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

  • February 12, 2020
  • 2 replies
  • 530 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

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • February 12, 2020

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.


katitahonen

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

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings