MCA related question #506
Replies: 1 comment
-
because most of graph-based metrics implemented in momepy are primarily based on metric distance. So it is handy not to think about creating one yourself prior to conversion from GeoDataFrame to Graph. And yes, it is assigned as edge attribute.
Yes. Do you have a suggestion how to reformulate it?
No, the purpose of weight is to give proper geographical weight to each edge within the shortest distance calculation. If no weight is given, distance is only topological.
Formulas are the same for primal and dual. I recommend reading relevant literature or proposing how we should change our documentation. We're offering a tool and expect users to learn the conceptual backbone in literature.
This is a standard GeoPandas plotting code. Please refer to GeoPandas documentation.
This is not supported by momepy.
See http://docs.momepy.org/en/stable/user_guide/graph/convert.html |
Beta Was this translation helpful? Give feedback.
-
Hey! Thank you so much for this super useful tool, I am yet to explore its full potential. I have few questions though, that I would be grateful if I could have an answer for:
1- Its not quite clear yet as to how the weight is used in the centrality measures. In the manual you mention that:
"then radius=400 and distance=length of each segment saved as a parameter of each edge. By default, momepy saves length as mm_len.The weight parameter is used for centrality calculation. Again, we can use metric weight (using the same attribute as above) or no weight (weight=None) at all. Or any other attribute we wish."
In the UNA toolbox for example, used in Rhino 3D, the weight is assigned to origins or destinations to impact the result. Bigger destinations would be assigned more trips for example.
2- Would it be possible to utilize graphs from shapefiles rather than OSM?
Tons of gratitude for this open source tool!
Beta Was this translation helpful? Give feedback.
All reactions