Class Candidate
java.lang.Object
com.targomo.client.api.response.esri.Candidate
Geocoding candidate for a requested address. It is immutable with a private constructor since it is only
meant to be created from a json object (as a REST response).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the geocode asDefaultTargetCoordinateaccording to the spatial reference from the request.doublegetScore()Return the Score of the candidate.
-
Constructor Details
-
Candidate
-
-
Method Details
-
getScore
public double getScore()Return the Score of the candidate. The higher the score the more confidence into the candidate as the correct representative. Maximum score is 100.0; Minimum 0.0.- Returns:
- the score of the candidate
-
getLocation
Returns the geocode asDefaultTargetCoordinateaccording to the spatial reference from the request. Default reference is "EPSG 4326" (.i.e. if not otherwise specified)- Returns:
- the geo location of the candidate
-