MaxRev-Dev / gdal.netcore

GDAL 3.x C#/F# bindings for .NET apps
MIT License
161 stars 36 forks source link

Geometry.CreateFromWkb fails when WKB contains coordinate system description #60

Closed HuginnStoic closed 2 years ago

HuginnStoic commented 3 years ago

Describe the bug The function Geometry.CreateFromWkb throws an exception if the WKB contains a coordinate system description.

To Reproduce

  1. Create a WKB with a coordinate system.
  2. Pass an array of bytes to the Geometry.CreateFromWkb.

Expected behavior Geometry with a coordinate system is created.

Screenshots

Environment information:

Additional context

MaxRev-Dev commented 3 years ago

I'm not sure it's related to this repo. That's may be a problem with SWIG bindings. Can you provide a minimal repro? You can apply it with code fences, your own repo or attach an archive. And please, provide the issue title.

MaxRev-Dev commented 2 years ago

Closing due to inactivity.