Definition: OGC Well Known Text 2 (2019)
CONCATENATEDOPERATION["KOC CD height to KOC WD depth (ft) (1)", VERSION["IOGP-Kwt"], SOURCECRS[ VERTCRS["KOC CD height", VDATUM["KOC Construction Datum"], CS[vertical,1], AXIS["gravity-related height (H)",up, LENGTHUNIT["metre",1]], ID["EPSG",5790]]], TARGETCRS[ VERTCRS["KOC WD depth (ft)", VDATUM["KOC Well Datum"], CS[vertical,1], AXIS["depth (D)",down, LENGTHUNIT["foot",0.3048]], ID["EPSG",5614]]], STEP[ COORDINATEOPERATION["KOC CD height to KOC WD height (1)", VERSION["KOC-Kwt"], SOURCECRS[ VERTCRS["KOC CD height", VDATUM["KOC Construction Datum"], CS[vertical,1], AXIS["gravity-related height (H)",up, LENGTHUNIT["metre",1]], ID["EPSG",5790]]], TARGETCRS[ VERTCRS["KOC WD height", VDATUM["KOC Well Datum"], CS[vertical,1], AXIS["gravity-related height (H)",up, LENGTHUNIT["metre",1]], ID["EPSG",7979]]], METHOD["Vertical Offset", ID["EPSG",9616]], PARAMETER["Vertical Offset",-4.74, LENGTHUNIT["metre",1], ID["EPSG",8603]], OPERATIONACCURACY[0.1], ID["EPSG",7980], REMARK["The KOC CD vertical reference surface is 4.74m (15.55ft) below KOC WD surface."]]], STEP[ CONVERSION["Height <> Depth Conversion", METHOD["Height Depth Reversal", ID["EPSG",1068]], ID["EPSG",7812]]], STEP[ CONVERSION["Vertical Axis Unit Conversion", METHOD["Change of Vertical Unit", ID["EPSG",1104]], ID["EPSG",7813]]], OPERATIONACCURACY[0.1], USAGE[ SCOPE["Change of height to a different vertical reference surface and unit."], AREA["Kuwait - onshore."], BBOX[28.53,46.54,30.09,48.48]], ID["EPSG",7987]]
Definition: JSON
{ "$schema": "https://proj.org/schemas/v0.7/projjson.schema.json", "type": "ConcatenatedOperation", "name": "KOC CD height to KOC WD depth (ft) (1)", "source_crs": { "type": "VerticalCRS", "name": "KOC CD height", "datum": { "type": "VerticalReferenceFrame", "name": "KOC Construction Datum" }, "coordinate_system": { "subtype": "vertical", "axis": [ { "name": "Gravity-related height", "abbreviation": "H", "direction": "up", "unit": "metre" } ] }, "id": { "authority": "EPSG", "code": 5790 } }, "target_crs": { "type": "VerticalCRS", "name": "KOC WD depth (ft)", "datum": { "type": "VerticalReferenceFrame", "name": "KOC Well Datum" }, "coordinate_system": { "subtype": "vertical", "axis": [ { "name": "Depth", "abbreviation": "D", "direction": "down", "unit": { "type": "LinearUnit", "name": "foot", "conversion_factor": 0.3048 } } ] }, "id": { "authority": "EPSG", "code": 5614 } }, "steps": [ { "type": "Transformation", "name": "KOC CD height to KOC WD height (1)", "source_crs": { "type": "VerticalCRS", "name": "KOC CD height", "datum": { "type": "VerticalReferenceFrame", "name": "KOC Construction Datum" }, "coordinate_system": { "subtype": "vertical", "axis": [ { "name": "Gravity-related height", "abbreviation": "H", "direction": "up", "unit": "metre" } ] }, "id": { "authority": "EPSG", "code": 5790 } }, "target_crs": { "type": "VerticalCRS", "name": "KOC WD height", "datum": { "type": "VerticalReferenceFrame", "name": "KOC Well Datum" }, "coordinate_system": { "subtype": "vertical", "axis": [ { "name": "Gravity-related height", "abbreviation": "H", "direction": "up", "unit": "metre" } ] }, "id": { "authority": "EPSG", "code": 7979 } }, "method": { "name": "Vertical Offset", "id": { "authority": "EPSG", "code": 9616 } }, "parameters": [ { "name": "Vertical Offset", "value": -4.74, "unit": "metre", "id": { "authority": "EPSG", "code": 8603 } } ], "accuracy": "0.1", "id": { "authority": "EPSG", "code": 7980 }, "remarks": "The KOC CD vertical reference surface is 4.74m (15.55ft) below KOC WD surface." }, { "type": "Conversion", "name": "Height <> Depth Conversion", "method": { "name": "Height Depth Reversal", "id": { "authority": "EPSG", "code": 1068 } }, "id": { "authority": "EPSG", "code": 7812 } }, { "type": "Conversion", "name": "Vertical Axis Unit Conversion", "method": { "name": "Change of Vertical Unit", "id": { "authority": "EPSG", "code": 1104 } }, "id": { "authority": "EPSG", "code": 7813 } } ], "accuracy": "0.1", "scope": "Change of height to a different vertical reference surface and unit.", "area": "Kuwait - onshore.", "bbox": { "south_latitude": 28.53, "west_longitude": 46.54, "north_latitude": 30.09, "east_longitude": 48.48 }, "id": { "authority": "EPSG", "code": 7987 } }
Definition: Mapnik
<?xml version="1.0" encoding="utf-8"?> <Map srs="+proj=pipeline +step +proj=geogoffset +dh=-4.74 +step +proj=axisswap +order=1,2,-3 +step +proj=unitconvert +z_in=m +z_out=ft"> <Layer srs="+proj=pipeline +step +proj=geogoffset +dh=-4.74 +step +proj=axisswap +order=1,2,-3 +step +proj=unitconvert +z_in=m +z_out=ft"> </Layer> </Map>
Definition: SQL (PostGIS)
INSERT into spatial_ref_sys (srid, auth_name, auth_srid, proj4text, srtext) values ( 7987, 'EPSG', 7987, '+proj=pipeline +step +proj=geogoffset +dh=-4.74 +step +proj=axisswap +order=1,2,-3 +step +proj=unitconvert +z_in=m +z_out=ft', 'None');