Grid Point Code
Source on GitHub

Beside the alternatives

Five ways of naming a place, put the same sixteen questions. Every figure about another system is quoted from that system's own documentation and linked to it, the questions include the ones this format answers worst, and four of the five recommendations below point somewhere else.

If you are choosing one

Somebody has to recognise the address you hand them
Open Location Code, or what3words. Both are already inside mapping applications and services people have. This one is in nothing, and no property in the table above outweighs that.
The place is in India
DIGIPIN. It is the national addressing grid, it is backed by the postal service, and inside that box it reaches four metres in ten characters. Covering one country instead of a planet is what buys it that.
You are indexing points in a database you control
Geohash, unless the addresses also have to be read by people. It has been doing this since 2008, every database has a recipe for it, and it costs nothing to leave. A fixed length is the reason to look further.
The address gets spoken, down a telephone or over a radio
what3words. Three words picked with native speakers beat ten characters, and the row above admits that this format cannot close the gap: read out in English, six of its symbols rhyme with each other.
You need exactly ten characters, no network, anywhere on Earth, and a prefix that is a containment test
This one, and this is the narrow case it was built for. Nothing else in the table holds all four at once. Whether that is worth adopting an unadopted format is a question this page cannot answer for you.

What the address is

Its shape, and where in the world it works at all.

Grid Point CodeCoordinate encodingDIGIPINCoordinate encodingOpen Location CodeCoordinate encodingGeohashCoordinate encodingwhat3wordsWord-based address
What the address isTen characters, always tenTen characters, always tenTen digits by default, eleven for a finer cell, plus a "+"As many characters as the precision needsThree words
Where it worksEverywhere on EarthIndia and its maritime zone: 63.5 to 99.5° E, 2.5 to 38.5° N, as publishedEverywhere on EarthEverywhere on EarthEverywhere on Earth
Same length everywhereYesYesNo, length is chosen for precisionNo, length is chosen for precisionThree words, of varying character length
Symbols it is written in25 symbols, no vowels16 symbols20 digits32 characters, base-32Words from a curated list

Where it works. The row that makes the rest of this column legible. Covering one country rather than a sphere is what lets sixteen symbols reach 3.8 m in ten characters, where twenty-five symbols are needed to reach 2.5 m over the whole Earth. That is an engineering trade, made deliberately, and not a shortcoming of either. Every figure in this column is the published specification's. Sites unaffiliated with its authors offer a longer code extended to the whole Earth; that is somebody else's work and is not what the document defines, so it is not reported here as though it were.

Same length everywhere. A fixed length is what lets a code be recognised on sight, validated by shape, and stored in a fixed field.

Symbols it is written in. Every system here guards against this, which is worth saying plainly: it is settled practice rather than anybody's idea. Open Location Code's symbols are "selected to reduce writing errors and prevent accidentally spelling words"; DIGIPIN's document records replacing G, W and X "to maintain the phonetic and visual clarity"; geohash drops a, i, l and o; the word lists are curated. This one has no vowels, so a code cannot spell a word.

What it points at

How much ground one address covers.

Grid Point CodeCoordinate encodingDIGIPINCoordinate encodingOpen Location CodeCoordinate encodingGeohashCoordinate encodingwhat3wordsWord-based address
Area it names8.8 m², 2.56 by 3.42 m at the equator14 m², 3.8 by 3.8 m; its document notes this varies with latitude193 m² at ten digits; 9.8 m² at elevenVaries with length; ±0.61 km at six characters9 m², 3 by 3 m

Area it names. The figure that started this page. Against Open Location Code's default ten digits a cell here is about twenty-two times smaller, but that is a comparison of defaults, not of capability. At eleven digits the two are within about a tenth of each other, and saying only the first number would be picking the flattering half.

What you can do with it

The properties that decide whether it is useful in a database, on a machine with no network, or in a sentence.

Grid Point CodeCoordinate encodingDIGIPINCoordinate encodingOpen Location CodeCoordinate encodingGeohashCoordinate encodingwhat3wordsWord-based address
A shared prefix means nearbyYes, and the converse is stated not to holdYes, "identifying the cells is done in a hierarchical fashion"Its documentation does not sayYes; "the reverse of this is not guaranteed"No, the words are unrelated by design
Converts without a network or a tableYes, arithmetic onlyYes, described as an offline grid systemYes, arithmetic onlyYes, arithmetic onlyThe published interface is an API
Sorting a column of them puts neighbours togetherYes, byte order is the order the grid is walked inIts documentation does not sayIts documentation does not sayYes, this is what a shared prefix givesNo, the words carry no order
Saying less of it when the area is understoodYes, the last five characters, resolved against a nearby referenceIts documentation does not sayYes, two to six digits removed against a reference locationYes, by dropping characters from the endNo

A shared prefix means nearby. Every grid encoding here that claims this is right to, and the two whose documents discuss the converse both say it does not hold: two points can be metres apart and share nothing. That is a property of fixed grids rather than of any one design, and the seams page measures what it costs.

Sorting a column of them puts neighbours together. The property a database is bought for, and not something invented here: it is the reason the oldest system here is still in use. Two cells say nothing because their documents do not raise it, which is not the same as a no. What it buys is that an ordinary index answers "what is near here" without a spatial type, and the SQL directory in the repository is that claim run against a real planner rather than asserted.

Saying less of it when the area is understood. Everybody solves this and the oldest solution is the tidiest: a geohash shortens by deleting characters off the end, and what is left is still a geohash. Open Location Code removes two to six digits against a reference location and documents exactly when that is safe. The short form here is the last five characters and it is recovered against a reference too. No advantage to anybody in this row.

When somebody gets it wrong

Addresses are copied by hand, read down telephones and written on signs. This group is what happens then.

Grid Point CodeCoordinate encodingDIGIPINCoordinate encodingOpen Location CodeCoordinate encodingGeohashCoordinate encodingwhat3wordsWord-based address
A way to tell a mistyped oneAn optional check character, added on requestIts document does not define oneIts specification does not define oneNot describedHomophones and spelling variants removed from the lists
A way to recover a mistyped oneYes, candidates one keystroke away, ranked by distanceIts document does not define oneIts specification does not define oneNot describedNot described
Codes that read badlyAn advisory, versioned list; screening, not blockingIts document does not mention thisIts specification does not mention thisNot describedRude and offensive words removed when each list is built
Saying it out loudTen characters; callout words, and a rhyming set it admits toTen characters, chosen partly for phonetic clarityTen or eleven charactersA string of base-32 charactersThree words, chosen with native speakers

A way to tell a mistyped one. Read carefully: "its document does not define one" is not the same as "it cannot". These cells report what each specification sets out, and a system may well do something its document leaves unsaid. The check character here is optional and absent unless somebody asks for it, which is worth admitting in the same breath as claiming it.

A way to recover a mistyped one. The row where this format has something the others' documents do not describe. The structure that hides an error also locates it: the wrong code's neighbourhood is searched for codes one keystroke away, ranked against a rough idea of where you were. The typos page here does it in front of the reader.

Codes that read badly. Two approaches, and the difference is which way each can be corrected later. The word lists were built with native speakers and rude words removed, but because the addresses are permanent the lists cannot be revised. The list here is advisory and versioned instead: it can be updated without changing a single code, and it screens rather than forbids.

Saying it out loud. The row this format loses on its own evidence. Its appendix states that read out in English, C, D, G, P, T and the digit three all rhyme, and that the alphabet was not chosen for phonetic distinctness and cannot be now. Three words chosen with native speakers are easier to say down a telephone than ten characters, and no amount of callout words closes that gap entirely.

Whether you can use it

Terms, who stands behind it, and whether anyone already does.

Grid Point CodeCoordinate encodingDIGIPINCoordinate encodingOpen Location CodeCoordinate encodingGeohashCoordinate encodingwhat3wordsWord-based address
TermsApache-2.0Open source, published by the Department of PostsApache-2.0Placed in the public domain by its inventor, 2008Commercial; an API key is required
Who stands behind itOne person, under a permissive licenceThe Department of Posts, Government of IndiaGoogle, with the specification published openlyNobody. Its inventor placed it in the public domainwhat3words, a company
How widely it is already usedNot adopted anywhereNational addressing infrastructure, backed by India PostIntegrated in widely used mapping productsLong-standing use in databases and search systemsIntegrated by many navigation and emergency services

Who stands behind it. An address outlives the person who coined it, so the honest question is not who wrote it but who will still be answering for it in twenty years. A national postal service, a large company and a company are three different answers and all three are stronger than this one. The public domain is a fourth kind of answer: nobody maintains it, and nobody can withdraw it either, which for a format is not the worst position to be in.

How widely it is already used. This is where this format is furthest behind, and it is not close. The others are in mapping applications, databases and emergency services that people depend on today. A format is worth what it is accepted by, and by that measure this one is worth very little so far.

Where each figure came from

Read on the dates this page was last built. If one of these systems has changed and this page has not, the fault is here and not there. The link beside each name is the thing to trust.

How this page is kept honest

  • Every figure about another system comes from that system's own documentation, linked beside it.
  • Where a document does not answer a question, the cell says so rather than guessing, and "its document does not define one" is never a claim that a system cannot do the thing.
  • The dimensions include the ones this format loses, adoption and saying an address out loud, because choosing the axes is how a comparison lies while every fact in it stays true. So does choosing who appears at all, which is why the closest system to this one is here rather than absent.
  • No system here is described as bad, and none of them is. They answer different questions, and several answer theirs better than this one answers anything yet.