[Qgis-developer] extract traffic signal positions from OSM data
Anita Graser
anitagraser at gmx.at
Mon Jun 7 19:04:53 EDT 2010
Thanks Barry,
I found that the OSM XAPI is pretty powerful. Downloading all traffic
signals is as easy as:
http://xapi.openstreetmap.org/api/0.6/node[highway=traffic_signals][bbox=16.26,48.18,16.31,48.20]
Still the OSM plugin for QGIS doesn't seem to download/interpret/render
traffic signals.
Best wishes,
Anita
Am 07.06.2010, 12:51 Uhr, schrieb Barry Rowlingson
<b.rowlingson at lancaster.ac.uk>:
> 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
--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/
More information about the Qgis-developer
mailing list