Uploaded image for project: 'GeoTools'
  1. GEOT-5986

The two simplifiers in the SimplifyProcess class got mixed up.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 19.0
    • Fix Version/s: 18.4, 20-beta, 19.1
    • Component/s: None
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              martin.f.gebert Martin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: