faq 101187628 - matsim-org/matsim-code-examples GitHub Wiki
by JakobT on 2016-12-19 13:48:39
Hey, how can I determine the Link-ID if I have X-,Y-Coordinates?
For Example:
I know there is something at Position (200, 100). How do I get the corresponding Link to that Position in my network?
by Marcel Rieser on 2016-12-19 16:30:49
Have a look at org.matsim.core.network.NetworkUtils.getNearestLink(network, coord)
.