Interface SeedProject

Determines the location of the building. By far, the most important value is the building lat and lng, being used for determining the weather station. Specifying "administrative", "district" and "city" can also help find local rebates. Use createSeedFromAddress to have most of the inputs auto-filled.

interface SeedProject {
    address: string;
    administrative: string;
    base_address?: string;
    city: string;
    country: string;
    countryCode: string;
    district?: string;
    latlng: { lat: number; lng: number };
    name?: string;
    place_id?: string;
    postcode?: string;
    value?: string;
}

Properties

address: string

Plain text address of the building

administrative: string

District/county name

base_address?: string

Optional input address before geocoding

city: string
country: string
countryCode: string
district?: string
latlng: { lat: number; lng: number }

Geographical location of the building

name?: string
place_id?: string
postcode?: string
value?: string