Package gov.nasa.worldwind.poi
Interface Gazetteer
-
- All Known Implementing Classes:
YahooGazetteer,YahooGazetteer
public interface GazetteerInterface to gazetteers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<PointOfInterest>findPlaces(java.lang.String placeInfo)Find places identified in a string of free text.
-
-
-
Method Detail
-
findPlaces
java.util.List<PointOfInterest> findPlaces(java.lang.String placeInfo) throws NoItemException, ServiceException
Find places identified in a string of free text.- Parameters:
placeInfo- a string containing the place description.- Returns:
- the points-of-interest that match the place description.
- Throws:
NoItemException- if the place description cannot be matched.ServiceException- if the lookup service is not available or invocation of it fails.
-
-