Reverse Address Resolution

Last Updated on : 2023-06-15 05:32:52

Convert the latitude and longitude to an address based on reverse address resolution.

API address

GET: /v1.0/iot-03/geocode-cities/latitude-longitude

Request parameter

Parameter name Type IN Required Description
longitude String query true The longitude. Valid values: -180 to 180.
latitude String query true The latitude. Valid values: -90 to 90.

Return parameter

Parameter name Type Description
result GeocodeCityResultDTO The result object.

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/latitude-longitude?latitude=30.24259&longitude=120.16929
{}

Return example

{ "result": { "address": "Grand Art Hotel", "latitude": "30.24259", "longitude": "120.16929" }, "t": 1618217261771, "success": true }

Error code

For more information, see error code.