EPSG systems

EPSG:4903 Madrid 1870 (Madrid)

Geographic system in latitude and longitude, in use: Spain - mainland onshore. Datum, ellipsoid and transformation to WGS 84 below.

EPSG publishes no simple transformation to WGS 84 for this datum: conversion works on the ellipsoid alone and can be off by tens of metres.

System record
CodeEPSG:4903
NameMadrid 1870 (Madrid)
TypeGeographic system
Area of use Spain - mainland onshore
Bounds W -9,37° · S 35,95° · E 3,39° · N 43,82°
Countries Spain
DatumMadrid 1870 (Madrid)
Ellipsoid Struve 1860 a = 6378298.3 m · 1/f = 294.73
Prime meridianMadrid -3.6873750000000003 degree
Unit degree (Lat north, Lon east)
Transformation to WGS 84 No simple transformation published (ellipsoid alone)
ScopeGeodesy.

proj4 definition

+proj=longlat +a=6378298.3 +rf=294.73 +pm=-3.687375 +no_defs

Paste it into QGIS, proj4js, PostGIS (spatial_ref_sys) or GDAL. +towgs84 carries the EPSG transformation to WGS 84; the official code stays EPSG:4903.

WKT (ESRI format, the .prj content)

GEOGCS["GCS_Madrid_1870_Madrid",DATUM["D_Madrid_1870",SPHEROID["Struve_1860",6378298.3,294.73]],PRIMEM["Madrid",-3.687375],UNIT["Degree",0.0174532925199433]]

All systems — Spain

Source: EPSG registry v11.022 (IOGP), through the PROJ database. Always check a code on epsg.org before contractual work.