Standing on the shoulders of giants :)
gg and pinhole made this easy to write. The globe package really just deals with mapping (lat, lng) space to cartestian coordinates (and also includes some land/country datasets).
gg and pinhole made this easy to write. The globe package really just deals with mapping (lat, lng) space to cartestian coordinates (and also includes some land/country datasets).
This may or may not be useful, but here's a Go package containing a bunch of city data. It might be a good fit for people using your project.
https://github.com/mmcloughlin/globe/blob/master/examples/ci...
In fact I might switch it, since the cities json file I used has some oddities.