Find Closest
solar.find_closest
ActionBusiness appsconnection required
Calls Solar GET /v1/buildingInsights:findClosest.
Locates the building whose centroid is closest to a query point.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Google Solar
- Secret shape
- the API key as raw text
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
latitude Latitude of the query point (decimal degrees). | number | Yes | — | -90–90 | — |
longitude Longitude of the query point (decimal degrees). | number | Yes | — | -180–180 | — |
required_quality Minimum imagery quality to accept; leave blank for the API default (HIGH → LOW fallback). | string | No | — | one of "HIGH", "MEDIUM", "LOW", "BASE" | — |
exact_quality_required Only return a building whose imagery matches required_quality exactly. | boolean | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
regionCode | string | — |
solarPotential | object | — |
administrativeArea | string | — |
boundingBox | object | — |
statisticalArea | string | — |
imageryQuality | string | — |
{
"administrativeArea": "",
"boundingBox": {},
"imageryQuality": "",
"ok": false,
"regionCode": "",
"solarPotential": {},
"statisticalArea": ""
}Related Google Solar nodes
See Find Closest run in a workflow.
In a technical demo we add the Google Solar connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.