Spotted from gis.stackexchange:

http://gis.stackexchange.com/questions/131765/ogr-dxf-closed-polyline-conversion

The DXF driver documentation claims that closed polylines from DXF are
converted into polygons but that does not seem to happen. By comparing the
DXF snipped from stackexchange

ENTITIES
  0
LWPOLYLINE
  5
20000
  8
0
100
AcDbEntity
100
AcDbPolyline
 70
1
 90
4

with a DXF specification
http://www.autodesk.com/techpubs/autocad/acad2000/dxf/lwpolyline_dxf_06.htm
I can read that LWPOLYLINE [code 70] is defined with flag 1 [closed]. But
could someone interpret what does it mean in GIS context? Should a closed
CAD polyline be translated into LINEARRING or POLYGON in WKT?

-Jukka Rahkonen-



_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to