Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#3805 closed enhancement (fixed)

Tag "Lit"

Reported by: HB9DTX Owned by: ce
Priority: normal Milestone:
Component: Internal preset Version:
Keywords: highway; tags; Cc:


The tag "lit" telling whether an object is lit or not by night. Especially this is usefull for street. The proposal is to add an optional attribute to the "highways" in OSM, this means all the highway that are in the "streets" menu. It's not usefull to add this option to tracks and path, as they are very seldom lit.

Attachments (0)

Change History (6)

comment:2 Changed 10 years ago by stoecker

Component: CoreInternal preset
Owner: changed from team to ce

comment:3 Changed 9 years ago by HB9DTX

I am not a java programmer, and I don't have any tool to compile and check this but as far as I have understood the code, the "problem" lies in the preset.xml file. Adding a line like this:

<check key="lit" text="Lit" default="off" delete_if_empty="true" />

to each of the roads may be the solution. This includes:

  • motorway
  • motorway_link
  • trunk
  • trunk_link
  • primary
  • primary_link
  • secondary
  • tertiary
  • unclassified
  • residential
  • living_street
  • pedestrian
  • service
  • service/parking_aisle
  • road
  • junction/roundabout

and optionnally:

  • Bridge
  • Tunnel
  • steps

comment:4 in reply to:  description Changed 9 years ago by skyper

Replying to HB9DTX:

It's not usefull to add this option to tracks and path, as they are very seldom lit.

I have many path that are lit, and I think it is more irritating if it is not shown for tracks than the advantage of saving a little bit of space.

comment:5 Changed 9 years ago by ulfl

Resolution: fixed
Status: newclosed

fixed in svn 3575

comment:6 Changed 9 years ago by HB9DTX

Works fine. I've translated the tag in french as well on Lauhchpad. Thanks for the efficient work.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain ce.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.