Find Position with LTE

User Story

The user wants to determine the WGS-84 compliant coordinates defined by the LTE information in the POST body.

Request

The code block below demonstrates a POST request to determine the geocoordinates as specified by the GSM information in the POST body. You need to set the request content type in the HTTP headers.

Global
Azure
POST /v2/locate?apiKey={YOUR_API_KEY} HTTP/1.1
Host: positioning.hereapi.com
Content-Type: application/json
POST /v2/locate?apiKey={YOUR_API_KEY} HTTP/1.1
Host: az.positioning.hereapi.com
Content-Type: application/json

This POST request requires the following POST body.

{
  "lte": [
    {
      "mcc": 262,
      "mnc": 2,
      "cid": 2898945,
      "rsrp": -50, "rsrq": -5,
      "nmr": [
        { "earfcn": 6300, "pci": 237, "rsrp": -60, "rsrq": -6 },
        { "earfcn": 6300, "pci": 442, "rsrp": -70, "rsrq": -7 }
      ]
    }
  ]
}

Note

This example uses a HERE API Key to authenticate your request. For the available authentication options, see the Identity & Access Management Developer Guide.

Response

The response to the request contains:

  • lat: WGS-84 compliant latitude coordinate
  • lng: WGS-84 compliant longitude coordinate
  • accuracy: Radius of the uncertainty circle around the position in meters
{
  "location": {
    "lat": 52.5180243,
    "lng": 13.37655529,
    "accuracy": 300
  }
}

results matching ""

    No results matching ""