Reverse Geocoding

Interface Description

HTTP Get
Path: /{apiKey}/api/geocode
Returns: A list of Geodata objects

Decription: Given a latitude/longitude point on the map and a floor index, this endpoint will return a list of all geodata that intersects with this point.

Note:

  • Venue and Building geodata will disregard the floor index and will be given based on the latitude/logitude alone.

  • Floor and Room geodata will respect the floor index and will return if the latitude/logitude intersects AND the given floorindex matches

  • If no matches where found, an empty list will be returned

  • Floor indexes can be viewed in the CMS under the Building's detail page.

  • For a geodata object of type "floor" its baseTypeProperties.administrativeid property contains the floor index.

Mandatory parameters:

  • lat Latitude of the point to examine. Valid range: +/- 90

  • lng Longitude of the point to examine. Valid range: +/- 180

  • floor Floor index to match for floor and room geodata

Example:

Input values:

  • lat 57.0579386

  • lng 9.9502304

  • floor 10

Output: A list of 4 geodata objects: a Venue, a Building, a Floor and a Room:

Last updated

Was this helpful?