Re: [gdal-dev] Can't use two datasets read-only from same files?

2014-02-22 Thread Even Rouault
Le dimanche 23 février 2014 08:40:11, Even Rouault a écrit : > Nik, > > what you try to do is perfectly valid and should work. I've just tried it > myself, but I can't reproduce any error. If you are working on Linux, could > you run your program with valgrind and look if it reports some errors ?

Re: [gdal-dev] Can't use two datasets read-only from same files?

2014-02-22 Thread Even Rouault
Nik, what you try to do is perfectly valid and should work. I've just tried it myself, but I can't reproduce any error. If you are working on Linux, could you run your program with valgrind and look if it reports some errors ? The only explanation I can imagine for now is that the file system on

[gdal-dev] Can't use two datasets read-only from same files?

2014-02-22 Thread Nik Sands
Hi GDAL devs, I have a need to open the same set of Shapefiles as two independent datasets, BOTH of which are READ ONLY. However, when I do this, and attempt to get the number of layers in the second data set, I get a whole lot of errors of the form: ERROR 4: Failed to open file .shp.

Re: [gdal-dev] Gdal Mapinfo driver write access

2014-02-22 Thread Norman Vine
see http://www.gdal.org/ogr/drv_mitab.html MapInfo datasets in native (TAB) format and in interchange (MIF/MID) format are supported for reading and writing. Update of existing files is not currently supported. On Feb 22, 2014, at 7:51 AM, HappyFrasse wrote: > > Hi > > I am trying to use

[gdal-dev] Gdal Mapinfo driver write access

2014-02-22 Thread HappyFrasse
Hi I am trying to use the latest ogr/gdal library in my dotnet projekt. I do ref. to ogr_csharp, gdal_csharp. My problem is that I can read my Mapinfo tab-file but I can’t write (append) features to it and I don’t understand why? If I open the mapinfo file with Ogr.Open(_FileName, 0) I got write