NetTopologySuite with GeoAPI

Topics: General Topics
Aug 30, 2007 at 2:17 AM
I have just been looking at the latest version of NTS (1.7.1) and it comes with a new file called GeoAPI.dll. This seems to be a standard set of interfaces for geometry objects. Anyway, while it works fine with just NTS, when interacting with SharpMap through the NTSProvider I am getting all kinds of errors relating to the inability to cast between NetTopologySuite types and the equivalent GeoAPI types.

For example, "Unable to cast 'GisSharpBlog.NetTopologySuite.Geometries.GeometryCollection' to type 'GeoAPI.Geometries.IGeometryCollection'."

Can anyone suggest what would be involved in updating the NTSProvider to deal with this, or am i just missing something when setting up NTS??

You help/ideas/comments would be appreciated.

Steve