Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Angular centrality suffers from the shortcut effect #463

Open
martinfleis opened this issue Jan 23, 2023 Discussed in #462 · 1 comment
Open

BUG: Angular centrality suffers from the shortcut effect #463

martinfleis opened this issue Jan 23, 2023 Discussed in #462 · 1 comment

Comments

@martinfleis
Copy link
Member

Discussed in #462

Originally posted by felipetavares80 January 23, 2023
Hello everyone.

I'm trying to do a angular weighted closeness centrality from a segmented road map.

I'm importing it from osmnx, simplifying the segments by Douglas-Peucker on Qgis, extracting the points and creating a graph for momepy closeness centrality analysis.

I did the graph but it seems that the results do not match the manual calculations when I set the angular option for closeness centrality. It matches for topological but not for angular.

I don't know if I'm doing something wrong on manual calculations or in the coding, but 'll appreciate a help on this.

Thanks in advance!

All the Best.

The Codes, the manual calculations document and the shapefiles is attached.
angularclosenesspack.zip

@martinfleis martinfleis added this to the 0.6.0 milestone Jan 23, 2023
@jGaboardi
Copy link
Member

@martinfleis Was there an earlier problem with this calculation?

@martinfleis martinfleis changed the title BUG: Angle computation in angular graph creation is wrong. Again. BUG: Angular centrality suffers from the shortcut effect Jan 23, 2023
@martinfleis martinfleis removed this from the 0.6.0 milestone Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants