Gamma API

Update GNSS settings

PATCH
/api/projects/{projectId}/gnss

Absent fields are left alone.

Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

Request Body

application/json
  1. body
coordinateSystem?|

WKT, WKT2 or PROJ4 text. Empty or null: the device's own (WGS 84).

geoidModel?string

egm2008: WGS 84 to EGM2008 height. egm96: WGS 84 to EGM96 height. none: ellipsoidal height.

Value in"egm2008""egm96""none"
useSurveyFoot?boolean
heightOffset?number

Metres added to every height after the geoid.

ntrip?

The NTRIP caster corrections come from.

Response Body

OK.

application/json
  1. response
coordinateSystem*|

WKT, WKT2 or PROJ4 text, as pasted. Null: the device's own (WGS 84).

geoidModel*string

egm2008 (default), egm96, or none for ellipsoidal height.

useSurveyFoot*boolean
heightOffset*number

Metres added to every height after the geoid.

ntrip*
Example Request
curl -X PATCH 'http://localhost:3000/api/projects/string/gnss' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "coordinateSystem": "string",  "geoidModel": "string",  "useSurveyFoot": true,  "heightOffset": 0,  "ntrip": {    "host": "string",    "port": -9007199254740991,    "mountPoint": "string",    "username": "string",    "hasPassword": true  }}