https://github.com/levicook/geohasher
https://github.com/levicook/geohasher
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/levicook/geohasher
- Owner: levicook
- License: mit
- Created: 2019-07-14T03:34:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-21T08:55:56.000Z (over 5 years ago)
- Last Synced: 2024-04-15T09:13:16.372Z (over 2 years ago)
- Language: Dart
- Size: 26.4 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
geohasher
=========
Dart port of geohash; provides encoding and decoding of string geohashes.
Original work and additional ports at:
https://www.movable-type.co.uk/scripts/geohash.html
testing
-------
The primary validation strategy for this port was checking it against other implementations.
These tools confirm it plays nice with Go:
```
dart tool/generate-testcases-dart/main.dart | go run tool/validate-testcases-go/main.go
go run tool/generate-testcases-go/main.go | dart tool/validate-testcases-dart/main.dart
```
These tools confirm it plays nice with Python:
```
dart tool/generate-testcases-dart/main.dart | python tool/validate-testcases-python/main.py
python tool/generate-testcases-python/main.py | dart tool/validate-testcases-dart/main.dart
```
These tools confirm it's self consistent:
```
dart tool/generate-testcases-dart/main.dart | dart tool/validate-testcases-dart/main.dart
```