NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Goal:

  1. Offline Directions (No external API's to Clouds or 2 computers connected to each other)
  2. Human Readable directions returned in a String format (no api's that return nodes with triple nested brackets, no GUI's that create images) It would look like, "Turn left on Bobsland NW and go 100ft, ...".
  3. Can be called from C++ or Python
  4. Runs on Raspberry Pi

This is what sketch of what it should look like:

/*
import selfhostedAPIthing;

selfhostedAPIthing myNav = new selfhostedAPIthing;
myNav.setOSMFile("C://Programs/MyApp/OSMExtract/planet.osm");

String destination;
String modeOfTravel= "walk";
String unitSystem= "metric";
sendToMyCustumAppFunction(myNav.getDirections(GPS.getXY(), destination, modeOfTravel, unitSystem));
*/

Thanks in advance

Suggestions: If you maintain a library that does this, consider mentioning the term human readable directions?

asked 02 Aug '22, 03:19

PhysicsArmature's gravatar image

PhysicsArmature
895511
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×305
×106
×1

question asked: 02 Aug '22, 03:19

question was seen: 698 times

last updated: 02 Aug '22, 03:19

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum