Package com.targomo.client.api.request
Enum Class GeocodingRequest.Option
- All Implemented Interfaces:
Serializable,Comparable<GeocodingRequest.Option>,java.lang.constant.Constable
- Enclosing class:
- GeocodingRequest
Special Geocoding request options that can be set at creation of the request.
For more details please see REST service documentation.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefines an origin point location that is used to sort geocoding candidates based on their proximity to the location.Specifies whether the results of the operation will be persisted, if true an authentication is required and the operation execution will be charged to the accountIf more geocode candidates are supposed to be returned; by default only the one best fitting candidate is returnedA set of bounding box coordinates that limit the search area to a specific region, e.g.Limits the candidates returned by the findAddressCandidates operation to the specified country or countries, e.g.The spatial reference of the x/y coordinates returned by a geocode request, e.g. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeocodingRequest.OptionReturns the enum constant of this class with the specified name.static GeocodingRequest.Option[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SOURCE_COUNTRY
Limits the candidates returned by the findAddressCandidates operation to the specified country or countries, e.g. "sourceCountry=FRA,DEU,ESP"- See Also:
-
SEARCH_EXTENT
A set of bounding box coordinates that limit the search area to a specific region, e.g. "-104,35.6,-94.32,41" -
CLOSE_LOCATION
Defines an origin point location that is used to sort geocoding candidates based on their proximity to the location. -
SPATIAL_REFERENCE
The spatial reference of the x/y coordinates returned by a geocode request, e.g. "outSR=102100" -
MAX_LOCATIONS
If more geocode candidates are supposed to be returned; by default only the one best fitting candidate is returned -
FOR_STORAGE
Specifies whether the results of the operation will be persisted, if true an authentication is required and the operation execution will be charged to the account
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-