Releases: ngageoint/geopackage-js
Releases · ngageoint/geopackage-js
4.2.6
4.2.5
4.2.4
- Update CanvasKit libs with libs from develop to fix runtime error in Node 18:
error initializing CanvasKit: TypeError: Failed to parse URL from /Users/stjohnr/sandbox/geopackage-js/canvaskit/canvaskit.wasm
at Object.fetch (node:internal/deps/undici/undici:14152:11) {
[cause]: TypeError: Invalid URL
at new NodeError (node:internal/errors:399:5)
at URL.onParseError (node:internal/url:565:9)
at new URL (node:internal/url:645:5)
at new Request (node:internal/deps/undici/undici:6947:25)
at fetch2 (node:internal/deps/undici/undici:13315:25)
at Object.fetch (node:internal/deps/undici/undici:14150:18)
at fetch (node:internal/process/pre_execution:237:25)
at /Users/stjohnr/sandbox/geopackage-js/canvaskit/canvaskit.js:1:940488
at /Users/stjohnr/sandbox/geopackage-js/canvaskit/canvaskit.js:1:940858
at /Users/stjohnr/sandbox/geopackage-js/canvaskit/canvaskit.js:1:940906
at /Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvasKitCanvasAdapter.ts:5:491
at new Promise (<anonymous>)
at CanvasKitCanvasAdapter.initialize (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvasKitCanvasAdapter.ts:5:358)
at Function.<anonymous> (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:30363)
at step (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:28732)
at Object.next (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:25730)
at /Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:24895
at new Promise (<anonymous>)
at __awaiter (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:24120)
at Function.Canvas.initializeAdapter (/Users/stjohnr/sandbox/geopackage-js/lib/canvas/canvas.ts:1:29818)
at Function.<anonymous> (/Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:26751)
at step (/Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:25175)
at Object.next (/Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:22083)
at /Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:21227
at new Promise (<anonymous>)
at __awaiter (/Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:20434)
at Function.Context.initializeContext (/Users/stjohnr/sandbox/geopackage-js/lib/context/context.ts:1:26475)
at Object.<anonymous> (/Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:44:46)
at step (/Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:32:23)
at Object.next (/Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:13:53)
at /Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:7:71
at new Promise (<anonymous>)
at __awaiter (/Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:3:12)
at Context.<anonymous> (/Users/stjohnr/sandbox/geopackage-js/test/setupNodeEnv.js:39:29)
at callFn (/Users/stjohnr/sandbox/geopackage-js/node_modules/mocha/lib/runnable.js:387:21)
at Hook.Runnable.run (/Users/stjohnr/sandbox/geopackage-js/node_modules/mocha/lib/runnable.js:379:7)
at next (/Users/stjohnr/sandbox/geopackage-js/node_modules/mocha/lib/runner.js:384:10)
at Immediate.<anonymous> (/Users/stjohnr/sandbox/geopackage-js/node_modules/mocha/lib/runner.js:425:5)
at processImmediate (node:internal/timers:476:21) {
input: '/Users/stjohnr/sandbox/geopackage-js/canvaskit/canvaskit.wasm',
code: 'ERR_INVALID_URL'
}
5.0.0-beta
Major rework of GeoPackage JS library to sync up API with GeoPackage Java v6.4.0.
- GeoPackage JS's API has been updated to more closely match GeoPackage Java v6.4.0
- Not yet implemented: 2D Gridded Tile Coverage Extension and OGC API Feature Generator
- GeoPackageExtensions is now ExtensionManager
- GeoPackageAPI is now GeoPackageManager
- Added FeatureTileTableLink extension
- Added support for extended geometry types
- Added Properties extension
- Added ZoomOther extension
- Added support for drawing extended geometry types
- Updated to use NGA simple features javascript libraries
- Updated to use NGA projections javascript library
- Added UserCustomRow
- Reworked UserRow, UserTable, and UserColumn and updated all super types
- Added in FeatureConnection, TileConnection, AttributesConnection and UserCustomConnections.
- Added GeoPackageCache
- Utilize ResultSet and Iterators with Database functions to prevent memory issues.
4.2.3
4.2.2
4.1.0
3.0.9
3.0.9
- Bug fix for null colors
3.0.8
3.0.8
- If a null color is set on the FeatureTiles class, the color will be reset to the initial default of #000000FF
3.0.7
Styles that are set on the FeatureTiles class will now override all GeoPackage styles