Get the latest tech news

How to build vector tiles from scratch


Building MVT tiles from scratch

Nonetheless, JSON has a lot of merits: it’s human-readable and easy to share between systems, so I find myself using it more than I’d like to - more often than not, simplicity is the way to go, and a simple format like GeoJSON just gets the job done, and that alone makes it a worthy geographic standard. I don’t like this - I want a map that people can use to check on the status of their city, and not a bloated HTML page that gets slower as more data gets onboarded, ironically making it less and less usable. Loading GeoJSONs via a GET request will result in a lighter HTML file and a faster rendering of the Dashboard (the non-map components at least), but MapLibre still needs to parse that JSON and figure out how and where to plot the geometries.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Scratch

Scratch

Photo of Vector Tiles

Vector Tiles

Related news:

News photo

Show HN: I integrated my from-scratch TCP/IP stack into the xv6-riscv OS

News photo

I made a floppy disk from scratch

News photo

Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi