Ticket #1229 (closed defect: worksforme)
ogr2ogr doesn't convert 3D and 4D geometries correct
| Reported by: | horst.duester@… | Owned by: | mloskot |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | OGR_SF | Version: | unspecified |
| Severity: | critical | Keywords: | |
| Cc: | neteler |
Description (last modified by mloskot) (diff)
The conversion of 3D and 4D geometries leads to bad results. You can download test data from:
http://www.sogis1.so.ch/sogis/dl/aww_gewiso_dump.zip
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
reports:
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.
Change History
Note: See
TracTickets for help on using
tickets.
