|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.renderer.crs.ProjectionHandler
public class ProjectionHandler
A class that can perform transformations on geometries to handle the singularity of the rendering CRS, deal with geometries that are crossing the dateline, and eventually wrap them around to produce a seamless continuous map effect.
This basic implementation will cut the geometries that get outside of the area of validity of the projection (as provided by the constructor) WARNING: this API is not finalized and is meant to be used by StreamingRenderer only
Field Summary | |
---|---|
protected static java.util.logging.Logger |
LOGGER
|
Constructor Summary | |
---|---|
ProjectionHandler(ReferencedEnvelope renderingEnvelope,
ReferencedEnvelope validArea)
|
Method Summary | |
---|---|
java.util.List<ReferencedEnvelope> |
getQueryEnvelopes(org.opengis.referencing.crs.CoordinateReferenceSystem queryCRS)
Returns a set of envelopes that will be used to query the data given the specified rendering envelope and the current query envelope |
com.vividsolutions.jts.geom.Geometry |
postProcess(com.vividsolutions.jts.geom.Geometry geometry)
Processes the geometry already projected to the target SRS. |
com.vividsolutions.jts.geom.Geometry |
preProcess(org.opengis.referencing.crs.CoordinateReferenceSystem geomCRS,
com.vividsolutions.jts.geom.Geometry geometry)
Pre processes the geometry, e.g. |
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 |
Field Detail |
---|
protected static final java.util.logging.Logger LOGGER
Constructor Detail |
---|
public ProjectionHandler(ReferencedEnvelope renderingEnvelope, ReferencedEnvelope validArea)
Method Detail |
---|
public java.util.List<ReferencedEnvelope> getQueryEnvelopes(org.opengis.referencing.crs.CoordinateReferenceSystem queryCRS) throws org.opengis.referencing.operation.TransformException, org.opengis.referencing.FactoryException
org.opengis.referencing.operation.TransformException
org.opengis.referencing.FactoryException
public boolean requiresProcessing(org.opengis.referencing.crs.CoordinateReferenceSystem geomCRS, com.vividsolutions.jts.geom.Geometry geometry)
public com.vividsolutions.jts.geom.Geometry preProcess(org.opengis.referencing.crs.CoordinateReferenceSystem geomCRS, com.vividsolutions.jts.geom.Geometry geometry) throws org.opengis.referencing.operation.TransformException, org.opengis.referencing.FactoryException
org.opengis.referencing.operation.TransformException
org.opengis.referencing.FactoryException
public com.vividsolutions.jts.geom.Geometry postProcess(com.vividsolutions.jts.geom.Geometry geometry)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |