[gdal-dev] File geodatabase write lock using C# bindings
Even Rouault
even.rouault at mines-paris.org
Thu May 15 11:48:57 PDT 2014
Le jeudi 15 mai 2014 17:27:50, Eddie Stathopoulos a écrit :
> Hello all, I am attempting to create a C# WCF service to convert GeoJSON ->
> other formats. File Geodatabase is desired. I am using the latest C# GDAL
> bindings and the driver is being recognized and loaded, but it seems I'm
> bumping into a write lock?
>
> I receive an AccessViolationException (Attempted to read or write protected
> memory. This is often an indication that other memory is corrupt) using
> the following code. The files in the FGDB directory are created.
>
> outputDriver = Ogr.GetDriverByName("FileGDB");
> outputDataSource = outputDriver.CopyDataSource(dataSource, outputFilePath,
> null);
>
> Any clue what is causing this lock or how I could get around this?
I cannot help for C# but my recommandation would be to try with ogr2ogr first.
>
> Thanks!?
--
Geospatial professional services
http://even.rouault.free.fr/services.html
More information about the gdal-dev
mailing list