Live data from Hacker News

Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps

github.com

31–40 of 84 posts

Re: Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps

#31
post #29

While useful, this still uses a server to process tile requests. Why not https://github.com/protomaps/PMTiles ? For the record, I am currently using maptiler over at https://citybik.es to serve tiles, and I am evaluating moving to serving static pmtiles on range requests to cut the middle man

PMTiles is great, but there's a risk hosting multi-gb files on metered hosting -- a client might not respect range requests and you open yourself up to a denial of wallet attack.

I can't really see doing it on S3, unless it's behind a lightweight tile server. I'd do it on hetzner or linode or one of the lower cost bandwidth providers.

(edit -- citybik.es is pretty cool, are you backing up to GBFS or a different set of data feeds? e.g. https://github.com/MobilityData/gbfs/blob/master/systems.csv is a list of ~ 800 gbfs feeds, some dockless, some docked I've done a bit of work in this space, feel free to ping me)

Re: Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps

#32

Image, screenshot, Gifs, anything really so I can see what it looks like before allocating 90GBS would be nice.

90 is okay, when I did years ago I was on 300+ but it doesn't really state which zoom level is available.

Is there any explanation why it has decreased in size?

Re: Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps

#33
post #29

While useful, this still uses a server to process tile requests. Why not https://github.com/protomaps/PMTiles ? For the record, I am currently using maptiler over at https://citybik.es to serve tiles, and I am evaluating moving to serving static pmtiles on range requests to cut the middle man

Hosting maps of the entire planet in a single file doesn't seem practical. How do you keep it updated? PMTiles is good for small local maps, but I don't think they're meant for this scale.

Re: Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps

#34
post #2

I wish the readme explained what this project actually was instead of the incredibly vague and unhelpful "self host the entire planet".

> incredibly vague and unhelpful As is very common with projects on Github. They should have a paragraph at the start explaining simply what they do.

Copilot could easily scan and auto generate the read me.

Re: Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps

#36

Earlier quoted context omitted.

Still barely more detailed. The problem with the whole OSM ecosystem is that it expects a lot of domain knowledge of technologies, formats, tools, their relations and features, limitations, that is rarely explained well, or explanaitions are often terribly outdated. Feels much like the JavaScript Frontend frameworks for an outsider, it is a lot of effort to get to an overview and understanding, despite the concepts a…

Usually this is a sign of a project that isn't ready for a lot of attention. It's very brave and a little bit stupid to offer Open Source to the world (especially without a sustainability plan), if you put a lot of effort into 'marketing' at an early stage you've probably just overpromised to people not focused on that domain, won't be able to deliver, and will burn out, and it will become yet another abandoned proje…

I can’t tell if your comment was meant to be ironic but OSM has been around for 20 years, and its data is used by billions of people.

Re: Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps

#37
post #29

While useful, this still uses a server to process tile requests. Why not https://github.com/protomaps/PMTiles ? For the record, I am currently using maptiler over at https://citybik.es to serve tiles, and I am evaluating moving to serving static pmtiles on range requests to cut the middle man

Hosting maps of the entire planet in a single file doesn't seem practical. How do you keep it updated? PMTiles is good for small local maps, but I don't think they're meant for this scale.

I assumed you would keep it updated the same way you do with mbtiles, but I see that mbtiles are an sqlite so I guess you can do atomic updates with mbtiles.

Note though that there are many cases on which served tile information rarely changes. A lot of us are serving a once-downloaded mbtile file and are using this just to _not_ use a provider (mapbox, ...)

Re: Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps

#39
post #11

OSM is OpenStreetMaps. This appears to be a server to locally mirror the ~90GB global tile set and serve them with your choice of style to OSM client applications.

It's not OpenStreetMaps, it's OpenStreetMap.

Re: Show HN: Simple Mbtiles Server – Self-host the entire planet of OpenStreetMaps

#40
post #29

While useful, this still uses a server to process tile requests. Why not https://github.com/protomaps/PMTiles ? For the record, I am currently using maptiler over at https://citybik.es to serve tiles, and I am evaluating moving to serving static pmtiles on range requests to cut the middle man

PMTiles is great, but there's a risk hosting multi-gb files on metered hosting -- a client might not respect range requests and you open yourself up to a denial of wallet attack. I can't really see doing it on S3, unless it's behind a lightweight tile server. I'd do it on hetzner or linode or one of the lower cost bandwidth providers. (edit -- citybik.es is pretty cool, are you backing up to GBFS or a different set o…

Will keep that in mind if I go that route.

GBFS is just one format of the many supported. This is where we keep all instance data https://github.com/eskerda/pybikes/tree/master/pybikes/data . This is the list of GBFS systems we have https://github.com/eskerda/pybikes/blob/master/pybikes/data/...

Post reply on HN