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

I search and found query of overpass-api to get speed limit of roads but it get by bounding box. I want to get speed limit of only one road by latitude and longitude of road. How can i do that ?

asked 01 Apr '15, 02:40

KimNamCham's gravatar image

KimNamCham
11113
accept rate: 0%

edited 01 Apr '15, 02:41


Have a closer look at the overpass-api parameter "around" ... maybe at Overpass_API/Overpass_QL

BUT: How will you differentiate when there are other ways around your position that hou have lat lon from?

And: what is the source of your lat/lon?

Is it sure that each coordinate is a single node wich is an element of a certain way?

Or is your lat/lon only "near" any posible street?

permanent link

answered 01 Apr '15, 17:13

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

edited 01 Apr '15, 17:13

My problem is when get information by boundingbox, the information of 1 road is repeated like speedlimits or oneway - when repeated, oneway information of road has different. So, i want to get information of road by 1 latitude and 1 longtidue, example when you click 1 point in map view, you can get information of this road. And i scare when boudingbox is to large, data get so slowly such as query on mobile.

permanent link

answered 01 Apr '15, 18:14

KimNamCham's gravatar image

KimNamCham
11113
accept rate: 0%

edited 01 Apr '15, 18:18

This should have been a comment instead of an answer. But OSQA just throws an error when trying to convert it to a comment :\

(02 Apr '15, 20:31) scai ♦

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:

×223
×167
×147
×54
×31

question asked: 01 Apr '15, 02:40

question was seen: 7,288 times

last updated: 03 Apr '15, 12:00

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