NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum


When using when I zoom in on a city I can see street lights on a junction. However they are not clearly visible due to their small size and the numerous other small symbols.

I would like to view every traffic light in a city to compare with this post which displays every traffic light in a Dutch city.

Is there a way of filtering the key to only display traffic lights, and when zoomed out?

asked 12 Mar '14, 14:24

WheelsOnTheBike's gravatar image

accept rate: 0%

you write "street lights" in the title. But you are not referring to lighting, right? Maybe change this to "traffic light / signals" then.

(12 Mar '14, 15:56) aseerel4c26 ♦

Yes, this is possible. For example by using the Overpass API or overpass turbo.

Here is an example using overpass turbo:

<osm-script output="json">
    <query type="node">
      <has-kv k="highway" v="traffic_signals"/>
      <bbox-query {{nominatimBbox:Dresden}}/>
  <print mode="body"/>
  <recurse type="down"/>
  <print mode="skeleton"/>

It will display all traffic signal for the city Dresden. If you choose to use the Overpass API instead, you will have to replace the {{nominatimBbox:Dresden}} keyword with the bounding box of the corresponding city, because nominatimBbox is an extension specific for overpass turbo.

permanent link

answered 12 Mar '14, 15:19

scai's gravatar image

scai ♦
accept rate: 23%


Perfect, thank you.

(12 Mar '14, 15:56) WheelsOnTheBike

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 12 Mar '14, 14:24

question was seen: 7,609 times

last updated: 12 Mar '14, 15:56

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum