Hacker News new | ask | show | jobs
by boramalper 20 days ago
I think OpenFreeMap and Protomaps shift the complexity from serving tiles to building tiles: the former approach requires a Postgres + PostGIS + Martin + a reverse proxy whereas the latter approach requires nothing but a web server (arguably OpenFreeMap requires a bit more than that, since it uses BTRFS images).

If you are optimising for cost and read-traffic, such as OpenFreeMap, shifting that complexity to a preparation step makes a lot of sense.

1 comments

Yes and no. Agree openfreemap and protomaps have complexity in their tile building systems which they have to build and maintain, but dont think the postgis approach has difficulty serving them at all - its pretty trivial and low code even if a few systems.

I just think the postgis approach works better at both ends of the scale. For large users its a mature, well maintained (by others) and heavily optimised (again by others) system. For small users the benefit of not having to worry about rebuilding individual tiles especially when data updates is a no brainer.

Openfreemap probably has the use case where its pretty close to comparable (set up for osm data so global, large data, very clear use case and feature set to design for, you can update via cadence, enough of a user base to support development, the sell of it all being "one package" is positive for some users, etc.). Whenever i see protomaps, versatiles, tilemaker, maptiler etc. Ive never seen a major use case I can buy into them for.