Question about sharpmap documentation

Topics: SharpMap v0.9 / v1.x
Apr 2, 2014 at 2:47 AM
Edited Apr 2, 2014 at 2:48 AM
Hello everyone, first big thanks to SharpMap team for their good work. I have a question about the documentation. Earlier today, I tried to fix this error:
SharpMap.Geometries.BoundingBox mapExtents = map.GetExtents();
However, it threw an error saying it is not defined. I reckoned this is a problem with my version of SharpMap (version 1.1) while the demo site used Version 0.9. So I went to https://sharpmap.codeplex.com/SourceControl/latest#Tags/v1.1/SharpMap/Geometries/BoundingBox.cs

to check the documentation for version 1.1 but obviously, the sharpmap.geometries is actually there (Check this image http://screencast.com/t/xGtfOBMZQI1). This somehow creates confusion for me if sharpmap.geometries is obsolete or not. If it is obsolete, why is the documentation of this method still there?

I need to change SharpMap.geometries.boudingbox to GeoAPI.Geometries.Envelope (https://sharpmap.codeplex.com/discussions/533070) to fix this error but no documentation anywhere telling about this. Did I miss reading this somewhere?

Thanks
Coordinator
Apr 2, 2014 at 6:02 AM
All classes in SharpMap.Geometries namespace have been replaced with the interfaces/classes defined in GeoAPI.Geometries namespace. This means
SharpMap.Geometries.BoundingBox is now GeoAPI.Geometries.Envelope. SharpMap.Geometries.Point is now either GeoAPI.Geometries.Coordinate or GeoAPI.Geometries.IPoint.

The actual implementation of the GeoAPI.Geometries interfaces is achived by the use of NetTopologySuite.
You may find using statements like these:
using BoundingBox = GeoAPI.Geometries.Envelope;
using Point = GeoAPI.Geometries.Coordinate; // GeoAPI.Geometries.IPoint
I have made some effort to change the code documentation, but may have missed some places.

The change in the geometries namespace has been communicated with the release notes of 1.0 RC1 to 1.0 Final.
Marked as answer by asplearning on 4/3/2014 at 1:25 PM