pyguymer3.openstreetmap

A Python sub-module containing functions relating to`OpenStreetMap [2].

Notes

Copyright 2017 Thomas Guymer [1]

References

Modules

deg2num(lon_deg, lat_deg, zoom, /)

hfov(xtile, ytile, zoom, /)

num2deg(xtile, ytile, zoom, /)

This function returns the NW corner of the tile.

res(lat_deg, zoom, /, *[, scale])

Calculate the resolution in the centre of a tile at a given latitude and for a given zoom.

tile(xtile, ytile, zoom, sess, /, *[, ...])

Fetch an OpenStreetMap tile

tiles(lonC_deg, latC_deg, zoom, width, ...)

Merge some OpenStreetMap tiles around a location into one large tile

vfov(xtile, ytile, zoom, /)

zoom(lat_deg, res, /, *[, scale])

Calculate the required zoom to achieve a given resolution in the centre of a tile at a given latitude.