Lesson12Tililing Raster in GoogleMap

 

  • Tiling Raster in Google Earth

Superoverlay 官網  下載(7天試用)

 

  • Tililing Raster in Google Map

Google地圖的特點就是通過鼠標拖動,就可以看到不同位置的圖片,這些圖片是在滑鼠拖曳時計算位置,同時顯示出許多小圖的結果,就如同Fireworks在編輯大圖時的方法,因為大地圖是不可能一次整張大圖顯示出來的,大圖要分割成很多個小圖。最基本的想法就是透過編寫滑鼠的onmouse_downonmouse_uponmouse_movejavacript,然後通過AJAX計算出圖片資料,然後再返回頁面用javascript將這些圖片顯示出來。

 

GDAL2Tiles -- Raster Maps Tile Publishing, KML SuperOverlay Generator官網
Step1:8

官網安裝FWTools: Open Source GIS Binary Kit for Windows 下載

Step2:

Save the file gdal2tiles.py

Step3:

執行 "FWTools Shell" command:

C:\Program Files\FWTools2.2.1>python c:/gdal2tiles.py c:/spot.jpg c:/so

最好在C的根目錄上執行

http://gis.nhlue.edu.tw/gmap/so.html

範例1:古地圖

 

 

範例2:中研院堡圖

範例3:GeoGarage spatial imageNOAA範例 http://demo.geogarage.com/noaa/

 

map.addControl(new GMapTypeControl());
//the new tiles have their own type along with the existing Google ones.

最後修改: 2013年 12月 18日(三.) 16:49