Hacker News new | past | comments | ask | show | jobs | submit login

On a side note, does anyone know if there's a way to self-host osm? Basically have my own google maps?



The best project by far is osm2vectortiles.org. It pretty much allows you to have a global OSM map on a USB stick, or render it live from a 4 GB VPS.

There is one critical issue which needs to be solved though, Mapbox reached out to them and asked them to rebuild everything from scratch [2], which means that it'll be a few more months before it's legally "safe" to use vector tiles produced by this project.

(disc: I'm just a user)

[1] http://osm2vectortiles.org/ [2] https://github.com/osm2vectortiles/osm2vectortiles/issues/38...


There's guides to serving osm based tiles (and some other services) here:

https://switch2osm.org/

I guess if that isn't what you are looking for you would have to be more specific.

There's also a growing number of apps that work offline (With maps, search and routing/directions).


Depending on the application, you can get pretty far with the Data Science Toolkit's geo data[1], some boundary data [2], and something like Leaflet JS[3]. It won't support pathfinding out of the box, but you can do (bidirectional) geocoding, map rendering, state/county/city-level labelling/border-drawing, and lots of other cool stuff.

[1] http://www.datasciencetoolkit.org/

[2] https://www.census.gov/geo/maps-data/data/cbf/cbf_counties.h...

[3] http://leafletjs.com/



I had setup OSM for my app "Intouch Messenger" however the whole ordeal is a big pain. You essentially need SSD to serve the maps.

Here is the step by step instructions if you are still interested : https://switch2osm.org/serving-tiles/manually-building-a-til...




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: