Definition: OGC Well Known Text 2 (2019)
COORDINATEOPERATION["Batavia (Jakarta) to Batavia (Greenwich)", VERSION["EPSG-Idn Java"], SOURCECRS[ GEOGCRS["Batavia (Jakarta)", DATUM["Batavia (Jakarta)", ELLIPSOID["Bessel 1841",6377397.155,299.1528128, LENGTHUNIT["metre",1]]], PRIMEM["Jakarta",106.807719444444, 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",4813]]], TARGETCRS[ GEOGCRS["Batavia", DATUM["Batavia", 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",4211]]], METHOD["Longitude rotation", ID["EPSG",9601]], PARAMETER["Longitude offset",106.807719444444, ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8602]], USAGE[ SCOPE["Change of prime meridian."], AREA["Indonesia - onshore - Bali, Java and western Sumatra."], BBOX[-8.91,95.16,5.97,115.77]], ID["EPSG",1268]]
Definition: JavaScript (Proj4js)
proj4.defs("EPSG:1268","+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +inv +proj=longlat +ellps=bessel +pm=jakarta +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": "Batavia (Jakarta) to Batavia (Greenwich)", "source_crs": { "type": "GeographicCRS", "name": "Batavia (Jakarta)", "datum": { "type": "GeodeticReferenceFrame", "name": "Batavia (Jakarta)", "ellipsoid": { "name": "Bessel 1841", "semi_major_axis": 6377397.155, "inverse_flattening": 299.1528128 }, "prime_meridian": { "name": "Jakarta", "longitude": 106.807719444444 } }, "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": 4813 } }, "target_crs": { "type": "GeographicCRS", "name": "Batavia", "datum": { "type": "GeodeticReferenceFrame", "name": "Batavia", "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": 4211 } }, "method": { "name": "Longitude rotation", "id": { "authority": "EPSG", "code": 9601 } }, "parameters": [ { "name": "Longitude offset", "value": 106.807719444444, "unit": "degree", "id": { "authority": "EPSG", "code": 8602 } } ], "scope": "Change of prime meridian.", "area": "Indonesia - onshore - Bali, Java and western Sumatra.", "bbox": { "south_latitude": -8.91, "west_longitude": 95.16, "north_latitude": 5.97, "east_longitude": 115.77 }, "id": { "authority": "EPSG", "code": 1268 } }
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=jakarta" "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=jakarta +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=jakarta +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 ( 1268, 'EPSG', 1268, '+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +inv +proj=longlat +ellps=bessel +pm=jakarta +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1', 'None');