I have the shapefile containing polylines that represent the river. I need to draw generalized straight line approximations of stream lines.
River lines have the following attributes:
- river_id is a unique identifier;
- down_id is the river_id of the downstream line;
- down_node is the downstream node identifier;
- up_node is the upstream node identifier;
- type, indicates whether the line is a source, sink or intermediate line.
Any ideas how to do it?