[Gdal-dev] gdal (ogr2ogr) C API

christian.michels at eifelgeist.com christian.michels at eifelgeist.com
Mon Jan 23 09:43:13 EST 2006


Hello,

I have to import a bunch of shp files to a postgres database every month from a .NET environment. I do this at the moment using FWTools ogr2ogr.exe in batch mode. This is not very handy since I do want to skip some attributes and add some new attributes during import. I wonder if somebody is out there who made some experience with the C API of the gdal library to write a kind of wrapper for the needed ogr functions (reading shp -> execute sql query -> write to postgres). Since I am not a experienced C programmer I would be very happy to get some samples to start with !

Thanx & regards

Chris



More information about the Gdal-dev mailing list