org.geotools.renderer.crs
Class WrappingProjectionHandler
java.lang.Object
org.geotools.renderer.crs.ProjectionHandler
org.geotools.renderer.crs.WrappingProjectionHandler
public class WrappingProjectionHandler
- extends ProjectionHandler
A ProjectionHandler
for projections that do warp in the East/West direction, it will
replicate the geometries generating a Google Maps like effect
- Author:
- Andrea Aime - OpenGeo
Field Summary |
protected double |
radius
|
Method Summary |
com.vividsolutions.jts.geom.Geometry |
postProcess(com.vividsolutions.jts.geom.Geometry geometry)
Processes the geometry already projected to the target SRS. |
boolean |
requiresProcessing(org.opengis.referencing.crs.CoordinateReferenceSystem geomCRS,
com.vividsolutions.jts.geom.Geometry geometry)
Returns true if the geometry needs special handling |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
radius
protected double radius
WrappingProjectionHandler
public WrappingProjectionHandler(ReferencedEnvelope renderingEnvelope,
ReferencedEnvelope validArea,
double centralMeridian)
- Provides the strategy with the area we want to render and its CRS (the SPI lookup will do
this step)
postProcess
public com.vividsolutions.jts.geom.Geometry postProcess(com.vividsolutions.jts.geom.Geometry geometry)
- Description copied from class:
ProjectionHandler
- Processes the geometry already projected to the target SRS. May return null if the geometry
is not to be drawn
- Overrides:
postProcess
in class ProjectionHandler
requiresProcessing
public boolean requiresProcessing(org.opengis.referencing.crs.CoordinateReferenceSystem geomCRS,
com.vividsolutions.jts.geom.Geometry geometry)
- Description copied from class:
ProjectionHandler
- Returns true if the geometry needs special handling
- Overrides:
requiresProcessing
in class ProjectionHandler
Copyright © 1996-2010 Geotools. All Rights Reserved.