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

Hi all,

I am trying to get the roadname for a specifi road. For this I use an xapi query with the bounding box set as small as just a point on a road (as retrieved from google maps). http://open.mapquestapi.com/xapi/api/0.6/way[highway=*][bbox=5.405231,51.466303,5.405231,51.466303]

While the bounding box is on a road called N2 the result is also containing a road called A2 which is next to it.

Can anybody tell me what I am doing wrong here?

Thanks in advance

asked 05 May '13, 01:22

JLambregs's gravatar image

JLambregs
11112
accept rate: 0%

1

you even have a third way ... a cycleway!

Maybe that the mapquest API is rounding the coordinates so a bigger bbox is the result?

Have you tried do that query at http://wiki.openstreetmap.org/wiki/Overpass_API ?

(05 May '13, 18:32) stephan75
1

Please note also that the Mapquest API got stuck with old data from even before the license change. Maybe this is also an old and already busted bug.

(06 May '13, 07:43) Roland Olbricht

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×92
×91
×32

question asked: 05 May '13, 01:22

question was seen: 2,556 times

last updated: 06 May '13, 07:43

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