Skip to content

Commit

Permalink
fix: correct xy vs yx for citm epsg:3793
Browse files Browse the repository at this point in the history
  • Loading branch information
blacha committed Feb 10, 2025
1 parent 4a49ea3 commit 2766010
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions packages/geo/src/tms/citm2000.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
boundingBox: {
type: 'BoundingBoxType',
crs: 'https://www.opengis.net/def/crs/EPSG/0/3793',
lowerCorner: [3430154.3757978342, 5051234.111622438],
upperCorner: [3586697.4097258747, 5207777.145550478],
lowerCorner: [5051234.111622438, 3430154.3757978342],
upperCorner: [5207777.145550478, 3586697.4097258747],
},
tileMatrix: [
{
type: 'TileMatrixType',
identifier: '0',
scaleDenominator: 2183915.0938621718,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 1,
Expand All @@ -34,7 +34,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '1',
scaleDenominator: 1091957.5469310859,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 2,
Expand All @@ -44,7 +44,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '2',
scaleDenominator: 545978.7734655429,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 4,
Expand All @@ -54,7 +54,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '3',
scaleDenominator: 272989.38673277147,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 8,
Expand All @@ -64,7 +64,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '4',
scaleDenominator: 136494.69336638573,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 16,
Expand All @@ -74,7 +74,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '5',
scaleDenominator: 68247.34668319287,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 32,
Expand All @@ -84,7 +84,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '6',
scaleDenominator: 34123.67334159643,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 64,
Expand All @@ -94,7 +94,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '7',
scaleDenominator: 17061.836670798217,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 128,
Expand All @@ -104,7 +104,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '8',
scaleDenominator: 8530.918335399108,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 256,
Expand All @@ -114,7 +114,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '9',
scaleDenominator: 4265.459167699554,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 512,
Expand All @@ -124,7 +124,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '10',
scaleDenominator: 2132.729583849777,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 1024,
Expand All @@ -134,7 +134,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '11',
scaleDenominator: 1066.3647919248886,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 2048,
Expand All @@ -144,7 +144,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '12',
scaleDenominator: 533.1823959624443,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 4096,
Expand All @@ -154,7 +154,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '13',
scaleDenominator: 266.59119798122214,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 8192,
Expand All @@ -164,7 +164,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '14',
scaleDenominator: 133.29559899061107,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 16384,
Expand All @@ -174,7 +174,7 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
type: 'TileMatrixType',
identifier: '15',
scaleDenominator: 66.64779949530553,
topLeftCorner: [3586697.4097258747, 5051234.111622438],
topLeftCorner: [5207777.145550478, 3430154.3757978342],
tileWidth: 256,
tileHeight: 256,
matrixWidth: 32768,
Expand All @@ -183,9 +183,9 @@ const Citm2000Tmst: TileMatrixSetType & { $generated: unknown; $options: unknown
],
$generated: {
package: '@basemaps/cli',
version: 'v7.14.0-6-gfeb1ba3d',
hash: 'feb1ba3dd7257ca574836d00ffad89aac3d7dbcf',
createdAt: '2025-02-05T03:43:19.749Z',
version: 'v7.14.0-2-g599ce97f',
hash: '599ce97f0be84923cdea8d76b8d5379544cd9253',
createdAt: '2025-02-10T01:43:01.915Z',
},
$options: {
sourceTileMatrix: 'NZTM2000Quad',
Expand Down

0 comments on commit 2766010

Please sign in to comment.