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

Hello:

May I know an example query to get all routes in a circle, where circle is defined by a center point with radius in meters.

It would be good to have routes(segments) with points(like start and end) geolocations.

Thanks.

asked 13 Feb '18, 13:59

bingillli's gravatar image

bingillli
11112
accept rate: 0%

1

about what are you talking ("example query")? Which software, language, ...?

(16 Feb '18, 23:16) aseerel4c26 ♦

May I know whether there is rest api for such query?

(22 Feb '18, 14:17) bingillli

You still need to tell us what software you're working with. OSRM? Graphhopper? Something else? When you say "all routes", do you really want every possible route from every possible point to every possible other point in that circle (which doesn't seem useful and would probably consume a lot of computing power and storage)? Or is it route relations that you want to get? If you can tell us more about what end-result you're trying to reach, you'll probably get more help.

(22 Feb '18, 16:50) alester

thanks for your reply. We need every street/road/avenue geolocation in the circle. but it is also good if we can just get all intersections in circle. Circle radius size can not be very large, e.g., 100~200 meters

Currently, we use geonames web rest api findNearbyIntersectionOSMJSON. We want to know if there is similar software or rest api.

(22 Feb '18, 17:03) bingillli

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:

×43
×9

question asked: 13 Feb '18, 13:59

question was seen: 1,417 times

last updated: 22 Feb '18, 17:03

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