How to implement Google’s ‘Plus Codes’ in Schema.org markup
What is a Plus Code ?
You may, or probably not, have noticed that Google have rolled out a new geo location code in Google maps. It happened very quietly recently-ish and is, according to Geospatial World, an initiative by a team of Google Engineers in Zurich to create an address system that could be used for the 50% of the world’s urban zones that don’t have street names.
If you search in Google Maps for “V75V+8Q Paris” you will see the map centred on the Eiffel Tower and you’ll see this in the information panel on the left.
It could seem a little superfluous considering the existence of Lat and Long, but as this is a purely Google initiative it would seem to make sense to put it in any Schema markup that Google can use to locate an organization or event.
How do you include the plus code in Schema markup ?
After a little fiddling around looking at the ‘geo’ property of the @type ‘Place’, then the ‘location’ property, for which unfortunately the text string is not a valid value, and even the ‘identifier’ property which, well, just wasn’t geographical enough for me, I stumbled across the fact that you can use the Plus Code as a text string value for “address”.
Great, but what about the other address, the postal address, because you can’t have duplicate “address” keys. There is probably a more elegant way of doing it, but what does seem to work is putting the PostalAddress as a “location”, like this
So there you have it!