Ticket #1229 (closed defect: worksforme)
ogr2ogr doesn't convert 3D and 4D geometries correct
|Reported by:||horst.duester@…||Owned by:||mloskot|
Description (last modified by mloskot) (diff)
The conversion of 3D and 4D geometries leads to bad results. You can download test data from:
This file contains a PostGIS dump of a 4D Linestring Layer and a shape created with pgsql2shp.
ogr2ogr is not able to create a correct 4D or 3D shape from the attached PostGIS layer.
ogrinfo PG:dbname=.... aww_gewiso
Layer name: aww_gewiso Geometry: 3D Multi Line String Feature Count: 6609 Extent: (589671.375000, 212041.000000) - (645546.750000, 261743.703125) Layer SRS WKT: (unknown) FID Column = ogc_fid Geometry Column = wkb_geometry ....
The conversion with ogr2ogr from PostGIS to shape produces a shape without geometry.