Opened 12 years ago
Closed 12 years ago
#4081 closed defect (fixed)
shape: Wrong interpretation of origin of triangle fan when there are multiple parts
Reported by: | Even Rouault | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.8.1 |
Component: | OGR_SF | Version: | 1.8.0 |
Severity: | normal | Keywords: | shape triangle fan multipatch |
Cc: |
Description
The current code assumes that the origin of the triangle fan is always vertex 0, but when the multipatch is made of several patches, the origin should be the psShape->panPartStart[iPart] th pixel.
(Error detected when testing the same code used to decode a PGeo geometry)
Note:
See TracTickets
for help on using tickets.
r22347 /trunk/gdal/ogr/ogrsf_frmts/shape/shape2ogr.cpp: shape: fix decoding of triangle fan in a multipatch made of several parts (#4081)
r22348 /branches/1.8/gdal/ogr/ogrsf_frmts/shape/shape2ogr.cpp: shape: fix decoding of triangle fan in a multipatch made of several parts (#4081)