shapefile · @shapefile
152 followers · 110 posts · Server mapstodon.space

Hmm 🤔 disappointing state of affairs!!

Then again, not all data formats can be (are!) as cutting-edge as yours truly 🤷

#gischat #GIS #flatgeobuf #protobuf #shapefile

Last updated 2 years ago

Simon Elvery · @simon
417 followers · 463 posts · Server bne.social

Encoding the entire GNAF as a produces a big file. 7.24GB.

But assuming you can find somewhere on the web (that supports HTTP range requests) to stick this file, leverage the way flatgeobuf files work in just the same way as we did to find regions.

There's also this very handy implementation on NPM npmjs.com/package/flatgeobuf

#flatgeobuf

Last updated 2 years ago

Simon Elvery · @simon
417 followers · 460 posts · Server bne.social

We can do that without ever running code on a server and (crucially) without having to download all the SA1 regions. That file that lives on the CDN and can be cached everywhere is 170MB so it's good we don't have to download it.

So we now have a reverse that can put coordinates in a bunch of different types of regions.

You can see the code an a bit more about how to prepare the files yourself at GitHub github.com/abcnews/reverse-geo

#flatgeobuf #geocoder

Last updated 2 years ago

Simon Elvery · @simon
417 followers · 460 posts · Server bne.social

So a while ago, I set about trying to do that. Here's the result abc.net.au/res/sites/news-proj

Now this only works for because that's our primary audience, but the idea scales fairly well. Want to know how it works? [pause for assent] Okay then.

This uses a very interesting file format called a github.com/flatgeobuf/flatgeob

It's a binary format which makes it pretty space efficient for storing large geodata. But the interesting thing about it is that it has a spatial index

#australia #flatgeobuf

Last updated 2 years ago