[gdal-dev] Shapefiles and z dimensions

Nyall Dawson nyall.dawson at gmail.com
Fri Dec 8 23:04:56 PST 2017


Hi all,

I'm trying to track down some odd behaviour in QGIS, and determine
whether this is a qgis bug, gdal bug, or shapefile limitation.

If I create a new shapefile layer using GDALDatasetCreateLayer, with a
geometry type of wkbPoint25D (actually any of the 25D) types, then the
resultant layer ALWAYS has an M dimension present as well (i.e.
ogrinfo reports PointZM type).

Is this expected behaviour for shapefiles?

Nyall


More information about the gdal-dev mailing list