[Xastir] Local OSM tile server

Lee Bengston lee.bengston at gmail.com
Fri Dec 21 19:21:36 PST 2018


I tried the procedure below today on a cheap laptop with a weak Celeron
CPU.  It definitely took some time, and a chunk of that time was devoted to
correcting some mistakes made along the way. The bottom line, though, is
that it works.

https://switch2osm.org/manually-building-a-tile-server-18-04-lts/

Although the procedure is no picnic, I believe it is somewhat easier now in
18.04 than it was in earlier versions of Ubuntu due to being able to
leverage more binaries from the repository, i.e. build less from source.

About the only things I did differently vs. what's in the article were
naming the database "osm1" instead of "gis", and downloading the osm data
for my current state of residence (WI) instead of Azerbaijan. The data file
for Wisconsin was still downloaded from http://download.geofabrik.de/.  The
tiles don't exactly load fast from the local webserver into Xastir on the
slow laptop, but nothing loads very fast on it.

The next thing to try is to import an adjacent state into the same
database. Individual states don't seem to be taking up a ton of disk space.
Overall this is a great portable offline map solution, but it does take
some work.

Lee - K5DAT


More information about the Xastir mailing list