morecantile 3.3.0__py3-none-any.whl → 4.0.0a0__py3-none-any.whl

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.
morecantile/__init__.py CHANGED
@@ -8,7 +8,7 @@ Refs:
8
8
 
9
9
  """
10
10
 
11
- __version__ = "3.3.0"
11
+ __version__ = "4.0.0a0"
12
12
 
13
13
  from .commons import BoundingBox, Coords, Tile # noqa
14
14
  from .defaults import TileMatrixSets, tms # noqa
@@ -1,358 +1,270 @@
1
1
  {
2
- "type": "TileMatrixSetType",
3
- "title": "Lambert conformal conic NAD83 for Canada",
4
- "identifier": "CanadianNAD83_LCC",
5
- "boundingBox": {
6
- "type": "BoundingBoxType",
7
- "crs": "urn:ogc:def:crs:EPSG::3978",
8
- "lowerCorner": [
9
- -7786476.885838887,
10
- -5153821.09213678
11
- ],
12
- "upperCorner": [
13
- 7148753.233541353,
14
- 7928343.534071138
15
- ]
16
- },
17
- "supportedCRS": "urn:ogc:def:crs:EPSG::3978",
18
- "tileMatrix": [
19
- {
20
- "type": "TileMatrixType",
21
- "identifier": "0",
22
- "scaleDenominator": 137016643.08090523,
23
- "topLeftCorner": [
24
- -34655800,
25
- 39310000
26
- ],
27
- "tileWidth": 256,
28
- "tileHeight": 256,
29
- "matrixWidth": 5,
30
- "matrixHeight": 5
31
- },
32
- {
33
- "type": "TileMatrixType",
34
- "identifier": "1",
35
- "scaleDenominator": 80320101.1163927317,
36
- "topLeftCorner": [
37
- -34655800,
38
- 39310000
39
- ],
40
- "tileWidth": 256,
41
- "tileHeight": 256,
42
- "matrixWidth": 9,
43
- "matrixHeight": 9
44
- },
45
- {
46
- "type": "TileMatrixType",
47
- "identifier": "2",
48
- "scaleDenominator": 47247118.3037604243,
49
- "topLeftCorner": [
50
- -34655800,
51
- 39310000
52
- ],
53
- "tileWidth": 256,
54
- "tileHeight": 256,
55
- "matrixWidth": 15,
56
- "matrixHeight": 15
57
- },
58
- {
59
- "type": "TileMatrixType",
60
- "identifier": "3",
61
- "scaleDenominator": 28348270.982256256,
62
- "topLeftCorner": [
63
- -34655800,
64
- 39310000
65
- ],
66
- "tileWidth": 256,
67
- "tileHeight": 256,
68
- "matrixWidth": 25,
69
- "matrixHeight": 25
70
- },
71
- {
72
- "type": "TileMatrixType",
73
- "identifier": "4",
74
- "scaleDenominator": 16536491.40631615,
75
- "topLeftCorner": [
76
- -34655800,
77
- 39310000
78
- ],
79
- "tileWidth": 256,
80
- "tileHeight": 256,
81
- "matrixWidth": 42,
82
- "matrixHeight": 42
83
- },
84
- {
85
- "type": "TileMatrixType",
86
- "identifier": "5",
87
- "scaleDenominator": 9449423.66075208597,
88
- "topLeftCorner": [
89
- -34655800,
90
- 39310000
91
- ],
92
- "tileWidth": 256,
93
- "tileHeight": 256,
94
- "matrixWidth": 73,
95
- "matrixHeight": 73
96
- },
97
- {
98
- "type": "TileMatrixType",
99
- "identifier": "6",
100
- "scaleDenominator": 5669654.1964512514,
101
- "topLeftCorner": [
102
- -34655800,
103
- 39310000
104
- ],
105
- "tileWidth": 256,
106
- "tileHeight": 256,
107
- "matrixWidth": 121,
108
- "matrixHeight": 121
109
- },
110
- {
111
- "type": "TileMatrixType",
112
- "identifier": "7",
113
- "scaleDenominator": 3307298.2812632299,
114
- "topLeftCorner": [
115
- -34655800,
116
- 39310000
117
- ],
118
- "tileWidth": 256,
119
- "tileHeight": 256,
120
- "matrixWidth": 208,
121
- "matrixHeight": 208
122
- },
123
- {
124
- "type": "TileMatrixType",
125
- "identifier": "8",
126
- "scaleDenominator": 1889884.73215041705,
127
- "topLeftCorner": [
128
- -34655800,
129
- 39310000
130
- ],
131
- "tileWidth": 256,
132
- "tileHeight": 256,
133
- "matrixWidth": 363,
134
- "matrixHeight": 363
135
- },
136
- {
137
- "type": "TileMatrixType",
138
- "identifier": "9",
139
- "scaleDenominator": 1133930.83929025033,
140
- "topLeftCorner": [
141
- -34655800,
142
- 39310000
143
- ],
144
- "tileWidth": 256,
145
- "tileHeight": 256,
146
- "matrixWidth": 605,
147
- "matrixHeight": 605
148
- },
149
- {
150
- "type": "TileMatrixType",
151
- "identifier": "10",
152
- "scaleDenominator": 661459.656252646004,
153
- "topLeftCorner": [
154
- -34655800,
155
- 39310000
156
- ],
157
- "tileWidth": 256,
158
- "tileHeight": 256,
159
- "matrixWidth": 1036,
160
- "matrixHeight": 1036
161
- },
162
- {
163
- "type": "TileMatrixType",
164
- "identifier": "11",
165
- "scaleDenominator": 396875.793751587567,
166
- "topLeftCorner": [
167
- -34655800,
168
- 39310000
169
- ],
170
- "tileWidth": 256,
171
- "tileHeight": 256,
172
- "matrixWidth": 1727,
173
- "matrixHeight": 1727
174
- },
175
- {
176
- "type": "TileMatrixType",
177
- "identifier": "12",
178
- "scaleDenominator": 236235.591518802132,
179
- "topLeftCorner": [
180
- -34655800,
181
- 39310000
182
- ],
183
- "tileWidth": 256,
184
- "tileHeight": 256,
185
- "matrixWidth": 2900,
186
- "matrixHeight": 2900
187
- },
188
- {
189
- "type": "TileMatrixType",
190
- "identifier": "13",
191
- "scaleDenominator": 137016.643080905225,
192
- "topLeftCorner": [
193
- -34655800,
194
- 39310000
195
- ],
196
- "tileWidth": 256,
197
- "tileHeight": 256,
198
- "matrixWidth": 5000,
199
- "matrixHeight": 5000
200
- },
201
- {
202
- "type": "TileMatrixType",
203
- "identifier": "14",
204
- "scaleDenominator": 80320.1011163927178,
205
- "topLeftCorner": [
206
- -34655800,
207
- 39310000
208
- ],
209
- "tileWidth": 256,
210
- "tileHeight": 256,
211
- "matrixWidth": 8530,
212
- "matrixHeight": 8530
213
- },
214
- {
215
- "type": "TileMatrixType",
216
- "identifier": "15",
217
- "scaleDenominator": 47247.1183037604278,
218
- "topLeftCorner": [
219
- -34655800,
220
- 39310000
221
- ],
222
- "tileWidth": 256,
223
- "tileHeight": 256,
224
- "matrixWidth": 14501,
225
- "matrixHeight": 14501
226
- },
227
- {
228
- "type": "TileMatrixType",
229
- "identifier": "16",
230
- "scaleDenominator": 28348.2709822562538,
231
- "topLeftCorner": [
232
- -34655800,
233
- 39310000
234
- ],
235
- "tileWidth": 256,
236
- "tileHeight": 256,
237
- "matrixWidth": 24167,
238
- "matrixHeight": 24167
239
- },
240
- {
241
- "type": "TileMatrixType",
242
- "identifier": "17",
243
- "scaleDenominator": 16536.4914063161486,
244
- "topLeftCorner": [
245
- -34655800,
246
- 39310000
247
- ],
248
- "tileWidth": 256,
249
- "tileHeight": 256,
250
- "matrixWidth": 41429,
251
- "matrixHeight": 41429
252
- },
253
- {
254
- "type": "TileMatrixType",
255
- "identifier": "18",
256
- "scaleDenominator": 9449.4236607520852,
257
- "topLeftCorner": [
258
- -34655800,
259
- 39310000
260
- ],
261
- "tileWidth": 256,
262
- "tileHeight": 256,
263
- "matrixWidth": 72500,
264
- "matrixHeight": 72500
265
- },
266
- {
267
- "type": "TileMatrixType",
268
- "identifier": "19",
269
- "scaleDenominator": 5669.65419645125075,
270
- "topLeftCorner": [
271
- -34655800,
272
- 39310000
273
- ],
274
- "tileWidth": 256,
275
- "tileHeight": 256,
276
- "matrixWidth": 120834,
277
- "matrixHeight": 120834
278
- },
279
- {
280
- "type": "TileMatrixType",
281
- "identifier": "20",
282
- "scaleDenominator": 3307.29828126322991,
283
- "topLeftCorner": [
284
- -34655800,
285
- 39310000
286
- ],
287
- "tileWidth": 256,
288
- "tileHeight": 256,
289
- "matrixWidth": 207143,
290
- "matrixHeight": 207143
291
- },
292
- {
293
- "type": "TileMatrixType",
294
- "identifier": "21",
295
- "scaleDenominator": 1889.88473215041699,
296
- "topLeftCorner": [
297
- -34655800,
298
- 39310000
299
- ],
300
- "tileWidth": 256,
301
- "tileHeight": 256,
302
- "matrixWidth": 362501,
303
- "matrixHeight": 362501
304
- },
305
- {
306
- "type": "TileMatrixType",
307
- "identifier": "22",
308
- "scaleDenominator": 1133.93083929025011,
309
- "topLeftCorner": [
310
- -34655800,
311
- 39310000
312
- ],
313
- "tileWidth": 256,
314
- "tileHeight": 256,
315
- "matrixWidth": 604167,
316
- "matrixHeight": 604167
317
- },
318
- {
319
- "type": "TileMatrixType",
320
- "identifier": "23",
321
- "scaleDenominator": 661.459656252645914,
322
- "topLeftCorner": [
323
- -34655800,
324
- 39310000
325
- ],
326
- "tileWidth": 256,
327
- "tileHeight": 256,
328
- "matrixWidth": 1035715,
329
- "matrixHeight": 1035715
330
- },
331
- {
332
- "type": "TileMatrixType",
333
- "identifier": "24",
334
- "scaleDenominator": 396.875793751587537,
335
- "topLeftCorner": [
336
- -34655800,
337
- 39310000
338
- ],
339
- "tileWidth": 256,
340
- "tileHeight": 256,
341
- "matrixWidth": 1726191,
342
- "matrixHeight": 1726191
343
- },
344
- {
345
- "type": "TileMatrixType",
346
- "identifier": "25",
347
- "scaleDenominator": 236.235591518802124,
348
- "topLeftCorner": [
349
- -34655800,
350
- 39310000
351
- ],
352
- "tileWidth": 256,
353
- "tileHeight": 256,
354
- "matrixWidth": 2900001,
355
- "matrixHeight": 2900001
356
- }
357
- ]
358
- }
2
+ "id": "CanadianNAD83_LCC",
3
+ "title": "Lambert conformal conic NAD83 for Canada",
4
+ "uri": "http://www.opengis.net/def/tilematrixset/OGC/1.0/CanadianNAD83_LCC",
5
+ "crs": "http://www.opengis.net/def/crs/EPSG/0/3978",
6
+ "orderedAxes": ["E", "N"],
7
+ "tileMatrices":
8
+ [
9
+ {
10
+ "id": "0",
11
+ "scaleDenominator": 145000000,
12
+ "cellSize": 38364.6600626534,
13
+ "pointOfOrigin": [-34655800,39310000],
14
+ "tileWidth": 256,
15
+ "tileHeight": 256,
16
+ "matrixWidth": 5,
17
+ "matrixHeight": 5
18
+ },
19
+ {
20
+ "id": "1",
21
+ "scaleDenominator": 85000000,
22
+ "cellSize": 22489.6283125899,
23
+ "pointOfOrigin": [-34655800,39310000],
24
+ "tileWidth": 256,
25
+ "tileHeight": 256,
26
+ "matrixWidth": 8,
27
+ "matrixHeight": 8
28
+ },
29
+ {
30
+ "id": "2",
31
+ "scaleDenominator": 50000000,
32
+ "cellSize": 13229.1931250529,
33
+ "pointOfOrigin": [-34655800,39310000],
34
+ "tileWidth": 256,
35
+ "tileHeight": 256,
36
+ "matrixWidth": 13,
37
+ "matrixHeight": 14
38
+ },
39
+ {
40
+ "id": "3",
41
+ "scaleDenominator": 30000000,
42
+ "cellSize": 7937.51587503175,
43
+ "pointOfOrigin": [-34655800,39310000],
44
+ "tileWidth": 256,
45
+ "tileHeight": 256,
46
+ "matrixWidth": 21,
47
+ "matrixHeight": 22
48
+ },
49
+ {
50
+ "id": "4",
51
+ "scaleDenominator": 17500000,
52
+ "cellSize": 4630.21759376852,
53
+ "pointOfOrigin": [-34655800,39310000],
54
+ "tileWidth": 256,
55
+ "tileHeight": 256,
56
+ "matrixWidth": 36,
57
+ "matrixHeight": 38
58
+ },
59
+ {
60
+ "id": "5",
61
+ "scaleDenominator": 10000000,
62
+ "cellSize": 2645.83862501058,
63
+ "pointOfOrigin": [-34655800,39310000],
64
+ "tileWidth": 256,
65
+ "tileHeight": 256,
66
+ "matrixWidth": 62,
67
+ "matrixHeight": 66
68
+ },
69
+ {
70
+ "id": "6",
71
+ "scaleDenominator": 6000000,
72
+ "cellSize": 1587.50317500635,
73
+ "pointOfOrigin": [-34655800,39310000],
74
+ "tileWidth": 256,
75
+ "tileHeight": 256,
76
+ "matrixWidth": 103,
77
+ "matrixHeight": 110
78
+ },
79
+ {
80
+ "id": "7",
81
+ "scaleDenominator": 3500000,
82
+ "cellSize": 926.043518753704,
83
+ "pointOfOrigin": [-34655800,39310000],
84
+ "tileWidth": 256,
85
+ "tileHeight": 256,
86
+ "matrixWidth": 177,
87
+ "matrixHeight": 188
88
+ },
89
+ {
90
+ "id": "8",
91
+ "scaleDenominator": 2000000,
92
+ "cellSize": 529.167725002116,
93
+ "pointOfOrigin": [-34655800,39310000],
94
+ "tileWidth": 256,
95
+ "tileHeight": 256,
96
+ "matrixWidth": 309,
97
+ "matrixHeight": 329
98
+ },
99
+ {
100
+ "id": "9",
101
+ "scaleDenominator": 1200000,
102
+ "cellSize": 317.50063500127,
103
+ "pointOfOrigin": [-34655800,39310000],
104
+ "tileWidth": 256,
105
+ "tileHeight": 256,
106
+ "matrixWidth": 515,
107
+ "matrixHeight": 548
108
+ },
109
+ {
110
+ "id": "10",
111
+ "scaleDenominator": 700000,
112
+ "cellSize": 185.20870375074,
113
+ "pointOfOrigin": [-34655800,39310000],
114
+ "tileWidth": 256,
115
+ "tileHeight": 256,
116
+ "matrixWidth": 882,
117
+ "matrixHeight": 938
118
+ },
119
+ {
120
+ "id": "11",
121
+ "scaleDenominator": 420000,
122
+ "cellSize": 111.125222250444,
123
+ "pointOfOrigin": [-34655800,39310000],
124
+ "tileWidth": 256,
125
+ "tileHeight": 256,
126
+ "matrixWidth": 1470,
127
+ "matrixHeight": 1563
128
+ },
129
+ {
130
+ "id": "12",
131
+ "scaleDenominator": 250000,
132
+ "cellSize": 66.1459656252646,
133
+ "pointOfOrigin": [-34655800,39310000],
134
+ "tileWidth": 256,
135
+ "tileHeight": 256,
136
+ "matrixWidth": 2469,
137
+ "matrixHeight": 2626
138
+ },
139
+ {
140
+ "id": "13",
141
+ "scaleDenominator": 145000,
142
+ "cellSize": 38.3646600626534,
143
+ "pointOfOrigin": [-34655800,39310000],
144
+ "tileWidth": 256,
145
+ "tileHeight": 256,
146
+ "matrixWidth": 4257,
147
+ "matrixHeight": 4528
148
+ },
149
+ {
150
+ "id": "14",
151
+ "scaleDenominator": 85000,
152
+ "cellSize": 22.4896283125899,
153
+ "pointOfOrigin": [-34655800,39310000],
154
+ "tileWidth": 256,
155
+ "tileHeight": 256,
156
+ "matrixWidth": 7262,
157
+ "matrixHeight": 7723
158
+ },
159
+ {
160
+ "id": "15",
161
+ "scaleDenominator": 50000,
162
+ "cellSize": 13.2291931250529,
163
+ "pointOfOrigin": [-34655800,39310000],
164
+ "tileWidth": 256,
165
+ "tileHeight": 256,
166
+ "matrixWidth": 12344,
167
+ "matrixHeight": 13130
168
+ },
169
+ {
170
+ "id": "16",
171
+ "scaleDenominator": 30000,
172
+ "cellSize": 7.93751587503175,
173
+ "pointOfOrigin": [-34655800,39310000],
174
+ "tileWidth": 256,
175
+ "tileHeight": 256,
176
+ "matrixWidth": 20574,
177
+ "matrixHeight": 21882
178
+ },
179
+ {
180
+ "id": "17",
181
+ "scaleDenominator": 17500,
182
+ "cellSize": 4.63021759376852,
183
+ "pointOfOrigin": [-34655800,39310000],
184
+ "tileWidth": 256,
185
+ "tileHeight": 256,
186
+ "matrixWidth": 35269,
187
+ "matrixHeight": 37512
188
+ },
189
+ {
190
+ "id": "18",
191
+ "scaleDenominator": 10000,
192
+ "cellSize": 2.64583862501058,
193
+ "pointOfOrigin": [-34655800,39310000],
194
+ "tileWidth": 256,
195
+ "tileHeight": 256,
196
+ "matrixWidth": 61720,
197
+ "matrixHeight": 65646
198
+ },
199
+ {
200
+ "id": "19",
201
+ "scaleDenominator": 6000,
202
+ "cellSize": 1.58750317500635,
203
+ "pointOfOrigin": [-34655800,39310000],
204
+ "tileWidth": 256,
205
+ "tileHeight": 256,
206
+ "matrixWidth": 102866,
207
+ "matrixHeight": 109409
208
+ },
209
+ {
210
+ "id": "20",
211
+ "scaleDenominator": 3500,
212
+ "cellSize": 0.926043518753704,
213
+ "pointOfOrigin": [-34655800,39310000],
214
+ "tileWidth": 256,
215
+ "tileHeight": 256,
216
+ "matrixWidth": 176341,
217
+ "matrixHeight": 187558
218
+ },
219
+ {
220
+ "id": "21",
221
+ "scaleDenominator": 2000,
222
+ "cellSize": 0.529167725002116,
223
+ "pointOfOrigin": [-34655800,39310000],
224
+ "tileWidth": 256,
225
+ "tileHeight": 256,
226
+ "matrixWidth": 308596,
227
+ "matrixHeight": 328227
228
+ },
229
+ {
230
+ "id": "22",
231
+ "scaleDenominator": 1200,
232
+ "cellSize": 0.31750063500127,
233
+ "pointOfOrigin": [-34655800,39310000],
234
+ "tileWidth": 256,
235
+ "tileHeight": 256,
236
+ "matrixWidth": 514327,
237
+ "matrixHeight": 547044
238
+ },
239
+ {
240
+ "id": "23",
241
+ "scaleDenominator": 700,
242
+ "cellSize": 0.18520870375074,
243
+ "pointOfOrigin": [-34655800,39310000],
244
+ "tileWidth": 256,
245
+ "tileHeight": 256,
246
+ "matrixWidth": 881703,
247
+ "matrixHeight": 937790
248
+ },
249
+ {
250
+ "id": "24",
251
+ "scaleDenominator": 420,
252
+ "cellSize": 0.111125222250444,
253
+ "pointOfOrigin": [-34655800,39310000],
254
+ "tileWidth": 256,
255
+ "tileHeight": 256,
256
+ "matrixWidth": 1469505,
257
+ "matrixHeight": 1562983
258
+ },
259
+ {
260
+ "id": "25",
261
+ "scaleDenominator": 250,
262
+ "cellSize": 0.0661459656252645,
263
+ "pointOfOrigin": [-34655800,39310000],
264
+ "tileWidth": 256,
265
+ "tileHeight": 256,
266
+ "matrixWidth": 2468768,
267
+ "matrixHeight": 2625811
268
+ }
269
+ ]
270
+ }