Datatypes › Geographic identifiers
EPSG coordinate reference system code
ID epsg_code
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)
epsgcodebycrsfield, common/geo.yamlepsgcodebynamefield, common/geo.yamlepsgcodevaluedata, common/geo.yaml
- 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
| Value | Description |
|---|---|
| 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
- doc: epsg.org/home.html
- doc: proj.org/en/stable/apps/projinfo.html
- wikipedia: EPSG Geodetic Parameter Dataset (en.wikipedia.org)
- wikidata: wikidata.org/wiki/Property:P1338
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/epsg_code - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/geo/epsg_code.yamlon GitHub