previous: Generalizing rivers and lakes - river network analysis current: Generalizing rivers and lakes - further generalization steps next: Generalizing rivers and lakes - where things go wrong Navigation

Generalizing rivers and lakes - further generalization steps

The processing described so far produced only intermediate data. Here i will describe the further processing steps required to produce the generalized river and lake geometries.

Scale dependent generalization of the river lines

Rendering a map with rivers involves two things: From the river line network generated in the previous steps i first select a subset based on a chosen threshold for the importance rating. The choice of this threshold value of course depends primarily on the map scale. Beyond that the density of rivers shown in the map is also a design choice.

The selected rivers then need to be simplified to eliminate small details that can not properly be represented at the target map scale. The usual line simplification methods are not the best choice here, especially since there are additional constraints that need to be taken into account. Like with the coastlines i use a raster based approach.

The whole process is illustrated by the following images (from the Caspian Sea west coast). The coastline is generalized for z=8 and only included as visual guide.

original OSM data presimplified and importance rated lines
original OSM data (see also map) presimplified and importance rated lines
zoom=6 generalized lines and areas rendered map
zoom=6 generalized lines and areas rendered map

During simplification it needs to be ensured that the water lines stay consistent with the water areas and coastlines, therefore these are part of the process. This is currently not yet fully implemented - while lines are ensured to maintain connections to water areas and oceans these features are not ensured to maintain separation during the simplification process. This is visible in the above example as well as in other areas of the maps.

For rendering the river size information is used to adjust the line width the rivers are drawn in.

Generalizing the water areas

The process of generalizing the water areas is similar to that of the coastlines - with somewhat different parameters. Special care needs to be taken where water areas are close to the coast. Explicit connections need to be maintained while separation between inland water and ocean needs to be ensured elsewhere. These features are included in the new coastline_gen version.

The results can be seen in the demonstration map. There are various errors visible in the map and i am going to discuss some of them and their origins in the final part.

Visitor comments:

no comments yet.

Leave a comment
You have to enable Javascript to be able to write comments.
human verification Please enter the code you can see in the image on the left to verify you are a human and not a spamming script.
* * Required field
Information about you
will not be made public
will be displayed with your posting
Your comment (no HTML)


If you want to send a private message to the author of this website you can do so via Email.

The comments will be reviewed before they are added to the site. So you might need to wait some time until your entry turns up.

Please note this comment function is intended for commenting on the text and images, not for discussing political or religious views. Comments with no relation to the content of this site will not be approved.

By submitting your comment you agree to the privacy policy and agree to the information you provide (except for the email address) to be published on this website.