ArticleslgStudy

science

Geocode

Geocode is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Geocode rather than just read about it. In short: A geocode or geographic identifier (sometimes shortened as geo ID) is a code or unique identifier that represents a geographic entity (location or object), as distinguished from other entities in the same geocode system. In general, a geocode is a human-readable and short identifier.

Geocode — main illustration
Geocode — illustration

Key takeaways

  • Geocode belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Geocode to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Geocode from memory before moving on to harder problems.

Reference excerpt

A geocode or geographic identifier (sometimes shortened as geo ID) is a code or unique identifier that represents a geographic entity (location or object), as distinguished from other entities in the same geocode system. In general, a geocode is a human-readable and short identifier. The ISO 19112 standard also admits long labels as geocodes. Geocodes are mainly used (in general as an atomic data type) for labelling, data integrity, geotagging and spatial indexing. Typical geocodes (in bold) and entities represented by it:

Country code and subdivision code. Polygon of the administrative boundaries of a country or a subdivision. The main examples are ISO codes: ISO 3166-1 alpha-2 code (e.g. AF for Afghanistan or BR for Brazil), and its subdivision conventions, such as AF subdivision codes (e.g. AF-GHO for Ghor province) or BR subdivision codes (e.g. BR-AM for Amazonas state). DGG cell ID. Identifier of a cell of a discrete global grid: a Geohash code (e.g. ~0.023 km2 cell 6vd23gq at Brazil's centroid) or a Plus Code (e.g. ~0.0002 km2 cell 58Q8XXXX+XX within the same area). Postal code. Polygon of a postal area: a CEP code (e.g. 70040 represents a Brazilian's central area for postal distribution). In theoretical computer science a geocode system is a hash function, and, an important class of utilitarian geocode systems is described as a locality-preserving hashing function.

Classification

There are some common aspects of many geocodes (or geocode systems) that can be used as classification criteria:

Ownership: proprietary or free, differing by its licences. Formation: the geocode can be originated from a name (ex. abbreviation of official name the country) or from mathematical function (encoding algorithm to compress latitude-longitude). See geocode system types below (of names and of grids). Hierarchy: geocode's syntax hierarchy corresponding to the spatial hierarchy of its represented entities. A geocode system can be hierarchical (name or grid) or non-hierarchical. Covering: global or partial. The entities (represented by the geocodes) are in all globe (e. g. geographical points) or is delimited the theme (e.g. only terrestrial areas) or by the ownership's jurisdiction (e.g. only into a country). Type of the represented entity: type of geometry. Point (the geocode can be translated to a Geo URI), grid cell (the geocode system is related with a DGG) or polygon (typically administrative boundaries delimitations). special hierarchical grids, with global covering and equal-area cells, can be classified as DGGS cell some non-standard geographic entities, can be classified also by its coordinate system and elipsoid of reference (e.g. UTM). The de facto standard is the WGS84. Scope of use: general use vs specialized (e.g. airport geocodes).

System The set of all geocodes used as unique identifiers of the cells of a full-coverage of the geographic surface (or any well-defined area like a country or the oceans), is a geocode system (also named geocode scheme). The syntax and semantic of the geocodes are also components of the system definition:

geocode syntax: the characters that can be used, blocks of characters and its size and order. Example: country codes use two letters of the alphabet (chacacter set A-Z). The most common way to describe formally is by regular expression (e.g. /[A-Z]{2,2}/). geocode semantic: the meaning of the geocode, usually expressed by associating the code with a geographical entity type. Can be described formally is by an ontology, an UML class diagram or any Entity-relationship model. In general the semantic can be deduced by its formation or encoding/decoding process. Example: each Geohash code can be expressed by a rectangular area in the map, and the rectangle coordinates is obtained by its decoding process. Many syntax and semantic characteristics are also summarized by classification.

Encode and decode Any geocode can be translated from a formal (and expanded) expression of the geographical entity, or vice versa, the geocode translated to entity. The first is named encode process, the second decode. The actors and process involved, as defined by OGC, are:

geocoder A software agent that transforms the description of a geographic entity (e.g. location name or latitude/longitude coordinates), into a normalized data and encodes it as a geocode. geocoder service A geocoder implemented as web service (or similar service interface), that accepts a set of geographic entity descriptors as input. The request is "sent" to the Geocoder Service, which processes the request and returns the resulting geocodes. More general services can also return geographic features (e.g. GeoJSON object) represented by the geocodes. geocoding Geocoding refers to the assignment of geocodes or coordinates to geographically reference data provided in a textual format. Examples are the two letter country codes and coordinates computed from addresses. Note: when a physical addressing schemes (street name and house number) is expressed in a standardized and simplified way, it can be conceived as geocode. So, the term geocoding (used for addresses) sometimes is generalized for geocodes. In spatial indexing applications the geocode can also be translated between human-readable (e.g. hexadecimal) and internal (e.g. binary 64-bit unsigned integer) representations.

Systems of standard names

Geocodes like country codes, city codes, etc. comes from a table of official names, and the corresponding official codes and geometries (typically polygon of administrative areas). "Official" in the context of control and consensus, typically a table controlled by a standards organization or governmental authority. So, the most general case is a table of standard names and the corresponding standard codes (and its official geometries).

… excerpt ends here. Continue reading the full article.

Illustrations

Geocode: Germany (DE) with each first-level administrative subdivision labelled with the second part of its ISO 3166-2 code
Germany (DE) with each first-level administrative subdivision labelled with the second part of its ISO 3166-2 code
Geocode: The 21 top-level 2-digit "region" of hydrologic unit boundaries, using the HUC geocode conventions
The 21 top-level 2-digit "region" of hydrologic unit boundaries, using the HUC geocode conventions
Geocode: Each cell of a regular grid is labeled by a geocode. The non-global grids were the most used before the 2000s. This hierarchical system of local grids, used since the 1930s as British National Grid, generates hierarchical geocodes. Each cell subdivides recurrently its area into a new 10x10 grid.
Each cell of a regular grid is labeled by a geocode. The non-global grids were the most used before the 2000s. This hierarchical system of local grids, used since the 1930s as British National Grid, generates hierarchical geocodes. Each cell subdivides recurrently its area into a new 10x10 grid.

Worked examples

Example 1 — a first encounter with Geocode

Start with the simplest possible case. Write down what Geocode claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Geocode before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Geocode ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Geocode

In research
Geocode appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Geocode in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Geocode is common in secondary-school and first-year university syllabi. It links to neighbouring topics Geocodes, so understanding it makes those chapters shorter.
In everyday life
Look for Geocode outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Geocode in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Geocode means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Geocode out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Geocode in simple terms?

A geocode or geographic identifier (sometimes shortened as geo ID) is a code or unique identifier that represents a geographic entity (location or object), as distinguished from other entities in the same geocode system. In general, a geocode is a human-readable and short identifier.

Why does Geocode matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Geocode?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Geocode.

Tags

  • Geocodes

Keep exploring