tile-grid 0.6.2

Library for map tile grid calculations.
Documentation
{
   "id": "CanadianNAD83_LCC",
   "title": "Lambert conformal conic NAD83 for Canada",
   "uri": "http://www.opengis.net/def/tilematrixset/OGC/1.0/CanadianNAD83_LCC",
   "crs": "http://www.opengis.net/def/crs/EPSG/0/3978",
   "orderedAxes": ["E", "N"],
   "tileMatrices":
   [
      {
        "id": "0",
        "scaleDenominator": 145000000,
        "cellSize": 38364.6600626534,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 5,
        "matrixHeight": 5
      },
      {
        "id": "1",
        "scaleDenominator": 85000000,
        "cellSize": 22489.6283125899,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 8,
        "matrixHeight": 8
      },
      {
        "id": "2",
        "scaleDenominator": 50000000,
        "cellSize": 13229.1931250529,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 13,
        "matrixHeight": 14
      },
      {
        "id": "3",
        "scaleDenominator": 30000000,
        "cellSize": 7937.51587503175,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 21,
        "matrixHeight": 22
      },
      {
        "id": "4",
        "scaleDenominator": 17500000,
        "cellSize": 4630.21759376852,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 36,
        "matrixHeight": 38
      },
      {
        "id": "5",
        "scaleDenominator": 10000000,
        "cellSize": 2645.83862501058,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 62,
        "matrixHeight": 66
      },
      {
        "id": "6",
        "scaleDenominator": 6000000,
        "cellSize": 1587.50317500635,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 103,
        "matrixHeight": 110
      },
      {
        "id": "7",
        "scaleDenominator": 3500000,
        "cellSize": 926.043518753704,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 177,
        "matrixHeight": 188
      },
      {
        "id": "8",
        "scaleDenominator": 2000000,
        "cellSize": 529.167725002116,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 309,
        "matrixHeight": 329
      },
      {
        "id": "9",
        "scaleDenominator": 1200000,
        "cellSize": 317.50063500127,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 515,
        "matrixHeight": 548
      },
      {
        "id": "10",
        "scaleDenominator": 700000,
        "cellSize": 185.20870375074,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 882,
        "matrixHeight": 938
      },
      {
        "id": "11",
        "scaleDenominator": 420000,
        "cellSize": 111.125222250444,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 1470,
        "matrixHeight": 1563
      },
      {
        "id": "12",
        "scaleDenominator": 250000,
        "cellSize": 66.1459656252646,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 2469,
        "matrixHeight": 2626
      },
      {
        "id": "13",
        "scaleDenominator": 145000,
        "cellSize": 38.3646600626534,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 4257,
        "matrixHeight": 4528
      },
      {
        "id": "14",
        "scaleDenominator": 85000,
        "cellSize": 22.4896283125899,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 7262,
        "matrixHeight": 7723
      },
      {
        "id": "15",
        "scaleDenominator": 50000,
        "cellSize": 13.2291931250529,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 12344,
        "matrixHeight": 13130
      },
      {
        "id": "16",
        "scaleDenominator": 30000,
        "cellSize": 7.93751587503175,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 20574,
        "matrixHeight": 21882
      },
      {
        "id": "17",
        "scaleDenominator": 17500,
        "cellSize": 4.63021759376852,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 35269,
        "matrixHeight": 37512
      },
      {
        "id": "18",
        "scaleDenominator": 10000,
        "cellSize": 2.64583862501058,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 61720,
        "matrixHeight": 65646
      },
      {
        "id": "19",
        "scaleDenominator": 6000,
        "cellSize": 1.58750317500635,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 102866,
        "matrixHeight": 109409
      },
      {
        "id": "20",
        "scaleDenominator": 3500,
        "cellSize": 0.926043518753704,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 176341,
        "matrixHeight": 187558
      },
      {
        "id": "21",
        "scaleDenominator": 2000,
        "cellSize": 0.529167725002116,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 308596,
        "matrixHeight": 328227
      },
      {
        "id": "22",
        "scaleDenominator": 1200,
        "cellSize": 0.31750063500127,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 514327,
        "matrixHeight": 547044
      },
      {
        "id": "23",
        "scaleDenominator": 700,
        "cellSize": 0.18520870375074,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 881703,
        "matrixHeight": 937790
      },
      {
        "id": "24",
        "scaleDenominator": 420,
        "cellSize": 0.111125222250444,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 1469505,
        "matrixHeight": 1562983
      },
      {
        "id": "25",
        "scaleDenominator": 250,
        "cellSize": 0.0661459656252645,
        "pointOfOrigin": [-34655800,39310000],
        "tileWidth": 256,
        "tileHeight": 256,
        "matrixWidth": 2468768,
        "matrixHeight": 2625811
      }
   ]
}