Skip to content

Commit 5fde07a

Browse files
committed
Release version 1.1
1 parent 4bfa1d4 commit 5fde07a

File tree

6 files changed

+374
-10
lines changed

6 files changed

+374
-10
lines changed

README.rst

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Use maven to build, test, and package::
1818

1919
mvn clean install
2020

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

2323
Use
2424
---
25-
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!
25+
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!
2626

2727
GeoScript Groovy has three commands:
2828

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

71+
Reading a Raster::
72+
73+
import geoscript.layer.GeoTIFF
74+
75+
def format = new GeoTIFF()
76+
def raster = format.read(new File("raster.tif"))
77+
78+
println "Format = ${raster.format}"
79+
println "Proj EPSG = ${raster.proj.id}"
80+
println "Proj WKT = ${raster.proj.wkt}"
81+
println "Bounds = ${raster.bounds.geometry.wkt}"
82+
println "Size = ${raster.size}"
83+
println "Block Size = ${raster.blockSize}"
84+
println "Pixel Size = ${raster.pixelSize}"
85+
println "Band:"
86+
raster.bands.eachWithIndex{b,i ->
87+
println " ${i}). ${b}"
88+
}
89+
7190
See the `web site <http://geoscript.org>`_ or the `examples directory <https://github.com/jericks/geoscript-groovy/tree/master/examples>`_ for more examples.
7291

7392
License

doc/download.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Downloads
66
Stable
77
------
88

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

1111
Experimental
1212
------------
@@ -15,4 +15,4 @@ Experimental
1515

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

18-
`GeoScript Groovy 1.1-SNAPSHOT is the latest unstable release <https://docs.google.com/file/d/0B8cwqNmbcThpWFRxQzlHQVJlVW8/edit?usp=sharing>`_
18+
GeoScript Groovy 1.2-SNAPSHOT is currently being developed on the master branch.

doc/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ GeoScript Groovy
88
usage
99
grails
1010
download
11+
releases
1112

1213
GeoScript Groovy is a Groovy implementation of GeoScript.
1314

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

24+
:ref:`Releases <releases>`
25+
Geoscript Groovy Release Notes
26+
2327
`Learning <../learning>`_
2428
A tour of the GeoScript library
2529

doc/quickstart.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ Groovy version greater than *1.7* is required for GeoScript. The current version
2929
Install GeoScript
3030
-----------------
3131

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

3434
#. Unpack the GeoScript tarball::
3535

36-
unzip geoscript-groovy-1.0.zip
36+
unzip geoscript-groovy-1.1.zip
3737

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

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

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

0 commit comments

Comments
 (0)