Skip to content

Commit 9548a84

Browse files
committed
Release version 1.8.0
1 parent aa235a0 commit 9548a84

File tree

6 files changed

+93
-7
lines changed

6 files changed

+93
-7
lines changed

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ and then include the GeoScript Groovy dependency::
126126
<dependency>
127127
<groupId>org.geoscript</groupId>
128128
<artifactId>geoscript-groovy</artifactId>
129-
<version>1.7.0</version>
129+
<version>1.8.0</version>
130130
</dependency>
131131

132132
Versions
@@ -135,6 +135,8 @@ Versions
135135
+-----------+----------+-----------+------+---------+
136136
| GeoScript | GeoTools | GeoServer | JTS | Groovy |
137137
+-----------+----------+-----------+------+---------+
138+
| 1.8 | 16 | 2.10 | 1.13 | 2.4.7 |
139+
+-----------+----------+-----------+------+---------+
138140
| 1.7 | 15 | 2.9 | 1.13 | 2.4.6 |
139141
+-----------+----------+-----------+------+---------+
140142
| 1.6 | 14 | 2.8 | 1.13 | 2.4.5 |

doc/download.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Downloads
66
Stable
77
------
88

9-
`GeoScript Groovy 1.7.0 <https://github.com/jericks/geoscript-groovy/releases>`_ is the current stable version.
9+
`GeoScript Groovy 1.8.0 <https://github.com/jericks/geoscript-groovy/releases>`_ is the current stable version.
1010

1111
Experimental
1212
------------

doc/gradle.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Then edit the build.gradle file.
5252
5353
dependencies {
5454
compile "org.codehaus.groovy:groovy-all:2.1.9"
55-
compile "org.geoscript:geoscript-groovy:1.7-SNAPSHOT"
55+
compile "org.geoscript:geoscript-groovy:1.8.0"
5656
}
5757
5858
task wrapper(type: Wrapper) {

doc/quickstart.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ Install GeoScript
3333

3434
#. Unpack the GeoScript tarball::
3535

36-
unzip geoscript-groovy-1.7.0.zip
36+
unzip geoscript-groovy-1.8.0.zip
3737

38-
#. Add the geoscript-groovy-1.7.0/bin directory to your path::
38+
#. Add the geoscript-groovy-1.8.0/bin directory to your path::
3939

4040
export PATH=$(cd bin; pwd):$PATH
4141

doc/releases.rst

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,90 @@
33
GeoScript Groovy Releases
44
=========================
55

6+
1.8.0
7+
-----
8+
The 1.8.0 release of GeoScript is built on Grooovy 2.4.7, GeoTools 16.0, and the Java Topology Suite 1.13 and
9+
requires Java 8.
10+
11+
Create Projections using well known names::
12+
13+
new Projection("WGS84")
14+
new Projection("Mollweide")
15+
new Projection("WagnerIV")
16+
new Projection("WorldVanderGrintenI")
17+
18+
Create a Raster from Tiles around a Point::
19+
20+
Raster raster = osm.getRaster(
21+
Projection.transform(Geometry.fromWKT(wkt), "EPSG:4326", "EPSG:3857") as Point,
22+
z,
23+
400,
24+
400
25+
)
26+
27+
Create a Directory Workspace from a zipped shapefile URL::
28+
29+
Directory dir = Directory.fromURL(
30+
new URL("http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip"),
31+
new File("naturalearth")
32+
)
33+
34+
Added a getTileCoordinates() method to the Pyramid class::
35+
36+
Pyramid pyramid = Pyramid.createGlobalMercatorPyramid()
37+
Bounds b = new Bounds(
38+
-124.73142200000001,
39+
24.955967,
40+
-66.969849,
41+
49.371735,
42+
"EPSG:4326"
43+
).reproject("EPSG:3857")
44+
Map coords = pyramid.getTileCoordinates(b, pyramid.grid(4))
45+
46+
Added getDataSource() method to the Database Workspace.
47+
48+
Added Stamen's Terrain layer to the OSM.getWellKnownOSM() method::
49+
50+
TileLayer.getTileLayer([type: 'osm', name: 'stamen-terrain'])
51+
52+
GeoPackage.delete() method removes a GeoPackage Tile Layer.
53+
54+
Added Filter.id() and Filter.ids() methods::
55+
56+
Filter filter = Filter.id("points.1")
57+
Filter filter = Filter.ids(["points.1","points.2","points.3"])
58+
59+
Added XmlSchemaReader and XmlSchemaWriter::
60+
61+
String str = """<schema>
62+
<name>points</name>
63+
<projection>EPSG:4326</projection>
64+
<geometry>geom</geometry>
65+
<fields>
66+
<field>
67+
<name>geom</name>
68+
<type>Point</type>
69+
<projection>EPSG:4326</projection>
70+
</field>
71+
<field>
72+
<name>name</name>
73+
<type>String</type>
74+
</field>
75+
<field>
76+
<name>price</name>
77+
<type>Float</type>
78+
</field>
79+
</fields>
80+
</schema>"""
81+
SchemaReader reader = new XmlSchemaReader()
82+
Schema schema = reader.read(str)
83+
84+
Fixed Raster.eachCell so it visits every cell.
85+
86+
Added normalize and convolve methods to Raster.
87+
88+
Added getMinZoom() and getMaxZoom() methods to GeoPackage TileLayer.
89+
690
1.7.0
791
-----
892
The 1.7.0 release of GeoScript is built on Grooovy 2.4.6, GeoTools 15.0, and the Java Topology Suite 1.13 and

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>org.geoscript</groupId>
66
<artifactId>geoscript-groovy</artifactId>
77
<packaging>jar</packaging>
8-
<version>1.8-SNAPSHOT</version>
8+
<version>1.8.0</version>
99
<repositories>
1010
<repository>
1111
<id>boundless</id>
@@ -451,7 +451,7 @@
451451
</plugins>
452452
</reporting>
453453
<properties>
454-
<gt.version>16-SNAPSHOT</gt.version>
454+
<gt.version>16.0</gt.version>
455455
</properties>
456456
<name>geoscript groovy</name>
457457
<description>A groovy implementation of geoscript.</description>

0 commit comments

Comments
 (0)