ee.Geometry.Point

สร้าง ee.Geometry ที่อธิบายจุด

เพื่อความสะดวก คุณอาจใช้ varargs เมื่ออาร์กิวเมนต์ทั้งหมดเป็นตัวเลข ซึ่งจะช่วยให้สร้างจุด EPSG:4326 ได้ เช่น ee.Geometry.Point(lng, lat)

การใช้งานการคืนสินค้า
ee.Geometry.Point(coords, proj)Geometry.Point
อาร์กิวเมนต์ประเภทรายละเอียด
coordsList<Number>รายการพิกัด [x,y] 2 รายการในการฉายที่ระบุ
projการคาดการณ์ (ไม่บังคับ)การฉายภาพของเรขาคณิตนี้ หรือ EPSG:4326 หากไม่ได้ระบุ

ตัวอย่าง

โปรแกรมแก้ไขโค้ด (JavaScript)

// Construct a point from coordinates.
var point = ee.Geometry.Point([-122.08412, 37.42189]);

การตั้งค่า Python

ดูข้อมูลเกี่ยวกับ Python API และการใช้ geemap เพื่อการพัฒนาแบบอินเทอร์แอกทีฟได้ที่หน้า สภาพแวดล้อม Python

import ee
import geemap.core as geemap

Colab (Python)

# Construct a point from coordinates.
point = ee.Geometry.Point([-122.08412, 37.42189])