voxcity 0.5.3__tar.gz → 0.5.5__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.

Files changed (54) hide show
  1. {voxcity-0.5.3 → voxcity-0.5.5}/PKG-INFO +1 -1
  2. {voxcity-0.5.3 → voxcity-0.5.5}/pyproject.toml +1 -1
  3. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/generator.py +5 -2
  4. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/geoprocessor/grid.py +2 -1
  5. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity.egg-info/PKG-INFO +1 -1
  6. {voxcity-0.5.3 → voxcity-0.5.5}/AUTHORS.rst +0 -0
  7. {voxcity-0.5.3 → voxcity-0.5.5}/CONTRIBUTING.rst +0 -0
  8. {voxcity-0.5.3 → voxcity-0.5.5}/HISTORY.rst +0 -0
  9. {voxcity-0.5.3 → voxcity-0.5.5}/LICENSE +0 -0
  10. {voxcity-0.5.3 → voxcity-0.5.5}/MANIFEST.in +0 -0
  11. {voxcity-0.5.3 → voxcity-0.5.5}/README.md +0 -0
  12. {voxcity-0.5.3 → voxcity-0.5.5}/docs/Makefile +0 -0
  13. {voxcity-0.5.3 → voxcity-0.5.5}/docs/archive/README.rst +0 -0
  14. {voxcity-0.5.3 → voxcity-0.5.5}/docs/authors.rst +0 -0
  15. {voxcity-0.5.3 → voxcity-0.5.5}/docs/conf.py +0 -0
  16. {voxcity-0.5.3 → voxcity-0.5.5}/docs/index.rst +0 -0
  17. {voxcity-0.5.3 → voxcity-0.5.5}/docs/make.bat +0 -0
  18. {voxcity-0.5.3 → voxcity-0.5.5}/setup.cfg +0 -0
  19. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/__init__.py +0 -0
  20. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/downloader/__init__.py +0 -0
  21. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/downloader/citygml.py +0 -0
  22. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/downloader/eubucco.py +0 -0
  23. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/downloader/gee.py +0 -0
  24. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/downloader/mbfp.py +0 -0
  25. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/downloader/oemj.py +0 -0
  26. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/downloader/omt.py +0 -0
  27. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/downloader/osm.py +0 -0
  28. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/downloader/overture.py +0 -0
  29. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/downloader/utils.py +0 -0
  30. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/exporter/__init_.py +0 -0
  31. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/exporter/envimet.py +0 -0
  32. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/exporter/magicavoxel.py +0 -0
  33. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/exporter/obj.py +0 -0
  34. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/geoprocessor/__init_.py +0 -0
  35. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/geoprocessor/draw.py +0 -0
  36. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/geoprocessor/mesh.py +0 -0
  37. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/geoprocessor/network.py +0 -0
  38. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/geoprocessor/polygon.py +0 -0
  39. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/geoprocessor/utils.py +0 -0
  40. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/simulator/__init_.py +0 -0
  41. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/simulator/solar.py +0 -0
  42. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/simulator/utils.py +0 -0
  43. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/simulator/view.py +0 -0
  44. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/utils/__init_.py +0 -0
  45. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/utils/lc.py +0 -0
  46. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/utils/material.py +0 -0
  47. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/utils/visualization.py +0 -0
  48. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity/utils/weather.py +0 -0
  49. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity.egg-info/SOURCES.txt +0 -0
  50. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity.egg-info/dependency_links.txt +0 -0
  51. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity.egg-info/requires.txt +0 -0
  52. {voxcity-0.5.3 → voxcity-0.5.5}/src/voxcity.egg-info/top_level.txt +0 -0
  53. {voxcity-0.5.3 → voxcity-0.5.5}/tests/__init__.py +0 -0
  54. {voxcity-0.5.3 → voxcity-0.5.5}/tests/voxelcity.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: voxcity
3
- Version: 0.5.3
3
+ Version: 0.5.5
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,6 +1,6 @@
1
1
  [project]
2
2
  name = "voxcity"
3
- version = "0.5.3"
3
+ version = "0.5.5"
4
4
  requires-python = ">=3.10,<3.13"
5
5
  classifiers = [
6
6
  "Programming Language :: Python :: 3.10",
@@ -16,7 +16,6 @@ The main functions are:
16
16
 
17
17
  import numpy as np
18
18
  import os
19
-
20
19
  # Local application/library specific imports
21
20
  from .downloader.mbfp import get_mbfp_gdf
22
21
  from .downloader.osm import load_gdf_from_openstreetmap, load_land_cover_gdf_from_osm
@@ -46,7 +45,9 @@ from .geoprocessor.grid import (
46
45
  create_building_height_grid_from_gdf_polygon,
47
46
  create_dem_grid_from_geotiff_polygon,
48
47
  create_land_cover_grid_from_gdf_polygon,
49
- create_building_height_grid_from_open_building_temporal_polygon
48
+ create_building_height_grid_from_open_building_temporal_polygon,
49
+ create_vegetation_height_grid_from_gdf_polygon,
50
+ create_dem_grid_from_gdf_polygon
50
51
  )
51
52
  from .utils.lc import convert_land_cover, convert_land_cover_array
52
53
  from .geoprocessor.polygon import get_gdf_from_gpkg, save_geojson
@@ -734,6 +735,7 @@ def get_voxcity_CityGML(rectangle_vertices, url_citygml, land_cover_source, cano
734
735
  land_cover_grid = get_land_cover_grid(rectangle_vertices, meshsize, land_cover_source, output_dir, **kwargs)
735
736
 
736
737
  # building_height_grid, building_min_height_grid, building_id_grid, building_gdf = get_building_height_grid(rectangle_vertices, meshsize, building_source, output_dir, **kwargs)
738
+ print("Creating building height grid")
737
739
  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
740
 
739
741
  # Visualize grid if requested
@@ -770,6 +772,7 @@ def get_voxcity_CityGML(rectangle_vertices, url_citygml, land_cover_source, cano
770
772
  if kwargs.pop('flat_dem', None):
771
773
  dem_grid = np.zeros_like(land_cover_grid)
772
774
  else:
775
+ print("Creating Digital Elevation Model (DEM) grid")
773
776
  dem_grid = create_dem_grid_from_gdf_polygon(terrain_gdf, meshsize, rectangle_vertices)
774
777
 
775
778
  # Visualize grid if requested
@@ -10,7 +10,8 @@ from scipy.ndimage import label, generate_binary_structure
10
10
  from pyproj import Geod, Transformer, CRS
11
11
  import rasterio
12
12
  from affine import Affine
13
- from shapely.geometry import box
13
+ from shapely.geometry import box, Polygon, Point, MultiPolygon
14
+
14
15
  from scipy.interpolate import griddata
15
16
  from shapely.errors import GEOSException
16
17
  import geopandas as gpd
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: voxcity
3
- Version: 0.5.3
3
+ Version: 0.5.5
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>
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