Skip to content

Commit

Permalink
Release version 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jericks committed Aug 24, 2013
1 parent 4bfa1d4 commit 5fde07a
Show file tree
Hide file tree
Showing 6 changed files with 374 additions and 10 deletions.
23 changes: 21 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Use maven to build, test, and package::

mvn clean install

The distribution can be found in target/geoscript-groovy-1.0-app/geoscript-groovy-1.0.
The distribution can be found in target/geoscript-groovy-1.1-app/geoscript-groovy-1.1.

Use
---
To use GeoScript Groovy you need Java and Groovy installed and on your PATH. Next, download the `latest stable release 1.0 <https://docs.google.com/file/d/0B8cwqNmbcThpQlBmaWsyNDlQMVU/edit?usp=sharing>`_, try the `latest unstable release 1.1-SNAPSHOT <https://docs.google.com/file/d/0B8cwqNmbcThpWFRxQzlHQVJlVW8/edit?usp=sharing>`_ or build the code yourself. Then put the GeoScript Groovy bin directory on your PATH. You are now ready to use GeoScript Groovy!
To use GeoScript Groovy you need Java and Groovy installed and on your PATH. Next, download the `latest stable release <https://github.com/jericks/geoscript-groovy/releases>`_ or build the code yourself. Then put the GeoScript Groovy bin directory on your PATH. You are now ready to use GeoScript Groovy!

GeoScript Groovy has three commands:

Expand Down Expand Up @@ -68,6 +68,25 @@ Drawing a Shapefile::
shp.style = new Stroke("#999999", 0.1)
draw(shp)

Reading a Raster::

import geoscript.layer.GeoTIFF

def format = new GeoTIFF()
def raster = format.read(new File("raster.tif"))

println "Format = ${raster.format}"
println "Proj EPSG = ${raster.proj.id}"
println "Proj WKT = ${raster.proj.wkt}"
println "Bounds = ${raster.bounds.geometry.wkt}"
println "Size = ${raster.size}"
println "Block Size = ${raster.blockSize}"
println "Pixel Size = ${raster.pixelSize}"
println "Band:"
raster.bands.eachWithIndex{b,i ->
println " ${i}). ${b}"
}

See the `web site <http://geoscript.org>`_ or the `examples directory <https://github.com/jericks/geoscript-groovy/tree/master/examples>`_ for more examples.

License
Expand Down
4 changes: 2 additions & 2 deletions doc/download.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Downloads
Stable
------

`GeoScript Groovy 1.0 <https://docs.google.com/file/d/0B8cwqNmbcThpQlBmaWsyNDlQMVU/edit?usp=sharing>`_ is the current stable version.
`GeoScript Groovy 1.1 <https://github.com/jericks/geoscript-groovy/releases>`_ is the current stable version.

Experimental
------------
Expand All @@ -15,4 +15,4 @@ Experimental

Experimental releases are unstable in nature and contain api that is subject to change without deprecation.

`GeoScript Groovy 1.1-SNAPSHOT is the latest unstable release <https://docs.google.com/file/d/0B8cwqNmbcThpWFRxQzlHQVJlVW8/edit?usp=sharing>`_
GeoScript Groovy 1.2-SNAPSHOT is currently being developed on the master branch.
4 changes: 4 additions & 0 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ GeoScript Groovy
usage
grails
download
releases

GeoScript Groovy is a Groovy implementation of GeoScript.

Expand All @@ -20,6 +21,9 @@ GeoScript Groovy is a Groovy implementation of GeoScript.
:ref:`Grails <grails>`
Use Geoscript Groovy to create GeoSpatial Grails Web Applications

:ref:`Releases <releases>`
Geoscript Groovy Release Notes

`Learning <../learning>`_
A tour of the GeoScript library

Expand Down
8 changes: 4 additions & 4 deletions doc/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ Groovy version greater than *1.7* is required for GeoScript. The current version
Install GeoScript
-----------------

#. Download `GeoScript <https://docs.google.com/file/d/0B8cwqNmbcThpQlBmaWsyNDlQMVU/edit?usp=sharing>`_
#. Download `GeoScript <https://github.com/jericks/geoscript-groovy/releases>`_

#. Unpack the GeoScript tarball::

unzip geoscript-groovy-1.0.zip
unzip geoscript-groovy-1.1.zip

#. Add the geoscript-groovy-1.0\bin directory to your path::
#. Add the geoscript-groovy-1.1\bin directory to your path::

export PATH=geoscript-groovy-1.0\bin:$PATH
export PATH=geoscript-groovy-1.1\bin:$PATH

That's it. GeoScript Groovy should now be installed on the system. To verify the install execute the :command:`geoscript-groovysh` command::

Expand Down
Loading

0 comments on commit 5fde07a

Please sign in to comment.