Hi,
I’m trying to create a custom grid, with the tile origin at the top left. The grid I’m making should match this definition tile for tile, I hope: https://geoappext.nrcan.gc.ca/arcgis/rest/services/BaseMaps/CBMT3978/MapServer
I created a grid with the GeoServer user interface, the geoWebCache.xml file is below, which i modified to have true, per the source definition.
However, I tried tiling the topp:states with that gridset, and I while the TileMatrixSet (from the capabilities) looks ok, the TileMatrixSetLink the doesn’t seem correct, because the MinTileRow / MaxTileRow and MinTileCol / MaxTileCol are always equal or the same cell value, regardless of zoom level, giving an extent of one cell wide by one cell high at every zoom level:
I include the TileMatrixSet element at the end, which looks ok to me. Does anyone have some advice on what I’ve got wrong here?
I should mention that I can only get the one tile available per MinTileRow / MaxTileRow and MinTileCol / MaxTileCol a GetTile request, all others return an error document.
Thanks very much for looking, and your advice!
Cheers,
Peter
CBMTILE
0
4
4
3
3
1
6
6
6
6
2
11
11
10
10
3
19
19
17
17
4
33
33
29
29
5
58
58
51
51
6
96
96
85
85
7
165
165
146
146
8
290
290
255
255
9
483
483
426
426
10
829
829
730
730
11
1381
1381
1218
1218
12
2321
2321
2046
2046
13
4002
4002
3528
3528
14
6827
6827
6019
6019
15
11607
11607
10232
10232
16
19345
19345
17054
17054
17
33163
33163
29237
29237
18
58036
58036
51164
51164
ows:IdentifierCBMTILE</ows:Identifier>
ows:SupportedCRSurn:ogc:def:crs:EPSG::3978</ows:SupportedCRS>
ows:Identifier0</ows:Identifier>
1.3701664308090523E8
-3.46558E7 3.931E7
256
256
5
8
ows:Identifier1</ows:Identifier>
8.032010111639273E7
-3.46558E7 3.931E7
256
256
8
14
ows:Identifier2</ows:Identifier>
4.7247118303760424E7
-3.46558E7 3.931E7
256
256
14
24
ows:Identifier3</ows:Identifier>
2.8348270982256256E7
-3.46558E7 3.931E7
256
256
22
39
ows:Identifier4</ows:Identifier>
1.653649140631615E7
-3.46558E7 3.931E7
256
256
38
67
ows:Identifier5</ows:Identifier>
9449423.660752086
-3.46558E7 3.931E7
256
256
66
116
ows:Identifier6</ows:Identifier>
5669654.196451251
-3.46558E7 3.931E7
256
256
110
193
ows:Identifier7</ows:Identifier>
3307298.28126323
-3.46558E7 3.931E7
256
256
189
331
ows:Identifier8</ows:Identifier>
1889884.732150417
-3.46558E7 3.931E7
256
256
330
579
ows:Identifier9</ows:Identifier>
1133930.8392902503
-3.46558E7 3.931E7
256
256
550
964
ows:Identifier10</ows:Identifier>
661459.656252646
-3.46558E7 3.931E7
256
256
942
1652
ows:Identifier11</ows:Identifier>
396875.79375158757
-3.46558E7 3.931E7
256
256
1570
2753
ows:Identifier12</ows:Identifier>
236235.59151880213
-3.46558E7 3.931E7
256
256
2638
4625
ows:Identifier13</ows:Identifier>
137016.64308090523
-3.46558E7 3.931E7
256
256
4547
7974
ows:Identifier14</ows:Identifier>
80320.10111639272
-3.46558E7 3.931E7
256
256
7757
13602
ows:Identifier15</ows:Identifier>
47247.11830376043
-3.46558E7 3.931E7
256
256
13186
23123
ows:Identifier16</ows:Identifier>
28348.270982256254
-3.46558E7 3.931E7
256
256
21977
38539
ows:Identifier17</ows:Identifier>
16536.49140631615
-3.46558E7 3.931E7
256
256
37674
66066
ows:Identifier18</ows:Identifier>
9449.423660752085
-3.46558E7 3.931E7
256
256
65929
115615
1.15.0 120 CBMTILE Canada Base Map 3978 -3.46558E7 -3.9E7 1.0E7 3.931E7 true 38364.660062653464 22489.62831258996 13229.193125052918 7937.5158750317505 4630.2175937685215 2645.8386250105837 1587.5031750063501 926.0435187537042 529.1677250021168 317.50063500127004 185.20870375074085 111.12522225044451 66.1459656252646 38.36466006265346 22.48962831258996 13.229193125052918 7.9375158750317505 4.6302175937685215 2.6458386250105836 1.0 2.8E-4 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 256 256 false