download-osm Command

Downloads OSM data from OSM XAPI servers.

Once downloaded, the map data is stored in memory, so you'll need to save it on the disk (using SaveSource (TODO)) if you want to use it later.

NOTE: XAPI servers can be unresponsive at certain times, so you should retry the downloading if it fails. Also try not to download too big an area as it could take a very long time to download from the server.

Usage

 download-osm
	[bounds=<bounds>]
	[xapi-url=<download url>]

Parameters:

Examples

download-osm bounds=20,30,50,40

Downloads OSM data for the specific area.

download-osm

Downloads OSM data for the current map view bounds.

download-osm xapi-url="http://www.informationfreeway.org/api/0.6/*"

Downloads OSM data for the current map view bounds using explicitly set XAPI URL.