Skip to content

Commit

Permalink
Update to Groovy 3.0.11 and GeoTools 27
Browse files Browse the repository at this point in the history
  • Loading branch information
jericks committed Jun 1, 2022
1 parent a72066d commit 0976cec
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Versions
+-----------+----------+-----------+--------+----------+
| GeoScript | GeoTools | GeoServer | JTS | Groovy |
+-----------+----------+-----------+--------+----------+
| 1.19 | 27 | 2.20 | 1.18.2 | 3.0.9 |
| 1.19 | 27 | 2.20 | 1.18.2 | 3.0.11 |
+-----------+----------+-----------+--------+----------+
| 1.18 | 26 | 2.20 | 1.18.2 | 3.0.9 |
+-----------+----------+-----------+--------+----------+
Expand Down
47 changes: 47 additions & 0 deletions doc/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,53 @@
GeoScript Groovy Releases
=========================

1.19.0
------
The 1.19 release of GeoScript is build on Groovy 3.0.11, GeoTools 27.0, and the Java Topology Suite 1.18.2 and requires Java 8.

Add way to get the version::

println GeoScript.version

Switch build to Java 11.

Added GeoYaml support::

YamlWriter writer = new YamlWriter()
Point p = new Point(-122.23, 45.67)
println(writer.write(p))

---
geometry:
type: "Point"
coordinates:
- -122.23
- 45.67

Added equal earth project to the list of well known projection names.

Added Projection constructor for creating auto projection centered at a Point::

Projection proj = new Projection(42001, new Point(-102.304688,39.250413))

Added USGS National Map TileLayer::

USGSTileLayer usgs = USGSTileLayer.createImagery()

Moved Grid creation for mercator and geodetic pyramids to static methods::

List<Grid> grids = Grid.createGlobalGeodeticGrids(5)

List<Grid> grids = Grid.createGlobalMercatorGrids(5)

Allow MBTiles metadata bounds to be set.

Added methods to the StyleRepository interface to get Styles.

Allow Workspace to look up styles for a Layer.

Allow Layers to use StyleRepository from the Workspace to look up a default style.

1.18.0
------
The 1.18 release of GeoScript is build on Groovy 3.0.9, GeoTools 26.0, and the Java Topology Suite 1.18.2 and requires Java 8.
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@
</plugins>
</reporting>
<properties>
<gt.version>27-SNAPSHOT</gt.version>
<groovy.version>3.0.9</groovy.version>
<gt.version>27.0</gt.version>
<groovy.version>3.0.11</groovy.version>
</properties>
<name>geoscript groovy</name>
<description>A groovy implementation of geoscript.</description>
Expand Down

0 comments on commit 0976cec

Please sign in to comment.