Does anyone know if there is a way to host just a few of the tiles in a static way? For example, if I wanted to build a web page which just shows a map at zoom level 6 for a lat/lng point, and then go to zoom level 13. That would require a tiny subset of tiles; is there a simple way to add the tiles plus the JS code in a static way so no external downloads were necessary?
While useful, this still uses a server to process tile requests. Why not <a href="https://github.com/protomaps/PMTiles">https://github.com/protomaps/PMTiles</a> ?<p>For the record, I am currently using maptiler over at <a href="https://citybik.es" rel="nofollow">https://citybik.es</a> to serve tiles, and I am evaluating moving to serving static pmtiles on range requests to cut the middle man
without a means to update the map, this isn't a breakthrough. I'd rather use protomaps[0](which has regular builds, from a better-known source) with caddy.<p>[0] <a href="https://protomaps.com/" rel="nofollow">https://protomaps.com/</a>
I remember when I worked on a project in 2010-2012 that relied on OSM it took days to set up a part of the system, the documentation was mostly in German or if you were lucky in an arcane bash script, and which part did what required a deep understanding of the entire thing. I don’t need this anymore but this is really nice.
Tangentially related, does anyone know of an open source 3D terrain system?<p>I’ve been thinking of making a native map and globe program similar to Google earth to embed inside a dashboard (visually similar to kerbal space program).<p>So far I was thinking about just using ArcGIS (or something else) and taking in free Lidar data and imposing the depth to satellite or OSM tiles then rendering them as OBJs in OpenGL (or maybe a full 3d engine like unity).
This unfortunately wouldn’t be an automatic process as lidar data is taxing to process in real time, especially for a SBC.<p>I do see that there are some 3D tiles sets out there but I don’t see where I can pull them from nor how it compares to the lidar data.<p>However, the main goal is a 3D terrain viewer in an offline native program.
So I assume if I run this I can aim something like leaflet at it for the map tiles?<p>Any information you have on how production-ready this is would be nice. Things such as performance, stability, max expected clients with a small vps or something.
Where is my .exe file to run the entire planet in ~30 minutes?<p>To add some value to my joke comment:
I would assume this is running "Open Street Map" locally on a webserver.
A lotta negativity in here... My immediate reaction was "fuck yeah I always wanted to host OSM but I couldn't figure out how last time". thanks dude :)
Hmm, Im not really sure why MBTiles are popular? They seems to be cache unfriendly. Good old tiles via /{x}/{y}/{z}.png seems to be better. And you can slap web cache in front.<p>Hosting those is super simple. The problem I have is how to generate them efficently w/o big resources.
I'd like to find a cheap way to self-host a stripped version of Nominatim planet. There's lots of data that I don't really need to deal with and I don't want to have to use 32/64gb of ram.
Looks like every single "tile" image from OpenStreetMaps (OSM) a service that hosts them so that you can pass the same OSM parameters to the URL and get maps
Same feedback as everyone else: You fell into the trap of assuming that everyone else understands this topic/project/thing that you're deeply familiar with because you've been living it for so long.<p>Not everyone knows what "OSM" is.<p>Even a 2-3 sentence paragraph in your TL;DR that explains (a) what this is and (b) why people should care or want this, would be immensely helpful.
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.
Because various comments are upset that this isn't actually self-hosting a planet simulation[0] or that the readme isn't good enough - this is really cool. Premade tile server for OpenStreetMaps is lovely.<p>[0] <a href="https://news.ycombinator.com/item?id=41223091">https://news.ycombinator.com/item?id=41223091</a>
Why copy the README as a gist instead of posting a link to the repo? <a href="https://github.com/markuman/sms?tab=readme-ov-file">https://github.com/markuman/sms?tab=readme-ov-file</a>