shape: Wrong interpretation of origin of triangle fan when there are multiple parts
|Reported by:||Even Rouault||Owned by:||warmerdam|
|Severity:||normal||Keywords:||shape triangle fan multipatch|
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)