Opened 17 years ago
Last modified 15 years ago
#1415 closed defect
ogr2ogr/shapefile fails to generate valid polygons with hole touching boundary — at Initial Version
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | normal | Milestone: | 1.4.2 |
Component: | OGR_SF | Version: | 1.3.2 |
Severity: | normal | Keywords: | shapefile |
Cc: | llo@…, warmerdam, Markus Neteler, frederic.claudel@… |
Description
Using ogr2ogr to generate a shapefile will produce invalid polygons with hole if the hole touches the outer-boundary in one point. It produces a simple polygon without any hole, and ONLY a self-intersecting boundary. This ONLY applies to shapefiles, no problems found with postgis or tab-file writer. Example polygon in WKT that cannot be converted to a valid shapefile: POLYGON ((0 0, 0 3, 3 3, 3 0, 0 0), (0 0, 1 2, 2 1, 0 0)) /Regards Lars
Note:
See TracTickets
for help on using tickets.
OGR shapefile patched for touching polygons