The two simplifiers in the SimplifyProcess class got mixed up.

Description

The class org.geotools.process.vector.SimplifyProcess offers two simplifiers, TopologyPreservingSimplifier and DouglasPeuckerSimplifier. Which one is used depends on the value of the preserveTopology parameter. However, the two simplifiers are mixed up in the code so that TopologyPreservingSimplifier is used when DouglasPeuckerSimplifier should be used and vice versa.

Environment

None

Status

Assignee

Unassigned

Reporter

Martin

Triage

None

Fix versions

Affects versions

Priority

Medium
Configure