/
BuildingInsights.ts
62 lines (51 loc) · 1.41 KB
/
BuildingInsights.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import { Date } from "./Date";
import { ImageryQuality } from "./ImageryQuality";
import { LatLng } from "./LatLng";
import { LatLngBox } from "./LatLngBox";
import { SolarPotential } from "./SolarPotential";
/**
* Response message for Solar.FindClosestBuildingInsights.
* Information about the location, dimensions, and solar potential of a building.
*/
export type BuildingInsights = {
/**
* The resource name for the building, of the format building/<place ID>.
*/
name: string;
/**
* A point near the center of the building.
*/
center: LatLng;
/**
* The bounding box of the building.
*/
boundingBox: LatLngBox;
/**
* Date that the underlying imagery was acquired. This is approximate.
*/
imageryDate: Date;
/**
* When processing was completed on this imagery.
*/
imageryProcessedDate: Date;
/**
* Postal code (e.g., US zip code) this building is contained by.
*/
postalCode: string;
/**
* Administrative area 1 (e.g., in the US, the state) that contains this building. For example, in the US, the abbreviation might be "MA" or "CA."
*/
administrativeArea: string;
/**
* Statistical area (e.g., US census tract) this building is in.
*/
statisticalArea: string;
/**
* Region code for the country (or region) this building is in.
*/
regionCode: string;
/**
* Solar potential of the building.
*/
solarPotential: SolarPotential;
};