{"id":6237,"date":"2018-12-23T09:00:12","date_gmt":"2018-12-23T00:00:12","guid":{"rendered":"https:\/\/gunmagisgeek.com\/wordpress\/?p=6237"},"modified":"2022-07-01T02:42:00","modified_gmt":"2022-06-30T17:42:00","slug":"gee%e5%85%a5%e9%96%80%e8%a1%9b%e6%98%9f%e7%94%bb%e5%83%8f%e3%81%ae%e3%82%a8%e3%82%af%e3%82%b9%e3%83%9d%e3%83%bc%e3%83%88%e7%94%bb%e5%83%8f%ef%bc%8f%e5%8b%95%e7%94%bb%ef%bc%8f%e3%82%bf%e3%82%a4","status":"publish","type":"post","link":"https:\/\/gunmagisgeek.com\/blog\/googleearthengine\/6237","title":{"rendered":"[Google Earth Engine\u5165\u9580]\u885b\u661f\u753b\u50cf\u306e\u30a8\u30af\u30b9\u30dd\u30fc\u30c8(\u753b\u50cf\uff0f\u52d5\u753b\uff0f\u30bf\u30a4\u30eb)"},"content":{"rendered":"<h2>\u6982\u8981<\/h2>\n<p>Google Earth Engine\u3067\u7de8\u96c6\u30fb\u4f5c\u6210\u3057\u305f\u885b\u661f\u753b\u50cf\u3092Google\u30c9\u30e9\u30a4\u30d6\u3084\u30af\u30e9\u30a6\u30c9\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<br \/>\n\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u305f\u753b\u50cf\u3084\u52d5\u753b\u306f\u3001GIS\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u8aad\u307f\u8fbc\u3093\u3060\u308a\u3001\u5916\u90e8\u30b5\u30a4\u30c8\u7b49\u3067\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>GeoTIFF\u753b\u50cf\u3068\u3057\u3066\u51fa\u529b\u3059\u308b<\/h2>\n<p>\u30a4\u30e1\u30fc\u30b8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092Google\u30c9\u30e9\u30a4\u30d6\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:js decode:true \">\/\/\u51fa\u529b\u3059\u308b\u7bc4\u56f2\u3092geometry\u3068\u3057\u3066\u8a2d\u5b9a\u3059\u308b\nvar geometry = ee.Geometry.Rectangle([139.91809844970703,35.547311987963084, 139.66129302978516,35.746512259918504]);\n\n\/\/geometry\u304c\u78ba\u8a8d\u3067\u304d\u308b\u4f4d\u7f6e\u307e\u3067\u5730\u56f3\u3092\u79fb\u52d5\u3059\u308b\nMap.centerObject(geometry)\n\n\/\/\u30d0\u30f3\u30c9\u5024\u3092\u5143\u306b\u753b\u50cf\u3092\u3064\u30c8\u30eb\u30a5\u30fc\u30ab\u30e9\u30fc\u3068\u3057\u3066\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\nvar trueColor = {\n  bands:['B4', 'B3', 'B2'],\n  min: 0.0,\n  max: 0.4,\n};\n\n\/\/\u30a4\u30e1\u30fc\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u4e2d\u304b\u3089\u5bfe\u8c61\u3068\u306a\u308b\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u5f97\nvar imageObject = ee.ImageCollection('LANDSAT\/LC08\/C01\/T1_TOA')   \/\/LANDSAT 8\u53f7\u306e\u753b\u50cf\u3092\u6307\u5b9a\n                  .filterDate('2016-01-01', '2018-12-31') \/\/\u671f\u9593\u3067\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\n                  .filterMetadata('CLOUD_COVER', 'less_than', 2) \/\/\u306a\u308b\u3079\u304f\u96f2\u306e\u5c11\u306a\u3044\u5199\u771f\u3092\u9078\u3076\n                  .filterBounds(geometry) \/\/gemetry\u306e\u30a8\u30ea\u30a2\u304c\u542b\u307e\u308c\u308b\u5199\u771f\u3092\u9078\u629e\n                  .first() \/\/\u7d5e\u308a\u8fbc\u3093\u3060\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u4e2d\u304b\u3089\u6700\u521d\u306e\uff11\u679a\u3092\u53d6\u5f97\n                  .visualize(trueColor) \/\/\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u8a2d\u5b9a\u3092\u6e21\u3059\n\n                  \n\/\/\u5730\u56f3\u4e0a\u306b\u885b\u661f\u753b\u50cf\u3092\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u30ec\u30a4\u3059\u308b\nMap.addLayer(imageObject ,null, 'True Color');\n\n\/\/\u30a4\u30e1\u30fc\u30b8\u3092Google\u30c9\u30e9\u30a4\u30d6\u306b\u51fa\u529b\u3059\u308b\nExport.image.toDrive({\n  image: imageObject,\n  description: 'image',\n  scale: 30,\n  region: geometry\n});\n<\/pre>\n<p>\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u51e6\u7406\u306f\u30bf\u30b9\u30af\u3068\u3057\u3066\u7a4d\u307e\u308c\u307e\u3059\u3002<br \/>\n\u30bf\u30b9\u30af\u306fTasks\u30bf\u30d6\u304b\u3089\u300cRUN\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6294 border\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-23-54_No-00.png\" alt=\"\u30bf\u30b9\u30af\u30dc\u30bf\u30f3\" width=\"456\" height=\"87\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-23-54_No-00.png 456w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-23-54_No-00-300x57.png 300w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><\/p>\n<p>\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u51e6\u7406\u306f\u30af\u30e9\u30a6\u30c9\u5074\u3067\u5b9f\u884c\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30bf\u30b9\u30af\u304c\u7d42\u4e86\u3059\u308b\u3068Google\u30c9\u30e9\u30a4\u30d6\u306bGeoTIF\u753b\u50cf\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-6295 border\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-25-8_No-00-1024x525.jpg\" alt=\"Google\u30c9\u30e9\u30a4\u30d6\u306b\u51fa\u529b\u3055\u308c\u305f\u753b\u50cf\" width=\"680\" height=\"349\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-25-8_No-00-1024x525.jpg 1024w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-25-8_No-00-292x150.jpg 292w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-25-8_No-00-768x394.jpg 768w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-25-8_No-00.jpg 1669w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<h2>MPEG-4\u52d5\u753b\u3068\u3057\u3066\u51fa\u529b\u3059\u308b<\/h2>\n<p>\u30a4\u30e1\u30fc\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u52d5\u753b\u306b\u5909\u63db\u3057\u3066Google\u30c9\u30e9\u30a4\u30d6\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"lang:js decode:true \">\/\/\u51fa\u529b\u3059\u308b\u7bc4\u56f2\u3092geometry\u3068\u3057\u3066\u8a2d\u5b9a\u3059\u308b\nvar geometry = ee.Geometry.Rectangle([139.91809844970703,35.547311987963084, 139.66129302978516,35.746512259918504]);\n\n\/\/geometry\u304c\u78ba\u8a8d\u3067\u304d\u308b\u4f4d\u7f6e\u307e\u3067\u5730\u56f3\u3092\u79fb\u52d5\u3059\u308b\nMap.centerObject(geometry)\n\n\/\/\u30d0\u30f3\u30c9\u5024\u3092\u5143\u306b\u753b\u50cf\u3092\u3064\u30c8\u30eb\u30a5\u30fc\u30ab\u30e9\u30fc\u3068\u3057\u3066\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\nvar trueColor = {\n  bands:['B4', 'B3', 'B2'],\n  min: 0.0,\n  max: 0.4,\n};\n\n\/\/\u30a4\u30e1\u30fc\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u4e2d\u304b\u3089\u5bfe\u8c61\u3068\u306a\u308b\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u5f97\nvar imageCollection = ee.ImageCollection('LANDSAT\/LC08\/C01\/T1_TOA')   \/\/LANDSAT 8\u53f7\u306e\u753b\u50cf\u3092\u6307\u5b9a\n                  .filterDate('2017-01-01', '2018-12-31') \/\/\u671f\u9593\u3067\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\n                  .filterMetadata('CLOUD_COVER', 'less_than', 10) \/\/\u306a\u308b\u3079\u304f\u96f2\u306e\u5c11\u306a\u3044\u5199\u771f\u3092\u9078\u3076\n                  .filterBounds(geometry) \/\/gemetry\u306e\u30a8\u30ea\u30a2\u304c\u542b\u307e\u308c\u308b\u5199\u771f\u3092\u9078\u629e\n                  .map(function(img){ \/\/\u30a4\u30e1\u30fc\u30b8\u6bce\u306b\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306e\u8a2d\u5b9a\u3092\u884c\u3046\n                    return img.visualize(trueColor);\n                  });\n                  \n\n\/\/\u5730\u56f3\u4e0a\u306b\u885b\u661f\u753b\u50cf\u3092\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u30ec\u30a4\u3059\u308b\nMap.addLayer(imageCollection, null, 'True Color');\n\n\n\/\/\u30e0\u30fc\u30d3\u30fc\u3092Google\u30c9\u30e9\u30a4\u30d6\u306b\u51fa\u529b\u3059\u308b\nExport.video.toDrive({\n  collection: imageCollection,\n  description: 'movie',\n  dimensions: 1080,\n  framesPerSecond: 1,\n  region: geometry\n});<\/pre>\n<p>Google\u30c9\u30e9\u30a4\u30d6\u306b\u30e0\u30fc\u30d3\u30fc\u3068\u3057\u3066\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-6296 border\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-27-38_No-00-1024x520.jpg\" alt=\"Google\u30b9\u30c8\u30ec\u30fc\u30b8\u306b\u51fa\u529b\u3055\u308c\u305f\u52d5\u753b\" width=\"680\" height=\"345\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-27-38_No-00-1024x520.jpg 1024w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-27-38_No-00-295x150.jpg 295w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-27-38_No-00-768x390.jpg 768w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-27-38_No-00.jpg 1681w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<h2>\u5730\u56f3\u30bf\u30a4\u30eb\u3068\u3057\u3066\u51fa\u529b\u3059\u308b<\/h2>\n<p>\u30a4\u30e1\u30fc\u30b8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5730\u56f3\u30bf\u30a4\u30eb\u3068\u3057\u3066\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<br \/>\n\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u305f\u5730\u56f3\u30bf\u30a4\u30eb\u306f\u3001leaflet\u306a\u3069\u4e00\u822c\u7684\u306a\u5730\u56f3\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u30bd\u30d5\u30c8\u3067\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>\u30fb\u53c2\u8003<\/strong><br \/>\n<a href=\"http:\/\/smellman.hatenablog.com\/entry\/2015\/12\/26\/054520\">\u5730\u56f3\u30bf\u30a4\u30eb\u306b\u3064\u3044\u3066 &#8211; smellman&#8217;s Broken Diary<\/a><\/p>\n<pre class=\"lang:js decode:true \">\/\/\u51fa\u529b\u3059\u308b\u7bc4\u56f2\u3092geometry\u3068\u3057\u3066\u8a2d\u5b9a\u3059\u308b\nvar geometry = ee.Geometry.Rectangle([139.91809844970703,35.547311987963084, 139.66129302978516,35.746512259918504]);\n\n\/\/geometry\u304c\u78ba\u8a8d\u3067\u304d\u308b\u4f4d\u7f6e\u307e\u3067\u5730\u56f3\u3092\u79fb\u52d5\u3059\u308b\nMap.centerObject(geometry)\n\n\/\/\u30d0\u30f3\u30c9\u5024\u3092\u5143\u306b\u753b\u50cf\u3092\u30d5\u30a9\u30fc\u30eb\u30b9\u30ab\u30e9\u30fc\u3068\u3057\u3066\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u305f\u3081\u306e\u8a2d\u5b9a\nvar falseColor = {\n  bands:['B5', 'B4', 'B3'],\n  min: 0.0,\n  max: 0.4,\n};\n\n\/\/\u30a4\u30e1\u30fc\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u4e2d\u304b\u3089\u5bfe\u8c61\u3068\u306a\u308b\u30a4\u30e1\u30fc\u30b8\u3092\u53d6\u5f97\nvar imageObject = ee.ImageCollection('LANDSAT\/LC08\/C01\/T1_TOA')   \/\/LANDSAT 8\u53f7\u306e\u753b\u50cf\u3092\u6307\u5b9a\n                  .filterDate('2016-01-01', '2018-12-31') \/\/\u671f\u9593\u3067\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\n                  .filterMetadata('CLOUD_COVER', 'less_than', 2) \/\/\u306a\u308b\u3079\u304f\u96f2\u306e\u5c11\u306a\u3044\u5199\u771f\u3092\u9078\u3076\n                  .filterBounds(geometry) \/\/gemetry\u306e\u30a8\u30ea\u30a2\u304c\u542b\u307e\u308c\u308b\u5199\u771f\u3092\u9078\u629e\n                  .first() \/\/\u7d5e\u308a\u8fbc\u3093\u3060\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306e\u4e2d\u304b\u3089\u6700\u521d\u306e\uff11\u679a\u3092\u53d6\u5f97\n                  .visualize(falseColor) \/\/\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u8a2d\u5b9a\u3092\u6e21\u3059\n\n\n\/\/\u5fc5\u8981\u306a\u9818\u57df\u306e\u885b\u661f\u5199\u771f\u306e\u307f\u304c\u9069\u5207\u306b\u51fa\u529b\u3055\u308c\u308b\u3088\u3046\u306b\n\/\/\u30a4\u30e1\u30fc\u30b8\u3092geometry\u3067\u5207\u308a\u629c\u304f\u3002\nvar clipImage = imageObject.clip(geometry)\n\n                  \n\/\/\u5730\u56f3\u4e0a\u306b\u885b\u661f\u753b\u50cf\u3092\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u30ec\u30a4\u3059\u308b\nMap.addLayer(clipImage ,null, 'false Color');\n\n\/\/\u30bf\u30a4\u30eb\u753b\u50cf\u3092Google\u30b9\u30c8\u30ec\u30fc\u30b8\u51fa\u529b\u3059\u308b\nExport.map.toCloudStorage({\n  image: clipImage,\n  description: 'mapToCloudExample',\u3000\/\/\u30d0\u30b1\u30c3\u30c8\u5185\u306e\u30d5\u30a9\u30eb\u30c0\u540d\u3068\u3057\u3066\u9069\u7528\u3055\u308c\u308b\n  bucket: 'gee-blog-tile-demo', \/\/\u4fdd\u5b58\u5148\u30d0\u30b1\u30c3\u30c8\u306e\u6307\u5b9a\u3002\u4e8b\u524d\u306b\u4f5c\u6210\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u5fc5\u8981\n  maxZoom: 13,\n  region: geometry\n});<\/pre>\n<p>\u30bf\u30a4\u30eb\u306f\u3001Google Cloud Storage\u306b\u30b9\u30bf\u30c6\u30a3\u30c3\u30af\u306a\u753b\u50cf\u3068\u3057\u3066\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-6297 border\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-43-15_No-00-1024x596.png\" alt=\"\u51fa\u529b\u3055\u308c\u305f\u5730\u56f3\u30bf\u30a4\u30eb\" width=\"680\" height=\"396\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-43-15_No-00-1024x596.png 1024w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-43-15_No-00-258x150.png 258w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-43-15_No-00-768x447.png 768w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-43-15_No-00.png 1366w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p>\u30bf\u30a4\u30eb\u3068\u540c\u6642\u306bGoogle Earth\u3084Goole Maps\u3067\u8868\u793a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6298 border\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-48-9_No-00.png\" alt=\"\u51fa\u529b\u3055\u308c\u305f\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\" width=\"536\" height=\"341\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-48-9_No-00.png 536w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-48-9_No-00-236x150.png 236w\" sizes=\"auto, (max-width: 536px) 100vw, 536px\" \/><\/p>\n<p><strong>\u30fbGoogle Earth\u306b\u30bf\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u30b5\u30f3\u30d7\u30eb<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-6300 border\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-50-15_No-00-1024x529.jpg\" alt=\"Google Earth\u306b\u30bf\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u30b5\u30f3\u30d7\u30eb\" width=\"680\" height=\"351\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-50-15_No-00-1024x529.jpg 1024w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-50-15_No-00-290x150.jpg 290w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-50-15_No-00-768x397.jpg 768w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-50-15_No-00.jpg 1681w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p><strong>\u30fbGoogle Maps\u3067\u8868\u793a\u3059\u308b\u30b5\u30f3\u30d7\u30eb<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-6301 border\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-42-57_No-00-1024x524.jpg\" alt=\"Google Maps\u306b\u8868\u793a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\" width=\"680\" height=\"348\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-42-57_No-00-1024x524.jpg 1024w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-42-57_No-00-293x150.jpg 293w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-42-57_No-00-768x393.jpg 768w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-42-57_No-00.jpg 1690w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/p>\n<p>\u30b5\u30f3\u30d7\u30eb\u306b\u306fAPI key\u304c\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001html\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066Google Maps API key\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>leaflet\u3067\u306e\u30bf\u30a4\u30eb\u8868\u793a<\/h2>\n<p>Google Cloud Storage\u306b\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3055\u308c\u305f\u30bf\u30a4\u30eb\u753b\u50cf\u3092leaflet\u3067\u8868\u793a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3067\u3059\u3002<br \/>\n\u30d0\u30b1\u30c3\u30c8\u3092\u516c\u958b(\u4e00\u822c\u30a2\u30af\u30bb\u30b9\u53ef\u80fd\u306b\uff09\u3059\u308b\u3053\u3068\u3067\u3001GEE\u3067\u4f5c\u6210\u3057\u305f\u753b\u50cf\u3092leaflet\u7b49\u306b\u8aad\u307f\u8fbc\u3093\u3067\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>\u30fb\u53c2\u8003<\/strong><br \/>\n<a href=\"https:\/\/cloud.google.com\/storage\/docs\/access-control\/making-data-public?hl=ja\">\u30c7\u30fc\u30bf\u306e\u4e00\u822c\u516c\u958b &nbsp;|&nbsp; Cloud Storage \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 &nbsp;|&nbsp; Google Cloud<\/a><br \/>\n<a href=\"https:\/\/cloud.google.com\/storage\/docs\/access-public-data?hl=ja\">\u4e00\u822c\u516c\u958b\u30c7\u30fc\u30bf\u3078\u306e\u30a2\u30af\u30bb\u30b9 &nbsp;|&nbsp; Cloud Storage \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8 &nbsp;|&nbsp; Google Cloud<\/a><\/p>\n<p><a href=\"https:\/\/shimz.me\/example\/%20GoogleEarthEngine\/customTile\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-6293 border\" src=\"http:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-16-49_No-00-1024x526.jpg\" alt=\"https:\/\/www.asahi.com\/articles\/ASLDN5535LDNPLFA00F.html\" width=\"680\" height=\"349\" srcset=\"https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-16-49_No-00-1024x526.jpg 1024w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-16-49_No-00-292x150.jpg 292w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-16-49_No-00-768x394.jpg 768w, https:\/\/gunmagisgeek.com\/blog\/wp-content\/uploads\/2018\/12\/SnapCrab_NoName_2018-12-23_0-16-49_No-00.jpg 1686w\" sizes=\"auto, (max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<pre class=\"lang:js decode:true\">&lt;!DOCTYPE html&gt;\n&lt;html lang=\"jp\"&gt;\n&lt;head&gt;\n    \n &lt;link rel=\"stylesheet\" href=\"https:\/\/unpkg.com\/leaflet@1.3.4\/dist\/leaflet.css\"\n   integrity=\"sha512-puBpdR0798OZvTTbP4A8Ix\/l+A4dHDD0DGqYW6RQ+9jxkRFclaxxQb\/SJAWZfWAkuyeQUytO7+7N4QKrDh+drA==\"\n   crossorigin=\"\"\/&gt;\n  &lt;script src=\"https:\/\/unpkg.com\/leaflet@1.3.4\/dist\/leaflet.js\"\n   integrity=\"sha512-nMMmRyTVoLYqjP9hrbed9S+FzjZHW5gY1TWCHA5ckwXZBadntCNs8kEqAWdrb9O7rxbCaA4lKTIWjDXZxflOcA==\"\n   crossorigin=\"\"&gt;&lt;\/script&gt;\n\n&lt;style&gt;\nhtml, body, #map {\n    width:100%;\n    height: 100%;\n    margin: 0px;\n    padding: 0px;\n}\n&lt;\/style&gt;\n\n&lt;\/head&gt;\n&lt;body&gt;\n&lt;div id=\"map\"&gt;&lt;\/div&gt;\n\n&lt;script&gt;\nvar mymap = L.map('map').setView([35.637790919975934,  139.79671508073807], 12);    \n\n\/\/mapbox\u306e\u30d9\u30fc\u30b9\u30bf\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\nL.tileLayer('https:\/\/api.tiles.mapbox.com\/v4\/{id}\/{z}\/{x}\/{y}.png?access_token={accessToken}', {\n    attribution: 'Map data &amp;copy; &lt;a href=\"https:\/\/www.openstreetmap.org\/\"&gt;OpenStreetMap&lt;\/a&gt; contributors, &lt;a href=\"https:\/\/creativecommons.org\/licenses\/by-sa\/2.0\/\"&gt;CC-BY-SA&lt;\/a&gt;, Imagery \u00a9 &lt;a href=\"https:\/\/www.mapbox.com\/\"&gt;Mapbox&lt;\/a&gt;',\n    maxZoom: 18,\n    id: 'mapbox.streets',\n    accessToken: '\u30de\u30c3\u30d7\u30dc\u30c3\u30af\u30b9\u306e\u30c8\u30fc\u30af\u30f3'\n}).addTo(mymap);\n\n\/\/GEE\u3067\u4f5c\u6210\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u30d9\u30fc\u30b9\u30de\u30c3\u30d7\u3092\u8aad\u307f\u8fbc\u3080\nL.tileLayer('https:\/\/storage.googleapis.com\/{\u30d0\u30b1\u30c3\u30c8\u540d}\/{\u30d5\u30a9\u30eb\u30c0\u540d}\/{z}\/{x}\/{y}', {\n    maxZoom: 13,\n    id: 'mytie'\n}).addTo(mymap);\n\n\n&lt;\/script&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/pre>\n<h2>\u30a2\u30c9\u30d9\u30f3\u30c8\u30ab\u30ec\u30f3\u30c0\u30fc<\/h2>\n<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001<a href=\"https:\/\/qiita.com\/advent-calendar\/2018\/googleearth?fbclid=IwAR3kO5kBRJhrwyYPkmMUBPk1IAAu-pJupq9ip_N1KZ8joHdfPDlTEPTM3tE\">Google Earth \/ Google Earth Engine Advent Calendar 2018<\/a>\u3078\u306e\u53c2\u52a0\u6295\u7a3f\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 Google Earth Engine\u3067\u7de8\u96c6&hellip;<\/p>\n","protected":false},"author":1,"featured_media":6293,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[76],"tags":[],"class_list":["post-6237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-googleearthengine","has-post-thumbnail-archive"],"_links":{"self":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/6237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/comments?post=6237"}],"version-history":[{"count":2,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/6237\/revisions"}],"predecessor-version":[{"id":7961,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/posts\/6237\/revisions\/7961"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media\/6293"}],"wp:attachment":[{"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/media?parent=6237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/categories?post=6237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gunmagisgeek.com\/blog\/wp-json\/wp\/v2\/tags?post=6237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}