ObjectNat 1.4.0__tar.gz → 1.4.1__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.
Files changed (34) hide show
  1. {objectnat-1.4.0 → objectnat-1.4.1}/PKG-INFO +1 -1
  2. {objectnat-1.4.0 → objectnat-1.4.1}/pyproject.toml +1 -1
  3. objectnat-1.4.1/src/objectnat/_version.py +1 -0
  4. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/visibility/visibility_analysis.py +3 -2
  5. objectnat-1.4.0/src/objectnat/_version.py +0 -1
  6. {objectnat-1.4.0 → objectnat-1.4.1}/LICENSE.txt +0 -0
  7. {objectnat-1.4.0 → objectnat-1.4.1}/README.rst +0 -0
  8. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/__init__.py +0 -0
  9. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/_api.py +0 -0
  10. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/_config.py +0 -0
  11. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/__init__.py +0 -0
  12. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/coverage_zones/__init__.py +0 -0
  13. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/coverage_zones/graph_coverage.py +0 -0
  14. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/coverage_zones/radius_voronoi_coverage.py +0 -0
  15. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/coverage_zones/stepped_coverage.py +0 -0
  16. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/isochrones/__init__.py +0 -0
  17. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/isochrones/isochrone_utils.py +0 -0
  18. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/isochrones/isochrones.py +0 -0
  19. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/noise/__init__.py +0 -0
  20. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/noise/noise_init_data.py +0 -0
  21. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/noise/noise_reduce.py +0 -0
  22. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/noise/noise_simulation.py +0 -0
  23. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/noise/noise_simulation_simplified.py +0 -0
  24. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/point_clustering/__init__.py +0 -0
  25. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/point_clustering/cluster_points_in_polygons.py +0 -0
  26. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/provision/__init__.py +0 -0
  27. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/provision/provision.py +0 -0
  28. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/provision/provision_exceptions.py +0 -0
  29. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/provision/provision_model.py +0 -0
  30. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/utils/__init__.py +0 -0
  31. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/utils/geom_utils.py +0 -0
  32. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/utils/graph_utils.py +0 -0
  33. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/utils/math_utils.py +0 -0
  34. {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/visibility/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ObjectNat
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: ObjectNat is an open-source library created for geospatial analysis created by IDU team
5
5
  License: BSD-3-Clause
6
6
  License-File: LICENSE.txt
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "ObjectNat"
3
- version = "1.4.0"
3
+ version = "1.4.1"
4
4
  description = "ObjectNat is an open-source library created for geospatial analysis created by IDU team"
5
5
  license = "BSD-3-Clause"
6
6
  authors = ["DDonnyy <63115678+DDonnyy@users.noreply.github.com>"]
@@ -0,0 +1 @@
1
+ VERSION = "1.4.1"
@@ -407,14 +407,15 @@ def get_visibility(
407
407
 
408
408
  if obstacles is not None and len(obstacles) > 0:
409
409
  obstacles_local = obstacles.to_crs(local_crs)
410
+ allowed_geom_types = ["MultiPolygon", "Polygon", "LineString", "MultiLineString"]
411
+ obstacles_local = obstacles_local[obstacles_local.geom_type.isin(allowed_geom_types)]
410
412
  else:
411
413
  obstacles_local = None
412
414
 
413
415
  tasks = [(geom, obstacles_local, dist, method, resolution) for geom, dist in zip(points_local.geometry, distances)]
414
- logger.info("started")
416
+
415
417
  if not parallel:
416
418
  results = [_visibility_worker(t) for t in tasks]
417
- logger.info("done seq ")
418
419
  else:
419
420
  if enable_tqdm:
420
421
  results = process_map(
@@ -1 +0,0 @@
1
- VERSION = "1.4.0"
File without changes
File without changes