Continuous and adaptive cartographic generalization of river networks