Simplifies a
Geometry using the standard Douglas-Peucker algorithm.
Ensures that any polygonal geometries returned are valid.
Simple lines are not guaranteed to remain simple after simplification.
Note that in general D-P does not preserve topology -
e.g.