Develop a Python program to export the global exposure dataset into a tiled version of SpatiaLite databases
Global datasets are often provided in a tiled manner. One example is the Globah Human Settlement Layer:
To provide the exposure data in such a way, we need to develop a Python program to export the exposure data tile-by-tile into SpatiaLite databases. Exposure-share will be extended with the option to export exposure data per tile (option -q
, see #18 (closed)). This Python program needs to call exposure-share for all tiles given an optionally defined zoom level. A few things should be considered:
- Should the program tests for landmass existing in the tile and only call exposure-share if exposure data is to be expected? Or should it call exposure-data for all tiles and later remove the file if no entity has been exported?
- Should the export use globally the same zoom level or should the export be done on a multi-resolution grid to keep file sizes comparable?
- How can the user combine multiple tiles into one database?
- The program should export several tiles in parallel as otherwise a global export will take too long.