Skip to content

Conversation

@alexandargyurov
Copy link

@alexandargyurov alexandargyurov commented Jan 14, 2025

Hello everyone! I've managed to update streets-gl to use the latest data from OSM. I plan to write a full step-by-step guide on how to achieve this and add it in a new DOCS folder in this repo. The process involves cloning https://github.com/StrandedKitty/planetiler, downloading the planet.osm.pbf, and running a very long process to generate the tiles (8 hours on GCP!)

You can access the new build here: https://streets-gl.onrender.com/
(the server is tiny, expect it to be slow, will upgrade it if it needs some more juice)

Update: The tile server on GCP (tiles.axlemaps.com) was costing me $50 p/m to run it - after 4 months of running it I thought they'd be the time to focus on streets-gl, however, life found a way to distract me with slightly more important things... I'm not sure when I can come back to this project, so for now, I've stopped the server to save on costs.

Next Steps:

  • Create DOCS.md explaining how to build map tiles
  • Cron Job each week to run a build with new OSM data
  • Talk with @StrandedKitty about the current domain, deployment, future plans
  • Go through the current open issues and do some feature requests and bug fixing 🐛 🔨

PR Changes:

  • Adds dotenv to package.json
  • Loads .env variables in webpack.config.js
  • Updates src/app/Config.ts to use process.env for TileServerEndpoint and TilesEndpointTemplate

@MMK21Hub
Copy link

Hi @alexandargyurov! I've been finding your deployment at https://streets-gl.onrender.com/ very useful (thanks for hosting it!) but now the map data seems to be missing:
image

Is there anything we can do to get it back working again? I would love to see it kept alive.

@hb0nd
Copy link

hb0nd commented Apr 19, 2025

Looks like the CA certificate for your site needs renewing (map files are being blocked by CORS) @alexandargyurov

(as a workaround for users, visit https://tiles.axlemaps.com/ and add an exception when asked - the tiles should load again)

@alexandargyurov
Copy link
Author

Hi @MMK21Hub thanks for pointing this out. Good catch with the CA certificate @hb0nd! Unfortunately, yesterday I had to stop the tile server to save costs. I was hoping I would have more time to work on this project, however, I can't commit to this for now. Last I heard, @Dumopolis managed to get a local instance running of the tile server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants