Tổng quan về đối tượng và phương thức
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
API Earth Engine bao gồm các đối tượng và phương thức. Đối tượng đại diện cho các loại dữ liệu như hình ảnh đường quét, đối tượng vectơ, số và chuỗi.
Mỗi đối tượng trong số này thuộc về một lớp cụ thể và mỗi lớp có một tập hợp hàm nghiêm ngặt.
Các đối tượng và phương thức được kết hợp trong tập lệnh quy trình công việc và được gửi đến máy chủ Earth Engine để xử lý. Tìm hiểu về các lớp đối tượng phổ biến và phương thức của các lớp đó bằng cách nhấp vào các thẻ sau để xem các quy trình mẫu.
Bạn có thể xem danh sách đầy đủ các lớp Earth Engine và phương thức của các lớp đó trong phần Thư viện ứng dụng của Hướng dẫn tham khảo API (ví dụ: ee.Image.add
). Thông tin tham khảo tương tự cũng có trong thẻ Tài liệu của Trình soạn thảo mã JavaScript.
Các lớp đối tượng phổ biến trong Earth Engine
Hình ảnh
Loại dữ liệu đường quét cơ bản trong Earth Engine.
Hình học
Loại dữ liệu vectơ cơ bản trong Earth Engine.
Bộ giảm
Một đối tượng dùng để tính toán số liệu thống kê hoặc thực hiện tổng hợp.
Tham gia
Kết hợp các tập dữ liệu (Bộ sưu tập hình ảnh hoặc Bộ sưu tập đối tượng) dựa trên thời gian, vị trí hoặc thuộc tính.
Mảng
Một đối tượng để phân tích nhiều chiều.
Biểu đồ
Một đối tượng để lập biểu đồ các thuộc tính và giảm thiểu không gian thời gian.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003eThe Earth Engine API uses objects like images and features, each with specific methods, to process data on Earth Engine servers.\u003c/p\u003e\n"],["\u003cp\u003eWorkflows are created by combining these objects and methods in scripts.\u003c/p\u003e\n"],["\u003cp\u003eComprehensive API documentation with class details and methods is available in the API Reference Guide and Code Editor Docs tab.\u003c/p\u003e\n"],["\u003cp\u003eCommon Earth Engine object classes include Image, ImageCollection, Geometry, Feature, FeatureCollection, Reducer, Join, Array, and Chart, each serving specific data and analytical purposes.\u003c/p\u003e\n"],["\u003cp\u003eExplore the provided links to learn about each object class and see example procedures.\u003c/p\u003e\n"]]],["The Earth Engine API uses objects (raster images, vector features, numbers, strings) and methods within workflow scripts sent for server processing. Each object belongs to a class with specific functions. Key classes include Image, ImageCollection, Geometry, Feature, FeatureCollection, Reducer, Join, Array, and Chart. These classes represent data types, data sets, and tools for analysis. The API Reference Guide and the Code Editor Docs contain complete class and method information.\n"],null,["# Objects and Methods Overview\n\nThe Earth Engine API is composed of objects and methods. Objects represent data\ntypes such as raster images, vector features, numbers, and strings.\nEach of these objects belongs to a specific class, and each class has a\nstrict set of functions available to it.\n\nObjects and methods are combined in workflow scripts and sent to Earth Engine\nservers for processing. Learn about common object classes and their methods by\nclicking on the following cards to see example procedures.\n\nThe full list of Earth Engine classes and their methods can be found in the\n**Client Libraries** section of the [API Reference Guide](/earth-engine/apidocs)\n(e.g. [`ee.Image.add`](/earth-engine/apidocs/ee-date-advance)). The same\nreference information is also available under the JavaScript Code Editor\n[**Docs**](/earth-engine/guides/playground#api-reference-docs-tab) tab.\n\nCommon Earth Engine object classes\n----------------------------------\n\n[](/earth-engine/guides/image_overview) \n[### Image](/earth-engine/guides/image_overview)\n\n\nThe fundamental raster data type in Earth Engine. \n[](/earth-engine/guides/ic_creating) \n[### ImageCollection](/earth-engine/guides/ic_creating)\n\n\nA set of images. \n[](/earth-engine/guides/geometries) \n[### Geometry](/earth-engine/guides/geometries)\n\n\nThe fundamental vector data type in Earth Engine. \n[](/earth-engine/guides/features) \n[### Feature](/earth-engine/guides/features)\n\n\nA geometry with attributes. \n[](/earth-engine/guides/feature_collections) \n[### FeatureCollection](/earth-engine/guides/feature_collections)\n\n\nA set of features. \n[](/earth-engine/guides/reducers_intro) \n[### Reducer](/earth-engine/guides/reducers_intro)\n\n\nAn object used to compute statistics or perform aggregations. \n[](/earth-engine/guides/joins_intro) \n[### Join](/earth-engine/guides/joins_intro)\n\n\nCombine datasets (Image or Feature collections) based on time, location, or an attribute property. \n[](/earth-engine/guides/arrays_intro) \n[### Array](/earth-engine/guides/arrays_intro)\n\n\nAn object for multi-dimensional analyses. \n[](/earth-engine/guides/charts_overview) \n[### Chart](/earth-engine/guides/charts_overview)\n\n\nAn object for charting properties and spatiotemporal reductions."]]