Ask HN: Setting up a custom map server do's and don'ts

4 points by amaldavid ↗ HN
Hi all, I'm trying to setup a custom map server for a field tracking service. I have used the below setup to host one.

https://hub.docker.com/r/overv/openstreetmap-tile-server/

However, I'm trying to optimize this to run in a low cost hardware and specifically only rendering Asia maps. I'm successful till this but would still appreciate some help on making it performant/optimizing this.

Also, I'm trying to add a bunch of layers (similar to mapbox) on top of the base map and looking for open source solutions for it. Ideally all of them should be run in an offline setup, so can't have any dependencies over the internet.

4 comments

[ 0.21 ms ] story [ 22.9 ms ] thread
Have you looked at QGIS? You can drag OSM files onto it and add layers from loads of different data sources. It's a GUI app that runs on Windows, MacOS and Linux.
QGIS is not really meant for generating basemaps (as in: what OP wants to use will be more optimized).

It can, however, be used for any lightweight overlays (with QGIS Server). I remember someone from the Polish community set up some OSM data QA that worked quite fine.

I did look at QGIS but it seems to be limiting the custom functionalities we want to add on top of the map layers which is easily available over a JS library like openlayers.

I ruled out QGIS simply because of the fact that it's a native app and not a JS library.

Ah okay, makes sense. I'm looking forward to seeing what suggestions land here.

Also, Paul Ramsey's pg_tileserv isn't on your radar, is it?

Also, LeafletJS supports GeoJSON overlays.