voxcity 0.6.14__py3-none-any.whl → 0.6.15__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/geoprocessor/draw.py +4 -9
- {voxcity-0.6.14.dist-info → voxcity-0.6.15.dist-info}/METADATA +1 -1
- {voxcity-0.6.14.dist-info → voxcity-0.6.15.dist-info}/RECORD +6 -6
- {voxcity-0.6.14.dist-info → voxcity-0.6.15.dist-info}/AUTHORS.rst +0 -0
- {voxcity-0.6.14.dist-info → voxcity-0.6.15.dist-info}/LICENSE +0 -0
- {voxcity-0.6.14.dist-info → voxcity-0.6.15.dist-info}/WHEEL +0 -0
voxcity/geoprocessor/draw.py
CHANGED
|
@@ -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:
|
|
@@ -15,7 +15,7 @@ voxcity/exporter/magicavoxel.py,sha256=SfGEgTZRlossKx3Xrv9d3iKSX-HmfQJEL9lZHgWMD
|
|
|
15
15
|
voxcity/exporter/obj.py,sha256=h1_aInpemcsu96fSTwjKMqX2VZAFYbZbElWd4M1ogyI,27973
|
|
16
16
|
voxcity/generator.py,sha256=ok0LqVk9k0xVqXD9Ybar-CWmqi-vooJmrAFi9WjsaKE,58327
|
|
17
17
|
voxcity/geoprocessor/__init__.py,sha256=WYxcAQrjGucIvGHF0JTC6rONZzL3kCms1S2vpzS6KaU,127
|
|
18
|
-
voxcity/geoprocessor/draw.py,sha256=
|
|
18
|
+
voxcity/geoprocessor/draw.py,sha256=AZMWq23wxxDJygNloCbVzWAAr1JO7nC94umf9LSxJ5o,49248
|
|
19
19
|
voxcity/geoprocessor/grid.py,sha256=D4sqoIGK2P1U8uuVQZ-447SD0Yrv6qS_zlmDtKoLDe8,71257
|
|
20
20
|
voxcity/geoprocessor/mesh.py,sha256=A7uaCMWfm82KEoYPfQYpxv6xMtQKaU2PBVDfKTpngqg,32027
|
|
21
21
|
voxcity/geoprocessor/network.py,sha256=YynqR0nq_NUra_cQ3Z_56KxfRia1b6-hIzGCj3QT-wE,25137
|
|
@@ -30,8 +30,8 @@ voxcity/utils/lc.py,sha256=722Gz3lPbgAp0mmTZ-g-QKBbAnbxrcgaYwb1sa7q8Sk,16189
|
|
|
30
30
|
voxcity/utils/material.py,sha256=H8K8Lq4wBL6dQtgj7esUW2U6wLCOTeOtelkTDJoRgMo,10007
|
|
31
31
|
voxcity/utils/visualization.py,sha256=TQKMmATpAqSDTPMvMi1a-n2CvvzE2KcYVsss7iiShS4,116877
|
|
32
32
|
voxcity/utils/weather.py,sha256=2Jtg-rIVJcsTtiKE-KuDnhIqS1-MSS16_zFRzj6zmu4,36435
|
|
33
|
-
voxcity-0.6.
|
|
34
|
-
voxcity-0.6.
|
|
35
|
-
voxcity-0.6.
|
|
36
|
-
voxcity-0.6.
|
|
37
|
-
voxcity-0.6.
|
|
33
|
+
voxcity-0.6.15.dist-info/AUTHORS.rst,sha256=m82vkI5QokEGdcHof2OxK39lf81w1P58kG9ZNNAKS9U,175
|
|
34
|
+
voxcity-0.6.15.dist-info/LICENSE,sha256=s_jE1Df1nTPL4A_5GCGic5Zwex0CVaPKcAmSilxJPPE,1089
|
|
35
|
+
voxcity-0.6.15.dist-info/METADATA,sha256=rZi5elQW7JaRtBQLHTIpi59UTLFzUvb7zA04STXCY5k,26092
|
|
36
|
+
voxcity-0.6.15.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
37
|
+
voxcity-0.6.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|