Skip to main content

building_insights

Creates, updates, deletes, gets or lists a building_insights resource.

Overview

Namebuilding_insights
TypeResource
Idgoogle.solar.building_insights

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
find_closestexeclocation.latitude, location.longitude, requiredQuality, experimentsLocates 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
experimentsstring
location.latitudenumber (double)
location.longitudenumber (double)
requiredQualitystring

Lifecycle Methods

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.

EXEC google.solar.building_insights.find_closest 
@location.latitude='{{ location.latitude }}',
@location.longitude='{{ location.longitude }}',
@requiredQuality='{{ requiredQuality }}',
@experiments='{{ experiments }}';