Tools provide access to additional functionalities of the SDK.
A class that enables access to additional SDK tools.
Functions
Uploads a geometry from a vector file. Returns Union[Dict, geopandas.GeoDataFrame]
.
Parameter | Description |
---|---|
filename | str The file path to the vector file containing the geometry. The default value is aoi.geojson . |
as_dataframe | bool Determines how to return the information:
False . |
Python
up42.tools.read_vector_file(
filename="/Users/max.mustermann/Desktop/aoi.geojson",
as_dataframe=True,
)
Retrieves an example AOI. Returns Union[Dict, geopandas.GeoDataFrame]
.
Parameter | Description |
---|---|
location | str A defined location. The allowed values are as follows:
Berlin . |
as_dataframe | bool Determines how to return the information:
False . |
Python
up42.tools.get_example_aoi(
location="Washington",
as_dataframe=True,
)
Enables logging.
Parameter | Description |
---|---|
log | bool Determines logging enabling:
True . |
Python
up42.tools.settings(log=True)