Write hygeo
write_hygeo( hygeo_list, out_path, edge_list_format = "json", data_format = "geojson", edge_map = FALSE, overwrite = FALSE )
| hygeo_list | list of class hygeo containing: catchment, flowpath, nexus, catchment_edges, and waterbody_edges. |
|---|---|
| out_path | character path to store outputs |
| edge_list_format | character 'json' or 'csv' |
| data_format | character 'geojson' or 'gpkg' |
| edge_map | logical write edge map json file" |
| overwrite | logical overwrite output or not |