-
Notifications
You must be signed in to change notification settings - Fork 496
README.md #687
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
Open
mdnayanmia31
wants to merge
1
commit into
google:main
Choose a base branch
from
mdnayanmia31:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
README.md #687
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ Algorithms to | |
* shorten them relative to a reference location, and | ||
* recover a location from a short code and a reference location given as latitude/longitude pair | ||
|
||
are publicly available and can be used without restriction. Geocoding services are not a part of the Open Location Code technology. | ||
Are publicly available and can be used without restriction. Geocoding services are not a part of the Open Location Code technology. | ||
|
||
Links | ||
----- | ||
|
@@ -41,8 +41,8 @@ Description | |
|
||
Codes are made up of a sequence of digits chosen from a set of 20. The | ||
digits in the code alternate between latitude and longitude. The first | ||
four digits describe a one degree latitude by one degree longitude | ||
area, aligned on degrees. Adding two further digits to the code, | ||
four digits describe a one-degree latitude by one-degree longitude | ||
area, aligned on degrees. Adding two further digits to the code | ||
reduces the area to 1/20th of a degree by 1/20th of a degree within the | ||
previous area. And so on - each pair of digits reduces the area to | ||
1/400th of the previous area. | ||
|
@@ -54,10 +54,10 @@ by 14 meter wide area within 6GCR. | |
A "+" character is used after eight digits, to break the code up into two parts | ||
and to distinguish codes from postal codes. | ||
|
||
There will be locations where a 10-digit code is not sufficiently precise, but | ||
There will be locations where a 10-digit code is not sufficiently precise. However, | ||
refining it by a factor of 20 is i) unnecessarily precise and ii) requires extending | ||
the code by two digits. Instead, after 10 digits, the area is divided | ||
into a 4x5 grid and a single digit used to identify the grid square. A single | ||
into a 4x5 grid, and a single digit is used to identify the grid square. A single | ||
grid refinement step reduces the area to approximately 3.5x2.8 meters. | ||
|
||
Codes can be shortened relative to a location. This reduces the number of digits | ||
|
@@ -69,9 +69,9 @@ code can be shortened depends on the proximity of the reference location. | |
If the reference location is derived from a town or city name, it is dependent | ||
on the accuracy of the geocoding service. Although one service may place | ||
"Zurich" close to the Google office, another may move it by a hundred meters or | ||
more, and this could be enough to prevent the original code being recovered. | ||
more, and this could be enough to prevent the original code from being recovered. | ||
Rather than a large city size feature to generate the reference location, it is | ||
better to use smaller, neighbourhood features, that will not have as much | ||
better to use smaller, neighborhood features, that will not have as much | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please don't change from British to American spelling. |
||
variation in their geocode results. | ||
|
||
Guidelines for shortening codes are in the [wiki](Documentation/Specification/Short_Code_Guidance.md). | ||
|
@@ -96,6 +96,6 @@ languages. Each implementation provides the following functions: | |
* Encode a latitude and longitude to a standard accuracy | ||
(14 meter by 14 meter) code | ||
* Encode a latitude and longitude to a code of any length | ||
* Decode a code to its coordinates: low, high and center | ||
* Decode a code to its coordinates: low, high, and center | ||
* Shorten a full code relative to a location | ||
* Extend a short code relative to a location |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a continuation of the sentence that starts before the bullet points, so you can't just capitalise it without doing something about the previous sentence.