net.agmodel.demdata
Class DEMPointRequest

java.lang.Object
  |
  +--net.agmodel.demdata.DEMRequest
        |
        +--net.agmodel.demdata.DEMPointRequest
All Implemented Interfaces:
Serializable, ServerRequest

public class DEMPointRequest
extends DEMRequest

Requests the elevation of a particular point, optionally specifying the DEM to use.

Copyright: Copyright (c) NARO 2002

See Also:
Serialized Form

Field Summary
(package private)  Location2D location
           
 
Constructor Summary
DEMPointRequest(String demSourceID, Location2D point)
          Create a request
 
Method Summary
 Location2D getLocation()
          Get the location the user has specified
 
Methods inherited from class net.agmodel.demdata.DEMRequest
getSourceID, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

location

Location2D location
Constructor Detail

DEMPointRequest

public DEMPointRequest(String demSourceID,
                       Location2D point)
Create a request

Parameters:
demSourceID - the DEM source to use for the request. If null, DEMBroker will use the nearest point available in any DEM.
point - the location of interest
Method Detail

getLocation

public Location2D getLocation()
Get the location the user has specified