PointZ records are not read in properly. To fix this line 188 in shapefile.py
should read
185 if shapeType == 11:
186 record.z = unpack("<d", f.read(8))
187 # Read a single M value
188 if shapeType == 11 or shapeType == 21:
189 record.m = unpack("<d", f.read(8))
This is documented on page 15 of the ESRI white paper.
http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf
Original issue reported on code.google.com by ledere...@gmail.com on 18 Apr 2011 at 6:42
Original issue reported on code.google.com by
ledere...@gmail.com
on 18 Apr 2011 at 6:42