geobox 2.1.0__py3-none-any.whl → 2.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- geobox/__init__.py +61 -63
- geobox/aio/__init__.py +61 -63
- geobox/aio/api.py +491 -574
- geobox/aio/apikey.py +263 -263
- geobox/aio/attachment.py +341 -339
- geobox/aio/base.py +261 -262
- geobox/aio/basemap.py +196 -196
- geobox/aio/dashboard.py +340 -342
- geobox/aio/feature.py +35 -35
- geobox/aio/field.py +315 -321
- geobox/aio/file.py +72 -72
- geobox/aio/layout.py +340 -341
- geobox/aio/log.py +23 -23
- geobox/aio/map.py +1033 -1034
- geobox/aio/model3d.py +415 -415
- geobox/aio/mosaic.py +696 -696
- geobox/aio/plan.py +314 -314
- geobox/aio/query.py +693 -693
- geobox/aio/raster.py +88 -454
- geobox/aio/{analysis.py → raster_analysis.py} +153 -170
- geobox/aio/route.py +4 -4
- geobox/aio/scene.py +340 -342
- geobox/aio/settings.py +18 -18
- geobox/aio/task.py +404 -402
- geobox/aio/tile3d.py +337 -339
- geobox/aio/tileset.py +102 -103
- geobox/aio/usage.py +52 -51
- geobox/aio/user.py +506 -507
- geobox/aio/vector_tool.py +1968 -0
- geobox/aio/vectorlayer.py +316 -414
- geobox/aio/version.py +272 -273
- geobox/aio/view.py +1019 -983
- geobox/aio/workflow.py +340 -341
- geobox/api.py +14 -98
- geobox/apikey.py +262 -262
- geobox/attachment.py +336 -337
- geobox/base.py +384 -384
- geobox/basemap.py +194 -194
- geobox/dashboard.py +339 -341
- geobox/enums.py +31 -1
- geobox/feature.py +31 -10
- geobox/field.py +320 -320
- geobox/file.py +4 -4
- geobox/layout.py +339 -340
- geobox/log.py +4 -4
- geobox/map.py +1031 -1032
- geobox/model3d.py +410 -410
- geobox/mosaic.py +696 -696
- geobox/plan.py +313 -313
- geobox/query.py +691 -691
- geobox/raster.py +5 -368
- geobox/{analysis.py → raster_analysis.py} +108 -128
- geobox/scene.py +341 -342
- geobox/settings.py +194 -194
- geobox/task.py +399 -400
- geobox/tile3d.py +337 -338
- geobox/tileset.py +4 -4
- geobox/usage.py +3 -3
- geobox/user.py +503 -503
- geobox/vector_tool.py +1968 -0
- geobox/vectorlayer.py +5 -110
- geobox/version.py +272 -272
- geobox/view.py +981 -981
- geobox/workflow.py +338 -339
- {geobox-2.1.0.dist-info → geobox-2.2.1.dist-info}/METADATA +15 -1
- geobox-2.2.1.dist-info/RECORD +72 -0
- geobox-2.1.0.dist-info/RECORD +0 -70
- {geobox-2.1.0.dist-info → geobox-2.2.1.dist-info}/WHEEL +0 -0
- {geobox-2.1.0.dist-info → geobox-2.2.1.dist-info}/licenses/LICENSE +0 -0
- {geobox-2.1.0.dist-info → geobox-2.2.1.dist-info}/top_level.txt +0 -0
geobox/tileset.py
CHANGED
|
@@ -10,7 +10,7 @@ if TYPE_CHECKING:
|
|
|
10
10
|
from . import GeoboxClient
|
|
11
11
|
from .user import User
|
|
12
12
|
from .aio import AsyncGeoboxClient
|
|
13
|
-
from .aio.tileset import
|
|
13
|
+
from .aio.tileset import AsyncTileset
|
|
14
14
|
|
|
15
15
|
class Tileset(Base):
|
|
16
16
|
|
|
@@ -287,7 +287,7 @@ class Tileset(Base):
|
|
|
287
287
|
>>> tileset = Tileset.get_tileset(client, uuid="12345678-1234-5678-1234-567812345678")
|
|
288
288
|
>>> tileset.delete()
|
|
289
289
|
"""
|
|
290
|
-
super().
|
|
290
|
+
super()._delete(urljoin(self.BASE_ENDPOINT, f'{self.uuid}/'))
|
|
291
291
|
|
|
292
292
|
|
|
293
293
|
def get_layers(self, **kwargs) -> List['VectorLayer']:
|
|
@@ -642,7 +642,7 @@ class Tileset(Base):
|
|
|
642
642
|
async_client (AsyncGeoboxClient): The async version of the GeoboxClient instance for making requests.
|
|
643
643
|
|
|
644
644
|
Returns:
|
|
645
|
-
|
|
645
|
+
AsyncTileset: the async instance of the tileset.
|
|
646
646
|
|
|
647
647
|
Example:
|
|
648
648
|
>>> from geobox import Geoboxclient
|
|
@@ -653,6 +653,6 @@ class Tileset(Base):
|
|
|
653
653
|
>>> async with AsyncGeoboxClient() as async_client:
|
|
654
654
|
>>> async_tileset = tileset.to_async(async_client)
|
|
655
655
|
"""
|
|
656
|
-
from .aio.tileset import
|
|
656
|
+
from .aio.tileset import AsyncTileset
|
|
657
657
|
|
|
658
658
|
return AsyncTileset(api=async_client, uuid=self.uuid, data=self.data)
|
geobox/usage.py
CHANGED
|
@@ -11,7 +11,7 @@ from .enums import UsageScale, UsageParam
|
|
|
11
11
|
if TYPE_CHECKING:
|
|
12
12
|
from . import GeoboxClient
|
|
13
13
|
from .aio import AsyncGeoboxClient
|
|
14
|
-
from .aio.usage import
|
|
14
|
+
from .aio.usage import AsyncUsage
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
class Usage(Base):
|
|
@@ -221,7 +221,7 @@ class Usage(Base):
|
|
|
221
221
|
async_client (AsyncGeoboxClient): The async version of the GeoboxClient instance for making requests.
|
|
222
222
|
|
|
223
223
|
Returns:
|
|
224
|
-
|
|
224
|
+
AsyncUsage: the async instance of the usage.
|
|
225
225
|
|
|
226
226
|
Example:
|
|
227
227
|
>>> from geobox import Geoboxclient
|
|
@@ -237,6 +237,6 @@ class Usage(Base):
|
|
|
237
237
|
>>> async with AsyncGeoboxClient() as async_client:
|
|
238
238
|
>>> async_usage = usage.to_async(async_client)
|
|
239
239
|
"""
|
|
240
|
-
from .aio.usage import
|
|
240
|
+
from .aio.usage import AsyncUsage
|
|
241
241
|
|
|
242
242
|
return AsyncUsage(api=async_client, user=self.user)
|