tecnica:gps_cartografia_gis:mapserver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tecnica:gps_cartografia_gis:mapserver [2011/05/04 10:26] – [Parametri nella query su attributi] niccolo | tecnica:gps_cartografia_gis:mapserver [2013/10/04 12:20] – [CGI MapServer] niccolo | ||
---|---|---|---|
Line 51: | Line 51: | ||
In questo caso lo script CGI ha ricevuto come parametri GET il nome del file '' | In questo caso lo script CGI ha ricevuto come parametri GET il nome del file '' | ||
+ | |||
+ | ===== Parametro map nell' | ||
+ | |||
+ | Non è bello che nell' | ||
+ | |||
+ | Le variabili di sistema possono essere impostate tramite la direttiva **'' | ||
+ | |||
+ | < | ||
+ | < | ||
+ | AllowOverride None | ||
+ | Options ExecCGI -MultiViews +SymLinksIfOwnerMatch | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | |||
+ | # CGI-MapServer environment variables. | ||
+ | # Check mapfiles againts this path: | ||
+ | #SetEnv MS_MAP_PATTERN " | ||
+ | # Disallow mapfile full path, use env vars instead. | ||
+ | SetEnv MS_MAP_NO_PATH " | ||
+ | # Use map=MAPT_ORTOFOTO2011 | ||
+ | SetEnv MAP_ORTOFOTO2011 "/ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ^ '' | ||
+ | ^ '' | ||
+ | ^ '' | ||
===== MapFile ===== | ===== MapFile ===== | ||
Line 277: | Line 305: | ||
// Add the only one layer. | // Add the only one layer. | ||
$layer = ms_newLayerObj($map); | $layer = ms_newLayerObj($map); | ||
- | $layer-> | + | $layer-> |
- | $layer-> | + | $layer-> |
- | $layer-> | + | $layer-> |
- | $layer-> | + | $layer-> |
- | $layer-> | + | $layer-> |
- | $layer-> | + | $layer-> |
// Add some colors. | // Add some colors. |
tecnica/gps_cartografia_gis/mapserver.txt · Last modified: 2013/10/04 12:26 by niccolo