I have written a Delphi library for reading shapefiles. Now I'd like to test it with some real data, but cannot find any shapefiles containing the "M" variety of data:

I have written a Delphi library for reading shapefiles. Now I'd like to test it with some real data, but cannot find any shapefiles containing the "M" variety of data:

* PointM, MultiPointM, PolygonM or PolylineM
* and also "Z" data (PointZ, MultiPointZ, PolygonZ or PolylineZ) including the optional "M" data.

Comments

  1. By shapefiles are you referring to https://en.wikipedia.org/wiki/Shapefile? Just reading, or also including rendering? Sorry, I'm totally new to this area :)
    en.wikipedia.org - Shapefile - Wikipedia

    ReplyDelete
  2. Edwin Yip Yes, ESRI shape files. Yes, only reading (but there is also a writer). At work we have got a mapping tool for rendering which uses this library, but only my library is free.

    ReplyDelete
  3. Attila Kovacs It's part of my dzlib

    https://sourceforge.net/p/dzlib/code/HEAD/tree/dzlib/trunk/src/u_dzShapeFileReader.pas

    But beware that I haven't updated it to the latest version yet, so there are quite a few bugs for now reading M and Z data. It works fine for 2d data.

    ReplyDelete
  4. Somehow the link to sig.stackexchange.com got lost in the post:

    http://gis.stackexchange.com/q/223797/45221

    There is one comment that pointed me to some files which turned out to be quite useful for finding multiple bugs.

    ReplyDelete
  5. Thomas Mueller I started writing something similar a few years ago, but the project was abandoned.. This might help revive it ;-)

    ReplyDelete
  6. Attila Kovacs I have finished the library and checked all fixes into the svn repository on sourceforge.

    ReplyDelete

Post a Comment