Driving Distance Sort


#1

Is there way to sort by driving distance instead of the crow distance and also display the driving distance.

By driving distance I mean the distance between two points as shown in Google Maps, instead of distance between two points when a crow flies between them.


(David Pilato) #2

Elasticsearch does not know what a road is. So it can't do that OOTB.

I know that some companies are using elasticsearch to compute that but it requires a lot a preparation first and then may be more than one request.
May be you need to store something like paths and distances between major cities or something like this and then use that.

Or may be use in addition to elasticsearch something like Neo4J and store all the roads, paths between cities? And combine search for closest point in elasticsearch with resolve the shortest path in Neo4J?


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.