voxcity 0.5.3__py3-none-any.whl → 0.5.4__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.
Potentially problematic release.
This version of voxcity might be problematic. Click here for more details.
- voxcity/generator.py +5 -1
- {voxcity-0.5.3.dist-info → voxcity-0.5.4.dist-info}/METADATA +1 -1
- {voxcity-0.5.3.dist-info → voxcity-0.5.4.dist-info}/RECORD +7 -7
- {voxcity-0.5.3.dist-info → voxcity-0.5.4.dist-info}/WHEEL +0 -0
- {voxcity-0.5.3.dist-info → voxcity-0.5.4.dist-info}/licenses/AUTHORS.rst +0 -0
- {voxcity-0.5.3.dist-info → voxcity-0.5.4.dist-info}/licenses/LICENSE +0 -0
- {voxcity-0.5.3.dist-info → voxcity-0.5.4.dist-info}/top_level.txt +0 -0
voxcity/generator.py
CHANGED
|
@@ -46,7 +46,9 @@ from .geoprocessor.grid import (
|
|
|
46
46
|
create_building_height_grid_from_gdf_polygon,
|
|
47
47
|
create_dem_grid_from_geotiff_polygon,
|
|
48
48
|
create_land_cover_grid_from_gdf_polygon,
|
|
49
|
-
create_building_height_grid_from_open_building_temporal_polygon
|
|
49
|
+
create_building_height_grid_from_open_building_temporal_polygon,
|
|
50
|
+
create_vegetation_height_grid_from_gdf_polygon,
|
|
51
|
+
create_dem_grid_from_gdf_polygon
|
|
50
52
|
)
|
|
51
53
|
from .utils.lc import convert_land_cover, convert_land_cover_array
|
|
52
54
|
from .geoprocessor.polygon import get_gdf_from_gpkg, save_geojson
|
|
@@ -734,6 +736,7 @@ def get_voxcity_CityGML(rectangle_vertices, url_citygml, land_cover_source, cano
|
|
|
734
736
|
land_cover_grid = get_land_cover_grid(rectangle_vertices, meshsize, land_cover_source, output_dir, **kwargs)
|
|
735
737
|
|
|
736
738
|
# building_height_grid, building_min_height_grid, building_id_grid, building_gdf = get_building_height_grid(rectangle_vertices, meshsize, building_source, output_dir, **kwargs)
|
|
739
|
+
print("Creating building height grid")
|
|
737
740
|
building_height_grid, building_min_height_grid, building_id_grid, filtered_buildings = create_building_height_grid_from_gdf_polygon(building_gdf, meshsize, rectangle_vertices, **kwargs)
|
|
738
741
|
|
|
739
742
|
# Visualize grid if requested
|
|
@@ -770,6 +773,7 @@ def get_voxcity_CityGML(rectangle_vertices, url_citygml, land_cover_source, cano
|
|
|
770
773
|
if kwargs.pop('flat_dem', None):
|
|
771
774
|
dem_grid = np.zeros_like(land_cover_grid)
|
|
772
775
|
else:
|
|
776
|
+
print("Creating Digital Elevation Model (DEM) grid")
|
|
773
777
|
dem_grid = create_dem_grid_from_gdf_polygon(terrain_gdf, meshsize, rectangle_vertices)
|
|
774
778
|
|
|
775
779
|
# Visualize grid if requested
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: voxcity
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.4
|
|
4
4
|
Summary: voxcity is an easy and one-stop tool to output 3d city models for microclimate simulation by integrating multiple geospatial open-data
|
|
5
5
|
Author-email: Kunihiko Fujiwara <kunihiko@nus.edu.sg>
|
|
6
6
|
Maintainer-email: Kunihiko Fujiwara <kunihiko@nus.edu.sg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
voxcity/__init__.py,sha256=el9v3gfybHOF_GUYPeSOqN0-vCrTW0eU1mcvi0sEfeU,252
|
|
2
|
-
voxcity/generator.py,sha256=
|
|
2
|
+
voxcity/generator.py,sha256=ea2JPJnUsOaVY3UojR8bODw4bTo2wUapWZVhWjwjEjs,42325
|
|
3
3
|
voxcity/downloader/__init__.py,sha256=OgGcGxOXF4tjcEL6DhOnt13DYPTvOigUelp5xIpTqM0,171
|
|
4
4
|
voxcity/downloader/citygml.py,sha256=phGxEz829mDGXEugs8rTQzARQy-_JyqfcDLMijR4DoM,24467
|
|
5
5
|
voxcity/downloader/eubucco.py,sha256=XCkkdEPNuWdrnuxzL80Ext37WsgiCiZGueb-aQV5rvI,14476
|
|
@@ -30,9 +30,9 @@ voxcity/utils/lc.py,sha256=RwPd-VY3POV3gTrBhM7TubgGb9MCd3nVah_G8iUEF7k,11562
|
|
|
30
30
|
voxcity/utils/material.py,sha256=Vt3IID5Ft54HNJcEC4zi31BCPqi_687X3CSp7rXaRVY,5907
|
|
31
31
|
voxcity/utils/visualization.py,sha256=SF8W7sqvBl3sZbB5noWCY9ic2D34Gq01VZYJ9NDNZ4Y,85237
|
|
32
32
|
voxcity/utils/weather.py,sha256=CFPtoqRTajwMRswswDChwQ3BW1cGsnA3orgWHgz7Ehg,26304
|
|
33
|
-
voxcity-0.5.
|
|
34
|
-
voxcity-0.5.
|
|
35
|
-
voxcity-0.5.
|
|
36
|
-
voxcity-0.5.
|
|
37
|
-
voxcity-0.5.
|
|
38
|
-
voxcity-0.5.
|
|
33
|
+
voxcity-0.5.4.dist-info/licenses/AUTHORS.rst,sha256=m82vkI5QokEGdcHof2OxK39lf81w1P58kG9ZNNAKS9U,175
|
|
34
|
+
voxcity-0.5.4.dist-info/licenses/LICENSE,sha256=s_jE1Df1nTPL4A_5GCGic5Zwex0CVaPKcAmSilxJPPE,1089
|
|
35
|
+
voxcity-0.5.4.dist-info/METADATA,sha256=BRT790h7NawGol-GFlnP7MoxRCeZVk9z4tH8-6hQxfE,25733
|
|
36
|
+
voxcity-0.5.4.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
37
|
+
voxcity-0.5.4.dist-info/top_level.txt,sha256=00b2U-LKfDllt6RL1R33MXie5MvxzUFye0NGD96t_8I,8
|
|
38
|
+
voxcity-0.5.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|