@basemaps/server 8.2.0 → 8.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/basemaps-server.cjs +226 -226
- package/package.json +7 -7
package/bin/basemaps-server.cjs
CHANGED
|
@@ -124913,9 +124913,9 @@ var ulid2 = __toESM(require_index_umd(), 1);
|
|
|
124913
124913
|
var CliInfo = {
|
|
124914
124914
|
// Detect unlinked packages looks for this string since its a package name, slightly work around it
|
|
124915
124915
|
package: "@basemaps/cli",
|
|
124916
|
-
version: "v8.
|
|
124917
|
-
hash: "
|
|
124918
|
-
buildId: "
|
|
124916
|
+
version: "v8.2.0-8-gfe8bbf9d",
|
|
124917
|
+
hash: "fe8bbf9d0a3ca2f590505924f227a6d9da0ea5a8",
|
|
124918
|
+
buildId: "15719849199-1"
|
|
124919
124919
|
};
|
|
124920
124920
|
var CliDate = (/* @__PURE__ */ new Date()).toISOString();
|
|
124921
124921
|
var CliId = ulid2.ulid();
|
|
@@ -132274,48 +132274,6 @@ Object.defineProperty(Projection, "AllowedFloatingError", {
|
|
|
132274
132274
|
value: 1e-8
|
|
132275
132275
|
});
|
|
132276
132276
|
|
|
132277
|
-
// ../geo/build/proj/projection.loader.js
|
|
132278
|
-
var ProjectionLoader = class {
|
|
132279
|
-
/**
|
|
132280
|
-
* Ensure that a projection EPSG code is avialable for use in Proj4js
|
|
132281
|
-
*
|
|
132282
|
-
* If its not already loaded, lookup definition from spatialreference.org
|
|
132283
|
-
* @param code
|
|
132284
|
-
*/
|
|
132285
|
-
static async load(code) {
|
|
132286
|
-
if (Projection.tryGet(code) != null)
|
|
132287
|
-
return Epsg.get(code);
|
|
132288
|
-
const url = `https://spatialreference.org/ref/epsg/${code}/ogcwkt/`;
|
|
132289
|
-
const res = await this._fetch(url);
|
|
132290
|
-
if (!res.ok)
|
|
132291
|
-
throw new Error("Failed to load projection information for:" + code);
|
|
132292
|
-
let epsg = Epsg.tryGet(code);
|
|
132293
|
-
if (epsg == null)
|
|
132294
|
-
epsg = new Epsg(code);
|
|
132295
|
-
const text = await res.text();
|
|
132296
|
-
Projection.define(epsg, text);
|
|
132297
|
-
return epsg;
|
|
132298
|
-
}
|
|
132299
|
-
};
|
|
132300
|
-
Object.defineProperty(ProjectionLoader, "_fetch", {
|
|
132301
|
-
enumerable: true,
|
|
132302
|
-
configurable: true,
|
|
132303
|
-
writable: true,
|
|
132304
|
-
value: fetch
|
|
132305
|
-
});
|
|
132306
|
-
|
|
132307
|
-
// ../geo/build/proj/tile.set.name.js
|
|
132308
|
-
var TileSetName;
|
|
132309
|
-
(function(TileSetName2) {
|
|
132310
|
-
TileSetName2["aerial"] = "aerial";
|
|
132311
|
-
})(TileSetName || (TileSetName = {}));
|
|
132312
|
-
|
|
132313
|
-
// ../geo/build/quad.key.js
|
|
132314
|
-
var CHAR_0 = "0".charCodeAt(0);
|
|
132315
|
-
var CHAR_1 = "1".charCodeAt(0);
|
|
132316
|
-
var CHAR_2 = "2".charCodeAt(0);
|
|
132317
|
-
var CHAR_3 = "3".charCodeAt(0);
|
|
132318
|
-
|
|
132319
132277
|
// ../geo/build/xy.order.js
|
|
132320
132278
|
function getXyOrder(epsg) {
|
|
132321
132279
|
const code = typeof epsg === "number" ? epsg : epsg.code;
|
|
@@ -132601,25 +132559,25 @@ var TileMatrixSet = class {
|
|
|
132601
132559
|
}
|
|
132602
132560
|
};
|
|
132603
132561
|
|
|
132604
|
-
// ../geo/build/tms/
|
|
132605
|
-
var
|
|
132562
|
+
// ../geo/build/tms/google.js
|
|
132563
|
+
var GoogleTmst = {
|
|
132606
132564
|
type: "TileMatrixSetType",
|
|
132607
|
-
title: "
|
|
132608
|
-
|
|
132609
|
-
identifier: "CITM2000Quad",
|
|
132610
|
-
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
132565
|
+
title: "Google Maps Compatible for the World",
|
|
132566
|
+
identifier: "WebMercatorQuad",
|
|
132611
132567
|
boundingBox: {
|
|
132612
132568
|
type: "BoundingBoxType",
|
|
132613
|
-
crs: "
|
|
132614
|
-
lowerCorner: [
|
|
132615
|
-
upperCorner: [
|
|
132569
|
+
crs: "http://www.opengis.net/def/crs/EPSG/0/3857",
|
|
132570
|
+
lowerCorner: [-200375083427892e-7, -200375083427892e-7],
|
|
132571
|
+
upperCorner: [200375083427892e-7, 200375083427892e-7]
|
|
132616
132572
|
},
|
|
132573
|
+
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3857",
|
|
132574
|
+
wellKnownScaleSet: "https://www.opengis.net/def/wkss/OGC/1.0/GoogleMapsCompatible",
|
|
132617
132575
|
tileMatrix: [
|
|
132618
132576
|
{
|
|
132619
132577
|
type: "TileMatrixType",
|
|
132620
132578
|
identifier: "0",
|
|
132621
|
-
scaleDenominator:
|
|
132622
|
-
topLeftCorner: [
|
|
132579
|
+
scaleDenominator: 559082264028717e-6,
|
|
132580
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132623
132581
|
tileWidth: 256,
|
|
132624
132582
|
tileHeight: 256,
|
|
132625
132583
|
matrixWidth: 1,
|
|
@@ -132628,8 +132586,8 @@ var Citm2000Tmst = {
|
|
|
132628
132586
|
{
|
|
132629
132587
|
type: "TileMatrixType",
|
|
132630
132588
|
identifier: "1",
|
|
132631
|
-
scaleDenominator:
|
|
132632
|
-
topLeftCorner: [
|
|
132589
|
+
scaleDenominator: 279541132014358e-6,
|
|
132590
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132633
132591
|
tileWidth: 256,
|
|
132634
132592
|
tileHeight: 256,
|
|
132635
132593
|
matrixWidth: 2,
|
|
@@ -132638,8 +132596,8 @@ var Citm2000Tmst = {
|
|
|
132638
132596
|
{
|
|
132639
132597
|
type: "TileMatrixType",
|
|
132640
132598
|
identifier: "2",
|
|
132641
|
-
scaleDenominator:
|
|
132642
|
-
topLeftCorner: [
|
|
132599
|
+
scaleDenominator: 139770566007179e-6,
|
|
132600
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132643
132601
|
tileWidth: 256,
|
|
132644
132602
|
tileHeight: 256,
|
|
132645
132603
|
matrixWidth: 4,
|
|
@@ -132648,8 +132606,8 @@ var Citm2000Tmst = {
|
|
|
132648
132606
|
{
|
|
132649
132607
|
type: "TileMatrixType",
|
|
132650
132608
|
identifier: "3",
|
|
132651
|
-
scaleDenominator:
|
|
132652
|
-
topLeftCorner: [
|
|
132609
|
+
scaleDenominator: 698852830035897e-7,
|
|
132610
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132653
132611
|
tileWidth: 256,
|
|
132654
132612
|
tileHeight: 256,
|
|
132655
132613
|
matrixWidth: 8,
|
|
@@ -132658,8 +132616,8 @@ var Citm2000Tmst = {
|
|
|
132658
132616
|
{
|
|
132659
132617
|
type: "TileMatrixType",
|
|
132660
132618
|
identifier: "4",
|
|
132661
|
-
scaleDenominator:
|
|
132662
|
-
topLeftCorner: [
|
|
132619
|
+
scaleDenominator: 349426415017948e-7,
|
|
132620
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132663
132621
|
tileWidth: 256,
|
|
132664
132622
|
tileHeight: 256,
|
|
132665
132623
|
matrixWidth: 16,
|
|
@@ -132668,8 +132626,8 @@ var Citm2000Tmst = {
|
|
|
132668
132626
|
{
|
|
132669
132627
|
type: "TileMatrixType",
|
|
132670
132628
|
identifier: "5",
|
|
132671
|
-
scaleDenominator:
|
|
132672
|
-
topLeftCorner: [
|
|
132629
|
+
scaleDenominator: 174713207508974e-7,
|
|
132630
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132673
132631
|
tileWidth: 256,
|
|
132674
132632
|
tileHeight: 256,
|
|
132675
132633
|
matrixWidth: 32,
|
|
@@ -132678,8 +132636,8 @@ var Citm2000Tmst = {
|
|
|
132678
132636
|
{
|
|
132679
132637
|
type: "TileMatrixType",
|
|
132680
132638
|
identifier: "6",
|
|
132681
|
-
scaleDenominator:
|
|
132682
|
-
topLeftCorner: [
|
|
132639
|
+
scaleDenominator: 873566037544871e-8,
|
|
132640
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132683
132641
|
tileWidth: 256,
|
|
132684
132642
|
tileHeight: 256,
|
|
132685
132643
|
matrixWidth: 64,
|
|
@@ -132688,8 +132646,8 @@ var Citm2000Tmst = {
|
|
|
132688
132646
|
{
|
|
132689
132647
|
type: "TileMatrixType",
|
|
132690
132648
|
identifier: "7",
|
|
132691
|
-
scaleDenominator:
|
|
132692
|
-
topLeftCorner: [
|
|
132649
|
+
scaleDenominator: 436783018772435e-8,
|
|
132650
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132693
132651
|
tileWidth: 256,
|
|
132694
132652
|
tileHeight: 256,
|
|
132695
132653
|
matrixWidth: 128,
|
|
@@ -132698,8 +132656,8 @@ var Citm2000Tmst = {
|
|
|
132698
132656
|
{
|
|
132699
132657
|
type: "TileMatrixType",
|
|
132700
132658
|
identifier: "8",
|
|
132701
|
-
scaleDenominator:
|
|
132702
|
-
topLeftCorner: [
|
|
132659
|
+
scaleDenominator: 218391509386217e-8,
|
|
132660
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132703
132661
|
tileWidth: 256,
|
|
132704
132662
|
tileHeight: 256,
|
|
132705
132663
|
matrixWidth: 256,
|
|
@@ -132708,8 +132666,8 @@ var Citm2000Tmst = {
|
|
|
132708
132666
|
{
|
|
132709
132667
|
type: "TileMatrixType",
|
|
132710
132668
|
identifier: "9",
|
|
132711
|
-
scaleDenominator:
|
|
132712
|
-
topLeftCorner: [
|
|
132669
|
+
scaleDenominator: 109195754693108e-8,
|
|
132670
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132713
132671
|
tileWidth: 256,
|
|
132714
132672
|
tileHeight: 256,
|
|
132715
132673
|
matrixWidth: 512,
|
|
@@ -132718,8 +132676,8 @@ var Citm2000Tmst = {
|
|
|
132718
132676
|
{
|
|
132719
132677
|
type: "TileMatrixType",
|
|
132720
132678
|
identifier: "10",
|
|
132721
|
-
scaleDenominator:
|
|
132722
|
-
topLeftCorner: [
|
|
132679
|
+
scaleDenominator: 545978.773465544,
|
|
132680
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132723
132681
|
tileWidth: 256,
|
|
132724
132682
|
tileHeight: 256,
|
|
132725
132683
|
matrixWidth: 1024,
|
|
@@ -132728,8 +132686,8 @@ var Citm2000Tmst = {
|
|
|
132728
132686
|
{
|
|
132729
132687
|
type: "TileMatrixType",
|
|
132730
132688
|
identifier: "11",
|
|
132731
|
-
scaleDenominator:
|
|
132732
|
-
topLeftCorner: [
|
|
132689
|
+
scaleDenominator: 272989.386732772,
|
|
132690
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132733
132691
|
tileWidth: 256,
|
|
132734
132692
|
tileHeight: 256,
|
|
132735
132693
|
matrixWidth: 2048,
|
|
@@ -132738,8 +132696,8 @@ var Citm2000Tmst = {
|
|
|
132738
132696
|
{
|
|
132739
132697
|
type: "TileMatrixType",
|
|
132740
132698
|
identifier: "12",
|
|
132741
|
-
scaleDenominator:
|
|
132742
|
-
topLeftCorner: [
|
|
132699
|
+
scaleDenominator: 136494.693366386,
|
|
132700
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132743
132701
|
tileWidth: 256,
|
|
132744
132702
|
tileHeight: 256,
|
|
132745
132703
|
matrixWidth: 4096,
|
|
@@ -132748,8 +132706,8 @@ var Citm2000Tmst = {
|
|
|
132748
132706
|
{
|
|
132749
132707
|
type: "TileMatrixType",
|
|
132750
132708
|
identifier: "13",
|
|
132751
|
-
scaleDenominator:
|
|
132752
|
-
topLeftCorner: [
|
|
132709
|
+
scaleDenominator: 68247.346683193,
|
|
132710
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132753
132711
|
tileWidth: 256,
|
|
132754
132712
|
tileHeight: 256,
|
|
132755
132713
|
matrixWidth: 8192,
|
|
@@ -132758,8 +132716,8 @@ var Citm2000Tmst = {
|
|
|
132758
132716
|
{
|
|
132759
132717
|
type: "TileMatrixType",
|
|
132760
132718
|
identifier: "14",
|
|
132761
|
-
scaleDenominator:
|
|
132762
|
-
topLeftCorner: [
|
|
132719
|
+
scaleDenominator: 34123.6733415964,
|
|
132720
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132763
132721
|
tileWidth: 256,
|
|
132764
132722
|
tileHeight: 256,
|
|
132765
132723
|
matrixWidth: 16384,
|
|
@@ -132768,8 +132726,8 @@ var Citm2000Tmst = {
|
|
|
132768
132726
|
{
|
|
132769
132727
|
type: "TileMatrixType",
|
|
132770
132728
|
identifier: "15",
|
|
132771
|
-
scaleDenominator:
|
|
132772
|
-
topLeftCorner: [
|
|
132729
|
+
scaleDenominator: 17061.8366707982,
|
|
132730
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132773
132731
|
tileWidth: 256,
|
|
132774
132732
|
tileHeight: 256,
|
|
132775
132733
|
matrixWidth: 32768,
|
|
@@ -132778,294 +132736,336 @@ var Citm2000Tmst = {
|
|
|
132778
132736
|
{
|
|
132779
132737
|
type: "TileMatrixType",
|
|
132780
132738
|
identifier: "16",
|
|
132781
|
-
scaleDenominator:
|
|
132782
|
-
topLeftCorner: [
|
|
132739
|
+
scaleDenominator: 8530.91833539913,
|
|
132740
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132783
132741
|
tileWidth: 256,
|
|
132784
132742
|
tileHeight: 256,
|
|
132785
132743
|
matrixWidth: 65536,
|
|
132786
132744
|
matrixHeight: 65536
|
|
132787
|
-
}
|
|
132788
|
-
],
|
|
132789
|
-
$generated: {
|
|
132790
|
-
package: "@basemaps/cli",
|
|
132791
|
-
version: "v7.14.0-4-g2766010d",
|
|
132792
|
-
hash: "2766010d8d2bb8b673f6bcbef2fe2636f2e0f4ea",
|
|
132793
|
-
createdAt: "2025-02-10T20:34:46.643Z"
|
|
132794
|
-
},
|
|
132795
|
-
$options: {
|
|
132796
|
-
sourceTileMatrix: "WebMercatorQuad",
|
|
132797
|
-
zoomOffset: 8
|
|
132798
|
-
}
|
|
132799
|
-
};
|
|
132800
|
-
var Citm2000Tms = new TileMatrixSet(Citm2000Tmst);
|
|
132801
|
-
|
|
132802
|
-
// ../geo/build/tms/google.js
|
|
132803
|
-
var GoogleTmst = {
|
|
132804
|
-
type: "TileMatrixSetType",
|
|
132805
|
-
title: "Google Maps Compatible for the World",
|
|
132806
|
-
identifier: "WebMercatorQuad",
|
|
132807
|
-
boundingBox: {
|
|
132808
|
-
type: "BoundingBoxType",
|
|
132809
|
-
crs: "http://www.opengis.net/def/crs/EPSG/0/3857",
|
|
132810
|
-
lowerCorner: [-200375083427892e-7, -200375083427892e-7],
|
|
132811
|
-
upperCorner: [200375083427892e-7, 200375083427892e-7]
|
|
132812
|
-
},
|
|
132813
|
-
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3857",
|
|
132814
|
-
wellKnownScaleSet: "https://www.opengis.net/def/wkss/OGC/1.0/GoogleMapsCompatible",
|
|
132815
|
-
tileMatrix: [
|
|
132745
|
+
},
|
|
132816
132746
|
{
|
|
132817
132747
|
type: "TileMatrixType",
|
|
132818
|
-
identifier: "
|
|
132819
|
-
scaleDenominator:
|
|
132748
|
+
identifier: "17",
|
|
132749
|
+
scaleDenominator: 4265.45916769956,
|
|
132820
132750
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132821
132751
|
tileWidth: 256,
|
|
132822
132752
|
tileHeight: 256,
|
|
132823
|
-
matrixWidth:
|
|
132824
|
-
matrixHeight:
|
|
132753
|
+
matrixWidth: 131072,
|
|
132754
|
+
matrixHeight: 131072
|
|
132825
132755
|
},
|
|
132826
132756
|
{
|
|
132827
132757
|
type: "TileMatrixType",
|
|
132828
|
-
identifier: "
|
|
132829
|
-
scaleDenominator:
|
|
132758
|
+
identifier: "18",
|
|
132759
|
+
scaleDenominator: 2132.72958384978,
|
|
132830
132760
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132831
132761
|
tileWidth: 256,
|
|
132832
132762
|
tileHeight: 256,
|
|
132833
|
-
matrixWidth:
|
|
132834
|
-
matrixHeight:
|
|
132763
|
+
matrixWidth: 262144,
|
|
132764
|
+
matrixHeight: 262144
|
|
132835
132765
|
},
|
|
132836
132766
|
{
|
|
132837
132767
|
type: "TileMatrixType",
|
|
132838
|
-
identifier: "
|
|
132839
|
-
scaleDenominator:
|
|
132768
|
+
identifier: "19",
|
|
132769
|
+
scaleDenominator: 1066.36479192489,
|
|
132840
132770
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132841
132771
|
tileWidth: 256,
|
|
132842
132772
|
tileHeight: 256,
|
|
132843
|
-
matrixWidth:
|
|
132844
|
-
matrixHeight:
|
|
132773
|
+
matrixWidth: 524288,
|
|
132774
|
+
matrixHeight: 524288
|
|
132845
132775
|
},
|
|
132846
132776
|
{
|
|
132847
132777
|
type: "TileMatrixType",
|
|
132848
|
-
identifier: "
|
|
132849
|
-
scaleDenominator:
|
|
132778
|
+
identifier: "20",
|
|
132779
|
+
scaleDenominator: 533.182395962445,
|
|
132850
132780
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132851
132781
|
tileWidth: 256,
|
|
132852
132782
|
tileHeight: 256,
|
|
132853
|
-
matrixWidth:
|
|
132854
|
-
matrixHeight:
|
|
132783
|
+
matrixWidth: 1048576,
|
|
132784
|
+
matrixHeight: 1048576
|
|
132855
132785
|
},
|
|
132856
132786
|
{
|
|
132857
132787
|
type: "TileMatrixType",
|
|
132858
|
-
identifier: "
|
|
132859
|
-
scaleDenominator:
|
|
132788
|
+
identifier: "21",
|
|
132789
|
+
scaleDenominator: 266.591197981222,
|
|
132860
132790
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132861
132791
|
tileWidth: 256,
|
|
132862
132792
|
tileHeight: 256,
|
|
132863
|
-
matrixWidth:
|
|
132864
|
-
matrixHeight:
|
|
132793
|
+
matrixWidth: 2097152,
|
|
132794
|
+
matrixHeight: 2097152
|
|
132865
132795
|
},
|
|
132866
132796
|
{
|
|
132867
132797
|
type: "TileMatrixType",
|
|
132868
|
-
identifier: "
|
|
132869
|
-
scaleDenominator:
|
|
132798
|
+
identifier: "22",
|
|
132799
|
+
scaleDenominator: 133.295598990611,
|
|
132870
132800
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132871
132801
|
tileWidth: 256,
|
|
132872
132802
|
tileHeight: 256,
|
|
132873
|
-
matrixWidth:
|
|
132874
|
-
matrixHeight:
|
|
132803
|
+
matrixWidth: 4194304,
|
|
132804
|
+
matrixHeight: 4194304
|
|
132875
132805
|
},
|
|
132876
132806
|
{
|
|
132877
132807
|
type: "TileMatrixType",
|
|
132878
|
-
identifier: "
|
|
132879
|
-
scaleDenominator:
|
|
132808
|
+
identifier: "23",
|
|
132809
|
+
scaleDenominator: 66.6477994953056,
|
|
132880
132810
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132881
132811
|
tileWidth: 256,
|
|
132882
132812
|
tileHeight: 256,
|
|
132883
|
-
matrixWidth:
|
|
132884
|
-
matrixHeight:
|
|
132813
|
+
matrixWidth: 8388608,
|
|
132814
|
+
matrixHeight: 8388608
|
|
132885
132815
|
},
|
|
132886
132816
|
{
|
|
132887
132817
|
type: "TileMatrixType",
|
|
132888
|
-
identifier: "
|
|
132889
|
-
scaleDenominator:
|
|
132818
|
+
identifier: "24",
|
|
132819
|
+
scaleDenominator: 33.3238997476528,
|
|
132890
132820
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
132891
132821
|
tileWidth: 256,
|
|
132892
132822
|
tileHeight: 256,
|
|
132893
|
-
matrixWidth:
|
|
132894
|
-
matrixHeight:
|
|
132895
|
-
}
|
|
132823
|
+
matrixWidth: 16777216,
|
|
132824
|
+
matrixHeight: 16777216
|
|
132825
|
+
}
|
|
132826
|
+
]
|
|
132827
|
+
};
|
|
132828
|
+
var GoogleTms = new TileMatrixSet(GoogleTmst);
|
|
132829
|
+
|
|
132830
|
+
// ../geo/build/proj/projection.loader.js
|
|
132831
|
+
var ProjectionLoader = class {
|
|
132832
|
+
/**
|
|
132833
|
+
* Ensure that a projection EPSG code is avialable for use in Proj4js
|
|
132834
|
+
*
|
|
132835
|
+
* If its not already loaded, lookup definition from spatialreference.org
|
|
132836
|
+
* @param code
|
|
132837
|
+
*/
|
|
132838
|
+
static async load(code) {
|
|
132839
|
+
if (Projection.tryGet(code) != null)
|
|
132840
|
+
return Epsg.get(code);
|
|
132841
|
+
const url = `https://spatialreference.org/ref/epsg/${code}/ogcwkt/`;
|
|
132842
|
+
const res = await this._fetch(url);
|
|
132843
|
+
if (!res.ok)
|
|
132844
|
+
throw new Error("Failed to load projection information for:" + code);
|
|
132845
|
+
let epsg = Epsg.tryGet(code);
|
|
132846
|
+
if (epsg == null)
|
|
132847
|
+
epsg = new Epsg(code);
|
|
132848
|
+
const text = await res.text();
|
|
132849
|
+
Projection.define(epsg, text);
|
|
132850
|
+
return epsg;
|
|
132851
|
+
}
|
|
132852
|
+
};
|
|
132853
|
+
Object.defineProperty(ProjectionLoader, "_fetch", {
|
|
132854
|
+
enumerable: true,
|
|
132855
|
+
configurable: true,
|
|
132856
|
+
writable: true,
|
|
132857
|
+
value: fetch
|
|
132858
|
+
});
|
|
132859
|
+
|
|
132860
|
+
// ../geo/build/proj/tile.set.name.js
|
|
132861
|
+
var TileSetName;
|
|
132862
|
+
(function(TileSetName2) {
|
|
132863
|
+
TileSetName2["aerial"] = "aerial";
|
|
132864
|
+
})(TileSetName || (TileSetName = {}));
|
|
132865
|
+
|
|
132866
|
+
// ../geo/build/quad.key.js
|
|
132867
|
+
var CHAR_0 = "0".charCodeAt(0);
|
|
132868
|
+
var CHAR_1 = "1".charCodeAt(0);
|
|
132869
|
+
var CHAR_2 = "2".charCodeAt(0);
|
|
132870
|
+
var CHAR_3 = "3".charCodeAt(0);
|
|
132871
|
+
|
|
132872
|
+
// ../geo/build/tms/citm2000.js
|
|
132873
|
+
var Citm2000Tmst = {
|
|
132874
|
+
type: "TileMatrixSetType",
|
|
132875
|
+
title: "Debug tile matrix for EPSG:3793",
|
|
132876
|
+
abstract: "",
|
|
132877
|
+
identifier: "CITM2000Quad",
|
|
132878
|
+
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
132879
|
+
boundingBox: {
|
|
132880
|
+
type: "BoundingBoxType",
|
|
132881
|
+
crs: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
132882
|
+
lowerCorner: [5051234111622438e-9, 3.4301543757978342e6],
|
|
132883
|
+
upperCorner: [5207777145550478e-9, 3.5866974097258747e6]
|
|
132884
|
+
},
|
|
132885
|
+
tileMatrix: [
|
|
132896
132886
|
{
|
|
132897
132887
|
type: "TileMatrixType",
|
|
132898
|
-
identifier: "
|
|
132888
|
+
identifier: "0",
|
|
132899
132889
|
scaleDenominator: 218391509386217e-8,
|
|
132900
|
-
topLeftCorner: [-
|
|
132890
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
132901
132891
|
tileWidth: 256,
|
|
132902
132892
|
tileHeight: 256,
|
|
132903
|
-
matrixWidth:
|
|
132904
|
-
matrixHeight:
|
|
132893
|
+
matrixWidth: 1,
|
|
132894
|
+
matrixHeight: 1
|
|
132905
132895
|
},
|
|
132906
132896
|
{
|
|
132907
132897
|
type: "TileMatrixType",
|
|
132908
|
-
identifier: "
|
|
132898
|
+
identifier: "1",
|
|
132909
132899
|
scaleDenominator: 109195754693108e-8,
|
|
132910
|
-
topLeftCorner: [-
|
|
132900
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
132911
132901
|
tileWidth: 256,
|
|
132912
132902
|
tileHeight: 256,
|
|
132913
|
-
matrixWidth:
|
|
132914
|
-
matrixHeight:
|
|
132903
|
+
matrixWidth: 2,
|
|
132904
|
+
matrixHeight: 2
|
|
132915
132905
|
},
|
|
132916
132906
|
{
|
|
132917
132907
|
type: "TileMatrixType",
|
|
132918
|
-
identifier: "
|
|
132908
|
+
identifier: "2",
|
|
132919
132909
|
scaleDenominator: 545978.773465544,
|
|
132920
|
-
topLeftCorner: [-
|
|
132910
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
132921
132911
|
tileWidth: 256,
|
|
132922
132912
|
tileHeight: 256,
|
|
132923
|
-
matrixWidth:
|
|
132924
|
-
matrixHeight:
|
|
132913
|
+
matrixWidth: 4,
|
|
132914
|
+
matrixHeight: 4
|
|
132925
132915
|
},
|
|
132926
132916
|
{
|
|
132927
132917
|
type: "TileMatrixType",
|
|
132928
|
-
identifier: "
|
|
132918
|
+
identifier: "3",
|
|
132929
132919
|
scaleDenominator: 272989.386732772,
|
|
132930
|
-
topLeftCorner: [-
|
|
132920
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
132931
132921
|
tileWidth: 256,
|
|
132932
132922
|
tileHeight: 256,
|
|
132933
|
-
matrixWidth:
|
|
132934
|
-
matrixHeight:
|
|
132923
|
+
matrixWidth: 8,
|
|
132924
|
+
matrixHeight: 8
|
|
132935
132925
|
},
|
|
132936
132926
|
{
|
|
132937
132927
|
type: "TileMatrixType",
|
|
132938
|
-
identifier: "
|
|
132928
|
+
identifier: "4",
|
|
132939
132929
|
scaleDenominator: 136494.693366386,
|
|
132940
|
-
topLeftCorner: [-
|
|
132930
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
132941
132931
|
tileWidth: 256,
|
|
132942
132932
|
tileHeight: 256,
|
|
132943
|
-
matrixWidth:
|
|
132944
|
-
matrixHeight:
|
|
132933
|
+
matrixWidth: 16,
|
|
132934
|
+
matrixHeight: 16
|
|
132945
132935
|
},
|
|
132946
132936
|
{
|
|
132947
132937
|
type: "TileMatrixType",
|
|
132948
|
-
identifier: "
|
|
132938
|
+
identifier: "5",
|
|
132949
132939
|
scaleDenominator: 68247.346683193,
|
|
132950
|
-
topLeftCorner: [-
|
|
132940
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
132951
132941
|
tileWidth: 256,
|
|
132952
132942
|
tileHeight: 256,
|
|
132953
|
-
matrixWidth:
|
|
132954
|
-
matrixHeight:
|
|
132943
|
+
matrixWidth: 32,
|
|
132944
|
+
matrixHeight: 32
|
|
132955
132945
|
},
|
|
132956
132946
|
{
|
|
132957
132947
|
type: "TileMatrixType",
|
|
132958
|
-
identifier: "
|
|
132948
|
+
identifier: "6",
|
|
132959
132949
|
scaleDenominator: 34123.6733415964,
|
|
132960
|
-
topLeftCorner: [-
|
|
132950
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
132961
132951
|
tileWidth: 256,
|
|
132962
132952
|
tileHeight: 256,
|
|
132963
|
-
matrixWidth:
|
|
132964
|
-
matrixHeight:
|
|
132953
|
+
matrixWidth: 64,
|
|
132954
|
+
matrixHeight: 64
|
|
132965
132955
|
},
|
|
132966
132956
|
{
|
|
132967
132957
|
type: "TileMatrixType",
|
|
132968
|
-
identifier: "
|
|
132958
|
+
identifier: "7",
|
|
132969
132959
|
scaleDenominator: 17061.8366707982,
|
|
132970
|
-
topLeftCorner: [-
|
|
132960
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
132971
132961
|
tileWidth: 256,
|
|
132972
132962
|
tileHeight: 256,
|
|
132973
|
-
matrixWidth:
|
|
132974
|
-
matrixHeight:
|
|
132963
|
+
matrixWidth: 128,
|
|
132964
|
+
matrixHeight: 128
|
|
132975
132965
|
},
|
|
132976
132966
|
{
|
|
132977
132967
|
type: "TileMatrixType",
|
|
132978
|
-
identifier: "
|
|
132968
|
+
identifier: "8",
|
|
132979
132969
|
scaleDenominator: 8530.91833539913,
|
|
132980
|
-
topLeftCorner: [-
|
|
132970
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
132981
132971
|
tileWidth: 256,
|
|
132982
132972
|
tileHeight: 256,
|
|
132983
|
-
matrixWidth:
|
|
132984
|
-
matrixHeight:
|
|
132973
|
+
matrixWidth: 256,
|
|
132974
|
+
matrixHeight: 256
|
|
132985
132975
|
},
|
|
132986
132976
|
{
|
|
132987
132977
|
type: "TileMatrixType",
|
|
132988
|
-
identifier: "
|
|
132978
|
+
identifier: "9",
|
|
132989
132979
|
scaleDenominator: 4265.45916769956,
|
|
132990
|
-
topLeftCorner: [-
|
|
132980
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
132991
132981
|
tileWidth: 256,
|
|
132992
132982
|
tileHeight: 256,
|
|
132993
|
-
matrixWidth:
|
|
132994
|
-
matrixHeight:
|
|
132983
|
+
matrixWidth: 512,
|
|
132984
|
+
matrixHeight: 512
|
|
132995
132985
|
},
|
|
132996
132986
|
{
|
|
132997
132987
|
type: "TileMatrixType",
|
|
132998
|
-
identifier: "
|
|
132988
|
+
identifier: "10",
|
|
132999
132989
|
scaleDenominator: 2132.72958384978,
|
|
133000
|
-
topLeftCorner: [-
|
|
132990
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
133001
132991
|
tileWidth: 256,
|
|
133002
132992
|
tileHeight: 256,
|
|
133003
|
-
matrixWidth:
|
|
133004
|
-
matrixHeight:
|
|
132993
|
+
matrixWidth: 1024,
|
|
132994
|
+
matrixHeight: 1024
|
|
133005
132995
|
},
|
|
133006
132996
|
{
|
|
133007
132997
|
type: "TileMatrixType",
|
|
133008
|
-
identifier: "
|
|
132998
|
+
identifier: "11",
|
|
133009
132999
|
scaleDenominator: 1066.36479192489,
|
|
133010
|
-
topLeftCorner: [-
|
|
133000
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
133011
133001
|
tileWidth: 256,
|
|
133012
133002
|
tileHeight: 256,
|
|
133013
|
-
matrixWidth:
|
|
133014
|
-
matrixHeight:
|
|
133003
|
+
matrixWidth: 2048,
|
|
133004
|
+
matrixHeight: 2048
|
|
133015
133005
|
},
|
|
133016
133006
|
{
|
|
133017
133007
|
type: "TileMatrixType",
|
|
133018
|
-
identifier: "
|
|
133008
|
+
identifier: "12",
|
|
133019
133009
|
scaleDenominator: 533.182395962445,
|
|
133020
|
-
topLeftCorner: [-
|
|
133010
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
133021
133011
|
tileWidth: 256,
|
|
133022
133012
|
tileHeight: 256,
|
|
133023
|
-
matrixWidth:
|
|
133024
|
-
matrixHeight:
|
|
133013
|
+
matrixWidth: 4096,
|
|
133014
|
+
matrixHeight: 4096
|
|
133025
133015
|
},
|
|
133026
133016
|
{
|
|
133027
133017
|
type: "TileMatrixType",
|
|
133028
|
-
identifier: "
|
|
133018
|
+
identifier: "13",
|
|
133029
133019
|
scaleDenominator: 266.591197981222,
|
|
133030
|
-
topLeftCorner: [-
|
|
133020
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
133031
133021
|
tileWidth: 256,
|
|
133032
133022
|
tileHeight: 256,
|
|
133033
|
-
matrixWidth:
|
|
133034
|
-
matrixHeight:
|
|
133023
|
+
matrixWidth: 8192,
|
|
133024
|
+
matrixHeight: 8192
|
|
133035
133025
|
},
|
|
133036
133026
|
{
|
|
133037
133027
|
type: "TileMatrixType",
|
|
133038
|
-
identifier: "
|
|
133028
|
+
identifier: "14",
|
|
133039
133029
|
scaleDenominator: 133.295598990611,
|
|
133040
|
-
topLeftCorner: [-
|
|
133030
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
133041
133031
|
tileWidth: 256,
|
|
133042
133032
|
tileHeight: 256,
|
|
133043
|
-
matrixWidth:
|
|
133044
|
-
matrixHeight:
|
|
133033
|
+
matrixWidth: 16384,
|
|
133034
|
+
matrixHeight: 16384
|
|
133045
133035
|
},
|
|
133046
133036
|
{
|
|
133047
133037
|
type: "TileMatrixType",
|
|
133048
|
-
identifier: "
|
|
133038
|
+
identifier: "15",
|
|
133049
133039
|
scaleDenominator: 66.6477994953056,
|
|
133050
|
-
topLeftCorner: [-
|
|
133040
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
133051
133041
|
tileWidth: 256,
|
|
133052
133042
|
tileHeight: 256,
|
|
133053
|
-
matrixWidth:
|
|
133054
|
-
matrixHeight:
|
|
133043
|
+
matrixWidth: 32768,
|
|
133044
|
+
matrixHeight: 32768
|
|
133055
133045
|
},
|
|
133056
133046
|
{
|
|
133057
133047
|
type: "TileMatrixType",
|
|
133058
|
-
identifier: "
|
|
133048
|
+
identifier: "16",
|
|
133059
133049
|
scaleDenominator: 33.3238997476528,
|
|
133060
|
-
topLeftCorner: [-
|
|
133050
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
133061
133051
|
tileWidth: 256,
|
|
133062
133052
|
tileHeight: 256,
|
|
133063
|
-
matrixWidth:
|
|
133064
|
-
matrixHeight:
|
|
133053
|
+
matrixWidth: 65536,
|
|
133054
|
+
matrixHeight: 65536
|
|
133065
133055
|
}
|
|
133066
|
-
]
|
|
133056
|
+
],
|
|
133057
|
+
$generated: {
|
|
133058
|
+
package: "@basemaps/cli",
|
|
133059
|
+
version: "v7.14.0-4-g2766010d",
|
|
133060
|
+
hash: "2766010d8d2bb8b673f6bcbef2fe2636f2e0f4ea",
|
|
133061
|
+
createdAt: "2025-02-10T20:34:46.643Z"
|
|
133062
|
+
},
|
|
133063
|
+
$options: {
|
|
133064
|
+
sourceTileMatrix: "WebMercatorQuad",
|
|
133065
|
+
zoomOffset: 8
|
|
133066
|
+
}
|
|
133067
133067
|
};
|
|
133068
|
-
var
|
|
133068
|
+
var Citm2000Tms = new TileMatrixSet(Citm2000Tmst);
|
|
133069
133069
|
|
|
133070
133070
|
// ../geo/build/tms/nztm2000.js
|
|
133071
133071
|
var Nztm20002 = __toESM(require_src3(), 1);
|
|
@@ -136369,9 +136369,9 @@ var Router = class {
|
|
|
136369
136369
|
};
|
|
136370
136370
|
|
|
136371
136371
|
// ../../node_modules/@linzjs/lambda/build/src/function.js
|
|
136372
|
-
var version2 = "v8.
|
|
136373
|
-
var hash = "
|
|
136374
|
-
var buildId = "
|
|
136372
|
+
var version2 = "v8.2.0-8-gfe8bbf9d";
|
|
136373
|
+
var hash = "fe8bbf9d0a3ca2f590505924f227a6d9da0ea5a8";
|
|
136374
|
+
var buildId = "15719849199-1";
|
|
136375
136375
|
var versionInfo = { version: version2, hash, buildId };
|
|
136376
136376
|
async function runFunction(req, fn) {
|
|
136377
136377
|
if (!req.timer.timers.has("lambda"))
|
|
@@ -140814,18 +140814,18 @@ async function versionGet(req) {
|
|
|
140814
140814
|
* last git version tag
|
|
140815
140815
|
* @example "v6.42.1"
|
|
140816
140816
|
*/
|
|
140817
|
-
version: "v8.
|
|
140817
|
+
version: "v8.2.0-8-gfe8bbf9d",
|
|
140818
140818
|
/**
|
|
140819
140819
|
* Full git commit hash
|
|
140820
140820
|
* @example "e4231b1ee62c276c8657c56677ced02681dfe5d6"
|
|
140821
140821
|
*/
|
|
140822
|
-
hash: "
|
|
140822
|
+
hash: "fe8bbf9d0a3ca2f590505924f227a6d9da0ea5a8",
|
|
140823
140823
|
/**
|
|
140824
140824
|
*
|
|
140825
140825
|
* The exact build that this release was run from
|
|
140826
140826
|
* @example "1658821493-3"
|
|
140827
140827
|
*/
|
|
140828
|
-
buildId: "
|
|
140828
|
+
buildId: "15719849199-1",
|
|
140829
140829
|
/**
|
|
140830
140830
|
* Configuration id that was used to power this config
|
|
140831
140831
|
* @example { "id": "cb_01JTQ7ZK49F8EY4N5DRJ3XFT73", hash: "HcByZ8WS2zpaTxFJp6wSKg2eUpwahLqAGEQdcDxKxqp6" }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@basemaps/server",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/linz/basemaps.git",
|
|
@@ -52,17 +52,17 @@
|
|
|
52
52
|
"sharp": "^0.33.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@basemaps/config": "^8.
|
|
56
|
-
"@basemaps/config-loader": "^8.
|
|
57
|
-
"@basemaps/geo": "^8.
|
|
58
|
-
"@basemaps/lambda-tiler": "^8.
|
|
55
|
+
"@basemaps/config": "^8.3.0",
|
|
56
|
+
"@basemaps/config-loader": "^8.3.0",
|
|
57
|
+
"@basemaps/geo": "^8.3.0",
|
|
58
|
+
"@basemaps/lambda-tiler": "^8.3.0",
|
|
59
59
|
"@basemaps/landing": "^6.39.0",
|
|
60
|
-
"@basemaps/shared": "^8.
|
|
60
|
+
"@basemaps/shared": "^8.3.0",
|
|
61
61
|
"@fastify/formbody": "^7.0.1",
|
|
62
62
|
"@fastify/static": "^6.5.0",
|
|
63
63
|
"cmd-ts": "^0.12.1",
|
|
64
64
|
"fastify": "^4.9.2",
|
|
65
65
|
"pretty-json-log": "^1.0.0"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "fe8bbf9d0a3ca2f590505924f227a6d9da0ea5a8"
|
|
68
68
|
}
|