Hi there.


I’m trying to figure out how to read xyzm geometries from postgis with
ogr2ogr, if at all possible.



I get the usual "is not supported" error:

ERROR 1: Reading EWKB with 4-dimensional coordinates (XYZM) is not supported



But reading old tickets I get the idea there is a way to read and just
ignore the 4th dimension, instead of getting null geometries.



For instance:

http://trac.osgeo.org/gdal/ticket/1323



>From 8 years ago(!), says:

The problem does not occur if a layer is accessed using
OGRPGDataSource::GetLayerByname()
Then, geometry is read in EWKT form and parsed correctly without any errors
but M coordinate is omitted.

Can this be done using og2ogr?



Thanks,
Duarte
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to