Skip to content

Commit 6ab2422

Browse files
committed
Release 1.4.0
1 parent de48083 commit 6ab2422

File tree

9 files changed

+35
-5
lines changed

9 files changed

+35
-5
lines changed

doc/download.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
Downloads
44
=========
55

6+
`GeoScript JS 1.4.0 <https://github.com/geoscript/geoscript-js/releases/download/v1.4.0/geoscript-js-1.4.0.zip>`__
7+
68
`GeoScript JS 1.3.0 <https://github.com/geoscript/geoscript-js/releases/download/v1.3.0/geoscript-js-1.3.0.zip>`__
79

810
`GeoScript JS 1.2.0 <https://github.com/geoscript/geoscript-js/releases/download/v1.2.0/geoscript-js-1.2.0.zip>`__

doc/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ After extracting the release archive, you can open the GeoScript shell and impor
2929
3030
You can also use the uber jar that contains all dependencies and is runnable::
3131

32-
java -jar geoscript-js-1.3.0-app.jar
32+
java -jar geoscript-js-1.4.0-app.jar

examples/raster/raster.pgw

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
0.4
2+
0.0
3+
0.0
4+
-0.4
5+
-179.8
6+
89.8

examples/raster/raster.png

118 KB
Loading

examples/raster/raster.prj

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
GEOGCS["WGS 84",
2+
DATUM["World Geodetic System 1984",
3+
SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]],
4+
AUTHORITY["EPSG","6326"]],
5+
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
6+
UNIT["degree", 0.017453292519943295],
7+
AXIS["Geodetic longitude", EAST],
8+
AXIS["Geodetic latitude", NORTH],
9+
AUTHORITY["EPSG","4326"]]

examples/raster/raster.tif

396 KB
Binary file not shown.

examples/raster/readRaster.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
var raster = require('geoscript/raster');
2+
var proj = require('geoscript/proj');
3+
4+
var format = new raster.Format({source: 'raster.tif'});
5+
print("Format names: " + format.names);
6+
var tif = format.read({});
7+
print("Raster: " + tif);
8+
print("Name: " + tif.name);
9+
print("Projection: " + tif.proj);
10+
print("Size: " + tif.size);
11+
12+
var pngFormat = new raster.Format({source: 'raster.png'});
13+
pngFormat.write(tif, {});

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<groupId>org.geoscript</groupId>
55
<artifactId>geoscript-js</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.4-SNAPSHOT</version>
7+
<version>1.4.0</version>
88
<properties>
9-
<gt.version>25-SNAPSHOT</gt.version>
9+
<gt.version>25.0</gt.version>
1010
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1111
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1212
</properties>
@@ -62,7 +62,7 @@
6262
<dependency>
6363
<groupId>org.mozilla</groupId>
6464
<artifactId>rhino</artifactId>
65-
<version>1.7.12</version>
65+
<version>1.7.13</version>
6666
</dependency>
6767
<dependency>
6868
<groupId>jline</groupId>

src/main/resources/org/geoscript/js/lib/geoscript/workspace/memory.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var Memory = UTIL.extend(Workspace, {
3838
* Create the underlying store for the workspace.
3939
*/
4040
_create: function(config) {
41-
return new MemoryDataStore();
41+
return java.lang.Class.forName("org.geotools.data.memory.MemoryDataStore").newInstance();
4242
}
4343

4444
});

0 commit comments

Comments
 (0)