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.


asked 13 Feb, 13:59

bingillli's gravatar image

accept rate: 0%


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

(16 Feb, 23:16) aseerel4c26 ♦

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

(22 Feb, 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, 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, 17:03) bingillli
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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



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:


question asked: 13 Feb, 13:59

question was seen: 254 times

last updated: 22 Feb, 17:03

powered by OSQA