ObjectNat 1.0.0__tar.gz → 1.0.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.
Potentially problematic release.
This version of ObjectNat might be problematic. Click here for more details.
- {objectnat-1.0.0 → objectnat-1.0.1}/PKG-INFO +1 -2
- {objectnat-1.0.0 → objectnat-1.0.1}/pyproject.toml +2 -3
- objectnat-1.0.1/src/objectnat/_version.py +1 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/isochrones/isochrone_utils.py +3 -3
- objectnat-1.0.0/src/objectnat/_version.py +0 -1
- {objectnat-1.0.0 → objectnat-1.0.1}/LICENSE.txt +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/README.md +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/__init__.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/_api.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/_config.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/__init__.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/coverage_zones/__init__.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/coverage_zones/graph_coverage.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/coverage_zones/radius_voronoi.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/isochrones/__init__.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/isochrones/isochrones.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/noise/__init__.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/noise/noise_exceptions.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/noise/noise_init_data.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/noise/noise_reduce.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/noise/noise_sim.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/point_clustering/__init__.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/point_clustering/cluster_points_in_polygons.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/provision/__init__.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/provision/provision.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/provision/provision_exceptions.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/provision/provision_model.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/utils/__init__.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/utils/geom_utils.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/utils/graph_utils.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/utils/math_utils.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/visibility/__init__.py +0 -0
- {objectnat-1.0.0 → objectnat-1.0.1}/src/objectnat/methods/visibility/visibility_analysis.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: ObjectNat
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.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
|
Author: DDonnyy
|
|
@@ -16,7 +16,6 @@ Requires-Dist: networkx (>=3.4.2,<4.0.0)
|
|
|
16
16
|
Requires-Dist: numpy (>=2.1.3,<3.0.0)
|
|
17
17
|
Requires-Dist: pandarallel (>=1.6.5,<2.0.0)
|
|
18
18
|
Requires-Dist: pandas (>=2.2.0,<3.0.0)
|
|
19
|
-
Requires-Dist: pytest (>=8.3.5,<9.0.0)
|
|
20
19
|
Requires-Dist: scikit-learn (>=1.4.0,<2.0.0)
|
|
21
20
|
Requires-Dist: tqdm (>=4.66.2,<5.0.0)
|
|
22
21
|
Description-Content-Type: text/markdown
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "ObjectNat"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.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>"]
|
|
@@ -17,11 +17,10 @@ tqdm = "^4.66.2"
|
|
|
17
17
|
pandarallel = "^1.6.5"
|
|
18
18
|
networkx = "^3.4.2"
|
|
19
19
|
scikit-learn = "^1.4.0"
|
|
20
|
-
pytest = "^8.3.5"
|
|
21
20
|
|
|
22
21
|
|
|
23
22
|
[tool.poetry.group.dev.dependencies]
|
|
24
|
-
iduedu = "^0.
|
|
23
|
+
iduedu = "^0.5.0"
|
|
25
24
|
pyarrow = "^19.0.1"
|
|
26
25
|
black = "^24.2.0"
|
|
27
26
|
pylint = "^3.0.3"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
VERSION = "1.0.1"
|
|
@@ -74,11 +74,11 @@ def _process_pt_data(
|
|
|
74
74
|
nodes: gpd.GeoDataFrame, edges: gpd.GeoDataFrame, graph_type: str
|
|
75
75
|
) -> tuple[gpd.GeoDataFrame, gpd.GeoDataFrame] | tuple[None, None]:
|
|
76
76
|
"""Process public transport data if available."""
|
|
77
|
-
if "
|
|
78
|
-
pt_nodes = nodes[nodes["
|
|
77
|
+
if "type" in nodes.columns and "platform" in nodes["type"].unique():
|
|
78
|
+
pt_nodes = nodes[(nodes["type"] != "platform") & (~nodes["type"].isna())]
|
|
79
79
|
if graph_type == "intermodal":
|
|
80
80
|
edges = edges[~edges["type"].isin(["walk", "boarding"])]
|
|
81
|
-
pt_nodes = pt_nodes[["
|
|
81
|
+
pt_nodes = pt_nodes[["type", "route", "geometry"]]
|
|
82
82
|
edges = edges[["type", "route", "geometry"]]
|
|
83
83
|
return pt_nodes, edges
|
|
84
84
|
return None, None
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
VERSION = "1.0.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
|
|
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
|