Datatypes › Environment (protected areas, biodiversity, water, weather, emissions, waste)

Pfafstetter basin code

ID pfafstetter_code

DatatypeNot PIIidentifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Code of a river basin in the Pfafstetter coding of Otto Pfafstetter: at every level the four largest tributary basins are numbered 2, 4, 6 and 8, the interbasins between them 1, 3, 5, 7 and 9 and a closed basin 0, so a code of n digits is a basin of level n inside the basin named by its first n-1 digits. South American hydrographic units are coded this way (in Bolivia 4 the Amazon, 8 La Plata and 0 the closed Altiplano basin; 85899 a unit of the Guadalquivir in Tarija), as are the ottobacias of the Brazilian water agency ANA and the PFAF_ID of the global HydroBASINS. Leading zeros are part of the code (015).

Parent datatype
Unique identifier id
Categories
Environment (protected areas, biodiversity, water, weather, emissions, waste), Geographic identifiers
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
90/100 · missing: mapping (Wikidata, Schema.org, ...)
Metacrafter rules
2 rules (2 by field name, 0 by value)
Supported by tools
metacrafter

Regular expression

^\d{1,12}$

Python re syntax.

Test a value

Examples

ValueDescription
85899 level 5, Río Guadalquivir (Tarija, Bolivia)
8589929 level 7, inside 85899
01592 level 5 of the closed Altiplano basin (Katari, La Paz)
8a invalid digits only

Translations

LanguageNameDescription
SpanishCódigo Pfafstetter de cuenca
PortugueseCódigo de Pfafstetter (ottobacia)

Sources

Use this record