{"id":3383,"date":"2019-02-13T11:22:10","date_gmt":"2019-02-13T11:22:10","guid":{"rendered":"https:\/\/www.20i.com\/blog\/?p=3383"},"modified":"2026-02-20T09:43:54","modified_gmt":"2026-02-20T09:43:54","slug":"til-about-plus-codes","status":"publish","type":"post","link":"https:\/\/www.20i.com\/blog\/til-about-plus-codes\/","title":{"rendered":"So today I learned about Plus Codes"},"content":{"rendered":"\n<p><strong>Eh?<\/strong><\/p>\n\n\n\n<p><strong>So while browsing Google maps today, I noticed that along with the regular street, town, region and country information for a given place there was a small but intriguing combination of letters and numbers (and a plus, obviously). <\/strong><\/p>\n\n\n\n<p>It was neatly tucked away in all the other details like it has always been there &#8211; but it hasn\u2019t!<\/p>\n\n\n\n<p>Here&#8217;s what I found:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"#pluscodes\">What are Plus Codes?<\/a><\/li>\n\n\n\n<li><a href=\"#usepluscodes\">How do I use Plus Codes?<\/a><\/li>\n\n\n\n<li><a href=\"#uses\">How are Plus Codes useful?<\/a><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"pluscodes\">What are Plus Codes?<\/h2>\n\n\n\n<p>A quick Google later and I am on <a href=\"https:\/\/maps.google.com\/pluscodes\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google Maps&#8217; Plus Codes<\/a> &#8211; explaining to me that they&#8217;re a way of encoding longitude and latitude data into a Plus Code and an area or area code (the area\/area code is needed unless you\u2019re within 25 kilometres of the location).<\/p>\n\n\n\n<p>A Plus Code covers the area of a building (unless a high accuracy code is generated) up to 14&#215;14 metre resolution. Adding one other character to the code provides resolution up to 3&#215;3 metre. There\u2019s not really that much to the codes, they\u2019re just an area code and a local code.<\/p>\n\n\n\n<p>I&#8217;d been looking for the exact location of Boris Brejcha\u2019s <a href=\"https:\/\/youtu.be\/4Rc-NGWEHdU\">DJ set<\/a> in the grounds of Ch\u00e2teau de Fontainebleau, France. <\/p>\n\n\n\n<p>So, the reason I found them useful is because they can describe the location of the YouTube video (and my desk in the 20i office) much more precisely than the official addresses:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>20i office<\/td><td>4VJ5+JG Mansfield, UK<\/td><\/tr><tr><td>YouTube video<\/td><td>CM2X+RH Fontainebleau, France<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"usepluscodes\">How do I use Plus Codes?<\/h2>\n\n\n\n<p>To get started with them, you don\u2019t need to do much!<\/p>\n\n\n\n<p>Choose your favourite language from those available &#8211; then find the longitude and latitude of a location and get encoding. Or get the Plus Code of a location and get decoding!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Encoding a Plus Code<\/h3>\n\n\n\n<p>I decided to generate a code for the <a href=\"https:\/\/goo.gl\/maps\/VvCew5nu1Uz\">castle<\/a> using the coordinates from Google Maps. I used the raw source from Google&#8217;s <a href=\"https:\/\/github.com\/google\/open-location-code\/tree\/master\/js\/src\">GitHub<\/a>, pasted it into my Chrome console, and used https:\/\/github.com\/google\/open-location-code\/tree\/master\/js to find out what to do:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;= OpenLocationCode.encode(48.402096, 2.698874, OpenLocationCode.CODE_PRECISION_NORMAL)\n\n=&gt; \"8FW4CM2X+RG\"<\/code><\/pre>\n\n\n\n<p>Worked first time, so now it\u2019s time to decode!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Decoding a Plus code<\/h3>\n\n\n\n<p>Continuing their documentation I tried to decode my first encoded code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;= OpenLocationCode.decode(\"8FW4CM2X+RG\")\n\n=&gt; Object {\ncodeLength: 10\nlatitudeCenter: 48.402062500000014\nlatitudeHi: 48.40212500000001\nlatitudeLo: 48.402000000000015\nlongitudeCenter: 2.6988125000000167\nlongitudeHi: 2.6988750000000152\nlongitudeLo: 2.698750000000018\n}<\/code><\/pre>\n\n\n\n<p>Also worked first time! There\u2019s my original input data right there (give or take a few points difference).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"uses\">What are Plus Codes useful for?<\/h2>\n\n\n\n<p>They\u2019re great for finding the location of a place that doesn\u2019t have a perfect street address: the 20i office isn\u2019t directly at the pin for our official postal address in Google Maps, but it is if you use the Plus Code.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.20i.com\/blog\/wp-content\/uploads\/2019\/02\/20i-office-Plus-Code.png\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"564\" src=\"https:\/\/www.20i.com\/blog\/wp-content\/uploads\/2019\/02\/20i-office-Plus-Code.png\" alt=\"The location of 20i's door using a Plus Code\" class=\"wp-image-3389\" srcset=\"https:\/\/www.20i.com\/blog\/wp-content\/uploads\/2019\/02\/20i-office-Plus-Code.png 600w, https:\/\/www.20i.com\/blog\/wp-content\/smush-webp\/2019\/02\/20i-office-Plus-Code-300x282.png.webp 300w, https:\/\/www.20i.com\/blog\/wp-content\/smush-webp\/2019\/02\/20i-office-Plus-Code-370x348.png.webp 370w, https:\/\/www.20i.com\/blog\/wp-content\/smush-webp\/2019\/02\/20i-office-Plus-Code-270x254.png.webp 270w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n\n\n\n<p>It is the same case for the location of Boris Brejcha\u2019s DJ set inside the gardens at the castle: each place\u2019s exact location given in a small handy code &#8211; awesome!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Get on the map with Plus Codes<\/h2>\n\n\n\n<p>According to the World Bank, half of the world&#8217;s population live on &#8216;unnamed streets&#8217;. So for those people, Plus Codes are a way for them to have a recorded address &#8211; to receive deliveries and access services. They can even be used by emergency services or disaster relief in remote locations.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Plus Codes: Addresses for Everyone\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/LJ9zEkXearU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>They were developed by Google, and they&#8217;re also known as Open Location Codes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What next?<\/h2>\n\n\n\n<p>Well, that\u2019s up to you I guess! Do you own a paintball centre whose location is difficult to describe? Do you own an oil company whose pumps\u2019 locations are also difficult describe? You see what I\u2019m getting at.<\/p>\n\n\n\n<p>Find out more &#8211; <a href=\"https:\/\/plus.codes\/\">https:\/\/plus.codes\/<\/a><\/p>\n\n\n\n<p>That\u2019s it from me &#8211; just thought I\u2019d share some of my random findings from my Sunday Internet Travels. <\/p>\n\n\n\n<p>I know that isn\u2019t exciting as it sounds. :\\ <\/p>\n\n\n\n<p>I did also learn the pros and cons of AC vs DC power. But that won&#8217;t find its way into a 20i blog.<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"http:\/\/schema.org\",\n  \"@type\": \"Website\",\n  \"name\": \"20i Blog\",\n  \"url\": \"https:\/\/www.20i.com\",\n  \"@id\": \"https:\/\/www.20i.com#website\",\n  \"sameAs\": [\n    \"https:\/\/www.facebook.com\/hostedby20i\",\n    \"https:\/\/www.instagram.com\/hostedby20i\/\",\n    \"https:\/\/twitter.com\/hostedby20i\",\n    \"https:\/\/www.linkedin.com\/company\/20i\",\n    \"https:\/\/www.youtube.com\/c\/20ihosting\"\n  ]\n}\n<\/script>\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"http:\/\/schema.org\",\n  \"@type\": \"WebPage\",\n  \"@id\": \"https:\/\/www.20i.com\/blog\/til-about-plus-codes\/#webpage\",\n  \"url\": \"https:\/\/www.20i.com\/blog\/til-about-plus-codes\/\",\n  \"inLanguage\": \"en-gb\",\n  \"name\": \"So today I learned about Plus Codes\",\n  \"description\": \"Plus Codes are a handy way to places on a map accurately - especially if they don't have a postal address.\",\n  \"isPartOf\": {\n    \"@id\": \"https:\/\/www.20i.com#website\"\n  },\n  \"about\": [\n    {\n      \"@type\": \"Thing\",\n      \"name\": \"Open location codes\",\n      \"sameAs\": \"https:\/\/en.wikipedia.org\/wiki\/Open_Location_Code\"\n    }\n  ],\n  \"mentions\": [\n    {\n      \"@type\": \"Thing\",\n      \"name\": \"Plus Codes\",\n      \"sameAs\": \"https:\/\/maps.google.com\/pluscodes\/\"\n    }\n  ]\n}\n<\/script>\n","protected":false},"excerpt":{"rendered":"Eh? So while browsing Google maps today, I noticed that along with the regular street, town, region and&hellip;","protected":false},"author":4,"featured_media":3400,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"ub_ctt_via":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[49,51],"tags":[81],"class_list":{"0":"post-3383","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-business-tips","8":"category-technology","9":"tag-internet","10":"cs-entry"},"featured_image_src":"https:\/\/www.20i.com\/blog\/wp-content\/uploads\/2019\/02\/Plus-Codes.png","author_info":{"display_name":"rh20i","author_link":"https:\/\/www.20i.com\/blog\/author\/rh20i\/"},"_links":{"self":[{"href":"https:\/\/www.20i.com\/blog\/wp-json\/wp\/v2\/posts\/3383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.20i.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.20i.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.20i.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.20i.com\/blog\/wp-json\/wp\/v2\/comments?post=3383"}],"version-history":[{"count":37,"href":"https:\/\/www.20i.com\/blog\/wp-json\/wp\/v2\/posts\/3383\/revisions"}],"predecessor-version":[{"id":10425,"href":"https:\/\/www.20i.com\/blog\/wp-json\/wp\/v2\/posts\/3383\/revisions\/10425"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.20i.com\/blog\/wp-json\/wp\/v2\/media\/3400"}],"wp:attachment":[{"href":"https:\/\/www.20i.com\/blog\/wp-json\/wp\/v2\/media?parent=3383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.20i.com\/blog\/wp-json\/wp\/v2\/categories?post=3383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.20i.com\/blog\/wp-json\/wp\/v2\/tags?post=3383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}