Ticket #1784 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

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

Changed 7 years ago by fwarmerdam

  • status changed from new to closed
  • resolution set to fixed
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.