[gdal-dev] Closed polyline from DXF as line or area?
Jukka Rahkonen
jukka.rahkonen at maanmittauslaitos.fi
Mon Jan 26 06:18:43 PST 2015
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-
More information about the gdal-dev
mailing list