[Qgis-developer] extract traffic signal positions from OSM data

Barry Rowlingson b.rowlingson at lancaster.ac.uk
Mon Jun 7 06:51:00 EDT 2010


On Mon, Jun 7, 2010 at 11:28 AM, Anita Graser <anitagraser at gmx.at> wrote:
> Hi,
>
> I noticed that on openstreetmap.org, you can see positions of traffic signals (traffic lights). When I download OSM data of the same region using Openstreetmap plugin 0.5, it seems like these points are not downloaded. From their wiki, I found that it should be a "highway" attribute, but in highway column I only saw "bus_stop" entries.
>
> Does anyone know how to download information on traffic lights from OSM via the existing plugin or where I should apply changes?

 I've just grabbed some OSM data using the OSM API, and traffic
signals are tagged thus:

 <node id="2405151" lat="54.0449694" lon="-2.7991142" user="Darren
Poulson" uid="23507" visible="true" version
="2" changeset="621616" timestamp="2008-01-13T14:08:27Z">
  <tag k="highway" v="traffic_signals"/>
 </node>

 That was in the XML returned by:

wget "http://api.openstreetmap.org/api/0.6/map?bbox=-2.80,54.042,-2.77,54.045"

 so I don't know why you're not seeing them, unless you didnt get the
right area....

Barry


More information about the Qgis-developer mailing list