It is preferable to use whichever of either Madrid 1870 (Madrid) to ED50 (2) (code 1027) or Madrid 1870 (Madrid) to ED50 (3) (code 1028) is applicable to the area.
Institut de Geomatica; Barcelona.
2018-05-12
degree (supplier to define representation)
EPSG
National Geographic Institute of Spain (IGN), http://www.ign.es
2020-07-01
Geodesy.
Replaced by ED50 in 1970.
Ellipsoidal 2D CS. Axes: latitude, longitude. Orientations: north, east. UoM: degree
Definition: OGC Well Known Text
GEOGCS["Madrid 1870 (Madrid)", DATUM["Madrid_1870_Madrid", SPHEROID["Struve 1860",6378298.3,294.73, AUTHORITY["EPSG","7028"]], AUTHORITY["EPSG","6903"]], PRIMEM["Madrid",-3.687375, AUTHORITY["EPSG","8905"]], UNIT["degree",0.0174532925199433, AUTHORITY["EPSG","9122"]], AUTHORITY["EPSG","4903"]]
Definition: OGC Well Known Text 2 (2019)
GEOGCRS["Madrid 1870 (Madrid)", DATUM["Madrid 1870 (Madrid)", ELLIPSOID["Struve 1860",6378298.3,294.73, LENGTHUNIT["metre",1]]], PRIMEM["Madrid",-3.687375, ANGLEUNIT["degree",0.0174532925199433]], CS[ellipsoidal,2], AXIS["geodetic latitude (Lat)",north, ORDER[1], ANGLEUNIT["degree",0.0174532925199433]], AXIS["geodetic longitude (Lon)",east, ORDER[2], ANGLEUNIT["degree",0.0174532925199433]], USAGE[ SCOPE["Geodesy."], AREA["Spain - mainland onshore."], BBOX[35.95,-9.37,43.82,3.39]], ID["EPSG",4903]]
Definition: JSON
{ "$schema": "https://proj.org/schemas/v0.7/projjson.schema.json", "type": "GeographicCRS", "name": "Madrid 1870 (Madrid)", "datum": { "type": "GeodeticReferenceFrame", "name": "Madrid 1870 (Madrid)", "ellipsoid": { "name": "Struve 1860", "semi_major_axis": 6378298.3, "inverse_flattening": 294.73 }, "prime_meridian": { "name": "Madrid", "longitude": -3.687375 } }, "coordinate_system": { "subtype": "ellipsoidal", "axis": [ { "name": "Geodetic latitude", "abbreviation": "Lat", "direction": "north", "unit": "degree" }, { "name": "Geodetic longitude", "abbreviation": "Lon", "direction": "east", "unit": "degree" } ] }, "scope": "Geodesy.", "area": "Spain - mainland onshore.", "bbox": { "south_latitude": 35.95, "west_longitude": -9.37, "north_latitude": 43.82, "east_longitude": 3.39 }, "id": { "authority": "EPSG", "code": 4903 } }
Definition: GeoServer
4903=GEOGCS["Madrid 1870 (Madrid)",DATUM["Madrid_1870_Madrid",SPHEROID["Struve 1860",6378298.3,294.73,AUTHORITY["EPSG","7028"]],AUTHORITY["EPSG","6903"]],PRIMEM["Madrid",-3.687375,AUTHORITY["EPSG","8905"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4903"]]
Definition: Mapnik
<?xml version="1.0" encoding="utf-8"?> <Map srs="+proj=longlat +a=6378298.3 +rf=294.73 +pm=-3.687375 +no_defs +type=crs"> <Layer srs="+proj=longlat +a=6378298.3 +rf=294.73 +pm=-3.687375 +no_defs +type=crs"> </Layer> </Map>
Definition: SQL (PostGIS)
INSERT into spatial_ref_sys (srid, auth_name, auth_srid, proj4text, srtext) values ( 4903, 'EPSG', 4903, '+proj=longlat +a=6378298.3 +rf=294.73 +pm=-3.687375 +no_defs +type=crs', 'GEOGCS["Madrid 1870 (Madrid)",DATUM["Madrid_1870_Madrid",SPHEROID["Struve 1860",6378298.3,294.73,AUTHORITY["EPSG","7028"]],AUTHORITY["EPSG","6903"]],PRIMEM["Madrid",-3.687375,AUTHORITY["EPSG","8905"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4903"]]');