shapefile icon indicating copy to clipboard operation
shapefile copied to clipboard

Possible Error

Open some-vec-byte opened this issue 2 years ago • 1 comments

In Shapefile.cs Line 172: _boundingBox = new RectangleD(_mainHeader.XMin, _mainHeader.YMin, _mainHeader.XMax, _mainHeader.YMax);

Constructor of RectangleD: (double left, double top, double right, double bottom)

so shouldnt it be: _boundingBox = new RectangleD(_mainHeader.XMin, _mainHeader.YMax, _mainHeader.XMax, _mainHeader.YMin);

Greetings

some-vec-byte avatar Nov 14 '23 08:11 some-vec-byte

Yes, I've noticed this and it doesn't look right. I have a lot of code that depends on the current implementation and there are many other users of this library that might not welcome this kind of breaking change. Maybe I should add a flag to allow this to be changed. It's on my list to look at.

abfo avatar Nov 15 '23 21:11 abfo