[gdal-dev] Shapefiles and z dimensions

Ari Jolma ari.jolma at gmail.com
Sat Dec 9 03:15:20 PST 2017


Nyall Dawson kirjoitti 09.12.2017 klo 18:04:

> 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?

It is expected. Shapefiles are XY, XYM, or XYZM

https://www.esri.com/library/whitepapers/pdfs/shapefile.pdf

Ari

>
> Nyall
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list