voxcity 0.7.0__py3-none-any.whl → 1.0.2__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.
- voxcity/__init__.py +14 -14
- voxcity/exporter/__init__.py +12 -12
- voxcity/exporter/cityles.py +633 -633
- voxcity/exporter/envimet.py +733 -728
- voxcity/exporter/magicavoxel.py +333 -333
- voxcity/exporter/netcdf.py +238 -238
- voxcity/exporter/obj.py +1480 -1480
- voxcity/generator/__init__.py +47 -44
- voxcity/generator/api.py +721 -675
- voxcity/generator/grids.py +381 -379
- voxcity/generator/io.py +94 -94
- voxcity/generator/pipeline.py +282 -282
- voxcity/generator/update.py +429 -0
- voxcity/generator/voxelizer.py +18 -6
- voxcity/geoprocessor/__init__.py +75 -75
- voxcity/geoprocessor/draw.py +1488 -1219
- voxcity/geoprocessor/merge_utils.py +91 -91
- voxcity/geoprocessor/mesh.py +806 -806
- voxcity/geoprocessor/network.py +708 -708
- voxcity/geoprocessor/raster/buildings.py +435 -428
- voxcity/geoprocessor/raster/export.py +93 -93
- voxcity/geoprocessor/raster/landcover.py +5 -2
- voxcity/geoprocessor/utils.py +824 -824
- voxcity/models.py +113 -113
- voxcity/simulator/solar/__init__.py +66 -43
- voxcity/simulator/solar/integration.py +336 -336
- voxcity/simulator/solar/sky.py +668 -0
- voxcity/simulator/solar/temporal.py +792 -434
- voxcity/utils/__init__.py +11 -0
- voxcity/utils/classes.py +194 -0
- voxcity/utils/lc.py +80 -39
- voxcity/utils/shape.py +230 -0
- voxcity/visualizer/__init__.py +24 -24
- voxcity/visualizer/builder.py +43 -43
- voxcity/visualizer/grids.py +141 -141
- voxcity/visualizer/maps.py +187 -187
- voxcity/visualizer/renderer.py +1145 -928
- {voxcity-0.7.0.dist-info → voxcity-1.0.2.dist-info}/METADATA +90 -49
- {voxcity-0.7.0.dist-info → voxcity-1.0.2.dist-info}/RECORD +42 -38
- {voxcity-0.7.0.dist-info → voxcity-1.0.2.dist-info}/WHEEL +0 -0
- {voxcity-0.7.0.dist-info → voxcity-1.0.2.dist-info}/licenses/AUTHORS.rst +0 -0
- {voxcity-0.7.0.dist-info → voxcity-1.0.2.dist-info}/licenses/LICENSE +0 -0
voxcity/generator/__init__.py
CHANGED
|
@@ -1,44 +1,47 @@
|
|
|
1
|
-
"""VoxCity generator subpackage.
|
|
2
|
-
|
|
3
|
-
This package organizes the voxel city generation pipeline into focused modules
|
|
4
|
-
while preserving the original public API under `voxcity.generator`.
|
|
5
|
-
|
|
6
|
-
Orientation contract:
|
|
7
|
-
- All 2D grids use north_up orientation (row 0 = north/top; columns increase eastward).
|
|
8
|
-
- 3D indexing follows (row, col, z) = (north→south, west→east, ground→up).
|
|
9
|
-
"""
|
|
10
|
-
|
|
11
|
-
from .api import get_voxcity, get_voxcity_CityGML, auto_select_data_sources
|
|
12
|
-
from .grids import (
|
|
13
|
-
get_land_cover_grid,
|
|
14
|
-
get_building_height_grid,
|
|
15
|
-
get_canopy_height_grid,
|
|
16
|
-
get_dem_grid,
|
|
17
|
-
)
|
|
18
|
-
from .voxelizer import (
|
|
19
|
-
Voxelizer,
|
|
20
|
-
GROUND_CODE,
|
|
21
|
-
TREE_CODE,
|
|
22
|
-
BUILDING_CODE,
|
|
23
|
-
)
|
|
24
|
-
from .pipeline import VoxCityPipeline
|
|
25
|
-
from .io import save_voxcity, load_voxcity
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
1
|
+
"""VoxCity generator subpackage.
|
|
2
|
+
|
|
3
|
+
This package organizes the voxel city generation pipeline into focused modules
|
|
4
|
+
while preserving the original public API under `voxcity.generator`.
|
|
5
|
+
|
|
6
|
+
Orientation contract:
|
|
7
|
+
- All 2D grids use north_up orientation (row 0 = north/top; columns increase eastward).
|
|
8
|
+
- 3D indexing follows (row, col, z) = (north→south, west→east, ground→up).
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from .api import get_voxcity, get_voxcity_CityGML, auto_select_data_sources
|
|
12
|
+
from .grids import (
|
|
13
|
+
get_land_cover_grid,
|
|
14
|
+
get_building_height_grid,
|
|
15
|
+
get_canopy_height_grid,
|
|
16
|
+
get_dem_grid,
|
|
17
|
+
)
|
|
18
|
+
from .voxelizer import (
|
|
19
|
+
Voxelizer,
|
|
20
|
+
GROUND_CODE,
|
|
21
|
+
TREE_CODE,
|
|
22
|
+
BUILDING_CODE,
|
|
23
|
+
)
|
|
24
|
+
from .pipeline import VoxCityPipeline
|
|
25
|
+
from .io import save_voxcity, load_voxcity
|
|
26
|
+
from .update import update_voxcity, regenerate_voxels
|
|
27
|
+
|
|
28
|
+
__all__ = [
|
|
29
|
+
"get_voxcity",
|
|
30
|
+
"auto_select_data_sources",
|
|
31
|
+
"get_voxcity_CityGML",
|
|
32
|
+
"get_land_cover_grid",
|
|
33
|
+
"get_building_height_grid",
|
|
34
|
+
"get_canopy_height_grid",
|
|
35
|
+
"get_dem_grid",
|
|
36
|
+
"Voxelizer",
|
|
37
|
+
"GROUND_CODE",
|
|
38
|
+
"TREE_CODE",
|
|
39
|
+
"BUILDING_CODE",
|
|
40
|
+
"VoxCityPipeline",
|
|
41
|
+
"save_voxcity",
|
|
42
|
+
"load_voxcity",
|
|
43
|
+
"update_voxcity",
|
|
44
|
+
"regenerate_voxels",
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
|