v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1332033.7 KB
buildingInsights

Locates the building whose centroid is closest to a query point. Returns an error with code NOT_FOUND if there are no buildings within approximately 50m of the query point.

get/v1/buildingInsights:findClosest

Query parameters

additionalInsightsstring[]

Optional. A list of additional_insights to be included in the response.

exactQualityRequiredboolean

Optional. Whether to require exact quality of the imagery. If set to false, the required_quality field is interpreted as the minimum required quality, such that HIGH quality imagery may be returned when required_quality is set to MEDIUM. If set to true, required_quality is interpreted as the exact required quality and only MEDIUM quality imagery is returned if required_quality is set to MEDIUM.

experimentsstring[]

Optional. Specifies the pre-GA experiments to enable. Requests using this field are classified as a pre-GA offering under the Google Maps Platform Service Specific Terms. See launch stage descriptions for more details.

location.latitudenumber

The latitude in degrees. It must be in the range [-90.0, +90.0].

location.longitudenumber

The longitude in degrees. It must be in the range [-180.0, +180.0].

requiredQuality'IMAGERY_QUALITY_UNSPECIFIED' | 'HIGH' | 'MEDIUM' | 'LOW' | 'BASE'

Optional. The minimum quality level allowed in the results. No result with lower quality than this will be returned. Not specifying this is equivalent to restricting to HIGH quality only.

Response

Successful response