com.vividsolutions.jump.coordsys
Class Reprojector

java.lang.Object
  extended by com.vividsolutions.jump.coordsys.Reprojector

public class Reprojector
extends java.lang.Object

The source and destination coordinate reference systems must have the same datum (for example, WGS 84).


Method Summary
static Reprojector instance()
           
 void reproject(com.vividsolutions.jts.geom.Coordinate coordinate, CoordinateSystem source, CoordinateSystem destination)
           
 void reproject(com.vividsolutions.jts.geom.Geometry geometry, CoordinateSystem source, CoordinateSystem destination)
           
 boolean wouldChangeValues(CoordinateSystem source, CoordinateSystem destination)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static Reprojector instance()

wouldChangeValues

public boolean wouldChangeValues(CoordinateSystem source,
                                 CoordinateSystem destination)

reproject

public void reproject(com.vividsolutions.jts.geom.Coordinate coordinate,
                      CoordinateSystem source,
                      CoordinateSystem destination)

reproject

public void reproject(com.vividsolutions.jts.geom.Geometry geometry,
                      CoordinateSystem source,
                      CoordinateSystem destination)