Vepler logo
v2.160.1

Resolve buildings at a coordinate with the buildings by-point endpoint

The buildings by-point endpoint resolves the building footprints that contain a coordinate, returning them as a standard list response.

Fixed

  • GET /v1/buildings/by-point now resolves the buildings whose footprint contains a coordinate. Pass lat and lon (WGS84) and an optional limit (default 50), and the endpoint returns a standard list response whose data array holds each matching building. A coordinate with no building returns 200 with an empty data array.
  • Each building carries its footprint, centroid, areaSqm, heightMax, floors, buildingUse and linked locationIds, so you can go from a point straight to the building outline and its characteristics. The match is point-in-polygon containment rather than a radius search, so only footprints that actually cover the coordinate are returned. More than one building may contain a single point, so the response is always a list.

Affected endpoints