Opened 6 years ago

Last modified 6 years ago

#957 new defect

SHP-files with 3D throw error

Reported by: tagru Owned by: gregboone
Priority: major Milestone: 4.1.0
Component: SHP Provider Version: 3.8.0
Severity: 3 Keywords: 3D SHP
Cc: External ID:

Description

Reading a SHP-Files geometry:

Exception thrown: 'System.Runtime.InteropServices.SEHException' in OSGeo.FDO.Geometry.dll
Exception thrown: 'OSGeo.FDO.Common.Exception' in OSGeo.FDO.Geometry.dll
OSGeo.FDO.Common.Exception: Unsupported geometry type. 
   at OSGeo.FDO.Geometry.FgfGeometryFactory.GetWkb(IGeometry geometry)

Shouldn't this method have the possibility to return the read geometry in 2d if 3d is not supported?

Attached are a test example and the gdalinfo-output.

Attachments (2)

Bohrung Bestand Info.html (10.1 KB ) - added by tagru 6 years ago.
3D-Example-SHP.zip (3.5 KB ) - added by tagru 6 years ago.

Download all attachments as: .zip

Change History (3)

by tagru, 6 years ago

Attachment: Bohrung Bestand Info.html added

by tagru, 6 years ago

Attachment: 3D-Example-SHP.zip added

comment:1 by tagru, 6 years ago

Used methods:

OSGeo.FDO.Commands.Feature.IFeatureReader.GetGeometry(string name)
OSGeo.FDO.Geometry.FgfGeometryFactory.CreateGeometryFromFgf(byte[] bytes)
OSGeo.FDO.Geometry.FgfGeometryFactory.GetWkb(IGeometry geometry)
Note: See TracTickets for help on using tickets.