tomalrussell / snkit

spatial networks toolkit (python)
MIT License
31 stars 10 forks source link

Add coordinate system to network #22

Closed ElcoK closed 5 years ago

ElcoK commented 5 years ago
def add_crs(snNW,crs_code='4326'):
    snNW.edges.crs = {'init' :'epsg:{}'.format(crs_code)}
    snNW.nodes.crs = {'init' :'epsg:{}'.format(crs_code)}
    return snNW