I’m trying to use Graphhopper in Spark to find routes from a very large data set. Does anyone know of any documentation/examples for doing this?
Alternatively, some specific questions which I’m stuck with:
importOrLoadis unlikely to work as it’s referring to a folder on a single filesystem (which clearly won’t work distributed, but also means there might be problems with the locks used.) It’d work best in Spark if I could have my
*.pbffile in HDFS … but I’m not sure how I’d get that to work in Graphhopper.
- alternatively it seems I could serialize a Graphhopper instance (with the OSM info already loaded), but I’m not sure if that’s possible …
PS - I’ve managed to get it running in Spark as a non-distributed task, but that’s not too useful.