GSI 5m DEM
国土地理院の数値地形モデル(DEM)は, 5m解像度のものが公開されているが, ファイルがGML形式(地理情報向けのXML形式)であり, GISソフトやGDAL等のコマンドでは直接は読めないことが多い。そこでGeoTiff形式に変換する。
Conversion tool (from GML to GeoTIFF):
- https://tm23forest.com/contents/python-jpgis-gml-dem-geotiff
- https://tm23forest.com/contents/python-gdal-cyberjapandata-dem5tile
Note
- DEM5A: laser
- DEM5B: photogrametry
ファイルの中身の見方: "FG-GML-5440-11-71-DEM5A-20161001.xml"を例に...
<gml:low>0 0</gml:low> <gml:high>224 149</gml:high>
↑xは0から224, yは0から149. つまり225 x 150ピクセルってこと。
<gml:lowerCorner>36.141666667 140.1375</gml:lowerCorner> <gml:upperCorner>36.15 140.15</gml:upperCorner>
↑緯度経度の範囲。
Keyword(s):
References: