GeoAI SDK Documentation#
Python SDK for running geospatial AI models at scale on Azure AI Foundry and Planetary Computer.
Quick Links#
📖 README - Overview and quick start
📓 Example Notebooks - Interactive tutorials
🔧 API Reference - Complete parameter documentation
Getting Started#
Install: See Installation below
Learn: Try the EOOS notebook or MARS notebook
Reference: Use API docs below for parameter details
API Reference#
Core Classes#
Input - Configure data sources (STAC catalogs, collections)
Output - Configure result destinations (GeoCatalog, blob storage)
Constraint - Filter by space, time, and properties
Models - Available models (EOOS, MARS)
Features#
Validation - Pre-flight checks for input, model, and output
Examples#
All examples are available as Jupyter notebooks in examples/:
EOOS Object Detection - Detect objects in satellite imagery
MARS Map Generation - Extract buildings, roads, railways, water
Installation#
From Wheel#
Download the wheel from the GitHub Release:
pip install geoai_sdk-0.1.0-py3-none-any.whl
From Cloned Repo#
pip install tools/geoai-sdk/
With Notebook Dependencies#
# From wheel
pip install "geoai_sdk-0.1.0-py3-none-any.whl[examples]"
# From cloned repo
pip install "tools/geoai-sdk[examples]"
Development#
# For contributors: install with dev tools
pip install "tools/geoai-sdk[dev]"
# Format code before commits
python -m black geoai/ --line-length 100
python -m isort geoai/ --profile black --line-length 100
python -m flake8 geoai/ --count --select=E9,F63,F7,F82
Architecture#
The SDK is built with three layers:
1. Public API Layer#
User-facing classes for configuration:
Input- Data source configurationOutput- Result destinationConstraint- Spatial/temporal filteringModels- EOOS, MARS
2. Executors Layer#
Handles workflow execution:
LocalExecutor - Sequential processing with progress bars
3. Core Components Layer#
Reusable business logic:
Spatial - ChipMaker, DetectionMerger
STAC - STACSearcher, ItemSelector
Imagery - ImageFetcher, ImagePreprocessor
Models - ModelClient, PayloadBuilder, ResponseParser
Results - DetectionFormatter, GeoCatalogWriter
Supported Models#
Support#
Team: Azure Orbital Spatio Team
License#
This project is licensed under the MIT License - see the LICENSE file for details.