Hacker News new | ask | show | jobs
by jakear 1227 days ago
Is there a better option for raw base tilesets? When making my app mapping world tides (https://solunar.pages.dev) I tried OSM for instance but it only had raster tiles at LoDPI resolutions available. ESRI on the other hand had full vector support in a variety of formats^ and provided great docs for integrating with FOSS rendering toolkits. The free tier seems generous, though once it runs out the price increases sharply.

^ For instance, a really neat one that renders ocean features in as much detail as the land typically gets

3 comments

Load osm data in postgres and generate the tiles yourself with something like geoserver/mapserver
The cost and effort of deploying something like that in production is decidedly non-trivial. I know because I've done it. Unless you need the customization and flexibility such a solution offers, it's rarely worth it.
If there is one thing I want AI to accomplish ;;

Have an AI crawl a RASTER dataset and VECTORIZE all lines into SVG.

Well, the main other player here is Mapbox.
Mapbox's free tier is an order of magnitude less permissive. They even charge for loading their JavaScript: $5 per kiloload! Feels like the best approach if I'm not trying to commercialize is just to encourage people to self-host using their own API key.

Assuming the service ever even gets to 2M tile requests/month. That alone would be quite the accomplishment.

Though with Gaia going to hell, something new needs to come along.