Thinking in GIS

a blog about GIS from a urban geogeek living at the countryside

Feed, Categories, Archives


Compiling GDAL with Oracle Spatial support

Posted: March 22, 2011
Categories: Oracle Spatial, GeoDjango, GIS, GDAL
Feedback: View Comments

These are my quick notes for installing Oracle Instant Client on a Linux box (currently I have tested this on a Ubuntu 10.10 64 bit box and with Oracle 11.2 and GDAL 1.8.0), and then configuring GDAL for using Oracle (OCI and GeoRaster drivers support).Finally I will show how to configure GeoDjango to use an Oracle spatial database by using the Cx_Oracle Python library.First download Oracle Client files from here or here if you are on a 64 bit architecture.You need to download the following 3 zip archives:~/software/oracle$ lsinstantclient-basic-linux-x86-64-11.2.0.2.0.zip instantclient-sdk-linux-x86-64-11.2.0.2.0.zip instantclient-sqlplus-linux-x86-64-11.2.0.2.0.zipThen extract the archives to a location...
Read the full post