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.
- {objectnat-1.4.0 → objectnat-1.4.1}/PKG-INFO +1 -1
- {objectnat-1.4.0 → objectnat-1.4.1}/pyproject.toml +1 -1
- objectnat-1.4.1/src/objectnat/_version.py +1 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/visibility/visibility_analysis.py +3 -2
- objectnat-1.4.0/src/objectnat/_version.py +0 -1
- {objectnat-1.4.0 → objectnat-1.4.1}/LICENSE.txt +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/README.rst +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/__init__.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/_api.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/_config.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/__init__.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/coverage_zones/__init__.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/coverage_zones/graph_coverage.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/coverage_zones/radius_voronoi_coverage.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/coverage_zones/stepped_coverage.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/isochrones/__init__.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/isochrones/isochrone_utils.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/isochrones/isochrones.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/noise/__init__.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/noise/noise_init_data.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/noise/noise_reduce.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/noise/noise_simulation.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/noise/noise_simulation_simplified.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/point_clustering/__init__.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/point_clustering/cluster_points_in_polygons.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/provision/__init__.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/provision/provision.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/provision/provision_exceptions.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/provision/provision_model.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/utils/__init__.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/utils/geom_utils.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/utils/graph_utils.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/utils/math_utils.py +0 -0
- {objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/visibility/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "ObjectNat"
|
|
3
|
-
version = "1.4.
|
|
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
|
-
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/coverage_zones/radius_voronoi_coverage.py
RENAMED
|
File without changes
|
{objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/coverage_zones/stepped_coverage.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{objectnat-1.4.0 → objectnat-1.4.1}/src/objectnat/methods/noise/noise_simulation_simplified.py
RENAMED
|
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
|