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


Topics: SharpMap v0.9 / v1.x
Feb 10, 2012 at 9:27 AM



I would like to use ogr provider and I get some problems.

First, If I use the ogr provider in C# to open a mapinfo file there no problem (good !).

But in I'm not able to use the ogr provider. I saw that the problem come from the out param in a method.

Do you have a work around for VB, in the code source it's said to use the layerName, but I didn't find how. The error is in :

LayerV.DataSource=New SharpMap.Data.Providers.Ogr("C:\")

I can use C# but I have project in the both language so If you have an example in Vb it will be great.

The second point is to use the ogr provider we must use the FWTools. But the lastest version of FWTools don't use the lastest version of OGr (I want to use at least the 1.8) so is it possible to use the ogr/gdl library directly , without using FWTools. Always to open vector layers not raster ?

Does I need to modify the provider ? or use an another one ?


Thanks in advance for your answers.