EPSG:5038

Lisbon to ETRS89 (3)

Attributes

Geodetic CRS: Lisbon

Datum: Lisbon 1937

Ellipsoid: International 1924

Prime meridian: Greenwich

Data source: EPSG

Information source: Instituto Geografico Portugues; http://www.igeo.pt

Revision date: 2020-03-14

Scope: Transformation of coordinates at 3m level of accuracy.

Remarks: Derived in July 2009 from 119 common stations. Average residual at 833 test points 2.5m, maximum 7m. Info source also gives a Position Vector tfm which is of similar accuracy. Replaces Lisbon to ETRS89 (2) (tfm code 1997).

Method: Geocentric translations (geog2D domain)

Area of use: Portugal - mainland - onshore.

Description: (0,)

MapTiler banner

Definition: OGC Well Known Text 2 (2019)

COORDINATEOPERATION["Lisbon to ETRS89 (3)",
    VERSION["CGC-Prt 2009 7m"],
    SOURCECRS[
        GEOGCRS["Lisbon",
            DATUM["Lisbon 1937",
                ELLIPSOID["International 1924",6378388,297,
                    LENGTHUNIT["metre",1]]],
            PRIMEM["Greenwich",0,
                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]],
            ID["EPSG",4207]]],
    TARGETCRS[
        GEOGCRS["ETRS89",
            ENSEMBLE["European Terrestrial Reference System 1989 ensemble",
                MEMBER["European Terrestrial Reference Frame 1989"],
                MEMBER["European Terrestrial Reference Frame 1990"],
                MEMBER["European Terrestrial Reference Frame 1991"],
                MEMBER["European Terrestrial Reference Frame 1992"],
                MEMBER["European Terrestrial Reference Frame 1993"],
                MEMBER["European Terrestrial Reference Frame 1994"],
                MEMBER["European Terrestrial Reference Frame 1996"],
                MEMBER["European Terrestrial Reference Frame 1997"],
                MEMBER["European Terrestrial Reference Frame 2000"],
                MEMBER["European Terrestrial Reference Frame 2005"],
                MEMBER["European Terrestrial Reference Frame 2014"],
                ELLIPSOID["GRS 1980",6378137,298.257222101,
                    LENGTHUNIT["metre",1]],
                ENSEMBLEACCURACY[0.1]],
            PRIMEM["Greenwich",0,
                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]],
            ID["EPSG",4258]]],
    METHOD["Geocentric translations (geog2D domain)",
        ID["EPSG",9603]],
    PARAMETER["X-axis translation",-303.861,
        LENGTHUNIT["metre",1],
        ID["EPSG",8605]],
    PARAMETER["Y-axis translation",-60.693,
        LENGTHUNIT["metre",1],
        ID["EPSG",8606]],
    PARAMETER["Z-axis translation",103.607,
        LENGTHUNIT["metre",1],
        ID["EPSG",8607]],
    OPERATIONACCURACY[2.5],
    USAGE[
        SCOPE["Transformation of coordinates at 3m level of accuracy."],
        AREA["Portugal - mainland - onshore."],
        BBOX[36.95,-9.56,42.16,-6.19]],
    ID["EPSG",5038],
    REMARK["Derived in July 2009 from 119 common stations. Average residual at 833 test points 2.5m, maximum 7m. Info source also gives a Position Vector tfm which is of similar accuracy. Replaces Lisbon to ETRS89 (2) (tfm code 1997)."]]

Definition: PROJ.4

+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-303.861 +y=-60.693 +z=103.607 +step +inv +proj=cart +ellps=GRS80 +step +proj=pop +v_3 +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1

Definition: JavaScript (Proj4js)

proj4.defs("EPSG:5038","+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-303.861 +y=-60.693 +z=103.607 +step +inv +proj=cart +ellps=GRS80 +step +proj=pop +v_3 +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1");

Definition: JSON

{
    "$schema": "https://proj.org/schemas/v0.7/projjson.schema.json",
    "type": "Transformation",
    "name": "Lisbon to ETRS89 (3)",
    "source_crs": {
        "type": "GeographicCRS",
        "name": "Lisbon",
        "datum": {
            "type": "GeodeticReferenceFrame",
            "name": "Lisbon 1937",
            "ellipsoid": {
                "name": "International 1924",
                "semi_major_axis": 6378388,
                "inverse_flattening": 297
            }
        },
        "coordinate_system": {
            "subtype": "ellipsoidal",
            "axis": [
                {
                    "name": "Geodetic latitude",
                    "abbreviation": "Lat",
                    "direction": "north",
                    "unit": "degree"
                },
                {
                    "name": "Geodetic longitude",
                    "abbreviation": "Lon",
                    "direction": "east",
                    "unit": "degree"
                }
            ]
        },
        "id": {
            "authority": "EPSG",
            "code": 4207
        }
    },
    "target_crs": {
        "type": "GeographicCRS",
        "name": "ETRS89",
        "datum_ensemble": {
            "name": "European Terrestrial Reference System 1989 ensemble",
            "members": [
                {
                    "name": "European Terrestrial Reference Frame 1989",
                    "id": {
                        "authority": "EPSG",
                        "code": 1178
                    }
                },
                {
                    "name": "European Terrestrial Reference Frame 1990",
                    "id": {
                        "authority": "EPSG",
                        "code": 1179
                    }
                },
                {
                    "name": "European Terrestrial Reference Frame 1991",
                    "id": {
                        "authority": "EPSG",
                        "code": 1180
                    }
                },
                {
                    "name": "European Terrestrial Reference Frame 1992",
                    "id": {
                        "authority": "EPSG",
                        "code": 1181
                    }
                },
                {
                    "name": "European Terrestrial Reference Frame 1993",
                    "id": {
                        "authority": "EPSG",
                        "code": 1182
                    }
                },
                {
                    "name": "European Terrestrial Reference Frame 1994",
                    "id": {
                        "authority": "EPSG",
                        "code": 1183
                    }
                },
                {
                    "name": "European Terrestrial Reference Frame 1996",
                    "id": {
                        "authority": "EPSG",
                        "code": 1184
                    }
                },
                {
                    "name": "European Terrestrial Reference Frame 1997",
                    "id": {
                        "authority": "EPSG",
                        "code": 1185
                    }
                },
                {
                    "name": "European Terrestrial Reference Frame 2000",
                    "id": {
                        "authority": "EPSG",
                        "code": 1186
                    }
                },
                {
                    "name": "European Terrestrial Reference Frame 2005",
                    "id": {
                        "authority": "EPSG",
                        "code": 1204
                    }
                },
                {
                    "name": "European Terrestrial Reference Frame 2014",
                    "id": {
                        "authority": "EPSG",
                        "code": 1206
                    }
                }
            ],
            "ellipsoid": {
                "name": "GRS 1980",
                "semi_major_axis": 6378137,
                "inverse_flattening": 298.257222101
            },
            "accuracy": "0.1",
            "id": {
                "authority": "EPSG",
                "code": 6258
            }
        },
        "coordinate_system": {
            "subtype": "ellipsoidal",
            "axis": [
                {
                    "name": "Geodetic latitude",
                    "abbreviation": "Lat",
                    "direction": "north",
                    "unit": "degree"
                },
                {
                    "name": "Geodetic longitude",
                    "abbreviation": "Lon",
                    "direction": "east",
                    "unit": "degree"
                }
            ]
        },
        "id": {
            "authority": "EPSG",
            "code": 4258
        }
    },
    "method": {
        "name": "Geocentric translations (geog2D domain)",
        "id": {
            "authority": "EPSG",
            "code": 9603
        }
    },
    "parameters": [
        {
            "name": "X-axis translation",
            "value": -303.861,
            "unit": "metre",
            "id": {
                "authority": "EPSG",
                "code": 8605
            }
        },
        {
            "name": "Y-axis translation",
            "value": -60.693,
            "unit": "metre",
            "id": {
                "authority": "EPSG",
                "code": 8606
            }
        },
        {
            "name": "Z-axis translation",
            "value": 103.607,
            "unit": "metre",
            "id": {
                "authority": "EPSG",
                "code": 8607
            }
        }
    ],
    "accuracy": "2.5",
    "scope": "Transformation of coordinates at 3m level of accuracy.",
    "area": "Portugal - mainland - onshore.",
    "bbox": {
        "south_latitude": 36.95,
        "west_longitude": -9.56,
        "north_latitude": 42.16,
        "east_longitude": -6.19
    },
    "id": {
        "authority": "EPSG",
        "code": 5038
    },
    "remarks": "Derived in July 2009 from 119 common stations. Average residual at 833 test points 2.5m, maximum 7m. Info source also gives a Position Vector tfm which is of similar accuracy. Replaces Lisbon to ETRS89 (2) (tfm code 1997)."
}

Definition: MapServer - MAPfile

PROJECTION
	"proj=pipeline"
	"step"
	"proj=axisswap"
	"order=2,1"
	"step"
	"proj=unitconvert"
	"xy_in=deg"
	"xy_out=rad"
	"step"
	"proj=push"
	"v_3"
	"step"
	"proj=cart"
	"ellps=intl"
	"step"
	"proj=helmert"
	"x=-303.861"
	"y=-60.693"
	"z=103.607"
	"step"
	"inv"
	"proj=cart"
	"ellps=GRS80"
	"step"
	"proj=pop"
	"v_3"
	"step"
	"proj=unitconvert"
	"xy_in=rad"
	"xy_out=deg"
	"step"
	"proj=axisswap"
	"order=2,1"
END

Definition: Mapnik

<?xml version="1.0" encoding="utf-8"?>
<Map srs="+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-303.861 +y=-60.693 +z=103.607 +step +inv +proj=cart +ellps=GRS80 +step +proj=pop +v_3 +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1">
	<Layer srs="+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-303.861 +y=-60.693 +z=103.607 +step +inv +proj=cart +ellps=GRS80 +step +proj=pop +v_3 +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1">
	</Layer>
</Map>

Definition: SQL (PostGIS)

INSERT into spatial_ref_sys (srid, auth_name, auth_srid, proj4text, srtext) values ( 5038, 'EPSG', 5038, '+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-303.861 +y=-60.693 +z=103.607 +step +inv +proj=cart +ellps=GRS80 +step +proj=pop +v_3 +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1', 'None');