Skip to content

Commit ac58f2b

Browse files
committed
Release 1.5.0
1 parent 0b84834 commit ac58f2b

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
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.5.0 <https://github.com/geoscript/geoscript-js/releases/download/v1.5.0/geoscript-js-1.5.0.zip>`__
7+
68
`GeoScript JS 1.4.0 <https://github.com/geoscript/geoscript-js/releases/download/v1.4.0/geoscript-js-1.4.0.zip>`__
79

810
`GeoScript JS 1.3.0 <https://github.com/geoscript/geoscript-js/releases/download/v1.3.0/geoscript-js-1.3.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.4.0-app.jar
32+
java -jar geoscript-js-1.5.0-app.jar

pom.xml

Lines changed: 2 additions & 2 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.5-SNAPSHOT</version>
7+
<version>1.5.0</version>
88
<properties>
9-
<gt.version>26-SNAPSHOT</gt.version>
9+
<gt.version>26.0</gt.version>
1010
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1111
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1212
</properties>

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ var Factory = require("../factory").Factory;
33
var Workspace = require("./workspace").Workspace;
44
var UTIL = require("../util");
55

6-
var FlatgeobufDataStoreFactory = Packages.org.geotools.data.flatgeobuf.FlatgeobufDataStoreFactory;
6+
var URLs = Packages.org.geotools.util.URLs;
7+
var FlatGeobufDataStoreFactory = Packages.org.geotools.data.flatgeobuf.FlatGeobufDataStoreFactory;
78

89
/** private: (define)
910
* module = workspace
@@ -13,13 +14,13 @@ var FlatgeobufDataStoreFactory = Packages.org.geotools.data.flatgeobuf.Flatgeobu
1314
var prepConfig = function(config) {
1415
if (config) {
1516
if (typeof config === "string") {
16-
config = {'flatgeobuf-file': config};
17+
config = {'url': config};
1718
}
1819
if (!(typeof config.file === "string")) {
1920
throw "Flatgeobuf config must include file path.";
2021
}
2122
config = {
22-
'flatgeobuf-file': String(config.file)
23+
'url': String(URLs.fileToUrl(UTIL.toFile(config.file)))
2324
};
2425
}
2526
return config;
@@ -53,7 +54,7 @@ var Flatgeobuf = UTIL.extend(Workspace, {
5354
* Create the underlying store for the workspace.
5455
*/
5556
_create: function(config) {
56-
var factory = new FlatgeobufDataStoreFactory();
57+
var factory = new FlatGeobufDataStoreFactory();
5758
return factory.createDataStore(config);
5859
},
5960

0 commit comments

Comments
 (0)