com.moximedia.aims
Class AimsMapsheet

java.lang.Object
  extended bycom.moximedia.aims.AimsMapsheet
All Implemented Interfaces:
java.io.Serializable

public class AimsMapsheet
extends java.lang.Object
implements java.io.Serializable

The AimsMapsheet class mathmatically calculates the geographic coordinates of a mapsheet within the province of BC, and returns an AimsEnvelope containing the extent. The AimsMapsheet class provides public static methods, and cannot be instantiated.

See Also:
Serialized Form

Constructor Summary
AimsMapsheet()
          Do not use.
 
Method Summary
static AimsEnvelope getAlbersExtent(java.lang.String mapString)
          The getAlbersExtent method returns an AimsEnvelope object containing the extent of the specified map sheet in BC Albers coordinates.
static AimsEnvelope getGeographicExtent(java.lang.String mapString)
          The getGeographicExtent method returns an AimsEnvelope object containing the extent of the specified map sheet in geographid (lat-long) coordinates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AimsMapsheet

public AimsMapsheet()
Do not use. For serialization only.

Method Detail

getAlbersExtent

public static AimsEnvelope getAlbersExtent(java.lang.String mapString)
The getAlbersExtent method returns an AimsEnvelope object containing the extent of the specified map sheet in BC Albers coordinates. This method is static, and is used without instantiating the AimsMapsheet class. Example use:
AimsEnvelope ext = AimsMapsheet.getAlbersExtent("92G");

Parameters:
mapString - A map sheet identifier within the province of BC. Almost any format will work, but this method will return null if an extent cannot be calculated from the mapString.

getGeographicExtent

public static AimsEnvelope getGeographicExtent(java.lang.String mapString)
The getGeographicExtent method returns an AimsEnvelope object containing the extent of the specified map sheet in geographid (lat-long) coordinates. This method is static, and is used without instantiating the AimsMapsheet class. Example use:
AimsEnvelope ext = AimsMapsheet.getGeographicExtent("92G");

Parameters:
mapString - A map sheet identifier within the province of BC. Almost any format will work, but this method will return null if an extent cannot be calculated from the mapString.