Query the Open Street Map server for map tiles instead of Google Maps
Query the Open Street Map server for map tiles instead of Google Maps
The querying parameters for Open Street Maps are somewhat different in this version. Instead of a zoom, center and size, the user supplies a scale parameter and a lat/lon bounding box. The scale determines the image size.
scale: Open Street map scale parameter. The larger this value, the smaller the resulting map tile in memory. There is a balance to be struck between the lat/lon bounding box and the scale parameter.
destfile: File to load the map image from or save to, depending on NEWMAP.
format: (optional) defines the format of the resulting image.
RETURNIMAGE: return image yes/no default: TRUE
GRAYSCALE: Boolean toggle; if TRUE the colored map tile is rendered into a black & white image, see RGB2GRAY
NEWMAP: if TRUE, query the Google server and save to destfile, if FALSE load from destfile.
verbose: level of verbosity,
...: extra arguments to be used in future versions
Returns
map structure or URL used to download the tile.
Author(s)
Markus Loecher
Note
The OSM maptile server is frequently too busy to accomodate every request, so patience is warranted.