Open Location Code
Googleが開発したgeocode方式。
Open Location Codeから生成される文字列がPlus Codeとなる。
Google Mapで場所を表示したときに+を含む文字列が出てくるが、それがPlus Codeである。
アルゴリズムは公開されている
23456789CFGHJMPQRVWXの20文字を使う
WGS84に依存
2つの表現方法がある
普通: XXXXXXXX+XX
e.g.
8R8234P4+7Q: 図書館情報大学閉学記念碑付近
生成方法: Open Location Code/実装例
short code: XXXX+XX {locality}
大雑把な緯度経度は都道府県と市町村名に投げよう的な
Google mapに出てくるのはこっち
e.g.
8FPM+9M 水戸市、茨城県
ちなみに、https://plus.codes/api を利用することでencode/decodeができる
short codeは逆ジオコーディングが必要なので、Google MapのAPI keyが必要、らしい
reference: https://github.com/google/open-location-code/blob/main/Documentation/Reference/plus.codes_Website_API.md
参考
https://github.com/google/open-location-code/blob/main/Documentation/Specification/olc_definition.adoc
https://en.wikipedia.org/wiki/Open_Location_Code
https://future-architect.github.io/articles/20220726a/