public abstract class GeoLocator
extends java.lang.Object
| Constructor and Description |
|---|
GeoLocator() |
| Modifier and Type | Method and Description |
|---|---|
abstract GeoCoord |
getCoordinate(java.lang.String locName)
Look up the coordinate associated with the specified Location.
|
GeoFeatureType |
getFeatureType(java.lang.String locName)
Get the feature type for the location name.
|
abstract boolean |
isEstimateFlag()
Return whether the locator allows estimation
|
abstract GeoShape |
lookup(Location loc)
Look up the shape associated with the specified Location
|
abstract GeoShape |
lookup(java.lang.String locName)
Look up the shape associated with the specified Location by name
|
abstract GeoShape |
lookup(java.lang.String locName,
java.lang.String type)
Look up the shape associated with the specified Location by name and
type
|
abstract void |
setEstimateFlag(boolean estimateFlag)
Set the flag indicating whether to allow estimation within the locator.
|
public abstract GeoCoord getCoordinate(java.lang.String locName)
locName - the specified location objectpublic GeoFeatureType getFeatureType(java.lang.String locName)
locName - the location namepublic abstract boolean isEstimateFlag()
public abstract GeoShape lookup(Location loc)
loc - the specified location objectpublic abstract GeoShape lookup(java.lang.String locName)
locName - the specified location namepublic abstract GeoShape lookup(java.lang.String locName, java.lang.String type)
locName - the specified location nametype - the type of location the name representspublic abstract void setEstimateFlag(boolean estimateFlag)
estimateFlag - whether the locator allows estimation