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

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
tecnica:gps_cartografia_gis:mapserver_oracle [2011/12/01 16:57] – [MapServer con supporto ad Oracle su Debian GNU/Linux] niccolotecnica:gps_cartografia_gis:mapserver_oracle [2011/12/01 17:06] – [Compilazione MapServer] niccolo
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