Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add implementation considerations #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ Definitions of _z_, _x_, _y_ are the same as ones in the industry standard [Slip
# Characteristics
- Height of a voxel represented by a ZFXY with z=Z is 1 [m].

# Implementation considerations
- `log(tan( lat ) + (1 /cos( lat )))` can be more efficiently calculated as `log(tan( lat / 2 + 45 ))`.
- `(lng + 180) / 360` can be more efficiently calculated as `lng / 360 + 0.5`.
- Implementors may want to make use of `artanh(sin(lat))` where possible.
- We appreciate Mr. KAWASE Kazushige from Geospatial Informataion Authority of Japan for the proposals above.

# Future considerations
- More compact encodings of ZFXY may be considered in future.
- The value of `Z` is still subject to change.