Skip to content

Commit

Permalink
Update specification.md , reordering to make more sense
Browse files Browse the repository at this point in the history
  • Loading branch information
jidanni authored Apr 17, 2024
1 parent 7dc3b4c commit c4dcb06
Showing 1 changed file with 9 additions and 9 deletions.
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

0 comments on commit c4dcb06

Please sign in to comment.