Forward Address Resolution

Last Updated on : 2023-06-20 12:39:04download

Convert an address to latitude and longitude based on forward address resolution.

API address

GET: /v1.0/iot-03/geocode-cities/address

Request parameter

Parameter name Type IN Required Description
address String query true The address.

Return parameter

Parameter name Type Description
result GeocodeCityResultDTO The returned result.

Description of result

Parameter name Type Description
longitude String The longitude. Valid values: -180 to 180.
latitude String The latitude. Valid values: -90 to 90.
address String The address.

Request example

GET: /v1.0/iot-03/geocode-cities/address?address=Shangcheng District Hangzhou City
{}

Return example

{ "result": { "address": "Shangcheng District, Hangzhou City", "latitude": "30.24259", "longitude": "120.16929" }, "t": 1618217140558, "success": true }

Error code

For more information, see error code.