Comments (3)
Good question. Actually this is not an indicator of anything being wrong per se. It actually means that there are street edges that aren't useful for taking shortest paths between different places (certain streets aren't on the way to anywhere I guess). It's just a byproduct of the algorithm and is really just means things are working as designed (see http://en.wikipedia.org/wiki/Contraction_hierarchies for more info)
from pandana.
That makes sense. Looks like where I have edges being removed tends to be for 2-way networks with duplicates or 1-way network where the edges have the same weight in both directions.
OK one more question: when it states 'removed x edges of n' the n is always double the number of input edges. This makes sense for the 2-way case, but for the 1-way case are extra edges being added for the opposite direction? I guess I'm confused because I would think that the bi-directional edges needed for the dijkstra shortest path search are being provided already. Or is the n reported to the console just a simple approximation and not representative of the true edge count?
from pandana.
For the one way case extra edges are not being added for the opposite direction. It's a bit disconcerting that the n is twice the edges even in the 1-way case. Unfortunately I don't have an answer for that since this is coming from an underlying library and not code we wrote. I do think it works though in the tests that I ran but let me know if you see troublesome results.
from pandana.
Related Issues (20)
- Support for Python 3.9 HOT 1
- Support for MacOS 11.0 Big Sur HOT 2
- Support for M1 Macs HOT 3
- [Question] How to get different Key|Value combinations in osm.node_query
- [Feature Request] Aggreggation queries to subset of nodes
- Binary incompatibility error with older versions of NumPy HOT 1
- Shortest path length exists but shortest path is empty HOT 5
- shortest path distance between non connected nodes
- Allow specifying mapping distance for POIs
- Issue: the POI Accessibility computation is taking forever
- OSM loader - POIs that are ways in OSM HOT 1
- Pandana network initiation slow for large network HOT 4
- how to increase the performance of the aggregate when impedance is changed to time?
- net.shortest_paths doesn't work with multiprocessing
- tables sub-dependency versions conflict with python 3.10 compatibility when installing with pip HOT 1
- incorrect shortest paths solutions when impendance values are particularly small or large HOT 1
- Plotting with Pandana does not render title HOT 1
- osm.pdna_network_from_bbox error HOT 6
- Pulling network object from OSM bugged HOT 2
- New release ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pandana.