[Gdal-dev] Compile just ogr2ogr on its own.

Alex Mandel tech_dev at wildintellect.com
Fri Jan 6 17:17:16 EST 2006


So I've got a program I wrote in python.
It relies on the ogr2ogr function currently referencing the FWtools exe.
I would prefer if I could do one of the following.

1.Wrap the C Library somehow so I can directly call the ogr2ogr in 
Python. When I originally tried this it seemed like I could get under 
the hood of ogr2ogr but not just call the function and since I don't 
know the specifics of how it works, and I'm not up to par on my C that 
just didn't pan out.

2.Compile just the ogr piece of the GDAL library to exe. Using the whole 
thing really isn't any better than just making my users install FWtools.

If you have any links  or thoughts on how to do this please let me know.
Keep in mind it all has to run on windows and I only have access to free 
tools. Cygwin, mingw, or a linux box.

Thanks - Alex



More information about the Gdal-dev mailing list