Questions tagged [open-location-code]

Apply to questions that relate to Open Location Code (also known as Plus Code), geographical coordinate encoding and decoding.

The Open Location Code (OLC) is a geocode system for identifying an area anywhere on the Earth. It was developed at Google's Zürich engineering office, and released late October 2014. Location codes created by the OLC system are referred to as "plus codes", as their distinguishing attribute is that they include a "+" character.

Plus codes are derived from latitude and longitude coordinates, so they already exist everywhere. They are similar in length to a telephone number – 849VCWC8+R9, for example – but can often be shortened to only four or six digits when combined with a locality (CWC8+R9, Mountain View). Locations close to each other have similar codes. Full-length plus codes 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.

Main advantages:

  1. Can be used in places where there is no formal system to identify buildings, such as street names, house numbers, and post codes.

  2. Can be calculated by small program.

  3. Can be shortened.

Main disadvantages:

  1. Hard to memorize.

  2. Non intuitive.

  3. No support for existing formal system to identify buildings, such as street names, house numbers, and post codes, except city and state.

Useful links:

Wiki: https://en.wikipedia.org/wiki/Open_Location_Code

Landing page: https://plus.codes/

GitHub project page: https://github.com/google/open-location-code

Plus Codes API https://github.com/google/open-location-code/wiki/Plus-codes-API

5 questions
5
votes
3 answers

How can I convert Google Maps plus codes to Lng & Lat coordinates

I'm working on a project and I'm using some old google maps stuff. It requires longitude and latitude gps coordinates to get the location of a hospital for example. I can't find a way to retrieve that info in this format 'lng,lat' For example: …
Ramy
  • 67
  • 1
  • 1
  • 8
3
votes
1 answer

Is there a decoder for Here Api TPEGOpenLRBase64 Code?

For my master thesis I am writing a reference implementation in Java. It uses HERE Api to obtain traffic incident information. The XML received contains a TPEGOpenLRBase64 code. TomTom provides an open standard with which a OpenLRBase64 code can be…
erddasem
  • 31
  • 2
2
votes
0 answers

How to ge all open-location-codes within a polygon?

Let's say I have a polygon (or star) on a map... What is the best way to get an array of open-location-codes that crosses this star? Regards, Peter
p3sn
  • 1,052
  • 1
  • 9
  • 17
1
vote
1 answer

Flutter : How to convert to longitude and latitude to plus code (open location code) and vice versa

I have just developed an app using dart and flutter which I can obtain latitude and longitude of the location. My app can handle this. But I want to convert this longitude and latitude to open location codes(plus code) and show corresponding plus…
1
vote
2 answers

How to get a full code from open location code

I'm trying to get a full open location code from short open location code, what am I doing wrong? I'm using Java Open Location Code -library in my android project. // 63.7740574, 23.9011008 // This is an full olc (I searched it…
null
  • 21
  • 1
  • 3