Key:charge:conditional

From OpenStreetMap Wiki
Jump to navigation Jump to search
charge:conditional
Description
To indicate how much is charged for use of or access to a facility, using complex rules. Show/edit corresponding data item.
Group: properties
Used on these elements
may be used on nodesmay be used on waysmay be used on areas (and multipolygon relations)may be used on relations
Useful combination
Status: in use

charge:conditional=* is used to specify the amount of the charge to use or access a facility. It is mostly used in combination with fee=*.

This key is being used as fee=* + charge:conditional=*, or as fee=* + charge=* + charge:conditional=*. In the latter case, the value from charge=* applies, except in the cases described by charge:conditional=*.

Usage

See also conditional restrictions and charge=* pages.

The basic syntax is [charge] @ [condition]. For example:

Scenario Syntax
The charge is 150 rand for vehicles heavier than 3.5 tonnes. 150 ZAR @ weight>3.5
The charge is 1.250 Kuwaiti dinars (divided to 1,000 fils) for vehicles up to 2 metres high, and 2.500 dinars for vehicles higher than 2 metres. 1.250 KWD @ height<=2 AND 2.500 KWD @ height>2
The charge is 20,000 rupiah from October to April. 20000 IDR @ (Oct-Apr)
The charge is 2.50 euros for vehicles shorter than 2.2 metres; otherwise 6.30 euros for vehicles with less than 4 axles, and 8.90 euros for vehicles with 4 or more axles (example). 2.50 EUR @ height<=2.2; 6.30 EUR @ axles<4 AND height>2.2; 8.90 EUR @ axles>=4 AND height>2.2

Decimal values, where applicable, should be expressed in full (for example, 8.50 AUD instead of 8.5 AUD, and 17.500 TND instead of 17.5 TND). In Mauritania and Madagascar, one khoum or one iraimbilanja is expressed as 0.2 MRU or 0.2 MGA respectively, to one decimal point.

Similar keys

If a charge applies to a specific type of vehicle without extra conditions (such as weight), you can set charge:[vehicle type] to said charge: for example, if the charge for motorcycles is 2.70 euros, we set charge:motorcycle=2.70 EUR (example).

If a charge applies to a specific type of vehicle with extra conditions, you can set charge:[vehicle type]:conditional to said charge: for example, the charge for disabled car drivers at the Rio–Antirrio Bridge is 5.00 euros instead of 15.90 euros, so we set charge:motorcar:conditional=5.00 EUR @ disabled=yes (example).

See also

  • payment=* to indicate the precise method of payment.
  • toll=* to indicate that a road, bridge, ferry, or other way is tolled - that you must pay to use it.
  • fine=* to indicate a fine for violating a traffic regulation