Modern computers are fast: using FlatGeoBuf as the on-disk format, georust’s new Voronoi module can generate and save a Voronoi diagram from all 2,693,630 valid UK postcode centroids in ~10 seconds without jumping through any code optimisation hoops. The actual Voronoi generation takes just over 5s. That's single-core performance on an M2 Pro, and includes round-tripping the coordinates from WGS84 -> OSGB36 -> WGS84. If you exclude the projection work, it’s well under 10s total.

@vruba I remember when you had to be a serious person with some compute resources to get this kind of performance. It is unsettlingly fast. They are too good at numbers, as we know.

Follow

@urschrei I feel like one of my only semi-useful skills in geospatial is having some slight intuition around what’s going to be fast or not, and now I guess I just don’t.

· · Web · 0 · 0 · 1
Sign in to participate in the conversation
Horsin' Around

This is a hometown instance run by Sam and Ingrid, for some friends.