Opened 18 years ago

Closed 18 years ago

#1784 closed defect (fixed)

mapshape.c does not handle POLYGONZ (15) shapefiles produced by OGR

Reported by: ethan@… Owned by: warmerdam
Priority: high Milestone:
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc: ethan@…

Description

Line: 2279 of current CVS has:

if(psSHP->nShapeType == SHP_POLYGON || psSHP->nShapeType == SHP_POLYGONM)


Needs to be:

if(psSHP->nShapeType == SHP_POLYGON || psSHP->nShapeType == SHP_POLYGONM 
||psSHP->nShapeType == SHP_POLYGONZ)


I compiled my local version with this change and I can now view shapefiles 
producted with SHP_POLYGONZ (15)

Change History (1)

comment:1 by fwarmerdam, 18 years ago

Resolution: fixed
Status: newclosed
The problem was actually on line 1199.  Fixed in 4.9 and 4.8.x.  No testing
done. 
 

Note: See TracTickets for help on using tickets.