ee.Geometry

イメージを指定領域に切り取ったり,表示範囲を決定したりするときに.

ee.Geometry.BBox(west, south, east, north)

var geom = ee.Geometry.BBox(120, 20, 150.0, 50.0);

ee.Geometry.Rectangle(coords, proj, geodesic, evenOdd)

var geom = ee.Geometry.Rectangle(120, 20, 150.0, 50.0);

ee.Geometry.Polygon(coords, proj, geodesic, maxError, evenOdd)

var geom = ee.Geometry.Polygon(
        [[[139.0, 36.4],
          [139.0, 34.9],
          [140.5, 34.9],
          [140.5, 36.4]]], null, false);


適用

指定範囲に切り取り

var dataset = ee.ImageCollection('LANDSAT/LC09/C02/T1_L2')
    .filterDate('2022-01-01', '2022-02-01')
    .filterBounds(geom);

表示範囲設定

Map.centerObject(geom,8);



Front page   Edit Diff Attach Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes
Last-modified: 2022-07-09 (Sat) 15:48:29 (147d)