Ticket #4081 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

shape: Wrong interpretation of origin of triangle fan when there are multiple parts

Reported by: 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)

Change History

Changed 2 years ago by rouault

  • status changed from new to closed
  • resolution set to fixed

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)

Note: See TracTickets for help on using tickets.