User Tools

Site Tools


tecnica:gps_cartografia_gis:beyond_mapserver

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
tecnica:gps_cartografia_gis:beyond_mapserver [2012/02/06 15:17] – [TinyOWS] niccolotecnica:gps_cartografia_gis:beyond_mapserver [2012/03/22 11:54] (current) – [PyWPS] niccolo
Line 7: Line 7:
   * [[http://www.tinyows.org/]]   * [[http://www.tinyows.org/]]
  
-%%http://localhost/cgi-bin/tinyows?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetCapabilities%%+Installazione versione 1.0.0:
  
-Il file di configurazione predefinito è **''/etc/tinyows/config.xml''**, per usarne uno diverso bisogna impostare la variabile d'ambiente **''TINYOWS_CONFIG_FILE''**. Un metodo per impostare la variabile è quello di creare uno script shell, ad esempio **''/usr/lib/cgi-bin/tinyows-demo''** che contiene:+<code> 
 +./configure 
 +make && make install 
 +</code> 
 + 
 +Viene creata la directory **''/usr/local/share/tinyows/''**, l'eseguibile **''tinyows''** deve essere copiato a mano in **''/usr/lib/cgi-bin/''**. Pare che la patch per risolvere il [[http://www.tinyows.org/trac/wiki/LibxmlSchemaGmlBug|bug di Libxml con GML 3.1.1]] sia già applicata nei sorgenti, contrariamente a quanto scritto nella pagina wiki. 
 + 
 +Il file di configurazione predefinito è **''/etc/tinyows.xml''**, ma conviene creare una directory **''/etc/tinyows/''** in modo da poterne avere più di uno. Per indicare il file di configurazione da usare bisogna impostare la variabile d'ambiente **''TINYOWS_CONFIG_FILE''**. Un metodo per impostare la variabile è quello di creare uno script shell, ad esempio **''/usr/lib/cgi-bin/tinyows-demo''** che contiene:
  
 <code bash> <code bash>
Line 27: Line 34:
 SetEnvIf Request_URI "/cgi-bin/tinyows-demo" TINYOWS_CONFIG_FILE=/etc/tinyows/demo/config.xml SetEnvIf Request_URI "/cgi-bin/tinyows-demo" TINYOWS_CONFIG_FILE=/etc/tinyows/demo/config.xml
 </file> </file>
 +
 +Per testarne il funzionamento si può richiedere una ''GetCapabilities'':
 +
 +%%http://localhost/cgi-bin/tinyows?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetCapabilities%%
  
 ==== Debug ==== ==== Debug ====
Line 110: Line 121:
 ===== QGIS Web Client ===== ===== QGIS Web Client =====
  
 +  * Readme e download: [[https://github.com/qgis/qgis-web-client/]]
   * Demo: [[http://webgis.uster.ch/]]   * Demo: [[http://webgis.uster.ch/]]
   * Bugs: [[http://hub.qgis.org/projects/qgis-web-client]]   * Bugs: [[http://hub.qgis.org/projects/qgis-web-client]]
-  * Readme: [[https://github.com/qgis/qgis-web-client/blob/master/readme.txt]] 
  
 Come prelevare il codice aggiornato: Come prelevare il codice aggiornato:
Line 252: Line 263:
 Nell'elenco dei layer a sinistra della pagina web, i layer vengono organizzati gerarchicamente come nel progetto QGIS (click destro su layers, //Add group//, che nel file del progetto si traduce in una sezione ''%%<qgis>%%'', ''%%<legend>%%'', ''%%<legendgroup>%%''. Nell'elenco dei layer a sinistra della pagina web, i layer vengono organizzati gerarchicamente come nel progetto QGIS (click destro su layers, //Add group//, che nel file del progetto si traduce in una sezione ''%%<qgis>%%'', ''%%<legend>%%'', ''%%<legendgroup>%%''.
  
 +===== Lizmap Web Client =====
 +
 +  * [[http://hub.qgis.org/projects/lizmapwebclient]]
 +
 +Lizmap Web Client is a complete web application dedicated to show dynamic maps created with Qgis.
 +
 +It is build with Jelix (a PHP framework), Jquery (a Javascript framework) and OpenLayers (a javascript set of tools to create and display maps in a web page).
 +
 +It uses QgisServer as the map server. Lizmap Web Client needs the Qgis projects data to be send to the server via Lizmap Plugin, a python plugin which help to configure and publish a web map from a project.
 +
 +===== PyWPS =====
 +
 +  * http://pywps.wald.intevation.org/
 +
 +==== Installazione ====
 +
 +L'installazione ufficiale (versione 3.2.1) prevede di scompattare l'archivio ed eseguire come root:
 +
 +<code>
 +python setup.py install
 +</code>
 +
 +Ma c'è un bug segnalato in questo [[http://lists.wald.intevation.org/pipermail/pywps-devel/2011-November/001243.html|messaggio]], bisogna patchare ''setup.py''.
 +
 +Vengono aggiunti questi file/directory in **''/usr/local/''**:
 +
 +<code>
 +./bin/wps.py
 +./lib/python2.6/dist-packages/pywps-3.2.1-py2.6.egg/
 +./lib/python2.6/dist-packages/easy-install.pth
 +</code>
 ===== Allestire una demo integrata ===== ===== Allestire una demo integrata =====
  
tecnica/gps_cartografia_gis/beyond_mapserver.1328537868.txt.gz · Last modified: 2012/02/06 15:17 by niccolo