Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

A poc/playground app to figure out a how to properly produce a trimmed down offline route generator on android

Notifications You must be signed in to change notification settings

Rallista/ValhallaAndroidPOC

Repository files navigation

Valhalla Mobile Build POC

Important

Archived! https://github.com/Rallista/valhalla-mobile publishes all of this functionality as an android library.

Setup

git submodule update --init --recursive

# Build 
./build_protoc_local.sh
./build_wrapper.sh

# Move the wrapper library to the right location for JNI
cp build/arm64-v8a/wrapper/wrapper/libvalhalla_wrapper.so valhalla/src/main/jniLibs/arm64-v8a

Using the demo app

  1. Copy your valhalla.json, tiles tar file and admins.sqlite to the valhalla/src/main/assets to use the defualt FileUtils behavior. See

  1. Ensure the route request includes lat-longs within your tile's bounding box.
  2. Tap make route.

References

About

A poc/playground app to figure out a how to properly produce a trimmed down offline route generator on android

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published