Definition: OGC Well Known Text 2 (2019)
COORDINATEOPERATION["RT38 (Stockholm) to RT38 (Greenwich)", VERSION["NLS-Swe"], SOURCECRS[ GEOGCRS["RT38 (Stockholm)", DATUM["Stockholm 1938 (Stockholm)", ELLIPSOID["Bessel 1841",6377397.155,299.1528128, LENGTHUNIT["metre",1]]], PRIMEM["Stockholm",18.0582777777778, 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",4814]]], TARGETCRS[ GEOGCRS["RT38", DATUM["Stockholm 1938", ELLIPSOID["Bessel 1841",6377397.155,299.1528128, 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",4308]]], METHOD["Longitude rotation", ID["EPSG",9601]], PARAMETER["Longitude offset",18.0582777777778, ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8602]], USAGE[ SCOPE["Change of prime meridian."], AREA["Sweden - onshore and offshore."], BBOX[54.96,10.03,69.07,24.17]], ID["EPSG",1269]]
Definition: JavaScript (Proj4js)
proj4.defs("EPSG:1269","+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +inv +proj=longlat +ellps=bessel +pm=stockholm +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": "RT38 (Stockholm) to RT38 (Greenwich)", "source_crs": { "type": "GeographicCRS", "name": "RT38 (Stockholm)", "datum": { "type": "GeodeticReferenceFrame", "name": "Stockholm 1938 (Stockholm)", "ellipsoid": { "name": "Bessel 1841", "semi_major_axis": 6377397.155, "inverse_flattening": 299.1528128 }, "prime_meridian": { "name": "Stockholm", "longitude": 18.0582777777778 } }, "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": 4814 } }, "target_crs": { "type": "GeographicCRS", "name": "RT38", "datum": { "type": "GeodeticReferenceFrame", "name": "Stockholm 1938", "ellipsoid": { "name": "Bessel 1841", "semi_major_axis": 6377397.155, "inverse_flattening": 299.1528128 } }, "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": 4308 } }, "method": { "name": "Longitude rotation", "id": { "authority": "EPSG", "code": 9601 } }, "parameters": [ { "name": "Longitude offset", "value": 18.0582777777778, "unit": "degree", "id": { "authority": "EPSG", "code": 8602 } } ], "scope": "Change of prime meridian.", "area": "Sweden - onshore and offshore.", "bbox": { "south_latitude": 54.96, "west_longitude": 10.03, "north_latitude": 69.07, "east_longitude": 24.17 }, "id": { "authority": "EPSG", "code": 1269 } }
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=bessel" "pm=stockholm" "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=bessel +pm=stockholm +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=bessel +pm=stockholm +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 ( 1269, 'EPSG', 1269, '+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +inv +proj=longlat +ellps=bessel +pm=stockholm +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1', 'None');