ee.Geometry.Point

יוצרת ee.Geometry שמתארת נקודה.

לנוחותכם, אפשר להשתמש ב-varargs כשכל הארגומנטים הם מספרים. כך אפשר ליצור נקודות EPSG:4326, למשל ee.Geometry.Point(lng, lat).

שימושהחזרות
ee.Geometry.Point(coords, proj)Geometry.Point
ארגומנטסוגפרטים
coordsרשימה[מספר]רשימה של שתי קואורדינטות [x,y] בהטלה הנתונה.
projתחזית, אופציונליההטלה של הגיאומטריה הזו, או EPSG:4326 אם לא צוין.

דוגמאות

Code Editor (JavaScript)

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

הגדרה של Python

בדף סביבת Python מפורט מידע על Python API ועל השימוש ב-geemap לפיתוח אינטראקטיבי.

import ee
import geemap.core as geemap

Colab (Python)

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