Skip to content

dwins/geoscript.scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoScript.scala is a Scala library for simple reading, writing, manipulation, and rendering of geospatial data. It is based on the GeoTools geospatial library for Java.

Similar GeoTools wrappers are available for Python, Groovy, and JavaScript (using the ringojs platform). See http://geoscript.org/ for details.

Building

GeoScript.scala is built using SBT. Follow the SBT installation instructions, and then:

sbt test

will build GeoScript.scala and verify it is working properly. You can then use:

sbt console

to launch an interactive console with GeoScript.scala loaded. Some example scripts can be found in the examples subproject. You can run them using:

$ sbt
> project examples
> run
... here SBT prompts you to choose which example to run.

Instead of the run command, you can use run-main instead. It allows you to specify the name of the program to run instead of selecting it interactively, which is more convenient for repeated runs.

There is a screencast about building and running unit tests with SBT available at http://vimeo.com/68050280 .

License information

GeoScript.scala is availble under the MIT license. See the LICENSE file in this repository for details.