Skip to main content
v2026.11,986 entries · CC-BY 4.0

Coordinate Reference System (CRS): Definition, Types and EPSG Codes

A coordinate reference system fixes datum, units and axis order so coordinates mean a place. Compare EPSG:4326, 3857 and 26915 with a worked example.

Written and maintained by CASRAI Editorial Board

Published

On this page

A coordinate reference system (CRS) is the rule set that turns a pair of numbers into a place on the Earth: it fixes the datum (the model of the Earth the numbers refer to), the type of coordinate system (angles such as latitude and longitude, or distances such as eastings and northings), the units and the order of the axes. Without a CRS, a coordinate such as 479105.88, 4980518.42 is only two numbers.

What is a coordinate reference system (CRS)?

The GeoPandas user guide puts the idea in one line: a CRS “tells Python how those coordinates relate to places on the Earth.” Every spatial file, raster and table that stores coordinates implicitly or explicitly depends on one. If two datasets use different CRSs and are overlaid without conversion, features that sit in the same place on the ground appear in different places on the screen, or fall outside the plot entirely.

A CRS has four parts that you can read off any registry record:

  • Datum. The reference model of the Earth. For EPSG:4326 the registry record names the World Geodetic System 1984 ensemble (EPSG:6326), with an ellipsoid whose semi-major axis is 6,378,137 m and whose inverse flattening is 298.257223563.
  • Coordinate system type. Geographic (angular: latitude and longitude) or projected (Cartesian: easting and northing, in this page’s three examples in metres).
  • Units and axes. Degrees for EPSG:4326; metres for the two projected examples below. The registry also fixes which axis comes first.
  • Projection method and parameters (projected CRSs only). For NAD83 / UTM zone 15N this is Transverse Mercator with a central meridian of 93°W, a scale factor of 0.9996 and a false easting of 500,000 m.

Registries such as EPSG give each CRS a numeric code, so “EPSG:4326” is a compact, unambiguous label. The PROJ documentation notes that a CRS can also be written as a PROJ string, as Well-Known Text (WKT) or as an EPSG code. ISO 19111:2019 is the international standard that sets out the conceptual schema for referencing by coordinates and the minimum data needed to define a CRS.

What are the types of coordinate systems in GIS?

GIS work uses two main families of coordinate system, and the choice decides whether your numbers are angles or distances.

Geographic coordinate systems

A geographic CRS locates points on the ellipsoid with angles. EPSG:4326 is a geographic (geodetic) two-dimensional CRS: latitude and longitude in degrees, covering the whole world (latitude −90 to 90, longitude −180 to 180). Degrees are not a constant length on the ground, so area, distance and buffer calculations done directly in degrees are not in metres and should be treated with care.

Projected coordinate systems

A projected CRS flattens the ellipsoid onto a plane using a mathematical projection and reports positions as easting and northing in linear units. The GeoPandas guide is explicit about the cost: “All projections of locations on the Earth into a two-dimensional plane have distortions.” Different projections preserve different properties, and each projected CRS is defined for a stated area of use. NAD83 / UTM zone 15N (EPSG:26915), for example, is defined for longitudes 96°W to 90°W, which covers parts of Manitoba, Nunavut, Ontario, Minnesota, Iowa, Illinois, Texas and Wisconsin among others.

What is the WGS84 coordinate system (EPSG:4326)?

WGS84 is the datum behind the geographic CRS registered as EPSG:4326, named “WGS 84”. It is a latitude and longitude system in degrees, and its registry record lists latitude first and longitude second (north, then east). Its datum is the World Geodetic System 1984 ensemble. Many downloaded point datasets, GPS-derived coordinates and web map inputs use this CRS, which is why it is often the default label for “plain latitude and longitude.” It is the CRS you assign to coordinates that arrived as degrees from a source that says WGS84; it is not a map projection.

A closely related code causes frequent confusion. EPSG:3857, “WGS 84 / Pseudo-Mercator”, is a projected CRS in metres that is based on EPSG:4326 and is used for web-map display. Its record describes the method as Popular Visualisation Pseudo-Mercator, a spherical development, and states “Not a recognised geodetic system.” Its area of use runs from 85.06°S to 85.06°N. The record also notes that against EPSG:3395 it differs by about 0.7% in scale, with map-northing differences of up to 43 km (about 21 km on the ground). In short: use EPSG:3857 to display, and do not take areas or distances from it.

What are the coordinates of a map?

The coordinates of a map are the numbers printed or stored for its positions, and they only have meaning together with the CRS they were produced in. The same location has a different pair of numbers in every CRS. The table below shows one illustrative point, 44.9778°N, 93.2650°W (a coordinate pair chosen for this example, not a surveyed site), converted into the three CRSs used on this page. The values were computed with pyproj 3.8.0 (PROJ 9.8.1).

CRS First number Second number Meaning
EPSG:4326 (WGS 84) 44.9778 −93.2650 latitude, longitude (degrees)
EPSG:26915 (NAD83 / UTM zone 15N) 479105.88 4980518.42 easting, northing (metres)
EPSG:3857 (WGS 84 / Pseudo-Mercator) −10382212.31 5618027.23 easting, northing (metres)

The data table below the guide lists the datum, units, axis order, projection method and area of use for each of these three codes, as recorded in the EPSG registry entries.

Worked example: reading and transforming a coordinate

Take the point above, 44.9778°N and 93.2650°W, supplied as latitude and longitude in EPSG:4326, and ask for its position in NAD83 / UTM zone 15N.

  1. Check the area of use. The point’s longitude, 93.2650°W, lies between 96°W and 90°W, so zone 15N is a valid choice. A point at 100°W would fall outside this CRS’s area of use and the result would be distorted.
  2. Check the axis order. EPSG:4326 lists latitude first. The input is therefore (44.9778, −93.2650), not (−93.2650, 44.9778).
  3. Transform. The result is easting 479,105.88 m and northing 4,980,518.42 m. The easting is close to the false easting of 500,000 m: an easting below 500,000 m means the point lies west of the 93°W central meridian, here by 500,000 − 479,105.88 = 20,894.12 m of grid distance, consistent with a longitude 0.265° west of that meridian.
  4. Convert for display. In EPSG:3857 the same point becomes (−10,382,212.31, 5,618,027.23). The x value equals the longitude in radians multiplied by the sphere radius of 6,378,137 m: −93.2650° × π/180 = −1.62779 rad, and −1.62779 × 6,378,137 ≈ −10,382,212 m.

Pass the same two numbers in the wrong order and the transformation fails. In the test run, giving pyproj (−93.2650, 44.9778) as (latitude, longitude) returned infinite values for both coordinates, because a “latitude” of −93.265° is impossible. That is the visible form of the axis-order problem described next.

Axis order and units: where datasets silently disagree

The PROJ FAQ states that PROJ respects the axis ordering as it was defined by the authority in charge of a given CRS. For EPSG:4326 that authority order is latitude, then longitude, while a great deal of software and file formats store longitude first (x, y). Mixed conventions are the most common cause of points landing in the wrong hemisphere or on the wrong side of a continent. In pyproj the transformer option always_xy=True forces longitude/latitude (x/y) order for input and output; the pyproj CRS object exposes the declared order in its axis_info, where EPSG:26915 lists Easting then Northing in metres.

Check units the same way. In the three examples here, EPSG:4326 reports degrees and the two projected CRSs report metres, so a difference of 1 in a degree-based CRS is not a metre and does not correspond to a fixed length on the ground. Read the unit from the CRS definition rather than from the size of the numbers.

Reading guidance: which CRS for which task

Situation What the registry records support
Storing or exchanging plain latitude and longitude EPSG:4326 is a geographic 2D CRS in degrees covering the whole world.
Showing data on a web map EPSG:3857 is described as a visualisation projection with scope web mapping; it is not a recognised geodetic system.
Measuring inside one zone in metres EPSG:26915 is a projected CRS in metres, defined for 96°W to 90°W.
Data that spans several UTM zones or the whole world A single zone’s area of use does not cover it: record each dataset’s CRS and transform deliberately.

Common mistakes with coordinate reference systems

Labelling versus transforming

The GeoPandas guide separates two operations. set_crs labels coordinates that have no CRS attached; it tells GeoPandas how to interpret numbers that already exist. to_crs transforms the coordinates into a different CRS. Using to_crs on data with no CRS fails. In the test run, GeoSeries.to_crs on an unlabelled point raised “Cannot transform naive geometries. Please set a crs on the object first.” The reverse error is worse because nothing fails: calling set_crs with a different CRS than the data really use relabels the coordinates and leaves every position wrong. GeoPandas guards against accidental relabelling by raising an error that points to set_crs(crs, allow_override=True) or to_crs(crs).

Other frequent errors

  • Measuring distance or area in degrees (EPSG:4326) and reporting the result as if it were in metres.
  • Taking areas or distances from EPSG:3857, which is meant for display.
  • Using a projected CRS far outside its area of use, such as a UTM zone for data well beyond its 6° of longitude.
  • Swapping latitude and longitude, as the infinite-value test above shows.
  • Describing a dataset as “WGS84” without a code, when the same name is attached to both EPSG:4326 and EPSG:3857.

How to report a CRS in a methods section

Name the CRS by its registry code and its name, state what the coordinates were used for, and say where a transformation happened. For example: “Station coordinates were recorded as latitude and longitude (EPSG:4326, WGS 84) and projected to NAD83 / UTM zone 15N (EPSG:26915) before distances were calculated in metres.” Give the software and version used for the transformation, such as pyproj 3.8.0 with PROJ 9.8.1 in the run behind this page. The code and name together are unambiguous in a way that “WGS84” or “UTM” alone are not.

How to work with a CRS in Python

The pyproj snippet below reads the properties of a CRS and transforms the example point. It was run to produce the values on this page.

from pyproj import CRS, Transformer

crs = CRS.from_epsg(26915)
print(crs.name, crs.is_projected)          # NAD83 / UTM zone 15N True
print([a.name for a in crs.axis_info])     # ['Easting', 'Northing']

t = Transformer.from_crs(4326, 26915)   # EPSG:4326 input order: latitude, longitude
print(t.transform(44.9778, -93.2650))      # (479105.88..., 4980518.41...)

t_xy = Transformer.from_crs(4326, 26915, always_xy=True)   # x/y: longitude, latitude
print(t_xy.transform(-93.2650, 44.9778))

The GeoPandas snippet shows labelling followed by transforming; it ran with the result shown in the comment.

import geopandas as gpd
from shapely.geometry import Point

pts = gpd.GeoSeries([Point(-93.2650, 44.9778)])  # longitude, latitude
pts = pts.set_crs(4326)       # label: these numbers are EPSG:4326
pts_utm = pts.to_crs(26915)   # transform to NAD83 / UTM zone 15N
print(pts_utm.iloc[0].x, pts_utm.iloc[0].y)  # 479105.88... 4980518.42...

Python’s pyproj is covered in more detail in the CASRAI guide to the pyproj library for coordinate transformations, and spatial datasets that need a CRS include digital elevation models. Place-name lookups and gazetteers are described in geographical names and gazetteer data, and data portals that publish layers in several CRSs are covered under geoportals.

Frequently asked questions

What are the types of coordinate systems in GIS?

Geographic coordinate systems use angles (latitude and longitude in degrees, as in EPSG:4326), and projected coordinate systems use a map projection and report easting and northing in linear units (as in EPSG:26915 and EPSG:3857, both in metres).

What is the WGS84 coordinate system?

WGS84 is the World Geodetic System 1984 datum. As the geographic CRS EPSG:4326 it gives latitude and longitude in degrees, listed in the order latitude, longitude, for the whole world.

What are the coordinates of a map?

They are the position numbers stored for the map’s features, and they depend on the CRS. The same point is 44.9778, −93.2650 in EPSG:4326 and 479105.88, 4980518.42 in EPSG:26915.

Sources

Data: Three common coordinate reference systems compared: type, datum, units, axes, method and area of use

Compares EPSG:4326, EPSG:3857 and EPSG:26915 on CRS type, datum, coordinate units, axis order, projection method and area of use. Compiled from the EPSG registry entries on epsg.io and the axis information exposed by the pyproj CRS documentation and library, read 2026-11-19.

Three common coordinate reference systems compared: type, datum, units, axes, method and area of use
CRSCRS typeDatumCoordinate unitAxis orderProjection methodArea of use
EPSG:4326 WGS 84Geographic (geodetic) 2DWorld Geodetic System 1984 ensemble (EPSG:6326)degreeLatitude, longitude (north, east)None (angular coordinates on the ellipsoid)World: latitude -90 to 90, longitude -180 to 180
EPSG:3857 WGS 84 / Pseudo-MercatorProjected (Cartesian 2D)World Geodetic System 1984 ensemble (based on EPSG:4326)metreEasting, northingPopular Visualisation Pseudo-Mercator (EPSG method 1024)85.06 S to 85.06 N; web mapping and visualisation
EPSG:26915 NAD83 / UTM zone 15NProjectedNorth American Datum 1983 (GRS 1980)metreEasting, northingTransverse Mercator: central meridian 93 W, scale 0.9996, false easting 500,000 m96 W to 90 W (Manitoba, Nunavut, Ontario, MN, IA, IL, TX, WI and others)

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Coordinate Reference System (CRS): Definition, Types and EPSG Codes

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →