|Indicates whether a feature is lit.|
|Used on these elements|
|Status: de facto|
|Tools for this tag|
The key lit=* indicates the presence of lighting.
Most often used on a way tagged with highway=* but sensible on many other ways, too. Can be used as well on advertising devices tagged with advertising=*.
- lit=24/7: Both night and day; e.g. in tunnels.
- lit=yes: At night (unknown time schedule or daylight detection)
- lit=automatic: When someone enters the way the lights are turned on.
- lit=disused: There are lights installed, but never used.
- lit=no: There are no lights installed
- lit=operating times: Use the schema of opening_hours to document when the light is ON, when the lighting is solely or primarily time dependent. For example lit=Mo-Fr 05:00-07:45 for a way lit for working days' morning rush hour only, or lit=sunset-sunrise for a way lit from sunset to sunrise.
- lit_by_gaslight=yes: For streets lit by gas lighting.
- See also later attempts for details in Proposed features/Key:light_source
lit=* can be used on nodes, ways, areas or relations.
- highway=* - Roads and paths
- highway=crossing - Pedestrian crossings
- advertising=* - Advertising devices
- man_made=flagpole - Flagpoles
- Soccer stadiums
- Parking lots
- Bus or tram stops
The lit= tag on ways is infrequently rendered.
- OsmAnd can show lit and unlit ways (to differentiate from ways without lit= data at all). Turn it on in Configure Map -> Details -> Street Lighting.
- Trail Router highlights lit ways ("unlit" ways might simply have no data) when you enable Avoid unlit streets in the settings. Note that the data is about half a year old as of December 2020 (grass and other features are up to date, but the lit layer is 3-9 months out of date).
- Map evaluating lit tag, seemingly meant to validate hours during which a way is lit. Performs an Overpass query and draws circles on ways with a lit tag, i.e. does not render whether a way is lit, merely which ways have data available. It also shows errors for most values, which can be safely ignored.
For rendering of individual lamp nodes, confer with the Rendering section of the street_lamp article.
Possible tagging mistakes
There are quite a lot of variations in lit-tagging, some commonly used not-listed values are: