EPSG:10838

LKS-92 to LKS-2020 (1)

Attributes

Geodetic CRS: LKS-92

Datum: Latvian geodetic coordinate system 1992

Ellipsoid: GRS 1980

Prime meridian: Greenwich

Data source: EPSG

Information source: Geodesy Department, Latvian Geospatial Information Agency. https://www.lgia.gov.lv/

Revision date: 2025-04-10

Scope: Spatial referencing.

Remarks: Accuracy of transformation is at 1 cm level one sigma. Care! The NTv2 format requires longitudes to be positive west. At a given point, LKS-2020 latitude (positive north) has a greater value than LKS-92 latitude and LKS-2020 longitude (positive east) has a lesser value than LKS-92 longitude. For point Odukalns: 56.8283960°N, 24.2727688°E (LKS-92) = 56.8283967°N, 24.2727679°E (LKS-2020).

Method: NTv2

Area of use: Latvia - onshore and offshore.

Description: (0,)

MapTiler banner

Definition: OGC Well Known Text 2 (2019)

COORDINATEOPERATION["LKS-92 to LKS-2020 (1)",
    VERSION["LGIA-Lva"],
    SOURCECRS[
        GEOGCRS["LKS-92",
            DATUM["Latvian geodetic coordinate system 1992",
                ELLIPSOID["GRS 1980",6378137,298.257222101,
                    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",4661]]],
    TARGETCRS[
        GEOGCRS["LKS-2020",
            DATUM["Latvian coordinate system 2020",
                ELLIPSOID["GRS 1980",6378137,298.257222101,
                    LENGTHUNIT["metre",1]],
                ANCHOREPOCH[2020.28]],
            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",10305]]],
    METHOD["NTv2",
        ID["EPSG",9615]],
    PARAMETERFILE["Latitude and longitude difference file","LKS92to2020NTv2.gsb"],
    OPERATIONACCURACY[0.02],
    USAGE[
        SCOPE["Spatial referencing."],
        AREA["Latvia - onshore and offshore."],
        BBOX[55.67,19.06,58.09,28.24]],
    ID["EPSG",10838],
    REMARK["Accuracy of transformation is at 1 cm level one sigma. Care! The NTv2 format requires longitudes to be positive west. At a given point, LKS-2020 latitude (positive north) has a greater value than LKS-92 latitude and LKS-2020 longitude (positive east) has a lesser value than LKS-92 longitude. For point Odukalns: 56.8283960°N, 24.2727688°E (LKS-92) = 56.8283967°N, 24.2727679°E (LKS-2020)."]]

Definition: PROJ.4

+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=hgridshift +grids=lv_lgia_lks92to2020.tif +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1

Definition: JavaScript (Proj4js)

proj4.defs("EPSG:10838","+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=hgridshift +grids=lv_lgia_lks92to2020.tif +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": "LKS-92 to LKS-2020 (1)",
    "source_crs": {
        "type": "GeographicCRS",
        "name": "LKS-92",
        "datum": {
            "type": "GeodeticReferenceFrame",
            "name": "Latvian geodetic coordinate system 1992",
            "ellipsoid": {
                "name": "GRS 1980",
                "semi_major_axis": 6378137,
                "inverse_flattening": 298.257222101
            }
        },
        "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": 4661
        }
    },
    "target_crs": {
        "type": "GeographicCRS",
        "name": "LKS-2020",
        "datum": {
            "type": "GeodeticReferenceFrame",
            "name": "Latvian coordinate system 2020",
            "anchor_epoch": 2020.279999999999,
            "ellipsoid": {
                "name": "GRS 1980",
                "semi_major_axis": 6378137,
                "inverse_flattening": 298.257222101
            }
        },
        "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": 10305
        }
    },
    "method": {
        "name": "NTv2",
        "id": {
            "authority": "EPSG",
            "code": 9615
        }
    },
    "parameters": [
        {
            "name": "Latitude and longitude difference file",
            "value": "LKS92to2020NTv2.gsb",
            "id": {
                "authority": "EPSG",
                "code": 8656
            }
        }
    ],
    "accuracy": "0.02",
    "scope": "Spatial referencing.",
    "area": "Latvia - onshore and offshore.",
    "bbox": {
        "south_latitude": 55.67,
        "west_longitude": 19.06,
        "north_latitude": 58.09,
        "east_longitude": 28.24
    },
    "id": {
        "authority": "EPSG",
        "code": 10838
    },
    "remarks": "Accuracy of transformation is at 1 cm level one sigma. Care! The NTv2 format requires longitudes to be positive west. At a given point, LKS-2020 latitude (positive north) has a greater value than LKS-92 latitude and LKS-2020 longitude (positive east) has a lesser value than LKS-92 longitude. For point Odukalns: 56.8283960°N, 24.2727688°E (LKS-92) = 56.8283967°N, 24.2727679°E (LKS-2020)."
}

Definition: MapServer - MAPfile

PROJECTION
	"proj=pipeline"
	"step"
	"proj=axisswap"
	"order=2,1"
	"step"
	"proj=unitconvert"
	"xy_in=deg"
	"xy_out=rad"
	"step"
	"proj=hgridshift"
	"grids=lv_lgia_lks92to2020.tif"
	"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=hgridshift +grids=lv_lgia_lks92to2020.tif +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=hgridshift +grids=lv_lgia_lks92to2020.tif +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 ( 10838, 'EPSG', 10838, '+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=hgridshift +grids=lv_lgia_lks92to2020.tif +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1', 'None');