Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
projects:coverage:howto [2016/12/22 13:42] – created scipio | projects:coverage:howto [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== coverage ====== | ||
- | |||
- | ===== from kml to TMS tiles ===== | ||
- | |||
- | * -gcp x(longitude " | ||
- | |||
- | we have two files: | ||
- | * copertura.bmp | ||
- | * copertura.kml | ||
- | |||
- | convert bmp to transparent png | ||
- | <code bash> | ||
- | to-png blue copertura.kml | ||
- | </ | ||
- | |||
- | from KML | ||
- | <code bash> | ||
- | N=46.27951 | ||
- | S=46.24351 | ||
- | E=11.82932 | ||
- | W=11.77726 | ||
- | </ | ||
- | |||
- | from gdalinfo | ||
- | <code bash> | ||
- | gdalinfo copertura.png | ||
- | X=1400 | ||
- | Y=1400 | ||
- | </ | ||
- | |||
- | <code bash> | ||
- | gdal_translate -of vrt -expand rgba -a_srs EPSG:4326 -gcp 0 0 $W $N -gcp $X $Y $E $S -gcp 0 $Y $W $S copertura.png / | ||
- | gdal2tiles.py -w openlayers -z 13-17 --title "san martino" | ||
- | </ |