downloadosmtiles
module for calculating tile numbers for OpenStreetMap
Install
- All systems
-
curl cmd.cat/downloadosmtiles.sh
- Debian
-
apt-get install libgeo-osm-tiles-perl - Ubuntu
-
apt-get install libgeo-osm-tiles-perl - Kali Linux
-
apt-get install libgeo-osm-tiles-perl - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install libgeo-osm-tiles-perl - Raspbian
-
apt-get install libgeo-osm-tiles-perl
libgeo-osm-tiles-perl
module for calculating tile numbers for OpenStreetMap
Geo::OSM::Tiles provides functions for calculating the path to a map tile at OpenStreetMap out of geographic coordinates. The path of a tile at OSM has the form $zoom/$tilex/$tiley.png. The numbering scheme is documented in the OSM wiki at http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames . The package also contains the downloadosmtiles script that allows one to conveniently download OSM map tiles from a given OSM permalink URL.