Skip to content

Route addition automation, README cleanup and additions#93

Open
hadasah wants to merge 4 commits into
mainfrom
automated-route-and-more
Open

Route addition automation, README cleanup and additions#93
hadasah wants to merge 4 commits into
mainfrom
automated-route-and-more

Conversation

@hadasah

@hadasah hadasah commented Jun 20, 2026

Copy link
Copy Markdown
Collaborator

Tried to remove some friction from route addition and improve documentation for the future.

  1. Automation of route addition from a url or GPX. Almost no manual labor is needed now, once the route has been traced out.
  2. README.md cleanup + additions. Documented the new feature, added missing information on setup, cleaned up the style and writing, added a filetree.

Planning to do a little more cleanup, but no new features planned (for now)

hadasah added 4 commits June 19, 2026 17:32
Add utils/onthegomap.py with functions for converting between
OnTheGoMap URLs (short/long), coordinates, and RCR-format GPX
files. Includes USGS 3DEP elevation fetching with Open-Meteo
fallback, polyline encoding/decoding, and URL shortening.

Add _bin/import_route.py CLI that automates the full route
import pipeline. Auto-generates short OnTheGoMap map URLs
when --map-url is omitted.

Rewrite README with updated route import docs and project
structure filetree.
When normalize_gpx.py warns about a route being far from any
known location, print a ready-to-edit python3 command that
inserts a new location entry into locations.geojson with
placeholder id/name and auto-filled coordinates and maps URL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant