Skip to content

radaczynski/geoscript-clj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geoscript clojure

Geoscript is a clojure library for working with Geospatial data. Its based on GeoTools and JTS. If you are looking for other GeoTools based scripting libraries please see the Geoscript project.

Requirements

  1. Java JDK
  2. Apache Maven
  3. Leiningen

Install

1. Install Java Arch linux:

sudo pacman -S jdk

Install on debian/ubuntu:

sudo aptitude install sun-java6-jdk

2. Install Maven Install on Arch Linux:

sudo pacman -S maven

Install on Ubuntu:

sudo aptitude install maven2
  1. Install Leiningen:

geoscript requires leiningen. Leiningen is a clojure based wrapper to maven. Please see the leiningen github project for install instructions.

  1. To install geo.clj and its dependences:

    git clone git:https://github.com/iwillig/geoscript.git cd geoscript lein deps

Usage

To use geoscript:

lein repl
(use 'geoscript.io)
(use 'geoscript.render)
(viewer (-> (data-store "shp:https:///path/to/shapefile.shp")
   (read-features)) nil)

About

A clojure implementation of the GeoScript project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published