[mapserver-users] MapServer with Oracle Spatial

Fernando Simon fsimon at univali.br
Sun Jul 27 23:00:00 EDT 2008


Hi,
    To compile the UMN Mapserver with the Oracle Spatial support you 
need to have (in your system) the Oracle Call Interface (OCI).
    You can install this library from the Oracle Client installation (or 
server if you run all in the same server).
    After this, you can compile the Oracle Spatial support for UMN 
Mapserver.
    You can use two ways to connect Oracle Spatial from UMN Mapserver: 
The specific UMN Mapserver driver (maporaclespatial.c) for Oracle 
Spatial, that talks directly with Oracle Database. Or you can use the 
OGR, that you can use to connect with many data formats and databases. 
Some people in the mailing list tells that maporaclespatial driver is 
2.5/3.5x more fast than OGR.
    Best regards.

----------------------------------------------------------------------
Fernando Simon
UMN Mapserver and Oracle Spatial Developer

Iratxe Lejarreta wrote:
> Hi,
>
> I installed FGS on Red Hat Enterprise Linux 5.2, but I don't know what I need 
> to configure in MapServer to connect with Oracle 10g. Because, when I run the 
> WFS service, the result is: msOracleSpatialLayerOpen(): OracleSpatial error. 
> OracleSpatial is not supported
> In the Mapserver documentation 
> (http://mapserver.gis.umn.edu/docs/howto/oracle_spatial_howto) explain that 
> there are 2 options for using Oracle Spatial with Mapserver:
> 1.- The problem is that I haven't got maporaclespatil.c file
> 2.- The problem is that I don't know how to compile OGR with OCI
>
> Somebody can help me? 
>
> Thank you in advance.
>
>
>   



More information about the mapserver-users mailing list