voxcity 0.4.5__py3-none-any.whl → 0.4.6__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/geoprocessor/grid.py +3 -0
- {voxcity-0.4.5.dist-info → voxcity-0.4.6.dist-info}/METADATA +1 -1
- {voxcity-0.4.5.dist-info → voxcity-0.4.6.dist-info}/RECORD +7 -7
- {voxcity-0.4.5.dist-info → voxcity-0.4.6.dist-info}/AUTHORS.rst +0 -0
- {voxcity-0.4.5.dist-info → voxcity-0.4.6.dist-info}/LICENSE +0 -0
- {voxcity-0.4.5.dist-info → voxcity-0.4.6.dist-info}/WHEEL +0 -0
- {voxcity-0.4.5.dist-info → voxcity-0.4.6.dist-info}/top_level.txt +0 -0
voxcity/geoprocessor/grid.py
CHANGED
|
@@ -3,6 +3,7 @@ This module provides functions for creating and manipulating grids of building h
|
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
import numpy as np
|
|
6
|
+
import pandas as pd
|
|
6
7
|
import os
|
|
7
8
|
from shapely.geometry import Polygon, box
|
|
8
9
|
from scipy.ndimage import label, generate_binary_structure
|
|
@@ -575,6 +576,8 @@ def create_building_height_grid_from_gdf_polygon(
|
|
|
575
576
|
height = complement_height
|
|
576
577
|
|
|
577
578
|
min_height = row.get('min_height', 0)
|
|
579
|
+
if pd.isna(min_height):
|
|
580
|
+
min_height = 0
|
|
578
581
|
is_inner = row.get('is_inner', False)
|
|
579
582
|
feature_id = row.get('id', idx_b)
|
|
580
583
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: voxcity
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.6
|
|
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>
|
|
@@ -15,7 +15,7 @@ voxcity/exporter/magicavoxel.py,sha256=Fsv7yGRXeKmp82xcG3rOb0t_HtoqltNq2tHl08xVl
|
|
|
15
15
|
voxcity/exporter/obj.py,sha256=0RBFPMKGRH6uNmCLIwAoYFko1bOZKtTSwg7QnoPMud0,21593
|
|
16
16
|
voxcity/geoprocessor/__init_.py,sha256=JzPVhhttxBWvaZ0IGX2w7OWL5bCo_TIvpHefWeNXruA,133
|
|
17
17
|
voxcity/geoprocessor/draw.py,sha256=8Em2NvazFpYfFJUqG9LofNXaxdghKLL_rNuztmPwn8Q,13911
|
|
18
|
-
voxcity/geoprocessor/grid.py,sha256=
|
|
18
|
+
voxcity/geoprocessor/grid.py,sha256=ZZgnrvfinIGd4dLODoA3G0yru7XfR_LXph65PDRIj_Y,44428
|
|
19
19
|
voxcity/geoprocessor/mesh.py,sha256=r3cRPLgpbhjwgESBemHWWJ5pEWl2KdkRhID6mdLhios,11171
|
|
20
20
|
voxcity/geoprocessor/network.py,sha256=opb_kpUCAxDd1qtrWPStqR5reYZtVe96XxazNSen7Lk,18851
|
|
21
21
|
voxcity/geoprocessor/polygon.py,sha256=8Vb2AbkpKYhq1kk2hQMc-gitmUo9pFIe910v4p1vP2g,37772
|
|
@@ -29,9 +29,9 @@ voxcity/utils/lc.py,sha256=RwPd-VY3POV3gTrBhM7TubgGb9MCd3nVah_G8iUEF7k,11562
|
|
|
29
29
|
voxcity/utils/material.py,sha256=Vt3IID5Ft54HNJcEC4zi31BCPqi_687X3CSp7rXaRVY,5907
|
|
30
30
|
voxcity/utils/visualization.py,sha256=SF8W7sqvBl3sZbB5noWCY9ic2D34Gq01VZYJ9NDNZ4Y,85237
|
|
31
31
|
voxcity/utils/weather.py,sha256=CFPtoqRTajwMRswswDChwQ3BW1cGsnA3orgWHgz7Ehg,26304
|
|
32
|
-
voxcity-0.4.
|
|
33
|
-
voxcity-0.4.
|
|
34
|
-
voxcity-0.4.
|
|
35
|
-
voxcity-0.4.
|
|
36
|
-
voxcity-0.4.
|
|
37
|
-
voxcity-0.4.
|
|
32
|
+
voxcity-0.4.6.dist-info/AUTHORS.rst,sha256=m82vkI5QokEGdcHof2OxK39lf81w1P58kG9ZNNAKS9U,175
|
|
33
|
+
voxcity-0.4.6.dist-info/LICENSE,sha256=-hGliOFiwUrUSoZiB5WF90xXGqinKyqiDI2t6hrnam8,1087
|
|
34
|
+
voxcity-0.4.6.dist-info/METADATA,sha256=66WS05QBtRe4bEiH8XwLKTUTcMU1A83n0VrBl4nMMG4,25527
|
|
35
|
+
voxcity-0.4.6.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
36
|
+
voxcity-0.4.6.dist-info/top_level.txt,sha256=00b2U-LKfDllt6RL1R33MXie5MvxzUFye0NGD96t_8I,8
|
|
37
|
+
voxcity-0.4.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|