voxcity 0.6.14__tar.gz → 0.6.15__tar.gz
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-0.6.14 → voxcity-0.6.15}/PKG-INFO +1 -1
- {voxcity-0.6.14 → voxcity-0.6.15}/pyproject.toml +1 -1
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/geoprocessor/draw.py +4 -9
- {voxcity-0.6.14 → voxcity-0.6.15}/AUTHORS.rst +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/LICENSE +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/README.md +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/__init__.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/downloader/__init__.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/downloader/citygml.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/downloader/eubucco.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/downloader/gee.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/downloader/mbfp.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/downloader/oemj.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/downloader/osm.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/downloader/overture.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/downloader/utils.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/exporter/__init__.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/exporter/cityles.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/exporter/envimet.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/exporter/magicavoxel.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/exporter/obj.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/generator.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/geoprocessor/__init__.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/geoprocessor/grid.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/geoprocessor/mesh.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/geoprocessor/network.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/geoprocessor/polygon.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/geoprocessor/utils.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/simulator/__init__.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/simulator/solar.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/simulator/utils.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/simulator/view.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/utils/__init__.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/utils/lc.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/utils/material.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/utils/visualization.py +0 -0
- {voxcity-0.6.14 → voxcity-0.6.15}/src/voxcity/utils/weather.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "voxcity"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.15"
|
|
4
4
|
description = "voxcity is an easy and one-stop tool to output 3d city models for microclimate simulation by integrating multiple geospatial open-data"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
@@ -1096,10 +1096,7 @@ def draw_additional_trees(tree_gdf=None, initial_center=None, zoom=17, rectangle
|
|
|
1096
1096
|
|
|
1097
1097
|
tree_layers[next_tree_id] = circle
|
|
1098
1098
|
|
|
1099
|
-
|
|
1100
|
-
print(f"Tree {next_tree_id} added at (lon, lat)=({lon:.6f}, {lat:.6f})")
|
|
1101
|
-
print(f"Top: {new_row['top_height']} m, Bottom: {new_row['bottom_height']} m, Crown: {new_row['crown_diameter']} m")
|
|
1102
|
-
print(f"Total trees: {len(updated_trees)}")
|
|
1099
|
+
# Suppress status prints on add
|
|
1103
1100
|
else:
|
|
1104
1101
|
# Remove mode: find the nearest tree within its crown radius + 5m
|
|
1105
1102
|
candidate_id = None
|
|
@@ -1127,12 +1124,10 @@ def draw_additional_trees(tree_gdf=None, initial_center=None, zoom=17, rectangle
|
|
|
1127
1124
|
# Remove from gdf
|
|
1128
1125
|
updated_trees.drop(index=candidate_idx, inplace=True)
|
|
1129
1126
|
updated_trees.reset_index(drop=True, inplace=True)
|
|
1130
|
-
|
|
1131
|
-
print(f"Removed tree {candidate_id} (distance {candidate_dist:.2f} m)")
|
|
1132
|
-
print(f"Total trees: {len(updated_trees)}")
|
|
1127
|
+
# Suppress status prints on remove
|
|
1133
1128
|
else:
|
|
1134
|
-
|
|
1135
|
-
|
|
1129
|
+
# Suppress status prints when nothing to remove
|
|
1130
|
+
pass
|
|
1136
1131
|
elif kwargs.get('type') == 'mousemove':
|
|
1137
1132
|
lat, lon = kwargs.get('coordinates', (None, None))
|
|
1138
1133
|
if lat is None or lon is None:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|