Java API for re-projecting coordinates based on datum using GDAL
Switch branches/tags
Nothing to show
Latest commit bce3d1c Jun 29, 2012 @eightysteele eightysteele Update output example.
Permalink
Failed to load latest commit information.
src/org/vertnet Cleanup stub code. Jun 29, 2012
.gitignore Initial commit with stubs. Jun 29, 2012
README.md Update output example. Jun 29, 2012
pom.xml Initial commit with stubs. Jun 29, 2012

README.md

About

A simple Java API for re-projecting coordinates based on datums using GDAL.

Developing

First clone the repository:

$ git clone https://github.com/VertNet/reproject.git
$ cd reproject

Project dependencies, compiling, and building are all handled using Maven, so make sure you have that installed first. Also, since we're riding on GDAL for reprojections, you'll need to compile that for the native deps. For more about that, read this wiki.

After getting Mavin installed and the GDAL native bindings, you can compile the project:

$ mvn compile

To package it up into a standalone JAR with all dependencies into the target directory:

$ mvn assembly:single
$ ls target | grep jar
reproject-1.1.1-SNAPSHOT.jar
reproject-1.1.1-SNAPSHOT-jar-with-dependencies.jar

Finally you can run it like this:

$ java -cp target/reproject-1.1.1-SNAPSHOT-jar-with-dependencies.jar org.vertnet.Reproject 1 -2 "wgs84"
Hello Reproject!
Point2D.Double[1.0, -2.0]