com.isti.util.gis
Interface LocationPlacesInterface

All Known Implementing Classes:
LocationPlaces

public interface LocationPlacesInterface

Interface LocationPlacesInterface creates the location places.


Method Summary
 LocationDistanceInformation[] getLocationDistInfo(double latVal, double lonVal, boolean quarryFlag)
          Returns an array of 'LocationDistanceInformation' objects for the nearest points to the given point.
 LocationDistanceInformation getShortMsgLocDistInfo(double latVal, double lonVal, boolean quarryFlag)
          Returns a "short"-message-version 'LocationDistanceInformation' object for the nearest point to the given point.
 

Method Detail

getLocationDistInfo

LocationDistanceInformation[] getLocationDistInfo(double latVal,
                                                  double lonVal,
                                                  boolean quarryFlag)
Returns an array of 'LocationDistanceInformation' objects for the nearest points to the given point. The spherical distance (in meters) and azimuth value (in degrees) for each point is determined and entered into the returned 'LocationDistanceInformation' objects.

Parameters:
latVal - the latitude of the given point.
lonVal - the longitude of the given point.
quarryFlag - true if the given point references a probable quarry explosion; false if not.
Returns:
An array of 'LocationDistanceInformation' objects, or an empty array if no points within the maximum-distance limits could be found, or null if an error occurred.

getShortMsgLocDistInfo

LocationDistanceInformation getShortMsgLocDistInfo(double latVal,
                                                   double lonVal,
                                                   boolean quarryFlag)
Returns a "short"-message-version 'LocationDistanceInformation' object for the nearest point to the given point. The spherical distance (in meters) and azimuth value (in degrees) for the point is determined and entered into the returned 'LocationDistanceInformation' object.

Parameters:
latVal - the latitude of the given point.
lonVal - the longitude of the given point.
quarryFlag - true if the given point references a probable quarry explosion; false if not.
Returns:
A 'LocationDistanceInformation' object, or null if no point could be found or if an error occurred.