This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Pass longitude and latitude as a url parameter to find maxspeed.

0

Hi,I am new in OSM first of all appreciate your work. I want to pass longitude and latitude to boundingbox.I don't have min and max longitude and latitude. for example:www.overpass-api.de/api/xapi?[maxspeed=][bbox=5.6285261,50.534884] but it is not working.It is working if i pass with: www.overpass-api.de/api/xapi?[maxspeed=][bbox=5.6283473,50.5348043,5.6285261,50.534884] could you please put your view. Thanks in advance

asked 28 May '15, 10:56

Gauravk's gravatar image

Gauravk
16557
accept rate: 0%

2

Could you describe in a few more words what you are actually trying to do - what your end goal is?

(28 May '15, 12:11) SomeoneElse ♦

3 Answers:

0

Hi, I understand that you just have the one position and you are looking for generating the bounding box. You can generate the bounding box by giving the length as normalization values.

thanks

answered 28 May '15, 16:12

madhupanga's gravatar image

madhupanga
1
accept rate: 0%

0

My end goal is to find the speed limit.I have longitude and latitude only. How can I pass longitude and latitude value as a parameter into URL to find the speed limit or Maxspeed.

answered 18 Jun '15, 13:45

Gauravk's gravatar image

Gauravk
16557
accept rate: 0%

edited 18 Jun '15, 13:50

0

Maybe you van try the "radius" Parameter?

see Overpass_QL and search for "radius" ... Success?

answered 18 Jun '15, 17:01

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

Thanks for you reply Still no luck.

(22 Jun '15, 09:47) Gauravk

Source code available on GitHub .