Improvement in class DouglasPeuckerLineSimplifier
Brought to you by:
dr_jts
Unnecessary to create a new instance of Coordinate in simplify() method of DouglasPeuckerLineSimplifier class.
Chance:
if (usePt[i]) { coordList.add(new Coordinate(pts[i])); }
To:
if (usePt[i]) { coordList.add(pts[i]); }
This way you can send N instances of a subclass Coordinate with other information of each point (eg the date).