The <scale> element is used to specify the scales available for selection
on the form used to request the printed map. Multiple scale elements can be
specified. The list of scales applies to all map templates in a print configuration
file.
| Frequency |
Parent Elements (the <scale> element is valid within): |
|
PRS+ |
<print-config> |
| |
|
|
| Frequency |
Description (in this context) |
|
PRS+ |
The <scale> element must appear one or more times in the <print-config>
element in the specified sequence.
|
| |
|
|
|
Attributes |
Description |
|
description |
The description of the scale to be displayed in the form when requesting the map.
Example: "1:10,000". Required.
|
|
value |
The scale value associated with the description. Generally the value is the
numeric value of the scale described in the description. For example, if the
description is "1:10,000", the value would be "10000". There are special values
recognized by IMF for the current extent (value="0") and for the current scale
(value=-1). See the examples below. Required.
|
|
default |
A boolean value indicating whether this choice should be the default selection
on the form used to request them printed map. Only one of the available scale
elements should be set to true. Valid values are "true" or "false". Optional,
defaults to "false".
|
| |
|
|
Example:
<scale description="Current extent" value="0" default="true"/>
<scale description="Current scale" value="-1"/>
<scale description="1:5,000" value="5000"/>
<scale description="1:10,000" value="10000"/>
<scale description="1:20,000" value="20000"/>
<scale description="1:50,000" value="50000"/>
<scale description="1:100,000" value="100000"/>
<scale description="1:250,000" value="250000"/>
<scale description="1:1,000,000" value="1000000"/>
<scale description="1:2,500,000" value="2500000"/>
<scale description="1:5,000,000" value="5000000"/>