Spatial Weight Matrix #526
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 |
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions