This project has moved and is read-only. For the latest updates, please go here.

problem with FDO & SharpMap

Topics: SharpMap Project
May 27, 2011 at 11:37 AM

I want to display a layer in a map using SharpMap 

  mymap = new SharpMap.Map (new System.Drawing.Size ((int) imgMap.Width.Value, (int) imgMap.Height.Value)); 
             Layer = new SharpMap.Layers.VectorLayer SharpMap.Layers.VectorLayer ("Carierre_130"); 

            layer.DataSource = (IProvider) new FdoVectorProvider ("OSGeo.SDF", @ "File = C: \ Carierre_130.sdf"); 

but it returns me the same error 

Error: Could not load type 'SharpMap.Data.Providers.IProvider' from assembly 'SharpMap, Version = 0.8.2137.43006, Culture = neutral, PublicKeyToken = null' 

I'm still starting in FDO & sharpmap and I know not where does this error 

thank you.

May 30, 2011 at 10:35 AM

Hello jayasser, where did you take the FdoVectorProvider from?

is the error message correct or is it v0.9?

If you have a chance, please integrate the FdoVecotorProvider in the current Sharpmap solution and compile everything yourself.

Hth FOBermaier