Tools provide access to additional functionalities of the SDK.
View repositoryA class that enables access to additional SDK tools.
Methods
Reads a vector file and returns a geometry file projected to EPSG:4326. 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 . |
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 . |
up42.tools.get_example_aoi( location="Washington", as_dataframe=True,)
Enables logging.
Parameter | Description |
---|---|
log | bool Determines logging enabling:
True . |
up42.tools.settings(log=True)