EPSG
Survey and Mapping Office, Lands Department.
2022-01-21
Transformation of coordinates at 1m level of accuracy.
Derived via ITRF96 @ 1998.121. Published 2002-03-01. Also published as a transformation to WGS 84 - see Hong Kong 1980 to WGS 84 (1) (code 1825).
Coordinate Frame rotation (geog2D domain)
China - Hong Kong - onshore and offshore.
(0,)
Definition: OGC Well Known Text 2 (2019)
COORDINATEOPERATION["Hong Kong 1980 to Hong Kong Geodetic CS (1)", VERSION["LSD-HKG 2002"], SOURCECRS[ GEOGCRS["Hong Kong 1980", DATUM["Hong Kong 1980", 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",4611]]], TARGETCRS[ GEOGCRS["Hong Kong Geodetic CS", DATUM["Hong Kong Geodetic", 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",8427]]], METHOD["Coordinate Frame rotation (geog2D domain)", ID["EPSG",9607]], PARAMETER["X-axis translation",-162.619, LENGTHUNIT["metre",1], ID["EPSG",8605]], PARAMETER["Y-axis translation",-276.959, LENGTHUNIT["metre",1], ID["EPSG",8606]], PARAMETER["Z-axis translation",-161.764, LENGTHUNIT["metre",1], ID["EPSG",8607]], PARAMETER["X-axis rotation",-0.067753, ANGLEUNIT["arc-second",4.84813681109536E-06], ID["EPSG",8608]], PARAMETER["Y-axis rotation",2.243648, ANGLEUNIT["arc-second",4.84813681109536E-06], ID["EPSG",8609]], PARAMETER["Z-axis rotation",1.158828, ANGLEUNIT["arc-second",4.84813681109536E-06], ID["EPSG",8610]], PARAMETER["Scale difference",-1.094246, SCALEUNIT["parts per million",1E-06], ID["EPSG",8611]], OPERATIONACCURACY[1.0], USAGE[ SCOPE["Transformation of coordinates at 1m level of accuracy."], AREA["China - Hong Kong - onshore and offshore."], BBOX[22.13,113.76,22.58,114.51]], ID["EPSG",9913], REMARK["Derived via ITRF96 @ 1998.121. Published 2002-03-01. Also published as a transformation to WGS 84 - see Hong Kong 1980 to WGS 84 (1) (code 1825)."]]
Definition: PROJ.4
+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-162.619 +y=-276.959 +z=-161.764 +rx=-0.067753 +ry=2.243648 +rz=1.158828 +s=-1.094246 +convention=coordinate_frame +step +inv +proj=cart +ellps=GRS80 +step +proj=pop +v_3 +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1
Definition: JavaScript (Proj4js)
proj4.defs("EPSG:9913","+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-162.619 +y=-276.959 +z=-161.764 +rx=-0.067753 +ry=2.243648 +rz=1.158828 +s=-1.094246 +convention=coordinate_frame +step +inv +proj=cart +ellps=GRS80 +step +proj=pop +v_3 +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": "Hong Kong 1980 to Hong Kong Geodetic CS (1)", "source_crs": { "type": "GeographicCRS", "name": "Hong Kong 1980", "datum": { "type": "GeodeticReferenceFrame", "name": "Hong Kong 1980", "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": 4611 } }, "target_crs": { "type": "GeographicCRS", "name": "Hong Kong Geodetic CS", "datum": { "type": "GeodeticReferenceFrame", "name": "Hong Kong Geodetic", "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": 8427 } }, "method": { "name": "Coordinate Frame rotation (geog2D domain)", "id": { "authority": "EPSG", "code": 9607 } }, "parameters": [ { "name": "X-axis translation", "value": -162.619, "unit": "metre", "id": { "authority": "EPSG", "code": 8605 } }, { "name": "Y-axis translation", "value": -276.959, "unit": "metre", "id": { "authority": "EPSG", "code": 8606 } }, { "name": "Z-axis translation", "value": -161.764, "unit": "metre", "id": { "authority": "EPSG", "code": 8607 } }, { "name": "X-axis rotation", "value": -0.067753, "unit": { "type": "AngularUnit", "name": "arc-second", "conversion_factor": 4.84813681109536e-06 }, "id": { "authority": "EPSG", "code": 8608 } }, { "name": "Y-axis rotation", "value": 2.243648, "unit": { "type": "AngularUnit", "name": "arc-second", "conversion_factor": 4.84813681109536e-06 }, "id": { "authority": "EPSG", "code": 8609 } }, { "name": "Z-axis rotation", "value": 1.158828, "unit": { "type": "AngularUnit", "name": "arc-second", "conversion_factor": 4.84813681109536e-06 }, "id": { "authority": "EPSG", "code": 8610 } }, { "name": "Scale difference", "value": -1.094246, "unit": { "type": "ScaleUnit", "name": "parts per million", "conversion_factor": 1e-06 }, "id": { "authority": "EPSG", "code": 8611 } } ], "accuracy": "1.0", "scope": "Transformation of coordinates at 1m level of accuracy.", "area": "China - Hong Kong - onshore and offshore.", "bbox": { "south_latitude": 22.13, "west_longitude": 113.76, "north_latitude": 22.58, "east_longitude": 114.51 }, "id": { "authority": "EPSG", "code": 9913 }, "remarks": "Derived via ITRF96 @ 1998.121. Published 2002-03-01. Also published as a transformation to WGS 84 - see Hong Kong 1980 to WGS 84 (1) (code 1825)." }
Definition: MapServer - MAPfile
PROJECTION "proj=pipeline" "step" "proj=axisswap" "order=2,1" "step" "proj=unitconvert" "xy_in=deg" "xy_out=rad" "step" "proj=push" "v_3" "step" "proj=cart" "ellps=intl" "step" "proj=helmert" "x=-162.619" "y=-276.959" "z=-161.764" "rx=-0.067753" "ry=2.243648" "rz=1.158828" "s=-1.094246" "convention=coordinate_frame" "step" "inv" "proj=cart" "ellps=GRS80" "step" "proj=pop" "v_3" "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=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-162.619 +y=-276.959 +z=-161.764 +rx=-0.067753 +ry=2.243648 +rz=1.158828 +s=-1.094246 +convention=coordinate_frame +step +inv +proj=cart +ellps=GRS80 +step +proj=pop +v_3 +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=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-162.619 +y=-276.959 +z=-161.764 +rx=-0.067753 +ry=2.243648 +rz=1.158828 +s=-1.094246 +convention=coordinate_frame +step +inv +proj=cart +ellps=GRS80 +step +proj=pop +v_3 +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 ( 9913, 'EPSG', 9913, '+proj=pipeline +step +proj=axisswap +order=2,1 +step +proj=unitconvert +xy_in=deg +xy_out=rad +step +proj=push +v_3 +step +proj=cart +ellps=intl +step +proj=helmert +x=-162.619 +y=-276.959 +z=-161.764 +rx=-0.067753 +ry=2.243648 +rz=1.158828 +s=-1.094246 +convention=coordinate_frame +step +inv +proj=cart +ellps=GRS80 +step +proj=pop +v_3 +step +proj=unitconvert +xy_in=rad +xy_out=deg +step +proj=axisswap +order=2,1', 'None');