[gdal-dev] Closed polyline from DXF as line or area?
zoltans at geograph.co.za
Mon Jan 26 06:28:06 PST 2015
My first thought is that the documentation must change.
If I had perimeter fence features on some agricultural fields, I would
want the field feature to be a polygon but not the (closed) fence feature.
Surely the flexible way to go is exactly what is currently happening.
If a DXF user wants to create polygons from closed lines then surely
that should be a post-process. ie: select lines with layer=x,
linestyle=y etc etc, and convert these to polygons?
On 2015/01/26 16:18, Jukka Rahkonen wrote:
> Spotted from gis.stackexchange:
> 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
> with a DXF specification
> 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 at lists.osgeo.org
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services
P.O. Box 7, Muizenberg 7950, South Africa.
Fax: +27-86-6115323 www.geograph.co.za
More information about the gdal-dev