This project has moved and is read-only. For the latest updates, please go here.

Shapefiles with M measures don't seem to be supported

Jun 5, 2011 at 5:26 PM


Shapefile of shapes with measures don't seem to work. That is, shapefile with PolylineM shapes instead of Polyline shapes have trouble being read by the library. Any ideas why that might be?

Jun 5, 2011 at 7:13 PM


The library only supports 2D shapes so anything with a Z or M coordinate isn't available. Adding additional shape classes is fairly straightforward, if you're interested in doing this download the source code and look at how the existing shapes are parsed to see how to extend the library. If not, I may get to this at some point, but likely not very soon.


Nov 20, 2011 at 11:07 PM

PolyLineM support has been added (version 1.30).