@@ -5,18 +5,18 @@ GeoScript Groovy Releases
5
5
6
6
1.7.0
7
7
-----
8
- The 1.7.0 release of GeoScript is built on Grooovy 2.4.6, GeoTools 15.0, and the Java Topology Suite 1.13.
9
- It also requires Java 8.
8
+ 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
9
+ requires Java 8.
10
10
11
11
This version focused on making GeoScript more modular and extensible. GeoScript is more extensible by
12
12
providing Service Provider Interface (SPI) end points for Readers, Writer, Formats, TileLayers and Workspaces.
13
13
GeoScript is more modular by using Groovy's Extension Modules to add methods dynamically.
14
14
15
15
Most of the other features of 1.7 were contributed by the community (thank you sbortman, blackrez, and gnafu)
16
- or drive by the development of `geoc <https://github.com/jericks/geoc >`_ (a geospatial commandline application),
16
+ or driven by the development of `geoc <https://github.com/jericks/geoc >`_ (a geospatial commandline application),
17
17
`geo-shell <https://github.com/jericks/geo-shell >`_ (an interactive shell for geospatial analysis),
18
18
and `MBTilesServer <https://github.com/jericks/MBTilesServer >`_ (a Spring Boot based web app for serving
19
- mbtiles maps).
19
+ MBtiles maps).
20
20
21
21
**Tile **
22
22
@@ -128,13 +128,21 @@ GeoScript Groovy Releases
128
128
129
129
**Workspace **
130
130
131
- Workspaces have much better connection string and maps.
131
+ Workspaces have much better connection string and maps which are useful for command line applications::
132
132
133
- Users of the OGR Workspace can now use the static setErrorHandler(quiet, logging, or default) method to control OGR's logging.
133
+ Workspace w = Workspace.getWorkspace("dbtype=postgis database=postgres host=localhost port=5432 user=postgres passwd=postgres")
134
+
135
+ Workspace w = Workspace.getWorkspace("database=layers.gpkg dbtype=geopkg user=me passwd=s$cr$t")
136
+
137
+ Users of the OGR Workspace can now use the static setErrorHandler(quiet, logging, or default) method to control OGR's logging::
138
+
139
+ OGR.setErrorHandler("quiet")
134
140
135
141
All workspaces now include a Workspace.remove(String name) method that can remove a Layer from the Workspace.
136
142
137
- The Shapefile module inherited a Shapefile.dump(File,Layer) method from GeoTools.
143
+ The Shapefile module inherited a Shapefile.dump(File,Layer) method from GeoTools::
144
+
145
+ Directory workspace = Shapefile.dump(dir, layer)
138
146
139
147
Shapefile and Property layers can look up side car SLD or CSS files.
140
148
0 commit comments