IT

GIS, mapping and coordinates · 7 September 2017 · updated 25 November 2026

EPSG codes

What the numbers next to reference systems in a GIS mean: geographic and projected systems, the EPSG registry and the codes most used in Italy, including RDN2008.

If you use GIS now and then but don’t know what the numbers next to the many reference systems in the software’s CRS section are, I’ll explain in this article.

4265

4326

32632

6707

They aren’t discount coupons but codes that uniquely identify all the reference systems in use around the world.

The reference system selection window in QGIS

I’d already written something in this article about reference systems and transforming coordinates between them, and here you’ll also find a few things about georeferencing.

Geographic reference systems

The Earth’s surface is approximated by a mathematically very complex shape, the geoid, which in turn is approximated by a simpler one, the ellipsoid of revolution.
A point on the Earth’s surface is identified by two angular coordinates (latitude and longitude), which give its position on the ellipsoid, plus a linear measurement, the height (here’s another article on the height problem).
But there’s more than one ellipsoid of revolution, each with its own characteristics (semi-axis lengths and polar flattening), different from the others.
There’s Bessel (1841), Helmert (1906), Hayford (1910), the International (1924), WGS72 (1972), the “famous” WGS84 (1984) and more.
Over time each country chose the ellipsoid whose shape best fitted its territory, “brought” it close to the Earth’s surface, pinned it at a point and rotated it as needed (orientation) until it best approximated the national surface.

So each country had its own geographic reference system.
The Italian system in use until not long ago (and in reality still now), Roma40, is based on the International ellipsoid oriented at Rome Monte Mario (pinned at Monte Mario in Rome and rotated along the Monte Mario – Monte Soratte line); the European one, ED50, is also based on the International ellipsoid but oriented in Germany, at Potsdam.

You can already see how many geographic reference systems there are around the world…

But that’s not all.

Projected reference systems

For a piece of ellipsoid to be shown on a plane (on paper or a screen) it has to be projected onto it.
Projecting a curved surface onto a plane raises quite a few problems, and for years cartographers struggled with the related distortions.
I’ll spare you the whole story of projections (equidistant, equal-area, conformal, compromise, …) and cut it short by saying that all geographic reference systems were projected onto the plane, giving birth to projected (or map) reference systems.
The points of the Earth’s surface go through projection algorithms that convert latitude and longitude into a pair of Cartesian coordinates in metres, X and Y (also shown as easting and northing).
Many projected reference systems then adopted “false origins” to avoid negative coordinates.

Back to the Italian example: the International ellipsoid of the Roma 40 system is projected onto the plane with the transverse Mercator (or Gauss conformal) projection, “customised” by Prof. Boaga. That’s why people talk about Roma40 and also Gauss-Boaga.

Italy divided into zones in the UTM and Roma 40 map systems

EPSG codes

This is where EPSG codes come in.
With dozens and dozens of reference systems used worldwide, the need to exchange map information on a global scale and the spread of GIS software, including open source, all this information had to be catalogued to avoid confusion and errors.
Reference systems and their transformation parameters were coded in registries maintained by international organisations.
The most widespread is the EPSG registry (European Petroleum Survey Group), now managed by the Geomatics Committee of the International Association of Oil & Gas Producers (IOGP).
EPSG codes are now recognised worldwide as the standard for classifying reference systems.

The VIP EPSG codes

Below are the geographic and projected reference systems most used in Italy, as you’ll find them in GIS software, with their EPSG codes.

EPSG codes for geographic systems

System EPSG code
Monte Mario (our Roma 40) 4265
ED50 4230
WGS84 4326
ETRS89 4258
IGM95 4670
RDN2008 6706

EPSG codes for projected systems

Name Datum Projection Zone EPSG
Monte Mario / Italy zone 1 Roma 40 Gauss-Boaga West 3003
Monte Mario / Italy zone 2 Roma 40 Gauss-Boaga East 3004
ED50 / UTM zone 32N ED50 UTM 32N 23032
ED50 / UTM zone 33N ED50 UTM 33N 23033
ED50 / UTM zone 34N ED50 UTM 34N 23034
WGS 84 / UTM zone 32N WGS84 UTM 32N 32632
WGS 84 / UTM zone 33N WGS84 UTM 33N 32633
WGS 84 / UTM zone 34N WGS84 UTM 34N 32634
ETRS89 / UTM zone 32N ETRS89 UTM 32N 25832
ETRS89 / UTM zone 33N ETRS89 UTM 33N 25833
ETRS89 / UTM zone 34N ETRS89 UTM 34N 25834
IGM95 / UTM zone 32N IGM95 UTM 32N 3064
IGM95 / UTM zone 33N IGM95 UTM 33N 3065
RDN2008 / UTM zone 32N RDN2008 UTM 32N 7791 (E-N) or 6707 (N-E)
RDN2008 / UTM zone 33N RDN2008 UTM 33N 7792 (E-N) or 6708 (N-E)
RDN2008 / UTM zone 34N RDN2008 UTM 34N 7793 (E-N) or 6709 (N-E)
RDN2008 / Italy zone RDN2008 TM Italy zone Italy 7794 (E-N) or 6875 (N-E)
RDN2008 / Zone 12 RDN2008 TM 12 7795 (E-N) or 6876 (N-E)

RDN2008: why two codes for the same system

RDN2008 is Italy’s official reference system, and for each of its projections you’ll find two EPSG codes. The only difference is the order of the coordinates.

The 67xx codes (6707, 6708, 6709) and 6875-6876 put northing first and easting second (N-E). The 779x codes (7791, 7792, 7793, 7794, 7795) put easting first and northing second (E-N), as almost all GIS and CAD software does.

Here’s the point: if you pick the code with the wrong order in QGIS, your data may end up in the middle of the sea or not show up at all. To work in Liguria, which lies in zone 32, the code to choose in a GIS is almost always 7791; east of 12°E you move to zone 33, so 7792.

In conclusion, if you receive a file georeferenced in a specific reference system, ask your surveyor for its EPSG code. That way, when you import it into the GIS, you’ll only have to select the reference system with that code for everything to fall into place.
…Hopefully…

See you soon!

Paolo

← All articles