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

Update specification.md , reordering to make more sense #581

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
18 changes: 9 additions & 9 deletions docs/specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ The latitude number must be clipped to be in the range -90 to 90.

The longitude number must be normalised to be in the range -180 to 180.

### Code length

The minimum valid length of an Open Location Code is two digits.
The maximum length of an Open Location Code is 15 digits.

Below 10 digits, only even numbers are valid lengths.

The default length for most purposes is 10 digits.

### Most significant 10 digits

Summary:
Expand Down Expand Up @@ -62,15 +71,6 @@ The following provides an algorithm to encode the values from least significant
1. Divide longitude by four and latitude by five.
1. Repeat from step 2 four more times.

### Code length

The minimum valid length of an Open Location Code is two digits.
The maximum length of an Open Location Code is 15 digits.

Below 10 digits, only even numbers are valid lengths.

The default length for most purposes is 10 digits.

### Formatting

The format separator must be inserted after eight digits.
Expand Down
Loading