Geocoding
GeoLocationConfig — geocoding data source for address rows.
- class GeoLocationConfig(sheet_name, address_column, longitude_column, latitude_column)[source]
Geocodes address rows and writes longitude/latitude back into the same sheet.
- Parameters:
- set_table_name(table_name)[source]
Use a structured table rather than a sheet for the source rows.
- Return type:
- set_preserve_existing_data(preserve)[source]
Skip geocoding rows that already have coordinates.
- Return type:
- set_latitude_bounds(lower, upper)[source]
Reject geocoded latitudes outside the given bounds.
- Return type:
- set_longitude_bounds(lower, upper)[source]
Reject geocoded longitudes outside the given bounds.
- Return type:
- set_live_update(live_update)[source]
Re-geocode immediately when the address column changes in the UI.
- Return type:
- set_run_on_data_import(run)[source]
Run geocoding automatically as part of data import.
- Return type:
- property type: DataSourceType
The
DataSourceTypediscriminator for this configuration.