doc:appunti:linux:lezioni:mapserver
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:lezioni:mapserver [2011/03/11 17:41] – [Legende] niccolo | doc:appunti:linux:lezioni:mapserver [2013/10/04 11:22] (current) – [gdaltindex] niccolo | ||
|---|---|---|---|
| Line 235: | Line 235: | ||
| </ | </ | ||
| - | Il file indice è uno shapefile, analogamente a quanto visto con '' | + | Il file indice è uno shapefile, analogamente a quanto visto con '' |
| < | < | ||
| Line 246: | Line 246: | ||
| TILEINDEX " | TILEINDEX " | ||
| TILEITEM " | TILEITEM " | ||
| + | PROCESSING " | ||
| + | OFFSITE 255 255 255 | ||
| + | END | ||
| + | </ | ||
| + | |||
| + | ==== gdalbuildvrt ==== | ||
| + | |||
| + | In alternativa all' | ||
| + | |||
| + | < | ||
| + | cd / | ||
| + | gdalbuildvrt toscana_ctr25k.vrt raster/ | ||
| + | </ | ||
| + | |||
| + | In questo caso il mapfile ha questa forma: | ||
| + | |||
| + | < | ||
| + | SHAPEPATH "/ | ||
| + | |||
| + | LAYER | ||
| + | NAME " | ||
| + | STATUS DEFAULT | ||
| + | TYPE RASTER | ||
| + | DATA toscana_ctr25k.vrt | ||
| PROCESSING " | PROCESSING " | ||
| OFFSITE 255 255 255 | OFFSITE 255 255 255 | ||
| Line 285: | Line 309: | ||
| - Creare indice (quadro d' | - Creare indice (quadro d' | ||
| - | - Creare le piramidi (overview) | + | - Creare le piramidi (overview). Per un singolo file .tif: < |
| - | < | + | gdaladdo --config USE_RRD YES 287050.tif 2 4 8 16 32 64</ |
| - | - Creare le piramidi | + | - Oppure |
| - | < | + | - Con GDAL > 1.6.0 vedere '' |
| + | - Creare il file .map: | ||
| + | - Controllare l' | ||
| + | - Verificare che esistano almeno i seguenti parametri < | ||
| + | MAP.EXTENT | ||
| + | MAP.IMAGETYPE | ||
| + | MAP.PROJECTION | ||
| + | WEB.METADATA.wms_title | ||
| + | WEB.METADATA.wms_onlineresource | ||
| + | WEB.METADATA.wms_srs | ||
| + | LAYER.STATUS | ||
| + | LAYER.PROJECTION | ||
| + | LAYER.METADATA.wms_title | ||
| + | LAYER.METADATA.wms_srs | ||
| + | </file> | ||
| ===== Legende ===== | ===== Legende ===== | ||
doc/appunti/linux/lezioni/mapserver.1299861685.txt.gz · Last modified: by niccolo
