projects:coverage:howto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
projects:coverage:howto [2016/12/22 13:42] – created scipioprojects: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 "pixel") y(latitude "line") easting(longitude degree decimal) northing(latitude degree decimal)  
- 
-we have two files: 
-  * copertura.bmp 
-  * copertura.kml 
- 
-convert bmp to transparent png 
-<code bash> 
-to-png blue copertura.kml 
-</code> 
- 
-from KML  
-<code bash> 
-N=46.27951 
-S=46.24351 
-E=11.82932 
-W=11.77726 
-</code> 
- 
-from gdalinfo  
-<code bash> 
-gdalinfo copertura.png 
-X=1400 
-Y=1400 
-</bash> 
- 
-<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 /tmp/copertura.vrt  
-gdal2tiles.py -w openlayers -z 13-17 --title "san martino" /tmp/copertura.vrt /tmp/sanmartino 
-</code> 
  • projects/coverage/howto.1482410557.txt.gz
  • Last modified: 2016/12/22 13:42
  • by scipio