|
|||||||||
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
public class 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 longitude/latitude coordinate systems. See www.ordnancesurvey.co.uk/oswebsite/gps/information/coordinatesystemsinfo/guidecontents 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 longitude/latitude transform of the given location. |
Footprint |
transformCoords(Footprint fpIn)
Performs a forward longitude/latitude to OSGB transformation of 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 transforming to or from longitude/latitude.Method Detail |
---|
public Footprint transformCoords(Footprint fpIn)
transformCoords
in interface Transformable
transformCoords
in class UTM
fpIn
- Incoming footprint to transform.
public Footprint invTransformCoords(Footprint fpIn)
invTransformCoords
in interface Transformable
invTransformCoords
in class UTM
fpIn
- Incoming footprint to transform.
public String getDescription()
getDescription
in interface Transformable
getDescription
in class UTM
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |