LoginSignup
0
0

More than 3 years have passed since last update.

Google Earth Engineで地物の増減

Last updated at Posted at 2020-09-22

概要

Google Earth Engineで、地物の増減、計算してみた。

写真

無題.jpg

サンプルコード

var pt = ee.Geometry.Point(139.7978, 35.6028);
var collection = ee.ImageCollection('COPERNICUS/S1_GRD').filterBounds(pt).filter(ee.Filter.listContains('transmitterReceiverPolarisation', 'VV')).select('VV');
var before = collection.filterDate('2016-05-01', '2016-07-17').mosaic();
var after = collection.filterDate('2020-06-30', '2020-09-01').mosaic();
Map.centerObject(pt, 12);
Map.addLayer(before, {
    min: -30,
    max: 0
}, 'Before', 0);
Map.addLayer(after, {
    min: -30,
    max: 0
}, 'After', 0);
Map.addLayer(after.subtract(before), {
    min: -30,
    max: 30,
    opacity: 0.5,
    palette: ['red', 'black', 'aqua']
}, 'diff', 1);


以上。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0