4 ms·
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
by mmcloughlin 9y ago
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).
- tidwall 9y agoLooks so good. The detail is just amazing! 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/tidwall/cities https://github.com/tidwall/cities
- mmcloughlin 9y agoOh nice! Should have used this for the cities example here https://github.com/mmcloughlin/globe/blob/master/examples/cities.go 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.
- tidwall 9y agofwiw, I also created a javascript port of pinhole a few weeks back. https://github.com/tidwall/pinhole-js https://github.com/tidwall/pinhole-js