How google/earthengine-api works
Google Earth Engine’s Python and JavaScript packages let users build server-side geospatial computations, submit them to Earth Engine, and retrieve results or display map tiles. The principal workflow is to compose operations on images and collections, serialize the resulting expression, send API requests, then consume evaluated data, exports, or visualizations. The graph includes the documented image-collection/map/reduce/display example and major client capabilities such as batch tasks, authentication, CLI access, and map overlays. Some links are grounded in the README or source index rather than inspected implementation excerpts.
Main entry points: data.py API transport and data · apifunction.py Dynamic algorithms · computedobject.py EE object API · apiclient.js JS API transport
Components 23
Python computation model
- EE object API
python/ee/computedobject.py - Dynamic algorithms
python/ee/apifunction.py - Images and collections
python/ee/image.py - Features and collections
python/ee/featurecollection.py - Geometry and projection
python/ee/geometry.py - Filters and reducers
python/ee/filter.py - Typed arguments
python/ee/_arg_types.py
Python execution and access
- Expression encoding
python/ee/serializer.py - Cloud API utilities
python/ee/_cloud_api_utils.py - API transport and data
python/ee/data.py - Authentication
python/ee/oauth.py
Python tools and display
- Export and batch tasks
python/ee/batch.py - Command-line interface
python/ee/cli/commands.py - Map tile client
python/ee/mapclient.py
JavaScript client
- JS expression client
javascript/src/ee.js - JS API transport
javascript/src/apiclient.js - JS data operations
javascript/src/data.js - JS domain objects
javascript/src/eeapiclient/domain_object.ts - Map overlays
javascript/src/layers/abstractoverlay.js - Tile management
javascript/src/maptilemanager.js
Other components
- Python or JS user
- Earth Engine API
- Earth Engine tiles
Connections 28
- Python or JS user → EE object API: builds expressions
- EE object API → Dynamic algorithms: invokes algorithms
python/ee/computedobject.py - Images and collections → Dynamic algorithms: calls operations
python/ee/image.py - Features and collections → Dynamic algorithms: calls operations
python/ee/featurecollection.py - Geometry and projection → Dynamic algorithms: calls constructors
python/ee/geometry.py - Filters and reducers → Typed arguments: uses argument types
python/ee/_arg_types.py - Images and collections → Typed arguments: uses argument types
python/ee/_arg_types.py - Features and collections → Typed arguments: uses argument types
python/ee/_arg_types.py - EE object API → Expression encoding: encodes expressions
python/ee/computedobject.py - EE object API → API transport and data: evaluates values
python/ee/computedobject.py - Dynamic algorithms → API transport and data: loads signatures
python/ee/apifunction.py - API transport and data → Expression encoding: serializes requests
python/ee/data.py - API transport and data → Cloud API utilities: uses cloud helpers
python/ee/data.py - Cloud API utilities → Earth Engine API: prepares API calls
- API transport and data → Earth Engine API: sends requests
python/ee/data.py - Authentication → API transport and data: provides credentials
python/ee/oauth.py - Python or JS user → Export and batch tasks: starts exports
python/ee/batch.py - Export and batch tasks → API transport and data: submits tasks
python/ee/batch.py - Python or JS user → Command-line interface: runs commands
- Command-line interface → API transport and data: uses API
python/ee/cli/commands.py - Python or JS user → Map tile client: views map
- Map tile client → Earth Engine API: fetches map data
- Python or JS user → JS expression client: builds expressions
- JS expression client → JS API transport: uses client
- JS API transport → JS data operations: dispatches requests
- JS domain objects → JS API transport: provides request objects
- Map overlays → Tile management: manages tiles
- Tile management → Earth Engine tiles: requests tiles