Coordinate[] data = new Coordinate[] { new Coordinate(4, 4), new Coordinate(6.5, 6.5),
new Coordinate(6.5, 6.5), new Coordinate(8, 8), new Coordinate(8.3, 8.3) };
SimpleFeatureCollection fc = createPoints(data, bounds);
ProgressListener monitor = null;
PointStackerProcess psp = new PointStackerProcess();
SimpleFeatureCollection result = psp.execute(fc, 100, // cellSize
true, // normalize
PreserveLocation.Superimposed, // preserve location