EPSG:5838

Lisbon (Lisbon) to WGS 84 (2)

Attributes

Geodetic CRS: Lisbon (Lisbon)

Datum: Lisbon 1937 (Lisbon)

Ellipsoid: International 1924

Prime meridian: Lisbon

Data source: EPSG

Information source: OGP

Revision date: 2020-03-14

Steps of transformation: 1756 1988

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

Area of use: Portugal - mainland - onshore.

Description: (0,)

MapTiler banner

Definition: OGC Well Known Text 2 (2019)

CONCATENATEDOPERATION["Lisbon (Lisbon) to WGS 84 (2)",
    VERSION["OGP-Prt 2009"],
    SOURCECRS[
        GEOGCRS["Lisbon (Lisbon)",
            DATUM["Lisbon 1937 (Lisbon)",
                ELLIPSOID["International 1924",6378388,297,
                    LENGTHUNIT["metre",1]]],
            PRIMEM["Lisbon",-9.13190611111111,
                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",4803]]],
    TARGETCRS[
        GEOGCRS["WGS 84",
            ENSEMBLE["World Geodetic System 1984 ensemble",
                MEMBER["World Geodetic System 1984 (Transit)"],
                MEMBER["World Geodetic System 1984 (G730)"],
                MEMBER["World Geodetic System 1984 (G873)"],
                MEMBER["World Geodetic System 1984 (G1150)"],
                MEMBER["World Geodetic System 1984 (G1674)"],
                MEMBER["World Geodetic System 1984 (G1762)"],
                MEMBER["World Geodetic System 1984 (G2139)"],
                ELLIPSOID["WGS 84",6378137,298.257223563,
                    LENGTHUNIT["metre",1]],
                ENSEMBLEACCURACY[2.0]],
            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",4326]]],
    STEP[
        COORDINATEOPERATION["Lisbon (Lisbon) to Lisbon (1)",
            VERSION["IGC-Prt"],
            SOURCECRS[
                GEOGCRS["Lisbon (Lisbon)",
                    DATUM["Lisbon 1937 (Lisbon)",
                        ELLIPSOID["International 1924",6378388,297,
                            LENGTHUNIT["metre",1]]],
                    PRIMEM["Lisbon",-9.13190611111111,
                        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",4803]]],
            TARGETCRS[
                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]]],
            METHOD["Longitude rotation",
                ID["EPSG",9601]],
            PARAMETER["Longitude offset",-9.13190611111111,
                ANGLEUNIT["degree",0.0174532925199433],
                ID["EPSG",8602]],
            OPERATIONACCURACY[0.0],
            ID["EPSG",1756]]],
    STEP[
        COORDINATEOPERATION["Lisbon to WGS 84 (4)",
            VERSION["CGC-Prt 1m"],
            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["WGS 84",
                    ENSEMBLE["World Geodetic System 1984 ensemble",
                        MEMBER["World Geodetic System 1984 (Transit)"],
                        MEMBER["World Geodetic System 1984 (G730)"],
                        MEMBER["World Geodetic System 1984 (G873)"],
                        MEMBER["World Geodetic System 1984 (G1150)"],
                        MEMBER["World Geodetic System 1984 (G1674)"],
                        MEMBER["World Geodetic System 1984 (G1762)"],
                        MEMBER["World Geodetic System 1984 (G2139)"],
                        ELLIPSOID["WGS 84",6378137,298.257223563,
                            LENGTHUNIT["metre",1]],
                        ENSEMBLEACCURACY[2.0]],
                    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",4326]]],
            METHOD["Coordinate Frame rotation (geog2D domain)",
                ID["EPSG",9607]],
            PARAMETER["X-axis translation",-288.885,
                LENGTHUNIT["metre",1],
                ID["EPSG",8605]],
            PARAMETER["Y-axis translation",-91.744,
                LENGTHUNIT["metre",1],
                ID["EPSG",8606]],
            PARAMETER["Z-axis translation",126.244,
                LENGTHUNIT["metre",1],
                ID["EPSG",8607]],
            PARAMETER["X-axis rotation",1.691,
                ANGLEUNIT["arc-second",4.84813681109536E-06],
                ID["EPSG",8608]],
            PARAMETER["Y-axis rotation",-0.41,
                ANGLEUNIT["arc-second",4.84813681109536E-06],
                ID["EPSG",8609]],
            PARAMETER["Z-axis rotation",0.211,
                ANGLEUNIT["arc-second",4.84813681109536E-06],
                ID["EPSG",8610]],
            PARAMETER["Scale difference",-4.598,
                SCALEUNIT["parts per million",1E-06],
                ID["EPSG",8611]],
            OPERATIONACCURACY[2.0],
            ID["EPSG",1988]]],
    USAGE[
        SCOPE["Transformation of coordinates at 2m level of accuracy."],
        AREA["Portugal - mainland - onshore."],
        BBOX[36.95,-9.56,42.16,-6.19]],
    ID["EPSG",5838]]

Definition: PROJ.4

+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +inv +proj=longlat +ellps=intl +pm=lisbon +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-288.885 +y=-91.744 +z=126.244 +rx=1.691 +ry=-0.41 +rz=0.211 +s=-4.598 +convention=coordinate_frame +step +inv +proj=cart +ellps=WGS84 +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:5838","+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +inv +proj=longlat +ellps=intl +pm=lisbon +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-288.885 +y=-91.744 +z=126.244 +rx=1.691 +ry=-0.41 +rz=0.211 +s=-4.598 +convention=coordinate_frame +step +inv +proj=cart +ellps=WGS84 +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.5/projjson.schema.json",
    "type": "ConcatenatedOperation",
    "name": "Lisbon (Lisbon) to WGS 84 (2)",
    "source_crs": {
        "type": "GeographicCRS",
        "name": "Lisbon (Lisbon)",
        "datum": {
            "type": "GeodeticReferenceFrame",
            "name": "Lisbon 1937 (Lisbon)",
            "ellipsoid": {
                "name": "International 1924",
                "semi_major_axis": 6378388,
                "inverse_flattening": 297
            },
            "prime_meridian": {
                "name": "Lisbon",
                "longitude": -9.13190611111111
            }
        },
        "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": 4803
        }
    },
    "target_crs": {
        "type": "GeographicCRS",
        "name": "WGS 84",
        "datum_ensemble": {
            "name": "World Geodetic System 1984 ensemble",
            "members": [
                {
                    "name": "World Geodetic System 1984 (Transit)",
                    "id": {
                        "authority": "EPSG",
                        "code": 1166
                    }
                },
                {
                    "name": "World Geodetic System 1984 (G730)",
                    "id": {
                        "authority": "EPSG",
                        "code": 1152
                    }
                },
                {
                    "name": "World Geodetic System 1984 (G873)",
                    "id": {
                        "authority": "EPSG",
                        "code": 1153
                    }
                },
                {
                    "name": "World Geodetic System 1984 (G1150)",
                    "id": {
                        "authority": "EPSG",
                        "code": 1154
                    }
                },
                {
                    "name": "World Geodetic System 1984 (G1674)",
                    "id": {
                        "authority": "EPSG",
                        "code": 1155
                    }
                },
                {
                    "name": "World Geodetic System 1984 (G1762)",
                    "id": {
                        "authority": "EPSG",
                        "code": 1156
                    }
                },
                {
                    "name": "World Geodetic System 1984 (G2139)",
                    "id": {
                        "authority": "EPSG",
                        "code": 1309
                    }
                }
            ],
            "ellipsoid": {
                "name": "WGS 84",
                "semi_major_axis": 6378137,
                "inverse_flattening": 298.257223563
            },
            "accuracy": "2.0",
            "id": {
                "authority": "EPSG",
                "code": 6326
            }
        },
        "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": 4326
        }
    },
    "steps": [
        {
            "type": "Transformation",
            "name": "Lisbon (Lisbon) to Lisbon (1)",
            "source_crs": {
                "type": "GeographicCRS",
                "name": "Lisbon (Lisbon)",
                "datum": {
                    "type": "GeodeticReferenceFrame",
                    "name": "Lisbon 1937 (Lisbon)",
                    "ellipsoid": {
                        "name": "International 1924",
                        "semi_major_axis": 6378388,
                        "inverse_flattening": 297
                    },
                    "prime_meridian": {
                        "name": "Lisbon",
                        "longitude": -9.13190611111111
                    }
                },
                "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": 4803
                }
            },
            "target_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
                }
            },
            "method": {
                "name": "Longitude rotation",
                "id": {
                    "authority": "EPSG",
                    "code": 9601
                }
            },
            "parameters": [
                {
                    "name": "Longitude offset",
                    "value": -9.13190611111111,
                    "unit": "degree",
                    "id": {
                        "authority": "EPSG",
                        "code": 8602
                    }
                }
            ],
            "accuracy": "0.0",
            "id": {
                "authority": "EPSG",
                "code": 1756
            }
        },
        {
            "type": "Transformation",
            "name": "Lisbon to WGS 84 (4)",
            "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": "WGS 84",
                "datum_ensemble": {
                    "name": "World Geodetic System 1984 ensemble",
                    "members": [
                        {
                            "name": "World Geodetic System 1984 (Transit)",
                            "id": {
                                "authority": "EPSG",
                                "code": 1166
                            }
                        },
                        {
                            "name": "World Geodetic System 1984 (G730)",
                            "id": {
                                "authority": "EPSG",
                                "code": 1152
                            }
                        },
                        {
                            "name": "World Geodetic System 1984 (G873)",
                            "id": {
                                "authority": "EPSG",
                                "code": 1153
                            }
                        },
                        {
                            "name": "World Geodetic System 1984 (G1150)",
                            "id": {
                                "authority": "EPSG",
                                "code": 1154
                            }
                        },
                        {
                            "name": "World Geodetic System 1984 (G1674)",
                            "id": {
                                "authority": "EPSG",
                                "code": 1155
                            }
                        },
                        {
                            "name": "World Geodetic System 1984 (G1762)",
                            "id": {
                                "authority": "EPSG",
                                "code": 1156
                            }
                        },
                        {
                            "name": "World Geodetic System 1984 (G2139)",
                            "id": {
                                "authority": "EPSG",
                                "code": 1309
                            }
                        }
                    ],
                    "ellipsoid": {
                        "name": "WGS 84",
                        "semi_major_axis": 6378137,
                        "inverse_flattening": 298.257223563
                    },
                    "accuracy": "2.0",
                    "id": {
                        "authority": "EPSG",
                        "code": 6326
                    }
                },
                "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": 4326
                }
            },
            "method": {
                "name": "Coordinate Frame rotation (geog2D domain)",
                "id": {
                    "authority": "EPSG",
                    "code": 9607
                }
            },
            "parameters": [
                {
                    "name": "X-axis translation",
                    "value": -288.885,
                    "unit": "metre",
                    "id": {
                        "authority": "EPSG",
                        "code": 8605
                    }
                },
                {
                    "name": "Y-axis translation",
                    "value": -91.744,
                    "unit": "metre",
                    "id": {
                        "authority": "EPSG",
                        "code": 8606
                    }
                },
                {
                    "name": "Z-axis translation",
                    "value": 126.244,
                    "unit": "metre",
                    "id": {
                        "authority": "EPSG",
                        "code": 8607
                    }
                },
                {
                    "name": "X-axis rotation",
                    "value": 1.691,
                    "unit": {
                        "type": "AngularUnit",
                        "name": "arc-second",
                        "conversion_factor": 4.84813681109536e-06
                    },
                    "id": {
                        "authority": "EPSG",
                        "code": 8608
                    }
                },
                {
                    "name": "Y-axis rotation",
                    "value": -0.41,
                    "unit": {
                        "type": "AngularUnit",
                        "name": "arc-second",
                        "conversion_factor": 4.84813681109536e-06
                    },
                    "id": {
                        "authority": "EPSG",
                        "code": 8609
                    }
                },
                {
                    "name": "Z-axis rotation",
                    "value": 0.211,
                    "unit": {
                        "type": "AngularUnit",
                        "name": "arc-second",
                        "conversion_factor": 4.84813681109536e-06
                    },
                    "id": {
                        "authority": "EPSG",
                        "code": 8610
                    }
                },
                {
                    "name": "Scale difference",
                    "value": -4.598,
                    "unit": {
                        "type": "ScaleUnit",
                        "name": "parts per million",
                        "conversion_factor": 1e-06
                    },
                    "id": {
                        "authority": "EPSG",
                        "code": 8611
                    }
                }
            ],
            "accuracy": "2.0",
            "id": {
                "authority": "EPSG",
                "code": 1988
            }
        }
    ],
    "scope": "Transformation of coordinates at 2m 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": 5838
    }
}

Definition: MapServer - MAPfile

PROJECTION
	"proj=pipeline"
	"step"
	"proj=axisswap"
	"order=2,1"
	"step"
	"proj=unitconvert"
	"xy_in=deg"
	"xy_out=rad"
	"step"
	"inv"
	"proj=longlat"
	"ellps=intl"
	"pm=lisbon"
	"step"
	"proj=push"
	"v_3"
	"step"
	"proj=cart"
	"ellps=intl"
	"step"
	"proj=helmert"
	"x=-288.885"
	"y=-91.744"
	"z=126.244"
	"rx=1.691"
	"ry=-0.41"
	"rz=0.211"
	"s=-4.598"
	"convention=coordinate_frame"
	"step"
	"inv"
	"proj=cart"
	"ellps=WGS84"
	"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 +inv +proj=longlat +ellps=intl +pm=lisbon +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-288.885 +y=-91.744 +z=126.244 +rx=1.691 +ry=-0.41 +rz=0.211 +s=-4.598 +convention=coordinate_frame +step +inv +proj=cart +ellps=WGS84 +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 +inv +proj=longlat +ellps=intl +pm=lisbon +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-288.885 +y=-91.744 +z=126.244 +rx=1.691 +ry=-0.41 +rz=0.211 +s=-4.598 +convention=coordinate_frame +step +inv +proj=cart +ellps=WGS84 +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 ( 5838, 'EPSG', 5838, '+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +inv +proj=longlat +ellps=intl +pm=lisbon +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-288.885 +y=-91.744 +z=126.244 +rx=1.691 +ry=-0.41 +rz=0.211 +s=-4.598 +convention=coordinate_frame +step +inv +proj=cart +ellps=WGS84 +step +proj=pop +v_3 +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1', 'None');