solidrockit / OpenMove

An open source distributed multi-modal trip planner, based on OpenTripPlanner
http://www.open-move.org
3 stars 0 forks source link

Some remote searches end in the Shared Vertex #3

Closed aiol closed 10 years ago

aiol commented 11 years ago

Some route searches which contain a desination or origin in a neighbor en in the shared Vertex unexpectedly. I think the problem lies in getClosestVertex method in StreetVertexIndexServiceImpl.java

This method returns the sharedVertex instead of a remote location.

I have tried with the following coordinates: From: 43.315529,-1.981272 To: 42.854644,-2.683214

aiol commented 11 years ago

I think it is related with the distance between shared vertex and remote destination vertex