Key:parking:lane

From OpenStreetMap Wiki
Revision as of 07:12, 5 March 2012 by Kay D (talk | contribs) (merged two key boxes to one (for the sake of language links))
Jump to navigation Jump to search
Public-images-osm logo.svg parking:lane
Parkingonstreetlanes2nowide.png
Description
Cars parking on the street Edit this description in the wiki page. Edit this description in the data item.
Group: parking
Used on these elements
should not be used on nodesmay be used on waysshould not be used on areasshould not be used on relations (except multipolygon relations)
Requires
Useful combination

parking:lane:both

parking:lane:left

parking:lane:right

parking:condition:both

parking:condition:left

parking:condition:right

parking:lane alone (do not use)

Status: deprecatedPage for proposal

two merging arrows

It has been proposed that this page or section be merged with Key:parking:lane:both. (Discuss)

Summary

This key defines whether or not the streets have parking, and in which side.

It should not be required or even encouraged that the ways would be split for short implicit parking prohibitions; that is just before and after a junction or a driveway.

For parking in designated areas, please see Tag:amenity=parking.

Lane Parking

Lane parking extends the tag highway=x by adding two informations to it, first, the physical space, second, the legal properties of the place.

Specifying the parking space

The parking:lane tag is used to describe the "physical" properties of the road. This means space properties.

The left and right hand side are differenciated by appending :left, :right, or :both to the parking:lane tag. It is intentional to use left and right instead of forward and backward, because parking space is about location, not direction. E.g. a one-way has sometimes parking space at the left and at the right hand side, but no "backward" parking.

Possible tag values are:

  • parallel
  • diagonal
  • perpendicular
  • marked
  • no_parking
  • no_stopping
  • fire_lane

Please note that the latter three are considered "physical" tags, this means: parking is not possible, so no parking:condition tag (see below) is required in those cases.

Tag Description
highway=x Generic tag for the highway in question.
parking:lane:side=type side is always left, right or both.

type is parallel, diagonal, perpendicular, marked, no_parking, no_stopping or fire_lane.

Examples

  • parking:lane:both=parallel -- both on the left and right hand side parallel parking is possible.
  • parking:lane:right=perpendicular -- on the right hand side you can park perpendicularly.
  • parking:lane:both=marked -- there are only some parking spaces available that are individually marked.
  • parking:lane:left=fire_lane -- stopping is not possible on the left hand side due to fire considerations. (Normally there will be a sign for this.)

Possible Enhancements

Specifying the maximum capacity for a given stretch of parking (especially for parking:lane:side=perpendicular)

  • parking:lane:right:capacity=9
  • parking:lane:right:capacity:disabled=2

Specifying the parking conditions (terms)

The parking:condition tag describes the legal properties of the parking space. The left and right hand side are differenciated by appending :left, :right, or :both.

Possible tag values are: free, ticket, disc, residents, private, (disabled?)

Tag Description
highway=x Generic tag for the highway in question.
parking:lane:side=type side: left, right or both.

type is parallel, diagonal, perpendicular. (For other types, the condition tag makes little sense.)

parking:condition:side=type side: left, right or both.

type is free, ticket, disc, residents, customers or private.

Depending on the condition, some addtional information needs to be given:

free: No additional information is required.

ticket: To be discussed. Maybe add a parking:condition:side:fee_per_hour=1 € tag

disc: Add a parking:condition:side:maxstay=2 h tag. This means you may park here for upto 2 hours.

residents: Add a parking:condition:side:residents=A tag. This means "parking only for residents with permission A" (With A being the identification of the permission). Resident permit

customers: No additional information is required. This means you are only allowed to park here if you are a customer of the shop that owns this parking space (or a visitor of a site, or a guest of a hotel, or similar).

private: No additional information is required. This means you are only allowed to park here if you rented the parking space (or have a permission of the owner).

Possible Enhancements

Maybe add a

  • disabled=[yes,no]?

Specifying time intervals (optional)

In many occasions, parking conditions are time limited. This can be specified by using the following tag: parking:condition:side:time_interval=interval. interval specifies both sets of weekdays and times, plus it can be multiplied. It uses the same syntax for values as opening_hours.

The format is complicated to define technically, but easy to understand by examples:

  • 12:00-14:00 means: "every day from 12:00 until 14:00"
  • Mo-Fr 00:00-24:00 means: "every weekday (except Saturday and Sunday)"
  • Su 20:00-06:00 means: "Sunday night from 20:00 until (Monday) 06:00"

Intervals may be joined by semicolons with optional whitespace:

  • Mo-Fr 09:00-20:00; Sa-Su 09:00-12:00 means: "Weekdays 9 to 20, and weekends 9 to 14"

This tag is applicable especially for disc and residents parking.

Tag Description
parking:condition:side:time_interval=interval side: left, right or both.

interval is something like Mo-Fr 12:00-14:00

Specifying maximum stay limits (optional)

Please use parking:condition:side:maxstay to specify maximum stay limits. Use it consistently with the format described here. This tag is applicable especially for disc parking.

Example tagging

Sign Tags
free parking:lane:right=parallel
parking:condition:right=free
parking:condition:right:time_interval=18:00-10:00
(Please see discussion about default rules)
disc parking:lane:right=perpendicular
parking:condition:right=disc
parking:condition:right:maxstay=1 h
parking:condition:right:time_interval=Mo-Fr 09:00-18:00;Sa 09:00-14:00
Anwohnerparkplatz parking:lane:right=parallel
parking:condition:right=residents
parking:condition:right:residents=S7
Anwohnerparkplatz mit Zeitbeschränkung parking:lane:right=parallel
parking:condition:right=residents
parking:condition:right:residents=S7
parking:condition:right:time_interval=16:00-06:00
customers parking:lane:right=perpendicular
parking:condition:right=customers
private parking:lane:left=perpendicular
parking:condition:left=private
no parking parking:lane:left=no_parking
(no parking:condition to be supplied)
no stopping parking:lane:left=no_stopping
(no parking:condition to be supplied)
fire lane parking:lane:left=fire_lane
(fire_lane implies a "no stopping" parking condition, so no parking:condition to be supplied)
resident parking Discussed at the discussion page. --User:kay_D

Example area with various tags and sample rendering

An example area with lots of those tagging already done is here: OSM (or Edit in JOSM); Wikimedia Toolserver.

The respective area could be rendered (possibly as a layer) like this: Rendered Parking Layer

Please see one street tagged with a JOSM screenshot

JOSM Screenshot var>type

Current progress

Kay D 11:49, 14 February 2010 (UTC): I managed to set up ProstgreSQL and Mapnik. A quick stylesheet hack that displays parking:lane:side parallel in green, no_parking in dark-yellow and no_stopping in orange.

Kay D 20:36, 28 February 2010 (UTC): brushed up the style sheet, added a transparent layer.

Parking-lane-map.png

Live server

I put up a live server where you can see some areas with parking tags, e.g. Würzburg, Germany, Rio de Janeiro, Brazil and Helsinki, Finland.

Here's a list of other places with added parking information (please feel free to add yours):

Please note that when you add parking information for your streets, the tiles are not automatically refreshed. So after upload, wait a few minutes, load the respective tile (use "Open image" in the browser), e.g. http://toolserver.org/tiles/parking-bw/17/74619/37909.png and manually add "/dirty" to the URL (e.g. http://toolserver.org/tiles/parking-bw/17/74619/37909.png/dirty. After the response that the image is submitted for rendering, go back and load the image(s) again (may take some seconds) and refresh your browser completely (use permalink). See here for an explanation.

Examples

Some pictures of different roads and how to tag them are in Key:parking:lane/Examples.

Using with JOSM

There a simple tagging preset and a style file for JOSM editor available. You can activate them in Preferences > Map settings.

activate parking lane style in josm
How to activate the style

JOSM map display (MapPaint) is now able to to show direction dependent styles, so it shows the parking lanes and conditions for each side of the way. The colours shown in JOSM match the ones on the parking map. code>right/var>:residents=Acode>Su 20:00-06:00lat=47.98742 /var>:maxstay=2 h lat=45.22629 code>no_parkingcode>customers/code>

Specifying time intervals (optional)

In many occasions, parking conditions are time limited. This can be specified by using the following tag: code>:right