User Tools

Site Tools


tecnica:gps_cartografia_gis:mapserver_oracle

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
tecnica:gps_cartografia_gis:mapserver_oracle [2011/12/01 16:57] – created niccolotecnica:gps_cartografia_gis:mapserver_oracle [2011/12/01 17:06] – [Compilazione MapServer] niccolo
Line 3: Line 3:
 La compilazione di MapServer con supporto ad Oracle Spatial su Debian GNU/Linux è del tutto analoga alla procedura descritta in: **[[gdal_oracle]]**. La compilazione di MapServer con supporto ad Oracle Spatial su Debian GNU/Linux è del tutto analoga alla procedura descritta in: **[[gdal_oracle]]**.
  
-Si riassume brevemente la procedura:+Si riassume brevemente la procedura testata su Debian 6.0.3 Squeeze.
  
 ===== Installazione Oracle Instant Client ===== ===== Installazione Oracle Instant Client =====
Line 19: Line 19:
  
 ===== Compilazione MapServer ===== ===== Compilazione MapServer =====
 +
 +  - Scaricare i sorgenti e installare le dipendenze necessarie alla compilazione: <code>apt-get source mapserver
 +apt-get build-dep mapserver</code>
 +  - Modificare il **''debian/rules''** aggiungendo ai **''COMMON_CONFIG''**: <file>...
 +--with-postgis \
 +--with-oraclespatial=/usr/local/share/oracle \
 +--with-wcs \
 +...</file>
 +  - Ricompilare con <code>dpkg-buildpackage -rfakeroot</code>
 +
 +Verificare che il supporto sia incluso nell'eseguibile (''INPUT=ORACLESPATIAL''), ad esempio:
 +
 +<code>
 +# ./mapserv -v
 +MapServer version 5.6.5 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF
 +OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI
 +SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
 +SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI SUPPORTS=THREADS SUPPORTS=GEOS
 +SUPPORTS=RGBA_PNG INPUT=EPPL7 INPUT=POSTGIS INPUT=ORACLESPATIAL INPUT=OGR INPUT=GDAL
 +INPUT=SHAPEFILE
 +</code>
 +
 +L'eseguibile linka dinamicamente le seguenti librerie (oltre a quelle standard):
 +
 +  * libaio.so.1 
 +  * libclntsh.so.11.1 
 +  * libnnz11.so 
  
tecnica/gps_cartografia_gis/mapserver_oracle.txt · Last modified: 2011/12/06 13:08 by niccolo