Updated OCCI (markdown)

kunitoki 2012-02-15 00:28:00 -08:00
parent 2c644920e0
commit 283b6a1692

10
OCCI.md

@ -3,12 +3,11 @@
<!-- Last-Modified: 2010/11/22 03:02:02 --> <!-- Last-Modified: 2010/11/22 03:02:02 -->
<!-- Author: kunitoki --> <!-- Author: kunitoki -->
Mapnik's PluginArchitecture supports the use of different input formats. Mapnik's PluginArchitecture supports the use of different input formats.
One such plugin supports the Oracle Spatial ([Oracle Spatial](http://en.wikipedia.org/wiki/Oracle_Spatial)) extension to the popular ORACLE database. One such plugin supports the Oracle Spatial ([Oracle Spatial](http://en.wikipedia.org/wiki/Oracle_Spatial)) extension to the popular ORACLE database.
*At the current time, only oracle 10g version >= 10.2.0.1 is supported* *At the current time, only oracle version 10.2.0.x (10g) and 11.2.0.x (11g) are supported*
## Installation (On Linux) ## Installation (On Linux)
@ -18,8 +17,8 @@ Install the [Oracle Instant Client](http://www.oracle.com/technology/software/te
Make sure you define where the includes and library files resides in _config.py_: Make sure you define where the includes and library files resides in _config.py_:
OCCI_INCLUDES='/usr/lib/oracle/10.2.0.4/client/include' OCCI_INCLUDES='/usr/lib/oracle/11.2.0.2/client/include'
OCCI_LIBS='/usr/lib/oracle/10.2.0.4/client/lib' OCCI_LIBS='/usr/lib/oracle/11.2.0.2/client/lib'
Make sure that running _python scons/scons.py DEBUG=y_ shows the following line Make sure that running _python scons/scons.py DEBUG=y_ shows the following line
@ -31,11 +30,10 @@ To check if the occi plugin built and was installed correctly, try the usual Pyt
## Troubleshooting ## Troubleshooting
### double free or corruption error ### double free or corruption error (oracle 10g only)
If you have problems when running the oracle input plugin and get this when accessing geometries: If you have problems when running the oracle input plugin and get this when accessing geometries:
*** glibc detected *** double free or corruption (!prev): 0x08c52568 *** *** glibc detected *** double free or corruption (!prev): 0x08c52568 ***
go to http://www.oracle.com/technology/tech/oci/occi/occidownloads.html and download the package 10.2.0.3.0 and overwrite the libraries in your oracle instantclient install path. go to http://www.oracle.com/technology/tech/oci/occi/occidownloads.html and download the package 10.2.0.3.0 and overwrite the libraries in your oracle instantclient install path.