Definition: OGC Well Known Text 2 (2019)
COORDINATEOPERATION["MGI (Ferro) to MGI (Greenwich)", VERSION["BEV-Aut balk"], SOURCECRS[ GEOGCRS["MGI (Ferro)", DATUM["Militar-Geographische Institut (Ferro)", ELLIPSOID["Bessel 1841",6377397.155,299.1528128, LENGTHUNIT["metre",1]]], PRIMEM["Ferro",-17.6666666666667, 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",4805]]], TARGETCRS[ GEOGCRS["MGI", DATUM["Militar-Geographische Institut", 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",4312]]], METHOD["Longitude rotation", ID["EPSG",9601]], PARAMETER["Longitude offset",-17.6666666666667, ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8602]], USAGE[ SCOPE["Change of prime meridian."], AREA["Morocco - onshore and offshore."], BBOX[27.66,-13.86,36,-1.01]], ID["EPSG",1261]]
Definition: JavaScript (Proj4js)
proj4.defs("EPSG:1261","+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +inv +proj=longlat +ellps=bessel +pm=ferro +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": "MGI (Ferro) to MGI (Greenwich)", "source_crs": { "type": "GeographicCRS", "name": "MGI (Ferro)", "datum": { "type": "GeodeticReferenceFrame", "name": "Militar-Geographische Institut (Ferro)", "ellipsoid": { "name": "Bessel 1841", "semi_major_axis": 6377397.155, "inverse_flattening": 299.1528128 }, "prime_meridian": { "name": "Ferro", "longitude": -17.6666666666667 } }, "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": 4805 } }, "target_crs": { "type": "GeographicCRS", "name": "MGI", "datum": { "type": "GeodeticReferenceFrame", "name": "Militar-Geographische Institut", "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": 4312 } }, "method": { "name": "Longitude rotation", "id": { "authority": "EPSG", "code": 9601 } }, "parameters": [ { "name": "Longitude offset", "value": -17.6666666666667, "unit": "degree", "id": { "authority": "EPSG", "code": 8602 } } ], "scope": "Change of prime meridian.", "area": "Morocco - onshore and offshore.", "bbox": { "south_latitude": 27.66, "west_longitude": -13.86, "north_latitude": 36, "east_longitude": -1.01 }, "id": { "authority": "EPSG", "code": 1261 } }
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=ferro" "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=ferro +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=ferro +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 ( 1261, 'EPSG', 1261, '+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +inv +proj=longlat +ellps=bessel +pm=ferro +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1', 'None');