お知らせ: 
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、アクセスを維持するために
非商用目的での利用資格を確認する必要があります。2025 年 9 月 26 日までに確認が完了していない場合、アクセスが保留されることがあります。
  
        
 
       
     
  
  
  
    
  
  
  
    
      ee.Geometry.Point.intersection
    
    
      
    
    
      
      コレクションでコンテンツを整理
    
    
      
      必要に応じて、コンテンツの保存と分類を行います。
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
    
  
  
2 つのジオメトリの交差を返します。
| 用途 | 戻り値 | 
|---|
| Point.intersection(right, maxError, proj) | ジオメトリ | 
| 引数 | タイプ | 詳細 | 
|---|
| これ: left | ジオメトリ | オペレーションの左オペランドとして使用されるジオメトリ。 | 
| right | ジオメトリ | 演算の右オペランドとして使用されるジオメトリ。 | 
| maxError | ErrorMargin、デフォルト: null | 必要な再投影を行う際に許容される最大誤差。 | 
| proj | Projection、デフォルト: null | オペレーションを実行するプロジェクション。指定しない場合、演算は球面座標系で実行され、線形距離は球面のメートル単位になります。 | 
  
  
  例
  
    
  
  
    
    
  
  
  
  
    
    
    
      コードエディタ(JavaScript)
    
    
  // Define a Point object.
var point = ee.Geometry.Point(-122.082, 37.42);
// Define other inputs.
var inputGeom = ee.Geometry.BBox(-122.085, 37.415, -122.075, 37.425);
// Apply the intersection method to the Point object.
var pointIntersection = point.intersection({'right': inputGeom, 'maxError': 1});
// Print the result to the console.
print('point.intersection(...) =', pointIntersection);
// Display relevant geometries on the map.
Map.setCenter(-122.085, 37.422, 15);
Map.addLayer(point,
             {'color': 'black'},
             'Geometry [black]: point');
Map.addLayer(inputGeom,
             {'color': 'blue'},
             'Parameter [blue]: inputGeom');
Map.addLayer(pointIntersection,
             {'color': 'red'},
             'Result [red]: point.intersection');
  
    
  
  
    
  
  
  
  
    
  
    
  Python の設定
  Python API とインタラクティブな開発での geemap の使用については、
    Python 環境のページをご覧ください。
  import ee
import geemap.core as geemap
  
    
    
      Colab(Python)
    
    
  # Define a Point object.
point = ee.Geometry.Point(-122.082, 37.42)
# Define other inputs.
input_geom = ee.Geometry.BBox(-122.085, 37.415, -122.075, 37.425)
# Apply the intersection method to the Point object.
point_intersection = point.intersection(right=input_geom, maxError=1)
# Print the result.
display('point.intersection(...) =', point_intersection)
# Display relevant geometries on the map.
m = geemap.Map()
m.set_center(-122.085, 37.422, 15)
m.add_layer(point, {'color': 'black'}, 'Geometry [black]: point')
m.add_layer(input_geom, {'color': 'blue'}, 'Parameter [blue]: input_geom')
m.add_layer(
    point_intersection, {'color': 'red'}, 'Result [red]: point.intersection'
)
m
  
  
  
  
  
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
  最終更新日 2025-07-26 UTC。
  
  
  
    
      [null,null,["最終更新日 2025-07-26 UTC。"],[],["The `intersection` method computes the intersection of two geometries. It takes a `right` geometry as input, alongside optional `maxError` and `proj` parameters. `maxError` defines the tolerated error during reprojection, and `proj` specifies the projection for the operation. The method returns a new Geometry representing the intersection. The example code shows how to use the intersection method with `Point` and `BBox` geometries, visualizing the input geometries and the resulting intersection on a map.\n"]]