{"id":685,"date":"2019-09-04T16:58:54","date_gmt":"2019-09-04T07:58:54","guid":{"rendered":"https:\/\/ujicya.jp\/wordpress\/?p=685"},"modified":"2019-09-24T14:02:52","modified_gmt":"2019-09-24T05:02:52","slug":"python-gdal-api","status":"publish","type":"post","link":"https:\/\/ujicya.jp\/blog-mapping\/python-gdal-api\/","title":{"rendered":"Python3\u00d7\u5730\u7406\u7a7a\u9593\u30c7\u30fc\u30bf\u3000GDAL Python API \u3010\u672a\u5b8c\u3011"},"content":{"rendered":"\n<div class=\"wp-block-luxe-blocks-border-block\" style=\"margin-top:10px;margin-bottom:30px;margin-left:auto;margin-right:auto\"><div class=\"wp-block-luxe-blocks-border-block-content\" style=\"background-color:#f5f5f5;border:1px dashed #008000;border-radius:10px;padding:0px 15px 0px 15px\"><p><\/p>\n<p> \u3053\u306e\u8a18\u4e8b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u65b9\u3092\u5bfe\u8c61\u3068\u3057\u3066\u3044\u307e\u3059\uff0e <\/p>\n\n\n\n<ul><li>Python\u3067\u5730\u56f3\u30c7\u30fc\u30bf\uff0c\u4f4d\u7f6e\u30c7\u30fc\u30bf\u3092\u64cd\u3063\u3066\u307f\u305f\u3044<\/li><li>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306e\u57fa\u672c\u7684\u306a\u3053\u3068\u306f\u308f\u304b\u308b\u306f\u305a\u3060<\/li><li>\u5730\u56f3\u30fbGIS\u306b\u95a2\u3059\u308b\u77e5\u8b58\u304c\u3042\u308b<\/li><li>\u77e5\u8b58\u304c\u306a\u304f\u3066\u3082\u81ea\u5206\u3067\u8abf\u3079\u3089\u308c\u308b<\/li><li>tarok\u3068\u4e00\u7dd2\u306b\u52c9\u5f37\u3057\u305f\u3044\uff08\u7b11\uff09<\/li><li>\u672a\u719f\u306atarok\u306b\u30a2\u30c9\u30d0\u30a4\u30b9\u3057\u305f\u3044 \uff08\u3042\u308a\u304c\u305f\u3044\uff09 <\/li><\/ul>\n<\/div><\/div>\n\n\n\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>\u300cPython\u00d7\u5730\u7406\u7a7a\u9593\u30c7\u30fc\u30bf\u300d\u30b7\u30ea\u30fc\u30ba\u306e\u7b2c\uff13\u5f3e\u3067\u3059\uff0e<\/p>\n\n\n\n<p>\u524d\u56de\u3054\u7d39\u4ecb\u3057\u305f<span style=\"background-color: #ffff00\" class=\"background-color\">GDAL\u306ePythonAPI<\/span>\u306b\u3064\u3044\u3066\uff0c\u3088\u308a\u8a73\u3057\u304f\u307e\u3068\u3081\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u4eca\u56de\uff0c\u4e3b\u306b\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305fWeb\u30da\u30fc\u30b8\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff0e<\/p>\n\n\n\n<ul><li><a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/gdal.org\/python\/\" target=\"_blank\">GDAL\/OGR Python API<\/a><\/li><li><a href=\"https:\/\/gdal.org\/doxygen\/index.html\">GDAL: <\/a><a rel=\"noreferrer noopener\" aria-label=\"Main  (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/gdal.org\/doxygen\/index.html\" target=\"_blank\">Main <\/a><a href=\"https:\/\/gdal.org\/doxygen\/index.html\">Page<\/a><\/li><li><a href=\"https:\/\/pcjericks.github.io\/py-gdalogr-cookbook\/raster_layers.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">Python GDAL\/OGR Cookbook 1.0 documentation &gt; Raster Layers<\/a><\/li><\/ul>\n\n\n\n<p>\u306a\u304a\uff0c\u3053\u3053\u3067\u306f<strong>\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u3092\u7528\u3044<\/strong>\uff0c\u53ef\u80fd\u306a\u9650\u308a\u5177\u4f53\u7684\u306b\u307e\u3068\u3081\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\uff0e<\/p>\n\n\n\n<h2>\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf<\/h2>\n\n\n\n<p>\u4eca\u56de\u4f7f\u7528\u3059\u308b\u30e9\u30b9\u30bf\u30c7\u30fc\u30bf\u306f\uff0c\u5ca1\u5c71\u770c\u5357\u90e8\u306e\u6570\u5024\u6a19\u9ad8\u30e2\u30c7\u30eb\uff08DEM\uff1aDigital Elevation Model\uff09\u3067\u3059\uff0e<\/p>\n\n\n\n<p>QGIS\u3067\u53ef\u8996\u5316\u3059\u308b\u3068\uff0c\u3053\u306e\u3088\u3046\u306a\u611f\u3058\u3067\u3059\uff0e<\/p>\n\n\n\n<div class=\"wp-block-columns has-2-columns\">\n<div class=\"wp-block-column\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"611\" height=\"816\" src=\"https:\/\/ujicya.jp\/wordpress\/wp-content\/uploads\/2019\/09\/\u5ca1\u5c71\u5357DEM.jpg\" alt=\"\" class=\"wp-image-1607\" srcset=\"https:\/\/ujicya.jp\/blog-mapping\/wp-content\/uploads\/2019\/09\/\u5ca1\u5c71\u5357DEM.jpg 611w, https:\/\/ujicya.jp\/blog-mapping\/wp-content\/uploads\/2019\/09\/\u5ca1\u5c71\u5357DEM-225x300.jpg 225w\" sizes=\"(max-width: 611px) 100vw, 611px\" \/><figcaption>DEM<\/figcaption><\/figure><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column\">\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"605\" height=\"805\" src=\"https:\/\/ujicya.jp\/wordpress\/wp-content\/uploads\/2019\/09\/\u5ca1\u5c71\u5357.jpg\" alt=\"\" class=\"wp-image-1608\" srcset=\"https:\/\/ujicya.jp\/blog-mapping\/wp-content\/uploads\/2019\/09\/\u5ca1\u5c71\u5357.jpg 605w, https:\/\/ujicya.jp\/blog-mapping\/wp-content\/uploads\/2019\/09\/\u5ca1\u5c71\u5357-225x300.jpg 225w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><figcaption>Open Street Map<\/figcaption><\/figure><\/div>\n<\/div>\n<\/div>\n\n\n\n<table class=\"wp-block-table\"><tbody><tr><td>DEM\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9<\/td><td>\u56fd\u571f\u5730\u7406\u9662 \u57fa\u76e4\u5730\u56f3\u60c5\u5831 \u6570\u5024\u6a19\u9ad8\u30e2\u30c7\u30eb10m\u30e1\u30c3\u30b7\u30e5<\/td><\/tr><tr><td>DEM\u51e1\u4f8b<\/td><td><img loading=\"lazy\" width=\"294\" height=\"45\" class=\"wp-image-1066\" style=\"width: 150px;\" src=\"https:\/\/ujicya.jp\/wordpress\/wp-content\/uploads\/2019\/08\/elevation_color.jpg\" alt=\"DEM\u306e\u51e1\u4f8b\"><\/td><\/tr><\/tbody><\/table>\n\n\n\n<p>\u306a\u304a\uff0c\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u74b0\u5883\u306f\u4e0b\u8868\u306e\u901a\u308a\u3067\u3059\uff0e<\/p>\n\n\n\n<table class=\"wp-block-table is-style-regular font13\"><tbody><tr><td>OS<\/td><td>Windows<\/td><\/tr><tr><td>\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e<\/td><td>Python 3.7.3 (in Anaconda)<\/td><\/tr><tr><td>GDAL\/OGR<\/td><td>gdal 2.3.3<\/td><\/tr><\/tbody><\/table>\n\n\n\n<h2 id=\"0-gdal\u306e\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\">GDAL\u306e\u6982\u8981<\/h2>\n\n\n\n<h3>\u30e9\u30a4\u30d6\u30e9\u30ea\u69cb\u9020<\/h3>\n\n\n\n<p>GDAL\u306fOGR\u3068\u7d71\u5408\u3055\u308c\uff0cGDAL\/OGR\u3068\u3044\u3046\u5358\u4e00\u30e9\u30a4\u30d6\u30e9\u30ea\u3068\u3057\u3066\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3068\u524d\u56de\u66f8\u304d\u307e\u3057\u305f\uff0e<\/p>\n\n\n\n<p>Python\uff08Anaconda\uff09\u306b\u304a\u3044\u3066\u306f\u300cconda install gdal\u300d\u3067\u305d\u308c\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3057\u3066\uff0c\u4e2d\u8eab\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u69cb\u9020\u3092\u3057\u3066\u3044\u307e\u3059\uff0e<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" src=\"https:\/\/ujicya.jp\/wordpress\/wp-content\/uploads\/2019\/09\/osgeo-package-300x300.jpg\" alt=\"\" class=\"wp-image-1549\" width=\"240\" height=\"240\" srcset=\"https:\/\/ujicya.jp\/blog-mapping\/wp-content\/uploads\/2019\/09\/osgeo-package-300x300.jpg 300w, https:\/\/ujicya.jp\/blog-mapping\/wp-content\/uploads\/2019\/09\/osgeo-package-150x150.jpg 150w, https:\/\/ujicya.jp\/blog-mapping\/wp-content\/uploads\/2019\/09\/osgeo-package.jpg 361w\" sizes=\"(max-width: 240px) 100vw, 240px\" \/><figcaption>GDAL\/OGR\u306ePython\u7528\u30e9\u30a4\u30d6\u30e9\u30ea\u69cb\u9020<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u304d\u306fgdal\u306a\u306e\u306b\uff0c\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u306fosgeo\u306a\u3093\u3067\u3059\u306d\uff0e\u3061\u3087\u3063\u3068\u3084\u3084\u3053\u3044\uff0e<\/p>\n\n\n\n<p>\u307e\u3042\u305d\u308c\u306f\u7f6e\u3044\u3068\u3044\u3066\uff0c\u4eca\u56de\u53d6\u308a\u4e0a\u3052\u308b\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u4e3b\u306bgdal\u3067\uff0c\u5c11\u3057gdal_array\u3084gdalconst\u3082\u767b\u5834\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u4ed6\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306f\u5225\u306e\u6a5f\u4f1a\u3067\u6271\u3044\u307e\u3059\uff0e<\/p>\n\n\n\n<h3>\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb<\/h3>\n\n\n\n<p>\u524d\u56de\u306e\u753b\u50cf\u3092\u518d\u63b2\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u30e9\u30b9\u30bf\u30c7\u30fc\u30bf\u306f\uff0cGDAL\u3067\u306f\u3053\u306e\u56f3\u306e\u3088\u3046\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3068\u3057\u3066\u6271\u308f\u308c\u308b\u306e\u3067\u3057\u305f\uff0e<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img loading=\"lazy\" src=\"https:\/\/ujicya.jp\/wordpress\/wp-content\/uploads\/2019\/08\/GDAL_DataModel-1024x594.jpg\" alt=\"GDAL\u306e\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\" class=\"wp-image-643\" width=\"343\" height=\"198\"\/><figcaption>GDAL\u306e\u30e9\u30b9\u30bf\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb<br>\u300ePython Geospatial Development, Second Edition\u300fp.52\u3092\u53c2\u8003\u306b\u4f5c\u6210<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u4e2d\u306b\u30e9\u30b9\u30bf\u30fc\u30d0\u30f3\u30c9\u304c\uff11\u3064\u4ee5\u4e0a\u542b\u307e\u308c\u308b\u69cb\u9020\u3067\u3059\uff0e<\/p>\n\n\n\n<p>\u30d0\u30f3\u30c9\u306f\u30d4\u30af\u30bb\u30eb\u5024\u306e\u884c\u5217\u3067\u3042\u308a\uff0c\u3053\u308c\u304c\u30e9\u30b9\u30bf\u30c7\u30fc\u30bf\u306e\u4e3b\u8981\u90e8\u3068\u3082\u8a00\u3048\u308b\u3067\u3057\u3087\u3046\uff0e<\/p>\n\n\n\n<p>\u3068\u3053\u308d\u3067\uff0c\u3053\u306e\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u3067\u306f\uff0c\u3042\u305f\u304b\u3082Band\u304cDataset\u3092\u7d99\u627f\u3057\u3066\u3044\u308b\u3088\u3046\u306b\u932f\u899a\u3057\u3066\u3057\u307e\u3044\u307e\u3059\uff0e\uff08\u50d5\u3060\u3051\u304b\u3082\u3057\u308c\u307e\u305b\u3093w\uff09<\/p>\n\n\n\n<p>\u3057\u304b\u3057\uff0c\u5b9f\u969b\u306f\u4e0b\u56f3\u306e\u3088\u3046\u306b\uff0c\u4e21\u8005\u304cMajorObject\u3092\u7d99\u627f\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"489\" height=\"694\" src=\"https:\/\/ujicya.jp\/wordpress\/wp-content\/uploads\/2019\/08\/GDAL-PythonAPI-\u30af\u30e9\u30b9\u7d99\u627f\u56f3.jpg\" alt=\"Dataset\u3068Band\u306e\u7d99\u627f\u56f3\" class=\"wp-image-1029\" srcset=\"https:\/\/ujicya.jp\/blog-mapping\/wp-content\/uploads\/2019\/08\/GDAL-PythonAPI-\u30af\u30e9\u30b9\u7d99\u627f\u56f3.jpg 489w, https:\/\/ujicya.jp\/blog-mapping\/wp-content\/uploads\/2019\/08\/GDAL-PythonAPI-\u30af\u30e9\u30b9\u7d99\u627f\u56f3-211x300.jpg 211w\" sizes=\"(max-width: 489px) 100vw, 489px\" \/><figcaption>\u30af\u30e9\u30b9\u7d99\u627f\u95a2\u4fc2\uff08\u7c21\u7565\uff09<\/figcaption><\/figure><\/div>\n\n\n\n<p>MajorObject\u306f\u300c\u30e1\u30bf\u30c7\u30fc\u30bf\u300d\u3092\u6271\u3046\u305f\u3081\u306e\u6c4e\u7528\u7684\u306a\u30af\u30e9\u30b9\u3067\u3042\u308a\uff0cDataset\u3084Band\u4ee5\u5916\u306b\u3082MajorObject\u3092\u7d99\u627f\u3057\u3066\u3044\u308b\u30af\u30e9\u30b9\u304c\u3042\u308a\u307e\u3059\uff0e\uff08\u3053\u3053\u3067\u306f\u5272\u611b\u3057\u307e\u3059\uff0e\uff09<\/p>\n\n\n\n<p>\u3064\u307e\u308a\uff0c\u30e1\u30bf\u30c7\u30fc\u30bf\u306fMajorObject\u3067\u6271\u3044\uff0c\u3088\u308a\u5177\u4f53\u7684\u306a\u30af\u30e9\u30b9\u306e\u51e6\u7406\u306f\u5404\u6d3e\u751f\u30af\u30e9\u30b9\u3067\u5b9f\u88c5\u3059\u308b\u3068\u3044\u3046\u30c7\u30b6\u30a4\u30f3\u306a\u3093\u3067\u3057\u3087\u3046\uff0e<\/p>\n\n\n\n<p>\u7d99\u627f\u95a2\u4fc2\u3068\u304b\u3084\u3084\u3053\u3057\u3044\u8a71\u306b\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u304c\uff0c\u3068\u308a\u3042\u3048\u305a\u5148\u7a0b\u306e\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u3092\u5ff5\u982d\u306b\u304a\u3044\u3066\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3057\u3066\u3044\u3051\u3070\u5341\u5206\u3060\u3068\u601d\u3044\u307e\u3059\uff0e<\/p>\n\n\n\n<h2>\u30e9\u30b9\u30bf\u30c7\u30fc\u30bf\u306e\u8aad\u307f\u8fbc\u307f<\/h2>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">from osgeo import gdal\ndataset = gdal.Open(\"hogehoge.tif\") <\/code><\/pre>\n\n\n\n<p>gdal.Open()\u3092\u4f7f\u3063\u3066\u8aad\u307f\u8fbc\u307f\u307e\u3059\uff0e<\/p>\n\n\n\n<h3>\u8aad\u8fbc\u30e2\u30fc\u30c9<\/h3>\n\n\n\n<p>gdal.Open()\u3067\u306f\uff0c\u8aad\u8fbc\u30aa\u30f3\u30ea\u30fc\u30e2\u30fc\u30c9\uff08GA_ReadOnly\uff09\u3068\u66f4\u65b0\u30e2\u30fc\u30c9\uff08GA_Update\uff09\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306b\u4f55\u3082\u6307\u5b9a\u3057\u306a\u3051\u308c\u3070\u81ea\u52d5\u7684\u306b\u8aad\u8fbc\u30aa\u30f3\u30ea\u30fc\u30e2\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\uff08\u30d5\u30a1\u30a4\u30eb\uff09\u306e\u5024\u3092\u76f4\u63a5\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\uff0c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f4\u65b0\u30e2\u30fc\u30c9\u306b\u3057\u3066\u304f\u3060\u3055\u3044\uff0e<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">dataset = gdal.Open(\"hogehoge.tif\", gdal.GA_Update)<\/code><\/pre>\n\n\n\n<p>\u307e\u305f\uff0c\u66f4\u65b0\u30e2\u30fc\u30c9\u3067\u4e2d\u8eab\u3092\u5909\u66f4\u3057\u305f\u5f8c\uff0c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u66f8\u304d\u8fbc\u307f\u3092\u3057\u306a\u3044\u3068\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\uff0e<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">dataset.FlushCache()  #\u65b9\u6cd5\uff11\uff1a\u66f8\u304d\u8fbc\u3080\u3060\u3051\ndataset = None        #\u65b9\u6cd5\uff12\uff1a\u66f8\u304d\u8fbc\u3093\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u9589\u3058\u308b<\/code><\/pre>\n\n\n\n<p>\u8aad\u3080\u3060\u3051\u3067\u5341\u5206\u306a\u5834\u5408\u3084\uff0c\u65e2\u5b58\u306e\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u60c5\u5831\u3092\u7528\u3044\u3066\u65b0\u3057\u3044\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u306f\uff0c\u8aad\u8fbc\u30e2\u30fc\u30c9\u3067\u5341\u5206\u3067\u3059\uff0e<\/p>\n\n\n\n<h2>Dataset<\/h2>\n\n\n\n<p>help()\u3067Dataset\u306e\u4e2d\u8eab\u3092\u8997\u3044\u3066\u307f\u305f\u3089\u308f\u304b\u308b\u306e\u3067\u3059\u304c\uff0c\u304b\u306a\u308a\u591a\u304f\u306e\u30e1\u30bd\u30c3\u30c9\u3084\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u3042\u308a\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u79c1\u306f\u9762\u5012\u304f\u3055\u304c\u308a\u3086\u3048\uff0c\u30c7\u30fc\u30bf\u30e2\u30c7\u30eb\u306b\u95a2\u9023\u3059\u308b\u3082\u306e\u3092\u4e2d\u5fc3\u306b\u307e\u3068\u3081\u307e\u3059\uff0e<\/p>\n\n\n\n<h3>\u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n\n\n\n<p>\u5404\u9805\u76ee\u306f\u30a2\u30b3\u30fc\u30c7\u30a3\u30aa\u30f3\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\uff0c\u53c2\u7167\u3057\u305f\u3044\u9805\u76ee\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u304f\u3060\u3055\u3044\uff0e<\/p>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"cdd5ab6b628d5f65ed6502252c63\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"cdd5ab6b628d5f65ed6502252c63\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>RasterCount<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>Dataset\u304c\u542b\u3080\u30d0\u30f3\u30c9\u306e\u6570<\/p>\n\n\n\n<h4>\u51fa\u529b<\/h4>\n\n\n\n<p>int<\/p>\n\n\n\n<h4>\u30b5\u30f3\u30d7\u30eb\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">dataset.RasterCount<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter\"><code>\u30001\u3000<\/code><\/pre>\n\n\n\n<p>\u6a19\u9ad8\u5024\u306e1\u30d0\u30f3\u30c9\u3057\u304b\u5165\u3063\u3066\u307e\u305b\u3093\uff0e<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"e50021ce13ba059f234d8cc6e492\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"e50021ce13ba059f234d8cc6e492\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>RasterXSize<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>\u5e45\uff08\u6771\u897f\u65b9\u5411\u306e\u30d4\u30af\u30bb\u30eb\u6570\uff09 <\/p>\n\n\n\n<h4>\u51fa\u529b<\/h4>\n\n\n\n<p>int<\/p>\n\n\n\n<h4>\u30b5\u30f3\u30d7\u30eb\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">dataset.RasterXSize<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>3032<\/code><\/pre>\n\n\n\n<p><\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"1035e4695ac08b17c782e10b3469\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"1035e4695ac08b17c782e10b3469\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>RasterYSize<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p> \u9ad8\u3055\uff08\u5357\u5317\u65b9\u5411\u306e\u30d4\u30af\u30bb\u30eb\u6570\uff09 <\/p>\n\n\n\n<h4>\u51fa\u529b<\/h4>\n\n\n\n<p>int<\/p>\n\n\n\n<h4>\u30b5\u30f3\u30d7\u30eb\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">dataset.RasterXSize <\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>4063<\/code><\/pre>\n\n\n\n<p>XSize(3032)\u00d7YSize(4063)=12,319,016\u500b\u306e\u30bb\u30eb\u6570\u3063\u3066\u3053\u3068\u3067\u3059\u306d\uff0e<br>\u30d3\u30c3\u30af\u30c7\u30fc\u30bf\u3060\u3042\u3041<\/p>\n<\/div><\/div>\n\n\n\n<h3>\u30e1\u30bd\u30c3\u30c9<\/h3>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"0048c1fcfa62b012b77d68b32459\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"0048c1fcfa62b012b77d68b32459\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>GetProjection()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>\u7a7a\u9593\u53c2\u7167\u7cfb\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\uff0e<\/p>\n\n\n\n<h4>\u51fa\u529b<\/h4>\n\n\n\n<p>string\uff08\u4ee5\u4e0b\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u3044\u305a\u308c\u304b\uff09<\/p>\n\n\n\n<ul><li>Well Known Text (WKT)<\/li><li>Human-Readable OGC WKT<\/li><li>Proj4<\/li><li>OGC WKT<\/li><li>JSON<\/li><li>GML<\/li><li>ESRI WKT<\/li><li>.PRJ File<\/li><li>USGS<\/li><li>MapServer Mapfile | Python<\/li><li>Mapnik XML | Python<\/li><li>GeoServer<\/li><li>PostGIS spatial_ref_sys INSERT statement<\/li><li>Proj4js format<\/li><\/ul>\n\n\n\n<p>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u3064\u3044\u3066\u306f\u300c<a href=\"https:\/\/spatialreference.org\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">spatialreference.org<\/a>\u300d\u3067\u767b\u9332\u30fb\u691c\u7d22\u30fb\u95b2\u89a7\u304c\u3067\u304d\u307e\u3059\uff0e<\/p>\n\n\n\n<h4>\u30b5\u30f3\u30d7\u30eb\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">dataset.GetProjection()<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>'LOCAL_CS[\"JGD2000 \/ Japan Plane Rectangular CS V\",\n             GEOGCS[\"JGD2000\", \n                     DATUM[\"unknown\", SPHEROID[\"unretrievable - using WGS84\", 6378137,298.257223563], TOWGS84[0,0,0,0,0,0,0]],\n                    PRIMEM[\"Greenwich\",0],\n                      UNIT[\"degree\",0.0174532925199433]], \n          AUTHORITY[\"EPSG\",\"2447\"],\n               UNIT[\"metre\",1, AUTHORITY[\"EPSG\",\"9001\"]]]'<\/code><\/pre>\n\n\n\n<p>\u4e0a\u306e\u7d50\u679c\u306f\uff0c\u5165\u308c\u5b50\u69cb\u9020\u304c\u898b\u3084\u3059\u3044\u3088\u3046\u306b\u5c11\u3005\u52a0\u5de5\u3057\u3066\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u3061\u306a\u307f\u306b\uff0c\u3053\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u3092WKT\uff08well-known text\uff09\u3068\u547c\u3073\u307e\u3059\uff0e<br>WKT\u306b\u3064\u3044\u3066\u306f\uff0c<a rel=\"noreferrer noopener\" aria-label=\"\u3053\u306e\u30b5\u30a4\u30c8 (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"http:\/\/docs.geotools.org\/stable\/javadocs\/org\/opengis\/referencing\/doc-files\/WKT.html\" target=\"_blank\">\u3053\u306e\u30b5\u30a4\u30c8<\/a>\u306a\u3069\u306b\u8a73\u3057\u304f\u8f09\u3063\u3066\u3044\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u5165\u308c\u5b50\u69cb\u9020\u306e\u4e0a\u4f4d\u304b\u3089\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\uff0e<\/p>\n\n\n\n<ul><li>LOCAL_CS<br>\u30ed\u30fc\u30ab\u30eb\u6e2c\u5730\u7cfb\uff08Local Coordinate System\uff09\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\uff0e<br>\u5730\u56f3\u4f5c\u6210\u3084\u6e2c\u91cf\u306a\u3069\u306b\u304a\u3044\u3066\u5171\u901a\u7684\u306b\u4f7f\u7528\u3067\u304d\u308b\u7d4c\u7def\u5ea6\u3084\u6a19\u9ad8\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306e\u57fa\u6e96\u3092\u6e2c\u5730\u7cfb\u3068\u3044\u3044\u307e\u3059\uff0e<br>\u3053\u306e\u6e2c\u5730\u7cfb\u306b\u306f\uff0c\u7279\u5b9a\u5730\u57df\u306e\u307f\u3067\u9069\u7528\u3067\u304d\u308b\u30ed\u30fc\u30ab\u30eb\u6e2c\u5730\u7cfb\u3068\uff0c\u4e16\u754c\u7684\u7bc4\u56f2\u3067\u9069\u7528\u3067\u304d\u308b\u4e16\u754c\u6e2c\u5730\u7cfb\u304c\u3042\u308a\u307e\u3059\uff0e<br>\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u306f\u65e5\u672c\u6e2c\u5730\u7cfb\u3067\u3042\u308a\uff0c\u30ed\u30fc\u30ab\u30eb\u6e2c\u5730\u7cfb\u306e\u3072\u3068\u3064\u3067\u3059\uff0e<br>\u3053\u306e\u8a71\u306f\uff0c\u3055\u3059\u304c\u306e<a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/www.esrij.com\/gis-guide\/coordinate-and-spatial\/datum\/\" target=\"_blank\">Esri\u3055\u3093<\/a>\u304c\u308f\u304b\u308a\u3084\u3059\u3044\u306e\u3067\u8a73\u7d30\u306f\u304a\u8b72\u308a\u3057\u307e\u3059\uff0e<br>\u7a7a\u9593\u53c2\u7167\u7cfb\u5168\u822c\u306b\u3064\u3044\u3066\u306f\uff0c<a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/qiita.com\/boiledorange73\/items\/b98d3d1ef3abf7299aba\" target=\"_blank\">\u3053\u3053<\/a>\u304c\u308f\u304b\u308a\u3084\u3059\u3044\u3067\u3059\uff0e<br>\u3000<\/li><li>JGD2000 \/ Japan Plane Rectangular CS V<br>\u300cJGD2000\u300d\u306f\u65e5\u672c\u6e2c\u5730\u7cfb\u3092\uff0c\u300cJapan Plane Rectangular CS V\u300d\u306f\u5e73\u9762\u76f4\u89d2\u5ea7\u6a19\u7cfb\u306e\u7b2c\uff15\u7cfb\u3067\u3042\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u3066\u3044\u307e\u3059\uff0e<br>\u8a73\u7d30\u306f\uff0c<a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"http:\/\/tmizu23.hatenablog.com\/entry\/20091215\/1260868350\" target=\"_blank\">\u3053\u3053<\/a>\u3084<a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"http:\/\/blog.godo-tys.jp\/2012\/11\/21\/999\/\" target=\"_blank\">\u305d\u3053<\/a>\u304c\u8a73\u3057\u3044\u3067\u3059\uff0e<br>\u3000<\/li><li>GEOGCS<br>\u5730\u7406\u5ea7\u6a19\u3067\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\uff0e<br>\u6295\u5f71\u5ea7\u6a19\u3067\u3042\u308c\u3070\u300cPROJCS\u300d\uff0c\u5730\u5fc3\u304b\u3089\u898b\u305f\u5ea7\u6a19\u306a\u3089\u300cGEOCCS\u300d\u306b\u306a\u308a\u307e\u3059\uff0e<br><a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/www.ibm.com\/support\/knowledgecenter\/ja\/SSEPGG_9.7.0\/com.ibm.db2.luw.spatial.topics.doc\/doc\/db2sb176.html\" target=\"_blank\">\u3053\u3053<\/a>\u306b\u8f09\u3063\u3066\u3044\u307e\u3059\uff0e<br>\u3000<\/li><li>DATUM<br>\u6c34\u5e73\u65b9\u5411\u306e\u6e2c\u5730\u57fa\u6e96\u3092\u793a\u3057\u307e\u3059\uff0e<br>\u3000<\/li><li>SPHEROID<br>\u9078\u629e\u3055\u308c\u3066\u3044\u308b\u56de\u8ee2\u6955\u5186\u4f53\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u793a\u3057\u307e\u3059\uff0e<br><a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"http:\/\/desktop.arcgis.com\/ja\/arcmap\/10.3\/guide-books\/map-projections\/about-the-geoid-ellipsoid-spheroid-and-datum-and-h.htm\" target=\"_blank\">\u3053\u3053\u3089\u3078\u3093<\/a>\u306e\u8a71\u3067\u3059\uff0e<br>\u3000<\/li><li>TOWGS84<br>WGS84\u4ee5\u5916\u306e\u6e2c\u5730\u7cfb\u304b\u3089WGS84\u306b\u5909\u63db\u3059\u308b\u305f\u3081\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3067\u3059\uff0e<br><a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"https:\/\/qiita.com\/boiledorange73\/items\/62ad8db82364a0f93fa8\" target=\"_blank\">\u3053\u3053<\/a>\u306b\u8a73\u3057\u304f\u8f09\u3063\u3066\u3044\u307e\u3057\u305f\uff0e<br>\u3000<\/li><li>PRIMEM<br>\u57fa\u6e96\u306b\u3059\u308b\u7d4c\u7dda\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\uff0e<br>\u3053\u306e\u30c7\u30fc\u30bf\u3067\u306f\u300c\u30b0\u30ea\u30cb\u30c3\u30b8\u5b50\u5348\u7dda\uff08Greenwich\uff09\u300d\u3067\u3059\uff0e<br>\u307e\u305f\uff0c\u6570\u5024\u304c\u6b63\u306e\u5024\u306a\u3089\u30b0\u30ea\u30cb\u30c3\u30b8\u3088\u308a\u6771\u306b\uff0c\u8ca0\u306e\u5024\u306a\u3089\u897f\u306b\u57fa\u6e96\u304c\u3042\u308b\u3053\u3068\u3092\u793a\u3057\u307e\u3059\uff0e<br><a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"http:\/\/docs.geotools.org\/stable\/javadocs\/org\/opengis\/referencing\/doc-files\/WKT.html#UNIT\" target=\"_blank\">\u3053\u3053<\/a>\u3092\u53c2\u8003\u306b\u3057\u307e\u3057\u305f\uff0e<br>\u3000<\/li><li>AUTHORITY<br><a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"http:\/\/docs.geotools.org\/stable\/javadocs\/org\/opengis\/referencing\/doc-files\/WKT.html\" target=\"_blank\">\u3053\u306e\u30b5\u30a4\u30c8<\/a>\u306b\u3088\u308b\u3068\u30aa\u30d7\u30b7\u30e7\u30f3\u60c5\u5831\u3092\u683c\u7d0d\u3067\u304d\u308b\u5834\u6240\u3068\u306e\u3053\u3068\u3067\u3059\u304c\uff0c\u307b\u3068\u3093\u3069\u306e\u5834\u5408\u306fEPSG\u30b3\u30fc\u30c9\u304c\u5165\u3063\u3066\u3044\u307e\u3059\uff0e<br>EPSG\u30b3\u30fc\u30c9\u3068\u306f\uff0c\u5404\u5ea7\u6a19\u53c2\u7167\u7cfb\u306b\u5272\u308a\u632f\u3089\u308c\u305fID\u3067\u3059\uff0e<br>\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u306e\u5834\u5408\u306f\u300c2447\u300d \u304c\u300cJGD2000 \/ Japan Plane Rectangular CS V\u300d\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\uff0e<br>\u3088\u304f\u4f7f\u3046\u7a7a\u9593\u53c2\u7167\u7cfb\u306eEPSG\u306f\u899a\u3048\u3066\u304a\u304f\u3068\u4fbf\u5229\u3067\u3059\uff0e<br>\u65e5\u672c\u3060\u3051\u306a\u3089<a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"http:\/\/tmizu23.hatenablog.com\/entry\/20091215\/1260868350\" target=\"_blank\">\u3053\u3053<\/a>\u304c\u8a73\u3057\u3044\u3067\u3059\uff0e<br>EPSG\u305d\u306e\u3082\u306e\u306b\u3064\u3044\u3066\u306f<a rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\" href=\"http:\/\/club.informatix.co.jp\/?p=1225\" target=\"_blank\">\u3053\u306e\u30b5\u30a4\u30c8<\/a>\u306b\u8f09\u3063\u3066\u307e\u3059\uff0e<br>\u3000<\/li><li>UNIT<br>\u5358\u4f4d\u3067\u3059\uff0e<br>\u300cmetre\u300d\u306a\u3089\u3070\u30e1\u30fc\u30c8\u30eb\u5358\u4f4d\u306e\u8ddd\u96e2\uff0c\u300cdegree\u300d\u306a\u3089\u89d2\u5ea6\u3067\u3059\uff0e<\/li><\/ul>\n\n\n\n<p><\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"bdaffafc9d46712ebd4d90e91dd9\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"bdaffafc9d46712ebd4d90e91dd9\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>SetProjection()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>\u7a7a\u9593\u53c2\u7167\u7cfb\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<h4>\u5165\u529b<\/h4>\n\n\n\n<p>String\uff08\u4ee5\u4e0b\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u3044\u305a\u308c\u304b\uff09<\/p>\n\n\n\n<p>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306e\u8a18\u8ff0\u6cd5\u306e\u8a73\u7d30\u306fGetProjection()\u3084<a rel=\"noreferrer noopener\" href=\"https:\/\/spatialreference.org\/\" target=\"_blank\">spatialreference.org<\/a>\u3092\u898b\u3066\u304f\u3060\u3055\u3044\uff0e<\/p>\n\n\n\n<h4>\u30b5\u30f3\u30d7\u30eb\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\"># \u66f4\u65b0\u30e2\u30fc\u30c9\u3067\u8aad\u307f\u8fbc\u3093\u3067\u3044\u308b\u3082\u306e\u3068\u3059\u308b\nwkt = 'GEOGCS[\"JGD2000\",DATUM[\"unknown\",SPHEROID[\"unnamed\",6378137,298.2572221010042],TOWGS84[0,0,0,0,0,0,0]],PRIMEM[\"Greenwich\",0],UNIT[\"degree\",0.0174532925199433],AUTHORITY[\"EPSG\",\"4612\"]]'\ndataset.SetProjection(wkt)\ndataset.FlushCache()       #\u5909\u66f4\u306e\u4fdd\u5b58<\/code><\/pre>\n\n\n\n<p><\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"5b3cdef4d17526659e187047f74f\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"5b3cdef4d17526659e187047f74f\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>GetGeoTransform()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>\u5730\u56f3\u753b\u50cf\u306e\u60c5\u5831\uff08\u5ea7\u6a19\u5024\u306a\u3069\uff09\u3092\u53d6\u5f97\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<h4>\u51fa\u529b<\/h4>\n\n\n\n<p>tuple<br>(num, num, num, num, num, num) <\/p>\n\n\n\n<p>\u4e2d\u8eab\u306f\u4ee5\u4e0b\u306e\u9806\u756a\u3067\u3059\uff0e<\/p>\n\n\n\n<ol><li>\u753b\u50cf\u5de6\u4e0a\u30bb\u30eb\u306eX\u5ea7\u6a19<\/li><li>\u5358\u4e00\u30bb\u30eb\u306eX\u30b5\u30a4\u30ba\uff08\u6771\u30fc\u897f\uff09<\/li><li>\u56de\u8ee2\u5ea6\uff08\u4e0a\u304c\u5317\u306a\u30890\uff09<\/li><li>\u753b\u50cf\u5de6\u4e0a\u30bb\u30eb\u306eY\u5ea7\u6a19<\/li><li>\u56de\u8ee2\u5ea6\uff08\u4e0a\u304c\u5317\u306a\u30890\uff09 <\/li><li>\u5358\u4e00\u30bb\u30eb\u306eY\u30b5\u30a4\u30ba\uff08\u5317\u30fc\u5357\uff09<\/li><\/ol>\n\n\n\n<p>\u753b\u50cf\u306f\u57fa\u672c\u7684\u306b\u5de6\u4e0a\u7aef\u3092\u57fa\u6e96\u306b\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" width=\"284\" height=\"280\" src=\"https:\/\/ujicya.jp\/wordpress\/wp-content\/uploads\/2019\/09\/\u753b\u50cf\u306e\u5ea7\u6a19\u306b\u3064\u3044\u3066.jpg\" alt=\"\u3053\u306e\u56f3\u306e\u3088\u3046\u306b\u753b\u50cf\u306f\u5de6\u4e0a\u3092\u57fa\u6e96\u306b\u3057\u3066\u3044\u307e\u3059\uff0e\" class=\"wp-image-1618\"\/><\/figure><\/div>\n\n\n\n<h4>\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">dataset.GetGeoTransform()<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>(-65112.075071631014,\n 11.418434105844657,\n 0.0,\n -129197.91163072696,\n 0.0,\n -11.418434105844657)<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"7c207a791d30660901660fc3937f\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"7c207a791d30660901660fc3937f\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>SetGeoTransform()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>\u5730\u56f3\u753b\u50cf\u306e\u60c5\u5831\uff08\u5ea7\u6a19\u5024\u306a\u3069\uff09\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<h4>\u5165\u529b<\/h4>\n\n\n\n<p>tuple<br>(num, num, num, num, num, num)<\/p>\n\n\n\n<p>\u4e2d\u8eab\u306e\u8a73\u7d30\u306fGetGeoTransform()\u3092\u898b\u3066\u304f\u3060\u3055\u3044\uff0e<\/p>\n\n\n\n<h4>\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\"># \u66f4\u65b0\u30e2\u30fc\u30c9\ngt = (-65112.075071631014, 11.418434105844657, 0.0, -129197.91163072696, 0.0, -11.418434105844657)\ndataset.SetGeoTransform(gt)\ndataset.FlushCache()<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"c58a1b1fa2496cff8633cc284b1a\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"c58a1b1fa2496cff8633cc284b1a\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>GetDescription()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u540d\uff08\u30d5\u30eb\u30d1\u30b9\uff09\u3092\u53d6\u5f97\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<h4>\u51fa\u529b<\/h4>\n\n\n\n<p>string<\/p>\n\n\n\n<h4>\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">dataset.GetDescription()<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>'C:\\\\hogehoge\\\\raster.tif'<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"39e3f089c6b7242e797e6b3438ef\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"39e3f089c6b7242e797e6b3438ef\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>GetMetadata()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>\u30e1\u30bf\u30c7\u30fc\u30bf\uff08\u88dc\u52a9\u7684\u306a\u60c5\u5831\uff09\u3092\u53d6\u5f97\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<h4>\u51fa\u529b<\/h4>\n\n\n\n<p>dict<\/p>\n\n\n\n<p>\u4ee3\u8868\u7684\u306aGDAL\u30e1\u30bf\u30c7\u30fc\u30bf\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff0e<br>\uff08 <a href=\"https:\/\/gdal.org\/user\/raster_data_model.html#color-table\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">\u3053\u306e\u30da\u30fc\u30b8<\/a> \u3088\u308a\uff09<\/p>\n\n\n\n<ul><li>AREA_OR_POINT\uff1a\u300cArea\u300d\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09\u307e\u305f\u306f\u300cPoint\u300d\u306e\u3044\u305a\u308c\u304b\uff0e<\/li><li>NODATA_VALUES\uff1a\u30d0\u30f3\u30c9\u3054\u3068\u306enodata\u306e\u5024\u306e\u30ea\u30b9\u30c8\uff0e<\/li><\/ul>\n\n\n\n<p>\u307e\u305f\uff0cGeotiff\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30e1\u30bf\u30c7\u30fc\u30bf\u306f<a href=\"https:\/\/gdal.org\/drivers\/raster\/gtiff.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (\u65b0\u3057\u3044\u30bf\u30d6\u3067\u958b\u304f)\">\u3053\u306e\u30da\u30fc\u30b8<\/a>\u306b\u8f09\u3063\u3066\u3044\u307e\u3059\uff0e<\/p>\n\n\n\n<h4>\u30b5\u30f3\u30d7\u30eb\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">dataset.GetMetadata()<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>{'AREA_OR_POINT': 'Area'}<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"5f3e4fc274074ad742645c53dad7\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"5f3e4fc274074ad742645c53dad7\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>SetMetadata()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>\u30e1\u30bf\u30c7\u30fc\u30bf\uff08\u88dc\u52a9\u7684\u306a\u60c5\u5831\uff09\u3092\u8a2d\u5b9a\u3057\u307e\u3059\uff0e <\/p>\n\n\n\n<h4>\u5165\u529b<\/h4>\n\n\n\n<p>dict<\/p>\n\n\n\n<p>\u8a73\u7d30\u306fGetMetaData()\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\uff0e<\/p>\n\n\n\n<h4>\u30b5\u30f3\u30d7\u30eb\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\"># \u66f4\u65b0\u30e2\u30fc\u30c9\ndataset.SetMetadata({\"TIFFTAG_DOCUMENTNAME\": \"metameta\"})\ndataset.FlushCache()<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"9e5cc4fcb8333ce1e977dd7d5a87\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"9e5cc4fcb8333ce1e977dd7d5a87\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>GetRasterBand()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u542b\u307e\u308c\u308b\u30d0\u30f3\u30c9\u3092\u53d6\u5f97\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<h4>\u5165\u529b<\/h4>\n\n\n\n<p>int<\/p>\n\n\n\n<p>\u53d6\u5f97\u3057\u305f\u3044\u30d0\u30f3\u30c9\u306e\u756a\u53f7\uff081~\uff09\u3067\u3059\uff0e<\/p>\n\n\n\n<h4>\u51fa\u529b<\/h4>\n\n\n\n<p>band\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/p>\n\n\n\n<h4>\u30b5\u30f3\u30d7\u30eb\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">band1 = dataset.GetRasterBand(1)\ntype(band1)<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>osgeo.gdal.Band<\/code><\/pre>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"b3c15c26a5a72664ad7b6669a499\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"b3c15c26a5a72664ad7b6669a499\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>ReadAsArray()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px dotted #006edc\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>\u5168\u3066\u306e\u30d0\u30f3\u30c9\u306e\u914d\u5217\u90e8\u5206\u3092numpy\u914d\u5217\uff08ndarray\uff09\u3068\u3057\u3066\u53d6\u5f97\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<p>\u30de\u30eb\u30c1\u30d0\u30f3\u30c9\u30c7\u30fc\u30bf\u306e\u5834\u5408\uff0c\u3059\u3079\u3066\u306e\u914d\u5217\u3092\u4e00\u5ea6\u306b\u53d6\u5f97\u3059\u308b\u3068\u975e\u5e38\u306b\u91cd\u304f\u306a\u308b\u306e\u3067\uff0c\u901a\u5e38\u306f\u300cGetRasterBand()\u300d\u3067\u53d6\u5f97\u3057\u305f\u30d0\u30f3\u30c9\u306b\u5bfe\u3057\u3066\u300cReadAsArray()\u300d\u3092\u9069\u7528\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<h4>\u51fa\u529b<\/h4>\n\n\n\n<p>ndarray<\/p>\n\n\n\n<h4>\u30b5\u30f3\u30d7\u30eb\u4f7f\u7528\u4f8b<\/h4>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">dataset.ReadAsArray()<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>array([[0., 0., 0., ..., 0., 0., 0.],\n       [0., 0., 0., ..., 0., 0., 0.],\n       [0., 0., 0., ..., 0., 0., 0.],\n       ...,\n       [0., 0., 0., ..., 0., 0., 0.],\n       [0., 0., 0., ..., 0., 0., 0.],\n       [0., 0., 0., ..., 0., 0., 0.]], dtype=float32)<\/code><\/pre>\n\n\n\n<p>\u5358\u30d0\u30f3\u30c9\u30c7\u30fc\u30bf\u306a\u306e\u3067\uff0c1\u3064\u306e\u914d\u5217\u304c\u53d6\u5f97\u3067\u304d\u307e\u3057\u305f\uff0e<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"95adf02cb32f3b60192bb07acd4f\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"95adf02cb32f3b60192bb07acd4f\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>ReadArray()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px dotted #006edc\"><p><\/p>\n<h4>\u6982\u8981<\/h4>\n\n\n\n<p>\u5168\u3066\u306e\u30d0\u30f3\u30c9\u306e\u30e9\u30b9\u30bf\u30c7\u30fc\u30bf\u3092\u30d0\u30a4\u30c8\u5217\u3067\u53d6\u5f97\u3057\u307e\u3059\uff0e<\/p>\n\n\n\n<h4>\u51fa\u529b<\/h4>\n\n\n\n<h4>\u30b5\u30f3\u30d7\u30eb\u4f7f\u7528\u4f8b<\/h4>\n<\/div><\/div>\n\n\n\n<h2>Band<\/h2>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">band = dataset.GetRasterBand(1)<\/code><\/pre>\n\n\n\n<p>Band\u306e\u4e2d\u8eab\u3082\uff0c\u4e00\u90e8\u306e\u307f\u306e\u3054\u7d39\u4ecb\u3068\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\uff0e<\/p>\n\n\n\n<h3>\u30d7\u30ed\u30d1\u30c6\u30a3<\/h3>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"211e8072d8bfb29f68ad5ff36d94\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"211e8072d8bfb29f68ad5ff36d94\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>Datatype<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px dotted #006edc\"><p><\/p>\n<p><\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"3f2a2aba5129fb9f6bacf3acde56\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"3f2a2aba5129fb9f6bacf3acde56\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>XSize<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px dotted #006edc\"><p><\/p><\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"4fc97d2243dadc118fc32a95a678\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"4fc97d2243dadc118fc32a95a678\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>YSize<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px dotted #006edc\"><p><\/p><\/div><\/div>\n\n\n\n<h3>\u30e1\u30bd\u30c3\u30c9<\/h3>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"4eee8d4a89f878fad2fc7190a69a\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"4eee8d4a89f878fad2fc7190a69a\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>ComputeBandStats()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px dotted #006edc\"><p><\/p><\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"52cc8336ea979380ad0727d2579b\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"52cc8336ea979380ad0727d2579b\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span><\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px dotted #006edc\"><p><\/p><\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"af64f2c7ed22dfe00272090febbd\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"af64f2c7ed22dfe00272090febbd\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span><\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px dotted #006edc\"><p><\/p><\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"d1228eb0b41bfbdea4379b2aeba0\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"d1228eb0b41bfbdea4379b2aeba0\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span><\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px dotted #006edc\"><p><\/p><\/div><\/div>\n\n\n\n<div class=\"wp-block-luxe-blocks-accordion\" style=\"margin-top:10px;margin-bottom:30px\"><input id=\"c29daee89e70a0607034810916d9\" class=\"acb\" type=\"checkbox\" style=\"display:none\"\/><label class=\"acl\" for=\"c29daee89e70a0607034810916d9\" style=\"color:#000000;background-color:#ffffff;border:1px solid #ffffff;display:flex;margin:0\"><div class=\"act\" style=\"padding:5px 15px;flex:1 0\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"18\" height=\"18\" viewbox=\"0 2 24 28\"><path d=\"M16 21.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-1.5v-8c0-0.281-0.219-0.5-0.5-0.5h-5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h1.5v5h-1.5c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h7c0.281 0 0.5-0.219 0.5-0.5zM14 7.5v-2.5c0-0.281-0.219-0.5-0.5-0.5h-3c-0.281 0-0.5 0.219-0.5 0.5v2.5c0 0.281 0.219 0.5 0.5 0.5h3c0.281 0 0.5-0.219 0.5-0.5zM24 14c0 6.625-5.375 12-12 12s-12-5.375-12-12 5.375-12 12-12 12 5.375 12 12z\" fill=\"#000000\"><\/path><\/svg><span>GetMetadata()<\/span><\/div><div class=\"aci\" style=\"margin:5px 0;padding:0 15px;border-left:1px solid #fff\"><\/div><\/label><div class=\"acc\" style=\"border:1px solid #d3d3d3\"><p><\/p>\n<ul><li>\u6982\u3000\u8981\uff1a<\/li><li>\u8fd4\u308a\u5024\uff1a<\/li><li>\u30b5\u30f3\u30d7\u30eb\u4f7f\u7528\u4f8b<\/li><\/ul>\n\n\n\n<p><\/p>\n<\/div><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2>gdal\u95a2\u9023\u30e2\u30b8\u30e5\u30fc\u30eb<\/h2>\n\n\n\n<h3>gdal_array<\/h3>\n\n\n\n<p>band\u306enumpy\u914d\u5217\uff08ndarray\uff09\u3068\u30e9\u30b9\u30bf\u2015\u30c7\u30fc\u30bf\uff08Dataset\uff09\u9593\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306b\u7279\u5316\u3057\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\uff0e<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-python\"><code class=\"language-python\">from osgeo import gdal_array\n\u3000\n# \u30e9\u30b9\u30bf\u30c7\u30fc\u30bf\u304b\u3089\u914d\u5217\u3092\u53d6\u5f97\narray = gdal_array.LoadFile(\"hogehoge.tif\")\n\u3000\n# \u914d\u5217\u304b\u3089\u30e9\u30b9\u30bf\u30c7\u30fc\u30bf\u3092\u751f\u6210\nds = gdal_array.OpenArray(array)<\/code><\/pre>\n\n\n\n<h3>gdalconst<\/h3>\n\n\n\n<p>gdalconst\u306f\uff0cgdal\u5185\u90e8\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u5c02\u9580\u7528\u8a9e\u3068\u305d\u308c\u3089\u306b\u4ed8\u3051\u3089\u308c\u305f\u5b9a\u6570\u5024\uff08ID\uff09\u306e\u6271\u3044\u306b\u7279\u5316\u3057\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\uff0e<\/p>\n\n\n\n<h2>\u95a2\u9023\u8a18\u4e8b<\/h2>\n\n\n\n<div class=\"wp-block-columns has-2-columns\">\n<div class=\"wp-block-column\">\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-togineer-blog\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/ujicya.jp\/wordpress\/python-geospatial-programming-2\/\n<\/div><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column\"><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u300cPython\u00d7\u5730\u7406\u7a7a\u9593\u30c7\u30fc\u30bf\u300d\u30b7\u30ea\u30fc\u30ba\u306e\u7b2c\uff13\u5f3e\u3067\u3059\uff0e \u524d\u56de\u3054\u7d39\u4ecb\u3057\u305fGDAL\u306ePythonAPI\u306b\u3064\u3044\u3066\uff0c\u3088\u308a\u8a73\u3057\u304f\u307e\u3068\u3081\u307e\u3059\uff0e \u4eca\u56de\uff0c\u4e3b\u306b\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u3044\u305fWeb\u30da\u30fc\u30b8\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\uff0e GDAL\/OG [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[13,39,19],"_links":{"self":[{"href":"https:\/\/ujicya.jp\/blog-mapping\/wp-json\/wp\/v2\/posts\/685"}],"collection":[{"href":"https:\/\/ujicya.jp\/blog-mapping\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ujicya.jp\/blog-mapping\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ujicya.jp\/blog-mapping\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ujicya.jp\/blog-mapping\/wp-json\/wp\/v2\/comments?post=685"}],"version-history":[{"count":0,"href":"https:\/\/ujicya.jp\/blog-mapping\/wp-json\/wp\/v2\/posts\/685\/revisions"}],"wp:attachment":[{"href":"https:\/\/ujicya.jp\/blog-mapping\/wp-json\/wp\/v2\/media?parent=685"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ujicya.jp\/blog-mapping\/wp-json\/wp\/v2\/categories?post=685"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ujicya.jp\/blog-mapping\/wp-json\/wp\/v2\/tags?post=685"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}