How to get coordinates with WCDMA
Note
HERE Network Positioning API v1 is in maintenance and is not actively developed. Use HERE Network Positioning API v2 to get the latest features and updates. To learn more, see the HERE Network Positioning API v2 Developer Guide.
User Story
The user wants to determine the WGS-84 compliant coordinates defined by the WCDMA information in the POST body.
Request
The code block below demonstrates a POST request to define the geocoordinates as specified by the WCDMA information in the POST body.
https://pos.ls.hereapi.com/positioning/v1/locate?apiKey={YOUR_API_KEY}You need to set request content type in the HTTP headers:
Content-Type: application/jsonThis POST request requires the following POST body.
{
"wcdma": [{
"mcc": 262,
"mnc": 7,
"cid": 14674663,
"nmr": [
{ "uarfcndl": 10786, "psc": 149},
{ "uarfcndl": 10762, "psc": 211}
]
}]
}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 coordinatelong: WGS-84 compliant longitude coordinateaccuracy: Radius of the uncertainty circle around the position in meters
{
"location": {
"lat": 52.5186685,
"lng": 13.37713954,
"accuracy": 396
}
}Related Information
Updated last month