We have two shapefile data sources:

1 water-riverbank.shp

With geometry type of Polygon which stands for the area of water


With geometry type of LineString which stands for the direction of the water. We use these features to label the water.

enter image description here

Now we use mapshaper to simplify these data, however we may get this kind of result:

enter image description here

The simplified riverbank and riverline are not synchronized.

Any way to avoid this?

  • it's better to embed images rather than linking to them - it's easier for people to see them quickly, and you remove the chance that the links will become outdated – Stephen Lead Jul 1 '14 at 2:10
  • Probably not an extremely easy task. However, D-P simplificitation of lines does not remove start and end points. Perhaps the result would be fine if you could split your riverbank polygons into linestrings from the intersection points with rivers, simplify them and construct new polygons from the simplified linestrings. – user30184 Jul 1 '14 at 14:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.