|
3 | 3 | GeoScript Groovy Releases |
4 | 4 | ========================= |
5 | 5 |
|
| 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 | + |
6 | 90 | 1.7.0 |
7 | 91 | ----- |
8 | 92 | 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 |
|
0 commit comments