Hi,
once, I saw it by some guys from Germany. They read tons of data from
Oracle using Qgis.
Only thing you have to do is to compile ogr library with support for
oracle.
#1 download debian development tools
apt-get install dpkg-dev
#2 download the source code of GDAL library
apt-get source gdal
#3 go to gdal directory and adjust rules file in debian directory
cd gdal-1.4.2/debian
vim rules
[....]
--with-ecw=yes \
--with-pg \
--with-ogdi \
--with-mysql \
--with-perl \
--with-ruby \
# add the oracle stuff here
--with-oci=/path/to/oracle/home
--with-oci-include=/path/to/Oracle/OCI/API/headers
--with-oci-lib=/same/for/libs
[....]
#4 then you can run dpkg-build package and install missing packages,
until dpkg-buildpackage does not successfully build gdal package in ../
directory
#5 install generated packages with dpkg -i ../*gdal*deb
and it should work. you should be able to view oracle data from qgis, as
well as import them to grass
jachym
Jacques Schalkwyk píše v St 23. 01. 2008 v 22:27 +0200:
Hi all.
I trust there is life out there. Sometimes I wonder as this mail is
comming from deep darkest Africa.
I am a newbie to linux and grass and i would like to have Qgis access
data directly from an oracle spatial data base. I am running ubuntu
7.10 as an operating system. Any assistance would be greatly
appreciated. I can be contacted directly at
jacques.schalkwyk@finfreeadmin.com
Best regards
From the oldest newbie in this neck of the woods
Jacques Schalkwyk
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
--
Jachym Cepicky
e-mail: jachym.cepicky@gmail.com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub