Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 861 Bytes

File metadata and controls

22 lines (16 loc) · 861 Bytes
id getting-started
title Getting Started
sidebar_label Getting Started

GeoTrellis is a Scala library and framework that provides APIs for reading, writing and operating on geospatial raster and vector data. GeoTrellis also provides helpers for these same operations in Spark and for performing MapAlgebra operations on rasters. It is released under the Apache 2 License.

There are a number of geotrellis subpackages available. We recommend getting started with geotrellis-raster:

libraryDependencies += "org.locationtech.geotrellis" %% "geotrellis-raster" % "@VERSION@"

Loading rasters via the RasterSource API is easy once you've got geotrellis-raster installed:

import geotrellis.raster._

val rs = RasterSource("gtiff+file://data/ls8_int32.tif")
rs.extent