Contents |
Certain commands accept the bounds parameter which limits the working area of the command to a specific map area. This parameter is usually optional and depending on whether you specify it, a command can behave in three different ways:
If you want to perform several commands on the same map area, you can "lock" the bounds to that area. Example:
bounds-set 14,20,16,30 download-osm generate-relief-igor
This set of commands will lock the bounds to a box between 14 and 16 degrees of longitude and 20 and 30 degrees of latitude. After locking the bounds, it will download OSM data for that area and generate a hillshading relief for that same area. The locked area will be displayed as a dashed rectangle on the map.
Just to make it more understandable, you can achieve the same thing without the locking of bounds:
download-osm bounds=14,20,16,30 generate-relief-igor bounds=14,20,16,30
You can also use bounds from a map source. Example:
load-source maps\MyMap.osm bounds-use-source
This way you can limit the working area to the bounds of your MyMap.osm
To unlock the bounds, simply call
bounds-reset
command.