Key:maxstay

From OpenStreetMap Wiki
Jump to navigation Jump to search
Public-images-osm logo.svg maxstay
Max stay cropped.png
Description
Maximum time you are allowed to stay somewhere. Edit or translate this description.
Group: Restrictions
Used on these elements
may be used on nodesmay be used on waysmay be used on areasshould not be used on relations
Useful combination
Wikidata
Status: approvedPage for proposal

This key allows the specification of the maximum time that it is allowed to:

  • park your car
  • moor your boat
  • stay at a campsite

etc.

Examples

Time conditional restrictions (also known as disc parkings) can be tagged by using 'Time and date' condition:

  • maxstay:conditional=1 hour @ (08:00-18:00) (or maxstay= 1 hour + maxstay:conditional=no @ (18:00-8:00), depending on whatever it is better for simple data consumers to show sometimes wrong "no maxstay" or sometimes wrong "1 hour maxstay")
  • amenity=parking + maxstay= 1.5 hours + access:conditional=no @ (Su,PH) . Maxstay is overruled by access conditions. In this case, parking is generally allowed for 90 minutes, but no parking on Sunday and public holidays.

Maxstay=0

Some mappers indicate a maxstay of 0. This might mean either of the following things:

  • there is no sign indicating a maxstay. This can be indicated unambiguously with unsigned=maxstay
  • it is forbidden to stay, only stop. This can be indicated with maxstay=load-unload
  • it is permitted to stay for an unlimited period. This can be indicated with maxstay=no or maxstay=unlimited
  • access is not allowed at all - use access=*, possibly also with access:conditional=* for that

maxstay without unit

Values such as maxstay=180 are among the most popular, meaning is unclear.

See also