èªåã§ä½æããã©ã¹ã¿ã¼ãã¼ã¿ããå°å³ã«éããããã¦ã¤ã³ã¿ã¼ãããã§å
¬éããæ¹æ³ãç´¹ä»ãã¾ãã
以ä¸ãOSGeo4Wã®gdalãå©ç¨ãã¾ãã®ã§ããããã http://trac.osgeo.org/osgeo4w/wiki/OSGeo4W_jp
OSGeo4Wããã¦ã³ãã¼ããã¦ãgdalãã¤ã³ã¹ãã¼ã«ãã¦ãã ããã
以ä¸ãã³ã³ã½ã¼ã«ã§ã®ä½æ¥ã§ãã
1.ã©ã¹ã¿ã¼ãã¼ã¿ã«è²ãä»ãã
æ¨é«ã©ã¹ã¿ã¼ãã¼ã¿ã®ããã«ã1ãã³ãã®ã©ã¹ã¿ã«ãã®ã¾ã¾å¤ãå ¥ã£ã¦ããgeotiffã¯ãç»åã½ããã§ãã¬ãã¥ã¼ãã¦ããä¸æã表示ããã¾ããããªã®ã§ãã©ã¹ã¿ã¼ã®å¤ã¨ãããã«å¯¾å¿ããè²ãé¢é£ä»ããgeotiffï¼RGB3ãã³ããRGBA4ãã³ãï¼ã«å¤æããå¿ è¦ãããã¾ãã
â»æåããRGBã®ã©ã¹ã¿ã¼ãã¼ã¿ã§ããã°2.ã«ã¹ããããã¦ãã ããã
ã©ã¹ã¿ã¼å¤ã¨RGBAãé¢é£ä»ãããã¡ã¤ã«color.txtãç¨æããã
ä¾1.
100% 255 0 0 80% 255 69 0 50% 255 255 0 75 nv 0 0 0 0
ä¾2.
3000 255 0 0 1000 255 69 0 500 255 255 0 75 0 255 255 255 50 nv 0 0 0 0
gdaldemã§RGBAãã¼ã¿ã«å¤æãã
gdaldem color-relief -alpha dem.tif color.txt demRGBA.tif
â»gdaldemã¨ããååã§ãããæ¨é«demãã¼ã¿ä»¥å¤ã®ãã¼ã¿ã§ãæ§ãã¾ããã
2.ã©ã¹ã¿ã¼ãã¼ã¿ãå ¬éç¨ãã¼ã¿ã«å¤æããã
ä¸è¨ã§ä½æãããã¼ã¿ãgoogle mapsãªã©ã®å°å³ã¨éãã¦ããã©ã¦ã¶ã§é²è¦§ã§ããããã«å¤æãã¾ãã
gdal2tiles -g googlemapã®apiãã¼ demRGBA.tif
demRGBAãã©ã«ããä½æããããã®ä¸ã«googlemaps.htmlãopenlayers.htmlãä½æããã¾ãã
ãã®ãã©ã«ããWEBãµã¼ãã¼ã«ã¢ãããhtmlãå
¬éããã°ãåºæ¥ä¸ããã§ãã
â»å¿
è¦ã§ããã°ãkmlãã¡ã¤ã«ãä½æã§ãã¾ãã
å®æä¾
http://www.maptiler.org/example-usgs-drg-grand-canyon-gtiff/
http://ecoris.co.jp/technical/tec_tyousa/maxent.html