|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjwo.landserf.process.proj.UTM
jwo.landserf.process.proj.OSGB
Class for representing the Ordnance Survey GB, National Grid coordinate system. This is a UTM transformation with a modified scale factor and transformed local origin. Can be used to convert between OSGB National Grid and lat,long coordinate systems. See www.gps.gov.uk/guidea.asp for details of the transformation.
| Field Summary |
| Fields inherited from class jwo.landserf.process.proj.UTM |
FROM_LAT_LONG, TO_LAT_LONG |
| Constructor Summary | |
OSGB()
Initialises the transformer assuming a forward transformation is into OSGB coordinates. |
|
OSGB(int direction)
Initialises the transformer. |
|
| Method Summary | |
String |
getDescription()
Provides a general description of the transformation. |
Footprint |
invTransformCoords(Footprint fpIn)
Performs an inverse OSGB to lat/long transform on the given location. |
static void |
main(String[] args)
|
Footprint |
transformCoords(Footprint fpIn)
Performs a forward lat/long to OSGB transform on the given location. |
| Methods inherited from class jwo.landserf.process.proj.UTM |
doInterpolation, getEllipsoid, getZone, getZoneLetter, getZoneNumber, latLongToUTM, latLongToUTM, setInterpolation, setZone, setZone, UTMToLatLong, UTMToLatLong |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OSGB()
public OSGB(int direction)
direction - Indicates whether tranforming to or from lat/long.| Method Detail |
public static void main(String[] args)
public Footprint transformCoords(Footprint fpIn)
transformCoords in interface TransformabletransformCoords in class UTMfpIn - Incoming footprint to transform.
public Footprint invTransformCoords(Footprint fpIn)
invTransformCoords in interface TransformableinvTransformCoords in class UTMfpIn - Incoming footprint to transform.
public String getDescription()
getDescription in interface TransformablegetDescription in class UTM
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||