Definition: OGC Well Known Text 2 (2019)
COORDINATEOPERATION["Tananarive (Paris) to Tananarive (1)", VERSION["EPSG-Mdg"], SOURCECRS[ GEOGCRS["Tananarive (Paris)", DATUM["Tananarive 1925 (Paris)", ELLIPSOID["International 1924",6378388,297, LENGTHUNIT["metre",1]]], PRIMEM["Paris",2.5969213, ANGLEUNIT["grad",0.0157079632679489]], CS[ellipsoidal,2], AXIS["geodetic latitude (Lat)",north, ORDER[1], ANGLEUNIT["grad",0.0157079632679489]], AXIS["geodetic longitude (Lon)",east, ORDER[2], ANGLEUNIT["grad",0.0157079632679489]], ID["EPSG",4810]]], TARGETCRS[ GEOGCRS["Tananarive", DATUM["Tananarive 1925", 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",4297]]], METHOD["Longitude rotation", ID["EPSG",9601]], PARAMETER["Longitude offset",2.5969213, ANGLEUNIT["grad",0.0157079632679489], ID["EPSG",8602]], OPERATIONACCURACY[0.0], USAGE[ SCOPE["Change of prime meridian."], AREA["Madagascar - onshore."], BBOX[-25.64,43.18,-11.89,50.56]], ID["EPSG",1265]]
Definition: JavaScript (Proj4js)
proj4.defs("EPSG:1265","+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=grad +xy_out=rad +step +inv +proj=longlat +ellps=intl +pm=paris +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": "Tananarive (Paris) to Tananarive (1)", "source_crs": { "type": "GeographicCRS", "name": "Tananarive (Paris)", "datum": { "type": "GeodeticReferenceFrame", "name": "Tananarive 1925 (Paris)", "ellipsoid": { "name": "International 1924", "semi_major_axis": 6378388, "inverse_flattening": 297 }, "prime_meridian": { "name": "Paris", "longitude": { "value": 2.5969213, "unit": { "type": "AngularUnit", "name": "grad", "conversion_factor": 0.0157079632679489 } } } }, "coordinate_system": { "subtype": "ellipsoidal", "axis": [ { "name": "Geodetic latitude", "abbreviation": "Lat", "direction": "north", "unit": { "type": "AngularUnit", "name": "grad", "conversion_factor": 0.0157079632679489 } }, { "name": "Geodetic longitude", "abbreviation": "Lon", "direction": "east", "unit": { "type": "AngularUnit", "name": "grad", "conversion_factor": 0.0157079632679489 } } ] }, "id": { "authority": "EPSG", "code": 4810 } }, "target_crs": { "type": "GeographicCRS", "name": "Tananarive", "datum": { "type": "GeodeticReferenceFrame", "name": "Tananarive 1925", "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": 4297 } }, "method": { "name": "Longitude rotation", "id": { "authority": "EPSG", "code": 9601 } }, "parameters": [ { "name": "Longitude offset", "value": 2.5969213, "unit": { "type": "AngularUnit", "name": "grad", "conversion_factor": 0.0157079632679489 }, "id": { "authority": "EPSG", "code": 8602 } } ], "accuracy": "0.0", "scope": "Change of prime meridian.", "area": "Madagascar - onshore.", "bbox": { "south_latitude": -25.64, "west_longitude": 43.18, "north_latitude": -11.89, "east_longitude": 50.56 }, "id": { "authority": "EPSG", "code": 1265 } }
Definition: MapServer - MAPfile
PROJECTION "proj=pipeline" "step" "proj=axisswap" "order=2,1" "step" "proj=unitconvert" "xy_in=grad" "xy_out=rad" "step" "inv" "proj=longlat" "ellps=intl" "pm=paris" "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=grad +xy_out=rad +step +inv +proj=longlat +ellps=intl +pm=paris +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=grad +xy_out=rad +step +inv +proj=longlat +ellps=intl +pm=paris +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 ( 1265, 'EPSG', 1265, '+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=grad +xy_out=rad +step +inv +proj=longlat +ellps=intl +pm=paris +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1', 'None');