How esri/mdcs-py works
MDCS is an ArcGIS mosaic-dataset automation tool. A user supplies an XML configuration or job, the MDCS entry point dispatches workflow commands, and those commands create/configure/populate mosaic datasets through ArcPy. Processing metadata, custom fields, referenced datasets, and raster ingestion are distinct stages. The repository also includes MDTools management utilities for proxy handling, location export, search/replace, and image-service publishing. Some MDTools internals are distributed rather than sampled here, so those documented integrations are shown conservatively.
Main entry points: solutionsLib.py Workflow dispatcher · hello.job Job input · AddRasters.py Add rasters · CreateRefMD.py Referenced mosaics
Components 19
Entry and orchestration
- Job input
jobSamples/hello.job - MDCS entry point
scripts/MDCS.py - Workflow dispatcher
scripts/solutionsLib.py
Configuration processing
- XML configuration
Parameter/Config/sample.xml - Base runtime
scripts/Base/Base.py - Process metadata
scripts/ProcessInfo/ProcessInfo.py
Mosaic lifecycle
- Create mosaic
scripts/CreateMD/CreateMD.py - Add rasters
scripts/AddRasters/AddRasters.py - Referenced mosaics
scripts/CreateRefMD/CreateRefMD.py - Custom fields
scripts/AddFields/AddFields.py - Mosaic properties
scripts/SetMDProperties/SetMDProperties.py - Mosaic dataset store
- Raster sources
Management tools
- MDTools package
MDTools_Setup.zip - Proxy search replace
scripts/search_replace.py
Publishing integration
- Publish image service
Tools/PublishImageService.pyt - Imagery service client
scripts/imagery_service.py
Other components
- User
- ArcGIS Server or Portal
Connections 28
- User → MDCS entry point: starts workflow
- User → Job input: provides job
- Job input → MDCS entry point: loads job
- MDCS entry point → Workflow dispatcher: dispatches commands
- XML configuration → Base runtime: reads XML
- Job input → Base runtime: supplies parameters
- Base runtime → Process metadata: loads processes
- Process metadata → Workflow dispatcher: provides metadata
- Workflow dispatcher → Create mosaic: invokes creation
- Workflow dispatcher → Add rasters: invokes ingestion
- Workflow dispatcher → Referenced mosaics: invokes references
- Workflow dispatcher → Custom fields: invokes fields
- Workflow dispatcher → Mosaic properties: invokes configuration
- Create mosaic → Mosaic dataset store: creates dataset
- Add rasters → Raster sources: reads rasters
- Add rasters → Mosaic dataset store: adds items
- Referenced mosaics → Mosaic dataset store: creates references
- Referenced mosaics → Mosaic properties: sets properties
- Custom fields → Mosaic dataset store: adds fields
- Mosaic properties → Mosaic dataset store: reads and writes
- User → MDTools package: runs management
- MDTools package → Mosaic dataset store: manages proxies
- MDTools package → Raster sources: exports locations
- User → Proxy search replace: runs replacement
- Proxy search replace → XML configuration: rewrites XML
- User → Publish image service: publishes service
- Publish image service → Imagery service client: calls client
- Imagery service client → ArcGIS Server or Portal: manages services