I'm working on a plan to create a "campsite raspberry pi server". It has various features that I think would be useful to a group in the middle of nowhere.

This server will sit on a wifi network that isn't connected to anything else. One thing that I would like to do is be able to have users on the wifi pull down a map using an app or web interface.

I guess my question is multi parted: 1) can I install an OpenStreetMap server on a raspberry pi? 2) what would be the easiest way to get the maps to people who are only connected to this network? 3) can I select what is cached on the server? I would image the entire mapset is pretty large, so maybe only grabbing something smaller like the the local area would be better.

I'm thinking that having them go to something like maps.privatedomain.com in their browser would be easier than trying to force an app to connect to the local server?

I appreciate your input!

asked 08 Mar '16, 04:43

TJZ's gravatar image

TJZ
16113
accept rate: 0%


It really depends on

a) if you want to be able to update the data (that would make things complicated)

b) which services you actually want to provide

Lets assume the answer to a) is no.

If you assume that all connecting devices will be fast enough to do on device rendering, you could serve vector tiles from the device. You migh even be able to provide rough global coverage and detailed local tiles.

Search will be difficult, see http://www.openstreetmap.org/user/SimonPoole/diary/34857 for a potential solution (the XSCE site would be worth looking at in any case).

Routing you might want to have a look at https://graphhopper.com/ or OSRM (OSRM woul require pre-processing on a larger machine).

Naturally if you want to make your life easier and are not doing it for the challenge of craming everything on to a RPi, repurposing an old laptop is likely to work a lot better.

permanent link

answered 08 Mar '16, 08:29

SimonPoole's gravatar image

SimonPoole ♦
37.6k13282597
accept rate: 19%

Thanks for your response!

A) I would want to update the data maybe monthly? back when the pi was actually connected to the internet. would that be difficult? B) I think I need to learn a lot more about open street maps. I didn't realize how many components there were, instead was thinking I could just "cache" an area and serve it locally. Sounds like I need to do some research! C) I'm hoping the RPi3 is going to be powerful enough for my project, which involves more than just the OSM server. It's starting to look like I may be under-estimating my needs here.

(08 Mar '16, 10:27) TJZ
1

It really depends, there are a lot of options and in the end it really depends what your target audience has from a device pov.

(08 Mar '16, 12:41) SimonPoole ♦

Assuming that the people that you want to provide maps for will be away from the server for most of the time, maybe don't try and overthink it and just provide downloads of something like OsmAnd / Maps.me / other app of choice, plus data for the local area (in whatever format the app needs)?

That's assuming that people have got phones, that GPS works on them, and you've got a way of charging them all over the period that you're away.

permanent link

answered 14 Mar '16, 20:18

SomeoneElse's gravatar image

SomeoneElse ♦
31.7k63325737
accept rate: 15%

Your answer
toggle preview

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:

×94
×5
×2

question asked: 08 Mar '16, 04:43

question was seen: 2,830 times

last updated: 14 Mar '16, 20:18

powered by OSQA