I have a set of polygon features in a GeoJSON file. They are neigbourhoods in Chicago. I would like to produce an adjacency matrix A, in CSV format or any other form, where the i,j element of A is 1 if Pi is adjacent to Pj (i.e. they are touching).
Is there any tool that can easily read the file and do this?