This project has moved. For the latest updates, please go here.

Problem using NtsProvider

Topics: General Topics
Jan 9, 2007 at 1:43 AM

I want to use the NtsProvider provider but I get the error:

Error 7 'SharpMap.Data.Providers.NtsProvider' does not implement interface member 'SharpMap.Data.Providers.IProvider.GetGeometriesInView(SharpMap.Geometries.BoundingBox)'. 'SharpMap.Data.Providers.NtsProvider.GetGeometriesInView(SharpMap.Geometries.BoundingBox)' is either static, not public, or has the wrong return type.

I use the PostGis data provider and that works fine. I'm using Sharpmap Ver 0_9 and the NtsProvider downloaded from this (CodePlex) web site. I have the latest NetTopologySuite dll but that doesn't have anything to do with the compile error.

How do I build Sharpmap with the NtsProvider?

Thanks for the help. Sharpmap is great!

Jan 9, 2007 at 2:37 AM
I'm a newbie but it can be linked by List/Collection's changes. Try the last source code source(7909) and the Ntsprovider located in SharpMap\SharpMap.Extensions\Data\Providers folder.
Sorry my bad English.
Regards from Argentina.
Jan 9, 2007 at 3:53 AM
Nice reply time Leandro.

The NtsProvider in SharpMap\SharpMap.Extensions\Data\Providers seemed to do the trick. Now I have to learn NTS.

Thanks for the help.
Cheers from Florida US.