Datatypes › Geographic identifiers

EPSG coordinate reference system code

ID epsg_code

DatatypeNot PIIcategoricalDraft

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).

Identifier of a coordinate reference system (CRS) in the EPSG Geodetic Parameter Dataset. The regexp covers the forms that name the authority: EPSG:4326, used by PROJ and many GIS tools, the OGC URN urn:ogc:def:crs:EPSG::4326 and the OGC URI http://www.opengis.net/def/crs/EPSG/0/4326. The code itself is a number of four or five digits, and Wikidata stores only that number; a bare number is not covered because it looks like any other number. In a field named after EPSG (EPSG, EPSG_XYZ, epsg_origine, srid) the bare number is the code too, as in the Austrian BEV control point files: 4936, 4937, 25833. A label may put the name of the system before the code and a space after the colon (WGS 84 EPSG: 4326 in the CRS field of the soil profile database of the Armenian Soil Information System).

Categories
Geographic identifiers
Countries
Global (not tied to a country)
Languages
Common to most languages
Wikidata
P1338
Quality
95/100 · missing: translation
Metacrafter rules
3 rules (2 by field name, 1 by value)
Supported by tools
metacrafter

Regular expression

^(?:(?:[A-Z][A-Za-z0-9 ./()-]{0,60} )?EPSG: ?|urn:ogc:def:crs:EPSG::|https?://www\.opengis\.net/def/crs/EPSG/0/)[1-9]\d{3,4}$

Python re syntax.

Test a value

Examples

ValueDescription
EPSG:4326 WGS 84, geographic 2D
EPSG:3857 WGS 84 / Pseudo-Mercator, projected
EPSG:25832 ETRS89 / UTM zone 32N, projected
WGS 84 EPSG: 4326 Name of the system before the code, Armenian Soil Information System
urn:ogc:def:crs:EPSG::4326 OGC URN form
http://www.opengis.net/def/crs/EPSG/0/4326 OGC URI form
4326 invalid Bare code without the authority

Sources

Use this record