B
B
bow2015-08-22 19:25:59
PHP
bow, 2015-08-22 19:25:59

How to find all the settlements included in the route on the map?

HTTP request Google map API get a route from city A to B. How to find out the settlements included in this route?
I, in principle, do not need the map itself and the interface, I am only interested in the list of settlements in the route.
I came across an interesting RouteBoxer
library, but it is desirable for me to execute a request on the server side (node.js or php)
OpenStreetMap - it seems to be a bit complicated for me.
In which direction to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Serykh, 2015-08-27
@seryh

Well, as an option:
1. Have a database with polygons of settlements, you can import from OSM
2. Run a cycle through the waypoints, checking the occurrence of these polygons in your database,
is done with a simple SQL query.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question