Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 2.34 KB

File metadata and controls

33 lines (24 loc) · 2.34 KB

LocationParameters

Location parameters that can support geographical routing.

Properties

Name Type Description Notes
layers str The layers in which the location can be detected. Use 'auto' for automatically selecting the best (highest confidence) layer. [optional]
size int The number of layers the location can be related to. Further, in case of a query the number of results that might be found/desired. [optional]
radius float The number of meters about this input location within which edges (roads between intersections) will be considered as candidates for said location. When correlating this location to the route network, try to only return results within this distance (meters) from this location. If there are no candidates within this distance it will return the closest candidate within reason. If this value is larger than the configured service limit it will be clamped to that limit. The default is 20 meters. [optional]
sources str If you use the sources parameter, you can choose which of these data sources to include in your search. So if you're only interested in finding an address in data from OpenAddresses, for example, you can build a query specifying that data source 'oa'. (OpenAddresses='oa', OpenstreetMap = 'osm', Who's on First ='wof',GeoNames='gn' ). If, for example, OpenAddresses and OpenstreetMap is desired use 'osm,oa'. Default is 'all' [optional]

Example

from touroptimizer_py_client.models.location_parameters import LocationParameters

# TODO update the JSON string below
json = "{}"
# create an instance of LocationParameters from a JSON string
location_parameters_instance = LocationParameters.from_json(json)
# print the JSON string representation of the object
print(LocationParameters.to_json())

# convert the object into a dict
location_parameters_dict = location_parameters_instance.to_dict()
# create an instance of LocationParameters from a dict
location_parameters_from_dict = LocationParameters.from_dict(location_parameters_dict)

[Back to Model list] [Back to API list] [Back to README]