Spatial Weight Matrix #526
mohdalattar
started this conversation in
Ideas
Replies: 1 comment 2 replies
|
Can you expand on that a bit with some code examples? I am not sure I fully understand the use case that is not yet covered. When measuring street network attributes using functions in momepy like closeness, you need a networkx.Graph object. And our If you are talking about libpysal spatial weights objects representing weights matrix, then it depends on how you generate it but if you use Queen contiguity, the resulting matrix encodes the same as |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
I propose the implementation of a feature for constructing spatial weight matrix, as existing methods insufficiently consider the nonplanarity of street networks. This means that bridges are currently treated as adjacent to all streets they cross over. While OSMnx effectively accounts for nonplanarity in calculating street centrality, I am not aware of any method within it that addresses this aspect for spatial weight matrix.
All reactions