Scala library and framework for reading, writing, and processing geospatial raster and vector data, with Spark integration and MapAlgebra.
Overview
GeoTrellis is a geographic data processing engine aimed at low-latency applications over raster and vector data. It provides APIs to read, write, and operate on geospatial datasets and includes helpers for running those operations on Apache Spark and performing MapAlgebra on rasters.
The project is organized as multiple publishable modules covering rasters, vectors, layers, projections, storage backends such as S3, Cassandra, HBase, and Accumulo, GDAL and GeoTools interoperability, Spark pipelines, and vector tiles. Developers typically add the core raster or Spark packages via Scala build tools and compose operations into models built from smaller geoprocessing steps.
GeoTrellis is designed to help create REST services that return results of geoprocessing models and to parallelize work across threads, cores, and machines. Local, focal, and zonal raster operations, vector-raster conversion, and network operations can be combined; the runtime attempts to optimize and parallelize models where possible.
Documentation and interactive demos live on the project site. The framework is mature under the LocationTech umbrella and complements other open geospatial stacks rather than replacing servers or desktop GIS clients outright.
Key features
- Raster and vector data types
- MapAlgebra raster operations
- Apache Spark geospatial primitives
- S3 and Hadoop store integrations
- Coordinate reprojection via proj4
- GeoTools and GDAL interoperability
- Composable geoprocessing operations
- Pipeline DSL for ingest jobs
Use cases
- Building geoprocessing web services
- Distributed raster analytics on Spark
- ETL for large geospatial datasets
- Server-side map algebra workflows
- Integrating rasters with vector layers