r/gis • u/rex_on_life • 4h ago
Projects & Feedback I built an offline trail mapping and navigation app with an emphasis on cartography.
[AI Disclosure]: I leveraged AI- Claude Code and (primarily) Opus 5.5, as a development tool for development efficiency (primarily UI/UX), cloud and mobile security architecture, infrastructure design, and documentation/artifact generation. Would I have been able to do this without it? Probably/maybe. Would it have taken me approximately 40 years to complete? Likely.
[GIS Experience]: I have approximately 16 years of professional GIS experience. Of that, about 6 years is in local and county government as a GIS Analyst and Specialist. Approximately 8 years has been in state government as a GIS Administrator and GIS Manager, and approximately two years was in the private sector working at Esri on their Enterprise Geodatabase product support team. I hold a Bachelors and a Masters degrees in Geography with a GIS specialization certificate. If it can be mapped, I enjoy it.
Hello GIS community- I'm a GIS professional, and outdoor enthusiast and wanted to share recent project I've been working on in hopes some of you might find it interesting and/or useful. This project has allowed me to blend my professional and personal passions of GIS, cartography and outdoor/backcountry exploration into an application that I hope may someday help people. This was also a great personal learning experience in various ways to leverage AI to help learn and expedite mobile application development, cloud infrastructure, and other nuanced components where my day jobs hadn't allowed me a great deal of exposure, previously.
With that said, here's Animas: Offline Trail Maps. The app's main focus areas are offline-capable route planning and navigation (along with alerts if/when going off-route), with a fun cartographic twist when it comes to saving completed activities for memory and posterity. Import/export of GPX files, as well as activity summaries (which I call Atlas Plates in the app) are also fully supported.
Currently, I've only built it for Android, but if I'm able to successfully deploy, I hope to port it to iOS next year as well. Current coverage is the US 50 states- though I've considered expanding it to cover more of North America and beyond down the road.
Rationale: Aside from personal curiosity and a good fit for my interests, it seems more and more of the mainstream activity tracking apps/platforms are moving these offline planning and routing features behind expensive recurring subscriptions, and I wanted to try to make this sort of functionality accessible for everyone. In Animas, every user's home state is free forever, and if a user wants to unlock all of the other 49 states, it's a one time small fee which should help keep this sustainable for me (time and cloud infra/storage costs).
Some details on the technical stack for those interested:
Basemap and search
- Protomaps vector tiles as per-state PMTiles (state + ~16 km, z0-15; Virginia 607 MB), rendered with MapLibre Native in a custom style based on the USGS survey sheets.
- Offline place search from an OSM index per state (Virginia: 20,734 places in 0.9 MB). Still evaluating options for geocode-like offline searching.
Terrain
- Terrarium-encoded elevation in PMTiles: 512 px WebP tiles to z12, about 15 m cells. Sources are USGS 3DEP and Copernicus GLO-30, via Mapterhorn.
- Profiles, climb and high points come from the underlying DEM, not the GPS altitude.
Routing and navigation
- BRouter runs on the device on OSM routing tiles (rd5), and reports each route's trail, unpaved and paved shares.
- Off-route alert: more than 40 m off for 2 fixes with accuracy of 35 m or better; resets within 25 m.
Activity Atlas plates (hand-rolled Kotlin/Python, no GPU) - this part has been fun.
- 3D block: raster sweep with a per-column horizon (MapLibre Native has no 3D terrain). The default view is the heading that hides the least route.
- Relief: a color ramp driven by illumination, cast shadows from a 17° sun, an 8-direction sky view, high-pass detail, and browning on slopes over 24°.
- Scale rules: exaggeration from the 75th-percentile gradient, capped by relief; shadow reach in meters; cast shadow capped at about 45%. Tuned on a 2-39 km Bandelier/Jemez ladder.
- Historical base for artistic referencing: USGS HTMC GeoTIFFs read on the phone; NAD27 shift (abridged Molodensky, about 5-10 m); clipped at the neatline; split into tint and ink, with the ink reprinted as sepia. 1:24,000 to 20 km, then 1:62,500, only with full coverage.
- Drawn sheet: under 4.5 km, offline, or with no complete set of sheets. An on-device MVT decoder, DEM contours (marching squares, Chaikin smoothing, about 20 levels) and old-quad colors, then the same inking.
Storage and hosting
- Everything stays in the app's folder on the phone: no account, and no cloud copy or data. Outings are GPX plus metadata; backup is a zip file on the device that the user has full control over.
- State data packs are about 1.3-1.6 GB per state, static files stored on Cloudflare R2: parts of 190 MB or less. Downloaded with Android's DownloadManager (Wi-Fi only, resumable), then joined and checked on the device.
- Historical sheets are fetched per plate when online and kept on the phone, never in the packs.
Sources and licenses
- OpenStreetMap (ODbL), Protomaps (CC0 style), USGS 3DEP, HTMC and NAIP (public domain), Copernicus GLO-30 (free with credit), BRouter (MIT), MapLibre (BSD), Noto Sans and Public Sans (OFL).
I'm continue to work to refine the look/feel, especially of the Atlas plate summaries and 3D renderings of the activity landscape- it's been fun!
I hope you enjoy. If this seems like an app that is up your alley, feel welcome to visit the site I linked above and sign up/join the Alpha test waitlist, which I hope to send invites to within the next 2-3 weeks if I get enough interest (Google Play has an Alpha testing threshold minimum...one of the many things I've learned along the way in this project).
I would love to hear any feedback you all are willing to provide here as well (hard to do without actual app access...I know)- if/when this makes it out of Alpha and onto the Play Store for general availability, I'll be sure to update with a link.
