CityScienceLab-GDL / cityscope-ccu

Project for the mobility team of the MIT CityScope workshop
0 stars 2 forks source link

SHP validation model #11

Closed gamalielpalomo closed 2 years ago

gamalielpalomo commented 2 years ago

@LAAP and @agrignard: We had a meeting today and talked about how to validate that roads and block shapes files are correct (i.e. check that they does not have open lines, etc.).

LAAP commented 2 years ago

Hi @agrignard , do you remember the Methodology that we used for finding out if the road network vectors and polygons where "closed" at the Cooper Hewitt table? I think it was a python file + a GAMA model. Can you help us tow see if we can use it in Guadalajara?

agrignard commented 2 years ago

Yep, @gamalielpalomo you can have a look at this model in the library Clean Line Network.gaml

LAAP commented 2 years ago

Thanks @agrignard !!!

agrignard commented 2 years ago

@gamalielpalomo did you manage to clean your network? If yes we can close this issue

gamalielpalomo commented 2 years ago

I have solved this problem by now building the roads network using as_intersection_graph which works even when the shp lines are not all "closed".

agrignard commented 2 years ago

Ok so we can close we can close this issue