Hello Johann,
> I have not tested this patch. I expect it to work, but I think it is a
> suboptimal solution.
I make no claims that it is optimal. Merely, that it's "cheap and
cheerful". It achieves the desired aim with very little computational
overhead.
> You set the preserve bit on all lin
Hi Mark,
I have not tested this patch. I expect it to work, but I think it is a
suboptimal solution.
You set the preserve bit on all lines which are exactly horizontal or
vertical.
Wouldn't it be cleaner way, to set the preserved bit at the place, where
the new nodes are generated, i.e. in the
This patch stops the DP filter from discarding points at either end of
a horizontal or vertical line segment (such segments are created by the
clipper and also by the polygon splitter and, of course, could occur
naturally in the OSM data but I'd guess they are relatively rare).
The benefit is tha