SpaceGroupUCL / depthmapX

depthmapX is a multi-platform Spatial Network Analysis Software
198 stars 53 forks source link

betweeness clustering coefficient #435

Closed LAOUAR closed 2 years ago

LAOUAR commented 2 years ago

Hi everyone, Please, i ve issues with VGA, i want to get : control controllability and clustering coeficient, betweeness. 1.i ve set a grid (20) 2.tool-visibility-make visibility graph 3.run visibility graph analysis 4.calculate visibility relationship; i selected both of - include global and- local measures,- i put radius n. But unfortunately i didnt get any one of the abovementioned measures except visual integration. (i ve used depthmapx the latest version in github.) Please could any one answer me. Thank you.

blsemo commented 2 years ago

Have you tried turning off simple mode in the settings menu?

29 Aug 2022 22:27:03 LAOUAR @.***>:

Hi everyone, Please, i ve issues with VGA, i want to get : control controllability and clustering coeficient, betweeness. 1.i ve set a grid (20) 2.tool-visibility-make visibility graph 3.run visibility graph analysis 4.calculate visibility relationship; i selected both of - include global and- local measures,- i put radius n. But unfortunately i didnt get any one of the abovementioned measures except visual integration. (i ve used depthmapx the latest version in github.) Please could any one answer me. Thank you.

— Reply to this email directly, view it on GitHub[https://github.com/SpaceGroupUCL/depthmapX/issues/435], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAL4OEASK7HTMAJKLPQOLYTV3UTKLANCNFSM577IXZMQ]. You are receiving this because you are subscribed to this thread.[Tracking image][https://github.com/notifications/beacon/AAL4OEFMV2LNRDUSSY2ORITV3UTKLA5CNFSM577IXZM2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4UGB76UQ.gif]

LAOUAR commented 2 years ago

Thank you very much Christian Sailor, it works now, i am really very grateful for that. Please i ve another question about betweenness how can i calculate it or get it in VGA. Thank you have a good day.

pklampros commented 2 years ago

Betweenness is not calculated for VGA (it doesn't make much sense) in depthmapX. You best bet is to export the VGA connections and calculate it yourself in a different app, or in python using a dedicated library.

LAOUAR commented 2 years ago

Thank you very much Petros Koutsolampros for your answer, it's really kinfd from you. However, i am not very familiar with python, can you give me more informations about how can i calculate it from vga connections, because i am working in GIS file and i want a grid map of betwenness so i can join it with other parameters of my study. Thank you in advance.

pklampros commented 2 years ago

@LAOUAR this is a particularly broad question.... In short, you export the VGA connections from depthmapX, import them into Python to make a graph (perhaps with the igraph library?), and then calculate Betweenness using the same graph library.

LAOUAR commented 2 years ago

Is it possible in R? Thank you very much

pklampros commented 2 years ago

It certainly is, look at igraph for r, and betweenness using igraph in R

LAOUAR commented 2 years ago

@pklampros thanks a lot, i am so grateful.

LAOUAR commented 2 years ago

Hi @pklampros , please in which format can i import VGA to Igraph R? Thank you very much. Best Regards, Dounia Laouar