Key:fee:conditional

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg fee:conditional
Description
To indicate if money is charged to use this facility using rules more complex than "yes" and "no". 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
Status: in use

The fee:conditional tag is for specifying whether a fee is usually charged for a service or for access, and specifies rules that override the default specified in fee=*.

See charge:conditional=* if the amount of money depends on the rules.

Usage

See also conditional restrictions and fee=* pages.

For example:

  • fee=yes + fee:conditional=no @ customers - to mark that fee is waived for customers
  • fee=no + fee:conditional=yes @ 08:00-08:20 - to mark something as free, except between 8:00 and 8:20
  • fee=yes + fee:conditional=no @ We - paid, but free on Wednesdays
  • fee=no + fee:conditional=yes @ stay > 2 hours - parking with stay up to two hours free[1]
  • fee=yes + fee:conditional=no @ stay < 2 hours - also, parking with stay up to two hours free (difference is what will be a default value, used by data consumers not supporting conditional restrictions)
  • fee=yes + fee:conditional=no @ stay < 90 minutes - parking with stay up 90 minutes free (some parking lots describe parking times in minutes)
  • fee=yes + fee:conditional=no @ age < 12 - to mark something as free for children under the age of 12.
  • fee=no + fee:conditional=yes @ stay > 2 hours AND Mo-Fr 07:00-19:00; yes @ stay > 2 hours AND Sa 07:00-13:00 - No fee, except if staying for more than 2 hours on Mon-Fri from 7:00-19:00 or on Sat from 07:00-13:00.
  • fee=no + fee:conditional=yes @ Mo-Fr 09:00-19:00; yes @ Sa 09:00-13:00 - No fee, except on Mon-Fri from 9:00-19:00 or on Sat from 09:00-13:00.
Note: although the syntax is similar to opening_hours=* there is a difference, for example:
Mo-Fr 09:00-19:00; Sa 09:00-13:00 (syntax in opening_hours)
yes @ Mo-Fr 09:00-19:00; yes @ Sa 09:00-13:00 (syntax in fee:conditional, after ";" the condition must be repeated).
yes @ Mo-Fr 09:00-19:00; Sa 09:00-13:00 (wrong syntax in fee:conditional).

fee:disabled=* is also available to directly specify whether a fee applies to handicapped users; e.g., where a fee is waived for them.

See also