Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.spatial.mapper
Class MapScale

java.lang.Object
  extended byoracle.panama.spatial.mapper.MapScale


public class MapScale
extends java.lang.Object

This class represents a map scale. The scale values given and stored are in meters per square pixel.


Field Summary
static MapScale[] MAP_SCALE_LIST
The list of available map scales
static MapScale SCALE_1_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_128_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_128G_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_128K_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_128M_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_16_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_16G_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_16K_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_16M_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_1G_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_1K_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_1M_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_2_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_256_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_256G_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_256K_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_256M_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_2G_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_2K_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_2M_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_32_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_32G_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_32K_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_32M_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_4_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_4G_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_4K_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_4M_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_512_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_512G_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_512K_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_512M_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_64_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_64G_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_64K_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_64M_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_8_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_8G_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_8K_SQ_METERS_PER_SQ_PIXEL
static MapScale SCALE_8M_SQ_METERS_PER_SQ_PIXEL

Constructor Summary
MapScale(BoundingBox box, int width, int height)
Constructor
MapScale(double sqMetersPerSquarePixel)
Constructor

Method Summary
double getSquareMetersPerSquarePixel()
Returns the number of square meters per square pixel
double getVerticalAngleCoveredByMapOfThisScale(Point[] cluster, int pixelHeight)
Returns the vertical angle covered by a map of this scale
double getVerticalAngleCoveredByMapOfThisScale(Point center, int pixelHeight)
Returns the vertical angle covered by a map of this scale

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

MAP_SCALE_LIST

public static final MapScale[] MAP_SCALE_LIST
The list of available map scales

SCALE_1_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_1_SQ_METERS_PER_SQ_PIXEL

SCALE_128_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_128_SQ_METERS_PER_SQ_PIXEL

SCALE_128G_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_128G_SQ_METERS_PER_SQ_PIXEL

SCALE_128K_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_128K_SQ_METERS_PER_SQ_PIXEL

SCALE_128M_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_128M_SQ_METERS_PER_SQ_PIXEL

SCALE_16_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_16_SQ_METERS_PER_SQ_PIXEL

SCALE_16G_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_16G_SQ_METERS_PER_SQ_PIXEL

SCALE_16K_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_16K_SQ_METERS_PER_SQ_PIXEL

SCALE_16M_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_16M_SQ_METERS_PER_SQ_PIXEL

SCALE_1G_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_1G_SQ_METERS_PER_SQ_PIXEL

SCALE_1K_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_1K_SQ_METERS_PER_SQ_PIXEL

SCALE_1M_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_1M_SQ_METERS_PER_SQ_PIXEL

SCALE_2_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_2_SQ_METERS_PER_SQ_PIXEL

SCALE_256_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_256_SQ_METERS_PER_SQ_PIXEL

SCALE_256G_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_256G_SQ_METERS_PER_SQ_PIXEL

SCALE_256K_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_256K_SQ_METERS_PER_SQ_PIXEL

SCALE_256M_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_256M_SQ_METERS_PER_SQ_PIXEL

SCALE_2G_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_2G_SQ_METERS_PER_SQ_PIXEL

SCALE_2K_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_2K_SQ_METERS_PER_SQ_PIXEL

SCALE_2M_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_2M_SQ_METERS_PER_SQ_PIXEL

SCALE_32_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_32_SQ_METERS_PER_SQ_PIXEL

SCALE_32G_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_32G_SQ_METERS_PER_SQ_PIXEL

SCALE_32K_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_32K_SQ_METERS_PER_SQ_PIXEL

SCALE_32M_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_32M_SQ_METERS_PER_SQ_PIXEL

SCALE_4_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_4_SQ_METERS_PER_SQ_PIXEL

SCALE_4G_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_4G_SQ_METERS_PER_SQ_PIXEL

SCALE_4K_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_4K_SQ_METERS_PER_SQ_PIXEL

SCALE_4M_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_4M_SQ_METERS_PER_SQ_PIXEL

SCALE_512_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_512_SQ_METERS_PER_SQ_PIXEL

SCALE_512G_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_512G_SQ_METERS_PER_SQ_PIXEL

SCALE_512K_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_512K_SQ_METERS_PER_SQ_PIXEL

SCALE_512M_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_512M_SQ_METERS_PER_SQ_PIXEL

SCALE_64_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_64_SQ_METERS_PER_SQ_PIXEL

SCALE_64G_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_64G_SQ_METERS_PER_SQ_PIXEL

SCALE_64K_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_64K_SQ_METERS_PER_SQ_PIXEL

SCALE_64M_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_64M_SQ_METERS_PER_SQ_PIXEL

SCALE_8_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_8_SQ_METERS_PER_SQ_PIXEL

SCALE_8G_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_8G_SQ_METERS_PER_SQ_PIXEL

SCALE_8K_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_8K_SQ_METERS_PER_SQ_PIXEL

SCALE_8M_SQ_METERS_PER_SQ_PIXEL

public static final MapScale SCALE_8M_SQ_METERS_PER_SQ_PIXEL

Constructor Detail

MapScale

public MapScale(BoundingBox box,
                int width,
                int height)
Constructor
Parameters:
box - the bounding box
width - the width
height - the height

MapScale

public MapScale(double sqMetersPerSquarePixel)
Constructor
Parameters:
sqMetersPerSquarePixel - the number of square meters per square pixel

Method Detail

getSquareMetersPerSquarePixel

public double getSquareMetersPerSquarePixel()
Returns the number of square meters per square pixel
Returns:
sqMetersPerSquarePixel the number of square meters per square pixel

getVerticalAngleCoveredByMapOfThisScale

public double getVerticalAngleCoveredByMapOfThisScale(Point[] cluster,
                                                      int pixelHeight)
Returns the vertical angle covered by a map of this scale
Parameters:
cluster - the points contained in the map
pixelHeight - the height of the map in pixels
Returns:
the angle

getVerticalAngleCoveredByMapOfThisScale

public double getVerticalAngleCoveredByMapOfThisScale(Point center,
                                                      int pixelHeight)
Returns the vertical angle covered by a map of this scale
Parameters:
center - the center point of the map
pixelHeight - the height of the map in pixels
Returns:
the angle

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.