From OpenStreetMap Wiki
Jump to: navigation, search

Maxstay 10 minutes with Emergency Lights

In front of many farmacies in Brazil there are a special zone marked with "Maximum stay 10 minutes with emergency lights flashing, only for customers of the farmacy <name>. According to municipal law of xxxxxxx". How should this be tagged? --Skippern 14:42, 28 December 2009 (UTC)

IMHO Simply as maxstay=10 minutes maybe together with access=permissive. Nothing/nobody looking for a real parking place is going to be interested in something with that short a duration. Furthermore people (end users) are equiped with eyes and brains to figure out the rest. --Cartinus 13:13, 29 December 2009 (UTC)

Format of value

Wouldn't it be better with a more machine readable value of maxstay than f.ex '3 hours'. How about using 00:30 for 30 minutes and so on? (Similar to duration=*) --Gorm 17:19, 15 June 2012 (BST)

This is the ISO 8601 ;-) --Pyrog (talk) 06:37, 28 November 2014 (UTC)

Time value of "maxstay"

While I am checking Tagwatch (for Germany), I've found 52 different kinds of given time values, which are used to describe the Time of legal parking. I think this is a big problem if you want to use this Information for routings or things like this. Maybe it could be better to specify the time of maxstay by defining the time in hours.

For example

  1. You're allowed to park for one hour: maxstay=1
  2. It's allowed to park for 15 minutes: maxstay=0.25

I know that using hours to define the value, needs to recalculate minutes or day values in a hour value, but it makes it simpe to use maxstay and hopefully we haven't furthermore 52 different kinds of time values. Also you have to think about, that parking permissions for some days, are the exeption. Maybe at an Airport you have "Holliday parking" for 5 days and that are only 120 hours (maxstay=120).

While some standardization would be in order, I think that explicitly stating the unit (and allowing different units) is not a problem. It's not different from other values like speed (which can be given in km/h or mph), distances (km, m, foot/inches) and so on. As long as we agree on a set of acceptable units, it's not hard for software to do the conversion. --Tordanik 14:45, 3 May 2014 (UTC)
For what it's worth, there is an ISO standard for time durations which would remove all ambiguity and settle the issue that way (since after all, the entire world only does use one standard set of time intervals), at . The software would have to do conversion, but it would only have to convert exactly one standard string type. Skybunny (talk) 23:46, 8 July 2014 (UTC)
+1 --Pyrog (talk) 06:37, 28 November 2014 (UTC)
+1 for using ISO 8601.--Stemby (talk) 01:22, 27 February 2016 (UTC)
Tordanik proposed to use just one unit (hours) to avoid recalculations when the data is used. Changing the representation to ISO 8601 doesn't address his issue as also ISO 8601 allows different representations of the same duration (e.g. PT2H, PT120M, etc.). Instead, to address Tordanik's issue, unlike Tordanik I would not require users to use a specific unit when tagging a duration but rather recommend that OSM data users recalculate all 'maxstay' values once before usage, e.g. as part of the process when original data from the OSM database is filtered and compressed to the data base file that is later used by the router. --Biff (talk) 00:13, 3 June 2016 (UTC)

Disc parking

Hi, how to map disc parkings? For example, maxstay=1 hour but only from 08:00 to 18:00, and after free parking?--Stemby (talk) 10:22, 31 December 2015 (UTC)

I suggest to use 'Time and date' condition in Conditional_restrictions#Condition
maxstay=1 @ (08:00-18:00)
--Pyrog (talk) 15:21, 4 January 2016 (UTC)

Infinite Max Stay?

To default out of maxstay time limits (the standard restriction in Australia that needs defaulting)

parking:condition:left:maxstay:default = ???

I propose parking:condition:left:maxstay:default = none

Samuelrussell (talk) 23:44, 1 April 2016 (UTC)

Default unit

This page provides no explicit default unit for the value of this tag. The discussion appears to indicate that the default unit should be 'hours'. However, the German page defines that the default unit is 'minutes'. Taginfo shows that both units have apparently been assumed to be the default (values such as 1 and 240 appear there and I suppose this means 1 'hours' and 240 'minutes' but that's just an assumption). To resolve this issue , I would recommend to explicitly state (both here and on the German page) that no default unit exists and that the unit always needs to be provided. --Biff (talk) 00:36, 3 June 2016 (UTC)