quetzal.model.integritymodel module
- class quetzal.model.integritymodel.IntegrityModel(debug=False, walk_on_road=False, epsg=None, coordinates_unit=None, **kwargs)[source]
Bases:
object
- integrity_fix_collision(prefixes={'links': 'link_', 'nodes': 'node_', 'zones': 'zone_'})[source]
requires: links, nodes, zones
builds: links, nodes, zones
- integrity_fix_road_network(cutoff=10, recursive_depth=1)[source]
- clean road_network
requires: road_links, road_nodes
builds: road_links, road_nodes
- integrity_test_circular_lines()[source]
- The model does not work with circular lines
requires: links
builds: circular_lines
- integrity_test_collision(sets=('links', 'nodes', 'zones', 'road_links', 'road_nodes'))[source]
requires: links, nodes, zones