When using offline on a mobile (Android) device: How can I calculate the shortest distances between any point and the nearest (small) OSM path?
The offline file with graph/routing data could be used by a library to do the distance calculating. The size could be for a country like the Netherlands.
What kind of paths? I mean especially the smallest paths, like footpaths, hiking trails, etc. I don't need any further routing facilities.
How will I use the data? About 6 years I do geocaching with my onw geocaching app. I use OsmDroid, OsmDroid-with-Mapsforge i.c.m. OsmBonuspack. I work with downloaded mapsforge-v5 downloaded maps.
I am building a lot of AI stuff in my app so that I can guesstimate locations when I can't figure them out. For the last piece of AI I need to determine the shortest distance between any point to the nearest (foot)path.
If offline is too difficult, is there any API that can be called?
An example: I have a series coordinates (or points) in the woods. Which point is nearest to a footpath?
UPDATE: a lot of useful info is found at this location. So, now I only need to use the unpacked and pre-processed stuff to use the detailed API. Anyone experience with a simple main() method that does the trick?