@basemaps/lambda-tiler 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/CHANGELOG.md +8 -0
- package/dist/index.js +223 -223
- package/dist/node_modules/.package-lock.json +1 -1
- package/dist/package-lock.json +2 -2
- package/dist/package.json +1 -1
- package/package.json +9 -9
- package/tsconfig.tsbuildinfo +1 -1
package/dist/index.js
CHANGED
|
@@ -83240,48 +83240,6 @@ Object.defineProperty(Projection, "AllowedFloatingError", {
|
|
|
83240
83240
|
value: 1e-8
|
|
83241
83241
|
});
|
|
83242
83242
|
|
|
83243
|
-
// ../geo/build/proj/projection.loader.js
|
|
83244
|
-
var ProjectionLoader = class {
|
|
83245
|
-
/**
|
|
83246
|
-
* Ensure that a projection EPSG code is avialable for use in Proj4js
|
|
83247
|
-
*
|
|
83248
|
-
* If its not already loaded, lookup definition from spatialreference.org
|
|
83249
|
-
* @param code
|
|
83250
|
-
*/
|
|
83251
|
-
static async load(code) {
|
|
83252
|
-
if (Projection.tryGet(code) != null)
|
|
83253
|
-
return Epsg.get(code);
|
|
83254
|
-
const url = `https://spatialreference.org/ref/epsg/${code}/ogcwkt/`;
|
|
83255
|
-
const res = await this._fetch(url);
|
|
83256
|
-
if (!res.ok)
|
|
83257
|
-
throw new Error("Failed to load projection information for:" + code);
|
|
83258
|
-
let epsg = Epsg.tryGet(code);
|
|
83259
|
-
if (epsg == null)
|
|
83260
|
-
epsg = new Epsg(code);
|
|
83261
|
-
const text = await res.text();
|
|
83262
|
-
Projection.define(epsg, text);
|
|
83263
|
-
return epsg;
|
|
83264
|
-
}
|
|
83265
|
-
};
|
|
83266
|
-
Object.defineProperty(ProjectionLoader, "_fetch", {
|
|
83267
|
-
enumerable: true,
|
|
83268
|
-
configurable: true,
|
|
83269
|
-
writable: true,
|
|
83270
|
-
value: fetch
|
|
83271
|
-
});
|
|
83272
|
-
|
|
83273
|
-
// ../geo/build/proj/tile.set.name.js
|
|
83274
|
-
var TileSetName;
|
|
83275
|
-
(function(TileSetName2) {
|
|
83276
|
-
TileSetName2["aerial"] = "aerial";
|
|
83277
|
-
})(TileSetName || (TileSetName = {}));
|
|
83278
|
-
|
|
83279
|
-
// ../geo/build/quad.key.js
|
|
83280
|
-
var CHAR_0 = "0".charCodeAt(0);
|
|
83281
|
-
var CHAR_1 = "1".charCodeAt(0);
|
|
83282
|
-
var CHAR_2 = "2".charCodeAt(0);
|
|
83283
|
-
var CHAR_3 = "3".charCodeAt(0);
|
|
83284
|
-
|
|
83285
83243
|
// ../geo/build/xy.order.js
|
|
83286
83244
|
function getXyOrder(epsg) {
|
|
83287
83245
|
const code = typeof epsg === "number" ? epsg : epsg.code;
|
|
@@ -83567,25 +83525,25 @@ var TileMatrixSet = class {
|
|
|
83567
83525
|
}
|
|
83568
83526
|
};
|
|
83569
83527
|
|
|
83570
|
-
// ../geo/build/tms/
|
|
83571
|
-
var
|
|
83528
|
+
// ../geo/build/tms/google.js
|
|
83529
|
+
var GoogleTmst = {
|
|
83572
83530
|
type: "TileMatrixSetType",
|
|
83573
|
-
title: "
|
|
83574
|
-
|
|
83575
|
-
identifier: "CITM2000Quad",
|
|
83576
|
-
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
83531
|
+
title: "Google Maps Compatible for the World",
|
|
83532
|
+
identifier: "WebMercatorQuad",
|
|
83577
83533
|
boundingBox: {
|
|
83578
83534
|
type: "BoundingBoxType",
|
|
83579
|
-
crs: "
|
|
83580
|
-
lowerCorner: [
|
|
83581
|
-
upperCorner: [
|
|
83535
|
+
crs: "http://www.opengis.net/def/crs/EPSG/0/3857",
|
|
83536
|
+
lowerCorner: [-200375083427892e-7, -200375083427892e-7],
|
|
83537
|
+
upperCorner: [200375083427892e-7, 200375083427892e-7]
|
|
83582
83538
|
},
|
|
83539
|
+
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3857",
|
|
83540
|
+
wellKnownScaleSet: "https://www.opengis.net/def/wkss/OGC/1.0/GoogleMapsCompatible",
|
|
83583
83541
|
tileMatrix: [
|
|
83584
83542
|
{
|
|
83585
83543
|
type: "TileMatrixType",
|
|
83586
83544
|
identifier: "0",
|
|
83587
|
-
scaleDenominator:
|
|
83588
|
-
topLeftCorner: [
|
|
83545
|
+
scaleDenominator: 559082264028717e-6,
|
|
83546
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83589
83547
|
tileWidth: 256,
|
|
83590
83548
|
tileHeight: 256,
|
|
83591
83549
|
matrixWidth: 1,
|
|
@@ -83594,8 +83552,8 @@ var Citm2000Tmst = {
|
|
|
83594
83552
|
{
|
|
83595
83553
|
type: "TileMatrixType",
|
|
83596
83554
|
identifier: "1",
|
|
83597
|
-
scaleDenominator:
|
|
83598
|
-
topLeftCorner: [
|
|
83555
|
+
scaleDenominator: 279541132014358e-6,
|
|
83556
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83599
83557
|
tileWidth: 256,
|
|
83600
83558
|
tileHeight: 256,
|
|
83601
83559
|
matrixWidth: 2,
|
|
@@ -83604,8 +83562,8 @@ var Citm2000Tmst = {
|
|
|
83604
83562
|
{
|
|
83605
83563
|
type: "TileMatrixType",
|
|
83606
83564
|
identifier: "2",
|
|
83607
|
-
scaleDenominator:
|
|
83608
|
-
topLeftCorner: [
|
|
83565
|
+
scaleDenominator: 139770566007179e-6,
|
|
83566
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83609
83567
|
tileWidth: 256,
|
|
83610
83568
|
tileHeight: 256,
|
|
83611
83569
|
matrixWidth: 4,
|
|
@@ -83614,8 +83572,8 @@ var Citm2000Tmst = {
|
|
|
83614
83572
|
{
|
|
83615
83573
|
type: "TileMatrixType",
|
|
83616
83574
|
identifier: "3",
|
|
83617
|
-
scaleDenominator:
|
|
83618
|
-
topLeftCorner: [
|
|
83575
|
+
scaleDenominator: 698852830035897e-7,
|
|
83576
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83619
83577
|
tileWidth: 256,
|
|
83620
83578
|
tileHeight: 256,
|
|
83621
83579
|
matrixWidth: 8,
|
|
@@ -83624,8 +83582,8 @@ var Citm2000Tmst = {
|
|
|
83624
83582
|
{
|
|
83625
83583
|
type: "TileMatrixType",
|
|
83626
83584
|
identifier: "4",
|
|
83627
|
-
scaleDenominator:
|
|
83628
|
-
topLeftCorner: [
|
|
83585
|
+
scaleDenominator: 349426415017948e-7,
|
|
83586
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83629
83587
|
tileWidth: 256,
|
|
83630
83588
|
tileHeight: 256,
|
|
83631
83589
|
matrixWidth: 16,
|
|
@@ -83634,8 +83592,8 @@ var Citm2000Tmst = {
|
|
|
83634
83592
|
{
|
|
83635
83593
|
type: "TileMatrixType",
|
|
83636
83594
|
identifier: "5",
|
|
83637
|
-
scaleDenominator:
|
|
83638
|
-
topLeftCorner: [
|
|
83595
|
+
scaleDenominator: 174713207508974e-7,
|
|
83596
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83639
83597
|
tileWidth: 256,
|
|
83640
83598
|
tileHeight: 256,
|
|
83641
83599
|
matrixWidth: 32,
|
|
@@ -83644,8 +83602,8 @@ var Citm2000Tmst = {
|
|
|
83644
83602
|
{
|
|
83645
83603
|
type: "TileMatrixType",
|
|
83646
83604
|
identifier: "6",
|
|
83647
|
-
scaleDenominator:
|
|
83648
|
-
topLeftCorner: [
|
|
83605
|
+
scaleDenominator: 873566037544871e-8,
|
|
83606
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83649
83607
|
tileWidth: 256,
|
|
83650
83608
|
tileHeight: 256,
|
|
83651
83609
|
matrixWidth: 64,
|
|
@@ -83654,8 +83612,8 @@ var Citm2000Tmst = {
|
|
|
83654
83612
|
{
|
|
83655
83613
|
type: "TileMatrixType",
|
|
83656
83614
|
identifier: "7",
|
|
83657
|
-
scaleDenominator:
|
|
83658
|
-
topLeftCorner: [
|
|
83615
|
+
scaleDenominator: 436783018772435e-8,
|
|
83616
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83659
83617
|
tileWidth: 256,
|
|
83660
83618
|
tileHeight: 256,
|
|
83661
83619
|
matrixWidth: 128,
|
|
@@ -83664,8 +83622,8 @@ var Citm2000Tmst = {
|
|
|
83664
83622
|
{
|
|
83665
83623
|
type: "TileMatrixType",
|
|
83666
83624
|
identifier: "8",
|
|
83667
|
-
scaleDenominator:
|
|
83668
|
-
topLeftCorner: [
|
|
83625
|
+
scaleDenominator: 218391509386217e-8,
|
|
83626
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83669
83627
|
tileWidth: 256,
|
|
83670
83628
|
tileHeight: 256,
|
|
83671
83629
|
matrixWidth: 256,
|
|
@@ -83674,8 +83632,8 @@ var Citm2000Tmst = {
|
|
|
83674
83632
|
{
|
|
83675
83633
|
type: "TileMatrixType",
|
|
83676
83634
|
identifier: "9",
|
|
83677
|
-
scaleDenominator:
|
|
83678
|
-
topLeftCorner: [
|
|
83635
|
+
scaleDenominator: 109195754693108e-8,
|
|
83636
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83679
83637
|
tileWidth: 256,
|
|
83680
83638
|
tileHeight: 256,
|
|
83681
83639
|
matrixWidth: 512,
|
|
@@ -83684,8 +83642,8 @@ var Citm2000Tmst = {
|
|
|
83684
83642
|
{
|
|
83685
83643
|
type: "TileMatrixType",
|
|
83686
83644
|
identifier: "10",
|
|
83687
|
-
scaleDenominator:
|
|
83688
|
-
topLeftCorner: [
|
|
83645
|
+
scaleDenominator: 545978.773465544,
|
|
83646
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83689
83647
|
tileWidth: 256,
|
|
83690
83648
|
tileHeight: 256,
|
|
83691
83649
|
matrixWidth: 1024,
|
|
@@ -83694,8 +83652,8 @@ var Citm2000Tmst = {
|
|
|
83694
83652
|
{
|
|
83695
83653
|
type: "TileMatrixType",
|
|
83696
83654
|
identifier: "11",
|
|
83697
|
-
scaleDenominator:
|
|
83698
|
-
topLeftCorner: [
|
|
83655
|
+
scaleDenominator: 272989.386732772,
|
|
83656
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83699
83657
|
tileWidth: 256,
|
|
83700
83658
|
tileHeight: 256,
|
|
83701
83659
|
matrixWidth: 2048,
|
|
@@ -83704,8 +83662,8 @@ var Citm2000Tmst = {
|
|
|
83704
83662
|
{
|
|
83705
83663
|
type: "TileMatrixType",
|
|
83706
83664
|
identifier: "12",
|
|
83707
|
-
scaleDenominator:
|
|
83708
|
-
topLeftCorner: [
|
|
83665
|
+
scaleDenominator: 136494.693366386,
|
|
83666
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83709
83667
|
tileWidth: 256,
|
|
83710
83668
|
tileHeight: 256,
|
|
83711
83669
|
matrixWidth: 4096,
|
|
@@ -83714,8 +83672,8 @@ var Citm2000Tmst = {
|
|
|
83714
83672
|
{
|
|
83715
83673
|
type: "TileMatrixType",
|
|
83716
83674
|
identifier: "13",
|
|
83717
|
-
scaleDenominator:
|
|
83718
|
-
topLeftCorner: [
|
|
83675
|
+
scaleDenominator: 68247.346683193,
|
|
83676
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83719
83677
|
tileWidth: 256,
|
|
83720
83678
|
tileHeight: 256,
|
|
83721
83679
|
matrixWidth: 8192,
|
|
@@ -83724,8 +83682,8 @@ var Citm2000Tmst = {
|
|
|
83724
83682
|
{
|
|
83725
83683
|
type: "TileMatrixType",
|
|
83726
83684
|
identifier: "14",
|
|
83727
|
-
scaleDenominator:
|
|
83728
|
-
topLeftCorner: [
|
|
83685
|
+
scaleDenominator: 34123.6733415964,
|
|
83686
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83729
83687
|
tileWidth: 256,
|
|
83730
83688
|
tileHeight: 256,
|
|
83731
83689
|
matrixWidth: 16384,
|
|
@@ -83734,8 +83692,8 @@ var Citm2000Tmst = {
|
|
|
83734
83692
|
{
|
|
83735
83693
|
type: "TileMatrixType",
|
|
83736
83694
|
identifier: "15",
|
|
83737
|
-
scaleDenominator:
|
|
83738
|
-
topLeftCorner: [
|
|
83695
|
+
scaleDenominator: 17061.8366707982,
|
|
83696
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83739
83697
|
tileWidth: 256,
|
|
83740
83698
|
tileHeight: 256,
|
|
83741
83699
|
matrixWidth: 32768,
|
|
@@ -83744,294 +83702,336 @@ var Citm2000Tmst = {
|
|
|
83744
83702
|
{
|
|
83745
83703
|
type: "TileMatrixType",
|
|
83746
83704
|
identifier: "16",
|
|
83747
|
-
scaleDenominator:
|
|
83748
|
-
topLeftCorner: [
|
|
83705
|
+
scaleDenominator: 8530.91833539913,
|
|
83706
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83749
83707
|
tileWidth: 256,
|
|
83750
83708
|
tileHeight: 256,
|
|
83751
83709
|
matrixWidth: 65536,
|
|
83752
83710
|
matrixHeight: 65536
|
|
83753
|
-
}
|
|
83754
|
-
],
|
|
83755
|
-
$generated: {
|
|
83756
|
-
package: "@basemaps/cli",
|
|
83757
|
-
version: "v7.14.0-4-g2766010d",
|
|
83758
|
-
hash: "2766010d8d2bb8b673f6bcbef2fe2636f2e0f4ea",
|
|
83759
|
-
createdAt: "2025-02-10T20:34:46.643Z"
|
|
83760
|
-
},
|
|
83761
|
-
$options: {
|
|
83762
|
-
sourceTileMatrix: "WebMercatorQuad",
|
|
83763
|
-
zoomOffset: 8
|
|
83764
|
-
}
|
|
83765
|
-
};
|
|
83766
|
-
var Citm2000Tms = new TileMatrixSet(Citm2000Tmst);
|
|
83767
|
-
|
|
83768
|
-
// ../geo/build/tms/google.js
|
|
83769
|
-
var GoogleTmst = {
|
|
83770
|
-
type: "TileMatrixSetType",
|
|
83771
|
-
title: "Google Maps Compatible for the World",
|
|
83772
|
-
identifier: "WebMercatorQuad",
|
|
83773
|
-
boundingBox: {
|
|
83774
|
-
type: "BoundingBoxType",
|
|
83775
|
-
crs: "http://www.opengis.net/def/crs/EPSG/0/3857",
|
|
83776
|
-
lowerCorner: [-200375083427892e-7, -200375083427892e-7],
|
|
83777
|
-
upperCorner: [200375083427892e-7, 200375083427892e-7]
|
|
83778
|
-
},
|
|
83779
|
-
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3857",
|
|
83780
|
-
wellKnownScaleSet: "https://www.opengis.net/def/wkss/OGC/1.0/GoogleMapsCompatible",
|
|
83781
|
-
tileMatrix: [
|
|
83711
|
+
},
|
|
83782
83712
|
{
|
|
83783
83713
|
type: "TileMatrixType",
|
|
83784
|
-
identifier: "
|
|
83785
|
-
scaleDenominator:
|
|
83714
|
+
identifier: "17",
|
|
83715
|
+
scaleDenominator: 4265.45916769956,
|
|
83786
83716
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83787
83717
|
tileWidth: 256,
|
|
83788
83718
|
tileHeight: 256,
|
|
83789
|
-
matrixWidth:
|
|
83790
|
-
matrixHeight:
|
|
83719
|
+
matrixWidth: 131072,
|
|
83720
|
+
matrixHeight: 131072
|
|
83791
83721
|
},
|
|
83792
83722
|
{
|
|
83793
83723
|
type: "TileMatrixType",
|
|
83794
|
-
identifier: "
|
|
83795
|
-
scaleDenominator:
|
|
83724
|
+
identifier: "18",
|
|
83725
|
+
scaleDenominator: 2132.72958384978,
|
|
83796
83726
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83797
83727
|
tileWidth: 256,
|
|
83798
83728
|
tileHeight: 256,
|
|
83799
|
-
matrixWidth:
|
|
83800
|
-
matrixHeight:
|
|
83729
|
+
matrixWidth: 262144,
|
|
83730
|
+
matrixHeight: 262144
|
|
83801
83731
|
},
|
|
83802
83732
|
{
|
|
83803
83733
|
type: "TileMatrixType",
|
|
83804
|
-
identifier: "
|
|
83805
|
-
scaleDenominator:
|
|
83734
|
+
identifier: "19",
|
|
83735
|
+
scaleDenominator: 1066.36479192489,
|
|
83806
83736
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83807
83737
|
tileWidth: 256,
|
|
83808
83738
|
tileHeight: 256,
|
|
83809
|
-
matrixWidth:
|
|
83810
|
-
matrixHeight:
|
|
83739
|
+
matrixWidth: 524288,
|
|
83740
|
+
matrixHeight: 524288
|
|
83811
83741
|
},
|
|
83812
83742
|
{
|
|
83813
83743
|
type: "TileMatrixType",
|
|
83814
|
-
identifier: "
|
|
83815
|
-
scaleDenominator:
|
|
83744
|
+
identifier: "20",
|
|
83745
|
+
scaleDenominator: 533.182395962445,
|
|
83816
83746
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83817
83747
|
tileWidth: 256,
|
|
83818
83748
|
tileHeight: 256,
|
|
83819
|
-
matrixWidth:
|
|
83820
|
-
matrixHeight:
|
|
83749
|
+
matrixWidth: 1048576,
|
|
83750
|
+
matrixHeight: 1048576
|
|
83821
83751
|
},
|
|
83822
83752
|
{
|
|
83823
83753
|
type: "TileMatrixType",
|
|
83824
|
-
identifier: "
|
|
83825
|
-
scaleDenominator:
|
|
83754
|
+
identifier: "21",
|
|
83755
|
+
scaleDenominator: 266.591197981222,
|
|
83826
83756
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83827
83757
|
tileWidth: 256,
|
|
83828
83758
|
tileHeight: 256,
|
|
83829
|
-
matrixWidth:
|
|
83830
|
-
matrixHeight:
|
|
83759
|
+
matrixWidth: 2097152,
|
|
83760
|
+
matrixHeight: 2097152
|
|
83831
83761
|
},
|
|
83832
83762
|
{
|
|
83833
83763
|
type: "TileMatrixType",
|
|
83834
|
-
identifier: "
|
|
83835
|
-
scaleDenominator:
|
|
83764
|
+
identifier: "22",
|
|
83765
|
+
scaleDenominator: 133.295598990611,
|
|
83836
83766
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83837
83767
|
tileWidth: 256,
|
|
83838
83768
|
tileHeight: 256,
|
|
83839
|
-
matrixWidth:
|
|
83840
|
-
matrixHeight:
|
|
83769
|
+
matrixWidth: 4194304,
|
|
83770
|
+
matrixHeight: 4194304
|
|
83841
83771
|
},
|
|
83842
83772
|
{
|
|
83843
83773
|
type: "TileMatrixType",
|
|
83844
|
-
identifier: "
|
|
83845
|
-
scaleDenominator:
|
|
83774
|
+
identifier: "23",
|
|
83775
|
+
scaleDenominator: 66.6477994953056,
|
|
83846
83776
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83847
83777
|
tileWidth: 256,
|
|
83848
83778
|
tileHeight: 256,
|
|
83849
|
-
matrixWidth:
|
|
83850
|
-
matrixHeight:
|
|
83779
|
+
matrixWidth: 8388608,
|
|
83780
|
+
matrixHeight: 8388608
|
|
83851
83781
|
},
|
|
83852
83782
|
{
|
|
83853
83783
|
type: "TileMatrixType",
|
|
83854
|
-
identifier: "
|
|
83855
|
-
scaleDenominator:
|
|
83784
|
+
identifier: "24",
|
|
83785
|
+
scaleDenominator: 33.3238997476528,
|
|
83856
83786
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
83857
83787
|
tileWidth: 256,
|
|
83858
83788
|
tileHeight: 256,
|
|
83859
|
-
matrixWidth:
|
|
83860
|
-
matrixHeight:
|
|
83861
|
-
}
|
|
83789
|
+
matrixWidth: 16777216,
|
|
83790
|
+
matrixHeight: 16777216
|
|
83791
|
+
}
|
|
83792
|
+
]
|
|
83793
|
+
};
|
|
83794
|
+
var GoogleTms = new TileMatrixSet(GoogleTmst);
|
|
83795
|
+
|
|
83796
|
+
// ../geo/build/proj/projection.loader.js
|
|
83797
|
+
var ProjectionLoader = class {
|
|
83798
|
+
/**
|
|
83799
|
+
* Ensure that a projection EPSG code is avialable for use in Proj4js
|
|
83800
|
+
*
|
|
83801
|
+
* If its not already loaded, lookup definition from spatialreference.org
|
|
83802
|
+
* @param code
|
|
83803
|
+
*/
|
|
83804
|
+
static async load(code) {
|
|
83805
|
+
if (Projection.tryGet(code) != null)
|
|
83806
|
+
return Epsg.get(code);
|
|
83807
|
+
const url = `https://spatialreference.org/ref/epsg/${code}/ogcwkt/`;
|
|
83808
|
+
const res = await this._fetch(url);
|
|
83809
|
+
if (!res.ok)
|
|
83810
|
+
throw new Error("Failed to load projection information for:" + code);
|
|
83811
|
+
let epsg = Epsg.tryGet(code);
|
|
83812
|
+
if (epsg == null)
|
|
83813
|
+
epsg = new Epsg(code);
|
|
83814
|
+
const text = await res.text();
|
|
83815
|
+
Projection.define(epsg, text);
|
|
83816
|
+
return epsg;
|
|
83817
|
+
}
|
|
83818
|
+
};
|
|
83819
|
+
Object.defineProperty(ProjectionLoader, "_fetch", {
|
|
83820
|
+
enumerable: true,
|
|
83821
|
+
configurable: true,
|
|
83822
|
+
writable: true,
|
|
83823
|
+
value: fetch
|
|
83824
|
+
});
|
|
83825
|
+
|
|
83826
|
+
// ../geo/build/proj/tile.set.name.js
|
|
83827
|
+
var TileSetName;
|
|
83828
|
+
(function(TileSetName2) {
|
|
83829
|
+
TileSetName2["aerial"] = "aerial";
|
|
83830
|
+
})(TileSetName || (TileSetName = {}));
|
|
83831
|
+
|
|
83832
|
+
// ../geo/build/quad.key.js
|
|
83833
|
+
var CHAR_0 = "0".charCodeAt(0);
|
|
83834
|
+
var CHAR_1 = "1".charCodeAt(0);
|
|
83835
|
+
var CHAR_2 = "2".charCodeAt(0);
|
|
83836
|
+
var CHAR_3 = "3".charCodeAt(0);
|
|
83837
|
+
|
|
83838
|
+
// ../geo/build/tms/citm2000.js
|
|
83839
|
+
var Citm2000Tmst = {
|
|
83840
|
+
type: "TileMatrixSetType",
|
|
83841
|
+
title: "Debug tile matrix for EPSG:3793",
|
|
83842
|
+
abstract: "",
|
|
83843
|
+
identifier: "CITM2000Quad",
|
|
83844
|
+
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
83845
|
+
boundingBox: {
|
|
83846
|
+
type: "BoundingBoxType",
|
|
83847
|
+
crs: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
83848
|
+
lowerCorner: [5051234111622438e-9, 3.4301543757978342e6],
|
|
83849
|
+
upperCorner: [5207777145550478e-9, 3.5866974097258747e6]
|
|
83850
|
+
},
|
|
83851
|
+
tileMatrix: [
|
|
83862
83852
|
{
|
|
83863
83853
|
type: "TileMatrixType",
|
|
83864
|
-
identifier: "
|
|
83854
|
+
identifier: "0",
|
|
83865
83855
|
scaleDenominator: 218391509386217e-8,
|
|
83866
|
-
topLeftCorner: [-
|
|
83856
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83867
83857
|
tileWidth: 256,
|
|
83868
83858
|
tileHeight: 256,
|
|
83869
|
-
matrixWidth:
|
|
83870
|
-
matrixHeight:
|
|
83859
|
+
matrixWidth: 1,
|
|
83860
|
+
matrixHeight: 1
|
|
83871
83861
|
},
|
|
83872
83862
|
{
|
|
83873
83863
|
type: "TileMatrixType",
|
|
83874
|
-
identifier: "
|
|
83864
|
+
identifier: "1",
|
|
83875
83865
|
scaleDenominator: 109195754693108e-8,
|
|
83876
|
-
topLeftCorner: [-
|
|
83866
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83877
83867
|
tileWidth: 256,
|
|
83878
83868
|
tileHeight: 256,
|
|
83879
|
-
matrixWidth:
|
|
83880
|
-
matrixHeight:
|
|
83869
|
+
matrixWidth: 2,
|
|
83870
|
+
matrixHeight: 2
|
|
83881
83871
|
},
|
|
83882
83872
|
{
|
|
83883
83873
|
type: "TileMatrixType",
|
|
83884
|
-
identifier: "
|
|
83874
|
+
identifier: "2",
|
|
83885
83875
|
scaleDenominator: 545978.773465544,
|
|
83886
|
-
topLeftCorner: [-
|
|
83876
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83887
83877
|
tileWidth: 256,
|
|
83888
83878
|
tileHeight: 256,
|
|
83889
|
-
matrixWidth:
|
|
83890
|
-
matrixHeight:
|
|
83879
|
+
matrixWidth: 4,
|
|
83880
|
+
matrixHeight: 4
|
|
83891
83881
|
},
|
|
83892
83882
|
{
|
|
83893
83883
|
type: "TileMatrixType",
|
|
83894
|
-
identifier: "
|
|
83884
|
+
identifier: "3",
|
|
83895
83885
|
scaleDenominator: 272989.386732772,
|
|
83896
|
-
topLeftCorner: [-
|
|
83886
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83897
83887
|
tileWidth: 256,
|
|
83898
83888
|
tileHeight: 256,
|
|
83899
|
-
matrixWidth:
|
|
83900
|
-
matrixHeight:
|
|
83889
|
+
matrixWidth: 8,
|
|
83890
|
+
matrixHeight: 8
|
|
83901
83891
|
},
|
|
83902
83892
|
{
|
|
83903
83893
|
type: "TileMatrixType",
|
|
83904
|
-
identifier: "
|
|
83894
|
+
identifier: "4",
|
|
83905
83895
|
scaleDenominator: 136494.693366386,
|
|
83906
|
-
topLeftCorner: [-
|
|
83896
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83907
83897
|
tileWidth: 256,
|
|
83908
83898
|
tileHeight: 256,
|
|
83909
|
-
matrixWidth:
|
|
83910
|
-
matrixHeight:
|
|
83899
|
+
matrixWidth: 16,
|
|
83900
|
+
matrixHeight: 16
|
|
83911
83901
|
},
|
|
83912
83902
|
{
|
|
83913
83903
|
type: "TileMatrixType",
|
|
83914
|
-
identifier: "
|
|
83904
|
+
identifier: "5",
|
|
83915
83905
|
scaleDenominator: 68247.346683193,
|
|
83916
|
-
topLeftCorner: [-
|
|
83906
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83917
83907
|
tileWidth: 256,
|
|
83918
83908
|
tileHeight: 256,
|
|
83919
|
-
matrixWidth:
|
|
83920
|
-
matrixHeight:
|
|
83909
|
+
matrixWidth: 32,
|
|
83910
|
+
matrixHeight: 32
|
|
83921
83911
|
},
|
|
83922
83912
|
{
|
|
83923
83913
|
type: "TileMatrixType",
|
|
83924
|
-
identifier: "
|
|
83914
|
+
identifier: "6",
|
|
83925
83915
|
scaleDenominator: 34123.6733415964,
|
|
83926
|
-
topLeftCorner: [-
|
|
83916
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83927
83917
|
tileWidth: 256,
|
|
83928
83918
|
tileHeight: 256,
|
|
83929
|
-
matrixWidth:
|
|
83930
|
-
matrixHeight:
|
|
83919
|
+
matrixWidth: 64,
|
|
83920
|
+
matrixHeight: 64
|
|
83931
83921
|
},
|
|
83932
83922
|
{
|
|
83933
83923
|
type: "TileMatrixType",
|
|
83934
|
-
identifier: "
|
|
83924
|
+
identifier: "7",
|
|
83935
83925
|
scaleDenominator: 17061.8366707982,
|
|
83936
|
-
topLeftCorner: [-
|
|
83926
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83937
83927
|
tileWidth: 256,
|
|
83938
83928
|
tileHeight: 256,
|
|
83939
|
-
matrixWidth:
|
|
83940
|
-
matrixHeight:
|
|
83929
|
+
matrixWidth: 128,
|
|
83930
|
+
matrixHeight: 128
|
|
83941
83931
|
},
|
|
83942
83932
|
{
|
|
83943
83933
|
type: "TileMatrixType",
|
|
83944
|
-
identifier: "
|
|
83934
|
+
identifier: "8",
|
|
83945
83935
|
scaleDenominator: 8530.91833539913,
|
|
83946
|
-
topLeftCorner: [-
|
|
83936
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83947
83937
|
tileWidth: 256,
|
|
83948
83938
|
tileHeight: 256,
|
|
83949
|
-
matrixWidth:
|
|
83950
|
-
matrixHeight:
|
|
83939
|
+
matrixWidth: 256,
|
|
83940
|
+
matrixHeight: 256
|
|
83951
83941
|
},
|
|
83952
83942
|
{
|
|
83953
83943
|
type: "TileMatrixType",
|
|
83954
|
-
identifier: "
|
|
83944
|
+
identifier: "9",
|
|
83955
83945
|
scaleDenominator: 4265.45916769956,
|
|
83956
|
-
topLeftCorner: [-
|
|
83946
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83957
83947
|
tileWidth: 256,
|
|
83958
83948
|
tileHeight: 256,
|
|
83959
|
-
matrixWidth:
|
|
83960
|
-
matrixHeight:
|
|
83949
|
+
matrixWidth: 512,
|
|
83950
|
+
matrixHeight: 512
|
|
83961
83951
|
},
|
|
83962
83952
|
{
|
|
83963
83953
|
type: "TileMatrixType",
|
|
83964
|
-
identifier: "
|
|
83954
|
+
identifier: "10",
|
|
83965
83955
|
scaleDenominator: 2132.72958384978,
|
|
83966
|
-
topLeftCorner: [-
|
|
83956
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83967
83957
|
tileWidth: 256,
|
|
83968
83958
|
tileHeight: 256,
|
|
83969
|
-
matrixWidth:
|
|
83970
|
-
matrixHeight:
|
|
83959
|
+
matrixWidth: 1024,
|
|
83960
|
+
matrixHeight: 1024
|
|
83971
83961
|
},
|
|
83972
83962
|
{
|
|
83973
83963
|
type: "TileMatrixType",
|
|
83974
|
-
identifier: "
|
|
83964
|
+
identifier: "11",
|
|
83975
83965
|
scaleDenominator: 1066.36479192489,
|
|
83976
|
-
topLeftCorner: [-
|
|
83966
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83977
83967
|
tileWidth: 256,
|
|
83978
83968
|
tileHeight: 256,
|
|
83979
|
-
matrixWidth:
|
|
83980
|
-
matrixHeight:
|
|
83969
|
+
matrixWidth: 2048,
|
|
83970
|
+
matrixHeight: 2048
|
|
83981
83971
|
},
|
|
83982
83972
|
{
|
|
83983
83973
|
type: "TileMatrixType",
|
|
83984
|
-
identifier: "
|
|
83974
|
+
identifier: "12",
|
|
83985
83975
|
scaleDenominator: 533.182395962445,
|
|
83986
|
-
topLeftCorner: [-
|
|
83976
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83987
83977
|
tileWidth: 256,
|
|
83988
83978
|
tileHeight: 256,
|
|
83989
|
-
matrixWidth:
|
|
83990
|
-
matrixHeight:
|
|
83979
|
+
matrixWidth: 4096,
|
|
83980
|
+
matrixHeight: 4096
|
|
83991
83981
|
},
|
|
83992
83982
|
{
|
|
83993
83983
|
type: "TileMatrixType",
|
|
83994
|
-
identifier: "
|
|
83984
|
+
identifier: "13",
|
|
83995
83985
|
scaleDenominator: 266.591197981222,
|
|
83996
|
-
topLeftCorner: [-
|
|
83986
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
83997
83987
|
tileWidth: 256,
|
|
83998
83988
|
tileHeight: 256,
|
|
83999
|
-
matrixWidth:
|
|
84000
|
-
matrixHeight:
|
|
83989
|
+
matrixWidth: 8192,
|
|
83990
|
+
matrixHeight: 8192
|
|
84001
83991
|
},
|
|
84002
83992
|
{
|
|
84003
83993
|
type: "TileMatrixType",
|
|
84004
|
-
identifier: "
|
|
83994
|
+
identifier: "14",
|
|
84005
83995
|
scaleDenominator: 133.295598990611,
|
|
84006
|
-
topLeftCorner: [-
|
|
83996
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
84007
83997
|
tileWidth: 256,
|
|
84008
83998
|
tileHeight: 256,
|
|
84009
|
-
matrixWidth:
|
|
84010
|
-
matrixHeight:
|
|
83999
|
+
matrixWidth: 16384,
|
|
84000
|
+
matrixHeight: 16384
|
|
84011
84001
|
},
|
|
84012
84002
|
{
|
|
84013
84003
|
type: "TileMatrixType",
|
|
84014
|
-
identifier: "
|
|
84004
|
+
identifier: "15",
|
|
84015
84005
|
scaleDenominator: 66.6477994953056,
|
|
84016
|
-
topLeftCorner: [-
|
|
84006
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
84017
84007
|
tileWidth: 256,
|
|
84018
84008
|
tileHeight: 256,
|
|
84019
|
-
matrixWidth:
|
|
84020
|
-
matrixHeight:
|
|
84009
|
+
matrixWidth: 32768,
|
|
84010
|
+
matrixHeight: 32768
|
|
84021
84011
|
},
|
|
84022
84012
|
{
|
|
84023
84013
|
type: "TileMatrixType",
|
|
84024
|
-
identifier: "
|
|
84014
|
+
identifier: "16",
|
|
84025
84015
|
scaleDenominator: 33.3238997476528,
|
|
84026
|
-
topLeftCorner: [-
|
|
84016
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
84027
84017
|
tileWidth: 256,
|
|
84028
84018
|
tileHeight: 256,
|
|
84029
|
-
matrixWidth:
|
|
84030
|
-
matrixHeight:
|
|
84019
|
+
matrixWidth: 65536,
|
|
84020
|
+
matrixHeight: 65536
|
|
84031
84021
|
}
|
|
84032
|
-
]
|
|
84022
|
+
],
|
|
84023
|
+
$generated: {
|
|
84024
|
+
package: "@basemaps/cli",
|
|
84025
|
+
version: "v7.14.0-4-g2766010d",
|
|
84026
|
+
hash: "2766010d8d2bb8b673f6bcbef2fe2636f2e0f4ea",
|
|
84027
|
+
createdAt: "2025-02-10T20:34:46.643Z"
|
|
84028
|
+
},
|
|
84029
|
+
$options: {
|
|
84030
|
+
sourceTileMatrix: "WebMercatorQuad",
|
|
84031
|
+
zoomOffset: 8
|
|
84032
|
+
}
|
|
84033
84033
|
};
|
|
84034
|
-
var
|
|
84034
|
+
var Citm2000Tms = new TileMatrixSet(Citm2000Tmst);
|
|
84035
84035
|
|
|
84036
84036
|
// ../geo/build/tms/nztm2000.js
|
|
84037
84037
|
var Nztm20002 = __toESM(require_src3(), 1);
|
|
@@ -87328,9 +87328,9 @@ var Router = class {
|
|
|
87328
87328
|
};
|
|
87329
87329
|
|
|
87330
87330
|
// ../../node_modules/@linzjs/lambda/build/src/function.js
|
|
87331
|
-
var version2 = "v8.
|
|
87332
|
-
var hash = "
|
|
87333
|
-
var buildId = "
|
|
87331
|
+
var version2 = "v8.2.0-8-gfe8bbf9d";
|
|
87332
|
+
var hash = "fe8bbf9d0a3ca2f590505924f227a6d9da0ea5a8";
|
|
87333
|
+
var buildId = "15719849199-1";
|
|
87334
87334
|
var versionInfo = { version: version2, hash, buildId };
|
|
87335
87335
|
async function runFunction(req, fn) {
|
|
87336
87336
|
if (!req.timer.timers.has("lambda"))
|
|
@@ -91680,18 +91680,18 @@ async function versionGet(req) {
|
|
|
91680
91680
|
* last git version tag
|
|
91681
91681
|
* @example "v6.42.1"
|
|
91682
91682
|
*/
|
|
91683
|
-
version: "v8.
|
|
91683
|
+
version: "v8.2.0-8-gfe8bbf9d",
|
|
91684
91684
|
/**
|
|
91685
91685
|
* Full git commit hash
|
|
91686
91686
|
* @example "e4231b1ee62c276c8657c56677ced02681dfe5d6"
|
|
91687
91687
|
*/
|
|
91688
|
-
hash: "
|
|
91688
|
+
hash: "fe8bbf9d0a3ca2f590505924f227a6d9da0ea5a8",
|
|
91689
91689
|
/**
|
|
91690
91690
|
*
|
|
91691
91691
|
* The exact build that this release was run from
|
|
91692
91692
|
* @example "1658821493-3"
|
|
91693
91693
|
*/
|
|
91694
|
-
buildId: "
|
|
91694
|
+
buildId: "15719849199-1",
|
|
91695
91695
|
/**
|
|
91696
91696
|
* Configuration id that was used to power this config
|
|
91697
91697
|
* @example { "id": "cb_01JTQ7ZK49F8EY4N5DRJ3XFT73", hash: "HcByZ8WS2zpaTxFJp6wSKg2eUpwahLqAGEQdcDxKxqp6" }
|