Uses of Class
org.geotools.referencing.operation.projection.ProjectionException

Packages that use ProjectionException
org.geotools.referencing.operation.projection Basic implementations of map projections.  
 

Uses of ProjectionException in org.geotools.referencing.operation.projection
 

Subclasses of ProjectionException in org.geotools.referencing.operation.projection
 class PointOutsideEnvelopeException
          Thrown by MapProjection when a map projection failed because the point is outside the envelope of validity.
 

Methods in org.geotools.referencing.operation.projection that throw ProjectionException
protected  java.awt.geom.Point2D NewZealandMapGrid.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D NewZealandMapGrid.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in .
protected  java.awt.geom.Point2D EquidistantCylindrical.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in ptDst (linear distance on a unit sphere).
protected  java.awt.geom.Point2D EquidistantCylindrical.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in ptDst.
protected  java.awt.geom.Point2D StereographicPolar.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D StereographicPolar.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D ObliqueMercator.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified coordinate and stores the result in . This method is guaranteed to be invoked with values of x in the range and values of y in the range .

Coordinates are also guaranteed to have the MapProjection.centralMeridian removed from x before this method is invoked. After this method is invoked, the results in are multiplied by MapProjection.globalScale, and the MapProjection.falseEasting and MapProjection.falseNorthing are added. This means that projections that implement this method are performed on an ellipse (or sphere) with a semiMajor axis of 1.0.

In PROJ.4, the same standardization, described above, is handled by . Therefore when porting projections from PROJ.4, the forward transform equations can be used directly here with minimal change. In the equations of Snyder, MapProjection.falseEasting, MapProjection.falseNorthing and MapProjection.scaleFactor are usually not given. When implementing these equations here, you will not need to remove the MapProjection.centralMeridian from x or apply the MapProjection.semiMajor ('a' or 'R').

protected  java.awt.geom.Point2D ObliqueMercator.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified coordinate and stores the result in . This method returns longitude as x values in the range and latitude as y values in the range . It will be checked by the caller, so this method doesn't need to performs this check.

Input coordinates are also guarenteed to have the MapProjection.falseEasting and MapProjection.falseNorthing removed and be divided by MapProjection.globalScale before this method is invoked. After this method is invoked, the MapProjection.centralMeridian is added to the results in . This means that projections that implement this method are performed on an ellipse (or sphere) with a semiMajor axis of 1.0.

In PROJ.4, the same standardization, described above, is handled by . Therefore when porting projections from PROJ.4, the inverse transform equations can be used directly here with minimal change. In the equations of Snyder, MapProjection.falseEasting, MapProjection.falseNorthing and MapProjection.scaleFactor are usually not given. When implementing these equations here, you will not need to add the MapProjection.centralMeridian to the output longitude or remove the MapProjection.semiMajor ('a' or 'R').

protected  java.awt.geom.Point2D AlbersEqualArea.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D AlbersEqualArea.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in .
protected  java.awt.geom.Point2D TransverseMercator.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D TransverseMercator.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in .
protected  java.awt.geom.Point2D LambertConformal.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D LambertConformal.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in .
protected  java.awt.geom.Point2D OrthographicPolar.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D OrthographicPolar.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in .
protected  java.awt.geom.Point2D StereographicEquatorial.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D OrthographicEquatorial.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D OrthographicEquatorial.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in .
protected  java.awt.geom.Point2D StereographicOblique.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D StereographicOblique.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in .
protected  java.awt.geom.Point2D Mercator.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D Mercator.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in .
protected abstract  java.awt.geom.Point2D MapProjection.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified coordinate and stores the result in .
protected abstract  java.awt.geom.Point2D MapProjection.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified coordinate and stores the result in .
 java.awt.geom.Point2D MapProjection.transform(java.awt.geom.Point2D ptSrc, java.awt.geom.Point2D ptDst)
          Transforms the specified and stores the result in .
 void MapProjection.transform(double[] src, int srcOffset, double[] dest, int dstOffset, int numPts)
          Transforms a list of coordinate point ordinal values.
 void MapProjection.transform(float[] src, int srcOffset, float[] dest, int dstOffset, int numPts)
          Transforms a list of coordinate point ordinal values.
protected  java.awt.geom.Point2D OrthographicOblique.transformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate (units in radians) and stores the result in (linear distance on a unit sphere).
protected  java.awt.geom.Point2D OrthographicOblique.inverseTransformNormalized(double x, double y, java.awt.geom.Point2D ptDst)
          Transforms the specified (x,y) coordinate and stores the result in .
 



Copyright © GeoTools. All Rights Reserved.