Created
September 29, 2020 05:58
-
-
Save alexgleith/85bdc6a4c82043ca50689256eaf5a471 to your computer and use it in GitHub Desktop.
Africa geobox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"metadata": { | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.7.7-final" | |
}, | |
"orig_nbformat": 2, | |
"kernelspec": { | |
"name": "Python 3.7.7 64-bit", | |
"display_name": "Python 3.7.7 64-bit", | |
"metadata": { | |
"interpreter": { | |
"hash": "aee8b7b246df8f9039afb4144a1f6fd8d2ca17a180786b69acc140d282b71a49" | |
} | |
} | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2, | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 13, | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"import math\n", | |
"\n", | |
"from datacube.utils.geometry import CRS, box\n", | |
"from datacube.model import GridSpec " | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"metadata": {}, | |
"outputs": [], | |
"source": [ | |
"epsg6933 = CRS('epsg:6933')\n", | |
"albers_africa_20 = GridSpec(crs=epsg6933, \n", | |
" tile_size=(96_000.0, 96_000.0), \n", | |
" resolution=(-20, 20))\n", | |
"africa = box(-18,-38,60,30, \"epsg:4326\")\n", | |
"africa_6933 = africa.to_crs(\"epsg:6933\", resolution=math.inf)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 26, | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"output_type": "execute_result", | |
"data": { | |
"text/plain": "000.0), epsg:6933)),\n ((-1, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -96000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((0, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 0.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((1, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 96000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((2, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 192000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((3, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 288000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((4, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 384000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((5, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 480000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((6, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 576000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((7, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 672000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((8, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 768000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((9, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 864000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((10, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 960000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((11, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1056000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((12, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1152000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((13, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1248000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((14, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1344000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((15, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1440000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((16, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1536000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((17, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1632000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((18, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1728000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((19, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1824000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((20, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1920000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((21, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2016000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((22, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2112000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((23, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2208000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((24, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2304000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((25, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2400000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((26, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2496000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((27, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2592000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((28, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2688000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((29, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2784000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((30, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2880000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((31, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2976000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((32, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3072000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((33, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3168000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((34, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3264000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((35, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3360000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((36, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3456000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((37, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3552000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((38, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3648000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((39, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3744000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((40, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3840000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((41, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3936000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((42, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4032000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((43, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4128000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((44, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4224000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((45, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4320000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((46, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4416000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((47, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4512000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((48, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4608000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((49, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4704000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((50, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4800000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((51, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4896000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((52, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4992000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((53, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5088000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((54, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5184000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((55, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5280000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((56, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5376000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((57, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5472000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((58, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5568000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((59, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5664000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((60, -37),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5760000.0,\n 0.0, -20.0, -3456000.0), epsg:6933)),\n ((-19, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1824000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-18, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1728000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-17, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1632000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-16, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1536000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-15, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1440000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-14, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1344000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-13, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1248000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-12, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1152000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-11, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1056000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-10, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -960000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-9, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -864000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-8, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -768000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-7, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -672000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-6, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -576000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-5, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -480000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-4, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -384000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-3, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -288000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-2, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -192000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-1, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -96000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((0, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 0.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((1, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 96000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((2, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 192000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((3, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 288000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((4, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 384000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((5, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 480000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((6, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 576000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((7, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 672000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((8, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 768000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((9, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 864000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((10, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 960000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((11, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1056000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((12, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1152000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((13, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1248000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((14, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1344000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((15, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1440000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((16, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1536000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((17, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1632000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((18, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1728000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((19, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1824000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((20, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1920000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((21, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2016000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((22, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2112000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((23, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2208000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((24, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2304000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((25, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2400000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((26, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2496000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((27, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2592000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((28, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2688000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((29, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2784000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((30, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2880000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((31, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 2976000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((32, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3072000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((33, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3168000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((34, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3264000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((35, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3360000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((36, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3456000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((37, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3552000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((38, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3648000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((39, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3744000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((40, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3840000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((41, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 3936000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((42, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4032000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((43, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4128000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((44, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4224000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((45, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4320000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((46, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4416000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((47, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4512000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((48, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4608000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((49, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4704000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((50, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4800000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((51, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4896000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((52, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 4992000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((53, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5088000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((54, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5184000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((55, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5280000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((56, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5376000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((57, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5472000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((58, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5568000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((59, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5664000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((60, -36),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 5760000.0,\n 0.0, -20.0, -3360000.0), epsg:6933)),\n ((-19, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1824000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-18, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1728000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-17, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1632000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-16, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1536000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-15, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1440000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-14, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1344000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-13, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1248000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-12, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1152000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-11, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -1056000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-10, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -960000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-9, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -864000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-8, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -768000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-7, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -672000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-6, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -576000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-5, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -480000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-4, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -384000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-3, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -288000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-2, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -192000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((-1, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, -96000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((0, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 0.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((1, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 96000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((2, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 192000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((3, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 288000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((4, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 384000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((5, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 480000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((6, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 576000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((7, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 672000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((8, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 768000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((9, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 864000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((10, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 960000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((11, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1056000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((12, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1152000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((13, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1248000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((14, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1344000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((15, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1440000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((16, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1536000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((17, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1632000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((18, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1728000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((19, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1824000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ((20, -35),\n GeoBox(4800, 4800, Affine(20.0, 0.0, 1920000.0,\n 0.0, -20.0, -3264000.0), epsg:6933)),\n ...]" | |
}, | |
"metadata": {}, | |
"execution_count": 26 | |
} | |
], | |
"source": [ | |
"list(albers_africa_20.tiles(africa_6933.boundingbox))" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment