I have some data for country borders. I am making a small program that need to load a border on demand when a position in the program gets close to a country (which consists of multiple loops of GPS points).
It does not have to be super accurate, but on the other hand, loading a long country like italyItaly should not be as simple as a single GPS with a distance check. But maybe 4 points would be ok.
I need to keep a small database I reckon of each country with some precomputed params that determine when to load it, so its not cpuCPU intensive. How do I automate generation of such params, I am a bit out of ideas..