Package org.genesys.geotools.service
Interface LandOrSeaService
-
- All Known Implementing Classes:
LandOrSeaServiceImpl
public interface LandOrSeaServiceThe Interface LandOrSeaService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringclassifyLocation(float longitude, float latitude, int allowedDistanceMargin)Classifies location as one of Land, Coastal or WaterBooleanisOnLand(float longitude, float latitude, int allowedDistanceFromLand)Checks if is on land.
-
-
-
Method Detail
-
isOnLand
Boolean isOnLand(float longitude, float latitude, int allowedDistanceFromLand) throws Exception
Checks if is on land.- Parameters:
longitude- the longitudelatitude- the latitudeallowedDistanceFromLand- the allowed distance from land- Returns:
- the boolean
- Throws:
Exception- the exception
-
classifyLocation
String classifyLocation(float longitude, float latitude, int allowedDistanceMargin) throws Exception
Classifies location as one of Land, Coastal or Water- Parameters:
longitude- the longitudelatitude- the latitudeallowedDistanceMargin- the allowed distance from land- Returns:
- Land, Coastal or Water
- Throws:
Exception- the exception
-
-