ArticleslgStudy

science

Open Location Code

Open Location Code is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Open Location Code rather than just read about it. In short: The Open Location Code (OLC) is a geocode based on a system of grids for identifying any place on the Earth. Google's Zürich engineering office developed the system and published it in October 2014.

Open Location Code — main illustration
Open Location Code — illustration

Key takeaways

  • Open Location Code belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Open Location Code to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Open Location Code from memory before moving on to harder problems.

Reference excerpt

The Open Location Code (OLC) is a geocode based on a system of grids for identifying any place on the Earth. Google's Zürich engineering office developed the system and published it in October 2014. Geocodes in the OLC system are referred to as Plus Codes. Open Location Code is a way of encoding location into a form that is easier to use than coordinates in latitude and longitude. Plus Codes are especially useful where there is no formal system to identify specific places. Plus Codes are differently expressed latitude and longitude coordinates, so they can be assigned to any location. They are similar in length to a telephone number (e.g., 849VCWC8+R9) but can often be shortened to four or six digits when combined with a locality (e.g., CWC8+R9, Mountain View, California). Locations close to each other have similar codes. They can be encoded or decoded offline. The character set avoids similar-looking characters to reduce confusion and errors and avoids vowels to make it unlikely that a code spells existing words. Plus Codes are not case-sensitive and can therefore be easily exchanged over the phone. Since August 2015, Google Maps has supported Plus Codes in its search engine. The shortened Plus Code is displayed for a location, may be copied, clicked, or transcribed, and can be entered into the address box (followed by the town or city name if not local and using shortened code) to display the location on the map. The algorithm is licensed under the Apache License 2.0 and is available on GitHub.

Applications Plus Codes are increasingly being used for addressing purposes in places that aren't well-served by the traditional street address system. This includes the many unnamed streets in Cape Verde, multiple slums in India, and even some Native American reservations in the United States. In Laxmi Nagar, Pune, the nonprofit Shelter Associates used codes to bring delivery services to specific homes and businesses in the slum for the first time in 2020-21. Plus Codes are also being used by the International Rescue Committee in Somalia for immunization and family planning programs.

Specification The Open Location Code system is based on latitudes and longitudes in WGS84 coordinates. Each code describes an area bounded by two parallels and two meridians out of a fixed grid, identified by the southwest corner and its size. The largest grid divides the globe into blocks of 20 by 20 degrees, 18 columns from West to East and 9 rows from the South to the North poles. Those large blocks are then subdivided into 400 subblocks, 20 by 20, up to four times. Near the equator, those subblocks are square both in degrees and in meters. At midlatitudes, their angles remain square, but in terms of distance, they elongate vertically. After the initial division and four rounds of 20x20 subdivision (via two code characters each round), further subdivisions break each block into 20 subblocks (via one code character), 4 blocks W-E by 5 blocks S-N. That leaves the subblocks wider than they are tall in terms of degrees, but at midlatitudes, this keeps them closer to square in terms of meters. The table shows the various block sizes near the equator, where the widths are maximum (listing width x height where those differ). The block widths decrease with distance from the equator.

The full grid uses offsets from the South Pole (−90°) and the antimeridian (−180°) expressed in base 20 representation. To avoid misreading or spelling objectionable words, the encoding excludes vowels and symbols that may be easily confused with each other. The following table shows the mapping.

The code begins with up to five pairs of digits, each consisting of one digit representing latitude and one representing longitude. After eight digits, a plus sign "+" is inserted in the code as a delimiter to aid with visual parsing. After a final pair immediately following the "+" delimiter, any subblocks thereafter are coded in a single code digit as follows:

Areas larger than an 8-digit block can be specified by truncating the code after the relevant digit pairs and inserting the "padding character" 0 (zero) before the + sign, with nothing following it.

Example Consider, for example, zooming in on the Merlion fountain (1.286785°N 103.854503°E / 1.286785; 103.854503) in Singapore, which has Plus Code 6PH57VP3+PR6,7VP3+PR6 Singapore, or 7VP3+PR6 if in Singapore. It lies in the block around the equator bounded by −10° South and +10° North, and between 100° and 120° East. It has offsets 80° from the South Pole, and 280° from the anti-meridian; or, 4 (=80/20) and 14 (=280/20) as the first base-20 digits, coded as "6" and "P". Thus, the code is "6P". This may be padded as 6P000000+. Now, refine this block to a subblock between 1° and 2° N and 103° and 104° E. This adds 11° and 3° to the SW corner. So the base-20 coordinate codes added are "H" and "5". The result is padded to 6PH50000+. After four further refinements, one lands on Merlion Park as 6PH57VP3+PR. The next step requires dividing the square so far used, to refine the position into a 4-by-5 grid, and finding the cell to which the coordinates are pointing. This is the cell named "6".

BASE20 Formula Alternatively, use formula BASE(Degrees from South or West * power(20, 4) , 20) in any Spreadsheet or Calculator to compute the Plus Code. For the coordinates 1.286785°N 103.854503°E / 1.286785; 103.854503 from the previous example:

1.286785N = 91.286785 from South Pole, in Base20 = 4B.5EE(5) in alphanumeric = which is 6H.7PP in OLC digits. 103.854503E = 283.854503 from Anti-Meridian, in Base20 = E3.H1G(0) in alphanumeric = which is P5.V3R in OLC digits. Combining latitude and longitude alternatively, 6P H5 7V P3 PR. The last leftover in Base20, (5)/20 latitude and (0)/20 longitude gives 6 in the 4-by-5 grid. Therefore, the resulting Plus Code is 6PH57VP3+PR6.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Open Location Code

Start with the simplest possible case. Write down what Open Location Code claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Open Location Code before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Open Location Code ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Open Location Code

In research
Open Location Code appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Open Location Code in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Open Location Code is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2014 introductions, Geocodes, Geographic coordinate systems, so understanding it makes those chapters shorter.
In everyday life
Look for Open Location Code outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Open Location Code in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Open Location Code means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Open Location Code out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Open Location Code in simple terms?

The Open Location Code (OLC) is a geocode based on a system of grids for identifying any place on the Earth. Google's Zürich engineering office developed the system and published it in October 2014.

Why does Open Location Code matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Open Location Code?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Open Location Code.

Tags

  • 2014 introductions
  • Geocodes
  • Geographic coordinate systems

Keep exploring