Table Of Contents

Quick Start

GeoScript.scala provides a streamlined Scala API for geospatial data access and operations. Internally, it uses the GeoTools library.

In this quickstart, we will cover the following:

  1. Build GeoScript.scala from sources
  2. Use GeoScript in a Scala interpreter

Install sbt

Download sbt from the project’s website.

At the time of this writing a complied jar is available:

$ wget

Create a script called sbt:

$ echo "java -Xmx512M -jar `dirname $0`/sbt-launch-0.7.1.jar "$@"" >> sbt

Make that script executable:

$ chmod u+x sbt

Set Up GeoScript Scala

Download GeoScript.scala:

$ git clone git://

Start sbt:

$ cd geoscript.scala/
$ sbt

Fetch the dependencies, build GeoScript, and run the test suite:

> update
> compile
> test

Explore sbt:

> actions

Start the Scala command line interpreter:

> console
scala> import org.geoscript._
scala> import GeoScript._

For more information check out the sbt Google project page.