org.geotools.renderer.crs
Class WrappingProjectionHandler
Object
ProjectionHandler
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
|
Methods inherited from class 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 Geometry postProcess(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(CoordinateReferenceSystem geomCRS,
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.