Show HN: J6 a Geohash
git.sr.ht
git.sr.ht
Some of them have some serious problems that can make them difficult to use, or confusing to use.
This little project was done to see just how easy a less ambiguous format might be.
Turned out fairly well.
Contrived Example:
Longitude to 6 Decimal Places: 178.000000
Lattitude to 6 Decimal Places: 68.000000
> violator-enrich-disband-handed-turkey-lure
6 decimal places is enough to get a 10cm resolution, in most of the world.
I'm in the process of filling them. (And I've added an error when this crops up.)
> python3 j6.py --longitude 55.555555 --latitude 14.444444
> exemption-stifling-wrist-deface-excavate-stimuli
> python3 j6.py --longitude 0.0 --latitude 0.0
> sliceable-ensure-disband-handed-turkey-lure
Python 3.7.4 here.
Are you sure you checked out a commit after 6ce39f54564f4a5cd0439989e19a2f68c105d3cb?
lat=-1, lon=-1
and lat=89, lon=179
Both seems to yield recopy-handset-disband-handed-turkey-lure
Shouldn't the longitude be modulused 360 and the latitude modulused 180 (rather than 180 and 90, repectively)?[0] https://git.sr.ht/~shakna/j6/commit/107c4a5913606d93ac79db1c...