ReprojectFeatureReader provides a reprojection for FeatureTypes.
ReprojectFeatureResults is a wrapper used to reproject GeometryAttributes to a user supplied CoordinateReferenceSystem from the original CoordinateReferenceSystem supplied by the original FeatureResults.
Example Use:
ReprojectFeatureResults results = new ReprojectFeatureResults( originalResults, reprojectCS ); CoordinateReferenceSystem originalCS = originalResults.getFeatureType().getDefaultGeometry().getCoordinateSystem(); CoordinateReferenceSystem newCS = results.getFeatureType().getDefaultGeometry().getCoordinateSystem(); assertEquals( reprojectCS, newCS );
@author aaime
@author $Author: jive $ (last modification)
@source $URL$
@version $Id$ TODO: handle the case where there is more than one geometry and the other geometries have a different CS than the default geometry