Skip to content

Commit 0251679

Browse files
committed
Work on release notes for 1.15
1 parent 5b2476f commit 0251679

File tree

6 files changed

+91
-0
lines changed

6 files changed

+91
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
target/
2+
.idea/
3+
*.iml

doc/docs.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.. _docs:
2+
3+
Cookbook
4+
========
5+
6+
`GeoScript Groovy Cookbook <https://jericks.github.io/geoscript-groovy-cookbook/>`_
7+
8+
API Docs
9+
========
10+
11+
`1.15-SNAPSHOT <http://geoscript.github.io/geoscript-groovy/api/1.15-SNAPSHOT/index.html>`_
12+
13+
`1.14.0 <http://geoscript.github.io/geoscript-groovy/api/1.14.0/index.html>`_
14+
15+
`1.13.0 <http://geoscript.github.io/geoscript-groovy/api/1.13.0/index.html>`_
16+
17+
`1.12.0 <http://geoscript.github.io/geoscript-groovy/api/1.12.0/index.html>`_
18+
19+
`1.11.0 <http://geoscript.github.io/geoscript-groovy/api/1.11.0/index.html>`_
20+
21+
`1.10.0 <http://geoscript.github.io/geoscript-groovy/api/1.10.0/index.html>`_
22+
23+
`1.9.0 <http://geoscript.github.io/geoscript-groovy/api/1.9.0/index.html>`_
24+
25+
`1.8.0 <http://geoscript.github.io/geoscript-groovy/api/1.8.0/index.html>`_

doc/images/carto.png

57.7 KB
Loading

doc/images/layer_graticule_oval.png

33.3 KB
Loading

doc/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ GeoScript Groovy
66

77
quickstart
88
usage
9+
docs
910
grails
1011
download
1112
releases
@@ -21,6 +22,9 @@ GeoScript Groovy is a Groovy implementation of GeoScript.
2122
:ref:`Usage <usage>`
2223
Learn how to use the various GeoScript Groovy commands
2324

25+
:ref:`Docs <docs>`
26+
Learn how to use the various GeoScript Groovy commands
27+
2428
:ref:`Grails <grails>`
2529
Use Geoscript Groovy to create GeoSpatial Grails Web Applications
2630

doc/releases.rst

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

6+
1.15.0 (In progress)
7+
--------------------
8+
The 1.15 release of GeoScript is build on Groovy 3.0.3, GeoTools 23.0, and the Java Topology Suite 1.16.1 and requires Java 8.
9+
10+
Add geoscript.carto package for building maps with cartographic elements like north arrows, text, and neatlines::
11+
12+
File file = new File("map.png")
13+
file.withOutputStream { OutputStream outputStream ->
14+
PageSize pageSize = PageSize.LETTER_LANDSCAPE
15+
16+
CartoFactories.findByName("png")
17+
.create(pageSize)
18+
.rectangle(new RectangleItem(0, 0, pageSize.width - 1, pageSize.height - 1)
19+
.fillColor(Color.WHITE)
20+
)
21+
.map(new MapItem(20, 20, pageSize.width - 40, pageSize.height - 40).map(map))
22+
.northArrow(new NorthArrowItem(pageSize.width - 60, pageSize.height - 100, 40, 80)
23+
.font(new Font("Arial", Font.BOLD, 24))
24+
.drawText(true))
25+
.build(outputStream)
26+
27+
}
28+
29+
.. image:: images/carto.png
30+
31+
Raster.getBufferedImage()::
32+
33+
File file = new File("alki.tif")
34+
GeoTIFF geoTIFF = new GeoTIFF(file)
35+
Raster raster = geoTIFF.read()
36+
BufferedImage image = raster.bufferedImage
37+
38+
Add Schema alias for GeometryCollection.
39+
40+
Add static Layer methods to create Layer from a Geometry or a List of Geometries::
41+
42+
Layer layer = Layer.fromGeometry("world", new Bounds(-180,-90,180,90).geometry)
43+
44+
Layer layer = Layer.fromGeometries("testPits", Geometry.createRandomPoints(new Bounds(-180,-90,180,90).geometry, 10).geometries)
45+
46+
Update GeoDB dependency to for Java 8 compatability.
47+
48+
Add Viewer.drawBase64String method::
49+
50+
def geom = Geometry.fromWKT("POINT (-111 45.7)").buffer(10)
51+
String str = Viewer.drawToBase64EncodedString(geom)
52+
53+
Add Flatgeobuf Workspace::
54+
55+
Workspace workspace = new FlatGeobuf(new File("flatgeobuf/files"))
56+
57+
Create oval Vector grids::
58+
59+
Bounds bounds = new Bounds(-180,-90,180,90,"EPSG:4326")
60+
double length = 20
61+
Layer layer = Graticule.createOvals(bounds, length)
62+
63+
.. image:: images/layer_graticule_oval.png
64+
665
1.14.0
766
------
867
The 1.14 release of GeoScript is build on Groovy 2.5.8, GeoTools 22.0, and the Java Topology Suite 1.16.1 and requires Java 8.

0 commit comments

Comments
 (0)