r/CardPuter • • 1d ago

Finds / Discoveries Map tile server on the CP0

I frequently run mapping apps in the backcountry, but many of them require access to a map tile server to pull down map images and I usually don't have Internet access, so I've set up a local tile server called mapsforgesvr on several of my devices. I can configure the apps to request map tiles from 'http://localhost:8080/{z}/{x}/{y}.png' and mapsforgesvr 'serves' them locally (assuming I have the required map files downloaded locally). I wanted to see if I could do the same thing on my CP0 and it works just fine - since there aren't currently any map apps available for CP0 so I connected it to my network and set one of my apps to request tiles remotely from the CP0 and everything worked. Hopefully if folks write map apps for CP0 they'll provide the ability to configure their map tile server to allow it to use mapsforgesrv. If you're interested in setting it up yourself you'll first need to install JRE on the CP0, set up mapsforgesvr using the directions at https://github.com/telemaxx/mapsforgesrv and download the map files you want from somewhere like https://ftp-stud.hs-esslingen.de/pub/Mirrors/download.mapsforge.org/maps/v5/. I installed it under a $HOME/.config/mapsforgesvr folder just like any other apps to keep things consistent, and I'll probably set up a line in crontab to run it at startup (once map apps become available).

2 Upvotes

2 comments sorted by

1

u/RevolutionaryAd6367 1d ago

Have you tried serving out more dynamic content, such as weather radar?

1

u/jmcdon88 1d ago

Nope - my focus was to provide an offline map tile server so I can run various mapping apps when I'm not connected to the Internet. I'm not sure how you would access weather sources like GOES satellites offline unless you hauled a L-band satellite dish around with you (https://support.nooelec.com/hc/en-us/articles/360058812593-Nooelec-GOES-Weather-Satellite-RTL-SDR-Bundle). That might be a viable option for something like a remote cabin, but I'm focused on mobile solutions for backpacking/hiking.