From 33d4b0fd3efecd96d24ddf1dde4b09c8b8a95560 Mon Sep 17 00:00:00 2001 From: jarinox <45308098+jarinox@users.noreply.github.com> Date: Mon, 19 Feb 2024 16:29:08 +0100 Subject: [PATCH 01/38] feat: add deprecation warnings to old python sdk --- openrouteservice/__init__.py | 172 ++++++++++++++---- openrouteservice/legacy/__init__.py | 13 ++ openrouteservice/{ => legacy}/client.py | 26 +-- openrouteservice/{ => legacy}/convert.py | 0 openrouteservice/{ => legacy}/deprecation.py | 11 ++ openrouteservice/{ => legacy}/directions.py | 6 +- .../{ => legacy}/distance_matrix.py | 5 + openrouteservice/{ => legacy}/elevation.py | 7 + openrouteservice/{ => legacy}/exceptions.py | 0 openrouteservice/{ => legacy}/geocode.py | 10 +- openrouteservice/{ => legacy}/isochrones.py | 4 +- openrouteservice/{ => legacy}/optimization.py | 5 + openrouteservice/{ => legacy}/places.py | 4 +- 13 files changed, 207 insertions(+), 56 deletions(-) create mode 100644 openrouteservice/legacy/__init__.py rename openrouteservice/{ => legacy}/client.py (92%) rename openrouteservice/{ => legacy}/convert.py (100%) rename openrouteservice/{ => legacy}/deprecation.py (73%) rename openrouteservice/{ => legacy}/directions.py (98%) rename openrouteservice/{ => legacy}/distance_matrix.py (96%) rename openrouteservice/{ => legacy}/elevation.py (92%) rename openrouteservice/{ => legacy}/exceptions.py (100%) rename openrouteservice/{ => legacy}/geocode.py (96%) rename openrouteservice/{ => legacy}/isochrones.py (97%) rename openrouteservice/{ => legacy}/optimization.py (98%) rename openrouteservice/{ => legacy}/places.py (96%) diff --git a/openrouteservice/__init__.py b/openrouteservice/__init__.py index 16448c14..acdb3de1 100644 --- a/openrouteservice/__init__.py +++ b/openrouteservice/__init__.py @@ -1,39 +1,133 @@ -# -*- coding: utf-8 -*- -# Copyright 2014 Google Inc. All rights reserved. -# -# Modifications Copyright (C) 2018 HeiGIT, University of Heidelberg. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -# - -"""Initialize openrouteservice.""" -import pkg_resources - -__version__ = pkg_resources.get_distribution("openrouteservice").version - - -def get_ordinal(number): - """Produces an ordinal (1st, 2nd, 3rd, 4th) from a number.""" - - if number == 1: - return "st" - elif number == 2: - return "nd" - elif number == 3: - return "rd" - else: - return "th" - - -from openrouteservice.client import Client # noqa +# coding: utf-8 + +# flake8: noqa + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import warnings +warnings.simplefilter('always', DeprecationWarning) + +# import apis into sdk package +from openrouteservice.api.directions_service_api import DirectionsServiceApi +from openrouteservice.api.elevation_api import ElevationApi +from openrouteservice.api.geocode_api import GeocodeApi +from openrouteservice.api.isochrones_service_api import IsochronesServiceApi +from openrouteservice.api.matrix_service_api import MatrixServiceApi +from openrouteservice.api.optimization_api import OptimizationApi +from openrouteservice.api.pois_api import PoisApi +# import ApiClient +from openrouteservice.api_client import ApiClient +from openrouteservice.configuration import Configuration +# import models into sdk package +from openrouteservice.models.alternative_routes import AlternativeRoutes +from openrouteservice.models.directions_service import DirectionsService +from openrouteservice.models.directions_service1 import DirectionsService1 +from openrouteservice.models.elevation_line_body import ElevationLineBody +from openrouteservice.models.elevation_point_body import ElevationPointBody +from openrouteservice.models.engine_info import EngineInfo +from openrouteservice.models.geo_json_features_object import GeoJSONFeaturesObject +from openrouteservice.models.geo_json_geometry_object import GeoJSONGeometryObject +from openrouteservice.models.geo_json_isochrone_base import GeoJSONIsochroneBase +from openrouteservice.models.geo_json_isochrone_base_geometry import GeoJSONIsochroneBaseGeometry +from openrouteservice.models.geo_json_isochrones_response import GeoJSONIsochronesResponse +from openrouteservice.models.geo_json_isochrones_response_features import GeoJSONIsochronesResponseFeatures +from openrouteservice.models.geo_json_isochrones_response_metadata import GeoJSONIsochronesResponseMetadata +from openrouteservice.models.geo_json_isochrones_response_metadata_engine import GeoJSONIsochronesResponseMetadataEngine +from openrouteservice.models.geo_json_properties_object import GeoJSONPropertiesObject +from openrouteservice.models.geo_json_properties_object_category_ids import GeoJSONPropertiesObjectCategoryIds +from openrouteservice.models.geo_json_properties_object_category_ids_category_id import GeoJSONPropertiesObjectCategoryIdsCategoryId +from openrouteservice.models.geo_json_properties_object_osm_tags import GeoJSONPropertiesObjectOsmTags +from openrouteservice.models.geo_json_route_response import GeoJSONRouteResponse +from openrouteservice.models.geo_json_route_response_metadata import GeoJSONRouteResponseMetadata +from openrouteservice.models.geocode_response import GeocodeResponse +from openrouteservice.models.gpx import Gpx +from openrouteservice.models.graph_export_service import GraphExportService +from openrouteservice.models.inline_response200 import InlineResponse200 +from openrouteservice.models.inline_response2001 import InlineResponse2001 +from openrouteservice.models.inline_response2001_geometry import InlineResponse2001Geometry +from openrouteservice.models.inline_response2002 import InlineResponse2002 +from openrouteservice.models.inline_response2002_routes import InlineResponse2002Routes +from openrouteservice.models.inline_response2002_steps import InlineResponse2002Steps +from openrouteservice.models.inline_response2002_summary import InlineResponse2002Summary +from openrouteservice.models.inline_response2002_unassigned import InlineResponse2002Unassigned +from openrouteservice.models.inline_response2003 import InlineResponse2003 +from openrouteservice.models.inline_response2004 import InlineResponse2004 +from openrouteservice.models.inline_response2005 import InlineResponse2005 +from openrouteservice.models.inline_response2006 import InlineResponse2006 +from openrouteservice.models.inline_response200_geometry import InlineResponse200Geometry +from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody +from openrouteservice.models.isochrones_request import IsochronesRequest +from openrouteservice.models.isochrones_response_info import IsochronesResponseInfo +from openrouteservice.models.json2_d_destinations import JSON2DDestinations +from openrouteservice.models.json2_d_sources import JSON2DSources +from openrouteservice.models.json_extra import JSONExtra +from openrouteservice.models.json_extra_summary import JSONExtraSummary +from openrouteservice.models.json_individual_route_response import JSONIndividualRouteResponse +from openrouteservice.models.json_individual_route_response_extras import JSONIndividualRouteResponseExtras +from openrouteservice.models.json_individual_route_response_instructions import JSONIndividualRouteResponseInstructions +from openrouteservice.models.json_individual_route_response_legs import JSONIndividualRouteResponseLegs +from openrouteservice.models.json_individual_route_response_maneuver import JSONIndividualRouteResponseManeuver +from openrouteservice.models.json_individual_route_response_segments import JSONIndividualRouteResponseSegments +from openrouteservice.models.json_individual_route_response_stops import JSONIndividualRouteResponseStops +from openrouteservice.models.json_individual_route_response_summary import JSONIndividualRouteResponseSummary +from openrouteservice.models.json_individual_route_response_warnings import JSONIndividualRouteResponseWarnings +from openrouteservice.models.json_leg import JSONLeg +from openrouteservice.models.json_object import JSONObject +from openrouteservice.models.jsonpt_stop import JSONPtStop +from openrouteservice.models.json_route_response import JSONRouteResponse +from openrouteservice.models.json_route_response_routes import JSONRouteResponseRoutes +from openrouteservice.models.json_segment import JSONSegment +from openrouteservice.models.json_step import JSONStep +from openrouteservice.models.json_step_maneuver import JSONStepManeuver +from openrouteservice.models.json_summary import JSONSummary +from openrouteservice.models.json_warning import JSONWarning +from openrouteservice.models.json_edge import JsonEdge +from openrouteservice.models.json_edge_extra import JsonEdgeExtra +from openrouteservice.models.json_export_response import JsonExportResponse +from openrouteservice.models.json_export_response_edges import JsonExportResponseEdges +from openrouteservice.models.json_export_response_edges_extra import JsonExportResponseEdgesExtra +from openrouteservice.models.json_export_response_nodes import JsonExportResponseNodes +from openrouteservice.models.json_node import JsonNode +from openrouteservice.models.matrix_profile_body import MatrixProfileBody +from openrouteservice.models.matrix_request import MatrixRequest +from openrouteservice.models.matrix_response import MatrixResponse +from openrouteservice.models.matrix_response_destinations import MatrixResponseDestinations +from openrouteservice.models.matrix_response_info import MatrixResponseInfo +from openrouteservice.models.matrix_response_metadata import MatrixResponseMetadata +from openrouteservice.models.matrix_response_sources import MatrixResponseSources +from openrouteservice.models.openpoiservice_poi_request import OpenpoiservicePoiRequest +from openrouteservice.models.openpoiservice_poi_response import OpenpoiservicePoiResponse +from openrouteservice.models.optimization_body import OptimizationBody +from openrouteservice.models.optimization_jobs import OptimizationJobs +from openrouteservice.models.optimization_options import OptimizationOptions +from openrouteservice.models.optimization_vehicles import OptimizationVehicles +from openrouteservice.models.pois_filters import PoisFilters +from openrouteservice.models.pois_geometry import PoisGeometry +from openrouteservice.models.profile_parameters import ProfileParameters +from openrouteservice.models.profile_parameters_restrictions import ProfileParametersRestrictions +from openrouteservice.models.profile_weightings import ProfileWeightings +from openrouteservice.models.restrictions import Restrictions +from openrouteservice.models.round_trip_route_options import RoundTripRouteOptions +from openrouteservice.models.route_options import RouteOptions +from openrouteservice.models.route_options_avoid_polygons import RouteOptionsAvoidPolygons +from openrouteservice.models.route_response_info import RouteResponseInfo +from openrouteservice.models.rte import Rte +from openrouteservice.models.v2directionsprofilegeojson_schedule_duration import V2directionsprofilegeojsonScheduleDuration +from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_duration import V2directionsprofilegeojsonScheduleDurationDuration +from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_units import V2directionsprofilegeojsonScheduleDurationUnits +from openrouteservice.models.v2directionsprofilegeojson_walking_time import V2directionsprofilegeojsonWalkingTime +from openrouteservice.utility import todict + +from openrouteservice.legacy.client import Client +from openrouteservice.legacy import * +import openrouteservice.legacy.convert as convert \ No newline at end of file diff --git a/openrouteservice/legacy/__init__.py b/openrouteservice/legacy/__init__.py new file mode 100644 index 00000000..0541711a --- /dev/null +++ b/openrouteservice/legacy/__init__.py @@ -0,0 +1,13 @@ +__version__ = "2.3.3" + +def get_ordinal(number): + """Produces an ordinal (1st, 2nd, 3rd, 4th) from a number.""" + + if number == 1: + return "st" + elif number == 2: + return "nd" + elif number == 3: + return "rd" + else: + return "th" \ No newline at end of file diff --git a/openrouteservice/client.py b/openrouteservice/legacy/client.py similarity index 92% rename from openrouteservice/client.py rename to openrouteservice/legacy/client.py index afaf7d34..d90baab6 100644 --- a/openrouteservice/client.py +++ b/openrouteservice/legacy/client.py @@ -29,7 +29,7 @@ import time import warnings -from openrouteservice import exceptions, __version__, get_ordinal +from openrouteservice.legacy import exceptions, __version__, get_ordinal, deprecation _USER_AGENT = "ORSClientPython.v{}".format(__version__) _DEFAULT_BASE_URL = "https://api.openrouteservice.org" @@ -78,6 +78,8 @@ def __init__( :type retry_over_query_limit: bool """ + deprecation.deprecated("Client", "ApiClient") + self._session = requests.Session() self._key = key self._base_url = base_url @@ -297,17 +299,17 @@ def _generate_auth_url(path, params): return path + "?" + _urlencode_params(params) -from openrouteservice.directions import directions # noqa -from openrouteservice.distance_matrix import distance_matrix # noqa -from openrouteservice.elevation import elevation_point # noqa -from openrouteservice.elevation import elevation_line # noqa -from openrouteservice.isochrones import isochrones # noqa -from openrouteservice.geocode import pelias_search # noqa -from openrouteservice.geocode import pelias_autocomplete # noqa -from openrouteservice.geocode import pelias_structured # noqa -from openrouteservice.geocode import pelias_reverse # noqa -from openrouteservice.places import places # noqa -from openrouteservice.optimization import optimization # noqa +from openrouteservice.legacy.directions import directions # noqa +from openrouteservice.legacy.distance_matrix import distance_matrix # noqa +from openrouteservice.legacy.elevation import elevation_point # noqa +from openrouteservice.legacy.elevation import elevation_line # noqa +from openrouteservice.legacy.isochrones import isochrones # noqa +from openrouteservice.legacy.geocode import pelias_search # noqa +from openrouteservice.legacy.geocode import pelias_autocomplete # noqa +from openrouteservice.legacy.geocode import pelias_structured # noqa +from openrouteservice.legacy.geocode import pelias_reverse # noqa +from openrouteservice.legacy.places import places # noqa +from openrouteservice.legacy.optimization import optimization # noqa def _make_api_method(func): diff --git a/openrouteservice/convert.py b/openrouteservice/legacy/convert.py similarity index 100% rename from openrouteservice/convert.py rename to openrouteservice/legacy/convert.py diff --git a/openrouteservice/deprecation.py b/openrouteservice/legacy/deprecation.py similarity index 73% rename from openrouteservice/deprecation.py rename to openrouteservice/legacy/deprecation.py index 78871ef5..a4f2eb3d 100644 --- a/openrouteservice/deprecation.py +++ b/openrouteservice/legacy/deprecation.py @@ -30,3 +30,14 @@ def warning(old_name, new_name): DeprecationWarning, stacklevel=2, ) + +def deprecated(old_name, new_name): + """Deprecation warning.""" + + warnings.warn( + "{} is deprecated. Please use {} instead. For more information on the new SDK please check out https://github.com/GIScience/openrouteservice-py".format( + old_name, new_name + ), + DeprecationWarning, + stacklevel=2, + ) \ No newline at end of file diff --git a/openrouteservice/directions.py b/openrouteservice/legacy/directions.py similarity index 98% rename from openrouteservice/directions.py rename to openrouteservice/legacy/directions.py index c4b0b799..fa04c3f1 100644 --- a/openrouteservice/directions.py +++ b/openrouteservice/legacy/directions.py @@ -18,8 +18,8 @@ # """Performs requests to the ORS directions API.""" -from openrouteservice import deprecation -from openrouteservice.optimization import optimization, Job, Vehicle +from openrouteservice.legacy import deprecation +from openrouteservice.legacy.optimization import optimization, Job, Vehicle import warnings @@ -201,6 +201,8 @@ def directions( :rtype: call to Client.request() """ + deprecation.deprecated("Client.directions", "DirectionsServiceApi.get_geo_json_route") + # call optimization endpoint and get new order of waypoints if optimize_waypoints is not None and not dry_run: if len(coordinates) <= 3: diff --git a/openrouteservice/distance_matrix.py b/openrouteservice/legacy/distance_matrix.py similarity index 96% rename from openrouteservice/distance_matrix.py rename to openrouteservice/legacy/distance_matrix.py index 9bccca8d..ee69e018 100644 --- a/openrouteservice/distance_matrix.py +++ b/openrouteservice/legacy/distance_matrix.py @@ -19,6 +19,9 @@ """Performs requests to the ORS Matrix API.""" +from openrouteservice.legacy import deprecation + + def distance_matrix( client, locations, @@ -84,6 +87,8 @@ def distance_matrix( :rtype: call to Client.request() """ + deprecation.deprecated("Client.distance_matrix", "MatrixServiceApi.get_default") + params = { "locations": locations, } diff --git a/openrouteservice/elevation.py b/openrouteservice/legacy/elevation.py similarity index 92% rename from openrouteservice/elevation.py rename to openrouteservice/legacy/elevation.py index d44549da..8a63f7de 100644 --- a/openrouteservice/elevation.py +++ b/openrouteservice/legacy/elevation.py @@ -16,6 +16,9 @@ """Performs requests to the ORS elevation API.""" +from openrouteservice.legacy import deprecation + + def elevation_point( client, format_in, @@ -48,6 +51,8 @@ def elevation_point( :rtype: Client.request() """ + deprecation.deprecated("Client.elevation_point", "ElevationApi.elevation_point_post") + params = { "format_in": format_in, "geometry": geometry, @@ -94,6 +99,8 @@ def elevation_line( :rtype: Client.request() """ + deprecation.deprecated("Client.elevation_line", "ElevationApi.elevation_line_post") + params = { "format_in": format_in, "geometry": geometry, diff --git a/openrouteservice/exceptions.py b/openrouteservice/legacy/exceptions.py similarity index 100% rename from openrouteservice/exceptions.py rename to openrouteservice/legacy/exceptions.py diff --git a/openrouteservice/geocode.py b/openrouteservice/legacy/geocode.py similarity index 96% rename from openrouteservice/geocode.py rename to openrouteservice/legacy/geocode.py index c61ec588..0d60005e 100644 --- a/openrouteservice/geocode.py +++ b/openrouteservice/legacy/geocode.py @@ -17,7 +17,7 @@ # the License. # """Performs requests to the ORS geocode API (direct Pelias clone).""" -from openrouteservice import convert +from openrouteservice.legacy import convert, deprecation def pelias_search( @@ -93,6 +93,8 @@ def pelias_search( :rtype: call to Client.request() """ + deprecation.deprecated("Client.pelias_search", "GeocodeApi.geocode_search_get") + params = {"text": text} if focus_point: @@ -202,6 +204,8 @@ def pelias_autocomplete( :rtype: dict from JSON response """ + deprecation.deprecated("Client.pelias_autocomplete", "GeocodeApi.geocode_autocomplete_get") + params = {"text": text} if focus_point: @@ -295,6 +299,8 @@ def pelias_structured( :rtype: dict from JSON response """ + deprecation.deprecated("Client.pelias_structured", "GeocodeApi.geocode_search_structured_get") + params = {} if address: @@ -371,6 +377,8 @@ def pelias_reverse( :rtype: dict from JSON response """ + deprecation.deprecated("Client.pelias_reverse", "GeocodeApi.geocode_reverse_get") + params = { "point.lon": convert._format_float(point[0]), "point.lat": convert._format_float(point[1]), diff --git a/openrouteservice/isochrones.py b/openrouteservice/legacy/isochrones.py similarity index 97% rename from openrouteservice/isochrones.py rename to openrouteservice/legacy/isochrones.py index 31819632..46950b52 100644 --- a/openrouteservice/isochrones.py +++ b/openrouteservice/legacy/isochrones.py @@ -16,7 +16,7 @@ # """Performs requests to the ORS isochrones API.""" -from openrouteservice import deprecation +from openrouteservice.legacy import deprecation def isochrones( @@ -107,6 +107,8 @@ def isochrones( :rtype: call to Client.request() """ + deprecation.deprecated("Client.isochrones", "IsochronesServiceApi.get_default_isochrones") + params = {"locations": locations} if profile: # pragma: no cover diff --git a/openrouteservice/optimization.py b/openrouteservice/legacy/optimization.py similarity index 98% rename from openrouteservice/optimization.py rename to openrouteservice/legacy/optimization.py index 57b337b4..777cedda 100644 --- a/openrouteservice/optimization.py +++ b/openrouteservice/legacy/optimization.py @@ -17,6 +17,9 @@ """Performs requests to the ORS optimization API.""" +from openrouteservice.legacy import deprecation + + def optimization( client, jobs=None, @@ -65,6 +68,8 @@ def optimization( :rtype: dict """ + deprecation.deprecated("Client.optimization", "OptimizationApi.optimization_post") + assert all([isinstance(x, Vehicle) for x in vehicles]) # noqa params = {"vehicles": [vehicle.__dict__ for vehicle in vehicles]} diff --git a/openrouteservice/places.py b/openrouteservice/legacy/places.py similarity index 96% rename from openrouteservice/places.py rename to openrouteservice/legacy/places.py index 0d434879..dbde0ac1 100644 --- a/openrouteservice/places.py +++ b/openrouteservice/legacy/places.py @@ -15,7 +15,7 @@ # the License. """Performs requests to the ORS Places API.""" -from openrouteservice import convert +from openrouteservice.legacy import convert, deprecation def places( @@ -80,6 +80,8 @@ def places( :rtype: call to Client.request() """ + deprecation.deprecated("Client.places", "PoisApi.pois_post") + params = { "request": request, "filters": {}, From e86389bd1fa35189ded48f9609f74854214439dc Mon Sep 17 00:00:00 2001 From: jarinox <45308098+jarinox@users.noreply.github.com> Date: Mon, 19 Feb 2024 16:33:32 +0100 Subject: [PATCH 02/38] feat: add generated sdk - sdk has been generated by swagger-codegen - It is still possible to use the old sdk --- .gitignore | 33 +- AUTHORS | 20 - CHANGELOG | 58 - CONTRIBUTORS | 21 - README.md | 228 + README.rst | 238 - cleanup.sh | 23 + docs/AlternativeRoutes.md | 11 + docs/DirectionsService.md | 35 + docs/DirectionsService1.md | 35 + docs/DirectionsServiceApi.md | 121 + docs/ElevationApi.md | 176 + docs/ElevationLineBody.md | 12 + docs/ElevationPointBody.md | 12 + docs/EngineInfo.md | 11 + docs/GeoJSONFeaturesObject.md | 11 + docs/GeoJSONGeometryObject.md | 10 + docs/GeoJSONIsochroneBase.md | 10 + docs/GeoJSONIsochroneBaseGeometry.md | 9 + docs/GeoJSONIsochronesResponse.md | 12 + docs/GeoJSONIsochronesResponseFeatures.md | 10 + docs/GeoJSONIsochronesResponseMetadata.md | 16 + ...GeoJSONIsochronesResponseMetadataEngine.md | 11 + docs/GeoJSONPropertiesObject.md | 13 + docs/GeoJSONPropertiesObjectCategoryIds.md | 9 + ...ONPropertiesObjectCategoryIdsCategoryId.md | 10 + docs/GeoJSONPropertiesObjectOsmTags.md | 15 + docs/GeoJSONRouteResponse.md | 12 + docs/GeoJSONRouteResponseMetadata.md | 16 + docs/GeocodeApi.md | 325 + docs/GeocodeResponse.md | 12 + docs/Gpx.md | 9 + docs/GraphExportService.md | 10 + docs/InlineResponse200.md | 12 + docs/InlineResponse2001.md | 12 + docs/InlineResponse2001Geometry.md | 10 + docs/InlineResponse2002.md | 13 + docs/InlineResponse2002Routes.md | 17 + docs/InlineResponse2002Steps.md | 16 + docs/InlineResponse2002Summary.md | 15 + docs/InlineResponse2002Unassigned.md | 10 + docs/InlineResponse2003.md | 12 + docs/InlineResponse2004.md | 11 + docs/InlineResponse2005.md | 12 + docs/InlineResponse2006.md | 13 + docs/InlineResponse200Geometry.md | 10 + docs/IsochronesProfileBody.md | 20 + docs/IsochronesRequest.md | 20 + docs/IsochronesResponseInfo.md | 16 + docs/IsochronesServiceApi.md | 64 + docs/JSON2DDestinations.md | 11 + docs/JSON2DSources.md | 11 + docs/JSONExtra.md | 10 + docs/JSONExtraSummary.md | 11 + docs/JSONIndividualRouteResponse.md | 18 + docs/JSONIndividualRouteResponseExtras.md | 10 + ...JSONIndividualRouteResponseInstructions.md | 17 + docs/JSONIndividualRouteResponseLegs.md | 26 + docs/JSONIndividualRouteResponseManeuver.md | 11 + docs/JSONIndividualRouteResponseSegments.md | 16 + docs/JSONIndividualRouteResponseStops.md | 19 + docs/JSONIndividualRouteResponseSummary.md | 14 + docs/JSONIndividualRouteResponseWarnings.md | 10 + docs/JSONLeg.md | 26 + docs/JSONObject.md | 8 + docs/JSONPtStop.md | 19 + docs/JSONRouteResponse.md | 11 + docs/JSONRouteResponseRoutes.md | 18 + docs/JSONSegment.md | 16 + docs/JSONStep.md | 17 + docs/JSONStepManeuver.md | 11 + docs/JSONSummary.md | 14 + docs/JSONWarning.md | 10 + docs/JsonEdge.md | 11 + docs/JsonEdgeExtra.md | 10 + docs/JsonExportResponse.md | 14 + docs/JsonExportResponseEdges.md | 11 + docs/JsonExportResponseEdgesExtra.md | 10 + docs/JsonExportResponseNodes.md | 10 + docs/JsonNode.md | 10 + docs/Makefile | 20 - docs/MatrixProfileBody.md | 15 + docs/MatrixRequest.md | 15 + docs/MatrixResponse.md | 13 + docs/MatrixResponseDestinations.md | 11 + docs/MatrixResponseInfo.md | 16 + docs/MatrixResponseMetadata.md | 16 + docs/MatrixResponseSources.md | 11 + docs/MatrixServiceApi.md | 64 + docs/OpenpoiservicePoiRequest.md | 13 + docs/OpenpoiservicePoiResponse.md | 10 + docs/OptimizationApi.md | 62 + docs/OptimizationBody.md | 12 + docs/OptimizationJobs.md | 15 + docs/OptimizationOptions.md | 9 + docs/OptimizationVehicles.md | 17 + docs/PoisApi.md | 62 + docs/PoisFilters.md | 14 + docs/PoisGeometry.md | 11 + docs/ProfileParameters.md | 12 + docs/ProfileParametersRestrictions.md | 20 + docs/ProfileWeightings.md | 12 + docs/Restrictions.md | 20 + docs/RoundTripRouteOptions.md | 11 + docs/RouteOptions.md | 15 + docs/RouteOptionsAvoidPolygons.md | 9 + docs/RouteResponseInfo.md | 16 + docs/Rte.md | 8 + ...irectionsprofilegeojsonScheduleDuration.md | 13 + ...sprofilegeojsonScheduleDurationDuration.md | 12 + ...ionsprofilegeojsonScheduleDurationUnits.md | 12 + docs/V2directionsprofilegeojsonWalkingTime.md | 13 + docs/examples/Avoid_ConstructionSites.md | 1 + docs/examples/Dieselgate_Routing.md | 1 + docs/examples/Routing_Optimization_Idai.md | 1 + docs/examples/ortools_pubcrawl.md | 1 + docs/make.bat | 36 - docs/source/conf.py | 176 - docs/source/index.rst | 22 - docs/source/modules.rst | 5 - docs/source/openrouteservice.rst | 94 - docs/source/readme_link.rst | 1 - environment.yml | 10 - examples/Avoid_ConstructionSites.html | 12828 ++++++++++++++++ examples/Avoid_ConstructionSites.ipynb | 5330 +++++++ examples/Dieselgate_Routing.html | 8445 ++++++++++ examples/Dieselgate_Routing.ipynb | 970 ++ examples/Routing_Optimization_Idai.html | 9291 +++++++++++ examples/Routing_Optimization_Idai.ipynb | 1813 +++ examples/basic_example.ipynb | 596 - examples/data/idai_health_sites.csv | 20 + examples/ortools_pubcrawl.html | 9826 ++++++++++++ examples/ortools_pubcrawl.ipynb | 2047 +++ git_push.sh | 52 + index.md | 27 + openrouteservice/api/__init__.py | 12 + .../api/directions_service_api.py | 247 + openrouteservice/api/elevation_api.py | 335 + openrouteservice/api/geocode_api.py | 617 + .../api/isochrones_service_api.py | 140 + openrouteservice/api/matrix_service_api.py | 140 + openrouteservice/api/optimization_api.py | 132 + openrouteservice/api/pois_api.py | 132 + openrouteservice/api_client.py | 632 + openrouteservice/configuration.py | 251 + openrouteservice/models/__init__.py | 113 + openrouteservice/models/alternative_routes.py | 168 + openrouteservice/models/directions_service.py | 871 ++ .../models/directions_service1.py | 871 ++ .../models/elevation_line_body.py | 216 + .../models/elevation_point_body.py | 216 + openrouteservice/models/engine_info.py | 168 + .../models/geo_json_features_object.py | 162 + .../models/geo_json_geometry_object.py | 136 + .../models/geo_json_isochrone_base.py | 136 + .../geo_json_isochrone_base_geometry.py | 110 + .../models/geo_json_isochrones_response.py | 190 + .../geo_json_isochrones_response_features.py | 136 + .../geo_json_isochrones_response_metadata.py | 304 + ...son_isochrones_response_metadata_engine.py | 168 + .../models/geo_json_properties_object.py | 214 + ...geo_json_properties_object_category_ids.py | 110 + ...perties_object_category_ids_category_id.py | 136 + .../geo_json_properties_object_osm_tags.py | 266 + .../models/geo_json_route_response.py | 190 + .../geo_json_route_response_metadata.py | 304 + openrouteservice/models/geocode_response.py | 188 + openrouteservice/models/gpx.py | 110 + .../models/graph_export_service.py | 141 + openrouteservice/models/inline_response200.py | 188 + .../models/inline_response2001.py | 188 + .../models/inline_response2001_geometry.py | 136 + .../models/inline_response2002.py | 222 + .../models/inline_response2002_routes.py | 336 + .../models/inline_response2002_steps.py | 308 + .../models/inline_response2002_summary.py | 280 + .../models/inline_response2002_unassigned.py | 140 + .../models/inline_response2003.py | 190 + .../models/inline_response2004.py | 166 + .../models/inline_response2005.py | 190 + .../models/inline_response2006.py | 222 + .../models/inline_response200_geometry.py | 136 + .../models/isochrones_profile_body.py | 451 + openrouteservice/models/isochrones_request.py | 451 + .../models/isochrones_response_info.py | 304 + .../models/json2_d_destinations.py | 168 + openrouteservice/models/json2_d_sources.py | 168 + openrouteservice/models/json_edge.py | 168 + openrouteservice/models/json_edge_extra.py | 140 + .../models/json_export_response.py | 240 + .../models/json_export_response_edges.py | 168 + .../json_export_response_edges_extra.py | 140 + .../models/json_export_response_nodes.py | 140 + openrouteservice/models/json_extra.py | 140 + openrouteservice/models/json_extra_summary.py | 168 + .../models/json_individual_route_response.py | 362 + .../json_individual_route_response_extras.py | 140 + ..._individual_route_response_instructions.py | 334 + .../json_individual_route_response_legs.py | 588 + ...json_individual_route_response_maneuver.py | 168 + ...json_individual_route_response_segments.py | 308 + .../json_individual_route_response_stops.py | 392 + .../json_individual_route_response_summary.py | 248 + ...json_individual_route_response_warnings.py | 140 + openrouteservice/models/json_leg.py | 588 + openrouteservice/models/json_node.py | 140 + openrouteservice/models/json_object.py | 89 + .../models/json_route_response.py | 166 + .../models/json_route_response_routes.py | 362 + openrouteservice/models/json_segment.py | 308 + openrouteservice/models/json_step.py | 334 + openrouteservice/models/json_step_maneuver.py | 168 + openrouteservice/models/json_summary.py | 248 + openrouteservice/models/json_warning.py | 140 + openrouteservice/models/jsonpt_stop.py | 392 + .../models/matrix_profile_body.py | 294 + openrouteservice/models/matrix_request.py | 294 + openrouteservice/models/matrix_response.py | 222 + .../models/matrix_response_destinations.py | 168 + .../models/matrix_response_info.py | 304 + .../models/matrix_response_metadata.py | 304 + .../models/matrix_response_sources.py | 168 + .../models/openpoiservice_poi_request.py | 234 + .../models/openpoiservice_poi_response.py | 136 + openrouteservice/models/optimization_body.py | 196 + openrouteservice/models/optimization_jobs.py | 280 + .../models/optimization_options.py | 112 + .../models/optimization_vehicles.py | 342 + openrouteservice/models/pois_filters.py | 248 + openrouteservice/models/pois_geometry.py | 166 + openrouteservice/models/profile_parameters.py | 192 + .../models/profile_parameters_restrictions.py | 426 + openrouteservice/models/profile_weightings.py | 196 + openrouteservice/models/restrictions.py | 426 + .../models/round_trip_route_options.py | 168 + openrouteservice/models/route_options.py | 293 + .../models/route_options_avoid_polygons.py | 110 + .../models/route_response_info.py | 304 + openrouteservice/models/rte.py | 84 + ...ectionsprofilegeojson_schedule_duration.py | 214 + ...ofilegeojson_schedule_duration_duration.py | 188 + ...sprofilegeojson_schedule_duration_units.py | 188 + ...v2directionsprofilegeojson_walking_time.py | 214 + openrouteservice/rest.py | 317 + openrouteservice/utility.py | 87 + package-lock.json | 1248 ++ package.json | 11 + poetry.lock | 693 - pyproject.toml | 59 +- requirements.txt | 5 + setup.py | 39 + test-requirements.txt | 5 + test/__init__.py | 52 +- test/test_alternative_routes.py | 43 + test/test_client.py | 182 - test/test_convert.py | 113 - test/test_deprecation_warning.py | 13 - test/test_directions.py | 230 - test/test_directions_service.py | 43 + test/test_directions_service1.py | 43 + test/test_directions_service_api.py | 75 + test/test_distance_matrix.py | 45 - test/test_elevation.py | 55 - test/test_elevation_api.py | 71 + test/test_elevation_line_body.py | 43 + test/test_elevation_point_body.py | 43 + test/test_engine_info.py | 43 + test/test_exceptions.py | 60 - test/test_geo_json_features_object.py | 43 + test/test_geo_json_geometry_object.py | 43 + test/test_geo_json_isochrone_base.py | 43 + test/test_geo_json_isochrone_base_geometry.py | 43 + test/test_geo_json_isochrones_response.py | 43 + ...t_geo_json_isochrones_response_features.py | 43 + ...t_geo_json_isochrones_response_metadata.py | 43 + ...son_isochrones_response_metadata_engine.py | 43 + test/test_geo_json_properties_object.py | 43 + ...geo_json_properties_object_category_ids.py | 43 + ...perties_object_category_ids_category_id.py | 43 + ...est_geo_json_properties_object_osm_tags.py | 43 + test/test_geo_json_route_response.py | 43 + test/test_geo_json_route_response_metadata.py | 43 + test/test_geocode.py | 102 - test/test_geocode_api.py | 77 + test/test_geocode_response.py | 43 + test/test_gpx.py | 43 + test/test_graph_export_service.py | 43 + test/test_helper.py | 256 - test/test_inline_response200.py | 43 + test/test_inline_response2001.py | 43 + test/test_inline_response2001_geometry.py | 43 + test/test_inline_response2002.py | 43 + test/test_inline_response2002_routes.py | 43 + test/test_inline_response2002_steps.py | 43 + test/test_inline_response2002_summary.py | 43 + test/test_inline_response2002_unassigned.py | 43 + test/test_inline_response2003.py | 43 + test/test_inline_response2004.py | 43 + test/test_inline_response2005.py | 43 + test/test_inline_response2006.py | 43 + test/test_inline_response200_geometry.py | 43 + test/test_isochrones.py | 47 - test/test_isochrones_profile_body.py | 43 + test/test_isochrones_request.py | 43 + test/test_isochrones_response_info.py | 43 + test/test_isochrones_service_api.py | 51 + test/test_json2_d_destinations.py | 43 + test/test_json2_d_sources.py | 43 + test/test_json_edge.py | 43 + test/test_json_edge_extra.py | 43 + test/test_json_export_response.py | 43 + test/test_json_export_response_edges.py | 43 + test/test_json_export_response_edges_extra.py | 43 + test/test_json_export_response_nodes.py | 43 + test/test_json_extra.py | 43 + test/test_json_extra_summary.py | 43 + test/test_json_individual_route_response.py | 43 + ...t_json_individual_route_response_extras.py | 43 + ..._individual_route_response_instructions.py | 43 + ...est_json_individual_route_response_legs.py | 43 + ...json_individual_route_response_maneuver.py | 43 + ...json_individual_route_response_segments.py | 43 + ...st_json_individual_route_response_stops.py | 43 + ..._json_individual_route_response_summary.py | 43 + ...json_individual_route_response_warnings.py | 43 + test/test_json_leg.py | 43 + test/test_json_node.py | 43 + test/test_json_object.py | 43 + test/test_json_route_response.py | 43 + test/test_json_route_response_routes.py | 43 + test/test_json_segment.py | 43 + test/test_json_step.py | 43 + test/test_json_step_maneuver.py | 43 + test/test_json_summary.py | 43 + test/test_json_warning.py | 43 + test/test_jsonpt_stop.py | 43 + test/test_matrix_profile_body.py | 43 + test/test_matrix_request.py | 43 + test/test_matrix_response.py | 43 + test/test_matrix_response_destinations.py | 43 + test/test_matrix_response_info.py | 43 + test/test_matrix_response_metadata.py | 43 + test/test_matrix_response_sources.py | 43 + test/test_matrix_service_api.py | 51 + test/test_openpoiservice_poi_request.py | 43 + test/test_openpoiservice_poi_response.py | 43 + test/test_optimization.py | 116 - test/test_optimization_api.py | 50 + test/test_optimization_body.py | 43 + test/test_optimization_jobs.py | 43 + test/test_optimization_options.py | 43 + test/test_optimization_vehicles.py | 43 + test/test_places.py | 41 - test/test_pois_api.py | 65 + test/test_pois_filters.py | 43 + test/test_pois_geometry.py | 43 + test/test_profile_parameters.py | 43 + test/test_profile_parameters_restrictions.py | 43 + test/test_profile_weightings.py | 43 + test/test_restrictions.py | 43 + test/test_round_trip_route_options.py | 43 + test/test_route_options.py | 43 + test/test_route_options_avoid_polygons.py | 43 + test/test_route_response_info.py | 43 + test/test_rte.py | 43 + ...ectionsprofilegeojson_schedule_duration.py | 43 + ...ofilegeojson_schedule_duration_duration.py | 43 + ...sprofilegeojson_schedule_duration_units.py | 43 + ...v2directionsprofilegeojson_walking_time.py | 43 + tests-config.sample.ini | 2 + tox.ini | 10 + 371 files changed, 85363 insertions(+), 3351 deletions(-) delete mode 100644 AUTHORS delete mode 100644 CHANGELOG delete mode 100644 CONTRIBUTORS create mode 100644 README.md delete mode 100644 README.rst create mode 100755 cleanup.sh create mode 100644 docs/AlternativeRoutes.md create mode 100644 docs/DirectionsService.md create mode 100644 docs/DirectionsService1.md create mode 100644 docs/DirectionsServiceApi.md create mode 100644 docs/ElevationApi.md create mode 100644 docs/ElevationLineBody.md create mode 100644 docs/ElevationPointBody.md create mode 100644 docs/EngineInfo.md create mode 100644 docs/GeoJSONFeaturesObject.md create mode 100644 docs/GeoJSONGeometryObject.md create mode 100644 docs/GeoJSONIsochroneBase.md create mode 100644 docs/GeoJSONIsochroneBaseGeometry.md create mode 100644 docs/GeoJSONIsochronesResponse.md create mode 100644 docs/GeoJSONIsochronesResponseFeatures.md create mode 100644 docs/GeoJSONIsochronesResponseMetadata.md create mode 100644 docs/GeoJSONIsochronesResponseMetadataEngine.md create mode 100644 docs/GeoJSONPropertiesObject.md create mode 100644 docs/GeoJSONPropertiesObjectCategoryIds.md create mode 100644 docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md create mode 100644 docs/GeoJSONPropertiesObjectOsmTags.md create mode 100644 docs/GeoJSONRouteResponse.md create mode 100644 docs/GeoJSONRouteResponseMetadata.md create mode 100644 docs/GeocodeApi.md create mode 100644 docs/GeocodeResponse.md create mode 100644 docs/Gpx.md create mode 100644 docs/GraphExportService.md create mode 100644 docs/InlineResponse200.md create mode 100644 docs/InlineResponse2001.md create mode 100644 docs/InlineResponse2001Geometry.md create mode 100644 docs/InlineResponse2002.md create mode 100644 docs/InlineResponse2002Routes.md create mode 100644 docs/InlineResponse2002Steps.md create mode 100644 docs/InlineResponse2002Summary.md create mode 100644 docs/InlineResponse2002Unassigned.md create mode 100644 docs/InlineResponse2003.md create mode 100644 docs/InlineResponse2004.md create mode 100644 docs/InlineResponse2005.md create mode 100644 docs/InlineResponse2006.md create mode 100644 docs/InlineResponse200Geometry.md create mode 100644 docs/IsochronesProfileBody.md create mode 100644 docs/IsochronesRequest.md create mode 100644 docs/IsochronesResponseInfo.md create mode 100644 docs/IsochronesServiceApi.md create mode 100644 docs/JSON2DDestinations.md create mode 100644 docs/JSON2DSources.md create mode 100644 docs/JSONExtra.md create mode 100644 docs/JSONExtraSummary.md create mode 100644 docs/JSONIndividualRouteResponse.md create mode 100644 docs/JSONIndividualRouteResponseExtras.md create mode 100644 docs/JSONIndividualRouteResponseInstructions.md create mode 100644 docs/JSONIndividualRouteResponseLegs.md create mode 100644 docs/JSONIndividualRouteResponseManeuver.md create mode 100644 docs/JSONIndividualRouteResponseSegments.md create mode 100644 docs/JSONIndividualRouteResponseStops.md create mode 100644 docs/JSONIndividualRouteResponseSummary.md create mode 100644 docs/JSONIndividualRouteResponseWarnings.md create mode 100644 docs/JSONLeg.md create mode 100644 docs/JSONObject.md create mode 100644 docs/JSONPtStop.md create mode 100644 docs/JSONRouteResponse.md create mode 100644 docs/JSONRouteResponseRoutes.md create mode 100644 docs/JSONSegment.md create mode 100644 docs/JSONStep.md create mode 100644 docs/JSONStepManeuver.md create mode 100644 docs/JSONSummary.md create mode 100644 docs/JSONWarning.md create mode 100644 docs/JsonEdge.md create mode 100644 docs/JsonEdgeExtra.md create mode 100644 docs/JsonExportResponse.md create mode 100644 docs/JsonExportResponseEdges.md create mode 100644 docs/JsonExportResponseEdgesExtra.md create mode 100644 docs/JsonExportResponseNodes.md create mode 100644 docs/JsonNode.md delete mode 100644 docs/Makefile create mode 100644 docs/MatrixProfileBody.md create mode 100644 docs/MatrixRequest.md create mode 100644 docs/MatrixResponse.md create mode 100644 docs/MatrixResponseDestinations.md create mode 100644 docs/MatrixResponseInfo.md create mode 100644 docs/MatrixResponseMetadata.md create mode 100644 docs/MatrixResponseSources.md create mode 100644 docs/MatrixServiceApi.md create mode 100644 docs/OpenpoiservicePoiRequest.md create mode 100644 docs/OpenpoiservicePoiResponse.md create mode 100644 docs/OptimizationApi.md create mode 100644 docs/OptimizationBody.md create mode 100644 docs/OptimizationJobs.md create mode 100644 docs/OptimizationOptions.md create mode 100644 docs/OptimizationVehicles.md create mode 100644 docs/PoisApi.md create mode 100644 docs/PoisFilters.md create mode 100644 docs/PoisGeometry.md create mode 100644 docs/ProfileParameters.md create mode 100644 docs/ProfileParametersRestrictions.md create mode 100644 docs/ProfileWeightings.md create mode 100644 docs/Restrictions.md create mode 100644 docs/RoundTripRouteOptions.md create mode 100644 docs/RouteOptions.md create mode 100644 docs/RouteOptionsAvoidPolygons.md create mode 100644 docs/RouteResponseInfo.md create mode 100644 docs/Rte.md create mode 100644 docs/V2directionsprofilegeojsonScheduleDuration.md create mode 100644 docs/V2directionsprofilegeojsonScheduleDurationDuration.md create mode 100644 docs/V2directionsprofilegeojsonScheduleDurationUnits.md create mode 100644 docs/V2directionsprofilegeojsonWalkingTime.md create mode 100644 docs/examples/Avoid_ConstructionSites.md create mode 100644 docs/examples/Dieselgate_Routing.md create mode 100644 docs/examples/Routing_Optimization_Idai.md create mode 100644 docs/examples/ortools_pubcrawl.md delete mode 100644 docs/make.bat delete mode 100644 docs/source/conf.py delete mode 100644 docs/source/index.rst delete mode 100644 docs/source/modules.rst delete mode 100644 docs/source/openrouteservice.rst delete mode 100644 docs/source/readme_link.rst delete mode 100644 environment.yml create mode 100644 examples/Avoid_ConstructionSites.html create mode 100644 examples/Avoid_ConstructionSites.ipynb create mode 100644 examples/Dieselgate_Routing.html create mode 100644 examples/Dieselgate_Routing.ipynb create mode 100644 examples/Routing_Optimization_Idai.html create mode 100644 examples/Routing_Optimization_Idai.ipynb delete mode 100644 examples/basic_example.ipynb create mode 100644 examples/data/idai_health_sites.csv create mode 100644 examples/ortools_pubcrawl.html create mode 100644 examples/ortools_pubcrawl.ipynb create mode 100644 git_push.sh create mode 100644 index.md create mode 100644 openrouteservice/api/__init__.py create mode 100644 openrouteservice/api/directions_service_api.py create mode 100644 openrouteservice/api/elevation_api.py create mode 100644 openrouteservice/api/geocode_api.py create mode 100644 openrouteservice/api/isochrones_service_api.py create mode 100644 openrouteservice/api/matrix_service_api.py create mode 100644 openrouteservice/api/optimization_api.py create mode 100644 openrouteservice/api/pois_api.py create mode 100644 openrouteservice/api_client.py create mode 100644 openrouteservice/configuration.py create mode 100644 openrouteservice/models/__init__.py create mode 100644 openrouteservice/models/alternative_routes.py create mode 100644 openrouteservice/models/directions_service.py create mode 100644 openrouteservice/models/directions_service1.py create mode 100644 openrouteservice/models/elevation_line_body.py create mode 100644 openrouteservice/models/elevation_point_body.py create mode 100644 openrouteservice/models/engine_info.py create mode 100644 openrouteservice/models/geo_json_features_object.py create mode 100644 openrouteservice/models/geo_json_geometry_object.py create mode 100644 openrouteservice/models/geo_json_isochrone_base.py create mode 100644 openrouteservice/models/geo_json_isochrone_base_geometry.py create mode 100644 openrouteservice/models/geo_json_isochrones_response.py create mode 100644 openrouteservice/models/geo_json_isochrones_response_features.py create mode 100644 openrouteservice/models/geo_json_isochrones_response_metadata.py create mode 100644 openrouteservice/models/geo_json_isochrones_response_metadata_engine.py create mode 100644 openrouteservice/models/geo_json_properties_object.py create mode 100644 openrouteservice/models/geo_json_properties_object_category_ids.py create mode 100644 openrouteservice/models/geo_json_properties_object_category_ids_category_id.py create mode 100644 openrouteservice/models/geo_json_properties_object_osm_tags.py create mode 100644 openrouteservice/models/geo_json_route_response.py create mode 100644 openrouteservice/models/geo_json_route_response_metadata.py create mode 100644 openrouteservice/models/geocode_response.py create mode 100644 openrouteservice/models/gpx.py create mode 100644 openrouteservice/models/graph_export_service.py create mode 100644 openrouteservice/models/inline_response200.py create mode 100644 openrouteservice/models/inline_response2001.py create mode 100644 openrouteservice/models/inline_response2001_geometry.py create mode 100644 openrouteservice/models/inline_response2002.py create mode 100644 openrouteservice/models/inline_response2002_routes.py create mode 100644 openrouteservice/models/inline_response2002_steps.py create mode 100644 openrouteservice/models/inline_response2002_summary.py create mode 100644 openrouteservice/models/inline_response2002_unassigned.py create mode 100644 openrouteservice/models/inline_response2003.py create mode 100644 openrouteservice/models/inline_response2004.py create mode 100644 openrouteservice/models/inline_response2005.py create mode 100644 openrouteservice/models/inline_response2006.py create mode 100644 openrouteservice/models/inline_response200_geometry.py create mode 100644 openrouteservice/models/isochrones_profile_body.py create mode 100644 openrouteservice/models/isochrones_request.py create mode 100644 openrouteservice/models/isochrones_response_info.py create mode 100644 openrouteservice/models/json2_d_destinations.py create mode 100644 openrouteservice/models/json2_d_sources.py create mode 100644 openrouteservice/models/json_edge.py create mode 100644 openrouteservice/models/json_edge_extra.py create mode 100644 openrouteservice/models/json_export_response.py create mode 100644 openrouteservice/models/json_export_response_edges.py create mode 100644 openrouteservice/models/json_export_response_edges_extra.py create mode 100644 openrouteservice/models/json_export_response_nodes.py create mode 100644 openrouteservice/models/json_extra.py create mode 100644 openrouteservice/models/json_extra_summary.py create mode 100644 openrouteservice/models/json_individual_route_response.py create mode 100644 openrouteservice/models/json_individual_route_response_extras.py create mode 100644 openrouteservice/models/json_individual_route_response_instructions.py create mode 100644 openrouteservice/models/json_individual_route_response_legs.py create mode 100644 openrouteservice/models/json_individual_route_response_maneuver.py create mode 100644 openrouteservice/models/json_individual_route_response_segments.py create mode 100644 openrouteservice/models/json_individual_route_response_stops.py create mode 100644 openrouteservice/models/json_individual_route_response_summary.py create mode 100644 openrouteservice/models/json_individual_route_response_warnings.py create mode 100644 openrouteservice/models/json_leg.py create mode 100644 openrouteservice/models/json_node.py create mode 100644 openrouteservice/models/json_object.py create mode 100644 openrouteservice/models/json_route_response.py create mode 100644 openrouteservice/models/json_route_response_routes.py create mode 100644 openrouteservice/models/json_segment.py create mode 100644 openrouteservice/models/json_step.py create mode 100644 openrouteservice/models/json_step_maneuver.py create mode 100644 openrouteservice/models/json_summary.py create mode 100644 openrouteservice/models/json_warning.py create mode 100644 openrouteservice/models/jsonpt_stop.py create mode 100644 openrouteservice/models/matrix_profile_body.py create mode 100644 openrouteservice/models/matrix_request.py create mode 100644 openrouteservice/models/matrix_response.py create mode 100644 openrouteservice/models/matrix_response_destinations.py create mode 100644 openrouteservice/models/matrix_response_info.py create mode 100644 openrouteservice/models/matrix_response_metadata.py create mode 100644 openrouteservice/models/matrix_response_sources.py create mode 100644 openrouteservice/models/openpoiservice_poi_request.py create mode 100644 openrouteservice/models/openpoiservice_poi_response.py create mode 100644 openrouteservice/models/optimization_body.py create mode 100644 openrouteservice/models/optimization_jobs.py create mode 100644 openrouteservice/models/optimization_options.py create mode 100644 openrouteservice/models/optimization_vehicles.py create mode 100644 openrouteservice/models/pois_filters.py create mode 100644 openrouteservice/models/pois_geometry.py create mode 100644 openrouteservice/models/profile_parameters.py create mode 100644 openrouteservice/models/profile_parameters_restrictions.py create mode 100644 openrouteservice/models/profile_weightings.py create mode 100644 openrouteservice/models/restrictions.py create mode 100644 openrouteservice/models/round_trip_route_options.py create mode 100644 openrouteservice/models/route_options.py create mode 100644 openrouteservice/models/route_options_avoid_polygons.py create mode 100644 openrouteservice/models/route_response_info.py create mode 100644 openrouteservice/models/rte.py create mode 100644 openrouteservice/models/v2directionsprofilegeojson_schedule_duration.py create mode 100644 openrouteservice/models/v2directionsprofilegeojson_schedule_duration_duration.py create mode 100644 openrouteservice/models/v2directionsprofilegeojson_schedule_duration_units.py create mode 100644 openrouteservice/models/v2directionsprofilegeojson_walking_time.py create mode 100644 openrouteservice/rest.py create mode 100644 openrouteservice/utility.py create mode 100644 package-lock.json create mode 100644 package.json delete mode 100644 poetry.lock create mode 100644 requirements.txt create mode 100644 setup.py create mode 100644 test-requirements.txt create mode 100644 test/test_alternative_routes.py delete mode 100644 test/test_client.py delete mode 100644 test/test_convert.py delete mode 100644 test/test_deprecation_warning.py delete mode 100644 test/test_directions.py create mode 100644 test/test_directions_service.py create mode 100644 test/test_directions_service1.py create mode 100644 test/test_directions_service_api.py delete mode 100644 test/test_distance_matrix.py delete mode 100644 test/test_elevation.py create mode 100644 test/test_elevation_api.py create mode 100644 test/test_elevation_line_body.py create mode 100644 test/test_elevation_point_body.py create mode 100644 test/test_engine_info.py delete mode 100644 test/test_exceptions.py create mode 100644 test/test_geo_json_features_object.py create mode 100644 test/test_geo_json_geometry_object.py create mode 100644 test/test_geo_json_isochrone_base.py create mode 100644 test/test_geo_json_isochrone_base_geometry.py create mode 100644 test/test_geo_json_isochrones_response.py create mode 100644 test/test_geo_json_isochrones_response_features.py create mode 100644 test/test_geo_json_isochrones_response_metadata.py create mode 100644 test/test_geo_json_isochrones_response_metadata_engine.py create mode 100644 test/test_geo_json_properties_object.py create mode 100644 test/test_geo_json_properties_object_category_ids.py create mode 100644 test/test_geo_json_properties_object_category_ids_category_id.py create mode 100644 test/test_geo_json_properties_object_osm_tags.py create mode 100644 test/test_geo_json_route_response.py create mode 100644 test/test_geo_json_route_response_metadata.py delete mode 100644 test/test_geocode.py create mode 100644 test/test_geocode_api.py create mode 100644 test/test_geocode_response.py create mode 100644 test/test_gpx.py create mode 100644 test/test_graph_export_service.py delete mode 100644 test/test_helper.py create mode 100644 test/test_inline_response200.py create mode 100644 test/test_inline_response2001.py create mode 100644 test/test_inline_response2001_geometry.py create mode 100644 test/test_inline_response2002.py create mode 100644 test/test_inline_response2002_routes.py create mode 100644 test/test_inline_response2002_steps.py create mode 100644 test/test_inline_response2002_summary.py create mode 100644 test/test_inline_response2002_unassigned.py create mode 100644 test/test_inline_response2003.py create mode 100644 test/test_inline_response2004.py create mode 100644 test/test_inline_response2005.py create mode 100644 test/test_inline_response2006.py create mode 100644 test/test_inline_response200_geometry.py delete mode 100644 test/test_isochrones.py create mode 100644 test/test_isochrones_profile_body.py create mode 100644 test/test_isochrones_request.py create mode 100644 test/test_isochrones_response_info.py create mode 100644 test/test_isochrones_service_api.py create mode 100644 test/test_json2_d_destinations.py create mode 100644 test/test_json2_d_sources.py create mode 100644 test/test_json_edge.py create mode 100644 test/test_json_edge_extra.py create mode 100644 test/test_json_export_response.py create mode 100644 test/test_json_export_response_edges.py create mode 100644 test/test_json_export_response_edges_extra.py create mode 100644 test/test_json_export_response_nodes.py create mode 100644 test/test_json_extra.py create mode 100644 test/test_json_extra_summary.py create mode 100644 test/test_json_individual_route_response.py create mode 100644 test/test_json_individual_route_response_extras.py create mode 100644 test/test_json_individual_route_response_instructions.py create mode 100644 test/test_json_individual_route_response_legs.py create mode 100644 test/test_json_individual_route_response_maneuver.py create mode 100644 test/test_json_individual_route_response_segments.py create mode 100644 test/test_json_individual_route_response_stops.py create mode 100644 test/test_json_individual_route_response_summary.py create mode 100644 test/test_json_individual_route_response_warnings.py create mode 100644 test/test_json_leg.py create mode 100644 test/test_json_node.py create mode 100644 test/test_json_object.py create mode 100644 test/test_json_route_response.py create mode 100644 test/test_json_route_response_routes.py create mode 100644 test/test_json_segment.py create mode 100644 test/test_json_step.py create mode 100644 test/test_json_step_maneuver.py create mode 100644 test/test_json_summary.py create mode 100644 test/test_json_warning.py create mode 100644 test/test_jsonpt_stop.py create mode 100644 test/test_matrix_profile_body.py create mode 100644 test/test_matrix_request.py create mode 100644 test/test_matrix_response.py create mode 100644 test/test_matrix_response_destinations.py create mode 100644 test/test_matrix_response_info.py create mode 100644 test/test_matrix_response_metadata.py create mode 100644 test/test_matrix_response_sources.py create mode 100644 test/test_matrix_service_api.py create mode 100644 test/test_openpoiservice_poi_request.py create mode 100644 test/test_openpoiservice_poi_response.py delete mode 100644 test/test_optimization.py create mode 100644 test/test_optimization_api.py create mode 100644 test/test_optimization_body.py create mode 100644 test/test_optimization_jobs.py create mode 100644 test/test_optimization_options.py create mode 100644 test/test_optimization_vehicles.py delete mode 100644 test/test_places.py create mode 100644 test/test_pois_api.py create mode 100644 test/test_pois_filters.py create mode 100644 test/test_pois_geometry.py create mode 100644 test/test_profile_parameters.py create mode 100644 test/test_profile_parameters_restrictions.py create mode 100644 test/test_profile_weightings.py create mode 100644 test/test_restrictions.py create mode 100644 test/test_round_trip_route_options.py create mode 100644 test/test_route_options.py create mode 100644 test/test_route_options_avoid_polygons.py create mode 100644 test/test_route_response_info.py create mode 100644 test/test_rte.py create mode 100644 test/test_v2directionsprofilegeojson_schedule_duration.py create mode 100644 test/test_v2directionsprofilegeojson_schedule_duration_duration.py create mode 100644 test/test_v2directionsprofilegeojson_schedule_duration_units.py create mode 100644 test/test_v2directionsprofilegeojson_walking_time.py create mode 100644 tests-config.sample.ini create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index c394d5f7..7c5d3aff 100644 --- a/.gitignore +++ b/.gitignore @@ -1,23 +1,14 @@ -.tox/ -.venv* -.env* -.coverage -**/.ipynb_checkpoints/ -*.geojson -*.pyc -*.in -*egg-info/ -dist/ -build/ -/docs/build -test.py +# IDE +.vscode -#IDE -.spyproject/ -.idea/ +# Vitepress +/**/node_modules +.vitepress/cache -cover/ -conda/ -*coverage.xml -/setup.py -/requirements.txt +# Python +/**/__pycache__ +dist +*.egg-info + +# Secrets +tests-config.ini diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index 6f3ab212..00000000 --- a/AUTHORS +++ /dev/null @@ -1,20 +0,0 @@ -# This is the official list of openrouteservice-py authors -# for copyright purposes. This file is distinct from the CONTRIBUTORS files. -# See the latter for an explanation. - -# Names should be added to this file as -# Name or Organization -# The email address is not required for organizations. - -# Please keep the list sorted. - -# The work is based on Python Client for Google Maps Services: -# https://github.com/googlemaps/google-maps-services-python -# Following authors were registered: - -Google Inc. - -# Modified to fit ORS needs by - -Julian Psotta -Nils Nolde diff --git a/CHANGELOG b/CHANGELOG deleted file mode 100644 index 9ab8a608..00000000 --- a/CHANGELOG +++ /dev/null @@ -1,58 +0,0 @@ -# Unreleased - -- add 'intersections'-parameter to isochrones - -## 2.2.0 - -- restrict optimize_waypoints parameter to not trigger when options or 'shortest' is used -- Add optimize_waypoints option to directions for simple TSP -- get rid of validators, too maintenance-heavy - -## 2.1.0 - -- fix minor problems, apply PEP lint, add some tests -- Add optimization endpoint - -# 2.0.0 - -- implement all backend changes from moving to openrouteservice v5 -- now all parameters are named like their backend equivalents, while keeping the old ors-py parameter names for backwards compatibility, but with deprecation warnings -- validator validates ALL parameters -- added a Client.req property, returning the actual `requests` request - -### v1.1.8 - -- make dependencies more sensible (#32) - -### v1.1.7 - -- fix boundary.country for pelias_search (#30) -- change isochrone defaults (#31) - -### v1.1.6 - -- fix boolean parameters (#28) - -### v1.1.0 - -- fix decoding of 2D polylines -- add support for true booleans - -# v1.0 - -- add Pelias Autocomplete -- add elevation endpoint -- proper parameter validation via Cerberus - -## v0.4 - -- add Pelias geocoding endpoints - -## v0.3 - -- add options object to directions API - -## v0.2 - -- Integrate openpoiservice (#1) -- add dry_run diff --git a/CONTRIBUTORS b/CONTRIBUTORS deleted file mode 100644 index eded1a8d..00000000 --- a/CONTRIBUTORS +++ /dev/null @@ -1,21 +0,0 @@ -# This is the official list of people who have contributed to the project. The -# copyright is held by those individuals or organizations in the AUTHORS file. -# -# Names should be added to this file like so: -# Name - -# Please keep the list sorted by first name. - -Julian Psotta -Nils Nolde - -# The following people contributed to the original Python Client for Google Maps Services: - -Brett Morgan -Chris Broadfoot -Dave Holmes -Luke Mahe -Mark McDonald -Sam Thorogood -Sean Wohltman -Stephen McDonald diff --git a/README.md b/README.md new file mode 100644 index 00000000..035a98f0 --- /dev/null +++ b/README.md @@ -0,0 +1,228 @@ +# openrouteservice +The openrouteservice library gives you painless access to the [openrouteservice](https://openrouteservice.org) (ORS) routing API's. This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) using our latest API specifications. + +| API Version | Package version | Build package | +| -------------- | ------------------ | ------------------ | +| 7.1.0 | 7.1.0.post6 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | + +For further details, please visit: +- our [homepage](https://openrouteservice.org) +- [ORS API documentation](https://openrouteservice.org/documentation/) + +For support, please ask our [forum](https://ask.openrouteservice.org/c/sdks). +By using this library, you agree to the ORS [terms and conditions](https://openrouteservice.org/terms-of-service/). + +## Requirements. + +Python 2.7 and 3.4+ + +## Installation & Usage +### pip install + +If the python package is hosted on Github, you can install directly from Github + +```sh +pip install ors-py +``` + +Then import the package: +```python +import openrouteservice +``` + +### Setuptools + +Install via [Setuptools](http://pypi.python.org/pypi/setuptools). + +```sh +python setup.py install --user +``` +(or `sudo python setup.py install` to install the package for all users) + +Then import the package: +```python +import openrouteservice +``` + +## Usage +Please follow the [installation procedure](#installation--usage) before running the examples: + +### Examples +These examples show common usages of this library. +- [Avoid construction sites dynamically](docs/examples/Avoid_ConstructionSites) +- [Dieselgate Routing](docs/examples/Dieselgate_Routing) +- [Route optimization of pub crawl](docs/examples/ortools_pubcrawl) +- [Routing optimization in humanitarian context](docs/examples/Routing_Optimization_Idai) + +### Basic example +```python +import openrouteservice as ors +from pprint import pprint + +# Configure API key authorization: +configuration = ors.Configuration() +configuration.api_key['Authorization'] = "YOUR_API_KEY" + +# create an instance of the API class +directionsApi = ors.DirectionsServiceApi(ors.ApiClient(configuration)) + +# create request body +body = ors.DirectionsService( + coordinates=[[8.34234,48.23424],[8.34423,48.26424]] +) + +profile = 'driving-car' + +try: + routes = directionsApi.get_geo_json_route(body, profile) + pprint(routes) +except ors.rest.ApiException as e: + print("Exception when calling DirectionsServiceApi->get_geo_json_route: %s\n" % e) +``` + +### Local ORS instance +```python +import openrouteservice as ors +from pprint import pprint + +# Configure host +configuration = ors.Configuration() +configuration.host = "http://localhost:8080/ors" + +isochronesApi = ors.IsochronesServiceApi(ors.ApiClient(configuration)) +body = ors.IsochronesProfileBody( + locations=[[8.681495,49.41461],[8.686507,49.41943]], + range=[300] +) +profile = 'driving-car' # Specifies the route profile. + +try: + api_response = isochronesApi.get_default_isochrones(body, profile) + pprint(api_response) +except ors.rest.ApiException as e: + print("Exception when calling IsochronesServiceApi->get_default_isochrones: %s\n" % e) +``` + +## Documentation for API Endpoints + +All URIs are relative to *https://api.openrouteservice.org* + +Class | Method | HTTP request | Description +------------ | ------------- | ------------- | ------------- +*DirectionsServiceApi* | [**get_geo_json_route**](docs/DirectionsServiceApi.md#get_geo_json_route) | **POST** /v2/directions/{profile}/geojson | Directions Service GeoJSON +*DirectionsServiceApi* | [**get_json_route**](docs/DirectionsServiceApi.md#get_json_route) | **POST** /v2/directions/{profile}/json | Directions Service JSON +*ElevationApi* | [**elevation_line_post**](docs/ElevationApi.md#elevation_line_post) | **POST** /elevation/line | Elevation Line Service +*ElevationApi* | [**elevation_point_get**](docs/ElevationApi.md#elevation_point_get) | **GET** /elevation/point | Elevation Point Service +*ElevationApi* | [**elevation_point_post**](docs/ElevationApi.md#elevation_point_post) | **POST** /elevation/point | Elevation Point Service +*GeocodeApi* | [**geocode_autocomplete_get**](docs/GeocodeApi.md#geocode_autocomplete_get) | **GET** /geocode/autocomplete | Geocode Autocomplete Service +*GeocodeApi* | [**geocode_reverse_get**](docs/GeocodeApi.md#geocode_reverse_get) | **GET** /geocode/reverse | Reverse Geocode Service +*GeocodeApi* | [**geocode_search_get**](docs/GeocodeApi.md#geocode_search_get) | **GET** /geocode/search | Forward Geocode Service +*GeocodeApi* | [**geocode_search_structured_get**](docs/GeocodeApi.md#geocode_search_structured_get) | **GET** /geocode/search/structured | Structured Forward Geocode Service (beta) +*IsochronesServiceApi* | [**get_default_isochrones**](docs/IsochronesServiceApi.md#get_default_isochrones) | **POST** /v2/isochrones/{profile} | Isochrones Service +*MatrixServiceApi* | [**get_default**](docs/MatrixServiceApi.md#get_default) | **POST** /v2/matrix/{profile} | Matrix Service +*OptimizationApi* | [**optimization_post**](docs/OptimizationApi.md#optimization_post) | **POST** /optimization | Optimization Service +*PoisApi* | [**pois_post**](docs/PoisApi.md#pois_post) | **POST** /pois | Pois Service + +## Documentation For Models + + - [AlternativeRoutes](docs/AlternativeRoutes.md) + - [DirectionsService](docs/DirectionsService.md) + - [DirectionsService1](docs/DirectionsService1.md) + - [ElevationLineBody](docs/ElevationLineBody.md) + - [ElevationPointBody](docs/ElevationPointBody.md) + - [EngineInfo](docs/EngineInfo.md) + - [GeoJSONFeaturesObject](docs/GeoJSONFeaturesObject.md) + - [GeoJSONGeometryObject](docs/GeoJSONGeometryObject.md) + - [GeoJSONIsochroneBase](docs/GeoJSONIsochroneBase.md) + - [GeoJSONIsochroneBaseGeometry](docs/GeoJSONIsochroneBaseGeometry.md) + - [GeoJSONIsochronesResponse](docs/GeoJSONIsochronesResponse.md) + - [GeoJSONIsochronesResponseFeatures](docs/GeoJSONIsochronesResponseFeatures.md) + - [GeoJSONIsochronesResponseMetadata](docs/GeoJSONIsochronesResponseMetadata.md) + - [GeoJSONIsochronesResponseMetadataEngine](docs/GeoJSONIsochronesResponseMetadataEngine.md) + - [GeoJSONPropertiesObject](docs/GeoJSONPropertiesObject.md) + - [GeoJSONPropertiesObjectCategoryIds](docs/GeoJSONPropertiesObjectCategoryIds.md) + - [GeoJSONPropertiesObjectCategoryIdsCategoryId](docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md) + - [GeoJSONPropertiesObjectOsmTags](docs/GeoJSONPropertiesObjectOsmTags.md) + - [GeoJSONRouteResponse](docs/GeoJSONRouteResponse.md) + - [GeoJSONRouteResponseMetadata](docs/GeoJSONRouteResponseMetadata.md) + - [GeocodeResponse](docs/GeocodeResponse.md) + - [Gpx](docs/Gpx.md) + - [GraphExportService](docs/GraphExportService.md) + - [InlineResponse200](docs/InlineResponse200.md) + - [InlineResponse2001](docs/InlineResponse2001.md) + - [InlineResponse2001Geometry](docs/InlineResponse2001Geometry.md) + - [InlineResponse2002](docs/InlineResponse2002.md) + - [InlineResponse2002Routes](docs/InlineResponse2002Routes.md) + - [InlineResponse2002Steps](docs/InlineResponse2002Steps.md) + - [InlineResponse2002Summary](docs/InlineResponse2002Summary.md) + - [InlineResponse2002Unassigned](docs/InlineResponse2002Unassigned.md) + - [InlineResponse2003](docs/InlineResponse2003.md) + - [InlineResponse2004](docs/InlineResponse2004.md) + - [InlineResponse2005](docs/InlineResponse2005.md) + - [InlineResponse2006](docs/InlineResponse2006.md) + - [InlineResponse200Geometry](docs/InlineResponse200Geometry.md) + - [IsochronesProfileBody](docs/IsochronesProfileBody.md) + - [IsochronesRequest](docs/IsochronesRequest.md) + - [IsochronesResponseInfo](docs/IsochronesResponseInfo.md) + - [JSON2DDestinations](docs/JSON2DDestinations.md) + - [JSON2DSources](docs/JSON2DSources.md) + - [JSONExtra](docs/JSONExtra.md) + - [JSONExtraSummary](docs/JSONExtraSummary.md) + - [JSONIndividualRouteResponse](docs/JSONIndividualRouteResponse.md) + - [JSONIndividualRouteResponseExtras](docs/JSONIndividualRouteResponseExtras.md) + - [JSONIndividualRouteResponseInstructions](docs/JSONIndividualRouteResponseInstructions.md) + - [JSONIndividualRouteResponseLegs](docs/JSONIndividualRouteResponseLegs.md) + - [JSONIndividualRouteResponseManeuver](docs/JSONIndividualRouteResponseManeuver.md) + - [JSONIndividualRouteResponseSegments](docs/JSONIndividualRouteResponseSegments.md) + - [JSONIndividualRouteResponseStops](docs/JSONIndividualRouteResponseStops.md) + - [JSONIndividualRouteResponseSummary](docs/JSONIndividualRouteResponseSummary.md) + - [JSONIndividualRouteResponseWarnings](docs/JSONIndividualRouteResponseWarnings.md) + - [JSONLeg](docs/JSONLeg.md) + - [JSONObject](docs/JSONObject.md) + - [JSONPtStop](docs/JSONPtStop.md) + - [JSONRouteResponse](docs/JSONRouteResponse.md) + - [JSONRouteResponseRoutes](docs/JSONRouteResponseRoutes.md) + - [JSONSegment](docs/JSONSegment.md) + - [JSONStep](docs/JSONStep.md) + - [JSONStepManeuver](docs/JSONStepManeuver.md) + - [JSONSummary](docs/JSONSummary.md) + - [JSONWarning](docs/JSONWarning.md) + - [JsonEdge](docs/JsonEdge.md) + - [JsonEdgeExtra](docs/JsonEdgeExtra.md) + - [JsonExportResponse](docs/JsonExportResponse.md) + - [JsonExportResponseEdges](docs/JsonExportResponseEdges.md) + - [JsonExportResponseEdgesExtra](docs/JsonExportResponseEdgesExtra.md) + - [JsonExportResponseNodes](docs/JsonExportResponseNodes.md) + - [JsonNode](docs/JsonNode.md) + - [MatrixProfileBody](docs/MatrixProfileBody.md) + - [MatrixRequest](docs/MatrixRequest.md) + - [MatrixResponse](docs/MatrixResponse.md) + - [MatrixResponseDestinations](docs/MatrixResponseDestinations.md) + - [MatrixResponseInfo](docs/MatrixResponseInfo.md) + - [MatrixResponseMetadata](docs/MatrixResponseMetadata.md) + - [MatrixResponseSources](docs/MatrixResponseSources.md) + - [OpenpoiservicePoiRequest](docs/OpenpoiservicePoiRequest.md) + - [OpenpoiservicePoiResponse](docs/OpenpoiservicePoiResponse.md) + - [OptimizationBody](docs/OptimizationBody.md) + - [OptimizationJobs](docs/OptimizationJobs.md) + - [OptimizationOptions](docs/OptimizationOptions.md) + - [OptimizationVehicles](docs/OptimizationVehicles.md) + - [PoisFilters](docs/PoisFilters.md) + - [PoisGeometry](docs/PoisGeometry.md) + - [ProfileParameters](docs/ProfileParameters.md) + - [ProfileParametersRestrictions](docs/ProfileParametersRestrictions.md) + - [ProfileWeightings](docs/ProfileWeightings.md) + - [Restrictions](docs/Restrictions.md) + - [RoundTripRouteOptions](docs/RoundTripRouteOptions.md) + - [RouteOptions](docs/RouteOptions.md) + - [RouteOptionsAvoidPolygons](docs/RouteOptionsAvoidPolygons.md) + - [RouteResponseInfo](docs/RouteResponseInfo.md) + - [Rte](docs/Rte.md) + - [V2directionsprofilegeojsonScheduleDuration](docs/V2directionsprofilegeojsonScheduleDuration.md) + - [V2directionsprofilegeojsonScheduleDurationDuration](docs/V2directionsprofilegeojsonScheduleDurationDuration.md) + - [V2directionsprofilegeojsonScheduleDurationUnits](docs/V2directionsprofilegeojsonScheduleDurationUnits.md) + - [V2directionsprofilegeojsonWalkingTime](docs/V2directionsprofilegeojsonWalkingTime.md) + +## Author + +support@smartmobility.heigit.org diff --git a/README.rst b/README.rst deleted file mode 100644 index 6359d901..00000000 --- a/README.rst +++ /dev/null @@ -1,238 +0,0 @@ -.. image:: https://github.com/GIScience/openrouteservice-py/workflows/tests/badge.svg - :target: https://github.com/GIScience/openrouteservice-py/actions - :alt: Build status - -.. image:: https://codecov.io/gh/GIScience/openrouteservice-py/branch/master/graph/badge.svg?token=QqGC8XfCiI - :target: https://codecov.io/gh/GIScience/openrouteservice-py - :alt: Codecov coverage - -.. image:: https://readthedocs.org/projects/openrouteservice-py/badge/?version=latest - :target: http://openrouteservice-py.readthedocs.io/en/latest/?badge=latest - :alt: Documentation Status - -.. image:: https://badge.fury.io/py/openrouteservice.svg - :target: https://badge.fury.io/py/openrouteservice - :alt: PyPI version - -.. image:: https://mybinder.org/badge_logo.svg - :target: https://mybinder.org/v2/gh/GIScience/openrouteservice-py/master?filepath=examples%2Fbasic_example.ipynb - :alt: MyBinder - -Quickstart -================================================== - -Description --------------------------------------------------- -The openrouteservice library gives you painless access to the openrouteservice_ (ORS) routing API's. -It performs requests against our API's for - -- directions_ -- isochrones_ -- `matrix routing calculations`_ -- places_ -- elevation_ -- `Pelias geocoding`_ -- `Pelias reverse geocoding`_ -- `Pelias structured geocoding`_ -- `Pelias autocomplete`_ -- Optimization_ - -For further details, please visit: - -- homepage_ -- `ORS API documentation`_ -- `openrouteservice-py documentation`_ - -We also have a repo with a few useful examples here_. - -For support, please ask our forum_. - -By using this library, you agree to the ORS `terms and conditions`_. - -.. _openrouteservice: https://openrouteservice.org -.. _homepage: https://openrouteservice.org -.. _`ORS API documentation`: https://openrouteservice.org/documentation/ -.. _`openrouteservice-py documentation`: http://openrouteservice-py.readthedocs.io/en/latest/ -.. _directions: https://openrouteservice.org/documentation/#/reference/directions/directions/directions-service -.. _`Pelias geocoding`: https://github.com/pelias/documentation/blob/master/search.md#available-search-parameters -.. _`Pelias reverse geocoding`: https://github.com/pelias/documentation/blob/master/reverse.md#reverse-geocoding-parameters -.. _`Pelias structured geocoding`: https://github.com/pelias/documentation/blob/master/structured-geocoding.md -.. _`Pelias autocomplete`: https://github.com/pelias/documentation/blob/master/autocomplete.md -.. _isochrones: https://openrouteservice.org/documentation/#/reference/isochrones/isochrones/isochrones-service -.. _elevation: https://github.com/GIScience/openelevationservice/ -.. _`reverse geocoding`: https://openrouteservice.org/documentation/#/reference/geocoding/geocoding/geocoding-service -.. _`matrix routing calculations`: https://openrouteservice.org/documentation/#/reference/matrix/matrix/matrix-service-(post) -.. _places: https://github.com/GIScience/openpoiservice -.. _Optimization: https://github.com/VROOM-Project/vroom/blob/master/docs/API.md -.. _here: https://github.com/GIScience/openrouteservice-examples/tree/master/python -.. _`terms and conditions`: https://openrouteservice.org/terms-of-service/ -.. _forum: https://ask.openrouteservice.org/c/sdks - -Requirements ------------------------------ -openrouteservice-py is tested against Python 3.6, 3.7, 3.8 and 3.9, and PyPy3.6 and PyPy3.7. - -For setting up a testing environment, install **poetry** first. - -For Linux and osx:: - - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - - -For windows:: - - (Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python - - -Then create a venv and install the dependencies with poetry:: - - python -m venv .venv && source .venv/bin/activate - poetry install -vv - -Installation ------------------------------- -To install from PyPI, simply use pip:: - - pip install openrouteservice - -To install the latest and greatest from source:: - - pip install git+git://github.com/GIScience/openrouteservice-py@development - - - -Testing ---------------------------------- -If you want to run the unit tests, see Requirements_. ``cd`` to the library directory and run:: - - pytest -v - -``-v`` flag for verbose output (recommended). - - -Usage ---------------------------------- - -For an interactive Jupyter notebook have a look on `mybinder.org `_. - -Basic example -^^^^^^^^^^^^^^^^^^^^ -.. code:: python - - import openrouteservice - - coords = ((8.34234,48.23424),(8.34423,48.26424)) - - client = openrouteservice.Client(key='') # Specify your personal API key - routes = client.directions(coords) - - print(routes) - -For convenience, all request performing module methods are wrapped inside the ``client`` class. This has the -disadvantage, that your IDE can't auto-show all positional and optional arguments for the -different methods. And there are a lot! - -The slightly more verbose alternative, preserving your IDE's smart functions, is - -.. code:: python - - import openrouteservice - from openrouteservice.directions import directions - - coords = ((8.34234,48.23424),(8.34423,48.26424)) - - client = openrouteservice.Client(key='') # Specify your personal API key - routes = directions(client, coords) # Now it shows you all arguments for .directions - -Optimize route -^^^^^^^^^^^^^^^^^^^^^^^^^^ -If you want to optimize the order of multiple waypoints in a simple `Traveling Salesman Problem `_, -you can pass a ``optimize_waypoints`` parameter: - -.. code:: python - - import openrouteservice - - coords = ((8.34234,48.23424),(8.34423,48.26424), (8.34523,48.24424), (8.41423,48.21424)) - - client = openrouteservice.Client(key='') # Specify your personal API key - routes = client.directions(coords, profile='cycling-regular', optimize_waypoints=True) - - print(routes) - -Decode Polyline -^^^^^^^^^^^^^^^^^^^^^^^^^^ -By default, the directions API returns `encoded polylines `_. -To decode to a ``dict``, which is a GeoJSON geometry object, simply do - -.. code:: python - - import openrouteservice - from openrouteservice import convert - - coords = ((8.34234,48.23424),(8.34423,48.26424)) - - client = openrouteservice.Client(key='') # Specify your personal API key - - # decode_polyline needs the geometry only - geometry = client.directions(coords)['routes'][0]['geometry'] - - decoded = convert.decode_polyline(geometry) - - print(decoded) - -Dry run -^^^^^^^^^^^^^^^^^^^^ -Although errors in query creation should be handled quite decently, you can do a dry run to print the request and its parameters: - -.. code:: python - - import openrouteservice - - coords = ((8.34234,48.23424),(8.34423,48.26424)) - - client = openrouteservice.Client() - client.directions(coords, dry_run='true') - -Local ORS instance -^^^^^^^^^^^^^^^^^^^^ -If you're hosting your own ORS instance, you can alter the ``base_url`` parameter to fit your own: - -.. code:: python - - import openrouteservice - - coords = ((8.34234,48.23424),(8.34423,48.26424)) - - # key can be omitted for local host - client = openrouteservice.Client(base_url='http://localhost/ors') - - # Only works if you didn't change the ORS endpoints manually - routes = client.directions(coords) - - # If you did change the ORS endpoints for some reason - # you'll have to pass url and required parameters explicitly: - routes = client.request( - url='/new_url', - post_json={ - 'coordinates': coords, - 'profile': 'driving-car', - 'format': 'geojson' - }) - -Support --------- - -For general support and questions, contact our forum_. - -For issues/bugs/enhancement suggestions, please use https://github.com/GIScience/openrouteservice-py/issues. - - -.. _forum: https://ask.openrouteservice.org/c/sdks - - -Acknowledgements ------------------ - -This library is based on the very elegant codebase from googlemaps_. - - -.. _googlemaps: https://github.com/googlemaps/google-maps-services-python diff --git a/cleanup.sh b/cleanup.sh new file mode 100755 index 00000000..5f4be820 --- /dev/null +++ b/cleanup.sh @@ -0,0 +1,23 @@ + +mv "`pwd`/openrouteservice/utility.py" "`pwd`/utility.py" + +rm -r docs +rm -r .tox +rm -r openrouteservice +rm -r openrouteservice.egg-info +rm README.md +rm setup.py +rm requirements.txt +rm test-requirements.txt +rm tox.ini +rm .travis.yml +rm git_push.sh + +mkdir openrouteservice +mv "`pwd`/utility.py" "`pwd`/openrouteservice/utility.py" + +mkdir test/bup +mv test/test_*_api.py test/bup/ +rm test/test_*.py +mv test/bup/* test/ +rmdir test/bup/ diff --git a/docs/AlternativeRoutes.md b/docs/AlternativeRoutes.md new file mode 100644 index 00000000..5120bb4f --- /dev/null +++ b/docs/AlternativeRoutes.md @@ -0,0 +1,11 @@ +# AlternativeRoutes + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**share_factor** | **float** | Maximum fraction of the route that alternatives may share with the optimal route. The default value of 0.6 means alternatives can share up to 60% of path segments with the optimal route. | [optional] +**target_count** | **int** | Target number of alternative routes to compute. Service returns up to this number of routes that fulfill the share-factor and weight-factor constraints. | [optional] +**weight_factor** | **float** | Maximum factor by which route weight may diverge from the optimal route. The default value of 1.4 means alternatives can be up to 1.4 times longer (costly) than the optimal route. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/DirectionsService.md b/docs/DirectionsService.md new file mode 100644 index 00000000..f7fc7e23 --- /dev/null +++ b/docs/DirectionsService.md @@ -0,0 +1,35 @@ +# DirectionsService + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**alternative_routes** | [**AlternativeRoutes**](AlternativeRoutes.md) | | [optional] +**attributes** | **list[str]** | List of route attributes | [optional] +**bearings** | **list[list[float]]** | Specifies a list of pairs (bearings and deviations) to filter the segments of the road network a waypoint can snap to. \"For example `bearings=[[45,10],[120,20]]`. \"Each pair is a comma-separated list that can consist of one or two float values, where the first value is the bearing and the second one is the allowed deviation from the bearing. \"The bearing can take values between `0` and `360` clockwise from true north. If the deviation is not set, then the default value of `100` degrees is used. \"The number of pairs must correspond to the number of waypoints. \"The number of bearings corresponds to the length of waypoints-1 or waypoints. If the bearing information for the last waypoint is given, then this will control the sector from which the destination waypoint may be reached. \"You can skip a bearing for a certain waypoint by passing an empty value for an array, e.g. `[30,20],[],[40,20]`. | [optional] +**continue_straight** | **bool** | Forces the route to keep going straight at waypoints restricting uturns there even if it would be faster. | [optional] [default to False] +**coordinates** | **list[list[float]]** | The waypoints to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) | +**elevation** | **bool** | Specifies whether to return elevation values for points. Please note that elevation also gets encoded for json response encoded polyline. | [optional] +**extra_info** | **list[str]** | The extra info items to include in the response | [optional] +**geometry** | **bool** | Specifies whether to return geometry. | [optional] [default to True] +**geometry_simplify** | **bool** | Specifies whether to simplify the geometry. Simplify geometry cannot be applied to routes with more than **one segment** and when `extra_info` is required. | [optional] [default to False] +**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] +**ignore_transfers** | **bool** | Specifies if transfers as criterion should be ignored. | [optional] [default to False] +**instructions** | **bool** | Specifies whether to return instructions. | [optional] [default to True] +**instructions_format** | **str** | Select html for more verbose instructions. | [optional] [default to 'text'] +**language** | **str** | Language for the route instructions. | [optional] [default to 'en'] +**maneuvers** | **bool** | Specifies whether the maneuver object is included into the step object or not. | [optional] [default to False] +**maximum_speed** | **float** | The maximum speed specified by user. | [optional] +**options** | [**RouteOptions**](RouteOptions.md) | | [optional] +**preference** | **str** | Specifies the route preference | [optional] [default to 'recommended'] +**radiuses** | **list[float]** | A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. | [optional] +**roundabout_exits** | **bool** | Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. | [optional] [default to False] +**schedule** | **bool** | If true, return a public transport schedule starting at <departure> for the next <schedule_duration> minutes. | [optional] [default to False] +**schedule_duration** | [**V2directionsprofilegeojsonScheduleDuration**](V2directionsprofilegeojsonScheduleDuration.md) | | [optional] +**schedule_rows** | **int** | The maximum amount of entries that should be returned when requesting a schedule. | [optional] +**skip_segments** | **list[int]** | Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. | [optional] +**suppress_warnings** | **bool** | Suppress warning messages in the response | [optional] +**units** | **str** | Specifies the distance unit. | [optional] [default to 'm'] +**walking_time** | [**V2directionsprofilegeojsonWalkingTime**](V2directionsprofilegeojsonWalkingTime.md) | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/DirectionsService1.md b/docs/DirectionsService1.md new file mode 100644 index 00000000..31421449 --- /dev/null +++ b/docs/DirectionsService1.md @@ -0,0 +1,35 @@ +# DirectionsService1 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**alternative_routes** | [**AlternativeRoutes**](AlternativeRoutes.md) | | [optional] +**attributes** | **list[str]** | List of route attributes | [optional] +**bearings** | **list[list[float]]** | Specifies a list of pairs (bearings and deviations) to filter the segments of the road network a waypoint can snap to. \"For example `bearings=[[45,10],[120,20]]`. \"Each pair is a comma-separated list that can consist of one or two float values, where the first value is the bearing and the second one is the allowed deviation from the bearing. \"The bearing can take values between `0` and `360` clockwise from true north. If the deviation is not set, then the default value of `100` degrees is used. \"The number of pairs must correspond to the number of waypoints. \"The number of bearings corresponds to the length of waypoints-1 or waypoints. If the bearing information for the last waypoint is given, then this will control the sector from which the destination waypoint may be reached. \"You can skip a bearing for a certain waypoint by passing an empty value for an array, e.g. `[30,20],[],[40,20]`. | [optional] +**continue_straight** | **bool** | Forces the route to keep going straight at waypoints restricting uturns there even if it would be faster. | [optional] [default to False] +**coordinates** | **list[list[float]]** | The waypoints to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) | +**elevation** | **bool** | Specifies whether to return elevation values for points. Please note that elevation also gets encoded for json response encoded polyline. | [optional] +**extra_info** | **list[str]** | The extra info items to include in the response | [optional] +**geometry** | **bool** | Specifies whether to return geometry. | [optional] [default to True] +**geometry_simplify** | **bool** | Specifies whether to simplify the geometry. Simplify geometry cannot be applied to routes with more than **one segment** and when `extra_info` is required. | [optional] [default to False] +**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] +**ignore_transfers** | **bool** | Specifies if transfers as criterion should be ignored. | [optional] [default to False] +**instructions** | **bool** | Specifies whether to return instructions. | [optional] [default to True] +**instructions_format** | **str** | Select html for more verbose instructions. | [optional] [default to 'text'] +**language** | **str** | Language for the route instructions. | [optional] [default to 'en'] +**maneuvers** | **bool** | Specifies whether the maneuver object is included into the step object or not. | [optional] [default to False] +**maximum_speed** | **float** | The maximum speed specified by user. | [optional] +**options** | [**RouteOptions**](RouteOptions.md) | | [optional] +**preference** | **str** | Specifies the route preference | [optional] [default to 'recommended'] +**radiuses** | **list[float]** | A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. | [optional] +**roundabout_exits** | **bool** | Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. | [optional] [default to False] +**schedule** | **bool** | If true, return a public transport schedule starting at <departure> for the next <schedule_duration> minutes. | [optional] [default to False] +**schedule_duration** | [**V2directionsprofilegeojsonScheduleDuration**](V2directionsprofilegeojsonScheduleDuration.md) | | [optional] +**schedule_rows** | **int** | The maximum amount of entries that should be returned when requesting a schedule. | [optional] +**skip_segments** | **list[int]** | Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. | [optional] +**suppress_warnings** | **bool** | Suppress warning messages in the response | [optional] +**units** | **str** | Specifies the distance unit. | [optional] [default to 'm'] +**walking_time** | [**V2directionsprofilegeojsonWalkingTime**](V2directionsprofilegeojsonWalkingTime.md) | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/DirectionsServiceApi.md b/docs/DirectionsServiceApi.md new file mode 100644 index 00000000..9ac21848 --- /dev/null +++ b/docs/DirectionsServiceApi.md @@ -0,0 +1,121 @@ +# openrouteservice.DirectionsServiceApi + +All URIs are relative to *https://api.openrouteservice.org* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_geo_json_route**](DirectionsServiceApi.md#get_geo_json_route) | **POST** /v2/directions/{profile}/geojson | Directions Service GeoJSON +[**get_json_route**](DirectionsServiceApi.md#get_json_route) | **POST** /v2/directions/{profile}/json | Directions Service JSON + +# **get_geo_json_route** +> InlineResponse2003 get_geo_json_route(body, profile) + +Directions Service GeoJSON + +Returns a route between two or more locations for a selected profile and its settings as GeoJSON + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.DirectionsServiceApi(openrouteservice.ApiClient(configuration)) +body = openrouteservice.DirectionsService() # DirectionsService | +profile = 'profile_example' # str | Specifies the route profile. + +try: + # Directions Service GeoJSON + api_response = api_instance.get_geo_json_route(body, profile) + pprint(api_response) +except ApiException as e: + print("Exception when calling DirectionsServiceApi->get_geo_json_route: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**DirectionsService**](DirectionsService.md)| | + **profile** | **str**| Specifies the route profile. | + +### Return type + +[**InlineResponse2003**](InlineResponse2003.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/geo+json, */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + +# **get_json_route** +> InlineResponse2004 get_json_route(body, profile) + +Directions Service JSON + +Returns a route between two or more locations for a selected profile and its settings as JSON + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.DirectionsServiceApi(openrouteservice.ApiClient(configuration)) +body = openrouteservice.DirectionsService1() # DirectionsService1 | +profile = 'profile_example' # str | Specifies the route profile. + +try: + # Directions Service JSON + api_response = api_instance.get_json_route(body, profile) + pprint(api_response) +except ApiException as e: + print("Exception when calling DirectionsServiceApi->get_json_route: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**DirectionsService1**](DirectionsService1.md)| | + **profile** | **str**| Specifies the route profile. | + +### Return type + +[**InlineResponse2004**](InlineResponse2004.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + diff --git a/docs/ElevationApi.md b/docs/ElevationApi.md new file mode 100644 index 00000000..ac895d8f --- /dev/null +++ b/docs/ElevationApi.md @@ -0,0 +1,176 @@ +# openrouteservice.ElevationApi + +All URIs are relative to *https://api.openrouteservice.org* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**elevation_line_post**](ElevationApi.md#elevation_line_post) | **POST** /elevation/line | Elevation Line Service +[**elevation_point_get**](ElevationApi.md#elevation_point_get) | **GET** /elevation/point | Elevation Point Service +[**elevation_point_post**](ElevationApi.md#elevation_point_post) | **POST** /elevation/point | Elevation Point Service + +# **elevation_line_post** +> InlineResponse200 elevation_line_post(body) + +Elevation Line Service + +This endpoint can take planar 2D line objects and enrich them with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Polyline * Google's Encoded polyline with coordinate precision 5 or 6 Example: ``` # POST LineString as polyline curl -XPOST https://api.openrouteservice.org/elevation/line -H 'Content-Type: application/json' \\ -H 'Authorization: INSERT_YOUR_KEY -d '{ \"format_in\": \"polyline\", \"format_out\": \"encodedpolyline5\", \"geometry\": [[13.349762, 38.112952], [12.638397, 37.645772]] }' ``` + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.ElevationApi(openrouteservice.ApiClient(configuration)) +body = openrouteservice.ElevationLineBody() # ElevationLineBody | Query the elevation of a line in various formats. + +try: + # Elevation Line Service + api_response = api_instance.elevation_line_post(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling ElevationApi->elevation_line_post: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**ElevationLineBody**](ElevationLineBody.md)| Query the elevation of a line in various formats. | + +### Return type + +[**InlineResponse200**](InlineResponse200.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + +# **elevation_point_get** +> InlineResponse2001 elevation_point_get(geometry, format_out=format_out, dataset=dataset) + +Elevation Point Service + +This endpoint can take a 2D point and enrich it with elevation from a variety of datasets. The output formats are: * GeoJSON * Point Example: ``` # GET point curl -XGET https://localhost:5000/elevation/point?geometry=13.349762,38.11295 ``` + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.ElevationApi(openrouteservice.ApiClient(configuration)) +geometry = [3.4] # list[float] | The point to be queried, in comma-separated lon,lat values, e.g. [13.349762, 38.11295] +format_out = 'geojson' # str | The output format to be returned. (optional) (default to geojson) +dataset = 'srtm' # str | The elevation dataset to be used. (optional) (default to srtm) + +try: + # Elevation Point Service + api_response = api_instance.elevation_point_get(geometry, format_out=format_out, dataset=dataset) + pprint(api_response) +except ApiException as e: + print("Exception when calling ElevationApi->elevation_point_get: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **geometry** | [**list[float]**](float.md)| The point to be queried, in comma-separated lon,lat values, e.g. [13.349762, 38.11295] | + **format_out** | **str**| The output format to be returned. | [optional] [default to geojson] + **dataset** | **str**| The elevation dataset to be used. | [optional] [default to srtm] + +### Return type + +[**InlineResponse2001**](InlineResponse2001.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + +# **elevation_point_post** +> InlineResponse2001 elevation_point_post(body) + +Elevation Point Service + +This endpoint can take a 2D point and enrich it with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Point Example: ``` # POST point as GeoJSON # https://api.openrouteservice.org/elevation/point?api_key=YOUR-KEY { \"format_in\": \"geojson\", \"format_out\": \"geojson\", \"geometry\": { \"coordinates\": [13.349762, 38.11295], \"type\": \"Point\" } } ``` + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.ElevationApi(openrouteservice.ApiClient(configuration)) +body = openrouteservice.ElevationPointBody() # ElevationPointBody | Query the elevation of a point in various formats. + +try: + # Elevation Point Service + api_response = api_instance.elevation_point_post(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling ElevationApi->elevation_point_post: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**ElevationPointBody**](ElevationPointBody.md)| Query the elevation of a point in various formats. | + +### Return type + +[**InlineResponse2001**](InlineResponse2001.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + diff --git a/docs/ElevationLineBody.md b/docs/ElevationLineBody.md new file mode 100644 index 00000000..a39001cc --- /dev/null +++ b/docs/ElevationLineBody.md @@ -0,0 +1,12 @@ +# ElevationLineBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dataset** | **str** | The elevation dataset to be used. | [optional] [default to 'srtm'] +**format_in** | **str** | The input format the API has to expect. | +**format_out** | **str** | The output format to be returned. | [optional] [default to 'geojson'] +**geometry** | **object** | * geojson: A geometry object of a LineString GeoJSON, e.g. {\"type\": \"LineString\", \"coordinates\": [[13.331302, 38.108433],[13.331273, 38.10849]] } * polyline: A list of coordinate lists, e.g. [[13.331302, 38.108433], [13.331273, 38.10849]] * encodedpolyline5: A <a href=\"https://developers.google.com/maps/documentation/utilities/polylinealgorithm\">Google encoded polyline</a> with a coordinate precision of 5, e.g. u`rgFswjpAKD * encodedpolyline6: A <a href=\"https://developers.google.com/maps/documentation/utilities/polylinealgorithm\">Google encoded polyline</a> with a coordinate precision of 6, e.g. ap}tgAkutlXqBx@ | + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/ElevationPointBody.md b/docs/ElevationPointBody.md new file mode 100644 index 00000000..1f96f45b --- /dev/null +++ b/docs/ElevationPointBody.md @@ -0,0 +1,12 @@ +# ElevationPointBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dataset** | **str** | The elevation dataset to be used. | [optional] [default to 'srtm'] +**format_in** | **str** | The input format the API has to expect. | +**format_out** | **str** | The output format to be returned. | [optional] [default to 'geojson'] +**geometry** | **object** | * geojson: A geometry object of a Point GeoJSON, e.g. {\"type\": \"Point\", \"coordinates\": [13.331273, 38.10849] } * point: A coordinate list, e.g. [13.331273, 38.10849] | + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/EngineInfo.md b/docs/EngineInfo.md new file mode 100644 index 00000000..14afea75 --- /dev/null +++ b/docs/EngineInfo.md @@ -0,0 +1,11 @@ +# EngineInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**build_date** | **str** | The date that the service was last updated | [optional] +**graph_date** | **str** | The date that the graph data was last updated | [optional] +**version** | **str** | The backend version of the openrouteservice that was queried | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONFeaturesObject.md b/docs/GeoJSONFeaturesObject.md new file mode 100644 index 00000000..32f4087f --- /dev/null +++ b/docs/GeoJSONFeaturesObject.md @@ -0,0 +1,11 @@ +# GeoJSONFeaturesObject + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**feature_properties** | [**GeoJSONPropertiesObject**](GeoJSONPropertiesObject.md) | | [optional] +**geometry** | [**GeoJSONGeometryObject**](GeoJSONGeometryObject.md) | | [optional] +**type** | **str** | | [optional] [default to 'Feature'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONGeometryObject.md b/docs/GeoJSONGeometryObject.md new file mode 100644 index 00000000..c20f9d63 --- /dev/null +++ b/docs/GeoJSONGeometryObject.md @@ -0,0 +1,10 @@ +# GeoJSONGeometryObject + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**coordinates** | **list[float]** | | [optional] +**type** | **str** | | [optional] [default to 'Point'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONIsochroneBase.md b/docs/GeoJSONIsochroneBase.md new file mode 100644 index 00000000..7586bb06 --- /dev/null +++ b/docs/GeoJSONIsochroneBase.md @@ -0,0 +1,10 @@ +# GeoJSONIsochroneBase + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**geometry** | [**GeoJSONIsochroneBaseGeometry**](GeoJSONIsochroneBaseGeometry.md) | | [optional] +**type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONIsochroneBaseGeometry.md b/docs/GeoJSONIsochroneBaseGeometry.md new file mode 100644 index 00000000..7aa7b599 --- /dev/null +++ b/docs/GeoJSONIsochroneBaseGeometry.md @@ -0,0 +1,9 @@ +# GeoJSONIsochroneBaseGeometry + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**empty** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONIsochronesResponse.md b/docs/GeoJSONIsochronesResponse.md new file mode 100644 index 00000000..c5ea1dba --- /dev/null +++ b/docs/GeoJSONIsochronesResponse.md @@ -0,0 +1,12 @@ +# GeoJSONIsochronesResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bbox** | **list[float]** | Bounding box that covers all returned isochrones | [optional] +**features** | [**list[GeoJSONIsochronesResponseFeatures]**](GeoJSONIsochronesResponseFeatures.md) | | [optional] +**metadata** | [**GeoJSONIsochronesResponseMetadata**](GeoJSONIsochronesResponseMetadata.md) | | [optional] +**type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONIsochronesResponseFeatures.md b/docs/GeoJSONIsochronesResponseFeatures.md new file mode 100644 index 00000000..1c47d7f5 --- /dev/null +++ b/docs/GeoJSONIsochronesResponseFeatures.md @@ -0,0 +1,10 @@ +# GeoJSONIsochronesResponseFeatures + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**geometry** | [**GeoJSONIsochroneBaseGeometry**](GeoJSONIsochroneBaseGeometry.md) | | [optional] +**type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONIsochronesResponseMetadata.md b/docs/GeoJSONIsochronesResponseMetadata.md new file mode 100644 index 00000000..cb75cb10 --- /dev/null +++ b/docs/GeoJSONIsochronesResponseMetadata.md @@ -0,0 +1,16 @@ +# GeoJSONIsochronesResponseMetadata + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribution** | **str** | Copyright and attribution information | [optional] +**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**id** | **str** | ID of the request (as passed in by the query) | [optional] +**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] +**query** | [**IsochronesProfileBody**](IsochronesProfileBody.md) | | [optional] +**service** | **str** | The service that was requested | [optional] +**system_message** | **str** | System message | [optional] +**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONIsochronesResponseMetadataEngine.md b/docs/GeoJSONIsochronesResponseMetadataEngine.md new file mode 100644 index 00000000..ce77d8ea --- /dev/null +++ b/docs/GeoJSONIsochronesResponseMetadataEngine.md @@ -0,0 +1,11 @@ +# GeoJSONIsochronesResponseMetadataEngine + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**build_date** | **str** | The date that the service was last updated | [optional] +**graph_date** | **str** | The date that the graph data was last updated | [optional] +**version** | **str** | The backend version of the openrouteservice that was queried | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONPropertiesObject.md b/docs/GeoJSONPropertiesObject.md new file mode 100644 index 00000000..b3643f07 --- /dev/null +++ b/docs/GeoJSONPropertiesObject.md @@ -0,0 +1,13 @@ +# GeoJSONPropertiesObject + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**category_ids** | [**GeoJSONPropertiesObjectCategoryIds**](GeoJSONPropertiesObjectCategoryIds.md) | | [optional] +**distance** | **float** | | [optional] +**osm_id** | **float** | | [optional] +**osm_tags** | [**GeoJSONPropertiesObjectOsmTags**](GeoJSONPropertiesObjectOsmTags.md) | | [optional] +**osm_type** | **float** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONPropertiesObjectCategoryIds.md b/docs/GeoJSONPropertiesObjectCategoryIds.md new file mode 100644 index 00000000..4f873c68 --- /dev/null +++ b/docs/GeoJSONPropertiesObjectCategoryIds.md @@ -0,0 +1,9 @@ +# GeoJSONPropertiesObjectCategoryIds + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**category_id** | [**GeoJSONPropertiesObjectCategoryIdsCategoryId**](GeoJSONPropertiesObjectCategoryIdsCategoryId.md) | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md b/docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md new file mode 100644 index 00000000..53de8f0d --- /dev/null +++ b/docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md @@ -0,0 +1,10 @@ +# GeoJSONPropertiesObjectCategoryIdsCategoryId + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**category_group** | **float** | | [optional] +**category_name** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONPropertiesObjectOsmTags.md b/docs/GeoJSONPropertiesObjectOsmTags.md new file mode 100644 index 00000000..2bbadb10 --- /dev/null +++ b/docs/GeoJSONPropertiesObjectOsmTags.md @@ -0,0 +1,15 @@ +# GeoJSONPropertiesObjectOsmTags + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address** | **str** | | [optional] +**distance** | **str** | | [optional] +**fee** | **str** | | [optional] +**name** | **str** | | [optional] +**opening_hours** | **str** | | [optional] +**website** | **str** | | [optional] +**wheelchair** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONRouteResponse.md b/docs/GeoJSONRouteResponse.md new file mode 100644 index 00000000..a7dbbba1 --- /dev/null +++ b/docs/GeoJSONRouteResponse.md @@ -0,0 +1,12 @@ +# GeoJSONRouteResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bbox** | **list[float]** | Bounding box that covers all returned routes | [optional] +**features** | **list[object]** | | [optional] +**metadata** | [**GeoJSONRouteResponseMetadata**](GeoJSONRouteResponseMetadata.md) | | [optional] +**type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONRouteResponseMetadata.md b/docs/GeoJSONRouteResponseMetadata.md new file mode 100644 index 00000000..04de4589 --- /dev/null +++ b/docs/GeoJSONRouteResponseMetadata.md @@ -0,0 +1,16 @@ +# GeoJSONRouteResponseMetadata + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribution** | **str** | Copyright and attribution information | [optional] +**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**id** | **str** | ID of the request (as passed in by the query) | [optional] +**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] +**query** | [**DirectionsService1**](DirectionsService1.md) | | [optional] +**service** | **str** | The service that was requested | [optional] +**system_message** | **str** | System message | [optional] +**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeocodeApi.md b/docs/GeocodeApi.md new file mode 100644 index 00000000..f3db47c5 --- /dev/null +++ b/docs/GeocodeApi.md @@ -0,0 +1,325 @@ +# openrouteservice.GeocodeApi + +All URIs are relative to *https://api.openrouteservice.org* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**geocode_autocomplete_get**](GeocodeApi.md#geocode_autocomplete_get) | **GET** /geocode/autocomplete | Geocode Autocomplete Service +[**geocode_reverse_get**](GeocodeApi.md#geocode_reverse_get) | **GET** /geocode/reverse | Reverse Geocode Service +[**geocode_search_get**](GeocodeApi.md#geocode_search_get) | **GET** /geocode/search | Forward Geocode Service +[**geocode_search_structured_get**](GeocodeApi.md#geocode_search_structured_get) | **GET** /geocode/search/structured | Structured Forward Geocode Service (beta) + +# **geocode_autocomplete_get** +> GeocodeResponse geocode_autocomplete_get(text, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_country=boundary_country, sources=sources, layers=layers) + +Geocode Autocomplete Service + +**Requests should be throttled when using this endpoint!** *Be aware that Responses are asynchronous.* Returns a JSON formatted list of objects corresponding to the search input. `boundary.*`-parameters can be combined if they are overlapping. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/autocomplete.md) + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.GeocodeApi(openrouteservice.ApiClient(configuration)) +text = 'text_example' # str | Name of location, street address or postal code. +focus_point_lon = 3.4 # float | Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. (optional) +focus_point_lat = 3.4 # float | Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. (optional) +boundary_rect_min_lon = 3.4 # float | Left border of rectangular boundary to narrow results. (optional) +boundary_rect_min_lat = 3.4 # float | Bottom border of rectangular boundary to narrow results. (optional) +boundary_rect_max_lon = 3.4 # float | Right border of rectangular boundary to narrow results. (optional) +boundary_rect_max_lat = 3.4 # float | Top border of rectangular boundary to narrow results. (optional) +boundary_country = 'boundary_country_example' # str | Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. (optional) +sources = ['[\"osm\",\"oa\",\"gn\",\"wof\"]'] # list[str] | Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). (optional) (default to ["osm","oa","gn","wof"]) +layers = ['layers_example'] # list[str] | Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| (optional) + +try: + # Geocode Autocomplete Service + api_response = api_instance.geocode_autocomplete_get(text, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_country=boundary_country, sources=sources, layers=layers) + pprint(api_response) +except ApiException as e: + print("Exception when calling GeocodeApi->geocode_autocomplete_get: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **text** | **str**| Name of location, street address or postal code. | + **focus_point_lon** | **float**| Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. | [optional] + **focus_point_lat** | **float**| Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. | [optional] + **boundary_rect_min_lon** | **float**| Left border of rectangular boundary to narrow results. | [optional] + **boundary_rect_min_lat** | **float**| Bottom border of rectangular boundary to narrow results. | [optional] + **boundary_rect_max_lon** | **float**| Right border of rectangular boundary to narrow results. | [optional] + **boundary_rect_max_lat** | **float**| Top border of rectangular boundary to narrow results. | [optional] + **boundary_country** | **str**| Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. | [optional] + **sources** | [**list[str]**](str.md)| Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). | [optional] [default to ["osm","oa","gn","wof"]] + **layers** | [**list[str]**](str.md)| Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| | [optional] + +### Return type + +[**GeocodeResponse**](GeocodeResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + +# **geocode_reverse_get** +> GeocodeResponse geocode_reverse_get(point_lon, point_lat, boundary_circle_radius=boundary_circle_radius, size=size, layers=layers, sources=sources, boundary_country=boundary_country) + +Reverse Geocode Service + +Returns the next enclosing object with an address tag which surrounds the given coordinate. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/reverse.md#reverse-geocoding) + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.GeocodeApi(openrouteservice.ApiClient(configuration)) +point_lon = 3.4 # float | Longitude of the coordinate to query. +point_lat = 48.858268 # float | Latitude of the coordinate to query. (default to 48.858268) +boundary_circle_radius = 1 # float | Restrict search to circular region around `point.lat/point.lon`. Value in kilometers. (optional) (default to 1) +size = 10 # int | Set the number of returned results. (optional) (default to 10) +layers = ['layers_example'] # list[str] | Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `locality`|towns, hamlets, cities| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| (optional) +sources = ['[\"osm\",\"oa\",\"gn\",\"wof\"]'] # list[str] | Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). (optional) (default to ["osm","oa","gn","wof"]) +boundary_country = 'boundary_country_example' # str | Restrict search to country by [alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) or [alpha 3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) codes. (optional) + +try: + # Reverse Geocode Service + api_response = api_instance.geocode_reverse_get(point_lon, point_lat, boundary_circle_radius=boundary_circle_radius, size=size, layers=layers, sources=sources, boundary_country=boundary_country) + pprint(api_response) +except ApiException as e: + print("Exception when calling GeocodeApi->geocode_reverse_get: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **point_lon** | **float**| Longitude of the coordinate to query. | + **point_lat** | **float**| Latitude of the coordinate to query. | [default to 48.858268] + **boundary_circle_radius** | **float**| Restrict search to circular region around `point.lat/point.lon`. Value in kilometers. | [optional] [default to 1] + **size** | **int**| Set the number of returned results. | [optional] [default to 10] + **layers** | [**list[str]**](str.md)| Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `locality`|towns, hamlets, cities| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| | [optional] + **sources** | [**list[str]**](str.md)| Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). | [optional] [default to ["osm","oa","gn","wof"]] + **boundary_country** | **str**| Restrict search to country by [alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) or [alpha 3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) codes. | [optional] + +### Return type + +[**GeocodeResponse**](GeocodeResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + +# **geocode_search_get** +> GeocodeResponse geocode_search_get(text, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_circle_lon=boundary_circle_lon, boundary_circle_lat=boundary_circle_lat, boundary_circle_radius=boundary_circle_radius, boundary_gid=boundary_gid, boundary_country=boundary_country, sources=sources, layers=layers, size=size) + +Forward Geocode Service + +Returns a JSON formatted list of objects corresponding to the search input. `boundary.*`-parameters can be combined if they are overlapping. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/search.md#search-the-world) + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.GeocodeApi(openrouteservice.ApiClient(configuration)) +text = 'text_example' # str | Name of location, street address or postal code. +focus_point_lon = 3.4 # float | Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. (optional) +focus_point_lat = 3.4 # float | Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. (optional) +boundary_rect_min_lon = 3.4 # float | Left border of rectangular boundary to narrow results. (optional) +boundary_rect_min_lat = 3.4 # float | Bottom border of rectangular boundary to narrow results. (optional) +boundary_rect_max_lon = 3.4 # float | Right border of rectangular boundary to narrow results. (optional) +boundary_rect_max_lat = 3.4 # float | Top border of rectangular boundary to narrow results. (optional) +boundary_circle_lon = 3.4 # float | Center Longitude of circular boundary to narrow results. Use with `boundary.circle.lat` & `boundary.circle.radius`. (optional) +boundary_circle_lat = 3.4 # float | Center Latitude of circular boundary to narrow results. Use with `boundary.circle.lon` & `boundary.circle.radius`. (optional) +boundary_circle_radius = 50 # float | Radius of circular boundary around the center coordinate in kilometers. Use with `boundary.circle.lon` & `boundary.circle.lat`. (optional) (default to 50) +boundary_gid = 'boundary_gid_example' # str | Restrict results to administrative boundary using a Pelias global id [`gid`](https://github.com/pelias/documentation/blob/f1f475aa4f8c18426fb80baea636990502c08ed3/search.md#search-within-a-parent-administrative-area). `gid`s for records can be found using either the [Who's on First Spelunker](http://spelunker.whosonfirst.org/), a tool for searching Who's on First data, or from the responses of other Pelias queries. In this case a [search for Oklahoma](http://pelias.github.io/compare/#/v1/search%3Ftext=oklahoma) will return the proper `gid`. (optional) +boundary_country = 'boundary_country_example' # str | Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. (optional) +sources = ['[\"osm\",\"oa\",\"gn\",\"wof\"]'] # list[str] | Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). (optional) (default to ["osm","oa","gn","wof"]) +layers = ['layers_example'] # list[str] | Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| (optional) +size = 10 # int | Set the number of returned results. (optional) (default to 10) + +try: + # Forward Geocode Service + api_response = api_instance.geocode_search_get(text, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_circle_lon=boundary_circle_lon, boundary_circle_lat=boundary_circle_lat, boundary_circle_radius=boundary_circle_radius, boundary_gid=boundary_gid, boundary_country=boundary_country, sources=sources, layers=layers, size=size) + pprint(api_response) +except ApiException as e: + print("Exception when calling GeocodeApi->geocode_search_get: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **text** | **str**| Name of location, street address or postal code. | + **focus_point_lon** | **float**| Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. | [optional] + **focus_point_lat** | **float**| Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. | [optional] + **boundary_rect_min_lon** | **float**| Left border of rectangular boundary to narrow results. | [optional] + **boundary_rect_min_lat** | **float**| Bottom border of rectangular boundary to narrow results. | [optional] + **boundary_rect_max_lon** | **float**| Right border of rectangular boundary to narrow results. | [optional] + **boundary_rect_max_lat** | **float**| Top border of rectangular boundary to narrow results. | [optional] + **boundary_circle_lon** | **float**| Center Longitude of circular boundary to narrow results. Use with `boundary.circle.lat` & `boundary.circle.radius`. | [optional] + **boundary_circle_lat** | **float**| Center Latitude of circular boundary to narrow results. Use with `boundary.circle.lon` & `boundary.circle.radius`. | [optional] + **boundary_circle_radius** | **float**| Radius of circular boundary around the center coordinate in kilometers. Use with `boundary.circle.lon` & `boundary.circle.lat`. | [optional] [default to 50] + **boundary_gid** | **str**| Restrict results to administrative boundary using a Pelias global id [`gid`](https://github.com/pelias/documentation/blob/f1f475aa4f8c18426fb80baea636990502c08ed3/search.md#search-within-a-parent-administrative-area). `gid`s for records can be found using either the [Who's on First Spelunker](http://spelunker.whosonfirst.org/), a tool for searching Who's on First data, or from the responses of other Pelias queries. In this case a [search for Oklahoma](http://pelias.github.io/compare/#/v1/search%3Ftext=oklahoma) will return the proper `gid`. | [optional] + **boundary_country** | **str**| Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. | [optional] + **sources** | [**list[str]**](str.md)| Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). | [optional] [default to ["osm","oa","gn","wof"]] + **layers** | [**list[str]**](str.md)| Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| | [optional] + **size** | **int**| Set the number of returned results. | [optional] [default to 10] + +### Return type + +[**GeocodeResponse**](GeocodeResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + +# **geocode_search_structured_get** +> GeocodeResponse geocode_search_structured_get(address=address, neighbourhood=neighbourhood, country=country, postalcode=postalcode, region=region, county=county, locality=locality, borough=borough, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_circle_lon=boundary_circle_lon, boundary_circle_lat=boundary_circle_lat, boundary_circle_radius=boundary_circle_radius, boundary_country=boundary_country, layers=layers, sources=sources, size=size) + +Structured Forward Geocode Service (beta) + +Returns a JSON formatted list of objects corresponding to the search input. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/structured-geocoding.md#structured-geocoding) + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.GeocodeApi(openrouteservice.ApiClient(configuration)) +address = 'address_example' # str | Search for full address with house number or only a street name. (optional) +neighbourhood = 'neighbourhood_example' # str | Search for neighbourhoods. Neighbourhoods are vernacular geographic entities that may not necessarily be official administrative divisions but are important nonetheless. Example: `Notting Hill`. (optional) +country = 'country_example' # str | Search for full country name, [alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) or [alpha 3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) codes. (optional) +postalcode = 'postalcode_example' # str | Search for postal codes. Postal codes are unique within a country so they are useful in geocoding as a shorthand for a fairly granular geographical location. (optional) +region = 'region_example' # str | Search for regions. Regions are normally the first-level administrative divisions within countries. For US-regions [common abbreviations](https://en.wikipedia.org/wiki/List_of_U.S._state_abbreviations) can be used. (optional) +county = 'county_example' # str | Search for counties. Counties are administrative divisions between localities and regions. Can be useful when attempting to disambiguate between localities. (optional) +locality = 'Tokyo' # str | Search for localities. Localities are equivalent to what are commonly referred to as *cities*. (optional) (default to Tokyo) +borough = 'borough_example' # str | Search for boroughs. Boroughs are mostly known in the context of New York City, even though they may exist in other cities, such as Mexico City. Example: `Manhatten`. (optional) +focus_point_lon = 3.4 # float | Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. (optional) +focus_point_lat = 3.4 # float | Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. (optional) +boundary_rect_min_lon = 3.4 # float | Left border of rectangular boundary to narrow results. (optional) +boundary_rect_min_lat = 3.4 # float | Bottom border of rectangular boundary to narrow results. (optional) +boundary_rect_max_lon = 3.4 # float | Right border of rectangular boundary to narrow results. (optional) +boundary_rect_max_lat = 3.4 # float | Top border of rectangular boundary to narrow results. (optional) +boundary_circle_lon = 3.4 # float | Center Longitude of circular boundary to narrow results. Use with `boundary.circle.lat` & `boundary.circle.radius`. (optional) +boundary_circle_lat = 3.4 # float | Center Latitude of circular boundary to narrow results. Use with `boundary.circle.lon` & `boundary.circle.radius`. (optional) +boundary_circle_radius = 50 # float | Radius of circular boundary around the center coordinate in kilometers. Use with `boundary.circle.lon` & `boundary.circle.lat`. (optional) (default to 50) +boundary_country = 'boundary_country_example' # str | Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. (optional) +layers = ['layers_example'] # list[str] | Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| (optional) +sources = ['[\"osm\",\"oa\",\"gn\",\"wof\"]'] # list[str] | Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). (optional) (default to ["osm","oa","gn","wof"]) +size = 10 # int | Set the number of returned results. (optional) (default to 10) + +try: + # Structured Forward Geocode Service (beta) + api_response = api_instance.geocode_search_structured_get(address=address, neighbourhood=neighbourhood, country=country, postalcode=postalcode, region=region, county=county, locality=locality, borough=borough, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_circle_lon=boundary_circle_lon, boundary_circle_lat=boundary_circle_lat, boundary_circle_radius=boundary_circle_radius, boundary_country=boundary_country, layers=layers, sources=sources, size=size) + pprint(api_response) +except ApiException as e: + print("Exception when calling GeocodeApi->geocode_search_structured_get: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **address** | **str**| Search for full address with house number or only a street name. | [optional] + **neighbourhood** | **str**| Search for neighbourhoods. Neighbourhoods are vernacular geographic entities that may not necessarily be official administrative divisions but are important nonetheless. Example: `Notting Hill`. | [optional] + **country** | **str**| Search for full country name, [alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) or [alpha 3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) codes. | [optional] + **postalcode** | **str**| Search for postal codes. Postal codes are unique within a country so they are useful in geocoding as a shorthand for a fairly granular geographical location. | [optional] + **region** | **str**| Search for regions. Regions are normally the first-level administrative divisions within countries. For US-regions [common abbreviations](https://en.wikipedia.org/wiki/List_of_U.S._state_abbreviations) can be used. | [optional] + **county** | **str**| Search for counties. Counties are administrative divisions between localities and regions. Can be useful when attempting to disambiguate between localities. | [optional] + **locality** | **str**| Search for localities. Localities are equivalent to what are commonly referred to as *cities*. | [optional] [default to Tokyo] + **borough** | **str**| Search for boroughs. Boroughs are mostly known in the context of New York City, even though they may exist in other cities, such as Mexico City. Example: `Manhatten`. | [optional] + **focus_point_lon** | **float**| Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. | [optional] + **focus_point_lat** | **float**| Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. | [optional] + **boundary_rect_min_lon** | **float**| Left border of rectangular boundary to narrow results. | [optional] + **boundary_rect_min_lat** | **float**| Bottom border of rectangular boundary to narrow results. | [optional] + **boundary_rect_max_lon** | **float**| Right border of rectangular boundary to narrow results. | [optional] + **boundary_rect_max_lat** | **float**| Top border of rectangular boundary to narrow results. | [optional] + **boundary_circle_lon** | **float**| Center Longitude of circular boundary to narrow results. Use with `boundary.circle.lat` & `boundary.circle.radius`. | [optional] + **boundary_circle_lat** | **float**| Center Latitude of circular boundary to narrow results. Use with `boundary.circle.lon` & `boundary.circle.radius`. | [optional] + **boundary_circle_radius** | **float**| Radius of circular boundary around the center coordinate in kilometers. Use with `boundary.circle.lon` & `boundary.circle.lat`. | [optional] [default to 50] + **boundary_country** | **str**| Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. | [optional] + **layers** | [**list[str]**](str.md)| Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| | [optional] + **sources** | [**list[str]**](str.md)| Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). | [optional] [default to ["osm","oa","gn","wof"]] + **size** | **int**| Set the number of returned results. | [optional] [default to 10] + +### Return type + +[**GeocodeResponse**](GeocodeResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + diff --git a/docs/GeocodeResponse.md b/docs/GeocodeResponse.md new file mode 100644 index 00000000..673d1673 --- /dev/null +++ b/docs/GeocodeResponse.md @@ -0,0 +1,12 @@ +# GeocodeResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bbox** | **list[float]** | | [optional] +**features** | **list[object]** | | [optional] +**geocoding** | **object** | | [optional] +**type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/Gpx.md b/docs/Gpx.md new file mode 100644 index 00000000..14495e48 --- /dev/null +++ b/docs/Gpx.md @@ -0,0 +1,9 @@ +# Gpx + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**gpx_route_elements** | **list[object]** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GraphExportService.md b/docs/GraphExportService.md new file mode 100644 index 00000000..1d8403fc --- /dev/null +++ b/docs/GraphExportService.md @@ -0,0 +1,10 @@ +# GraphExportService + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bbox** | **list[list[float]]** | The bounding box to use for the request as an array of `longitude/latitude` pairs | +**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse200.md b/docs/InlineResponse200.md new file mode 100644 index 00000000..4d9bbd35 --- /dev/null +++ b/docs/InlineResponse200.md @@ -0,0 +1,12 @@ +# InlineResponse200 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribution** | **str** | | [optional] +**geometry** | [**InlineResponse200Geometry**](InlineResponse200Geometry.md) | | [optional] +**timestamp** | **int** | | [optional] +**version** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2001.md b/docs/InlineResponse2001.md new file mode 100644 index 00000000..328a92ab --- /dev/null +++ b/docs/InlineResponse2001.md @@ -0,0 +1,12 @@ +# InlineResponse2001 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribution** | **str** | | [optional] +**geometry** | [**InlineResponse2001Geometry**](InlineResponse2001Geometry.md) | | [optional] +**timestamp** | **int** | | [optional] +**version** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2001Geometry.md b/docs/InlineResponse2001Geometry.md new file mode 100644 index 00000000..3f000bb1 --- /dev/null +++ b/docs/InlineResponse2001Geometry.md @@ -0,0 +1,10 @@ +# InlineResponse2001Geometry + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**coordinates** | **list[float]** | | [optional] +**type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2002.md b/docs/InlineResponse2002.md new file mode 100644 index 00000000..dd873bf4 --- /dev/null +++ b/docs/InlineResponse2002.md @@ -0,0 +1,13 @@ +# InlineResponse2002 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **int** | status code. Possible values: Value | Status | :-----------: | :-----------: | `0` | no error raised | `1` | internal error | `2` | input error | `3` | routing error | | [optional] +**error** | **str** | error message (present if `code` is different from `0`) | [optional] +**routes** | [**list[InlineResponse2002Routes]**](InlineResponse2002Routes.md) | array of `route` objects | [optional] +**summary** | [**InlineResponse2002Summary**](InlineResponse2002Summary.md) | | [optional] +**unassigned** | [**list[InlineResponse2002Unassigned]**](InlineResponse2002Unassigned.md) | array of objects describing unassigned jobs with their `id` and `location` (if provided) | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2002Routes.md b/docs/InlineResponse2002Routes.md new file mode 100644 index 00000000..ab357ece --- /dev/null +++ b/docs/InlineResponse2002Routes.md @@ -0,0 +1,17 @@ +# InlineResponse2002Routes + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**amount** | **list[int]** | total amount for jobs in this route | [optional] +**cost** | **float** | cost for this route | [optional] +**distance** | **float** | total route distance. Only provided when using the `-g` flag | [optional] +**duration** | **float** | total travel time for this route | [optional] +**geometry** | **str** | polyline encoded route geometry. Only provided when using the `-g` flag | [optional] +**service** | **float** | total service time for this route | [optional] +**steps** | [**list[InlineResponse2002Steps]**](InlineResponse2002Steps.md) | array of `step` objects | [optional] +**vehicle** | **int** | id of the vehicle assigned to this route | [optional] +**waiting_time** | **float** | total waiting time for this route | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2002Steps.md b/docs/InlineResponse2002Steps.md new file mode 100644 index 00000000..3130367c --- /dev/null +++ b/docs/InlineResponse2002Steps.md @@ -0,0 +1,16 @@ +# InlineResponse2002Steps + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**arrival** | **float** | estimated time of arrival at this step in seconds | [optional] +**distance** | **float** | traveled distance upon arrival at this step. Only provided when using the `-g` flag with `OSRM` | [optional] +**duration** | **float** | cumulated travel time upon arrival at this step in seconds | [optional] +**job** | **int** | id of the job performed at this step, only provided if `type` value is `job` | [optional] +**location** | **list[float]** | coordinates array for this step (if provided in input) | [optional] +**service** | **float** | service time at this step, only provided if `type` value is `job` | [optional] +**type** | **str** | string that is either `start`, `job` or `end` | [optional] +**waiting_time** | **float** | waiting time upon arrival at this step, only provided if `type` value is `job` | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2002Summary.md b/docs/InlineResponse2002Summary.md new file mode 100644 index 00000000..4d619346 --- /dev/null +++ b/docs/InlineResponse2002Summary.md @@ -0,0 +1,15 @@ +# InlineResponse2002Summary + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**amount** | **list[int]** | total amount for all routes | [optional] +**cost** | **float** | total cost for all routes | [optional] +**distance** | **float** | total distance for all routes. Only provided when using the `-g` flag with `OSRM` | [optional] +**duration** | **float** | total travel time for all routes | [optional] +**service** | **float** | total service time for all routes | [optional] +**unassigned** | **int** | number of jobs that could not be served | [optional] +**waiting_time** | **float** | total waiting time for all routes | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2002Unassigned.md b/docs/InlineResponse2002Unassigned.md new file mode 100644 index 00000000..54606878 --- /dev/null +++ b/docs/InlineResponse2002Unassigned.md @@ -0,0 +1,10 @@ +# InlineResponse2002Unassigned + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **int** | The `id` of the unassigned job\" | [optional] +**location** | **list[float]** | The `location` of the unassigned job | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2003.md b/docs/InlineResponse2003.md new file mode 100644 index 00000000..6ee8ab01 --- /dev/null +++ b/docs/InlineResponse2003.md @@ -0,0 +1,12 @@ +# InlineResponse2003 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bbox** | **list[float]** | Bounding box that covers all returned routes | [optional] +**features** | **list[object]** | | [optional] +**metadata** | [**GeoJSONRouteResponseMetadata**](GeoJSONRouteResponseMetadata.md) | | [optional] +**type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2004.md b/docs/InlineResponse2004.md new file mode 100644 index 00000000..13e450e8 --- /dev/null +++ b/docs/InlineResponse2004.md @@ -0,0 +1,11 @@ +# InlineResponse2004 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bbox** | **list[float]** | Bounding box that covers all returned routes | [optional] +**metadata** | [**GeoJSONRouteResponseMetadata**](GeoJSONRouteResponseMetadata.md) | | [optional] +**routes** | [**list[JSONRouteResponseRoutes]**](JSONRouteResponseRoutes.md) | A list of routes returned from the request | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2005.md b/docs/InlineResponse2005.md new file mode 100644 index 00000000..733518ca --- /dev/null +++ b/docs/InlineResponse2005.md @@ -0,0 +1,12 @@ +# InlineResponse2005 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bbox** | **list[float]** | Bounding box that covers all returned isochrones | [optional] +**features** | [**list[GeoJSONIsochronesResponseFeatures]**](GeoJSONIsochronesResponseFeatures.md) | | [optional] +**metadata** | [**GeoJSONIsochronesResponseMetadata**](GeoJSONIsochronesResponseMetadata.md) | | [optional] +**type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2006.md b/docs/InlineResponse2006.md new file mode 100644 index 00000000..38f5b84b --- /dev/null +++ b/docs/InlineResponse2006.md @@ -0,0 +1,13 @@ +# InlineResponse2006 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**destinations** | [**list[MatrixResponseDestinations]**](MatrixResponseDestinations.md) | The individual destinations of the matrix calculations. | [optional] +**distances** | **list[list[float]]** | The distances of the matrix calculations. | [optional] +**durations** | **list[list[float]]** | The durations of the matrix calculations. | [optional] +**metadata** | [**MatrixResponseMetadata**](MatrixResponseMetadata.md) | | [optional] +**sources** | [**list[MatrixResponseSources]**](MatrixResponseSources.md) | The individual sources of the matrix calculations. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse200Geometry.md b/docs/InlineResponse200Geometry.md new file mode 100644 index 00000000..2909a198 --- /dev/null +++ b/docs/InlineResponse200Geometry.md @@ -0,0 +1,10 @@ +# InlineResponse200Geometry + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**coordinates** | **list[list[float]]** | | [optional] +**type** | **str** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/IsochronesProfileBody.md b/docs/IsochronesProfileBody.md new file mode 100644 index 00000000..948979f9 --- /dev/null +++ b/docs/IsochronesProfileBody.md @@ -0,0 +1,20 @@ +# IsochronesProfileBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**area_units** | **str** | Specifies the area unit. Default: m. | [optional] [default to 'm'] +**attributes** | **list[str]** | List of isochrones attributes | [optional] +**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] +**intersections** | **bool** | Specifies whether to return intersecting polygons. | [optional] [default to False] +**interval** | **float** | Interval of isochrones or equidistants. This is only used if a single range value is given. Value in **seconds** for time and **meters** for distance. | [optional] +**location_type** | **str** | `start` treats the location(s) as starting point, `destination` as goal. | [optional] [default to 'start'] +**locations** | **list[list[float]]** | The locations to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) | +**options** | [**RouteOptions**](RouteOptions.md) | | [optional] +**range** | **list[float]** | Maximum range value of the analysis in **seconds** for time and **metres** for distance.Alternatively a comma separated list of specific range values. Ranges will be the same for all locations. | +**range_type** | **str** | Specifies the isochrones reachability type. | [optional] [default to 'time'] +**smoothing** | **float** | Applies a level of generalisation to the isochrone polygons generated as a `smoothing_factor` between `0` and `100.0`. Generalisation is produced by determining a maximum length of a connecting line between two points found on the outside of a containing polygon. If the distance is larger than a threshold value, the line between the two points is removed and a smaller connecting line between other points is used. Note that the minimum length of this connecting line is ~1333m, and so when the `smoothing_factor` results in a distance smaller than this, the minimum value is used. The threshold value is determined as `(maximum_radius_of_isochrone / 100) * smoothing_factor`. Therefore, a value closer to 100 will result in a more generalised shape. The polygon generation algorithm is based on Duckham and al. (2008) `\"Efficient generation of simple polygons for characterizing the shape of a set of points in the plane.\"` | [optional] +**units** | **str** | Specifies the distance units only if `range_type` is set to distance. Default: m. | [optional] [default to 'm'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/IsochronesRequest.md b/docs/IsochronesRequest.md new file mode 100644 index 00000000..5282b243 --- /dev/null +++ b/docs/IsochronesRequest.md @@ -0,0 +1,20 @@ +# IsochronesRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**area_units** | **str** | Specifies the area unit. Default: m. | [optional] [default to 'm'] +**attributes** | **list[str]** | List of isochrones attributes | [optional] +**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] +**intersections** | **bool** | Specifies whether to return intersecting polygons. | [optional] [default to False] +**interval** | **float** | Interval of isochrones or equidistants. This is only used if a single range value is given. Value in **seconds** for time and **meters** for distance. | [optional] +**location_type** | **str** | `start` treats the location(s) as starting point, `destination` as goal. | [optional] [default to 'start'] +**locations** | **list[list[float]]** | The locations to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) | +**options** | [**RouteOptions**](RouteOptions.md) | | [optional] +**range** | **list[float]** | Maximum range value of the analysis in **seconds** for time and **metres** for distance.Alternatively a comma separated list of specific range values. Ranges will be the same for all locations. | +**range_type** | **str** | Specifies the isochrones reachability type. | [optional] [default to 'time'] +**smoothing** | **float** | Applies a level of generalisation to the isochrone polygons generated as a `smoothing_factor` between `0` and `100.0`. Generalisation is produced by determining a maximum length of a connecting line between two points found on the outside of a containing polygon. If the distance is larger than a threshold value, the line between the two points is removed and a smaller connecting line between other points is used. Note that the minimum length of this connecting line is ~1333m, and so when the `smoothing_factor` results in a distance smaller than this, the minimum value is used. The threshold value is determined as `(maximum_radius_of_isochrone / 100) * smoothing_factor`. Therefore, a value closer to 100 will result in a more generalised shape. The polygon generation algorithm is based on Duckham and al. (2008) `\"Efficient generation of simple polygons for characterizing the shape of a set of points in the plane.\"` | [optional] +**units** | **str** | Specifies the distance units only if `range_type` is set to distance. Default: m. | [optional] [default to 'm'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/IsochronesResponseInfo.md b/docs/IsochronesResponseInfo.md new file mode 100644 index 00000000..147ef0c1 --- /dev/null +++ b/docs/IsochronesResponseInfo.md @@ -0,0 +1,16 @@ +# IsochronesResponseInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribution** | **str** | Copyright and attribution information | [optional] +**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**id** | **str** | ID of the request (as passed in by the query) | [optional] +**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] +**query** | [**IsochronesProfileBody**](IsochronesProfileBody.md) | | [optional] +**service** | **str** | The service that was requested | [optional] +**system_message** | **str** | System message | [optional] +**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/IsochronesServiceApi.md b/docs/IsochronesServiceApi.md new file mode 100644 index 00000000..599e4c46 --- /dev/null +++ b/docs/IsochronesServiceApi.md @@ -0,0 +1,64 @@ +# openrouteservice.IsochronesServiceApi + +All URIs are relative to *https://api.openrouteservice.org* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_default_isochrones**](IsochronesServiceApi.md#get_default_isochrones) | **POST** /v2/isochrones/{profile} | Isochrones Service + +# **get_default_isochrones** +> InlineResponse2005 get_default_isochrones(body, profile) + +Isochrones Service + +The Isochrone Service supports time and distance analyses for one single or multiple locations. You may also specify the isochrone interval or provide multiple exact isochrone range values. This service allows the same range of profile options as the /directions endpoint, which help you to further customize your request to obtain a more detailed reachability area response. + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.IsochronesServiceApi(openrouteservice.ApiClient(configuration)) +body = openrouteservice.IsochronesProfileBody() # IsochronesProfileBody | +profile = 'profile_example' # str | Specifies the route profile. + +try: + # Isochrones Service + api_response = api_instance.get_default_isochrones(body, profile) + pprint(api_response) +except ApiException as e: + print("Exception when calling IsochronesServiceApi->get_default_isochrones: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**IsochronesProfileBody**](IsochronesProfileBody.md)| | + **profile** | **str**| Specifies the route profile. | + +### Return type + +[**InlineResponse2005**](InlineResponse2005.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/geo+json, */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + diff --git a/docs/JSON2DDestinations.md b/docs/JSON2DDestinations.md new file mode 100644 index 00000000..dfac3c49 --- /dev/null +++ b/docs/JSON2DDestinations.md @@ -0,0 +1,11 @@ +# JSON2DDestinations + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] +**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] +**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSON2DSources.md b/docs/JSON2DSources.md new file mode 100644 index 00000000..fc85767b --- /dev/null +++ b/docs/JSON2DSources.md @@ -0,0 +1,11 @@ +# JSON2DSources + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] +**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] +**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONExtra.md b/docs/JSONExtra.md new file mode 100644 index 00000000..dda54d8e --- /dev/null +++ b/docs/JSONExtra.md @@ -0,0 +1,10 @@ +# JSONExtra + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**summary** | [**list[JSONExtraSummary]**](JSONExtraSummary.md) | List representing the summary of the extra info items. | [optional] +**values** | **list[list[int]]** | A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONExtraSummary.md b/docs/JSONExtraSummary.md new file mode 100644 index 00000000..117f5af0 --- /dev/null +++ b/docs/JSONExtraSummary.md @@ -0,0 +1,11 @@ +# JSONExtraSummary + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**amount** | **float** | Category percentage of the entire route. | [optional] +**distance** | **float** | Cumulative distance of this value. | [optional] +**value** | **float** | [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) of a info category. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONIndividualRouteResponse.md b/docs/JSONIndividualRouteResponse.md new file mode 100644 index 00000000..96f3cd8f --- /dev/null +++ b/docs/JSONIndividualRouteResponse.md @@ -0,0 +1,18 @@ +# JSONIndividualRouteResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**arrival** | **datetime** | Arrival date and time | [optional] +**bbox** | **list[float]** | A bounding box which contains the entire route | [optional] +**departure** | **datetime** | Departure date and time | [optional] +**extras** | [**dict(str, JSONIndividualRouteResponseExtras)**](JSONIndividualRouteResponseExtras.md) | List of extra info objects representing the extra info items that were requested for the route. | [optional] +**geometry** | **str** | The geometry of the route. For JSON route responses this is an encoded polyline. | [optional] +**legs** | [**list[JSONIndividualRouteResponseLegs]**](JSONIndividualRouteResponseLegs.md) | List containing the legs the route consists of. | [optional] +**segments** | [**list[JSONIndividualRouteResponseSegments]**](JSONIndividualRouteResponseSegments.md) | List containing the segments and its corresponding steps which make up the route. | [optional] +**summary** | [**JSONIndividualRouteResponseSummary**](JSONIndividualRouteResponseSummary.md) | | [optional] +**warnings** | [**list[JSONIndividualRouteResponseWarnings]**](JSONIndividualRouteResponseWarnings.md) | List of warnings that have been generated for the route | [optional] +**way_points** | **list[int]** | List containing the indices of way points corresponding to the *geometry*. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONIndividualRouteResponseExtras.md b/docs/JSONIndividualRouteResponseExtras.md new file mode 100644 index 00000000..4ef3cdcc --- /dev/null +++ b/docs/JSONIndividualRouteResponseExtras.md @@ -0,0 +1,10 @@ +# JSONIndividualRouteResponseExtras + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**summary** | [**list[JSONExtraSummary]**](JSONExtraSummary.md) | List representing the summary of the extra info items. | [optional] +**values** | **list[list[int]]** | A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONIndividualRouteResponseInstructions.md b/docs/JSONIndividualRouteResponseInstructions.md new file mode 100644 index 00000000..690c9d42 --- /dev/null +++ b/docs/JSONIndividualRouteResponseInstructions.md @@ -0,0 +1,17 @@ +# JSONIndividualRouteResponseInstructions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**distance** | **float** | The distance for the step in metres. | [optional] +**duration** | **float** | The duration for the step in seconds. | [optional] +**exit_bearings** | **list[int]** | Contains the bearing of the entrance and all passed exits in a roundabout. | [optional] +**exit_number** | **int** | Only for roundabouts. Contains the number of the exit to take. | [optional] +**instruction** | **str** | The routing instruction text for the step. | [optional] +**maneuver** | [**JSONIndividualRouteResponseManeuver**](JSONIndividualRouteResponseManeuver.md) | | [optional] +**name** | **str** | The name of the next street. | [optional] +**type** | **int** | The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. | [optional] +**way_points** | **list[int]** | List containing the indices of the steps start- and endpoint corresponding to the *geometry*. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONIndividualRouteResponseLegs.md b/docs/JSONIndividualRouteResponseLegs.md new file mode 100644 index 00000000..a64c1654 --- /dev/null +++ b/docs/JSONIndividualRouteResponseLegs.md @@ -0,0 +1,26 @@ +# JSONIndividualRouteResponseLegs + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**arrival** | **datetime** | Arrival date and time | [optional] +**departure** | **datetime** | Departure date and time | [optional] +**departure_location** | **str** | The departure location of the leg. | [optional] +**distance** | **float** | The distance for the leg in metres. | [optional] +**duration** | **float** | The duration for the leg in seconds. | [optional] +**feed_id** | **str** | The feed ID this public transport leg based its information from. | [optional] +**geometry** | **str** | The geometry of the leg. This is an encoded polyline. | [optional] +**instructions** | [**list[JSONIndividualRouteResponseInstructions]**](JSONIndividualRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] +**is_in_same_vehicle_as_previous** | **bool** | Whether the legs continues in the same vehicle as the previous one. | [optional] +**route_desc** | **str** | The route description of the leg (if provided in the GTFS data set). | [optional] +**route_id** | **str** | The route ID of this public transport leg. | [optional] +**route_long_name** | **str** | The public transport route name of the leg. | [optional] +**route_short_name** | **str** | The public transport route name (short version) of the leg. | [optional] +**route_type** | **int** | The route type of the leg (if provided in the GTFS data set). | [optional] +**stops** | [**list[JSONIndividualRouteResponseStops]**](JSONIndividualRouteResponseStops.md) | List containing the stops the along the leg. | [optional] +**trip_headsign** | **str** | The headsign of the public transport vehicle of the leg. | [optional] +**trip_id** | **str** | The trip ID of this public transport leg. | [optional] +**type** | **str** | The type of the leg, possible values are currently 'walk' and 'pt'. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONIndividualRouteResponseManeuver.md b/docs/JSONIndividualRouteResponseManeuver.md new file mode 100644 index 00000000..602b1178 --- /dev/null +++ b/docs/JSONIndividualRouteResponseManeuver.md @@ -0,0 +1,11 @@ +# JSONIndividualRouteResponseManeuver + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bearing_after** | **int** | The azimuth angle (in degrees) of the direction right after the maneuver. | [optional] +**bearing_before** | **int** | The azimuth angle (in degrees) of the direction right before the maneuver. | [optional] +**location** | **list[float]** | The coordinate of the point where a maneuver takes place. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONIndividualRouteResponseSegments.md b/docs/JSONIndividualRouteResponseSegments.md new file mode 100644 index 00000000..91d704b1 --- /dev/null +++ b/docs/JSONIndividualRouteResponseSegments.md @@ -0,0 +1,16 @@ +# JSONIndividualRouteResponseSegments + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ascent** | **float** | Contains ascent of this segment in metres. | [optional] +**avgspeed** | **float** | Contains the average speed of this segment in km/h. | [optional] +**descent** | **float** | Contains descent of this segment in metres. | [optional] +**detourfactor** | **float** | Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. | [optional] +**distance** | **float** | Contains the distance of the segment in specified units. | [optional] +**duration** | **float** | Contains the duration of the segment in seconds. | [optional] +**percentage** | **float** | Contains the proportion of the route in percent. | [optional] +**steps** | [**list[JSONIndividualRouteResponseInstructions]**](JSONIndividualRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONIndividualRouteResponseStops.md b/docs/JSONIndividualRouteResponseStops.md new file mode 100644 index 00000000..3542ada7 --- /dev/null +++ b/docs/JSONIndividualRouteResponseStops.md @@ -0,0 +1,19 @@ +# JSONIndividualRouteResponseStops + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**arrival_cancelled** | **bool** | Whether arrival at the stop was cancelled. | [optional] +**arrival_time** | **datetime** | Arrival time of the stop. | [optional] +**departure_cancelled** | **bool** | Whether departure at the stop was cancelled. | [optional] +**departure_time** | **datetime** | Departure time of the stop. | [optional] +**location** | **list[float]** | The location of the stop. | [optional] +**name** | **str** | The name of the stop. | [optional] +**planned_arrival_time** | **datetime** | Planned arrival time of the stop. | [optional] +**planned_departure_time** | **datetime** | Planned departure time of the stop. | [optional] +**predicted_arrival_time** | **datetime** | Predicted arrival time of the stop. | [optional] +**predicted_departure_time** | **datetime** | Predicted departure time of the stop. | [optional] +**stop_id** | **str** | The ID of the stop. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONIndividualRouteResponseSummary.md b/docs/JSONIndividualRouteResponseSummary.md new file mode 100644 index 00000000..0f724eaf --- /dev/null +++ b/docs/JSONIndividualRouteResponseSummary.md @@ -0,0 +1,14 @@ +# JSONIndividualRouteResponseSummary + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ascent** | **float** | Total ascent in meters. | [optional] +**descent** | **float** | Total descent in meters. | [optional] +**distance** | **float** | Total route distance in specified units. | [optional] +**duration** | **float** | Total duration in seconds. | [optional] +**fare** | **int** | | [optional] +**transfers** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONIndividualRouteResponseWarnings.md b/docs/JSONIndividualRouteResponseWarnings.md new file mode 100644 index 00000000..dddc130c --- /dev/null +++ b/docs/JSONIndividualRouteResponseWarnings.md @@ -0,0 +1,10 @@ +# JSONIndividualRouteResponseWarnings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **int** | Identification code for the warning | [optional] +**message** | **str** | The message associated with the warning | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONLeg.md b/docs/JSONLeg.md new file mode 100644 index 00000000..a7f0abdc --- /dev/null +++ b/docs/JSONLeg.md @@ -0,0 +1,26 @@ +# JSONLeg + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**arrival** | **datetime** | Arrival date and time | [optional] +**departure** | **datetime** | Departure date and time | [optional] +**departure_location** | **str** | The departure location of the leg. | [optional] +**distance** | **float** | The distance for the leg in metres. | [optional] +**duration** | **float** | The duration for the leg in seconds. | [optional] +**feed_id** | **str** | The feed ID this public transport leg based its information from. | [optional] +**geometry** | **str** | The geometry of the leg. This is an encoded polyline. | [optional] +**instructions** | [**list[JSONIndividualRouteResponseInstructions]**](JSONIndividualRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] +**is_in_same_vehicle_as_previous** | **bool** | Whether the legs continues in the same vehicle as the previous one. | [optional] +**route_desc** | **str** | The route description of the leg (if provided in the GTFS data set). | [optional] +**route_id** | **str** | The route ID of this public transport leg. | [optional] +**route_long_name** | **str** | The public transport route name of the leg. | [optional] +**route_short_name** | **str** | The public transport route name (short version) of the leg. | [optional] +**route_type** | **int** | The route type of the leg (if provided in the GTFS data set). | [optional] +**stops** | [**list[JSONIndividualRouteResponseStops]**](JSONIndividualRouteResponseStops.md) | List containing the stops the along the leg. | [optional] +**trip_headsign** | **str** | The headsign of the public transport vehicle of the leg. | [optional] +**trip_id** | **str** | The trip ID of this public transport leg. | [optional] +**type** | **str** | The type of the leg, possible values are currently 'walk' and 'pt'. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONObject.md b/docs/JSONObject.md new file mode 100644 index 00000000..5c479f6c --- /dev/null +++ b/docs/JSONObject.md @@ -0,0 +1,8 @@ +# JSONObject + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONPtStop.md b/docs/JSONPtStop.md new file mode 100644 index 00000000..cc00ed92 --- /dev/null +++ b/docs/JSONPtStop.md @@ -0,0 +1,19 @@ +# JSONPtStop + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**arrival_cancelled** | **bool** | Whether arrival at the stop was cancelled. | [optional] +**arrival_time** | **datetime** | Arrival time of the stop. | [optional] +**departure_cancelled** | **bool** | Whether departure at the stop was cancelled. | [optional] +**departure_time** | **datetime** | Departure time of the stop. | [optional] +**location** | **list[float]** | The location of the stop. | [optional] +**name** | **str** | The name of the stop. | [optional] +**planned_arrival_time** | **datetime** | Planned arrival time of the stop. | [optional] +**planned_departure_time** | **datetime** | Planned departure time of the stop. | [optional] +**predicted_arrival_time** | **datetime** | Predicted arrival time of the stop. | [optional] +**predicted_departure_time** | **datetime** | Predicted departure time of the stop. | [optional] +**stop_id** | **str** | The ID of the stop. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONRouteResponse.md b/docs/JSONRouteResponse.md new file mode 100644 index 00000000..429c9b04 --- /dev/null +++ b/docs/JSONRouteResponse.md @@ -0,0 +1,11 @@ +# JSONRouteResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bbox** | **list[float]** | Bounding box that covers all returned routes | [optional] +**metadata** | [**GeoJSONRouteResponseMetadata**](GeoJSONRouteResponseMetadata.md) | | [optional] +**routes** | [**list[JSONRouteResponseRoutes]**](JSONRouteResponseRoutes.md) | A list of routes returned from the request | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONRouteResponseRoutes.md b/docs/JSONRouteResponseRoutes.md new file mode 100644 index 00000000..5f1d2499 --- /dev/null +++ b/docs/JSONRouteResponseRoutes.md @@ -0,0 +1,18 @@ +# JSONRouteResponseRoutes + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**arrival** | **datetime** | Arrival date and time | [optional] +**bbox** | **list[float]** | A bounding box which contains the entire route | [optional] +**departure** | **datetime** | Departure date and time | [optional] +**extras** | [**dict(str, JSONIndividualRouteResponseExtras)**](JSONIndividualRouteResponseExtras.md) | List of extra info objects representing the extra info items that were requested for the route. | [optional] +**geometry** | **str** | The geometry of the route. For JSON route responses this is an encoded polyline. | [optional] +**legs** | [**list[JSONIndividualRouteResponseLegs]**](JSONIndividualRouteResponseLegs.md) | List containing the legs the route consists of. | [optional] +**segments** | [**list[JSONIndividualRouteResponseSegments]**](JSONIndividualRouteResponseSegments.md) | List containing the segments and its corresponding steps which make up the route. | [optional] +**summary** | [**JSONIndividualRouteResponseSummary**](JSONIndividualRouteResponseSummary.md) | | [optional] +**warnings** | [**list[JSONIndividualRouteResponseWarnings]**](JSONIndividualRouteResponseWarnings.md) | List of warnings that have been generated for the route | [optional] +**way_points** | **list[int]** | List containing the indices of way points corresponding to the *geometry*. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONSegment.md b/docs/JSONSegment.md new file mode 100644 index 00000000..f8ae21ea --- /dev/null +++ b/docs/JSONSegment.md @@ -0,0 +1,16 @@ +# JSONSegment + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ascent** | **float** | Contains ascent of this segment in metres. | [optional] +**avgspeed** | **float** | Contains the average speed of this segment in km/h. | [optional] +**descent** | **float** | Contains descent of this segment in metres. | [optional] +**detourfactor** | **float** | Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. | [optional] +**distance** | **float** | Contains the distance of the segment in specified units. | [optional] +**duration** | **float** | Contains the duration of the segment in seconds. | [optional] +**percentage** | **float** | Contains the proportion of the route in percent. | [optional] +**steps** | [**list[JSONIndividualRouteResponseInstructions]**](JSONIndividualRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONStep.md b/docs/JSONStep.md new file mode 100644 index 00000000..776f1de9 --- /dev/null +++ b/docs/JSONStep.md @@ -0,0 +1,17 @@ +# JSONStep + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**distance** | **float** | The distance for the step in metres. | [optional] +**duration** | **float** | The duration for the step in seconds. | [optional] +**exit_bearings** | **list[int]** | Contains the bearing of the entrance and all passed exits in a roundabout. | [optional] +**exit_number** | **int** | Only for roundabouts. Contains the number of the exit to take. | [optional] +**instruction** | **str** | The routing instruction text for the step. | [optional] +**maneuver** | [**JSONIndividualRouteResponseManeuver**](JSONIndividualRouteResponseManeuver.md) | | [optional] +**name** | **str** | The name of the next street. | [optional] +**type** | **int** | The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. | [optional] +**way_points** | **list[int]** | List containing the indices of the steps start- and endpoint corresponding to the *geometry*. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONStepManeuver.md b/docs/JSONStepManeuver.md new file mode 100644 index 00000000..0662c44b --- /dev/null +++ b/docs/JSONStepManeuver.md @@ -0,0 +1,11 @@ +# JSONStepManeuver + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bearing_after** | **int** | The azimuth angle (in degrees) of the direction right after the maneuver. | [optional] +**bearing_before** | **int** | The azimuth angle (in degrees) of the direction right before the maneuver. | [optional] +**location** | **list[float]** | The coordinate of the point where a maneuver takes place. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONSummary.md b/docs/JSONSummary.md new file mode 100644 index 00000000..ac4b3861 --- /dev/null +++ b/docs/JSONSummary.md @@ -0,0 +1,14 @@ +# JSONSummary + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ascent** | **float** | Total ascent in meters. | [optional] +**descent** | **float** | Total descent in meters. | [optional] +**distance** | **float** | Total route distance in specified units. | [optional] +**duration** | **float** | Total duration in seconds. | [optional] +**fare** | **int** | | [optional] +**transfers** | **int** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSONWarning.md b/docs/JSONWarning.md new file mode 100644 index 00000000..6871b8b0 --- /dev/null +++ b/docs/JSONWarning.md @@ -0,0 +1,10 @@ +# JSONWarning + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **int** | Identification code for the warning | [optional] +**message** | **str** | The message associated with the warning | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JsonEdge.md b/docs/JsonEdge.md new file mode 100644 index 00000000..31c8993d --- /dev/null +++ b/docs/JsonEdge.md @@ -0,0 +1,11 @@ +# JsonEdge + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**from_id** | **int** | Id of the start point of the edge | [optional] +**to_id** | **int** | Id of the end point of the edge | [optional] +**weight** | **float** | Weight of the corresponding edge in the given bounding box | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JsonEdgeExtra.md b/docs/JsonEdgeExtra.md new file mode 100644 index 00000000..fa635449 --- /dev/null +++ b/docs/JsonEdgeExtra.md @@ -0,0 +1,10 @@ +# JsonEdgeExtra + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**edge_id** | **str** | Id of the corresponding edge in the graph | [optional] +**extra** | **object** | Extra info stored on the edge | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JsonExportResponse.md b/docs/JsonExportResponse.md new file mode 100644 index 00000000..e89fd3b1 --- /dev/null +++ b/docs/JsonExportResponse.md @@ -0,0 +1,14 @@ +# JsonExportResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**edges** | [**list[JsonExportResponseEdges]**](JsonExportResponseEdges.md) | | [optional] +**edges_count** | **int** | | [optional] +**edges_extra** | [**list[JsonExportResponseEdgesExtra]**](JsonExportResponseEdgesExtra.md) | | [optional] +**nodes** | [**list[JsonExportResponseNodes]**](JsonExportResponseNodes.md) | | [optional] +**nodes_count** | **int** | | [optional] +**warning** | [**JSONIndividualRouteResponseWarnings**](JSONIndividualRouteResponseWarnings.md) | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JsonExportResponseEdges.md b/docs/JsonExportResponseEdges.md new file mode 100644 index 00000000..d76eedaa --- /dev/null +++ b/docs/JsonExportResponseEdges.md @@ -0,0 +1,11 @@ +# JsonExportResponseEdges + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**from_id** | **int** | Id of the start point of the edge | [optional] +**to_id** | **int** | Id of the end point of the edge | [optional] +**weight** | **float** | Weight of the corresponding edge in the given bounding box | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JsonExportResponseEdgesExtra.md b/docs/JsonExportResponseEdgesExtra.md new file mode 100644 index 00000000..5a6d6bf1 --- /dev/null +++ b/docs/JsonExportResponseEdgesExtra.md @@ -0,0 +1,10 @@ +# JsonExportResponseEdgesExtra + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**edge_id** | **str** | Id of the corresponding edge in the graph | [optional] +**extra** | **object** | Extra info stored on the edge | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JsonExportResponseNodes.md b/docs/JsonExportResponseNodes.md new file mode 100644 index 00000000..436a2375 --- /dev/null +++ b/docs/JsonExportResponseNodes.md @@ -0,0 +1,10 @@ +# JsonExportResponseNodes + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] +**node_id** | **int** | Id of the corresponding node in the graph | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JsonNode.md b/docs/JsonNode.md new file mode 100644 index 00000000..733122fd --- /dev/null +++ b/docs/JsonNode.md @@ -0,0 +1,10 @@ +# JsonNode + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] +**node_id** | **int** | Id of the corresponding node in the graph | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/Makefile b/docs/Makefile deleted file mode 100644 index 447beb33..00000000 --- a/docs/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# Minimal makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = python -msphinx -SPHINXPROJ = openrouteservice-py -SOURCEDIR = source -BUILDDIR = build - -# Put it first so that "make" without argument is like "make help". -help: - @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) - -.PHONY: help Makefile - -# Catch-all target: route all unknown targets to Sphinx using the new -# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). -%: Makefile - @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) diff --git a/docs/MatrixProfileBody.md b/docs/MatrixProfileBody.md new file mode 100644 index 00000000..b12ac602 --- /dev/null +++ b/docs/MatrixProfileBody.md @@ -0,0 +1,15 @@ +# MatrixProfileBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**destinations** | **list[str]** | A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). `[0,3]` for the first and fourth locations | [optional] +**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] +**locations** | **list[list[float]]** | List of comma separated lists of `longitude,latitude` coordinates in WGS 84 (EPSG:4326) | +**metrics** | **list[str]** | Specifies a list of returned metrics. \"* `distance` - Returns distance matrix for specified points in defined `units`. * `duration` - Returns duration matrix for specified points in **seconds**. | [optional] +**resolve_locations** | **bool** | Specifies whether given locations are resolved or not. If the parameter value set to `true`, every element in `destinations` and `sources` will contain a `name` element that identifies the name of the closest street. Default is `false`. | [optional] [default to False] +**sources** | **list[str]** | A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). example `[0,3]` for the first and fourth locations | [optional] +**units** | **str** | Specifies the distance unit. Default: m. | [optional] [default to 'm'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/MatrixRequest.md b/docs/MatrixRequest.md new file mode 100644 index 00000000..cad8737a --- /dev/null +++ b/docs/MatrixRequest.md @@ -0,0 +1,15 @@ +# MatrixRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**destinations** | **list[str]** | A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). `[0,3]` for the first and fourth locations | [optional] +**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] +**locations** | **list[list[float]]** | List of comma separated lists of `longitude,latitude` coordinates in WGS 84 (EPSG:4326) | +**metrics** | **list[str]** | Specifies a list of returned metrics. \"* `distance` - Returns distance matrix for specified points in defined `units`. * `duration` - Returns duration matrix for specified points in **seconds**. | [optional] +**resolve_locations** | **bool** | Specifies whether given locations are resolved or not. If the parameter value set to `true`, every element in `destinations` and `sources` will contain a `name` element that identifies the name of the closest street. Default is `false`. | [optional] [default to False] +**sources** | **list[str]** | A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). example `[0,3]` for the first and fourth locations | [optional] +**units** | **str** | Specifies the distance unit. Default: m. | [optional] [default to 'm'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/MatrixResponse.md b/docs/MatrixResponse.md new file mode 100644 index 00000000..5ca1c20f --- /dev/null +++ b/docs/MatrixResponse.md @@ -0,0 +1,13 @@ +# MatrixResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**destinations** | [**list[MatrixResponseDestinations]**](MatrixResponseDestinations.md) | The individual destinations of the matrix calculations. | [optional] +**distances** | **list[list[float]]** | The distances of the matrix calculations. | [optional] +**durations** | **list[list[float]]** | The durations of the matrix calculations. | [optional] +**metadata** | [**MatrixResponseMetadata**](MatrixResponseMetadata.md) | | [optional] +**sources** | [**list[MatrixResponseSources]**](MatrixResponseSources.md) | The individual sources of the matrix calculations. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/MatrixResponseDestinations.md b/docs/MatrixResponseDestinations.md new file mode 100644 index 00000000..db53d863 --- /dev/null +++ b/docs/MatrixResponseDestinations.md @@ -0,0 +1,11 @@ +# MatrixResponseDestinations + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] +**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] +**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/MatrixResponseInfo.md b/docs/MatrixResponseInfo.md new file mode 100644 index 00000000..17174ca6 --- /dev/null +++ b/docs/MatrixResponseInfo.md @@ -0,0 +1,16 @@ +# MatrixResponseInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribution** | **str** | Copyright and attribution information | [optional] +**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**id** | **str** | ID of the request (as passed in by the query) | [optional] +**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] +**query** | [**MatrixProfileBody**](MatrixProfileBody.md) | | [optional] +**service** | **str** | The service that was requested | [optional] +**system_message** | **str** | System message | [optional] +**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/MatrixResponseMetadata.md b/docs/MatrixResponseMetadata.md new file mode 100644 index 00000000..eac5caab --- /dev/null +++ b/docs/MatrixResponseMetadata.md @@ -0,0 +1,16 @@ +# MatrixResponseMetadata + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribution** | **str** | Copyright and attribution information | [optional] +**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**id** | **str** | ID of the request (as passed in by the query) | [optional] +**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] +**query** | [**MatrixProfileBody**](MatrixProfileBody.md) | | [optional] +**service** | **str** | The service that was requested | [optional] +**system_message** | **str** | System message | [optional] +**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/MatrixResponseSources.md b/docs/MatrixResponseSources.md new file mode 100644 index 00000000..72a58b74 --- /dev/null +++ b/docs/MatrixResponseSources.md @@ -0,0 +1,11 @@ +# MatrixResponseSources + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] +**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] +**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/MatrixServiceApi.md b/docs/MatrixServiceApi.md new file mode 100644 index 00000000..37872091 --- /dev/null +++ b/docs/MatrixServiceApi.md @@ -0,0 +1,64 @@ +# openrouteservice.MatrixServiceApi + +All URIs are relative to *https://api.openrouteservice.org* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_default**](MatrixServiceApi.md#get_default) | **POST** /v2/matrix/{profile} | Matrix Service + +# **get_default** +> InlineResponse2006 get_default(body, profile) + +Matrix Service + +Returns duration or distance matrix for multiple source and destination points. By default a square duration matrix is returned where every point in locations is paired with each other. The result is null if a value can’t be determined. + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.MatrixServiceApi(openrouteservice.ApiClient(configuration)) +body = openrouteservice.MatrixProfileBody() # MatrixProfileBody | +profile = 'profile_example' # str | Specifies the matrix profile. + +try: + # Matrix Service + api_response = api_instance.get_default(body, profile) + pprint(api_response) +except ApiException as e: + print("Exception when calling MatrixServiceApi->get_default: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**MatrixProfileBody**](MatrixProfileBody.md)| | + **profile** | **str**| Specifies the matrix profile. | + +### Return type + +[**InlineResponse2006**](InlineResponse2006.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json;charset=UTF-8, */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + diff --git a/docs/OpenpoiservicePoiRequest.md b/docs/OpenpoiservicePoiRequest.md new file mode 100644 index 00000000..4782b7ff --- /dev/null +++ b/docs/OpenpoiservicePoiRequest.md @@ -0,0 +1,13 @@ +# OpenpoiservicePoiRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**filters** | [**PoisFilters**](PoisFilters.md) | | [optional] +**geometry** | [**PoisGeometry**](PoisGeometry.md) | | +**limit** | **int** | The limit of objects to be returned in the response. | [optional] +**request** | **str** | Examples: ``` #### JSON bodies for POST requests ##### Pois around a buffered point { \"request\": \"pois\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 250 } } ##### Pois given categories { \"request\": \"pois\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 100 }, \"limit\": 200, \"filters\": { \"category_ids\": [180, 245] } } ##### Pois given category groups { \"request\": \"pois\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 100 }, \"limit\": 200, \"filters\": { \"category_group_ids\": [160] } } ##### Pois statistics { \"request\": \"stats\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 100 } } ##### Pois categories as a list { \"request\": \"list\" } ``` | +**sortby** | **str** | Either you can sort by category or the distance to the geometry object provided in the request. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/OpenpoiservicePoiResponse.md b/docs/OpenpoiservicePoiResponse.md new file mode 100644 index 00000000..7863f7cc --- /dev/null +++ b/docs/OpenpoiservicePoiResponse.md @@ -0,0 +1,10 @@ +# OpenpoiservicePoiResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**features** | [**list[GeoJSONFeaturesObject]**](GeoJSONFeaturesObject.md) | | [optional] +**type** | **str** | | [optional] [default to 'FeatureCollection'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/OptimizationApi.md b/docs/OptimizationApi.md new file mode 100644 index 00000000..c7884241 --- /dev/null +++ b/docs/OptimizationApi.md @@ -0,0 +1,62 @@ +# openrouteservice.OptimizationApi + +All URIs are relative to *https://api.openrouteservice.org* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**optimization_post**](OptimizationApi.md#optimization_post) | **POST** /optimization | Optimization Service + +# **optimization_post** +> InlineResponse2002 optimization_post(body) + +Optimization Service + +The optimization endpoint solves [Vehicle Routing Problems](https://en.wikipedia.org/wiki/Vehicle_routing_problem) and can be used to schedule multiple vehicles and jobs, respecting time windows, capacities and required skills. This service is based on the excellent [Vroom project](https://github.com/VROOM-Project/vroom). Please also consult its [API documentation](https://github.com/VROOM-Project/vroom/blob/master/docs/API.md). General Info: - The expected order for all coordinates arrays is `[lon, lat]` - All timings are in seconds - All distances are in meters - A `time_window` object is a pair of timestamps in the form `[start, end]` + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.OptimizationApi(openrouteservice.ApiClient(configuration)) +body = openrouteservice.OptimizationBody() # OptimizationBody | The request body of the optimization request. + +try: + # Optimization Service + api_response = api_instance.optimization_post(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling OptimizationApi->optimization_post: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**OptimizationBody**](OptimizationBody.md)| The request body of the optimization request. | + +### Return type + +[**InlineResponse2002**](InlineResponse2002.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + diff --git a/docs/OptimizationBody.md b/docs/OptimizationBody.md new file mode 100644 index 00000000..fec9938f --- /dev/null +++ b/docs/OptimizationBody.md @@ -0,0 +1,12 @@ +# OptimizationBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**jobs** | [**list[OptimizationJobs]**](OptimizationJobs.md) | Array of `job` objects describing the places to visit. For a detailed object description visit the [VROOM api description](https://github.com/VROOM-Project/vroom/blob/master/docs/API.md#jobs) | +**matrix** | **list[list]** | Optional two-dimensional array describing a custom matrix | [optional] +**options** | [**OptimizationOptions**](OptimizationOptions.md) | | [optional] +**vehicles** | [**list[OptimizationVehicles]**](OptimizationVehicles.md) | Array of `vehicle` objects describing the available vehicles. For a detailed object description visit the [VROOM API description](https://github.com/VROOM-Project/vroom/blob/master/docs/API.md#vehicles) | + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/OptimizationJobs.md b/docs/OptimizationJobs.md new file mode 100644 index 00000000..f623220c --- /dev/null +++ b/docs/OptimizationJobs.md @@ -0,0 +1,15 @@ +# OptimizationJobs + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**amount** | **list[int]** | Array describing multidimensional quantities | [optional] +**id** | **int** | an integer used as unique identifier | [optional] +**location** | **list[list[float]]** | coordinates array in `[lon, lat]` | [optional] +**location_index** | **object** | index of relevant row and column in custom matrix | [optional] +**service** | **object** | job service duration (defaults to 0), in seconds | [optional] +**skills** | **list[int]** | Array of integers defining mandatory skills for this job | [optional] +**time_windows** | **list[list[int]]** | Array of `time_window` arrays describing valid slots for job service start and end, in week seconds, i.e. 28800 = Mon, 8 AM. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/OptimizationOptions.md b/docs/OptimizationOptions.md new file mode 100644 index 00000000..36f593e0 --- /dev/null +++ b/docs/OptimizationOptions.md @@ -0,0 +1,9 @@ +# OptimizationOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**g** | **bool** | Calculate geometries for the optimized routes. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/OptimizationVehicles.md b/docs/OptimizationVehicles.md new file mode 100644 index 00000000..255e3407 --- /dev/null +++ b/docs/OptimizationVehicles.md @@ -0,0 +1,17 @@ +# OptimizationVehicles + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**capacity** | **list[int]** | Array of integers describing multidimensional quantities. | [optional] +**end** | **list[float]** | End coordinates array in `[lon, lat]` format. If left blank, the optimization engine will identify the optimal end point. | [optional] +**end_index** | **object** | Index of relevant row and column in custom matrix. | [optional] +**id** | **int** | Integer used as unique identifier | [optional] +**profile** | **str** | The ORS routing profile for the vehicle. | [optional] +**skills** | **list[int]** | Array of integers defining skills for this vehicle | [optional] +**start** | **list[float]** | Start coordinates array in `[lon, lat]` format. If left blank, the optimization engine will identify the optimal start point. | [optional] +**start_index** | **object** | Index of relevant row and column in custom matrix. | [optional] +**time_window** | **list[int]** | A `time_window` array describing working hours for this vehicle, in week seconds, i.e. 28800 = Mon, 8 AM. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/PoisApi.md b/docs/PoisApi.md new file mode 100644 index 00000000..368875a3 --- /dev/null +++ b/docs/PoisApi.md @@ -0,0 +1,62 @@ +# openrouteservice.PoisApi + +All URIs are relative to *https://api.openrouteservice.org* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**pois_post**](PoisApi.md#pois_post) | **POST** /pois | Pois Service + +# **pois_post** +> OpenpoiservicePoiResponse pois_post(body) + +Pois Service + +Returns points of interest in the area surrounding a geometry which can either be a bounding box, polygon or buffered linestring or point. Find more examples on [github](https://github.com/GIScience/openpoiservice). + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.PoisApi(openrouteservice.ApiClient(configuration)) +body = openrouteservice.OpenpoiservicePoiRequest() # OpenpoiservicePoiRequest | body for a post request + +try: + # Pois Service + api_response = api_instance.pois_post(body) + pprint(api_response) +except ApiException as e: + print("Exception when calling PoisApi->pois_post: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**OpenpoiservicePoiRequest**](OpenpoiservicePoiRequest.md)| body for a post request | + +### Return type + +[**OpenpoiservicePoiResponse**](OpenpoiservicePoiResponse.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + diff --git a/docs/PoisFilters.md b/docs/PoisFilters.md new file mode 100644 index 00000000..d7249d9f --- /dev/null +++ b/docs/PoisFilters.md @@ -0,0 +1,14 @@ +# PoisFilters + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**category_group_ids** | **list[int]** | | [optional] +**category_ids** | **list[int]** | | [optional] +**fee** | **list[str]** | Filter example. | [optional] +**name** | **list[str]** | Filter by name of the poi object. | [optional] +**smoking** | **list[str]** | Filter example. | [optional] +**wheelchair** | **list[str]** | Filter example. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/PoisGeometry.md b/docs/PoisGeometry.md new file mode 100644 index 00000000..0cbc421a --- /dev/null +++ b/docs/PoisGeometry.md @@ -0,0 +1,11 @@ +# PoisGeometry + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bbox** | **list[float]** | The pattern for this bbox string is minlon,minlat,maxlon,maxlat | [optional] +**buffer** | **int** | | [optional] +**geojson** | **object** | This is a GeoJSON object. Is either Point, Polygon or LineString. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/ProfileParameters.md b/docs/ProfileParameters.md new file mode 100644 index 00000000..8cc9b42c --- /dev/null +++ b/docs/ProfileParameters.md @@ -0,0 +1,12 @@ +# ProfileParameters + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**allow_unsuitable** | **bool** | Specifies if ways that might not be suitable (e.g. unknown pedestrian usage) should be included in finding routes - default false | [optional] +**restrictions** | [**ProfileParametersRestrictions**](ProfileParametersRestrictions.md) | | [optional] +**surface_quality_known** | **bool** | Specifies whether to enforce that only ways with known information on surface quality be taken into account - default false | [optional] +**weightings** | [**ProfileWeightings**](ProfileWeightings.md) | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/ProfileParametersRestrictions.md b/docs/ProfileParametersRestrictions.md new file mode 100644 index 00000000..02ff8f7b --- /dev/null +++ b/docs/ProfileParametersRestrictions.md @@ -0,0 +1,20 @@ +# ProfileParametersRestrictions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**axleload** | **float** | Axleload restriction in tons. | [optional] +**hazmat** | **bool** | Specifies whether to use appropriate routing for delivering hazardous goods and avoiding water protected areas. Default is `false`. | [optional] [default to False] +**height** | **float** | Height restriction in metres. | [optional] +**length** | **float** | Length restriction in metres. | [optional] +**maximum_incline** | **int** | Specifies the maximum incline as a percentage. `3`, `6` (default), `10`, `15. | [optional] [default to 6] +**maximum_sloped_kerb** | **float** | Specifies the maximum height of the sloped curb in metres. Values are `0.03`, `0.06` (default), `0.1`. | [optional] [default to 0.6] +**minimum_width** | **float** | Specifies the minimum width of the footway in metres. | [optional] +**smoothness_type** | **str** | Specifies the minimum smoothness of the route. Default is `good`. | [optional] [default to 'good'] +**surface_type** | **str** | Specifies the minimum surface type. Default is `sett`. | [optional] [default to 'sett'] +**track_type** | **str** | Specifies the minimum grade of the route. Default is `grade1`. | [optional] [default to 'grade1'] +**weight** | **float** | Weight restriction in tons. | [optional] +**width** | **float** | Width restriction in metres. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/ProfileWeightings.md b/docs/ProfileWeightings.md new file mode 100644 index 00000000..1272d507 --- /dev/null +++ b/docs/ProfileWeightings.md @@ -0,0 +1,12 @@ +# ProfileWeightings + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**green** | **float** | Specifies the Green factor for `foot-*` profiles. factor: Multiplication factor range from 0 to 1. 0 is the green routing base factor without multiplying it by the manual factor and is already different from normal routing. 1 will prefer ways through green areas over a shorter route. | [optional] +**quiet** | **float** | Specifies the Quiet factor for foot-* profiles. factor: Multiplication factor range from 0 to 1. 0 is the quiet routing base factor without multiplying it by the manual factor and is already different from normal routing. 1 will prefer quiet ways over a shorter route. | [optional] +**shadow** | **float** | Specifies the shadow factor for `foot-*` profiles. factor: Multiplication factor range from 0 to 1. 0 is the shadow routing base factor without multiplying it by the manual factor and is already different from normal routing. 1 will prefer ways through shadow areas over a shorter route. | [optional] +**steepness_difficulty** | **int** | Specifies the fitness level for `cycling-*` profiles. level: 0 = Novice, 1 = Moderate, 2 = Amateur, 3 = Pro. The prefered gradient increases with level. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/Restrictions.md b/docs/Restrictions.md new file mode 100644 index 00000000..f194b3a1 --- /dev/null +++ b/docs/Restrictions.md @@ -0,0 +1,20 @@ +# Restrictions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**axleload** | **float** | Axleload restriction in tons. | [optional] +**hazmat** | **bool** | Specifies whether to use appropriate routing for delivering hazardous goods and avoiding water protected areas. Default is `false`. | [optional] [default to False] +**height** | **float** | Height restriction in metres. | [optional] +**length** | **float** | Length restriction in metres. | [optional] +**maximum_incline** | **int** | Specifies the maximum incline as a percentage. `3`, `6` (default), `10`, `15. | [optional] [default to 6] +**maximum_sloped_kerb** | **float** | Specifies the maximum height of the sloped curb in metres. Values are `0.03`, `0.06` (default), `0.1`. | [optional] [default to 0.6] +**minimum_width** | **float** | Specifies the minimum width of the footway in metres. | [optional] +**smoothness_type** | **str** | Specifies the minimum smoothness of the route. Default is `good`. | [optional] [default to 'good'] +**surface_type** | **str** | Specifies the minimum surface type. Default is `sett`. | [optional] [default to 'sett'] +**track_type** | **str** | Specifies the minimum grade of the route. Default is `grade1`. | [optional] [default to 'grade1'] +**weight** | **float** | Weight restriction in tons. | [optional] +**width** | **float** | Width restriction in metres. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/RoundTripRouteOptions.md b/docs/RoundTripRouteOptions.md new file mode 100644 index 00000000..66f8852d --- /dev/null +++ b/docs/RoundTripRouteOptions.md @@ -0,0 +1,11 @@ +# RoundTripRouteOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**length** | **float** | The target length of the route in `m` (note that this is a preferred value, but results may be different). | [optional] +**points** | **int** | The number of points to use on the route. Larger values create more circular routes. | [optional] +**seed** | **int** | A seed to use for adding randomisation to the overall direction of the generated route | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/RouteOptions.md b/docs/RouteOptions.md new file mode 100644 index 00000000..a3a1ea17 --- /dev/null +++ b/docs/RouteOptions.md @@ -0,0 +1,15 @@ +# RouteOptions + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**avoid_borders** | **str** | Specify which type of border crossing to avoid | [optional] +**avoid_countries** | **list[str]** | List of countries to exclude from matrix with `driving-*` profiles. Can be used together with `'avoid_borders': 'controlled'`. `[ 11, 193 ]` would exclude Austria and Switzerland. List of countries and application examples can be found [here](https://GIScience.github.io/openrouteservice/documentation/routing-options/Country-List.html). Also, ISO standard country codes cna be used in place of the numerical ids, for example, DE or DEU for Germany. | [optional] +**avoid_features** | **list[str]** | List of features to avoid. | [optional] +**avoid_polygons** | [**RouteOptionsAvoidPolygons**](RouteOptionsAvoidPolygons.md) | | [optional] +**profile_params** | [**ProfileParameters**](ProfileParameters.md) | | [optional] +**round_trip** | [**RoundTripRouteOptions**](RoundTripRouteOptions.md) | | [optional] +**vehicle_type** | **str** | Definition of the vehicle type. | [optional] [default to 'hgv'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/RouteOptionsAvoidPolygons.md b/docs/RouteOptionsAvoidPolygons.md new file mode 100644 index 00000000..b9b5fb99 --- /dev/null +++ b/docs/RouteOptionsAvoidPolygons.md @@ -0,0 +1,9 @@ +# RouteOptionsAvoidPolygons + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**empty** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/RouteResponseInfo.md b/docs/RouteResponseInfo.md new file mode 100644 index 00000000..5438cb96 --- /dev/null +++ b/docs/RouteResponseInfo.md @@ -0,0 +1,16 @@ +# RouteResponseInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribution** | **str** | Copyright and attribution information | [optional] +**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**id** | **str** | ID of the request (as passed in by the query) | [optional] +**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] +**query** | [**DirectionsService1**](DirectionsService1.md) | | [optional] +**service** | **str** | The service that was requested | [optional] +**system_message** | **str** | System message | [optional] +**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/Rte.md b/docs/Rte.md new file mode 100644 index 00000000..2aa77d19 --- /dev/null +++ b/docs/Rte.md @@ -0,0 +1,8 @@ +# Rte + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/V2directionsprofilegeojsonScheduleDuration.md b/docs/V2directionsprofilegeojsonScheduleDuration.md new file mode 100644 index 00000000..86b08589 --- /dev/null +++ b/docs/V2directionsprofilegeojsonScheduleDuration.md @@ -0,0 +1,13 @@ +# V2directionsprofilegeojsonScheduleDuration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nano** | **int** | | [optional] +**negative** | **bool** | | [optional] +**seconds** | **int** | | [optional] +**units** | [**list[V2directionsprofilegeojsonScheduleDurationUnits]**](V2directionsprofilegeojsonScheduleDurationUnits.md) | | [optional] +**zero** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/V2directionsprofilegeojsonScheduleDurationDuration.md b/docs/V2directionsprofilegeojsonScheduleDurationDuration.md new file mode 100644 index 00000000..bec91c4c --- /dev/null +++ b/docs/V2directionsprofilegeojsonScheduleDurationDuration.md @@ -0,0 +1,12 @@ +# V2directionsprofilegeojsonScheduleDurationDuration + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nano** | **int** | | [optional] +**negative** | **bool** | | [optional] +**seconds** | **int** | | [optional] +**zero** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/V2directionsprofilegeojsonScheduleDurationUnits.md b/docs/V2directionsprofilegeojsonScheduleDurationUnits.md new file mode 100644 index 00000000..4adc80ba --- /dev/null +++ b/docs/V2directionsprofilegeojsonScheduleDurationUnits.md @@ -0,0 +1,12 @@ +# V2directionsprofilegeojsonScheduleDurationUnits + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**date_based** | **bool** | | [optional] +**duration** | [**V2directionsprofilegeojsonScheduleDurationDuration**](V2directionsprofilegeojsonScheduleDurationDuration.md) | | [optional] +**duration_estimated** | **bool** | | [optional] +**time_based** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/V2directionsprofilegeojsonWalkingTime.md b/docs/V2directionsprofilegeojsonWalkingTime.md new file mode 100644 index 00000000..19074826 --- /dev/null +++ b/docs/V2directionsprofilegeojsonWalkingTime.md @@ -0,0 +1,13 @@ +# V2directionsprofilegeojsonWalkingTime + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nano** | **int** | | [optional] +**negative** | **bool** | | [optional] +**seconds** | **int** | | [optional] +**units** | [**list[V2directionsprofilegeojsonScheduleDurationUnits]**](V2directionsprofilegeojsonScheduleDurationUnits.md) | | [optional] +**zero** | **bool** | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/examples/Avoid_ConstructionSites.md b/docs/examples/Avoid_ConstructionSites.md new file mode 100644 index 00000000..5d466fe0 --- /dev/null +++ b/docs/examples/Avoid_ConstructionSites.md @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/examples/Dieselgate_Routing.md b/docs/examples/Dieselgate_Routing.md new file mode 100644 index 00000000..fad9d1af --- /dev/null +++ b/docs/examples/Dieselgate_Routing.md @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/examples/Routing_Optimization_Idai.md b/docs/examples/Routing_Optimization_Idai.md new file mode 100644 index 00000000..40ebca82 --- /dev/null +++ b/docs/examples/Routing_Optimization_Idai.md @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/examples/ortools_pubcrawl.md b/docs/examples/ortools_pubcrawl.md new file mode 100644 index 00000000..c00d974a --- /dev/null +++ b/docs/examples/ortools_pubcrawl.md @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/make.bat b/docs/make.bat deleted file mode 100644 index ee1886d0..00000000 --- a/docs/make.bat +++ /dev/null @@ -1,36 +0,0 @@ -@ECHO OFF - -pushd %~dp0 - -REM Command file for Sphinx documentation - -if "%SPHINXBUILD%" == "" ( - set SPHINXBUILD=python -msphinx -) -set SOURCEDIR=source -set BUILDDIR=build -set SPHINXPROJ=openrouteservice-py - -if "%1" == "" goto help - -%SPHINXBUILD% >NUL 2>NUL -if errorlevel 9009 ( - echo. - echo.The Sphinx module was not found. Make sure you have Sphinx installed, - echo.then set the SPHINXBUILD environment variable to point to the full - echo.path of the 'sphinx-build' executable. Alternatively you may add the - echo.Sphinx directory to PATH. - echo. - echo.If you don't have Sphinx installed, grab it from - echo.http://sphinx-doc.org/ - exit /b 1 -) - -%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% -goto end - -:help -%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% - -:end -popd diff --git a/docs/source/conf.py b/docs/source/conf.py deleted file mode 100644 index 2a0c4940..00000000 --- a/docs/source/conf.py +++ /dev/null @@ -1,176 +0,0 @@ -# -*- coding: utf-8 -*- -# openrouteservice-py documentation build configuration file, created by -# sphinx-quickstart on Wed Jan 31 20:43:55 2018. -# -# This file is execfile()d with the current directory set to its -# containing dir. -# -# Note that not all possible configuration values are present in this -# autogenerated file. -# -# All configuration values have a default; values that are commented out -# serve to show the default. - -# If extensions (or modules to document with autodoc) are in another directory, -# add these directories to sys.path here. If the directory is relative to the -# documentation root, use os.path.abspath to make it absolute, like shown here. -# -import os -import sys - -# sys.path.insert(0, 'C:\\Users\\gisadmin\\Documents\\Dev\\Git\\Uni\\ORS\\infrastructure\\SDK\\openrouteservice-python-api\\openrouteservice') -sys.path.insert(0, os.path.abspath("../..")) - -# -- General configuration ------------------------------------------------ - -# If your documentation needs a minimal Sphinx version, state it here. -# -# needs_sphinx = '1.0' - -# Add any Sphinx extension module names here, as strings. They can be -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom -# ones. -extensions = ["sphinx.ext.autodoc", "sphinx.ext.todo", "sphinx.ext.coverage"] - -# Add any paths that contain templates here, relative to this directory. -templates_path = [".templates"] - -# The suffix(es) of source filenames. -# You can specify multiple suffix as a list of string: -# -# source_suffix = ['.rst', '.md'] -source_suffix = ".rst" - -# The master toctree document. -master_doc = "index" - -# General information about the project. -project = "openrouteservice-py" -copyright = "2023, HeiGIT gGmbH" -author = "HeiGIT gGmbH" - -# The version info for the project you're documenting, acts as replacement for -# |version| and |release|, also used in various other places throughout the -# built documents. -# -# The short X.Y version. -version = "0.4" -# The full version, including alpha/beta/rc tags. -release = "0.4" - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -# -# This is also used if you do content translation via gettext catalogs. -# Usually you set "language" from the command line for these cases. -language = None - -# List of patterns, relative to source directory, that match files and -# directories to ignore when looking for source files. -# This patterns also effect to html_static_path and html_extra_path -exclude_patterns = [] - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = "sphinx" - -# If true, `todo` and `todoList` produce output, else they produce nothing. -todo_include_todos = True - -# -- Options for HTML output ---------------------------------------------- - -# The theme to use for HTML and HTML Help pages. See the documentation for -# a list of builtin themes. -# -html_theme = "alabaster" - -# Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the -# documentation. -# -# html_theme_options = {} - -# Add any paths that contain custom static files (such as style sheets) here, -# relative to this directory. They are copied after the builtin static files, -# so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = [".static"] - -# Custom sidebar templates, must be a dictionary that maps document names -# to template names. -# -# This is required for the alabaster theme -# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars -html_sidebars = { - "**": [ - "about.html", - "navigation.html", - "relations.html", # needs 'show_related': True theme option to display - "searchbox.html", - "donate.html", - ] -} - -# -- Options for HTMLHelp output ------------------------------------------ - -# Output file base name for HTML help builder. -htmlhelp_basename = "openrouteservice-pydoc" - -# -- Options for LaTeX output --------------------------------------------- - -latex_elements = { - # The paper size ('letterpaper' or 'a4paper'). - # - # 'papersize': 'letterpaper', - # The font size ('10pt', '11pt' or '12pt'). - # - # 'pointsize': '10pt', - # Additional stuff for the LaTeX preamble. - # - # 'preamble': '', - # Latex figure (float) alignment - # - # 'figure_align': 'htbp', -} - -# Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, -# author, documentclass [howto, manual, or own class]). -latex_documents = [ - ( - master_doc, - "openrouteservice-py.tex", - "openrouteservice-py Documentation", - "HeiGIT gGmbH", - "manual", - ), -] - -# -- Options for manual page output --------------------------------------- - -# One entry per manual page. List of tuples -# (source start file, name, description, authors, manual section). -man_pages = [ - ( - master_doc, - "openrouteservice-py", - "openrouteservice-py Documentation", - [author], - 1, - ) -] - -# -- Options for Texinfo output ------------------------------------------- - -# Grouping the document tree into Texinfo files. List of tuples -# (source start file, target name, title, author, -# dir menu entry, description, category) -texinfo_documents = [ - ( - master_doc, - "openrouteservice-py", - "openrouteservice-py Documentation", - author, - "openrouteservice-py", - "One line description of project.", - "Miscellaneous", - ), -] diff --git a/docs/source/index.rst b/docs/source/index.rst deleted file mode 100644 index 34578f23..00000000 --- a/docs/source/index.rst +++ /dev/null @@ -1,22 +0,0 @@ -.. openrouteservice-py documentation master file, created by - sphinx-quickstart on Wed Jan 31 20:43:55 2018. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - - -.. include:: ../../README.rst -.. include:: openrouteservice.rst - -* :ref:`genindex` -* :ref:`modindex` -* :ref:`search` - - -Indices and tables -================== - -.. toctree:: - :maxdepth: 4 - - readme_link - openrouteservice diff --git a/docs/source/modules.rst b/docs/source/modules.rst deleted file mode 100644 index b45c4804..00000000 --- a/docs/source/modules.rst +++ /dev/null @@ -1,5 +0,0 @@ -docs -==== - -.. toctree:: - :maxdepth: 4 diff --git a/docs/source/openrouteservice.rst b/docs/source/openrouteservice.rst deleted file mode 100644 index fff88920..00000000 --- a/docs/source/openrouteservice.rst +++ /dev/null @@ -1,94 +0,0 @@ -Library reference -======================== - -Submodules ----------- - -openrouteservice\.client module -------------------------------- - -.. automodule:: openrouteservice.client - :members: - :exclude-members: directions, isochrones, distance_matrix, places, pelias_reverse, pelias_search, pelias_structured, pelias_autocomplete, elevation_line, elevation_point, optimization - :show-inheritance: - -openrouteservice\.convert module --------------------------------- - -.. automodule:: openrouteservice.convert - :members: - :undoc-members: - :show-inheritance: - -openrouteservice\.directions module ------------------------------------ - -.. automodule:: openrouteservice.directions - :members: - :undoc-members: - :show-inheritance: - -openrouteservice\.isochrones module ------------------------------------ - -.. automodule:: openrouteservice.isochrones - :members: - :undoc-members: - :show-inheritance: - -openrouteservice\.distance\_matrix module ------------------------------------------ - -.. automodule:: openrouteservice.distance_matrix - :members: - :undoc-members: - :show-inheritance: - -openrouteservice\.geocode module ----------------------------------- - -.. automodule:: openrouteservice.geocode - :members: - :undoc-members: - :show-inheritance: - -openrouteservice\.elevation module ----------------------------------- - -.. automodule:: openrouteservice.elevation - :members: - :undoc-members: - :show-inheritance: - -openrouteservice\.places module --------------------------------- - -.. automodule:: openrouteservice.places - :members: - :undoc-members: - :show-inheritance: - -openrouteservice\.optimization module ------------------------------------- - -.. automodule:: openrouteservice.optimization - :members: - :undoc-members: - :show-inheritance: - -openrouteservice\.exceptions module ------------------------------------ - -.. automodule:: openrouteservice.exceptions - :members: - :undoc-members: - :show-inheritance: - - -Module contents ---------------- - -.. automodule:: openrouteservice - :members: - :undoc-members: - :show-inheritance: diff --git a/docs/source/readme_link.rst b/docs/source/readme_link.rst deleted file mode 100644 index a6210d3d..00000000 --- a/docs/source/readme_link.rst +++ /dev/null @@ -1 +0,0 @@ -.. include:: ../../README.rst diff --git a/environment.yml b/environment.yml deleted file mode 100644 index 0d21131d..00000000 --- a/environment.yml +++ /dev/null @@ -1,10 +0,0 @@ -# for https://mybinder.org -# from https://github.com/binder-examples/python-conda_pip/blob/master/environment.yml -name: orspy-examples -channels: - - conda-forge -dependencies: - - python - - folium - - pip: - - openrouteservice diff --git a/examples/Avoid_ConstructionSites.html b/examples/Avoid_ConstructionSites.html new file mode 100644 index 00000000..1d642a98 --- /dev/null +++ b/examples/Avoid_ConstructionSites.html @@ -0,0 +1,12828 @@ + + + + + +Avoid_ConstructionSites + + + + + + + + + + + + +
+ + + + + + + + +
+ + diff --git a/examples/Avoid_ConstructionSites.ipynb b/examples/Avoid_ConstructionSites.ipynb new file mode 100644 index 00000000..f4d82d92 --- /dev/null +++ b/examples/Avoid_ConstructionSites.ipynb @@ -0,0 +1,5330 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Avoiding construction sites dynamically\n", + "> Note: All notebooks need the [environment dependencies](https://github.com/GIScience/openrouteservice-examples#local-installation)\n", + "> as well as an [openrouteservice API key](https://ors.org/dev/#/signup) to run" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "In this example, we'd like to showcase how to use the [directions API][directions] and to avoid a number of\n", + "construction sites while routing.\n", + "\n", + "The challenge here is to prepare the data appropriately and construct a reasonable GET request.\n", + "\n", + "[directions]: https://openrouteservice.org/dev/#/api-docs/directions" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "import folium\n", + "import pyproj\n", + "import requests\n", + "import openrouteservice as ors\n", + "from shapely import geometry\n", + "from shapely.geometry import Point, LineString, Polygon, MultiPolygon" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Rostock is beautiful, but, as in most other pan-European cities, there are a lot of construction sites.\n", + "Wouldn't it be great if we could plan our trip avoiding these sites and consequently save lots of time!?" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Construction sites in Rostock" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "We take the [open data](https://www.opendata-hro.de/de/dataset/baustellen) from the Rostock authorities.\n", + "It's hard (to impossible) to find construction site polygons, so these are points, and we need to buffer them to\n", + "a polygon to be able to avoid them when they cross a street.\n", + "\n", + "For the investigatory in you: yes, no CRS is specified on the link (shame on you, Rostock!).\n", + "It's fair enough to assume it comes in WGS84 lat/long though (my reasoning:\n", + "they show Leaflet maps plus GeoJSON is generally a web exchange format, and many web clients (Google Maps, Leaflet)\n", + "won't take CRS other than WGS84).\n", + "Since degrees are not the most convenient unit to work with, let's first define a function which does the buffering job\n", + "with UTM32N projected coordinates:" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [], + "source": [ + "url = 'https://geo.sv.rostock.de/download/opendata/baustellen/baustellen.json'\n", + "\n", + "\n", + "def create_buffer_polygon(point_in, resolution=10, radius=10):\n", + " convert = pyproj.Transformer.from_crs(\"epsg:4326\", 'epsg:32632') # WGS84 to UTM32N\n", + " convert_back = pyproj.Transformer.from_crs('epsg:32632', \"epsg:4326\") # UTM32N to WGS84\n", + " point_in_proj = convert.transform(*point_in)\n", + " point_buffer_proj = Point(point_in_proj).buffer(radius, resolution=resolution) # 10 m buffer\n", + "\n", + " # Iterate over all points in buffer and build polygon\n", + " poly_wgs = []\n", + " for point in point_buffer_proj.exterior.coords:\n", + " poly_wgs.append(convert_back.transform(*point)) # Transform back to WGS84\n", + "\n", + " return poly_wgs" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 3, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Set up the fundamentals\n", + "api_key = 'your-api-key' # Individual api key\n", + "configuration = ors.Configuration()\n", + "configuration.api_key['Authorization'] = api_key\n", + "\n", + "rostock_json = requests.get(url).json() # Get data as JSON\n", + "\n", + "map_params = {'tiles': 'Stamen Toner',\n", + " 'location': ([54.13207, 12.101612]),\n", + " 'zoom_start': 12}\n", + "map1 = folium.Map(**map_params)\n", + "\n", + "# Populate a construction site buffer polygon list\n", + "sites_poly = []\n", + "for site_data in rostock_json['features']:\n", + " site_coords = site_data['geometry']['coordinates']\n", + " folium.features.Marker(list(reversed(site_coords)),\n", + " popup='Construction point
{0}'.format(site_coords)).add_to(map1)\n", + "\n", + " # Create buffer polygons around construction sites with 10 m radius and low resolution\n", + " site_poly_coords = create_buffer_polygon(site_coords,\n", + " resolution=2, # low resolution to keep polygons lean\n", + " radius=10)\n", + " sites_poly.append(site_poly_coords)\n", + "\n", + " site_poly_coords = [(y, x) for x, y in site_poly_coords] # Reverse coords for folium/Leaflet\n", + " folium.vector_layers.Polygon(locations=site_poly_coords,\n", + " color='#ffd699',\n", + " fill_color='#ffd699',\n", + " fill_opacity=0.2,\n", + " weight=3).add_to(map1)\n", + "\n", + "map1" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "That's a lot of construction sites in Rostock! If you dig into the `properties` of the JSON, you'll see that those\n", + "are kept up-to-date though. Seems like an annoying place to ride a car...\n", + "\n", + "Anyways, as you might know, a GET request can only contain so many characters. Unfortunately, > 80 polygons are more\n", + "than a GET can take (that's why we set `resolution = 2`).\n", + "Because there's no POST endpoint available currently, we'll have to work around it:\n", + "\n", + "One sensible thing one could do, is to eliminate construction zones which are not in the immediate surrounding of the\n", + "route of interest.\n", + "Hence, we can request a route without construction sites, take a reasonable buffer,\n", + "filter construction sites within the buffer and try again.\n", + "\n", + "Let's try this:" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# GeoJSON style function\n", + "def style_function(color):\n", + " return lambda feature: dict(color=color,\n", + " weight=3,\n", + " opacity=0.5)\n", + "\n", + "\n", + "# Create new map to start from scratch\n", + "map_params.update({'location': ([54.091389, 12.096686]),\n", + " 'zoom_start': 13})\n", + "map2 = folium.Map(**map_params)\n", + "\n", + "api_instance = ors.DirectionsServiceApi(ors.ApiClient(configuration))\n", + "body = ors.DirectionsService(\n", + " coordinates=[[12.108259, 54.081919],[12.072063, 54.103684]],\n", + " preference='shortest',\n", + " instructions=False\n", + ")\n", + "api_response = api_instance.get_geo_json_route(body, 'driving-car')\n", + "route_normal = ors.todict(api_response)\n", + "\n", + "\n", + "folium.features.GeoJson(data=route_normal,\n", + " name='Route without construction sites',\n", + " style_function=style_function('#FF0000'),\n", + " overlay=True).add_to(map2)\n", + "\n", + "# Buffer route with 0.009 degrees (really, just too lazy to project again...)\n", + "route_buffer = LineString(route_normal['features'][0]['geometry']['coordinates']).buffer(0.009)\n", + "folium.features.GeoJson(data=geometry.mapping(route_buffer),\n", + " name='Route Buffer',\n", + " style_function=style_function('#FFFF00'),\n", + " overlay=True).add_to(map2)\n", + "\n", + "# Plot which construction sites fall into the buffer Polygon\n", + "sites_buffer_poly = []\n", + "for site_poly in sites_poly:\n", + " poly = Polygon(site_poly)\n", + " if route_buffer.intersects(poly):\n", + " folium.features.Marker(list(reversed(poly.centroid.coords[0]))).add_to(map2)\n", + " sites_buffer_poly.append(poly)\n", + "\n", + "map2" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Finally, we can try to request a route using `avoid_polygons`, which conveniently takes a GeoJSON as input." + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 5, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Add the site polygons to the request parameters\n", + "body = ors.DirectionsService(\n", + " coordinates=[[12.108259, 54.081919],[12.072063, 54.103684]],\n", + " preference='shortest',\n", + " instructions=False,\n", + " options={'avoid_polygons': geometry.mapping(MultiPolygon(sites_buffer_poly)),}\n", + ")\n", + "\n", + "api_response = api_instance.get_geo_json_route(body, 'driving-car')\n", + "route_detour = ors.todict(api_response)\n", + "\n", + "folium.features.GeoJson(data=route_detour,\n", + " name='Route with construction sites',\n", + " style_function=style_function('#00FF00'),\n", + " overlay=True).add_to(map2)\n", + "\n", + "map2.add_child(folium.map.LayerControl())\n", + "map2" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "> Note: This request might fail sometime in the future, as the JSON is loaded dynamically and changes a few times\n", + "> a week.\n", + "> Thus the amount of sites within the buffer can exceed the GET limit (which is between 15-20 site polygons approx)." + ] + } + ], + "metadata": { + "jupytext": { + "formats": "ipynb,py:light" + }, + "kernelspec": { + "display_name": "Python 3 (ipykernel)", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.10.12" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/examples/Dieselgate_Routing.html b/examples/Dieselgate_Routing.html new file mode 100644 index 00000000..d5373a66 --- /dev/null +++ b/examples/Dieselgate_Routing.html @@ -0,0 +1,8445 @@ + + + + + +Dieselgate_Routing + + + + + + + + + + + + +
+ + + + + +
+ + diff --git a/examples/Dieselgate_Routing.ipynb b/examples/Dieselgate_Routing.ipynb new file mode 100644 index 00000000..c90c1658 --- /dev/null +++ b/examples/Dieselgate_Routing.ipynb @@ -0,0 +1,970 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "58981b12", + "metadata": {}, + "source": [ + "# Dieselgate Routing\n", + "\n", + "> Note: All notebooks need the environment dependencies as well as an openrouteservice API key to run\n", + "\n", + "From the year 2019 on, Berlin will impose the Diesel ban. The following streets will be affected: Leipziger Straße, Reinhardstraße, Friedrichstraße, Brückenstraße, Kapweg, Alt-Moabit, Stromstraße und Leonorenstraße.\n", + "\n", + "As a showcase, we'll have a look how the frequent visits of Angela Merkel to the German Currywurst Museum (solely inferred from superficial research) will change its route from 2019. You'll find remarkable similarities." + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "id": "a44085a3-bcb8-44ad-9fe1-e283c85a23bd", + "metadata": {}, + "outputs": [], + "source": [ + "import openrouteservice as ors\n", + "import folium\n", + "from shapely.geometry import LineString, mapping\n", + "from shapely.ops import unary_union\n", + "\n", + "def style_function(color): # To style data\n", + " return lambda feature: dict(color=color, opacity=0.5, weight=4)" + ] + }, + { + "cell_type": "markdown", + "id": "804b121c", + "metadata": {}, + "source": [ + "### Regular route\n", + "So far: The shortest route for a car from A to B." + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "12164e5b-fa76-41ad-b217-03710b09fecd", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 2, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Basic parameters\n", + "configuration = ors.Configuration()\n", + "configuration.api_key['Authorization'] = 'your-api-key' # https://openrouteservice.org/sign-up\n", + "api = ors.DirectionsServiceApi(ors.ApiClient(configuration))\n", + "\n", + "\n", + "map_berlin = folium.Map(tiles='https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n", + " attr='© OpenStreetMap contributors',\n", + " location=([52.516586, 13.381047]),\n", + " zoom_start=13.5) # Create map\n", + "\n", + "popup_route = \"

{0} route


\" \\\n", + " \"Duration: {1:.1f} mins
\" \\\n", + " \"Distance: {2:.3f} km\"\n", + "\n", + "\n", + "# Request route\n", + "coordinates = [[13.372582, 52.520295], [13.391476, 52.508856]]\n", + "body = ors.DirectionsService(\n", + " coordinates=coordinates,\n", + " preference='shortest',\n", + " geometry=True\n", + ")\n", + "profile = 'driving-car'\n", + "regular_route = api.get_geo_json_route(body, profile)\n", + "\n", + "# Build popup\n", + "distance, duration = regular_route.features[0]['properties']['summary'].values()\n", + "popup = folium.map.Popup(popup_route.format('Regular',\n", + " duration / 60,\n", + " distance / 1000))\n", + "regular_route = ors.todict(regular_route)\n", + "\n", + "gj = folium.GeoJson(regular_route,\n", + " name='Regular Route',\n", + " style_function=style_function('blue')\n", + " ).add_child(popup).add_to(map_berlin)\n", + "\n", + "folium.Marker(list(reversed(coordinates[0])), popup='Bundeskanzleramt').add_to(map_berlin)\n", + "folium.Marker(list(reversed(coordinates[1])), popup='Deutsches Currywurst Museum').add_to(map_berlin)\n", + "map_berlin" + ] + }, + { + "cell_type": "markdown", + "id": "54ece891-2853-43f3-b257-6fd2c46fd5fd", + "metadata": {}, + "source": [ + "### Dieselgate Routing\n", + "\n", + "Coming soon: The shortest route for a Diesel driver, which must avoid the blackish areas. Then, affected cars can't cross Friedrichstraße anymore. See for yourself:" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "ebb1aee4-7e32-4e4f-ac79-a2e9e2fdac50", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 3, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "avoid_streets = [{'name': 'Friedrichstraße', 'coords': [[13.390478, 52.506805], [13.387141, 52.52696]]},\n", + " {'name': 'Leiziger Straße', 'coords': [[13.377807, 52.509587], [13.401142, 52.511291]]},\n", + " {'name': 'Brückenstraße', 'coords': [[13.416549, 52.511141], [13.417686, 52.513531]]},\n", + " {'name': 'Alt-Moabit', 'coords': [[13.327618, 52.524322], [13.367872, 52.522325]]},\n", + " {'name': 'Stromstraße', 'coords': [[13.342155, 52.523474], [13.343239, 52.531555]]}]\n", + "\n", + "# Affected streets\n", + "buffer = []\n", + "for street in avoid_streets:\n", + " body = ors.DirectionsService(\n", + " coordinates=street['coords'],\n", + " preference='shortest',\n", + " geometry=True\n", + " )\n", + " profile = 'driving-car'\n", + " avoid_request = api.get_geo_json_route(body, profile)\n", + "\n", + "\n", + " coords = avoid_request.features[0]['geometry']['coordinates']\n", + " route_buffer = LineString(coords).buffer(0.0005) # Create geometry buffer\n", + " folium.vector_layers.Polygon([(y, x) for x, y in list(route_buffer.exterior.coords)],\n", + " color=('#FF0000'),\n", + " popup=street['name'], ).add_to(map_berlin)\n", + " simp_geom = route_buffer.simplify(0.005) # Simplify geometry for better handling\n", + " buffer.append(simp_geom)\n", + "union_buffer = unary_union(buffer)\n", + "map_berlin" + ] + }, + { + "cell_type": "markdown", + "id": "57c79f13-0e4e-4fa5-99fd-489a642caa29", + "metadata": {}, + "source": [ + "If they are serious about it, this will be the route while avoiding the banned areas:" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "id": "259148f3-1b78-4236-96cf-705f55343dfa", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "body = ors.DirectionsService(\n", + " coordinates=coordinates,\n", + " preference='shortest',\n", + " instructions=False,\n", + " options={'avoid_polygons': mapping(union_buffer)}\n", + ")\n", + "profile = 'driving-car'\n", + "route_diesel = api.get_geo_json_route(body, profile)\n", + "\n", + "\n", + "# Build popup\n", + "distance, duration = route_diesel.features[0]['properties']['summary'].values()\n", + "popup = folium.map.Popup(popup_route.format('Diesel Route',\n", + " duration / 60,\n", + " distance / 1000))\n", + "\n", + "folium.GeoJson(ors.todict(route_diesel),\n", + " style_function=style_function('black'),\n", + " name='Route after Jan 2019').add_child(popup).add_to(map_berlin)\n", + "\n", + "map_berlin.add_child(folium.map.LayerControl())" + ] + }, + { + "cell_type": "markdown", + "id": "f1648ced", + "metadata": {}, + "source": [ + "Now, here it should be noted, that our dear Chancellor would have to drive a detour of more than **1.5 times** the current distance, imposing 50% more pollution on Berlin's residents, just to enjoy the history of the Currywurst. Click on the routes to see for yourself.\n", + "\n", + "At least Friedrichstraße is safe soon!\n" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3 (ipykernel)", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.10.12" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/examples/Routing_Optimization_Idai.html b/examples/Routing_Optimization_Idai.html new file mode 100644 index 00000000..c2484c31 --- /dev/null +++ b/examples/Routing_Optimization_Idai.html @@ -0,0 +1,9291 @@ + + + + + +Routing_Optimization_Idai + + + + + + + + + + + + +
+ + + + + + + + + + + +
+ + diff --git a/examples/Routing_Optimization_Idai.ipynb b/examples/Routing_Optimization_Idai.ipynb new file mode 100644 index 00000000..46dd46d4 --- /dev/null +++ b/examples/Routing_Optimization_Idai.ipynb @@ -0,0 +1,1813 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Routing optimization in a humanitarian context\n", + "> Note: All notebooks need the [environment dependencies](https://github.com/GIScience/openrouteservice-examples#local-installation)\n", + "> as well as an [openrouteservice API key](https://openrouteservice.org/dev/#/signup) to run\n", + "\n", + "Routing optimization generally solves the [Vehicle Routing Problem](https://en.wikipedia.org/wiki/Vehicle_routing_problem)\n", + "(a simple example being the more widely known [Traveling Salesman Problem](https://en.wikipedia.org/wiki/Travelling_salesman_problem)).\n", + "A more complex example would be the distribution of goods by a fleet of multiple vehicles to dozens of locations,\n", + "where each vehicle has certain time windows in which it can operate and each delivery location has certain time windows\n", + "in which it can be served (e.g. opening times of a supermarket).\n", + "\n", + "In this example we'll look at a real-world scenario of **distributing medical goods during disaster response**\n", + "following one of the worst tropical cyclones ever been recorded in Africa: **Cyclone Idai**.\n", + "\n", + "![Cyclone Idai second landfall](https://openrouteservice.org/wp-content/uploads/2017/07/idai_flooding_satellite.jpeg \"Copernicus Sentinel-1 -satellite (modified Copernicus Sentinel data (2019), processed by ESA, CC BY-SA 3.0 IGO)\")\n", + "*Cyclone Idai floods in false color image on 19.03.2019; © Copernicus Sentinel-1 -satellite (modified Copernicus Sentinel data (2019), processed by ESA, CC BY-SA 3.0 IGO), [source](http://www.esa.int/spaceinimages/Images/2019/03/Floods_imaged_by_Copernicus_Sentinel-1)*\n", + "\n", + "In this scenario, a humanitarian organization shipped much needed medical goods to Beira, Mozambique, which were then\n", + "dispatched to local vehicles to be delivered across the region.\n", + "The supplies included vaccinations and medications for water-borne diseases such as Malaria and Cholera,\n", + "so distribution efficiency was critical to contain disastrous epidemics.\n", + "\n", + "We'll solve this complex problem with the **optimization** endpoint of [openrouteservice](https://openrouteservice.org)." + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [], + "source": [ + "import folium\n", + "from folium.plugins import BeautifyIcon\n", + "import pandas as pd\n", + "import openrouteservice as ors" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## The logistics setup\n", + "\n", + "In total 20 sites were identified in need of the medical supplies, while 3 vehicles were scheduled for delivery.\n", + "Let's assume there was only one type of goods, e.g. standard moving boxes full of one medication.\n", + "(In reality there were dozens of different good types, which can be modelled with the same workflow,\n", + "but that'd unnecessarily bloat this example).\n", + "\n", + "The **vehicles** were all located in the port of Beira and had the same following constraints:\n", + "\n", + "- operation time windows from 8:00 to 20:00\n", + "- loading capacity of 300 *[arbitrary unit]*\n", + "\n", + "The **delivery locations** were mostly located in the Beira region, but some extended ~ 200 km to the north of Beira.\n", + "Their needs range from 10 to 148 units of the arbitrary medication goods\n", + "(consult the file located at `../resources/data/idai_health_sites.csv`). Let's look at it in a map." + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# First define the map centered around Beira\n", + "m = folium.Map(location=[-18.63680, 34.79430], tiles='cartodbpositron', zoom_start=8)\n", + "\n", + "# Next load the delivery locations from CSV file at ../resources/data/idai_health_sites.csv\n", + "# ID, Lat, Lon, Open_From, Open_To, Needed_Amount\n", + "deliveries_data = pd.read_csv(\n", + " 'data/idai_health_sites.csv',\n", + " index_col=\"ID\",\n", + " parse_dates=[\"Open_From\", \"Open_To\"]\n", + ")\n", + "\n", + "# Plot the locations on the map with more info in the ToolTip\n", + "for location in deliveries_data.itertuples():\n", + " tooltip = folium.map.Tooltip(\"

ID {}

Supplies needed: {}

\".format(\n", + " location.Index, location.Needed_Amount\n", + " ))\n", + "\n", + " folium.Marker(\n", + " location=[location.Lat, location.Lon],\n", + " tooltip=tooltip,\n", + " icon=BeautifyIcon(\n", + " icon_shape='marker',\n", + " number=int(location.Index),\n", + " spin=True,\n", + " text_color='red',\n", + " background_color=\"#FFF\",\n", + " inner_icon_style=\"font-size:12px;padding-top:-5px;\"\n", + " )\n", + " ).add_to(m)\n", + "\n", + "# The vehicles are all located at the port of Beira\n", + "depot = [-19.818474, 34.835447]\n", + "\n", + "folium.Marker(\n", + " location=depot,\n", + " icon=folium.Icon(color=\"green\", icon=\"bus\", prefix='fa'),\n", + " setZIndexOffset=1000\n", + ").add_to(m)\n", + "\n", + "m" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## The routing problem setup\n", + "\n", + "Now that we have described the setup sufficiently, we can start to set up our actual Vehicle Routing Problem.\n", + "For this example we're using the FOSS library of [Vroom](https://github.com/VROOM-Project/vroom), which has\n", + "[recently seen](http://k1z.blog.uni-heidelberg.de/2019/01/24/solve-routing-optimization-with-vroom-ors/) support for\n", + "openrouteservice and is available through our APIs.\n", + "\n", + "To properly describe the problem in algorithmic terms, we have to provide the following information:\n", + "\n", + "- **vehicles start/end address**: vehicle depot in Beira's port\n", + "- **vehicle capacity**: 300\n", + "- **vehicle operational times**: 08:00 - 20:00\n", + "- **service location**: delivery location\n", + "- **service time windows**: individual delivery location's time window\n", + "- **service amount**: individual delivery location's needs\n", + "\n", + "We defined all these parameters either in code above or in the data sheet located in\n", + "`../resources/data/idai_health_sites.csv`.\n", + "Now we have to only wrap this information into our code and send a request to openrouteservice optimization service at\n", + "[`https://api.openrouteservice.org/optimization`](https://openrouteservice.org/dev/#/api-docs/optimization/post)." + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": {}, + "outputs": [], + "source": [ + "# Define the vehicles\n", + "# https://openrouteservice-py.readthedocs.io/en/latest/openrouteservice.html#openrouteservice.optimization.Vehicle\n", + "vehicles = list()\n", + "for idx in range(3):\n", + " vehicles.append(\n", + " ors.OptimizationVehicles(\n", + " id=idx,\n", + " start=list(reversed(depot)),\n", + " profile='driving-car',\n", + " # end=list(reversed(depot)),\n", + " capacity=[300],\n", + " time_window=[1553241600, 1553284800] # Fri 8-20:00, expressed in POSIX timestamp\n", + " )\n", + " )\n", + "\n", + "# Next define the delivery stations\n", + "# https://openrouteservice-py.readthedocs.io/en/latest/openrouteservice.html#openrouteservice.optimization.Job\n", + "deliveries = list()\n", + "for delivery in deliveries_data.itertuples():\n", + " deliveries.append(\n", + " ors.OptimizationJobs(\n", + " id=delivery.Index,\n", + " location=[delivery.Lon, delivery.Lat],\n", + " service=1200, # Assume 20 minutes at each site\n", + " amount=[delivery.Needed_Amount],\n", + " time_windows=[[\n", + " int(delivery.Open_From.timestamp()), # VROOM expects UNIX timestamp\n", + " int(delivery.Open_To.timestamp())\n", + " ]]\n", + " )\n", + " )" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "With that set up we can now perform the actual request and let openrouteservice calculate the optimal vehicle schedule\n", + "for all deliveries." + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 6, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Initialize a client and make the request\n", + "configuration = ors.Configuration()\n", + "configuration.api_key['Authorization'] = \"your-api-key\"\n", + "\n", + "optimizationApi = ors.OptimizationApi(ors.ApiClient(configuration))\n", + "body = ors.OptimizationBody(\n", + " jobs=deliveries,\n", + " vehicles=vehicles,\n", + " options=ors.OptimizationOptions(g=True)\n", + ")\n", + "\n", + "result = optimizationApi.optimization_post(body)\n", + "\n", + "# Add the output to the map\n", + "for color, route in zip(['green', 'red', 'blue'], result.routes):\n", + " gj = folium.GeoJson(\n", + " name='Vehicle {}'.format(route.vehicle),\n", + " data={\"type\": \"FeatureCollection\", \"features\": [{\"type\": \"Feature\",\n", + " \"geometry\": ors.decode_polyline(route.geometry),\n", + " \"properties\": {\"color\": color}\n", + " }]},\n", + " style_function=lambda x: {\"color\": x['properties']['color']}\n", + " )\n", + " gj.add_child(folium.Tooltip(\n", + " \"\"\"

Vehicle {vehicle}

\n", + " Distance {distance} m
\n", + " Duration {duration} secs\n", + " \"\"\".format(**ors.todict(route))\n", + " ))\n", + " gj.add_to(m)\n", + "\n", + "folium.LayerControl().add_to(m)\n", + "m" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "## Data view\n", + "\n", + "Plotting it on a map is nice, but let's add a little more context to it in form of data tables.\n", + "First the overall trip schedule:" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Overall schedule" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
distanceamountduration
vehicle
0474009.0[290]28365.0
1333880.0[295]27028.0
2476172.0[295]23679.0
\n", + "
" + ], + "text/plain": [ + " distance amount duration\n", + "vehicle \n", + "0 474009.0 [290] 28365.0\n", + "1 333880.0 [295] 27028.0\n", + "2 476172.0 [295] 23679.0" + ] + }, + "execution_count": 7, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# Only extract relevant fields from the response\n", + "extract_fields = ['distance', 'amount', 'duration']\n", + "data = [{key: getattr(route, key) for key in extract_fields} for route in result.routes]\n", + "\n", + "vehicles_df = pd.DataFrame(data)\n", + "vehicles_df.index.name = 'vehicle'\n", + "vehicles_df" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "So every vehicle's capacity is almost fully exploited. That's good.\n", + "How about a look at the individual service stations:" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": {}, + "outputs": [], + "source": [ + "# Create a list to display the schedule for all vehicles\n", + "stations = list()\n", + "for route in result.routes:\n", + " vehicle = list()\n", + " for step in route.steps:\n", + " vehicle.append(\n", + " [\n", + " step.job if step.job else \"Depot\", # Station ID\n", + " step.arrival, # Arrival time\n", + " step.arrival + (step.service if step.service else 0), # Departure time\n", + "\n", + " ]\n", + " )\n", + " stations.append(vehicle)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Now we can look at each individual vehicle's timetable:" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Vehicle 0" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
Station IDArrivalDeparture
0Depot2019-03-22 08:12:452019-03-22 08:12:45
162019-03-22 08:30:002019-03-22 08:50:00
222019-03-22 08:58:592019-03-22 09:18:59
3182019-03-22 09:31:232019-03-22 09:51:23
492019-03-22 10:48:412019-03-22 11:08:41
5162019-03-22 16:45:402019-03-22 17:05:40
6152019-03-22 17:45:302019-03-22 18:05:30
\n", + "
" + ], + "text/plain": [ + " Station ID Arrival Departure\n", + "0 Depot 2019-03-22 08:12:45 2019-03-22 08:12:45\n", + "1 6 2019-03-22 08:30:00 2019-03-22 08:50:00\n", + "2 2 2019-03-22 08:58:59 2019-03-22 09:18:59\n", + "3 18 2019-03-22 09:31:23 2019-03-22 09:51:23\n", + "4 9 2019-03-22 10:48:41 2019-03-22 11:08:41\n", + "5 16 2019-03-22 16:45:40 2019-03-22 17:05:40\n", + "6 15 2019-03-22 17:45:30 2019-03-22 18:05:30" + ] + }, + "execution_count": 9, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "df_stations_0 = pd.DataFrame(stations[0], columns=[\"Station ID\", \"Arrival\", \"Departure\"])\n", + "df_stations_0['Arrival'] = pd.to_datetime(df_stations_0['Arrival'], unit='s')\n", + "df_stations_0['Departure'] = pd.to_datetime(df_stations_0['Departure'], unit='s')\n", + "df_stations_0" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Vehicle 1" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
Station IDArrivalDeparture
0Depot2019-03-22 08:00:002019-03-22 08:00:00
1122019-03-22 08:43:542019-03-22 09:03:54
2132019-03-22 09:17:112019-03-22 09:37:11
3112019-03-22 09:57:342019-03-22 10:17:34
482019-03-22 12:20:312019-03-22 12:40:31
5172019-03-22 14:31:292019-03-22 14:51:29
612019-03-22 17:10:282019-03-22 17:30:28
\n", + "
" + ], + "text/plain": [ + " Station ID Arrival Departure\n", + "0 Depot 2019-03-22 08:00:00 2019-03-22 08:00:00\n", + "1 12 2019-03-22 08:43:54 2019-03-22 09:03:54\n", + "2 13 2019-03-22 09:17:11 2019-03-22 09:37:11\n", + "3 11 2019-03-22 09:57:34 2019-03-22 10:17:34\n", + "4 8 2019-03-22 12:20:31 2019-03-22 12:40:31\n", + "5 17 2019-03-22 14:31:29 2019-03-22 14:51:29\n", + "6 1 2019-03-22 17:10:28 2019-03-22 17:30:28" + ] + }, + "execution_count": 10, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "df_stations_1 = pd.DataFrame(stations[1], columns=[\"Station ID\", \"Arrival\", \"Departure\"])\n", + "df_stations_1['Arrival'] = pd.to_datetime(df_stations_1['Arrival'], unit='s')\n", + "df_stations_1['Departure'] = pd.to_datetime(df_stations_1['Departure'], unit='s')\n", + "df_stations_1" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Vehicle 2" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
\n", + "\n", + "\n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + " \n", + "
Station IDArrivalDeparture
0Depot2019-03-22 08:53:232019-03-22 08:53:23
142019-03-22 09:02:212019-03-22 09:22:21
252019-03-22 09:27:082019-03-22 09:47:08
372019-03-22 10:00:002019-03-22 10:20:00
432019-03-22 10:31:042019-03-22 10:51:04
5142019-03-22 11:08:262019-03-22 11:28:26
6102019-03-22 11:59:242019-03-22 12:19:24
7202019-03-22 17:28:022019-03-22 17:48:02
\n", + "
" + ], + "text/plain": [ + " Station ID Arrival Departure\n", + "0 Depot 2019-03-22 08:53:23 2019-03-22 08:53:23\n", + "1 4 2019-03-22 09:02:21 2019-03-22 09:22:21\n", + "2 5 2019-03-22 09:27:08 2019-03-22 09:47:08\n", + "3 7 2019-03-22 10:00:00 2019-03-22 10:20:00\n", + "4 3 2019-03-22 10:31:04 2019-03-22 10:51:04\n", + "5 14 2019-03-22 11:08:26 2019-03-22 11:28:26\n", + "6 10 2019-03-22 11:59:24 2019-03-22 12:19:24\n", + "7 20 2019-03-22 17:28:02 2019-03-22 17:48:02" + ] + }, + "execution_count": 11, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "df_stations_2 = pd.DataFrame(stations[2], columns=[\"Station ID\", \"Arrival\", \"Departure\"])\n", + "df_stations_2['Arrival'] = pd.to_datetime(df_stations_2['Arrival'], unit='s')\n", + "df_stations_2['Departure'] = pd.to_datetime(df_stations_2['Departure'], unit='s')\n", + "df_stations_2" + ] + } + ], + "metadata": { + "jupytext": { + "encoding": "# -*- coding: utf-8 -*-", + "formats": "ipynb,py:light" + }, + "kernelspec": { + "display_name": "Python 3 (ipykernel)", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.10.12" + }, + "toc": { + "base_numbering": 1, + "nav_menu": {}, + "number_sections": true, + "sideBar": true, + "skip_h1_title": true, + "title_cell": "Table of Contents", + "title_sidebar": "Contents", + "toc_cell": false, + "toc_position": {}, + "toc_section_display": true, + "toc_window_display": true + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/examples/basic_example.ipynb b/examples/basic_example.ipynb deleted file mode 100644 index e226e6b9..00000000 --- a/examples/basic_example.ipynb +++ /dev/null @@ -1,596 +0,0 @@ -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# Simple `openrouteservice-py` examples\n", - "\n", - "This notebook is just a small reference on how to use `openrouteservice` package to request:\n", - "- [directions](https://openrouteservice.org/dev)\n", - "- [isochrones](https://openrouteservice.org/dev/#/api-docs/v2/isochrones/{profile}/post)\n", - "- [matrix](https://openrouteservice.org/dev/#/api-docs/v2/matrix/{profile}/post)\n", - "- [POIs](https://openrouteservice.org/dev/#/api-docs/pois/post)\n", - "- [Elevation](https://openrouteservice.org/dev/#/api-docs/elevation/line/post)\n", - "- [Route Optimization](https://openrouteservice.org/dev/#/api-docs/optimization/post)" - ] - }, - { - "cell_type": "code", - "execution_count": 4, - "metadata": {}, - "outputs": [], - "source": [ - "import openrouteservice as ors\n", - "import folium\n", - "\n", - "client = ors.Client(key='')" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## TOC\n", - "\n", - "- **[Directions](#Directions)**\n", - "- **[Isochrones](#Isochrones)**\n", - "- **[Matrix](#Matrix)**\n", - "- **[POIs](#POIs)**\n", - "- **[Geocoding](#Geocoding)**\n", - "- **[Elevation](#Elevation)**\n", - "- **[Optimization](#Optimization)**" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Directions" - ] - }, - { - "cell_type": "code", - "execution_count": 5, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 5, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "m = folium.Map(location=[52.521861, 13.40744], tiles='cartodbpositron', zoom_start=13)\n", - "\n", - "# Some coordinates in Berlin\n", - "coordinates = [[13.42731, 52.51088], [13.384116, 52.533558]]\n", - "\n", - "route = client.directions(\n", - " coordinates=coordinates,\n", - " profile='foot-walking',\n", - " format='geojson',\n", - " options={\"avoid_features\": [\"steps\"]},\n", - " validate=False,\n", - ")\n", - "folium.PolyLine(locations=[list(reversed(coord)) \n", - " for coord in \n", - " route['features'][0]['geometry']['coordinates']]).add_to(m)\n", - " \n", - "m" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Isochrones" - ] - }, - { - "cell_type": "code", - "execution_count": 6, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 6, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "m = folium.Map(location=[52.521861, 13.40744], tiles='cartodbpositron', zoom_start=13)\n", - "\n", - "# Some coordinate in Berlin\n", - "coordinate = [[13.384116, 52.533558]]\n", - "\n", - "iso = client.isochrones(\n", - " locations=coordinate,\n", - " profile='foot-walking',\n", - " range=[600, 1200],\n", - " validate=False,\n", - " attributes=['total_pop']\n", - ")\n", - "\n", - "# Also create a Popup with Population count within isochrones\n", - "for isochrone in iso['features']:\n", - " folium.Polygon(locations=[list(reversed(coord)) for coord in isochrone['geometry']['coordinates'][0]],\n", - " fill='00ff00',\n", - " popup=folium.Popup(\"Population: {} people\".format(isochrone['properties']['total_pop'])),\n", - " opacity=0.5).add_to(m)\n", - " \n", - "m" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Matrix" - ] - }, - { - "cell_type": "code", - "execution_count": 7, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Durations in secs: [[0.0, 2741.09, 3790.1, 3730.45], [2741.09, 0.0, 2005.62, 3971.36], [3790.1, 2005.62, 0.0, 2644.38], [3730.45, 3971.36, 2644.38, 0.0]]\n", - "\n", - "Distances in m: [[0.0, 3807.14, 5264.14, 5181.27], [3807.14, 0.0, 2785.65, 5515.87], [5264.14, 2785.65, 0.0, 3672.82], [5181.27, 5515.87, 3672.82, 0.0]]\n" - ] - }, - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 7, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "m = folium.Map(location=[52.521861, 13.40744], tiles='cartodbpositron', zoom_start=13)\n", - "\n", - "# Some coordinates in Berlin\n", - "coordinates = [[13.384116, 52.533558], [13.428726, 52.519355], [13.41774, 52.498929], [13.374825, 52.496369]]\n", - "\n", - "matrix = client.distance_matrix(\n", - " locations=coordinates,\n", - " profile='foot-walking',\n", - " metrics=['distance', 'duration'],\n", - " validate=False,\n", - ")\n", - "\n", - "for marker in coordinates:\n", - " folium.Marker(location=list(reversed(marker))).add_to(m)\n", - "\n", - "print(\"Durations in secs: {}\\n\".format(matrix['durations']))\n", - "print(\"Distances in m: {}\".format(matrix['distances']))\n", - "\n", - "m" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## POIs" - ] - }, - { - "cell_type": "code", - "execution_count": 9, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 9, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "m = folium.Map(location=[52.521861, 13.40744], tiles='cartodbpositron', zoom_start=13)\n", - "\n", - "# Some coordinates in Berlin\n", - "geojson = {\"type\": \"point\", \"coordinates\": [13.384116, 52.533558]}\n", - "\n", - "pois = client.places(\n", - " request='pois',\n", - " geojson=geojson,\n", - " buffer=500, # searches within 500 meters of specified point\n", - " filter_category_ids=[561, 568], # https://github.com/GIScience/openpoiservice/blob/master/openpoiservice/server/categories/categories.yml\n", - " validate=False,\n", - "# dry_run=True\n", - ")\n", - "\n", - "for poi in pois[0]['features']: \n", - " folium.Marker(\n", - " location=list(reversed(poi['geometry']['coordinates'])),\n", - " icon=folium.Icon(icon='info-sign'),\n", - " popup=folium.Popup(poi['properties'].get('osm_tags', {}).get('name', \"Bar ohne Namen\")),\n", - " ).add_to(m)\n", - " \n", - "m" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Geocoding" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "### Forward Geocoding" - ] - }, - { - "cell_type": "code", - "execution_count": 10, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 10, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "m = folium.Map(location=[52.521861, 13.40744], tiles='cartodbpositron', zoom_start=13)\n", - "\n", - "address = \"Mollstraße 1, Berlin\"\n", - "\n", - "geocode = client.pelias_search(\n", - " text=address,\n", - " focus_point=list(reversed(m.location)),\n", - " validate=False,\n", - ")\n", - "\n", - "for result in geocode['features']:\n", - " folium.Marker(\n", - " location=list(reversed(result['geometry']['coordinates'])),\n", - " icon=folium.Icon(icon='compass', color='green', prefix='fa'),\n", - " popup=folium.Popup(result['properties']['name'])\n", - " ).add_to(m)\n", - "\n", - "m" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "### Reverse Geocoding" - ] - }, - { - "cell_type": "code", - "execution_count": 11, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 11, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "m = folium.Map(location=[52.521861, 13.40744], tiles='cartodbpositron', zoom_start=13)\n", - "\n", - "coordinate = [13.413448, 52.490993]\n", - "\n", - "reverse = client.pelias_reverse(\n", - " point=coordinate,\n", - " validate=False,\n", - ")\n", - "\n", - "for result in reverse['features']:\n", - " folium.Marker(\n", - " location=list(reversed(result['geometry']['coordinates'])),\n", - " icon=folium.Icon(icon='history', color='green', prefix='fa'),\n", - " popup=folium.Popup(result['properties']['label'])\n", - " ).add_to(m)\n", - "\n", - "m" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Elevation" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "### Point" - ] - }, - { - "cell_type": "code", - "execution_count": 12, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "[13.384116, 52.533558, 34.0]\n" - ] - } - ], - "source": [ - "coordinate = [13.384116, 52.533558]\n", - "\n", - "elevation = client.elevation_point(\n", - " format_in='point',\n", - " format_out='point',\n", - " geometry=coordinate\n", - ")\n", - "\n", - "print(elevation['geometry'])" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "### Line" - ] - }, - { - "cell_type": "code", - "execution_count": 13, - "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "[[13.384116, 52.533558, 34], [13.428726, 52.519355, 40], [13.41774, 52.498929, 40], [13.374825, 52.496369, 39]]\n" - ] - } - ], - "source": [ - "coordinates = [[13.384116, 52.533558], [13.428726, 52.519355], [13.41774, 52.498929], [13.374825, 52.496369]]\n", - "\n", - "elevation = client.elevation_line(\n", - " format_in='polyline', # other options: geojson, encodedpolyline\n", - " format_out='geojson',\n", - " geometry=coordinates,\n", - ")\n", - "\n", - "print(elevation['geometry']['coordinates'])" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## Optimization" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "### Simple waypoint optimization" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "With `openrouteservice-py` you can ask for waypoint optimization when requesting a normal `direction`. This assumes that your first coordinate is the start location and the last coordinate is the end location, i.e. only the `via` endpoints are optimized. To make it a round trip, make the first and last location the same." - ] - }, - { - "cell_type": "code", - "execution_count": 14, - "metadata": { - "scrolled": false - }, - "outputs": [ - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 14, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "m = folium.Map(location=[52.521861, 13.40744], tiles='cartodbpositron', zoom_start=13)\n", - "\n", - "# Some coordinates in Berlin\n", - "coordinates = [[13.384116, 52.533558], [13.41774, 52.498929], [13.428726, 52.519355], [13.374825, 52.496369]]\n", - "\n", - "# The popup will show the ID in the coordinate list. In a non-optimized waypoint order, the waypoints\n", - "# would have been visited from ID 0 to ID 3 sequentially.\n", - "for idx, coords in enumerate(coordinates):\n", - " folium.Marker(location=list(reversed(coords)),\n", - " popup=folium.Popup(\"ID: {}\".format(idx))).add_to(m)\n", - "\n", - "route = client.directions(\n", - " coordinates=coordinates,\n", - " profile='foot-walking',\n", - " format='geojson',\n", - " validate=False,\n", - " optimize_waypoints=True\n", - ")\n", - "\n", - "folium.PolyLine(locations=[list(reversed(coord)) \n", - " for coord in \n", - " route['features'][0]['geometry']['coordinates']]).add_to(m)\n", - " \n", - "m" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "### Optimize job scheduling for multiple vehicles" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "The next example makes more use of the power of the ORS optimization endpoint. Two vehicles are assigned to 6 jobs, where the capacity constraints are such that each vehicle can only carry out 3 jobs on its route." - ] - }, - { - "cell_type": "code", - "execution_count": 15, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 15, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "m = folium.Map(location=[52.521861, 13.40744], tiles='cartodbpositron', zoom_start=13)\n", - "\n", - "vehicle_locations = [[13.390446, 52.506087], [13.384116, 52.533558]]\n", - "job_locations = [[13.428726, 52.519355],\n", - " [13.41774, 52.498929],\n", - " [13.374825, 52.496369],\n", - " [13.378859, 52.509796],\n", - " [13.400488, 52.509691],\n", - " [13.358517, 52.524264]]\n", - "\n", - "# Assign vehicles to do the jobs\n", - "vehicles = []\n", - "for idx, coords in enumerate(vehicle_locations):\n", - " vehicles.append(ors.optimization.Vehicle(\n", - " id=idx,\n", - " profile='driving-car',\n", - " start=coords,\n", - " end=coords,\n", - " capacity=[3] # Limit capacity so only 3 jobs can be taken by each vehicle\n", - " ))\n", - " folium.Marker(location=list(reversed(coords)), icon=folium.Icon(icon='truck', prefix='fa')).add_to(m)\n", - "\n", - "# Define jobs to be carried out\n", - "jobs=[]\n", - "for idx, coords in enumerate(job_locations):\n", - " jobs.append(ors.optimization.Job(\n", - " id=idx,\n", - " location=coords,\n", - " amount=[1] # Occupies capacity in vehicle\n", - " ))\n", - " folium.Marker(location=list(reversed(coords)), icon=folium.Icon(icon='archive', prefix='fa', color='green')).add_to(m)\n", - "\n", - "optimized = client.optimization(\n", - " jobs=jobs,\n", - " vehicles=vehicles,\n", - " geometry=True, ## will output the geometry,\n", - ")\n", - "\n", - "folium.PolyLine(\n", - " locations=[list(reversed(coords)) for coords in ors.convert.decode_polyline(optimized['routes'][0]['geometry'])['coordinates']],\n", - " color='red'\n", - ").add_to(m)\n", - "\n", - "folium.PolyLine(\n", - " locations=[list(reversed(coords)) for coords in ors.convert.decode_polyline(optimized['routes'][1]['geometry'])['coordinates']],\n", - " color='orange'\n", - ").add_to(m)\n", - "\n", - "m" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.9.2" - } - }, - "nbformat": 4, - "nbformat_minor": 1 -} diff --git a/examples/data/idai_health_sites.csv b/examples/data/idai_health_sites.csv new file mode 100644 index 00000000..e72b7cdd --- /dev/null +++ b/examples/data/idai_health_sites.csv @@ -0,0 +1,20 @@ +ID,Lon,Lat,Open_From,Open_To,Needed_Amount +1,33.9852423,-19.8202962,2019-03-22 08:00:00,2019-03-22 18:00:00,24 +2,34.8194789,-19.7248894,2019-03-22 08:30:00,2019-03-22 20:00:00,10 +3,34.8472248,-19.7461948,2019-03-22 07:00:00,2019-03-22 17:00:00,48 +4,34.8664597,-19.8314851,2019-03-22 07:30:00,2019-03-22 17:30:00,34 +5,34.8752098,-19.8490298,2019-03-22 06:00:00,2019-03-22 20:00:00,29 +6,34.8605631,-19.7469002,2019-03-22 08:30:00,2019-03-22 18:00:00,77 +7,34.8908967,-19.8017717,2019-03-22 10:00:00,2019-03-22 22:00:00,23 +8,34.5927733,-19.8829819,2019-03-22 08:00:00,2019-03-22 18:00:00,17 +9,34.5748517,-19.3639757,2019-03-22 08:30:00,2019-03-22 20:00:00,82 +10,34.5933026,-19.5030938,2019-03-22 07:00:00,2019-03-22 17:00:00,44 +11,34.6258056,-19.5435948,2019-03-22 07:30:00,2019-03-22 17:30:00,25 +12,34.7173762,-19.6297038,2019-03-22 06:00:00,2019-03-22 20:00:00,148 +13,34.7412184,-19.6181757,2019-03-22 08:30:00,2019-03-22 18:00:00,33 +14,34.7600126,-19.6871573,2019-03-22 10:00:00,2019-03-22 22:00:00,26 +15,34.28176,-17.3176417,2019-03-22 08:00:00,2019-03-22 18:00:00,39 +16,34.309304,-17.5822419,2019-03-22 08:00:00,2019-03-22 18:00:00,50 +17,34.1497002,-20.1497002,2019-03-22 08:30:00,2019-03-22 20:00:00,48 +18,34.7658005,-19.6506004,2019-03-22 07:00:00,2019-03-22 17:00:00,32 +20,35.2468987,-17.7828007,2019-03-22 07:30:00,2019-03-22 17:30:00,91 diff --git a/examples/ortools_pubcrawl.html b/examples/ortools_pubcrawl.html new file mode 100644 index 00000000..af3ace61 --- /dev/null +++ b/examples/ortools_pubcrawl.html @@ -0,0 +1,9826 @@ + + + + + +ortools_pubcrawl + + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + diff --git a/examples/ortools_pubcrawl.ipynb b/examples/ortools_pubcrawl.ipynb new file mode 100644 index 00000000..86707a3f --- /dev/null +++ b/examples/ortools_pubcrawl.ipynb @@ -0,0 +1,2047 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Route optimization of a pub crawl with ORS and `ortools`\n", + "> Note: All notebooks need the [environment dependencies](https://github.com/GIScience/openrouteservice-examples#local-installation)\n", + "> as well as an [openrouteservice API key](https://openrouteservice.org/dev/#/signup) to run" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "It's this of the year again (or will be in 6 months):\n", + "the freshmen pour into the institute and as the diligent student council you are, you want to welcome them for their\n", + "geo adventure with a stately pub crawl to prepare them for the challenges lying ahead.\n", + "\n", + "We want to give you the opportunity to route the pack of rookies in a fairly optimal way:" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": {}, + "outputs": [], + "source": [ + "import folium\n", + "from shapely import wkt, geometry" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Now we're ready to start our most optimally planned pub crawl ever through hipster Kreuzberg!\n", + "It will also be the most un-hipster pub crawl ever, as we'll cover ground with a taxi.\n", + "At least it's safer than biking half-delirious.\n", + "\n", + "First the basic parameters: API key and the district polygon to limit our pub search.\n", + "The Well Known Text was prepared in QGIS from Berlin authority's\n", + "[WFS](http://fbinter.stadt-berlin.de/fb/wfs/geometry/senstadt/re_ortsteil/)\n", + "(QGIS field calculator has a `geom_to_wkt` method).\n", + "BTW, Berlin, hope you don't wonder why your feature services are so slow... Simplify is the magic word, simplify." + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": {}, + "outputs": [], + "source": [ + "wkt_str = 'Polygon ((13.43926404 52.48961046, 13.42040115 52.49586382, 13.42541101 52.48808523, 13.42368155 52.48635829, 13.40788599 52.48886084, 13.40852944 52.487142, 13.40745989 52.48614988, 13.40439187 52.48499746, 13.40154731 52.48500125, 13.40038591 52.48373202, 13.39423818 52.4838664, 13.39425346 52.48577149, 13.38629096 52.48582648, 13.38626853 52.48486362, 13.3715694 52.48495055, 13.37402099 52.4851697, 13.37416365 52.48771105, 13.37353615 52.48798191, 13.37539925 52.489432, 13.37643416 52.49167597, 13.36821531 52.49333093, 13.36952826 52.49886974, 13.37360623 52.50416333, 13.37497726 52.50337776, 13.37764916 52.5079675, 13.37893813 52.50693045, 13.39923153 52.50807711, 13.40022883 52.50938108, 13.40443425 52.50777471, 13.4052848 52.50821063, 13.40802944 52.50618019, 13.40997081 52.50692569, 13.41152096 52.50489127, 13.41407284 52.50403794, 13.41490921 52.50491634, 13.41760145 52.50417013, 13.41943091 52.50564912, 13.4230412 52.50498109, 13.42720031 52.50566607, 13.42940229 52.50857222, 13.45335235 52.49752496, 13.45090795 52.49710803, 13.44765912 52.49472124, 13.44497623 52.49442276, 13.43926404 52.48961046))'\n", + "\n", + "aoi_geom = wkt.loads(wkt_str) # load geometry from WKT string\n", + "\n", + "aoi_coords = list(aoi_geom.exterior.coords) # get coords from exterior ring\n", + "aoi_coords = [(y, x) for x, y in aoi_coords] # swap (x,y) to (y,x). Really leaflet?!\n", + "aoi_centroid = aoi_geom.centroid # Kreuzberg center for map center" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Next, add the Kreuzberg polygon as marker to the map, so we get a bit of orientation." + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 8, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "m = folium.Map(tiles='Stamen Toner', location=(aoi_centroid.y, aoi_centroid.x), zoom_start=14)\n", + "folium.vector_layers.Polygon(aoi_coords,\n", + " color='#ffd699',\n", + " fill_color='#ffd699',\n", + " fill_opacity=0.2,\n", + " weight=3).add_to(m)\n", + "m" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Now it's time to see which are the lucky bars to host a bunch of increasingly drunk geos.\n", + "We use the [**Places API**](https://openrouteservice.org/dev/#/api-docs/pois),\n", + "where we can pass a GeoJSON as object right into.\n", + "As we want to crawl only bars and not churches, we have to limit the query to category ID's which represent pubs.\n", + "We can get the mapping easily when passing `category_list`:" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "metadata": {}, + "outputs": [], + "source": [ + "import openrouteservice as ors\n", + "\n", + "configuration = ors.Configuration()\n", + "configuration.api_key['Authorization'] = \"your-api-key\"" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "[**Here**](https://giscience.github.io/openrouteservice/documentation/Places.html) is a nicer list.\n", + "If you look for pub, you'll find it under `sustenance : 560` with ID 569.\n", + "Chucking that into a query, yields:" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "metadata": {}, + "outputs": [ + { + "ename": "KeyboardInterrupt", + "evalue": "", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)", + "\u001b[1;32m/home/jstolze/Code/ors-clients/openrouteservice-py/examples/ortools_pubcrawl.ipynb Cell 11\u001b[0m line \u001b[0;36m1\n\u001b[1;32m 3\u001b[0m poisApi \u001b[39m=\u001b[39m ors\u001b[39m.\u001b[39mPoisApi(ors\u001b[39m.\u001b[39mApiClient(configuration))\n\u001b[1;32m 4\u001b[0m body \u001b[39m=\u001b[39m ors\u001b[39m.\u001b[39mOpenpoiservicePoiRequest(\n\u001b[1;32m 5\u001b[0m request\u001b[39m=\u001b[39m\u001b[39m'\u001b[39m\u001b[39mpois\u001b[39m\u001b[39m'\u001b[39m,\n\u001b[1;32m 6\u001b[0m geometry\u001b[39m=\u001b[39mors\u001b[39m.\u001b[39mPoisGeometry(geojson\u001b[39m=\u001b[39maoi_json),\n\u001b[1;32m 7\u001b[0m filters\u001b[39m=\u001b[39mors\u001b[39m.\u001b[39mPoisFilters(category_ids\u001b[39m=\u001b[39m[\u001b[39m569\u001b[39m]),\n\u001b[1;32m 8\u001b[0m sortby\u001b[39m=\u001b[39m\u001b[39m'\u001b[39m\u001b[39mdistance\u001b[39m\u001b[39m'\u001b[39m\n\u001b[1;32m 9\u001b[0m )\n\u001b[0;32m---> 10\u001b[0m pubs \u001b[39m=\u001b[39m poisApi\u001b[39m.\u001b[39;49mpois_post(body)\u001b[39m.\u001b[39mfeatures\n\u001b[1;32m 12\u001b[0m \u001b[39m# Amount of pubs in Kreuzberg\u001b[39;00m\n\u001b[1;32m 13\u001b[0m \u001b[39mprint\u001b[39m(\u001b[39m\"\u001b[39m\u001b[39m\\n\u001b[39;00m\u001b[39mAmount of pubs: \u001b[39m\u001b[39m{}\u001b[39;00m\u001b[39m\"\u001b[39m\u001b[39m.\u001b[39mformat(\u001b[39mlen\u001b[39m(pubs)))\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/api/pois_api.py:54\u001b[0m, in \u001b[0;36mPoisApi.pois_post\u001b[0;34m(self, body, **kwargs)\u001b[0m\n\u001b[1;32m 52\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mpois_post_with_http_info(body, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkwargs) \u001b[39m# noqa: E501\u001b[39;00m\n\u001b[1;32m 53\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[0;32m---> 54\u001b[0m (data) \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mpois_post_with_http_info(body, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkwargs) \u001b[39m# noqa: E501\u001b[39;00m\n\u001b[1;32m 55\u001b[0m \u001b[39mreturn\u001b[39;00m data\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/api/pois_api.py:118\u001b[0m, in \u001b[0;36mPoisApi.pois_post_with_http_info\u001b[0;34m(self, body, **kwargs)\u001b[0m\n\u001b[1;32m 115\u001b[0m \u001b[39m# Authentication setting\u001b[39;00m\n\u001b[1;32m 116\u001b[0m auth_settings \u001b[39m=\u001b[39m [\u001b[39m'\u001b[39m\u001b[39mApiKeyAuth\u001b[39m\u001b[39m'\u001b[39m] \u001b[39m# noqa: E501\u001b[39;00m\n\u001b[0;32m--> 118\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mapi_client\u001b[39m.\u001b[39;49mcall_api(\n\u001b[1;32m 119\u001b[0m \u001b[39m'\u001b[39;49m\u001b[39m/pois\u001b[39;49m\u001b[39m'\u001b[39;49m, \u001b[39m'\u001b[39;49m\u001b[39mPOST\u001b[39;49m\u001b[39m'\u001b[39;49m,\n\u001b[1;32m 120\u001b[0m path_params,\n\u001b[1;32m 121\u001b[0m query_params,\n\u001b[1;32m 122\u001b[0m header_params,\n\u001b[1;32m 123\u001b[0m body\u001b[39m=\u001b[39;49mbody_params,\n\u001b[1;32m 124\u001b[0m post_params\u001b[39m=\u001b[39;49mform_params,\n\u001b[1;32m 125\u001b[0m files\u001b[39m=\u001b[39;49mlocal_var_files,\n\u001b[1;32m 126\u001b[0m response_type\u001b[39m=\u001b[39;49m\u001b[39m'\u001b[39;49m\u001b[39mOpenpoiservicePoiResponse\u001b[39;49m\u001b[39m'\u001b[39;49m, \u001b[39m# noqa: E501\u001b[39;49;00m\n\u001b[1;32m 127\u001b[0m auth_settings\u001b[39m=\u001b[39;49mauth_settings,\n\u001b[1;32m 128\u001b[0m async_req\u001b[39m=\u001b[39;49mparams\u001b[39m.\u001b[39;49mget(\u001b[39m'\u001b[39;49m\u001b[39masync_req\u001b[39;49m\u001b[39m'\u001b[39;49m),\n\u001b[1;32m 129\u001b[0m _return_http_data_only\u001b[39m=\u001b[39;49mparams\u001b[39m.\u001b[39;49mget(\u001b[39m'\u001b[39;49m\u001b[39m_return_http_data_only\u001b[39;49m\u001b[39m'\u001b[39;49m),\n\u001b[1;32m 130\u001b[0m _preload_content\u001b[39m=\u001b[39;49mparams\u001b[39m.\u001b[39;49mget(\u001b[39m'\u001b[39;49m\u001b[39m_preload_content\u001b[39;49m\u001b[39m'\u001b[39;49m, \u001b[39mTrue\u001b[39;49;00m),\n\u001b[1;32m 131\u001b[0m _request_timeout\u001b[39m=\u001b[39;49mparams\u001b[39m.\u001b[39;49mget(\u001b[39m'\u001b[39;49m\u001b[39m_request_timeout\u001b[39;49m\u001b[39m'\u001b[39;49m),\n\u001b[1;32m 132\u001b[0m collection_formats\u001b[39m=\u001b[39;49mcollection_formats)\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/api_client.py:316\u001b[0m, in \u001b[0;36mApiClient.call_api\u001b[0;34m(self, resource_path, method, path_params, query_params, header_params, body, post_params, files, response_type, auth_settings, async_req, _return_http_data_only, collection_formats, _preload_content, _request_timeout)\u001b[0m\n\u001b[1;32m 279\u001b[0m \u001b[39m\u001b[39m\u001b[39m\"\"\"Makes the HTTP request (synchronous) and returns deserialized data.\u001b[39;00m\n\u001b[1;32m 280\u001b[0m \n\u001b[1;32m 281\u001b[0m \u001b[39mTo make an async request, set the async_req parameter.\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 313\u001b[0m \u001b[39m then the method will return the response directly.\u001b[39;00m\n\u001b[1;32m 314\u001b[0m \u001b[39m\"\"\"\u001b[39;00m\n\u001b[1;32m 315\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mnot\u001b[39;00m async_req:\n\u001b[0;32m--> 316\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m__call_api(resource_path, method,\n\u001b[1;32m 317\u001b[0m path_params, query_params, header_params,\n\u001b[1;32m 318\u001b[0m body, post_params, files,\n\u001b[1;32m 319\u001b[0m response_type, auth_settings,\n\u001b[1;32m 320\u001b[0m _return_http_data_only, collection_formats,\n\u001b[1;32m 321\u001b[0m _preload_content, _request_timeout)\n\u001b[1;32m 322\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m 323\u001b[0m thread \u001b[39m=\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mpool\u001b[39m.\u001b[39mapply_async(\u001b[39mself\u001b[39m\u001b[39m.\u001b[39m__call_api, (resource_path,\n\u001b[1;32m 324\u001b[0m method, path_params, query_params,\n\u001b[1;32m 325\u001b[0m header_params, body,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 329\u001b[0m collection_formats,\n\u001b[1;32m 330\u001b[0m _preload_content, _request_timeout))\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/api_client.py:148\u001b[0m, in \u001b[0;36mApiClient.__call_api\u001b[0;34m(self, resource_path, method, path_params, query_params, header_params, body, post_params, files, response_type, auth_settings, _return_http_data_only, collection_formats, _preload_content, _request_timeout)\u001b[0m\n\u001b[1;32m 145\u001b[0m url \u001b[39m=\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mconfiguration\u001b[39m.\u001b[39mhost \u001b[39m+\u001b[39m resource_path\n\u001b[1;32m 147\u001b[0m \u001b[39m# perform request and return response\u001b[39;00m\n\u001b[0;32m--> 148\u001b[0m response_data \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mrequest(\n\u001b[1;32m 149\u001b[0m method, url, query_params\u001b[39m=\u001b[39;49mquery_params, headers\u001b[39m=\u001b[39;49mheader_params,\n\u001b[1;32m 150\u001b[0m post_params\u001b[39m=\u001b[39;49mpost_params, body\u001b[39m=\u001b[39;49mbody,\n\u001b[1;32m 151\u001b[0m _preload_content\u001b[39m=\u001b[39;49m_preload_content,\n\u001b[1;32m 152\u001b[0m _request_timeout\u001b[39m=\u001b[39;49m_request_timeout)\n\u001b[1;32m 154\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mlast_response \u001b[39m=\u001b[39m response_data\n\u001b[1;32m 156\u001b[0m return_data \u001b[39m=\u001b[39m response_data\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/api_client.py:358\u001b[0m, in \u001b[0;36mApiClient.request\u001b[0;34m(self, method, url, query_params, headers, post_params, body, _preload_content, _request_timeout)\u001b[0m\n\u001b[1;32m 350\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mrest_client\u001b[39m.\u001b[39mOPTIONS(url,\n\u001b[1;32m 351\u001b[0m query_params\u001b[39m=\u001b[39mquery_params,\n\u001b[1;32m 352\u001b[0m headers\u001b[39m=\u001b[39mheaders,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 355\u001b[0m _request_timeout\u001b[39m=\u001b[39m_request_timeout,\n\u001b[1;32m 356\u001b[0m body\u001b[39m=\u001b[39mbody)\n\u001b[1;32m 357\u001b[0m \u001b[39melif\u001b[39;00m method \u001b[39m==\u001b[39m \u001b[39m\"\u001b[39m\u001b[39mPOST\u001b[39m\u001b[39m\"\u001b[39m:\n\u001b[0;32m--> 358\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mrest_client\u001b[39m.\u001b[39;49mPOST(url,\n\u001b[1;32m 359\u001b[0m query_params\u001b[39m=\u001b[39;49mquery_params,\n\u001b[1;32m 360\u001b[0m headers\u001b[39m=\u001b[39;49mheaders,\n\u001b[1;32m 361\u001b[0m post_params\u001b[39m=\u001b[39;49mpost_params,\n\u001b[1;32m 362\u001b[0m _preload_content\u001b[39m=\u001b[39;49m_preload_content,\n\u001b[1;32m 363\u001b[0m _request_timeout\u001b[39m=\u001b[39;49m_request_timeout,\n\u001b[1;32m 364\u001b[0m body\u001b[39m=\u001b[39;49mbody)\n\u001b[1;32m 365\u001b[0m \u001b[39melif\u001b[39;00m method \u001b[39m==\u001b[39m \u001b[39m\"\u001b[39m\u001b[39mPUT\u001b[39m\u001b[39m\"\u001b[39m:\n\u001b[1;32m 366\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mrest_client\u001b[39m.\u001b[39mPUT(url,\n\u001b[1;32m 367\u001b[0m query_params\u001b[39m=\u001b[39mquery_params,\n\u001b[1;32m 368\u001b[0m headers\u001b[39m=\u001b[39mheaders,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 371\u001b[0m _request_timeout\u001b[39m=\u001b[39m_request_timeout,\n\u001b[1;32m 372\u001b[0m body\u001b[39m=\u001b[39mbody)\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/rest.py:263\u001b[0m, in \u001b[0;36mRESTClientObject.POST\u001b[0;34m(self, url, headers, query_params, post_params, body, _preload_content, _request_timeout)\u001b[0m\n\u001b[1;32m 261\u001b[0m \u001b[39mdef\u001b[39;00m \u001b[39mPOST\u001b[39m(\u001b[39mself\u001b[39m, url, headers\u001b[39m=\u001b[39m\u001b[39mNone\u001b[39;00m, query_params\u001b[39m=\u001b[39m\u001b[39mNone\u001b[39;00m, post_params\u001b[39m=\u001b[39m\u001b[39mNone\u001b[39;00m,\n\u001b[1;32m 262\u001b[0m body\u001b[39m=\u001b[39m\u001b[39mNone\u001b[39;00m, _preload_content\u001b[39m=\u001b[39m\u001b[39mTrue\u001b[39;00m, _request_timeout\u001b[39m=\u001b[39m\u001b[39mNone\u001b[39;00m):\n\u001b[0;32m--> 263\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mrequest(\u001b[39m\"\u001b[39;49m\u001b[39mPOST\u001b[39;49m\u001b[39m\"\u001b[39;49m, url,\n\u001b[1;32m 264\u001b[0m headers\u001b[39m=\u001b[39;49mheaders,\n\u001b[1;32m 265\u001b[0m query_params\u001b[39m=\u001b[39;49mquery_params,\n\u001b[1;32m 266\u001b[0m post_params\u001b[39m=\u001b[39;49mpost_params,\n\u001b[1;32m 267\u001b[0m _preload_content\u001b[39m=\u001b[39;49m_preload_content,\n\u001b[1;32m 268\u001b[0m _request_timeout\u001b[39m=\u001b[39;49m_request_timeout,\n\u001b[1;32m 269\u001b[0m body\u001b[39m=\u001b[39;49mbody)\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/rest.py:161\u001b[0m, in \u001b[0;36mRESTClientObject.request\u001b[0;34m(self, method, url, query_params, headers, body, post_params, _preload_content, _request_timeout)\u001b[0m\n\u001b[1;32m 159\u001b[0m \u001b[39mif\u001b[39;00m body \u001b[39mis\u001b[39;00m \u001b[39mnot\u001b[39;00m \u001b[39mNone\u001b[39;00m:\n\u001b[1;32m 160\u001b[0m request_body \u001b[39m=\u001b[39m json\u001b[39m.\u001b[39mdumps(body)\n\u001b[0;32m--> 161\u001b[0m r \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mpool_manager\u001b[39m.\u001b[39;49mrequest(\n\u001b[1;32m 162\u001b[0m method, url,\n\u001b[1;32m 163\u001b[0m body\u001b[39m=\u001b[39;49mrequest_body,\n\u001b[1;32m 164\u001b[0m preload_content\u001b[39m=\u001b[39;49m_preload_content,\n\u001b[1;32m 165\u001b[0m timeout\u001b[39m=\u001b[39;49mtimeout,\n\u001b[1;32m 166\u001b[0m headers\u001b[39m=\u001b[39;49mheaders)\n\u001b[1;32m 167\u001b[0m \u001b[39melif\u001b[39;00m headers[\u001b[39m'\u001b[39m\u001b[39mContent-Type\u001b[39m\u001b[39m'\u001b[39m] \u001b[39m==\u001b[39m \u001b[39m'\u001b[39m\u001b[39mapplication/x-www-form-urlencoded\u001b[39m\u001b[39m'\u001b[39m: \u001b[39m# noqa: E501\u001b[39;00m\n\u001b[1;32m 168\u001b[0m r \u001b[39m=\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mpool_manager\u001b[39m.\u001b[39mrequest(\n\u001b[1;32m 169\u001b[0m method, url,\n\u001b[1;32m 170\u001b[0m fields\u001b[39m=\u001b[39mpost_params,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 173\u001b[0m timeout\u001b[39m=\u001b[39mtimeout,\n\u001b[1;32m 174\u001b[0m headers\u001b[39m=\u001b[39mheaders)\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/request.py:78\u001b[0m, in \u001b[0;36mRequestMethods.request\u001b[0;34m(self, method, url, fields, headers, **urlopen_kw)\u001b[0m\n\u001b[1;32m 74\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mrequest_encode_url(\n\u001b[1;32m 75\u001b[0m method, url, fields\u001b[39m=\u001b[39mfields, headers\u001b[39m=\u001b[39mheaders, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39murlopen_kw\n\u001b[1;32m 76\u001b[0m )\n\u001b[1;32m 77\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[0;32m---> 78\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mrequest_encode_body(\n\u001b[1;32m 79\u001b[0m method, url, fields\u001b[39m=\u001b[39;49mfields, headers\u001b[39m=\u001b[39;49mheaders, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49murlopen_kw\n\u001b[1;32m 80\u001b[0m )\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/request.py:170\u001b[0m, in \u001b[0;36mRequestMethods.request_encode_body\u001b[0;34m(self, method, url, fields, headers, encode_multipart, multipart_boundary, **urlopen_kw)\u001b[0m\n\u001b[1;32m 167\u001b[0m extra_kw[\u001b[39m\"\u001b[39m\u001b[39mheaders\u001b[39m\u001b[39m\"\u001b[39m]\u001b[39m.\u001b[39mupdate(headers)\n\u001b[1;32m 168\u001b[0m extra_kw\u001b[39m.\u001b[39mupdate(urlopen_kw)\n\u001b[0;32m--> 170\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49murlopen(method, url, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mextra_kw)\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/poolmanager.py:376\u001b[0m, in \u001b[0;36mPoolManager.urlopen\u001b[0;34m(self, method, url, redirect, **kw)\u001b[0m\n\u001b[1;32m 374\u001b[0m response \u001b[39m=\u001b[39m conn\u001b[39m.\u001b[39murlopen(method, url, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkw)\n\u001b[1;32m 375\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[0;32m--> 376\u001b[0m response \u001b[39m=\u001b[39m conn\u001b[39m.\u001b[39;49murlopen(method, u\u001b[39m.\u001b[39;49mrequest_uri, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkw)\n\u001b[1;32m 378\u001b[0m redirect_location \u001b[39m=\u001b[39m redirect \u001b[39mand\u001b[39;00m response\u001b[39m.\u001b[39mget_redirect_location()\n\u001b[1;32m 379\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mnot\u001b[39;00m redirect_location:\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:714\u001b[0m, in \u001b[0;36mHTTPConnectionPool.urlopen\u001b[0;34m(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)\u001b[0m\n\u001b[1;32m 711\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_prepare_proxy(conn)\n\u001b[1;32m 713\u001b[0m \u001b[39m# Make the request on the httplib connection object.\u001b[39;00m\n\u001b[0;32m--> 714\u001b[0m httplib_response \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_make_request(\n\u001b[1;32m 715\u001b[0m conn,\n\u001b[1;32m 716\u001b[0m method,\n\u001b[1;32m 717\u001b[0m url,\n\u001b[1;32m 718\u001b[0m timeout\u001b[39m=\u001b[39;49mtimeout_obj,\n\u001b[1;32m 719\u001b[0m body\u001b[39m=\u001b[39;49mbody,\n\u001b[1;32m 720\u001b[0m headers\u001b[39m=\u001b[39;49mheaders,\n\u001b[1;32m 721\u001b[0m chunked\u001b[39m=\u001b[39;49mchunked,\n\u001b[1;32m 722\u001b[0m )\n\u001b[1;32m 724\u001b[0m \u001b[39m# If we're going to release the connection in ``finally:``, then\u001b[39;00m\n\u001b[1;32m 725\u001b[0m \u001b[39m# the response doesn't need to know about the connection. Otherwise\u001b[39;00m\n\u001b[1;32m 726\u001b[0m \u001b[39m# it will also try to release it and we'll have a double-release\u001b[39;00m\n\u001b[1;32m 727\u001b[0m \u001b[39m# mess.\u001b[39;00m\n\u001b[1;32m 728\u001b[0m response_conn \u001b[39m=\u001b[39m conn \u001b[39mif\u001b[39;00m \u001b[39mnot\u001b[39;00m release_conn \u001b[39melse\u001b[39;00m \u001b[39mNone\u001b[39;00m\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:466\u001b[0m, in \u001b[0;36mHTTPConnectionPool._make_request\u001b[0;34m(self, conn, method, url, timeout, chunked, **httplib_request_kw)\u001b[0m\n\u001b[1;32m 461\u001b[0m httplib_response \u001b[39m=\u001b[39m conn\u001b[39m.\u001b[39mgetresponse()\n\u001b[1;32m 462\u001b[0m \u001b[39mexcept\u001b[39;00m \u001b[39mBaseException\u001b[39;00m \u001b[39mas\u001b[39;00m e:\n\u001b[1;32m 463\u001b[0m \u001b[39m# Remove the TypeError from the exception chain in\u001b[39;00m\n\u001b[1;32m 464\u001b[0m \u001b[39m# Python 3 (including for exceptions like SystemExit).\u001b[39;00m\n\u001b[1;32m 465\u001b[0m \u001b[39m# Otherwise it looks like a bug in the code.\u001b[39;00m\n\u001b[0;32m--> 466\u001b[0m six\u001b[39m.\u001b[39;49mraise_from(e, \u001b[39mNone\u001b[39;49;00m)\n\u001b[1;32m 467\u001b[0m \u001b[39mexcept\u001b[39;00m (SocketTimeout, BaseSSLError, SocketError) \u001b[39mas\u001b[39;00m e:\n\u001b[1;32m 468\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_raise_timeout(err\u001b[39m=\u001b[39me, url\u001b[39m=\u001b[39murl, timeout_value\u001b[39m=\u001b[39mread_timeout)\n", + "File \u001b[0;32m:3\u001b[0m, in \u001b[0;36mraise_from\u001b[0;34m(value, from_value)\u001b[0m\n", + "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:461\u001b[0m, in \u001b[0;36mHTTPConnectionPool._make_request\u001b[0;34m(self, conn, method, url, timeout, chunked, **httplib_request_kw)\u001b[0m\n\u001b[1;32m 458\u001b[0m \u001b[39mexcept\u001b[39;00m \u001b[39mTypeError\u001b[39;00m:\n\u001b[1;32m 459\u001b[0m \u001b[39m# Python 3\u001b[39;00m\n\u001b[1;32m 460\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[0;32m--> 461\u001b[0m httplib_response \u001b[39m=\u001b[39m conn\u001b[39m.\u001b[39;49mgetresponse()\n\u001b[1;32m 462\u001b[0m \u001b[39mexcept\u001b[39;00m \u001b[39mBaseException\u001b[39;00m \u001b[39mas\u001b[39;00m e:\n\u001b[1;32m 463\u001b[0m \u001b[39m# Remove the TypeError from the exception chain in\u001b[39;00m\n\u001b[1;32m 464\u001b[0m \u001b[39m# Python 3 (including for exceptions like SystemExit).\u001b[39;00m\n\u001b[1;32m 465\u001b[0m \u001b[39m# Otherwise it looks like a bug in the code.\u001b[39;00m\n\u001b[1;32m 466\u001b[0m six\u001b[39m.\u001b[39mraise_from(e, \u001b[39mNone\u001b[39;00m)\n", + "File \u001b[0;32m/usr/lib/python3.10/http/client.py:1375\u001b[0m, in \u001b[0;36mHTTPConnection.getresponse\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 1373\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[1;32m 1374\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[0;32m-> 1375\u001b[0m response\u001b[39m.\u001b[39;49mbegin()\n\u001b[1;32m 1376\u001b[0m \u001b[39mexcept\u001b[39;00m \u001b[39mConnectionError\u001b[39;00m:\n\u001b[1;32m 1377\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mclose()\n", + "File \u001b[0;32m/usr/lib/python3.10/http/client.py:318\u001b[0m, in \u001b[0;36mHTTPResponse.begin\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 316\u001b[0m \u001b[39m# read until we get a non-100 response\u001b[39;00m\n\u001b[1;32m 317\u001b[0m \u001b[39mwhile\u001b[39;00m \u001b[39mTrue\u001b[39;00m:\n\u001b[0;32m--> 318\u001b[0m version, status, reason \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_read_status()\n\u001b[1;32m 319\u001b[0m \u001b[39mif\u001b[39;00m status \u001b[39m!=\u001b[39m CONTINUE:\n\u001b[1;32m 320\u001b[0m \u001b[39mbreak\u001b[39;00m\n", + "File \u001b[0;32m/usr/lib/python3.10/http/client.py:279\u001b[0m, in \u001b[0;36mHTTPResponse._read_status\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 278\u001b[0m \u001b[39mdef\u001b[39;00m \u001b[39m_read_status\u001b[39m(\u001b[39mself\u001b[39m):\n\u001b[0;32m--> 279\u001b[0m line \u001b[39m=\u001b[39m \u001b[39mstr\u001b[39m(\u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mfp\u001b[39m.\u001b[39;49mreadline(_MAXLINE \u001b[39m+\u001b[39;49m \u001b[39m1\u001b[39;49m), \u001b[39m\"\u001b[39m\u001b[39miso-8859-1\u001b[39m\u001b[39m\"\u001b[39m)\n\u001b[1;32m 280\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mlen\u001b[39m(line) \u001b[39m>\u001b[39m _MAXLINE:\n\u001b[1;32m 281\u001b[0m \u001b[39mraise\u001b[39;00m LineTooLong(\u001b[39m\"\u001b[39m\u001b[39mstatus line\u001b[39m\u001b[39m\"\u001b[39m)\n", + "File \u001b[0;32m/usr/lib/python3.10/socket.py:705\u001b[0m, in \u001b[0;36mSocketIO.readinto\u001b[0;34m(self, b)\u001b[0m\n\u001b[1;32m 703\u001b[0m \u001b[39mwhile\u001b[39;00m \u001b[39mTrue\u001b[39;00m:\n\u001b[1;32m 704\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[0;32m--> 705\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_sock\u001b[39m.\u001b[39;49mrecv_into(b)\n\u001b[1;32m 706\u001b[0m \u001b[39mexcept\u001b[39;00m timeout:\n\u001b[1;32m 707\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_timeout_occurred \u001b[39m=\u001b[39m \u001b[39mTrue\u001b[39;00m\n", + "File \u001b[0;32m/usr/lib/python3.10/ssl.py:1274\u001b[0m, in \u001b[0;36mSSLSocket.recv_into\u001b[0;34m(self, buffer, nbytes, flags)\u001b[0m\n\u001b[1;32m 1270\u001b[0m \u001b[39mif\u001b[39;00m flags \u001b[39m!=\u001b[39m \u001b[39m0\u001b[39m:\n\u001b[1;32m 1271\u001b[0m \u001b[39mraise\u001b[39;00m \u001b[39mValueError\u001b[39;00m(\n\u001b[1;32m 1272\u001b[0m \u001b[39m\"\u001b[39m\u001b[39mnon-zero flags not allowed in calls to recv_into() on \u001b[39m\u001b[39m%s\u001b[39;00m\u001b[39m\"\u001b[39m \u001b[39m%\u001b[39m\n\u001b[1;32m 1273\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m\u001b[39m__class__\u001b[39m)\n\u001b[0;32m-> 1274\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mread(nbytes, buffer)\n\u001b[1;32m 1275\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m 1276\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39msuper\u001b[39m()\u001b[39m.\u001b[39mrecv_into(buffer, nbytes, flags)\n", + "File \u001b[0;32m/usr/lib/python3.10/ssl.py:1130\u001b[0m, in \u001b[0;36mSSLSocket.read\u001b[0;34m(self, len, buffer)\u001b[0m\n\u001b[1;32m 1128\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[1;32m 1129\u001b[0m \u001b[39mif\u001b[39;00m buffer \u001b[39mis\u001b[39;00m \u001b[39mnot\u001b[39;00m \u001b[39mNone\u001b[39;00m:\n\u001b[0;32m-> 1130\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_sslobj\u001b[39m.\u001b[39;49mread(\u001b[39mlen\u001b[39;49m, buffer)\n\u001b[1;32m 1131\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m 1132\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_sslobj\u001b[39m.\u001b[39mread(\u001b[39mlen\u001b[39m)\n", + "\u001b[0;31mKeyboardInterrupt\u001b[0m: " + ] + } + ], + "source": [ + "aoi_json = geometry.mapping(geometry.shape(aoi_geom))\n", + "\n", + "poisApi = ors.PoisApi(ors.ApiClient(configuration))\n", + "body = ors.OpenpoiservicePoiRequest(\n", + " request='pois',\n", + " geometry=ors.PoisGeometry(geojson=aoi_json),\n", + " filters=ors.PoisFilters(category_ids=[569]),\n", + " sortby='distance'\n", + ")\n", + "pubs = poisApi.pois_post(body).features\n", + "\n", + "# Amount of pubs in Kreuzberg\n", + "print(\"\\nAmount of pubs: {}\".format(len(pubs)))" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Nearly 100 bars in one night might be a stretch, even for such a resilient species.\n", + "Coincidentally, the rate of smokers is disproportionally high within the undergrad geo community.\n", + "So, we really would like to hang out in smoker bars:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "Amount of smoker pubs: 23\n" + ] + } + ], + "source": [ + "body.filters.smoking=['yes'] # Filter out smoker bars\n", + "pubs_smoker = poisApi.pois_post(body).features\n", + "\n", + "print(\"\\nAmount of smoker pubs: {}\".format(len(pubs_smoker)))" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "A bit better. Let's see where they are.\n", + "\n", + "**Optionally**, use the [**Geocoding API**](https://openrouteservice.org/dev/#/api-docs/geocode) to get representable names.\n", + "Note, it'll be 25 API calls.\n", + "Means, you can only run one per minute." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 8, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "pubs_addresses = []\n", + "\n", + "geocodeApi = ors.GeocodeApi(ors.ApiClient(configuration))\n", + "\n", + "for feat in pubs_smoker:\n", + " lon, lat = feat.geometry.coordinates\n", + " response = geocodeApi.geocode_reverse_get(lon, lat)\n", + " name = response.features[0][\"properties\"][\"name\"]\n", + " popup = \"{0}
Lat: {1:.3f}
Long: {2:.3f}\".format(name, lat, lon)\n", + " icon = folium.map.Icon(color='lightgray',\n", + " icon_color='#b5231a',\n", + " icon='beer', # fetches font-awesome.io symbols\n", + " prefix='fa')\n", + " folium.map.Marker([lat, lon], icon=icon, popup=popup).add_to(m)\n", + " pubs_addresses.append(name)\n", + "\n", + "# folium.map.LayerControl().add_to(m)\n", + "m" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Ok, we have an idea where we go.\n", + "But, not in which order.\n", + "To determine the optimal route, we first have to know the distance between all pubs.\n", + "We can conveniently solve this with the [**Matrix API**](https://openrouteservice.org/dev/#/api-docs/matrix).\n", + "> I'd have like to do this example for biking/walking, but I realized too late that we restricted matrix calls to 5x5 locations for those profiles..." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Calculated 23x23 routes.\n" + ] + } + ], + "source": [ + "pubs_coords = [feat.geometry.coordinates for feat in pubs_smoker]\n", + "\n", + "matrixApi = ors.MatrixServiceApi(ors.ApiClient(configuration))\n", + "body = ors.MatrixProfileBody(\n", + " locations=pubs_coords,\n", + " metrics=['duration']\n", + ")\n", + "profile = 'driving-car'\n", + "\n", + "pubs_matrix = matrixApi.get_default(body, profile)\n", + "\n", + "#pubs_matrix = ors.distance_matrix(**request)\n", + "print(\"Calculated {}x{} routes.\".format(len(pubs_matrix.durations), len(pubs_matrix.durations[0])))" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Check, 23x23. So, we got the durations now in `pubs_matrix.durations`.\n", + "Then there's finally the great entrance of [**ortools**](https://github.com/google/or-tools).\n", + "\n", + "Note, this is a local search." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Total duration: 51.63333333333333 minutes\n", + "\n", + "Route:\n", + "Blücherstraße 61 -> Fürbringerstraße 20a -> Alptraum -> Wirtschaftswunder -> Rausch Gold -> Mehringdamm 67 -> Gneisenaustraße 2 -> Heidelberger Krug -> Reichenberger Straße 177 -> multilayerladen -> Trinkteufel -> Jodelkeller -> Zum Goldenen Hahn -> Rummels Perle -> Reichenberger Straße 133 -> Weiße Taube -> Skalitzer Straße 75 -> Platzwart Kickerbar -> milchbar -> Monarch -> Dieffenbachstraße 36 -> Bierhaus Urban -> Urbanstraße 30 -> Blücherstraße 61\n" + ] + } + ], + "source": [ + "from ortools.constraint_solver import pywrapcp\n", + "\n", + "tsp_size = len(pubs_addresses)\n", + "num_routes = 1\n", + "start = 0 # arbitrary start location\n", + "coords_aoi = [(y, x) for x, y in aoi_coords] # swap (x,y) to (y,x)\n", + "\n", + "optimal_coords = []\n", + "\n", + "if tsp_size > 0:\n", + "\n", + " # Old Stuff kept for reference\n", + " # routing = pywrapcp.RoutingModel(tsp_size, num_routes, start)\n", + "\n", + " # New Way according to ortools v7.0 docs (https://developers.google.com/optimization/support/release_notes#announcing-the-release-of-or-tools-v70)\n", + " # manager = pywrapcp.RoutingIndexManager(num_locations, num_vehicles, depot)\n", + " # routing = pywrapcp.RoutingModel(manager)\n", + "\n", + " # Adaption according to old and new way\n", + " manager = pywrapcp.RoutingIndexManager(tsp_size, num_routes, start)\n", + " routing = pywrapcp.RoutingModel(manager)\n", + "\n", + "\n", + " # Create the distance callback, which takes two arguments (the from and to node indices)\n", + " # and returns the distance between these nodes.\n", + " def distance_callback(from_index, to_index):\n", + " \"\"\"Returns the distance between the two nodes.\"\"\"\n", + " # Convert from routing variable Index to distance matrix NodeIndex.\n", + " from_node = manager.IndexToNode(from_index)\n", + " to_node = manager.IndexToNode(to_index)\n", + " return int(pubs_matrix.durations[from_node][to_node])\n", + "\n", + "\n", + " # Since v7.0, this also needs to be wrapped:\n", + " transit_callback_index = routing.RegisterTransitCallback(distance_callback)\n", + "\n", + " routing.SetArcCostEvaluatorOfAllVehicles(transit_callback_index)\n", + " # Solve, returns a solution if any.\n", + " assignment = routing.Solve()\n", + " if assignment:\n", + " # Total cost of the 'optimal' solution.\n", + " print(\"Total duration: \" + str(round(assignment.ObjectiveValue(), 3) / 60) + \" minutes\\n\")\n", + " index = routing.Start(start) # Index of the variable for the starting node.\n", + " route = ''\n", + " # while not routing.IsEnd(index):\n", + " for node in range(routing.nodes()):\n", + " # IndexToNode has been moved from the RoutingModel to the RoutingIndexManager\n", + " optimal_coords.append(pubs_coords[manager.IndexToNode(index)])\n", + " route += str(pubs_addresses[manager.IndexToNode(index)]) + ' -> '\n", + " index = assignment.Value(routing.NextVar(index))\n", + " route += str(pubs_addresses[manager.IndexToNode(index)])\n", + " optimal_coords.append(pubs_coords[manager.IndexToNode(index)])\n", + " print(\"Route:\\n\" + route)" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Visualizing both, the optimal route, and the more or less random waypoint order of the initial GeoJSON, look like this:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
Make this Notebook Trusted to load map: File -> Trust Notebook
" + ], + "text/plain": [ + "" + ] + }, + "execution_count": 11, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "def style_function(color):\n", + " return lambda feature: dict(color=color,\n", + " weight=3,\n", + " opacity=1)\n", + "\n", + "\n", + "# See what a 'random' tour would have been\n", + "pubs_coords.append(pubs_coords[0])\n", + "body = ors.DirectionsService(\n", + " coordinates=pubs_coords,\n", + " geometry=True\n", + ")\n", + "profile = 'driving-car'\n", + "\n", + "directionsApi = ors.DirectionsServiceApi(ors.ApiClient(configuration))\n", + "random_route = directionsApi.get_geo_json_route(body, profile)\n", + "\n", + "folium.features.GeoJson(data=ors.todict(random_route),\n", + " name='Random Bar Crawl',\n", + " style_function=style_function('#84e184'),\n", + " overlay=True).add_to(m)\n", + "\n", + "# And now the optimal route\n", + "body.coordinates = optimal_coords\n", + "optimal_route = directionsApi.get_geo_json_route(body, profile)\n", + "folium.features.GeoJson(data=ors.todict(optimal_route),\n", + " name='Optimal Bar Crawl',\n", + " style_function=style_function('#6666ff'),\n", + " overlay=True).add_to(m)\n", + "\n", + "m.add_child(folium.map.LayerControl())\n", + "m" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "The purple route looks a bit less painful. Let's see what the actual numbers say:" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Duration optimal route: 51.857 mins\n", + "Duration random route: 139.505 mins\n" + ] + } + ], + "source": [ + "optimal_duration = 0\n", + "random_duration = 0\n", + "\n", + "optimal_duration = optimal_route.features[0]['properties']['summary']['duration'] / 60\n", + "random_duration = random_route.features[0]['properties']['summary']['duration'] / 60\n", + "\n", + "print(\"Duration optimal route: {0:.3f} mins\\nDuration random route: {1:.3f} mins\".format(optimal_duration,\n", + " random_duration))" + ] + }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Optimizing that route saved us a good 120€ worth of taxi costs." + ] + } + ], + "metadata": { + "jupytext": { + "encoding": "# -*- coding: utf-8 -*-", + "formats": "ipynb,py:light" + }, + "kernelspec": { + "display_name": "Python 3 (ipykernel)", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.10.12" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/git_push.sh b/git_push.sh new file mode 100644 index 00000000..ae01b182 --- /dev/null +++ b/git_push.sh @@ -0,0 +1,52 @@ +#!/bin/sh +# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/ +# +# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update" + +git_user_id=$1 +git_repo_id=$2 +release_note=$3 + +if [ "$git_user_id" = "" ]; then + git_user_id="GIT_USER_ID" + echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" +fi + +if [ "$git_repo_id" = "" ]; then + git_repo_id="GIT_REPO_ID" + echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" +fi + +if [ "$release_note" = "" ]; then + release_note="Minor update" + echo "[INFO] No command line input provided. Set \$release_note to $release_note" +fi + +# Initialize the local directory as a Git repository +git init + +# Adds the files in the local repository and stages them for commit. +git add . + +# Commits the tracked changes and prepares them to be pushed to a remote repository. +git commit -m "$release_note" + +# Sets the new remote +git_remote=`git remote` +if [ "$git_remote" = "" ]; then # git remote not defined + + if [ "$GIT_TOKEN" = "" ]; then + echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment." + git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git + else + git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git + fi + +fi + +git pull origin master + +# Pushes (Forces) the changes in the local repository up to the remote repository +echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git" +git push origin master 2>&1 | grep -v 'To https' + diff --git a/index.md b/index.md new file mode 100644 index 00000000..ae568562 --- /dev/null +++ b/index.md @@ -0,0 +1,27 @@ +--- +# https://vitepress.dev/reference/default-theme-home-page +layout: home + +hero: + name: "openrouteservice-py documentation" + tagline: "🐍 The Python API to consume openrouteservice(s) painlessly!" + actions: + - theme: brand + text: openrouteservice.org + link: https://openrouteservice.org + - theme: alt + text: API Playground + link: https://openrouteservice.org/dev/#/api-docs + +features: + - title: Getting started + details: Installation and usage of openrouteservice-py + link: /README + - title: Local instance + details: Use openrouteservice-py with your local instance + link: /README#local_ors_instance + - title: API Endpoints + details: Documentation for the API Endpoints that are available in openrouteservice-py + link: /README#documentation_for_api_endpoints +--- + diff --git a/openrouteservice/api/__init__.py b/openrouteservice/api/__init__.py new file mode 100644 index 00000000..8f6da872 --- /dev/null +++ b/openrouteservice/api/__init__.py @@ -0,0 +1,12 @@ +from __future__ import absolute_import + +# flake8: noqa + +# import apis into api package +from openrouteservice.api.directions_service_api import DirectionsServiceApi +from openrouteservice.api.elevation_api import ElevationApi +from openrouteservice.api.geocode_api import GeocodeApi +from openrouteservice.api.isochrones_service_api import IsochronesServiceApi +from openrouteservice.api.matrix_service_api import MatrixServiceApi +from openrouteservice.api.optimization_api import OptimizationApi +from openrouteservice.api.pois_api import PoisApi diff --git a/openrouteservice/api/directions_service_api.py b/openrouteservice/api/directions_service_api.py new file mode 100644 index 00000000..f1aaa396 --- /dev/null +++ b/openrouteservice/api/directions_service_api.py @@ -0,0 +1,247 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from openrouteservice.api_client import ApiClient + + +class DirectionsServiceApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_geo_json_route(self, body, profile, **kwargs): # noqa: E501 + """Directions Service GeoJSON # noqa: E501 + + Returns a route between two or more locations for a selected profile and its settings as GeoJSON # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_geo_json_route(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param DirectionsService body: (required) + :param str profile: Specifies the route profile. (required) + :return: InlineResponse2003 + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_geo_json_route_with_http_info(body, profile, **kwargs) # noqa: E501 + else: + (data) = self.get_geo_json_route_with_http_info(body, profile, **kwargs) # noqa: E501 + return data + + def get_geo_json_route_with_http_info(self, body, profile, **kwargs): # noqa: E501 + """Directions Service GeoJSON # noqa: E501 + + Returns a route between two or more locations for a selected profile and its settings as GeoJSON # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_geo_json_route_with_http_info(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param DirectionsService body: (required) + :param str profile: Specifies the route profile. (required) + :return: InlineResponse2003 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'profile'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_geo_json_route" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `get_geo_json_route`") # noqa: E501 + # verify the required parameter 'profile' is set + if ('profile' not in params or + params['profile'] is None): + raise ValueError("Missing the required parameter `profile` when calling `get_geo_json_route`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'profile' in params: + path_params['profile'] = params['profile'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/geo+json', '*/*']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/v2/directions/{profile}/geojson', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse2003', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_json_route(self, body, profile, **kwargs): # noqa: E501 + """Directions Service JSON # noqa: E501 + + Returns a route between two or more locations for a selected profile and its settings as JSON # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_json_route(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param DirectionsService1 body: (required) + :param str profile: Specifies the route profile. (required) + :return: InlineResponse2004 + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_json_route_with_http_info(body, profile, **kwargs) # noqa: E501 + else: + (data) = self.get_json_route_with_http_info(body, profile, **kwargs) # noqa: E501 + return data + + def get_json_route_with_http_info(self, body, profile, **kwargs): # noqa: E501 + """Directions Service JSON # noqa: E501 + + Returns a route between two or more locations for a selected profile and its settings as JSON # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_json_route_with_http_info(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param DirectionsService1 body: (required) + :param str profile: Specifies the route profile. (required) + :return: InlineResponse2004 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'profile'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_json_route" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `get_json_route`") # noqa: E501 + # verify the required parameter 'profile' is set + if ('profile' not in params or + params['profile'] is None): + raise ValueError("Missing the required parameter `profile` when calling `get_json_route`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'profile' in params: + path_params['profile'] = params['profile'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', '*/*']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/v2/directions/{profile}/json', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse2004', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/openrouteservice/api/elevation_api.py b/openrouteservice/api/elevation_api.py new file mode 100644 index 00000000..63c4cc64 --- /dev/null +++ b/openrouteservice/api/elevation_api.py @@ -0,0 +1,335 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from openrouteservice.api_client import ApiClient + + +class ElevationApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def elevation_line_post(self, body, **kwargs): # noqa: E501 + """Elevation Line Service # noqa: E501 + + This endpoint can take planar 2D line objects and enrich them with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Polyline * Google's Encoded polyline with coordinate precision 5 or 6 Example: ``` # POST LineString as polyline curl -XPOST https://api.openrouteservice.org/elevation/line -H 'Content-Type: application/json' \\ -H 'Authorization: INSERT_YOUR_KEY -d '{ \"format_in\": \"polyline\", \"format_out\": \"encodedpolyline5\", \"geometry\": [[13.349762, 38.112952], [12.638397, 37.645772]] }' ``` # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.elevation_line_post(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ElevationLineBody body: Query the elevation of a line in various formats. (required) + :return: InlineResponse200 + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.elevation_line_post_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.elevation_line_post_with_http_info(body, **kwargs) # noqa: E501 + return data + + def elevation_line_post_with_http_info(self, body, **kwargs): # noqa: E501 + """Elevation Line Service # noqa: E501 + + This endpoint can take planar 2D line objects and enrich them with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Polyline * Google's Encoded polyline with coordinate precision 5 or 6 Example: ``` # POST LineString as polyline curl -XPOST https://api.openrouteservice.org/elevation/line -H 'Content-Type: application/json' \\ -H 'Authorization: INSERT_YOUR_KEY -d '{ \"format_in\": \"polyline\", \"format_out\": \"encodedpolyline5\", \"geometry\": [[13.349762, 38.112952], [12.638397, 37.645772]] }' ``` # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.elevation_line_post_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ElevationLineBody body: Query the elevation of a line in various formats. (required) + :return: InlineResponse200 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method elevation_line_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `elevation_line_post`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/elevation/line', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse200', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def elevation_point_get(self, geometry, **kwargs): # noqa: E501 + """Elevation Point Service # noqa: E501 + + This endpoint can take a 2D point and enrich it with elevation from a variety of datasets. The output formats are: * GeoJSON * Point Example: ``` # GET point curl -XGET https://localhost:5000/elevation/point?geometry=13.349762,38.11295 ``` # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.elevation_point_get(geometry, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[float] geometry: The point to be queried, in comma-separated lon,lat values, e.g. [13.349762, 38.11295] (required) + :param str format_out: The output format to be returned. + :param str dataset: The elevation dataset to be used. + :return: InlineResponse2001 + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.elevation_point_get_with_http_info(geometry, **kwargs) # noqa: E501 + else: + (data) = self.elevation_point_get_with_http_info(geometry, **kwargs) # noqa: E501 + return data + + def elevation_point_get_with_http_info(self, geometry, **kwargs): # noqa: E501 + """Elevation Point Service # noqa: E501 + + This endpoint can take a 2D point and enrich it with elevation from a variety of datasets. The output formats are: * GeoJSON * Point Example: ``` # GET point curl -XGET https://localhost:5000/elevation/point?geometry=13.349762,38.11295 ``` # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.elevation_point_get_with_http_info(geometry, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param list[float] geometry: The point to be queried, in comma-separated lon,lat values, e.g. [13.349762, 38.11295] (required) + :param str format_out: The output format to be returned. + :param str dataset: The elevation dataset to be used. + :return: InlineResponse2001 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['geometry', 'format_out', 'dataset'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method elevation_point_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'geometry' is set + if ('geometry' not in params or + params['geometry'] is None): + raise ValueError("Missing the required parameter `geometry` when calling `elevation_point_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'geometry' in params: + query_params.append(('geometry', params['geometry'])) # noqa: E501 + collection_formats['geometry'] = 'csv' # noqa: E501 + if 'format_out' in params: + query_params.append(('format_out', params['format_out'])) # noqa: E501 + if 'dataset' in params: + query_params.append(('dataset', params['dataset'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/elevation/point', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse2001', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def elevation_point_post(self, body, **kwargs): # noqa: E501 + """Elevation Point Service # noqa: E501 + + This endpoint can take a 2D point and enrich it with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Point Example: ``` # POST point as GeoJSON # https://api.openrouteservice.org/elevation/point?api_key=YOUR-KEY { \"format_in\": \"geojson\", \"format_out\": \"geojson\", \"geometry\": { \"coordinates\": [13.349762, 38.11295], \"type\": \"Point\" } } ``` # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.elevation_point_post(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ElevationPointBody body: Query the elevation of a point in various formats. (required) + :return: InlineResponse2001 + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.elevation_point_post_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.elevation_point_post_with_http_info(body, **kwargs) # noqa: E501 + return data + + def elevation_point_post_with_http_info(self, body, **kwargs): # noqa: E501 + """Elevation Point Service # noqa: E501 + + This endpoint can take a 2D point and enrich it with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Point Example: ``` # POST point as GeoJSON # https://api.openrouteservice.org/elevation/point?api_key=YOUR-KEY { \"format_in\": \"geojson\", \"format_out\": \"geojson\", \"geometry\": { \"coordinates\": [13.349762, 38.11295], \"type\": \"Point\" } } ``` # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.elevation_point_post_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ElevationPointBody body: Query the elevation of a point in various formats. (required) + :return: InlineResponse2001 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method elevation_point_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `elevation_point_post`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/elevation/point', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse2001', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/openrouteservice/api/geocode_api.py b/openrouteservice/api/geocode_api.py new file mode 100644 index 00000000..f3d7c5e8 --- /dev/null +++ b/openrouteservice/api/geocode_api.py @@ -0,0 +1,617 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from openrouteservice.api_client import ApiClient + + +class GeocodeApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def geocode_autocomplete_get(self, text, **kwargs): # noqa: E501 + """Geocode Autocomplete Service # noqa: E501 + + **Requests should be throttled when using this endpoint!** *Be aware that Responses are asynchronous.* Returns a JSON formatted list of objects corresponding to the search input. `boundary.*`-parameters can be combined if they are overlapping. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/autocomplete.md) # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.geocode_autocomplete_get(text, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str text: Name of location, street address or postal code. (required) + :param float focus_point_lon: Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. + :param float focus_point_lat: Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. + :param float boundary_rect_min_lon: Left border of rectangular boundary to narrow results. + :param float boundary_rect_min_lat: Bottom border of rectangular boundary to narrow results. + :param float boundary_rect_max_lon: Right border of rectangular boundary to narrow results. + :param float boundary_rect_max_lat: Top border of rectangular boundary to narrow results. + :param str boundary_country: Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. + :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). + :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| + :return: GeocodeResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.geocode_autocomplete_get_with_http_info(text, **kwargs) # noqa: E501 + else: + (data) = self.geocode_autocomplete_get_with_http_info(text, **kwargs) # noqa: E501 + return data + + def geocode_autocomplete_get_with_http_info(self, text, **kwargs): # noqa: E501 + """Geocode Autocomplete Service # noqa: E501 + + **Requests should be throttled when using this endpoint!** *Be aware that Responses are asynchronous.* Returns a JSON formatted list of objects corresponding to the search input. `boundary.*`-parameters can be combined if they are overlapping. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/autocomplete.md) # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.geocode_autocomplete_get_with_http_info(text, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str text: Name of location, street address or postal code. (required) + :param float focus_point_lon: Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. + :param float focus_point_lat: Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. + :param float boundary_rect_min_lon: Left border of rectangular boundary to narrow results. + :param float boundary_rect_min_lat: Bottom border of rectangular boundary to narrow results. + :param float boundary_rect_max_lon: Right border of rectangular boundary to narrow results. + :param float boundary_rect_max_lat: Top border of rectangular boundary to narrow results. + :param str boundary_country: Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. + :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). + :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| + :return: GeocodeResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['text', 'focus_point_lon', 'focus_point_lat', 'boundary_rect_min_lon', 'boundary_rect_min_lat', 'boundary_rect_max_lon', 'boundary_rect_max_lat', 'boundary_country', 'sources', 'layers'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method geocode_autocomplete_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'text' is set + if ('text' not in params or + params['text'] is None): + raise ValueError("Missing the required parameter `text` when calling `geocode_autocomplete_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'text' in params: + query_params.append(('text', params['text'])) # noqa: E501 + if 'focus_point_lon' in params: + query_params.append(('focus.point.lon', params['focus_point_lon'])) # noqa: E501 + if 'focus_point_lat' in params: + query_params.append(('focus.point.lat', params['focus_point_lat'])) # noqa: E501 + if 'boundary_rect_min_lon' in params: + query_params.append(('boundary.rect.min_lon', params['boundary_rect_min_lon'])) # noqa: E501 + if 'boundary_rect_min_lat' in params: + query_params.append(('boundary.rect.min_lat', params['boundary_rect_min_lat'])) # noqa: E501 + if 'boundary_rect_max_lon' in params: + query_params.append(('boundary.rect.max_lon', params['boundary_rect_max_lon'])) # noqa: E501 + if 'boundary_rect_max_lat' in params: + query_params.append(('boundary.rect.max_lat', params['boundary_rect_max_lat'])) # noqa: E501 + if 'boundary_country' in params: + query_params.append(('boundary.country', params['boundary_country'])) # noqa: E501 + if 'sources' in params: + query_params.append(('sources', params['sources'])) # noqa: E501 + collection_formats['sources'] = 'multi' # noqa: E501 + if 'layers' in params: + query_params.append(('layers', params['layers'])) # noqa: E501 + collection_formats['layers'] = 'multi' # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/geocode/autocomplete', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GeocodeResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def geocode_reverse_get(self, point_lon, point_lat, **kwargs): # noqa: E501 + """Reverse Geocode Service # noqa: E501 + + Returns the next enclosing object with an address tag which surrounds the given coordinate. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/reverse.md#reverse-geocoding) # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.geocode_reverse_get(point_lon, point_lat, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param float point_lon: Longitude of the coordinate to query. (required) + :param float point_lat: Latitude of the coordinate to query. (required) + :param float boundary_circle_radius: Restrict search to circular region around `point.lat/point.lon`. Value in kilometers. + :param int size: Set the number of returned results. + :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `locality`|towns, hamlets, cities| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| + :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). + :param str boundary_country: Restrict search to country by [alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) or [alpha 3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) codes. + :return: GeocodeResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.geocode_reverse_get_with_http_info(point_lon, point_lat, **kwargs) # noqa: E501 + else: + (data) = self.geocode_reverse_get_with_http_info(point_lon, point_lat, **kwargs) # noqa: E501 + return data + + def geocode_reverse_get_with_http_info(self, point_lon, point_lat, **kwargs): # noqa: E501 + """Reverse Geocode Service # noqa: E501 + + Returns the next enclosing object with an address tag which surrounds the given coordinate. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/reverse.md#reverse-geocoding) # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.geocode_reverse_get_with_http_info(point_lon, point_lat, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param float point_lon: Longitude of the coordinate to query. (required) + :param float point_lat: Latitude of the coordinate to query. (required) + :param float boundary_circle_radius: Restrict search to circular region around `point.lat/point.lon`. Value in kilometers. + :param int size: Set the number of returned results. + :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `locality`|towns, hamlets, cities| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| + :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). + :param str boundary_country: Restrict search to country by [alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) or [alpha 3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) codes. + :return: GeocodeResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['point_lon', 'point_lat', 'boundary_circle_radius', 'size', 'layers', 'sources', 'boundary_country'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method geocode_reverse_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'point_lon' is set + if ('point_lon' not in params or + params['point_lon'] is None): + raise ValueError("Missing the required parameter `point_lon` when calling `geocode_reverse_get`") # noqa: E501 + # verify the required parameter 'point_lat' is set + if ('point_lat' not in params or + params['point_lat'] is None): + raise ValueError("Missing the required parameter `point_lat` when calling `geocode_reverse_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'point_lon' in params: + query_params.append(('point.lon', params['point_lon'])) # noqa: E501 + if 'point_lat' in params: + query_params.append(('point.lat', params['point_lat'])) # noqa: E501 + if 'boundary_circle_radius' in params: + query_params.append(('boundary.circle.radius', params['boundary_circle_radius'])) # noqa: E501 + if 'size' in params: + query_params.append(('size', params['size'])) # noqa: E501 + if 'layers' in params: + query_params.append(('layers', params['layers'])) # noqa: E501 + collection_formats['layers'] = 'multi' # noqa: E501 + if 'sources' in params: + query_params.append(('sources', params['sources'])) # noqa: E501 + collection_formats['sources'] = 'multi' # noqa: E501 + if 'boundary_country' in params: + query_params.append(('boundary.country', params['boundary_country'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/geocode/reverse', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GeocodeResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def geocode_search_get(self, text, **kwargs): # noqa: E501 + """Forward Geocode Service # noqa: E501 + + Returns a JSON formatted list of objects corresponding to the search input. `boundary.*`-parameters can be combined if they are overlapping. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/search.md#search-the-world) # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.geocode_search_get(text, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str text: Name of location, street address or postal code. (required) + :param float focus_point_lon: Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. + :param float focus_point_lat: Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. + :param float boundary_rect_min_lon: Left border of rectangular boundary to narrow results. + :param float boundary_rect_min_lat: Bottom border of rectangular boundary to narrow results. + :param float boundary_rect_max_lon: Right border of rectangular boundary to narrow results. + :param float boundary_rect_max_lat: Top border of rectangular boundary to narrow results. + :param float boundary_circle_lon: Center Longitude of circular boundary to narrow results. Use with `boundary.circle.lat` & `boundary.circle.radius`. + :param float boundary_circle_lat: Center Latitude of circular boundary to narrow results. Use with `boundary.circle.lon` & `boundary.circle.radius`. + :param float boundary_circle_radius: Radius of circular boundary around the center coordinate in kilometers. Use with `boundary.circle.lon` & `boundary.circle.lat`. + :param str boundary_gid: Restrict results to administrative boundary using a Pelias global id [`gid`](https://github.com/pelias/documentation/blob/f1f475aa4f8c18426fb80baea636990502c08ed3/search.md#search-within-a-parent-administrative-area). `gid`s for records can be found using either the [Who's on First Spelunker](http://spelunker.whosonfirst.org/), a tool for searching Who's on First data, or from the responses of other Pelias queries. In this case a [search for Oklahoma](http://pelias.github.io/compare/#/v1/search%3Ftext=oklahoma) will return the proper `gid`. + :param str boundary_country: Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. + :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). + :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| + :param int size: Set the number of returned results. + :return: GeocodeResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.geocode_search_get_with_http_info(text, **kwargs) # noqa: E501 + else: + (data) = self.geocode_search_get_with_http_info(text, **kwargs) # noqa: E501 + return data + + def geocode_search_get_with_http_info(self, text, **kwargs): # noqa: E501 + """Forward Geocode Service # noqa: E501 + + Returns a JSON formatted list of objects corresponding to the search input. `boundary.*`-parameters can be combined if they are overlapping. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/search.md#search-the-world) # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.geocode_search_get_with_http_info(text, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str text: Name of location, street address or postal code. (required) + :param float focus_point_lon: Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. + :param float focus_point_lat: Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. + :param float boundary_rect_min_lon: Left border of rectangular boundary to narrow results. + :param float boundary_rect_min_lat: Bottom border of rectangular boundary to narrow results. + :param float boundary_rect_max_lon: Right border of rectangular boundary to narrow results. + :param float boundary_rect_max_lat: Top border of rectangular boundary to narrow results. + :param float boundary_circle_lon: Center Longitude of circular boundary to narrow results. Use with `boundary.circle.lat` & `boundary.circle.radius`. + :param float boundary_circle_lat: Center Latitude of circular boundary to narrow results. Use with `boundary.circle.lon` & `boundary.circle.radius`. + :param float boundary_circle_radius: Radius of circular boundary around the center coordinate in kilometers. Use with `boundary.circle.lon` & `boundary.circle.lat`. + :param str boundary_gid: Restrict results to administrative boundary using a Pelias global id [`gid`](https://github.com/pelias/documentation/blob/f1f475aa4f8c18426fb80baea636990502c08ed3/search.md#search-within-a-parent-administrative-area). `gid`s for records can be found using either the [Who's on First Spelunker](http://spelunker.whosonfirst.org/), a tool for searching Who's on First data, or from the responses of other Pelias queries. In this case a [search for Oklahoma](http://pelias.github.io/compare/#/v1/search%3Ftext=oklahoma) will return the proper `gid`. + :param str boundary_country: Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. + :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). + :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| + :param int size: Set the number of returned results. + :return: GeocodeResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['text', 'focus_point_lon', 'focus_point_lat', 'boundary_rect_min_lon', 'boundary_rect_min_lat', 'boundary_rect_max_lon', 'boundary_rect_max_lat', 'boundary_circle_lon', 'boundary_circle_lat', 'boundary_circle_radius', 'boundary_gid', 'boundary_country', 'sources', 'layers', 'size'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method geocode_search_get" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'text' is set + if ('text' not in params or + params['text'] is None): + raise ValueError("Missing the required parameter `text` when calling `geocode_search_get`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'text' in params: + query_params.append(('text', params['text'])) # noqa: E501 + if 'focus_point_lon' in params: + query_params.append(('focus.point.lon', params['focus_point_lon'])) # noqa: E501 + if 'focus_point_lat' in params: + query_params.append(('focus.point.lat', params['focus_point_lat'])) # noqa: E501 + if 'boundary_rect_min_lon' in params: + query_params.append(('boundary.rect.min_lon', params['boundary_rect_min_lon'])) # noqa: E501 + if 'boundary_rect_min_lat' in params: + query_params.append(('boundary.rect.min_lat', params['boundary_rect_min_lat'])) # noqa: E501 + if 'boundary_rect_max_lon' in params: + query_params.append(('boundary.rect.max_lon', params['boundary_rect_max_lon'])) # noqa: E501 + if 'boundary_rect_max_lat' in params: + query_params.append(('boundary.rect.max_lat', params['boundary_rect_max_lat'])) # noqa: E501 + if 'boundary_circle_lon' in params: + query_params.append(('boundary.circle.lon', params['boundary_circle_lon'])) # noqa: E501 + if 'boundary_circle_lat' in params: + query_params.append(('boundary.circle.lat', params['boundary_circle_lat'])) # noqa: E501 + if 'boundary_circle_radius' in params: + query_params.append(('boundary.circle.radius', params['boundary_circle_radius'])) # noqa: E501 + if 'boundary_gid' in params: + query_params.append(('boundary.gid', params['boundary_gid'])) # noqa: E501 + if 'boundary_country' in params: + query_params.append(('boundary.country', params['boundary_country'])) # noqa: E501 + if 'sources' in params: + query_params.append(('sources', params['sources'])) # noqa: E501 + collection_formats['sources'] = 'multi' # noqa: E501 + if 'layers' in params: + query_params.append(('layers', params['layers'])) # noqa: E501 + collection_formats['layers'] = 'multi' # noqa: E501 + if 'size' in params: + query_params.append(('size', params['size'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/geocode/search', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GeocodeResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def geocode_search_structured_get(self, **kwargs): # noqa: E501 + """Structured Forward Geocode Service (beta) # noqa: E501 + + Returns a JSON formatted list of objects corresponding to the search input. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/structured-geocoding.md#structured-geocoding) # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.geocode_search_structured_get(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str address: Search for full address with house number or only a street name. + :param str neighbourhood: Search for neighbourhoods. Neighbourhoods are vernacular geographic entities that may not necessarily be official administrative divisions but are important nonetheless. Example: `Notting Hill`. + :param str country: Search for full country name, [alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) or [alpha 3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) codes. + :param str postalcode: Search for postal codes. Postal codes are unique within a country so they are useful in geocoding as a shorthand for a fairly granular geographical location. + :param str region: Search for regions. Regions are normally the first-level administrative divisions within countries. For US-regions [common abbreviations](https://en.wikipedia.org/wiki/List_of_U.S._state_abbreviations) can be used. + :param str county: Search for counties. Counties are administrative divisions between localities and regions. Can be useful when attempting to disambiguate between localities. + :param str locality: Search for localities. Localities are equivalent to what are commonly referred to as *cities*. + :param str borough: Search for boroughs. Boroughs are mostly known in the context of New York City, even though they may exist in other cities, such as Mexico City. Example: `Manhatten`. + :param float focus_point_lon: Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. + :param float focus_point_lat: Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. + :param float boundary_rect_min_lon: Left border of rectangular boundary to narrow results. + :param float boundary_rect_min_lat: Bottom border of rectangular boundary to narrow results. + :param float boundary_rect_max_lon: Right border of rectangular boundary to narrow results. + :param float boundary_rect_max_lat: Top border of rectangular boundary to narrow results. + :param float boundary_circle_lon: Center Longitude of circular boundary to narrow results. Use with `boundary.circle.lat` & `boundary.circle.radius`. + :param float boundary_circle_lat: Center Latitude of circular boundary to narrow results. Use with `boundary.circle.lon` & `boundary.circle.radius`. + :param float boundary_circle_radius: Radius of circular boundary around the center coordinate in kilometers. Use with `boundary.circle.lon` & `boundary.circle.lat`. + :param str boundary_country: Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. + :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| + :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). + :param int size: Set the number of returned results. + :return: GeocodeResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.geocode_search_structured_get_with_http_info(**kwargs) # noqa: E501 + else: + (data) = self.geocode_search_structured_get_with_http_info(**kwargs) # noqa: E501 + return data + + def geocode_search_structured_get_with_http_info(self, **kwargs): # noqa: E501 + """Structured Forward Geocode Service (beta) # noqa: E501 + + Returns a JSON formatted list of objects corresponding to the search input. **The interactivity for this enpoint is experimental!** [Please refer to this external Documentation](https://github.com/pelias/documentation/blob/master/structured-geocoding.md#structured-geocoding) # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.geocode_search_structured_get_with_http_info(async_req=True) + >>> result = thread.get() + + :param async_req bool + :param str address: Search for full address with house number or only a street name. + :param str neighbourhood: Search for neighbourhoods. Neighbourhoods are vernacular geographic entities that may not necessarily be official administrative divisions but are important nonetheless. Example: `Notting Hill`. + :param str country: Search for full country name, [alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) or [alpha 3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) codes. + :param str postalcode: Search for postal codes. Postal codes are unique within a country so they are useful in geocoding as a shorthand for a fairly granular geographical location. + :param str region: Search for regions. Regions are normally the first-level administrative divisions within countries. For US-regions [common abbreviations](https://en.wikipedia.org/wiki/List_of_U.S._state_abbreviations) can be used. + :param str county: Search for counties. Counties are administrative divisions between localities and regions. Can be useful when attempting to disambiguate between localities. + :param str locality: Search for localities. Localities are equivalent to what are commonly referred to as *cities*. + :param str borough: Search for boroughs. Boroughs are mostly known in the context of New York City, even though they may exist in other cities, such as Mexico City. Example: `Manhatten`. + :param float focus_point_lon: Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. + :param float focus_point_lat: Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. + :param float boundary_rect_min_lon: Left border of rectangular boundary to narrow results. + :param float boundary_rect_min_lat: Bottom border of rectangular boundary to narrow results. + :param float boundary_rect_max_lon: Right border of rectangular boundary to narrow results. + :param float boundary_rect_max_lat: Top border of rectangular boundary to narrow results. + :param float boundary_circle_lon: Center Longitude of circular boundary to narrow results. Use with `boundary.circle.lat` & `boundary.circle.radius`. + :param float boundary_circle_lat: Center Latitude of circular boundary to narrow results. Use with `boundary.circle.lon` & `boundary.circle.radius`. + :param float boundary_circle_radius: Radius of circular boundary around the center coordinate in kilometers. Use with `boundary.circle.lon` & `boundary.circle.lat`. + :param str boundary_country: Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. + :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| + :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). + :param int size: Set the number of returned results. + :return: GeocodeResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['address', 'neighbourhood', 'country', 'postalcode', 'region', 'county', 'locality', 'borough', 'focus_point_lon', 'focus_point_lat', 'boundary_rect_min_lon', 'boundary_rect_min_lat', 'boundary_rect_max_lon', 'boundary_rect_max_lat', 'boundary_circle_lon', 'boundary_circle_lat', 'boundary_circle_radius', 'boundary_country', 'layers', 'sources', 'size'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method geocode_search_structured_get" % key + ) + params[key] = val + del params['kwargs'] + + collection_formats = {} + + path_params = {} + + query_params = [] + if 'address' in params: + query_params.append(('address', params['address'])) # noqa: E501 + if 'neighbourhood' in params: + query_params.append(('neighbourhood', params['neighbourhood'])) # noqa: E501 + if 'country' in params: + query_params.append(('country', params['country'])) # noqa: E501 + if 'postalcode' in params: + query_params.append(('postalcode', params['postalcode'])) # noqa: E501 + if 'region' in params: + query_params.append(('region', params['region'])) # noqa: E501 + if 'county' in params: + query_params.append(('county', params['county'])) # noqa: E501 + if 'locality' in params: + query_params.append(('locality', params['locality'])) # noqa: E501 + if 'borough' in params: + query_params.append(('borough', params['borough'])) # noqa: E501 + if 'focus_point_lon' in params: + query_params.append(('focus.point.lon', params['focus_point_lon'])) # noqa: E501 + if 'focus_point_lat' in params: + query_params.append(('focus.point.lat', params['focus_point_lat'])) # noqa: E501 + if 'boundary_rect_min_lon' in params: + query_params.append(('boundary.rect.min_lon', params['boundary_rect_min_lon'])) # noqa: E501 + if 'boundary_rect_min_lat' in params: + query_params.append(('boundary.rect.min_lat', params['boundary_rect_min_lat'])) # noqa: E501 + if 'boundary_rect_max_lon' in params: + query_params.append(('boundary.rect.max_lon', params['boundary_rect_max_lon'])) # noqa: E501 + if 'boundary_rect_max_lat' in params: + query_params.append(('boundary.rect.max_lat', params['boundary_rect_max_lat'])) # noqa: E501 + if 'boundary_circle_lon' in params: + query_params.append(('boundary.circle.lon', params['boundary_circle_lon'])) # noqa: E501 + if 'boundary_circle_lat' in params: + query_params.append(('boundary.circle.lat', params['boundary_circle_lat'])) # noqa: E501 + if 'boundary_circle_radius' in params: + query_params.append(('boundary.circle.radius', params['boundary_circle_radius'])) # noqa: E501 + if 'boundary_country' in params: + query_params.append(('boundary.country', params['boundary_country'])) # noqa: E501 + if 'layers' in params: + query_params.append(('layers', params['layers'])) # noqa: E501 + collection_formats['layers'] = 'multi' # noqa: E501 + if 'sources' in params: + query_params.append(('sources', params['sources'])) # noqa: E501 + collection_formats['sources'] = 'multi' # noqa: E501 + if 'size' in params: + query_params.append(('size', params['size'])) # noqa: E501 + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/geocode/search/structured', 'GET', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='GeocodeResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/openrouteservice/api/isochrones_service_api.py b/openrouteservice/api/isochrones_service_api.py new file mode 100644 index 00000000..54a94287 --- /dev/null +++ b/openrouteservice/api/isochrones_service_api.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from openrouteservice.api_client import ApiClient + + +class IsochronesServiceApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_default_isochrones(self, body, profile, **kwargs): # noqa: E501 + """Isochrones Service # noqa: E501 + + The Isochrone Service supports time and distance analyses for one single or multiple locations. You may also specify the isochrone interval or provide multiple exact isochrone range values. This service allows the same range of profile options as the /directions endpoint, which help you to further customize your request to obtain a more detailed reachability area response. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_default_isochrones(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param IsochronesProfileBody body: (required) + :param str profile: Specifies the route profile. (required) + :return: InlineResponse2005 + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_default_isochrones_with_http_info(body, profile, **kwargs) # noqa: E501 + else: + (data) = self.get_default_isochrones_with_http_info(body, profile, **kwargs) # noqa: E501 + return data + + def get_default_isochrones_with_http_info(self, body, profile, **kwargs): # noqa: E501 + """Isochrones Service # noqa: E501 + + The Isochrone Service supports time and distance analyses for one single or multiple locations. You may also specify the isochrone interval or provide multiple exact isochrone range values. This service allows the same range of profile options as the /directions endpoint, which help you to further customize your request to obtain a more detailed reachability area response. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_default_isochrones_with_http_info(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param IsochronesProfileBody body: (required) + :param str profile: Specifies the route profile. (required) + :return: InlineResponse2005 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'profile'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_default_isochrones" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `get_default_isochrones`") # noqa: E501 + # verify the required parameter 'profile' is set + if ('profile' not in params or + params['profile'] is None): + raise ValueError("Missing the required parameter `profile` when calling `get_default_isochrones`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'profile' in params: + path_params['profile'] = params['profile'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/geo+json', '*/*']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/v2/isochrones/{profile}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse2005', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/openrouteservice/api/matrix_service_api.py b/openrouteservice/api/matrix_service_api.py new file mode 100644 index 00000000..cf142e32 --- /dev/null +++ b/openrouteservice/api/matrix_service_api.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from openrouteservice.api_client import ApiClient + + +class MatrixServiceApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_default(self, body, profile, **kwargs): # noqa: E501 + """Matrix Service # noqa: E501 + + Returns duration or distance matrix for multiple source and destination points. By default a square duration matrix is returned where every point in locations is paired with each other. The result is null if a value can’t be determined. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_default(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param MatrixProfileBody body: (required) + :param str profile: Specifies the matrix profile. (required) + :return: InlineResponse2006 + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_default_with_http_info(body, profile, **kwargs) # noqa: E501 + else: + (data) = self.get_default_with_http_info(body, profile, **kwargs) # noqa: E501 + return data + + def get_default_with_http_info(self, body, profile, **kwargs): # noqa: E501 + """Matrix Service # noqa: E501 + + Returns duration or distance matrix for multiple source and destination points. By default a square duration matrix is returned where every point in locations is paired with each other. The result is null if a value can’t be determined. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_default_with_http_info(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param MatrixProfileBody body: (required) + :param str profile: Specifies the matrix profile. (required) + :return: InlineResponse2006 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'profile'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_default" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `get_default`") # noqa: E501 + # verify the required parameter 'profile' is set + if ('profile' not in params or + params['profile'] is None): + raise ValueError("Missing the required parameter `profile` when calling `get_default`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'profile' in params: + path_params['profile'] = params['profile'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json;charset=UTF-8', '*/*']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/v2/matrix/{profile}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse2006', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/openrouteservice/api/optimization_api.py b/openrouteservice/api/optimization_api.py new file mode 100644 index 00000000..b88e8c67 --- /dev/null +++ b/openrouteservice/api/optimization_api.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from openrouteservice.api_client import ApiClient + + +class OptimizationApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def optimization_post(self, body, **kwargs): # noqa: E501 + """Optimization Service # noqa: E501 + + The optimization endpoint solves [Vehicle Routing Problems](https://en.wikipedia.org/wiki/Vehicle_routing_problem) and can be used to schedule multiple vehicles and jobs, respecting time windows, capacities and required skills. This service is based on the excellent [Vroom project](https://github.com/VROOM-Project/vroom). Please also consult its [API documentation](https://github.com/VROOM-Project/vroom/blob/master/docs/API.md). General Info: - The expected order for all coordinates arrays is `[lon, lat]` - All timings are in seconds - All distances are in meters - A `time_window` object is a pair of timestamps in the form `[start, end]` # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.optimization_post(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param OptimizationBody body: The request body of the optimization request. (required) + :return: InlineResponse2002 + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.optimization_post_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.optimization_post_with_http_info(body, **kwargs) # noqa: E501 + return data + + def optimization_post_with_http_info(self, body, **kwargs): # noqa: E501 + """Optimization Service # noqa: E501 + + The optimization endpoint solves [Vehicle Routing Problems](https://en.wikipedia.org/wiki/Vehicle_routing_problem) and can be used to schedule multiple vehicles and jobs, respecting time windows, capacities and required skills. This service is based on the excellent [Vroom project](https://github.com/VROOM-Project/vroom). Please also consult its [API documentation](https://github.com/VROOM-Project/vroom/blob/master/docs/API.md). General Info: - The expected order for all coordinates arrays is `[lon, lat]` - All timings are in seconds - All distances are in meters - A `time_window` object is a pair of timestamps in the form `[start, end]` # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.optimization_post_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param OptimizationBody body: The request body of the optimization request. (required) + :return: InlineResponse2002 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method optimization_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `optimization_post`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/optimization', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse2002', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/openrouteservice/api/pois_api.py b/openrouteservice/api/pois_api.py new file mode 100644 index 00000000..7fe42419 --- /dev/null +++ b/openrouteservice/api/pois_api.py @@ -0,0 +1,132 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from openrouteservice.api_client import ApiClient + + +class PoisApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def pois_post(self, body, **kwargs): # noqa: E501 + """Pois Service # noqa: E501 + + Returns points of interest in the area surrounding a geometry which can either be a bounding box, polygon or buffered linestring or point. Find more examples on [github](https://github.com/GIScience/openpoiservice). # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.pois_post(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param OpenpoiservicePoiRequest body: body for a post request (required) + :return: OpenpoiservicePoiResponse + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.pois_post_with_http_info(body, **kwargs) # noqa: E501 + else: + (data) = self.pois_post_with_http_info(body, **kwargs) # noqa: E501 + return data + + def pois_post_with_http_info(self, body, **kwargs): # noqa: E501 + """Pois Service # noqa: E501 + + Returns points of interest in the area surrounding a geometry which can either be a bounding box, polygon or buffered linestring or point. Find more examples on [github](https://github.com/GIScience/openpoiservice). # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.pois_post_with_http_info(body, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param OpenpoiservicePoiRequest body: body for a post request (required) + :return: OpenpoiservicePoiResponse + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method pois_post" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `pois_post`") # noqa: E501 + + collection_formats = {} + + path_params = {} + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/pois', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='OpenpoiservicePoiResponse', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/openrouteservice/api_client.py b/openrouteservice/api_client.py new file mode 100644 index 00000000..716b0d9a --- /dev/null +++ b/openrouteservice/api_client.py @@ -0,0 +1,632 @@ +# coding: utf-8 +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" +from __future__ import absolute_import + +import datetime +import json +import mimetypes +from multiprocessing.pool import ThreadPool +import os +import re +import tempfile + +# python 2 and python 3 compatibility library +import six +from six.moves.urllib.parse import quote + +from openrouteservice.configuration import Configuration +import openrouteservice.models +from openrouteservice import rest + + +class ApiClient(object): + """Generic API client for Swagger client library builds. + + Swagger generic API client. This client handles the client- + server communication, and is invariant across implementations. Specifics of + the methods and models for each application are generated from the Swagger + templates. + + NOTE: This class is auto generated by the swagger code generator program. + Ref: https://github.com/swagger-api/swagger-codegen + Do not edit the class manually. + + :param configuration: .Configuration object for this client + :param header_name: a header to pass when making calls to the API. + :param header_value: a header value to pass when making calls to + the API. + :param cookie: a cookie to include in the header when making calls + to the API + """ + + PRIMITIVE_TYPES = (float, bool, bytes, six.text_type) + six.integer_types + NATIVE_TYPES_MAPPING = { + 'int': int, + 'long': int if six.PY3 else long, # noqa: F821 + 'float': float, + 'str': str, + 'bool': bool, + 'date': datetime.date, + 'datetime': datetime.datetime, + 'object': object, + } + + def __init__(self, configuration=None, header_name=None, header_value=None, + cookie=None): + if configuration is None: + configuration = Configuration() + self.configuration = configuration + + self.pool = ThreadPool() + self.rest_client = rest.RESTClientObject(configuration) + self.default_headers = {} + if header_name is not None: + self.default_headers[header_name] = header_value + self.cookie = cookie + # Set default User-Agent. + self.user_agent = 'Swagger-Codegen/7.1.0.post6/python' + + def __del__(self): + self.pool.close() + self.pool.join() + + @property + def user_agent(self): + """User agent for this API client""" + return self.default_headers['User-Agent'] + + @user_agent.setter + def user_agent(self, value): + self.default_headers['User-Agent'] = value + + def set_default_header(self, header_name, header_value): + self.default_headers[header_name] = header_value + + def __call_api( + self, resource_path, method, path_params=None, + query_params=None, header_params=None, body=None, post_params=None, + files=None, response_type=None, auth_settings=None, + _return_http_data_only=None, collection_formats=None, + _preload_content=True, _request_timeout=None): + + config = self.configuration + + # header parameters + header_params = header_params or {} + header_params.update(self.default_headers) + if self.cookie: + header_params['Cookie'] = self.cookie + if header_params: + header_params = self.sanitize_for_serialization(header_params) + header_params = dict(self.parameters_to_tuples(header_params, + collection_formats)) + + # path parameters + if path_params: + path_params = self.sanitize_for_serialization(path_params) + path_params = self.parameters_to_tuples(path_params, + collection_formats) + for k, v in path_params: + # specified safe chars, encode everything + resource_path = resource_path.replace( + '{%s}' % k, + quote(str(v), safe=config.safe_chars_for_path_param) + ) + + # query parameters + if query_params: + query_params = self.sanitize_for_serialization(query_params) + query_params = self.parameters_to_tuples(query_params, + collection_formats) + + # post parameters + if post_params or files: + post_params = self.prepare_post_parameters(post_params, files) + post_params = self.sanitize_for_serialization(post_params) + post_params = self.parameters_to_tuples(post_params, + collection_formats) + + # auth setting + self.update_params_for_auth(header_params, query_params, auth_settings) + + # body + if body: + body = self.sanitize_for_serialization(body) + + # request url + url = self.configuration.host + resource_path + + # perform request and return response + response_data = self.request( + method, url, query_params=query_params, headers=header_params, + post_params=post_params, body=body, + _preload_content=_preload_content, + _request_timeout=_request_timeout) + + self.last_response = response_data + + return_data = response_data + if _preload_content: + # deserialize response data + if response_type: + return_data = self.deserialize(response_data, response_type) + else: + return_data = None + + if _return_http_data_only: + return (return_data) + else: + return (return_data, response_data.status, + response_data.getheaders()) + + def sanitize_for_serialization(self, obj): + """Builds a JSON POST object. + + If obj is None, return None. + If obj is str, int, long, float, bool, return directly. + If obj is datetime.datetime, datetime.date + convert to string in iso8601 format. + If obj is list, sanitize each element in the list. + If obj is dict, return the dict. + If obj is swagger model, return the properties dict. + + :param obj: The data to serialize. + :return: The serialized form of data. + """ + if obj is None: + return None + elif isinstance(obj, self.PRIMITIVE_TYPES): + return obj + elif isinstance(obj, list): + return [self.sanitize_for_serialization(sub_obj) + for sub_obj in obj] + elif isinstance(obj, tuple): + return tuple(self.sanitize_for_serialization(sub_obj) + for sub_obj in obj) + elif isinstance(obj, (datetime.datetime, datetime.date)): + return obj.isoformat() + + if isinstance(obj, dict): + obj_dict = obj + else: + # Convert model obj to dict except + # attributes `swagger_types`, `attribute_map` + # and attributes which value is not None. + # Convert attribute name to json key in + # model definition for request. + obj_dict = {obj.attribute_map[attr]: getattr(obj, attr) + for attr, _ in six.iteritems(obj.swagger_types) + if getattr(obj, attr) is not None} + + return {key: self.sanitize_for_serialization(val) + for key, val in six.iteritems(obj_dict)} + + def deserialize(self, response, response_type): + """Deserializes response into an object. + + :param response: RESTResponse object to be deserialized. + :param response_type: class literal for + deserialized object, or string of class name. + + :return: deserialized object. + """ + # handle file downloading + # save response body into a tmp file and return the instance + if response_type == "file": + return self.__deserialize_file(response) + + # fetch data from response object + try: + data = json.loads(response.data) + except ValueError: + data = response.data + + return self.__deserialize(data, response_type) + + def __deserialize(self, data, klass): + """Deserializes dict, list, str into an object. + + :param data: dict, list or str. + :param klass: class literal, or string of class name. + + :return: object. + """ + if data is None: + return None + + if type(klass) == str: + if klass.startswith('list['): + sub_kls = re.match(r'list\[(.*)\]', klass).group(1) + return [self.__deserialize(sub_data, sub_kls) + for sub_data in data] + + if klass.startswith('dict('): + sub_kls = re.match(r'dict\(([^,]*), (.*)\)', klass).group(2) + return {k: self.__deserialize(v, sub_kls) + for k, v in six.iteritems(data)} + + # convert str to class + if klass in self.NATIVE_TYPES_MAPPING: + klass = self.NATIVE_TYPES_MAPPING[klass] + else: + klass = getattr(openrouteservice.models, klass) + + if klass in self.PRIMITIVE_TYPES: + return self.__deserialize_primitive(data, klass) + elif klass == object: + return self.__deserialize_object(data) + elif klass == datetime.date: + return self.__deserialize_date(data) + elif klass == datetime.datetime: + return self.__deserialize_datatime(data) + else: + return self.__deserialize_model(data, klass) + + def call_api(self, resource_path, method, + path_params=None, query_params=None, header_params=None, + body=None, post_params=None, files=None, + response_type=None, auth_settings=None, async_req=None, + _return_http_data_only=None, collection_formats=None, + _preload_content=True, _request_timeout=None): + """Makes the HTTP request (synchronous) and returns deserialized data. + + To make an async request, set the async_req parameter. + + :param resource_path: Path to method endpoint. + :param method: Method to call. + :param path_params: Path parameters in the url. + :param query_params: Query parameters in the url. + :param header_params: Header parameters to be + placed in the request header. + :param body: Request body. + :param post_params dict: Request post form parameters, + for `application/x-www-form-urlencoded`, `multipart/form-data`. + :param auth_settings list: Auth Settings names for the request. + :param response: Response data type. + :param files dict: key -> filename, value -> filepath, + for `multipart/form-data`. + :param async_req bool: execute request asynchronously + :param _return_http_data_only: response data without head status code + and headers + :param collection_formats: dict of collection formats for path, query, + header, and post parameters. + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: + If async_req parameter is True, + the request will be called asynchronously. + The method will return the request thread. + If parameter async_req is False or missing, + then the method will return the response directly. + """ + if not async_req: + return self.__call_api(resource_path, method, + path_params, query_params, header_params, + body, post_params, files, + response_type, auth_settings, + _return_http_data_only, collection_formats, + _preload_content, _request_timeout) + else: + thread = self.pool.apply_async(self.__call_api, (resource_path, + method, path_params, query_params, + header_params, body, + post_params, files, + response_type, auth_settings, + _return_http_data_only, + collection_formats, + _preload_content, _request_timeout)) + return thread + + def request(self, method, url, query_params=None, headers=None, + post_params=None, body=None, _preload_content=True, + _request_timeout=None): + """Makes the HTTP request using RESTClient.""" + if method == "GET": + return self.rest_client.GET(url, + query_params=query_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + headers=headers) + elif method == "HEAD": + return self.rest_client.HEAD(url, + query_params=query_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + headers=headers) + elif method == "OPTIONS": + return self.rest_client.OPTIONS(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "POST": + return self.rest_client.POST(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "PUT": + return self.rest_client.PUT(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "PATCH": + return self.rest_client.PATCH(url, + query_params=query_params, + headers=headers, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + elif method == "DELETE": + return self.rest_client.DELETE(url, + query_params=query_params, + headers=headers, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + else: + raise ValueError( + "http method must be `GET`, `HEAD`, `OPTIONS`," + " `POST`, `PATCH`, `PUT` or `DELETE`." + ) + + def parameters_to_tuples(self, params, collection_formats): + """Get parameters as list of tuples, formatting collections. + + :param params: Parameters as dict or list of two-tuples + :param dict collection_formats: Parameter collection formats + :return: Parameters as list of tuples, collections formatted + """ + new_params = [] + if collection_formats is None: + collection_formats = {} + for k, v in six.iteritems(params) if isinstance(params, dict) else params: # noqa: E501 + if k in collection_formats: + collection_format = collection_formats[k] + if collection_format == 'multi': + new_params.extend((k, value) for value in v) + else: + if collection_format == 'ssv': + delimiter = ' ' + elif collection_format == 'tsv': + delimiter = '\t' + elif collection_format == 'pipes': + delimiter = '|' + else: # csv is the default + delimiter = ',' + new_params.append( + (k, delimiter.join(str(value) for value in v))) + else: + new_params.append((k, v)) + return new_params + + def prepare_post_parameters(self, post_params=None, files=None): + """Builds form parameters. + + :param post_params: Normal form parameters. + :param files: File parameters. + :return: Form parameters with files. + """ + params = [] + + if post_params: + params = post_params + + if files: + for k, v in six.iteritems(files): + if not v: + continue + file_names = v if type(v) is list else [v] + for n in file_names: + with open(n, 'rb') as f: + filename = os.path.basename(f.name) + filedata = f.read() + mimetype = (mimetypes.guess_type(filename)[0] or + 'application/octet-stream') + params.append( + tuple([k, tuple([filename, filedata, mimetype])])) + + return params + + def select_header_accept(self, accepts): + """Returns `Accept` based on an array of accepts provided. + + :param accepts: List of headers. + :return: Accept (e.g. application/json). + """ + if not accepts: + return + + accepts = [x.lower() for x in accepts] + + if 'application/json' in accepts: + return 'application/json' + else: + return ', '.join(accepts) + + def select_header_content_type(self, content_types): + """Returns `Content-Type` based on an array of content_types provided. + + :param content_types: List of content-types. + :return: Content-Type (e.g. application/json). + """ + if not content_types: + return 'application/json' + + content_types = [x.lower() for x in content_types] + + if 'application/json' in content_types or '*/*' in content_types: + return 'application/json' + else: + return content_types[0] + + def update_params_for_auth(self, headers, querys, auth_settings): + """Updates header and query params based on authentication setting. + + :param headers: Header parameters dict to be updated. + :param querys: Query parameters tuple list to be updated. + :param auth_settings: Authentication setting identifiers list. + """ + if not auth_settings: + return + + for auth in auth_settings: + auth_setting = self.configuration.auth_settings().get(auth) + if auth_setting: + if not auth_setting['value']: + continue + elif auth_setting['in'] == 'header': + headers[auth_setting['key']] = auth_setting['value'] + elif auth_setting['in'] == 'query': + querys.append((auth_setting['key'], auth_setting['value'])) + else: + raise ValueError( + 'Authentication token must be in `query` or `header`' + ) + + def __deserialize_file(self, response): + """Deserializes body to file + + Saves response body into a file in a temporary folder, + using the filename from the `Content-Disposition` header if provided. + + :param response: RESTResponse. + :return: file path. + """ + fd, path = tempfile.mkstemp(dir=self.configuration.temp_folder_path) + os.close(fd) + os.remove(path) + + content_disposition = response.getheader("Content-Disposition") + if content_disposition: + filename = re.search(r'filename=[\'"]?([^\'"\s]+)[\'"]?', + content_disposition).group(1) + path = os.path.join(os.path.dirname(path), filename) + response_data = response.data + with open(path, "wb") as f: + if isinstance(response_data, str): + # change str to bytes so we can write it + response_data = response_data.encode('utf-8') + f.write(response_data) + else: + f.write(response_data) + return path + + def __deserialize_primitive(self, data, klass): + """Deserializes string to primitive type. + + :param data: str. + :param klass: class literal. + + :return: int, long, float, str, bool. + """ + try: + return klass(data) + except UnicodeEncodeError: + return six.text_type(data) + except TypeError: + return data + + def __deserialize_object(self, value): + """Return a original value. + + :return: object. + """ + return value + + def __deserialize_date(self, string): + """Deserializes string to date. + + :param string: str. + :return: date. + """ + try: + from dateutil.parser import parse + return parse(string).date() + except ImportError: + return string + except ValueError: + raise rest.ApiException( + status=0, + reason="Failed to parse `{0}` as date object".format(string) + ) + + def __deserialize_datatime(self, string): + """Deserializes string to datetime. + + The string should be in iso8601 datetime format. + + :param string: str. + :return: datetime. + """ + try: + from dateutil.parser import parse + return parse(string) + except ImportError: + return string + except ValueError: + raise rest.ApiException( + status=0, + reason=( + "Failed to parse `{0}` as datetime object" + .format(string) + ) + ) + + def __hasattr(self, object, name): + return name in object.__class__.__dict__ + + def __deserialize_model(self, data, klass): + """Deserializes list or dict to model. + + :param data: dict, list. + :param klass: class literal. + :return: model object. + """ + + if not klass.swagger_types and not self.__hasattr(klass, 'get_real_child_model'): + return data + + kwargs = {} + if klass.swagger_types is not None: + for attr, attr_type in six.iteritems(klass.swagger_types): + if (data is not None and + klass.attribute_map[attr] in data and + isinstance(data, (list, dict))): + value = data[klass.attribute_map[attr]] + kwargs[attr] = self.__deserialize(value, attr_type) + + instance = klass(**kwargs) + + if (isinstance(instance, dict) and + klass.swagger_types is not None and + isinstance(data, dict)): + for key, value in data.items(): + if key not in klass.swagger_types: + instance[key] = value + if self.__hasattr(instance, 'get_real_child_model'): + klass_name = instance.get_real_child_model(data) + if klass_name: + instance = self.__deserialize(data, klass_name) + return instance diff --git a/openrouteservice/configuration.py b/openrouteservice/configuration.py new file mode 100644 index 00000000..0c5de8b3 --- /dev/null +++ b/openrouteservice/configuration.py @@ -0,0 +1,251 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import copy +import logging +import multiprocessing +import sys +import urllib3 + +import six +from six.moves import http_client as httplib + + +class TypeWithDefault(type): + def __init__(cls, name, bases, dct): + super(TypeWithDefault, cls).__init__(name, bases, dct) + cls._default = None + + def __call__(cls): + if cls._default is None: + cls._default = type.__call__(cls) + return copy.copy(cls._default) + + def set_default(cls, default): + cls._default = copy.copy(default) + + +class Configuration(six.with_metaclass(TypeWithDefault, object)): + """NOTE: This class is auto generated by the swagger code generator program. + + Ref: https://github.com/swagger-api/swagger-codegen + Do not edit the class manually. + """ + + def __init__(self): + """Constructor""" + # Default Base url + self.host = "https://api.openrouteservice.org" + # Temp file folder for downloading files + self.temp_folder_path = None + + # Authentication Settings + # dict to store API key(s) + self.api_key = {} + # dict to store API prefix (e.g. Bearer) + self.api_key_prefix = {} + # function to refresh API key if expired + self.refresh_api_key_hook = None + # Username for HTTP basic authentication + self.username = "" + # Password for HTTP basic authentication + self.password = "" + # Logging Settings + self.logger = {} + self.logger["package_logger"] = logging.getLogger("openrouteservice") + self.logger["urllib3_logger"] = logging.getLogger("urllib3") + # Log format + self.logger_format = '%(asctime)s %(levelname)s %(message)s' + # Log stream handler + self.logger_stream_handler = None + # Log file handler + self.logger_file_handler = None + # Debug file location + self.logger_file = None + # Debug switch + self.debug = False + + # SSL/TLS verification + # Set this to false to skip verifying SSL certificate when calling API + # from https server. + self.verify_ssl = True + # Set this to customize the certificate file to verify the peer. + self.ssl_ca_cert = None + # client certificate file + self.cert_file = None + # client key file + self.key_file = None + # Set this to True/False to enable/disable SSL hostname verification. + self.assert_hostname = None + + # urllib3 connection pool's maximum number of connections saved + # per pool. urllib3 uses 1 connection as default value, but this is + # not the best value when you are making a lot of possibly parallel + # requests to the same host, which is often the case here. + # cpu_count * 5 is used as default value to increase performance. + self.connection_pool_maxsize = multiprocessing.cpu_count() * 5 + + # Proxy URL + self.proxy = None + # Safe chars for path_param + self.safe_chars_for_path_param = '' + + @property + def logger_file(self): + """The logger file. + + If the logger_file is None, then add stream handler and remove file + handler. Otherwise, add file handler and remove stream handler. + + :param value: The logger_file path. + :type: str + """ + return self.__logger_file + + @logger_file.setter + def logger_file(self, value): + """The logger file. + + If the logger_file is None, then add stream handler and remove file + handler. Otherwise, add file handler and remove stream handler. + + :param value: The logger_file path. + :type: str + """ + self.__logger_file = value + if self.__logger_file: + # If set logging file, + # then add file handler and remove stream handler. + self.logger_file_handler = logging.FileHandler(self.__logger_file) + self.logger_file_handler.setFormatter(self.logger_formatter) + for _, logger in six.iteritems(self.logger): + logger.addHandler(self.logger_file_handler) + if self.logger_stream_handler: + logger.removeHandler(self.logger_stream_handler) + else: + # If not set logging file, + # then add stream handler and remove file handler. + self.logger_stream_handler = logging.StreamHandler() + self.logger_stream_handler.setFormatter(self.logger_formatter) + for _, logger in six.iteritems(self.logger): + logger.addHandler(self.logger_stream_handler) + if self.logger_file_handler: + logger.removeHandler(self.logger_file_handler) + + @property + def debug(self): + """Debug status + + :param value: The debug status, True or False. + :type: bool + """ + return self.__debug + + @debug.setter + def debug(self, value): + """Debug status + + :param value: The debug status, True or False. + :type: bool + """ + self.__debug = value + if self.__debug: + # if debug status is True, turn on debug logging + for _, logger in six.iteritems(self.logger): + logger.setLevel(logging.DEBUG) + # turn on httplib debug + httplib.HTTPConnection.debuglevel = 1 + else: + # if debug status is False, turn off debug logging, + # setting log level to default `logging.WARNING` + for _, logger in six.iteritems(self.logger): + logger.setLevel(logging.WARNING) + # turn off httplib debug + httplib.HTTPConnection.debuglevel = 0 + + @property + def logger_format(self): + """The logger format. + + The logger_formatter will be updated when sets logger_format. + + :param value: The format string. + :type: str + """ + return self.__logger_format + + @logger_format.setter + def logger_format(self, value): + """The logger format. + + The logger_formatter will be updated when sets logger_format. + + :param value: The format string. + :type: str + """ + self.__logger_format = value + self.logger_formatter = logging.Formatter(self.__logger_format) + + def get_api_key_with_prefix(self, identifier): + """Gets API key (with prefix if set). + + :param identifier: The identifier of apiKey. + :return: The token for api key authentication. + """ + if self.refresh_api_key_hook: + self.refresh_api_key_hook(self) + + key = self.api_key.get(identifier) + if key: + prefix = self.api_key_prefix.get(identifier) + if prefix: + return "%s %s" % (prefix, key) + else: + return key + + def get_basic_auth_token(self): + """Gets HTTP basic authentication header (string). + + :return: The token for basic HTTP authentication. + """ + return urllib3.util.make_headers( + basic_auth=self.username + ':' + self.password + ).get('authorization') + + def auth_settings(self): + """Gets Auth Settings dict for api client. + + :return: The Auth Settings information dict. + """ + return { + 'ApiKeyAuth': + { + 'type': 'api_key', + 'in': 'header', + 'key': 'Authorization', + 'value': self.get_api_key_with_prefix('Authorization') + }, + } + + def to_debug_report(self): + """Gets the essential information for debugging. + + :return: The report for debugging. + """ + return "Python SDK Debug Report:\n"\ + "OS: {env}\n"\ + "Python Version: {pyversion}\n"\ + "Version of the API: 7.1.0\n"\ + "SDK Package Version: 7.1.0.post6".\ + format(env=sys.platform, pyversion=sys.version) diff --git a/openrouteservice/models/__init__.py b/openrouteservice/models/__init__.py new file mode 100644 index 00000000..a0b5d8de --- /dev/null +++ b/openrouteservice/models/__init__.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +# flake8: noqa +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +# import models into model package +from openrouteservice.models.alternative_routes import AlternativeRoutes +from openrouteservice.models.directions_service import DirectionsService +from openrouteservice.models.directions_service1 import DirectionsService1 +from openrouteservice.models.elevation_line_body import ElevationLineBody +from openrouteservice.models.elevation_point_body import ElevationPointBody +from openrouteservice.models.engine_info import EngineInfo +from openrouteservice.models.geo_json_features_object import GeoJSONFeaturesObject +from openrouteservice.models.geo_json_geometry_object import GeoJSONGeometryObject +from openrouteservice.models.geo_json_isochrone_base import GeoJSONIsochroneBase +from openrouteservice.models.geo_json_isochrone_base_geometry import GeoJSONIsochroneBaseGeometry +from openrouteservice.models.geo_json_isochrones_response import GeoJSONIsochronesResponse +from openrouteservice.models.geo_json_isochrones_response_features import GeoJSONIsochronesResponseFeatures +from openrouteservice.models.geo_json_isochrones_response_metadata import GeoJSONIsochronesResponseMetadata +from openrouteservice.models.geo_json_isochrones_response_metadata_engine import GeoJSONIsochronesResponseMetadataEngine +from openrouteservice.models.geo_json_properties_object import GeoJSONPropertiesObject +from openrouteservice.models.geo_json_properties_object_category_ids import GeoJSONPropertiesObjectCategoryIds +from openrouteservice.models.geo_json_properties_object_category_ids_category_id import GeoJSONPropertiesObjectCategoryIdsCategoryId +from openrouteservice.models.geo_json_properties_object_osm_tags import GeoJSONPropertiesObjectOsmTags +from openrouteservice.models.geo_json_route_response import GeoJSONRouteResponse +from openrouteservice.models.geo_json_route_response_metadata import GeoJSONRouteResponseMetadata +from openrouteservice.models.geocode_response import GeocodeResponse +from openrouteservice.models.gpx import Gpx +from openrouteservice.models.graph_export_service import GraphExportService +from openrouteservice.models.inline_response200 import InlineResponse200 +from openrouteservice.models.inline_response2001 import InlineResponse2001 +from openrouteservice.models.inline_response2001_geometry import InlineResponse2001Geometry +from openrouteservice.models.inline_response2002 import InlineResponse2002 +from openrouteservice.models.inline_response2002_routes import InlineResponse2002Routes +from openrouteservice.models.inline_response2002_steps import InlineResponse2002Steps +from openrouteservice.models.inline_response2002_summary import InlineResponse2002Summary +from openrouteservice.models.inline_response2002_unassigned import InlineResponse2002Unassigned +from openrouteservice.models.inline_response2003 import InlineResponse2003 +from openrouteservice.models.inline_response2004 import InlineResponse2004 +from openrouteservice.models.inline_response2005 import InlineResponse2005 +from openrouteservice.models.inline_response2006 import InlineResponse2006 +from openrouteservice.models.inline_response200_geometry import InlineResponse200Geometry +from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody +from openrouteservice.models.isochrones_request import IsochronesRequest +from openrouteservice.models.isochrones_response_info import IsochronesResponseInfo +from openrouteservice.models.json2_d_destinations import JSON2DDestinations +from openrouteservice.models.json2_d_sources import JSON2DSources +from openrouteservice.models.json_extra import JSONExtra +from openrouteservice.models.json_extra_summary import JSONExtraSummary +from openrouteservice.models.json_individual_route_response import JSONIndividualRouteResponse +from openrouteservice.models.json_individual_route_response_extras import JSONIndividualRouteResponseExtras +from openrouteservice.models.json_individual_route_response_instructions import JSONIndividualRouteResponseInstructions +from openrouteservice.models.json_individual_route_response_legs import JSONIndividualRouteResponseLegs +from openrouteservice.models.json_individual_route_response_maneuver import JSONIndividualRouteResponseManeuver +from openrouteservice.models.json_individual_route_response_segments import JSONIndividualRouteResponseSegments +from openrouteservice.models.json_individual_route_response_stops import JSONIndividualRouteResponseStops +from openrouteservice.models.json_individual_route_response_summary import JSONIndividualRouteResponseSummary +from openrouteservice.models.json_individual_route_response_warnings import JSONIndividualRouteResponseWarnings +from openrouteservice.models.json_leg import JSONLeg +from openrouteservice.models.json_object import JSONObject +from openrouteservice.models.jsonpt_stop import JSONPtStop +from openrouteservice.models.json_route_response import JSONRouteResponse +from openrouteservice.models.json_route_response_routes import JSONRouteResponseRoutes +from openrouteservice.models.json_segment import JSONSegment +from openrouteservice.models.json_step import JSONStep +from openrouteservice.models.json_step_maneuver import JSONStepManeuver +from openrouteservice.models.json_summary import JSONSummary +from openrouteservice.models.json_warning import JSONWarning +from openrouteservice.models.json_edge import JsonEdge +from openrouteservice.models.json_edge_extra import JsonEdgeExtra +from openrouteservice.models.json_export_response import JsonExportResponse +from openrouteservice.models.json_export_response_edges import JsonExportResponseEdges +from openrouteservice.models.json_export_response_edges_extra import JsonExportResponseEdgesExtra +from openrouteservice.models.json_export_response_nodes import JsonExportResponseNodes +from openrouteservice.models.json_node import JsonNode +from openrouteservice.models.matrix_profile_body import MatrixProfileBody +from openrouteservice.models.matrix_request import MatrixRequest +from openrouteservice.models.matrix_response import MatrixResponse +from openrouteservice.models.matrix_response_destinations import MatrixResponseDestinations +from openrouteservice.models.matrix_response_info import MatrixResponseInfo +from openrouteservice.models.matrix_response_metadata import MatrixResponseMetadata +from openrouteservice.models.matrix_response_sources import MatrixResponseSources +from openrouteservice.models.openpoiservice_poi_request import OpenpoiservicePoiRequest +from openrouteservice.models.openpoiservice_poi_response import OpenpoiservicePoiResponse +from openrouteservice.models.optimization_body import OptimizationBody +from openrouteservice.models.optimization_jobs import OptimizationJobs +from openrouteservice.models.optimization_options import OptimizationOptions +from openrouteservice.models.optimization_vehicles import OptimizationVehicles +from openrouteservice.models.pois_filters import PoisFilters +from openrouteservice.models.pois_geometry import PoisGeometry +from openrouteservice.models.profile_parameters import ProfileParameters +from openrouteservice.models.profile_parameters_restrictions import ProfileParametersRestrictions +from openrouteservice.models.profile_weightings import ProfileWeightings +from openrouteservice.models.restrictions import Restrictions +from openrouteservice.models.round_trip_route_options import RoundTripRouteOptions +from openrouteservice.models.route_options import RouteOptions +from openrouteservice.models.route_options_avoid_polygons import RouteOptionsAvoidPolygons +from openrouteservice.models.route_response_info import RouteResponseInfo +from openrouteservice.models.rte import Rte +from openrouteservice.models.v2directionsprofilegeojson_schedule_duration import V2directionsprofilegeojsonScheduleDuration +from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_duration import V2directionsprofilegeojsonScheduleDurationDuration +from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_units import V2directionsprofilegeojsonScheduleDurationUnits +from openrouteservice.models.v2directionsprofilegeojson_walking_time import V2directionsprofilegeojsonWalkingTime diff --git a/openrouteservice/models/alternative_routes.py b/openrouteservice/models/alternative_routes.py new file mode 100644 index 00000000..5274d6ac --- /dev/null +++ b/openrouteservice/models/alternative_routes.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class AlternativeRoutes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'share_factor': 'float', + 'target_count': 'int', + 'weight_factor': 'float' + } + + attribute_map = { + 'share_factor': 'share_factor', + 'target_count': 'target_count', + 'weight_factor': 'weight_factor' + } + + def __init__(self, share_factor=None, target_count=None, weight_factor=None): # noqa: E501 + """AlternativeRoutes - a model defined in Swagger""" # noqa: E501 + self._share_factor = None + self._target_count = None + self._weight_factor = None + self.discriminator = None + if share_factor is not None: + self.share_factor = share_factor + if target_count is not None: + self.target_count = target_count + if weight_factor is not None: + self.weight_factor = weight_factor + + @property + def share_factor(self): + """Gets the share_factor of this AlternativeRoutes. # noqa: E501 + + Maximum fraction of the route that alternatives may share with the optimal route. The default value of 0.6 means alternatives can share up to 60% of path segments with the optimal route. # noqa: E501 + + :return: The share_factor of this AlternativeRoutes. # noqa: E501 + :rtype: float + """ + return self._share_factor + + @share_factor.setter + def share_factor(self, share_factor): + """Sets the share_factor of this AlternativeRoutes. + + Maximum fraction of the route that alternatives may share with the optimal route. The default value of 0.6 means alternatives can share up to 60% of path segments with the optimal route. # noqa: E501 + + :param share_factor: The share_factor of this AlternativeRoutes. # noqa: E501 + :type: float + """ + + self._share_factor = share_factor + + @property + def target_count(self): + """Gets the target_count of this AlternativeRoutes. # noqa: E501 + + Target number of alternative routes to compute. Service returns up to this number of routes that fulfill the share-factor and weight-factor constraints. # noqa: E501 + + :return: The target_count of this AlternativeRoutes. # noqa: E501 + :rtype: int + """ + return self._target_count + + @target_count.setter + def target_count(self, target_count): + """Sets the target_count of this AlternativeRoutes. + + Target number of alternative routes to compute. Service returns up to this number of routes that fulfill the share-factor and weight-factor constraints. # noqa: E501 + + :param target_count: The target_count of this AlternativeRoutes. # noqa: E501 + :type: int + """ + + self._target_count = target_count + + @property + def weight_factor(self): + """Gets the weight_factor of this AlternativeRoutes. # noqa: E501 + + Maximum factor by which route weight may diverge from the optimal route. The default value of 1.4 means alternatives can be up to 1.4 times longer (costly) than the optimal route. # noqa: E501 + + :return: The weight_factor of this AlternativeRoutes. # noqa: E501 + :rtype: float + """ + return self._weight_factor + + @weight_factor.setter + def weight_factor(self, weight_factor): + """Sets the weight_factor of this AlternativeRoutes. + + Maximum factor by which route weight may diverge from the optimal route. The default value of 1.4 means alternatives can be up to 1.4 times longer (costly) than the optimal route. # noqa: E501 + + :param weight_factor: The weight_factor of this AlternativeRoutes. # noqa: E501 + :type: float + """ + + self._weight_factor = weight_factor + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(AlternativeRoutes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, AlternativeRoutes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/directions_service.py b/openrouteservice/models/directions_service.py new file mode 100644 index 00000000..174866f2 --- /dev/null +++ b/openrouteservice/models/directions_service.py @@ -0,0 +1,871 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DirectionsService(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'alternative_routes': 'AlternativeRoutes', + 'attributes': 'list[str]', + 'bearings': 'list[list[float]]', + 'continue_straight': 'bool', + 'coordinates': 'list[list[float]]', + 'elevation': 'bool', + 'extra_info': 'list[str]', + 'geometry': 'bool', + 'geometry_simplify': 'bool', + 'id': 'str', + 'ignore_transfers': 'bool', + 'instructions': 'bool', + 'instructions_format': 'str', + 'language': 'str', + 'maneuvers': 'bool', + 'maximum_speed': 'float', + 'options': 'RouteOptions', + 'preference': 'str', + 'radiuses': 'list[float]', + 'roundabout_exits': 'bool', + 'schedule': 'bool', + 'schedule_duration': 'V2directionsprofilegeojsonScheduleDuration', + 'schedule_rows': 'int', + 'skip_segments': 'list[int]', + 'suppress_warnings': 'bool', + 'units': 'str', + 'walking_time': 'V2directionsprofilegeojsonWalkingTime' + } + + attribute_map = { + 'alternative_routes': 'alternative_routes', + 'attributes': 'attributes', + 'bearings': 'bearings', + 'continue_straight': 'continue_straight', + 'coordinates': 'coordinates', + 'elevation': 'elevation', + 'extra_info': 'extra_info', + 'geometry': 'geometry', + 'geometry_simplify': 'geometry_simplify', + 'id': 'id', + 'ignore_transfers': 'ignore_transfers', + 'instructions': 'instructions', + 'instructions_format': 'instructions_format', + 'language': 'language', + 'maneuvers': 'maneuvers', + 'maximum_speed': 'maximum_speed', + 'options': 'options', + 'preference': 'preference', + 'radiuses': 'radiuses', + 'roundabout_exits': 'roundabout_exits', + 'schedule': 'schedule', + 'schedule_duration': 'schedule_duration', + 'schedule_rows': 'schedule_rows', + 'skip_segments': 'skip_segments', + 'suppress_warnings': 'suppress_warnings', + 'units': 'units', + 'walking_time': 'walking_time' + } + + def __init__(self, alternative_routes=None, attributes=None, bearings=None, continue_straight=False, coordinates=None, elevation=None, extra_info=None, geometry=True, geometry_simplify=False, id=None, ignore_transfers=False, instructions=True, instructions_format='text', language='en', maneuvers=False, maximum_speed=None, options=None, preference='recommended', radiuses=None, roundabout_exits=False, schedule=False, schedule_duration=None, schedule_rows=None, skip_segments=None, suppress_warnings=None, units='m', walking_time=None): # noqa: E501 + """DirectionsService - a model defined in Swagger""" # noqa: E501 + self._alternative_routes = None + self._attributes = None + self._bearings = None + self._continue_straight = None + self._coordinates = None + self._elevation = None + self._extra_info = None + self._geometry = None + self._geometry_simplify = None + self._id = None + self._ignore_transfers = None + self._instructions = None + self._instructions_format = None + self._language = None + self._maneuvers = None + self._maximum_speed = None + self._options = None + self._preference = None + self._radiuses = None + self._roundabout_exits = None + self._schedule = None + self._schedule_duration = None + self._schedule_rows = None + self._skip_segments = None + self._suppress_warnings = None + self._units = None + self._walking_time = None + self.discriminator = None + if alternative_routes is not None: + self.alternative_routes = alternative_routes + if attributes is not None: + self.attributes = attributes + if bearings is not None: + self.bearings = bearings + if continue_straight is not None: + self.continue_straight = continue_straight + self.coordinates = coordinates + if elevation is not None: + self.elevation = elevation + if extra_info is not None: + self.extra_info = extra_info + if geometry is not None: + self.geometry = geometry + if geometry_simplify is not None: + self.geometry_simplify = geometry_simplify + if id is not None: + self.id = id + if ignore_transfers is not None: + self.ignore_transfers = ignore_transfers + if instructions is not None: + self.instructions = instructions + if instructions_format is not None: + self.instructions_format = instructions_format + if language is not None: + self.language = language + if maneuvers is not None: + self.maneuvers = maneuvers + if maximum_speed is not None: + self.maximum_speed = maximum_speed + if options is not None: + self.options = options + if preference is not None: + self.preference = preference + if radiuses is not None: + self.radiuses = radiuses + if roundabout_exits is not None: + self.roundabout_exits = roundabout_exits + if schedule is not None: + self.schedule = schedule + if schedule_duration is not None: + self.schedule_duration = schedule_duration + if schedule_rows is not None: + self.schedule_rows = schedule_rows + if skip_segments is not None: + self.skip_segments = skip_segments + if suppress_warnings is not None: + self.suppress_warnings = suppress_warnings + if units is not None: + self.units = units + if walking_time is not None: + self.walking_time = walking_time + + @property + def alternative_routes(self): + """Gets the alternative_routes of this DirectionsService. # noqa: E501 + + + :return: The alternative_routes of this DirectionsService. # noqa: E501 + :rtype: AlternativeRoutes + """ + return self._alternative_routes + + @alternative_routes.setter + def alternative_routes(self, alternative_routes): + """Sets the alternative_routes of this DirectionsService. + + + :param alternative_routes: The alternative_routes of this DirectionsService. # noqa: E501 + :type: AlternativeRoutes + """ + + self._alternative_routes = alternative_routes + + @property + def attributes(self): + """Gets the attributes of this DirectionsService. # noqa: E501 + + List of route attributes # noqa: E501 + + :return: The attributes of this DirectionsService. # noqa: E501 + :rtype: list[str] + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this DirectionsService. + + List of route attributes # noqa: E501 + + :param attributes: The attributes of this DirectionsService. # noqa: E501 + :type: list[str] + """ + allowed_values = ["avgspeed", "detourfactor", "percentage"] # noqa: E501 + if not set(attributes).issubset(set(allowed_values)): + raise ValueError( + "Invalid values for `attributes` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(attributes) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) + + self._attributes = attributes + + @property + def bearings(self): + """Gets the bearings of this DirectionsService. # noqa: E501 + + Specifies a list of pairs (bearings and deviations) to filter the segments of the road network a waypoint can snap to. \"For example `bearings=[[45,10],[120,20]]`. \"Each pair is a comma-separated list that can consist of one or two float values, where the first value is the bearing and the second one is the allowed deviation from the bearing. \"The bearing can take values between `0` and `360` clockwise from true north. If the deviation is not set, then the default value of `100` degrees is used. \"The number of pairs must correspond to the number of waypoints. \"The number of bearings corresponds to the length of waypoints-1 or waypoints. If the bearing information for the last waypoint is given, then this will control the sector from which the destination waypoint may be reached. \"You can skip a bearing for a certain waypoint by passing an empty value for an array, e.g. `[30,20],[],[40,20]`. # noqa: E501 + + :return: The bearings of this DirectionsService. # noqa: E501 + :rtype: list[list[float]] + """ + return self._bearings + + @bearings.setter + def bearings(self, bearings): + """Sets the bearings of this DirectionsService. + + Specifies a list of pairs (bearings and deviations) to filter the segments of the road network a waypoint can snap to. \"For example `bearings=[[45,10],[120,20]]`. \"Each pair is a comma-separated list that can consist of one or two float values, where the first value is the bearing and the second one is the allowed deviation from the bearing. \"The bearing can take values between `0` and `360` clockwise from true north. If the deviation is not set, then the default value of `100` degrees is used. \"The number of pairs must correspond to the number of waypoints. \"The number of bearings corresponds to the length of waypoints-1 or waypoints. If the bearing information for the last waypoint is given, then this will control the sector from which the destination waypoint may be reached. \"You can skip a bearing for a certain waypoint by passing an empty value for an array, e.g. `[30,20],[],[40,20]`. # noqa: E501 + + :param bearings: The bearings of this DirectionsService. # noqa: E501 + :type: list[list[float]] + """ + + self._bearings = bearings + + @property + def continue_straight(self): + """Gets the continue_straight of this DirectionsService. # noqa: E501 + + Forces the route to keep going straight at waypoints restricting uturns there even if it would be faster. # noqa: E501 + + :return: The continue_straight of this DirectionsService. # noqa: E501 + :rtype: bool + """ + return self._continue_straight + + @continue_straight.setter + def continue_straight(self, continue_straight): + """Sets the continue_straight of this DirectionsService. + + Forces the route to keep going straight at waypoints restricting uturns there even if it would be faster. # noqa: E501 + + :param continue_straight: The continue_straight of this DirectionsService. # noqa: E501 + :type: bool + """ + + self._continue_straight = continue_straight + + @property + def coordinates(self): + """Gets the coordinates of this DirectionsService. # noqa: E501 + + The waypoints to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 + + :return: The coordinates of this DirectionsService. # noqa: E501 + :rtype: list[list[float]] + """ + return self._coordinates + + @coordinates.setter + def coordinates(self, coordinates): + """Sets the coordinates of this DirectionsService. + + The waypoints to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 + + :param coordinates: The coordinates of this DirectionsService. # noqa: E501 + :type: list[list[float]] + """ + if coordinates is None: + raise ValueError("Invalid value for `coordinates`, must not be `None`") # noqa: E501 + + self._coordinates = coordinates + + @property + def elevation(self): + """Gets the elevation of this DirectionsService. # noqa: E501 + + Specifies whether to return elevation values for points. Please note that elevation also gets encoded for json response encoded polyline. # noqa: E501 + + :return: The elevation of this DirectionsService. # noqa: E501 + :rtype: bool + """ + return self._elevation + + @elevation.setter + def elevation(self, elevation): + """Sets the elevation of this DirectionsService. + + Specifies whether to return elevation values for points. Please note that elevation also gets encoded for json response encoded polyline. # noqa: E501 + + :param elevation: The elevation of this DirectionsService. # noqa: E501 + :type: bool + """ + + self._elevation = elevation + + @property + def extra_info(self): + """Gets the extra_info of this DirectionsService. # noqa: E501 + + The extra info items to include in the response # noqa: E501 + + :return: The extra_info of this DirectionsService. # noqa: E501 + :rtype: list[str] + """ + return self._extra_info + + @extra_info.setter + def extra_info(self, extra_info): + """Sets the extra_info of this DirectionsService. + + The extra info items to include in the response # noqa: E501 + + :param extra_info: The extra_info of this DirectionsService. # noqa: E501 + :type: list[str] + """ + allowed_values = ["steepness", "suitability", "surface", "waycategory", "waytype", "tollways", "traildifficulty", "osmid", "roadaccessrestrictions", "countryinfo", "green", "noise", "csv", "shadow"] # noqa: E501 + if not set(extra_info).issubset(set(allowed_values)): + raise ValueError( + "Invalid values for `extra_info` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(extra_info) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) + + self._extra_info = extra_info + + @property + def geometry(self): + """Gets the geometry of this DirectionsService. # noqa: E501 + + Specifies whether to return geometry. # noqa: E501 + + :return: The geometry of this DirectionsService. # noqa: E501 + :rtype: bool + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this DirectionsService. + + Specifies whether to return geometry. # noqa: E501 + + :param geometry: The geometry of this DirectionsService. # noqa: E501 + :type: bool + """ + + self._geometry = geometry + + @property + def geometry_simplify(self): + """Gets the geometry_simplify of this DirectionsService. # noqa: E501 + + Specifies whether to simplify the geometry. Simplify geometry cannot be applied to routes with more than **one segment** and when `extra_info` is required. # noqa: E501 + + :return: The geometry_simplify of this DirectionsService. # noqa: E501 + :rtype: bool + """ + return self._geometry_simplify + + @geometry_simplify.setter + def geometry_simplify(self, geometry_simplify): + """Sets the geometry_simplify of this DirectionsService. + + Specifies whether to simplify the geometry. Simplify geometry cannot be applied to routes with more than **one segment** and when `extra_info` is required. # noqa: E501 + + :param geometry_simplify: The geometry_simplify of this DirectionsService. # noqa: E501 + :type: bool + """ + + self._geometry_simplify = geometry_simplify + + @property + def id(self): + """Gets the id of this DirectionsService. # noqa: E501 + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :return: The id of this DirectionsService. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this DirectionsService. + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :param id: The id of this DirectionsService. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def ignore_transfers(self): + """Gets the ignore_transfers of this DirectionsService. # noqa: E501 + + Specifies if transfers as criterion should be ignored. # noqa: E501 + + :return: The ignore_transfers of this DirectionsService. # noqa: E501 + :rtype: bool + """ + return self._ignore_transfers + + @ignore_transfers.setter + def ignore_transfers(self, ignore_transfers): + """Sets the ignore_transfers of this DirectionsService. + + Specifies if transfers as criterion should be ignored. # noqa: E501 + + :param ignore_transfers: The ignore_transfers of this DirectionsService. # noqa: E501 + :type: bool + """ + + self._ignore_transfers = ignore_transfers + + @property + def instructions(self): + """Gets the instructions of this DirectionsService. # noqa: E501 + + Specifies whether to return instructions. # noqa: E501 + + :return: The instructions of this DirectionsService. # noqa: E501 + :rtype: bool + """ + return self._instructions + + @instructions.setter + def instructions(self, instructions): + """Sets the instructions of this DirectionsService. + + Specifies whether to return instructions. # noqa: E501 + + :param instructions: The instructions of this DirectionsService. # noqa: E501 + :type: bool + """ + + self._instructions = instructions + + @property + def instructions_format(self): + """Gets the instructions_format of this DirectionsService. # noqa: E501 + + Select html for more verbose instructions. # noqa: E501 + + :return: The instructions_format of this DirectionsService. # noqa: E501 + :rtype: str + """ + return self._instructions_format + + @instructions_format.setter + def instructions_format(self, instructions_format): + """Sets the instructions_format of this DirectionsService. + + Select html for more verbose instructions. # noqa: E501 + + :param instructions_format: The instructions_format of this DirectionsService. # noqa: E501 + :type: str + """ + allowed_values = ["html", "text"] # noqa: E501 + if instructions_format not in allowed_values: + raise ValueError( + "Invalid value for `instructions_format` ({0}), must be one of {1}" # noqa: E501 + .format(instructions_format, allowed_values) + ) + + self._instructions_format = instructions_format + + @property + def language(self): + """Gets the language of this DirectionsService. # noqa: E501 + + Language for the route instructions. # noqa: E501 + + :return: The language of this DirectionsService. # noqa: E501 + :rtype: str + """ + return self._language + + @language.setter + def language(self, language): + """Sets the language of this DirectionsService. + + Language for the route instructions. # noqa: E501 + + :param language: The language of this DirectionsService. # noqa: E501 + :type: str + """ + allowed_values = ["cs", "cs-cz", "de", "de-de", "en", "en-us", "eo", "eo-eo", "es", "es-es", "fr", "fr-fr", "gr", "gr-gr", "he", "he-il", "hu", "hu-hu", "id", "id-id", "it", "it-it", "ja", "ja-jp", "ne", "ne-np", "nl", "nl-nl", "pl", "pl-pl", "pt", "pt-pt", "ro", "ro-ro", "ru", "ru-ru", "tr", "tr-tr", "zh", "zh-cn"] # noqa: E501 + if language not in allowed_values: + raise ValueError( + "Invalid value for `language` ({0}), must be one of {1}" # noqa: E501 + .format(language, allowed_values) + ) + + self._language = language + + @property + def maneuvers(self): + """Gets the maneuvers of this DirectionsService. # noqa: E501 + + Specifies whether the maneuver object is included into the step object or not. # noqa: E501 + + :return: The maneuvers of this DirectionsService. # noqa: E501 + :rtype: bool + """ + return self._maneuvers + + @maneuvers.setter + def maneuvers(self, maneuvers): + """Sets the maneuvers of this DirectionsService. + + Specifies whether the maneuver object is included into the step object or not. # noqa: E501 + + :param maneuvers: The maneuvers of this DirectionsService. # noqa: E501 + :type: bool + """ + + self._maneuvers = maneuvers + + @property + def maximum_speed(self): + """Gets the maximum_speed of this DirectionsService. # noqa: E501 + + The maximum speed specified by user. # noqa: E501 + + :return: The maximum_speed of this DirectionsService. # noqa: E501 + :rtype: float + """ + return self._maximum_speed + + @maximum_speed.setter + def maximum_speed(self, maximum_speed): + """Sets the maximum_speed of this DirectionsService. + + The maximum speed specified by user. # noqa: E501 + + :param maximum_speed: The maximum_speed of this DirectionsService. # noqa: E501 + :type: float + """ + + self._maximum_speed = maximum_speed + + @property + def options(self): + """Gets the options of this DirectionsService. # noqa: E501 + + + :return: The options of this DirectionsService. # noqa: E501 + :rtype: RouteOptions + """ + return self._options + + @options.setter + def options(self, options): + """Sets the options of this DirectionsService. + + + :param options: The options of this DirectionsService. # noqa: E501 + :type: RouteOptions + """ + + self._options = options + + @property + def preference(self): + """Gets the preference of this DirectionsService. # noqa: E501 + + Specifies the route preference # noqa: E501 + + :return: The preference of this DirectionsService. # noqa: E501 + :rtype: str + """ + return self._preference + + @preference.setter + def preference(self, preference): + """Sets the preference of this DirectionsService. + + Specifies the route preference # noqa: E501 + + :param preference: The preference of this DirectionsService. # noqa: E501 + :type: str + """ + allowed_values = ["fastest", "shortest", "recommended"] # noqa: E501 + if preference not in allowed_values: + raise ValueError( + "Invalid value for `preference` ({0}), must be one of {1}" # noqa: E501 + .format(preference, allowed_values) + ) + + self._preference = preference + + @property + def radiuses(self): + """Gets the radiuses of this DirectionsService. # noqa: E501 + + A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. # noqa: E501 + + :return: The radiuses of this DirectionsService. # noqa: E501 + :rtype: list[float] + """ + return self._radiuses + + @radiuses.setter + def radiuses(self, radiuses): + """Sets the radiuses of this DirectionsService. + + A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. # noqa: E501 + + :param radiuses: The radiuses of this DirectionsService. # noqa: E501 + :type: list[float] + """ + + self._radiuses = radiuses + + @property + def roundabout_exits(self): + """Gets the roundabout_exits of this DirectionsService. # noqa: E501 + + Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. # noqa: E501 + + :return: The roundabout_exits of this DirectionsService. # noqa: E501 + :rtype: bool + """ + return self._roundabout_exits + + @roundabout_exits.setter + def roundabout_exits(self, roundabout_exits): + """Sets the roundabout_exits of this DirectionsService. + + Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. # noqa: E501 + + :param roundabout_exits: The roundabout_exits of this DirectionsService. # noqa: E501 + :type: bool + """ + + self._roundabout_exits = roundabout_exits + + @property + def schedule(self): + """Gets the schedule of this DirectionsService. # noqa: E501 + + If true, return a public transport schedule starting at for the next minutes. # noqa: E501 + + :return: The schedule of this DirectionsService. # noqa: E501 + :rtype: bool + """ + return self._schedule + + @schedule.setter + def schedule(self, schedule): + """Sets the schedule of this DirectionsService. + + If true, return a public transport schedule starting at for the next minutes. # noqa: E501 + + :param schedule: The schedule of this DirectionsService. # noqa: E501 + :type: bool + """ + + self._schedule = schedule + + @property + def schedule_duration(self): + """Gets the schedule_duration of this DirectionsService. # noqa: E501 + + + :return: The schedule_duration of this DirectionsService. # noqa: E501 + :rtype: V2directionsprofilegeojsonScheduleDuration + """ + return self._schedule_duration + + @schedule_duration.setter + def schedule_duration(self, schedule_duration): + """Sets the schedule_duration of this DirectionsService. + + + :param schedule_duration: The schedule_duration of this DirectionsService. # noqa: E501 + :type: V2directionsprofilegeojsonScheduleDuration + """ + + self._schedule_duration = schedule_duration + + @property + def schedule_rows(self): + """Gets the schedule_rows of this DirectionsService. # noqa: E501 + + The maximum amount of entries that should be returned when requesting a schedule. # noqa: E501 + + :return: The schedule_rows of this DirectionsService. # noqa: E501 + :rtype: int + """ + return self._schedule_rows + + @schedule_rows.setter + def schedule_rows(self, schedule_rows): + """Sets the schedule_rows of this DirectionsService. + + The maximum amount of entries that should be returned when requesting a schedule. # noqa: E501 + + :param schedule_rows: The schedule_rows of this DirectionsService. # noqa: E501 + :type: int + """ + + self._schedule_rows = schedule_rows + + @property + def skip_segments(self): + """Gets the skip_segments of this DirectionsService. # noqa: E501 + + Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. # noqa: E501 + + :return: The skip_segments of this DirectionsService. # noqa: E501 + :rtype: list[int] + """ + return self._skip_segments + + @skip_segments.setter + def skip_segments(self, skip_segments): + """Sets the skip_segments of this DirectionsService. + + Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. # noqa: E501 + + :param skip_segments: The skip_segments of this DirectionsService. # noqa: E501 + :type: list[int] + """ + + self._skip_segments = skip_segments + + @property + def suppress_warnings(self): + """Gets the suppress_warnings of this DirectionsService. # noqa: E501 + + Suppress warning messages in the response # noqa: E501 + + :return: The suppress_warnings of this DirectionsService. # noqa: E501 + :rtype: bool + """ + return self._suppress_warnings + + @suppress_warnings.setter + def suppress_warnings(self, suppress_warnings): + """Sets the suppress_warnings of this DirectionsService. + + Suppress warning messages in the response # noqa: E501 + + :param suppress_warnings: The suppress_warnings of this DirectionsService. # noqa: E501 + :type: bool + """ + + self._suppress_warnings = suppress_warnings + + @property + def units(self): + """Gets the units of this DirectionsService. # noqa: E501 + + Specifies the distance unit. # noqa: E501 + + :return: The units of this DirectionsService. # noqa: E501 + :rtype: str + """ + return self._units + + @units.setter + def units(self, units): + """Sets the units of this DirectionsService. + + Specifies the distance unit. # noqa: E501 + + :param units: The units of this DirectionsService. # noqa: E501 + :type: str + """ + allowed_values = ["m", "km", "mi"] # noqa: E501 + if units not in allowed_values: + raise ValueError( + "Invalid value for `units` ({0}), must be one of {1}" # noqa: E501 + .format(units, allowed_values) + ) + + self._units = units + + @property + def walking_time(self): + """Gets the walking_time of this DirectionsService. # noqa: E501 + + + :return: The walking_time of this DirectionsService. # noqa: E501 + :rtype: V2directionsprofilegeojsonWalkingTime + """ + return self._walking_time + + @walking_time.setter + def walking_time(self, walking_time): + """Sets the walking_time of this DirectionsService. + + + :param walking_time: The walking_time of this DirectionsService. # noqa: E501 + :type: V2directionsprofilegeojsonWalkingTime + """ + + self._walking_time = walking_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(DirectionsService, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DirectionsService): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/directions_service1.py b/openrouteservice/models/directions_service1.py new file mode 100644 index 00000000..1f5754c8 --- /dev/null +++ b/openrouteservice/models/directions_service1.py @@ -0,0 +1,871 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class DirectionsService1(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'alternative_routes': 'AlternativeRoutes', + 'attributes': 'list[str]', + 'bearings': 'list[list[float]]', + 'continue_straight': 'bool', + 'coordinates': 'list[list[float]]', + 'elevation': 'bool', + 'extra_info': 'list[str]', + 'geometry': 'bool', + 'geometry_simplify': 'bool', + 'id': 'str', + 'ignore_transfers': 'bool', + 'instructions': 'bool', + 'instructions_format': 'str', + 'language': 'str', + 'maneuvers': 'bool', + 'maximum_speed': 'float', + 'options': 'RouteOptions', + 'preference': 'str', + 'radiuses': 'list[float]', + 'roundabout_exits': 'bool', + 'schedule': 'bool', + 'schedule_duration': 'V2directionsprofilegeojsonScheduleDuration', + 'schedule_rows': 'int', + 'skip_segments': 'list[int]', + 'suppress_warnings': 'bool', + 'units': 'str', + 'walking_time': 'V2directionsprofilegeojsonWalkingTime' + } + + attribute_map = { + 'alternative_routes': 'alternative_routes', + 'attributes': 'attributes', + 'bearings': 'bearings', + 'continue_straight': 'continue_straight', + 'coordinates': 'coordinates', + 'elevation': 'elevation', + 'extra_info': 'extra_info', + 'geometry': 'geometry', + 'geometry_simplify': 'geometry_simplify', + 'id': 'id', + 'ignore_transfers': 'ignore_transfers', + 'instructions': 'instructions', + 'instructions_format': 'instructions_format', + 'language': 'language', + 'maneuvers': 'maneuvers', + 'maximum_speed': 'maximum_speed', + 'options': 'options', + 'preference': 'preference', + 'radiuses': 'radiuses', + 'roundabout_exits': 'roundabout_exits', + 'schedule': 'schedule', + 'schedule_duration': 'schedule_duration', + 'schedule_rows': 'schedule_rows', + 'skip_segments': 'skip_segments', + 'suppress_warnings': 'suppress_warnings', + 'units': 'units', + 'walking_time': 'walking_time' + } + + def __init__(self, alternative_routes=None, attributes=None, bearings=None, continue_straight=False, coordinates=None, elevation=None, extra_info=None, geometry=True, geometry_simplify=False, id=None, ignore_transfers=False, instructions=True, instructions_format='text', language='en', maneuvers=False, maximum_speed=None, options=None, preference='recommended', radiuses=None, roundabout_exits=False, schedule=False, schedule_duration=None, schedule_rows=None, skip_segments=None, suppress_warnings=None, units='m', walking_time=None): # noqa: E501 + """DirectionsService1 - a model defined in Swagger""" # noqa: E501 + self._alternative_routes = None + self._attributes = None + self._bearings = None + self._continue_straight = None + self._coordinates = None + self._elevation = None + self._extra_info = None + self._geometry = None + self._geometry_simplify = None + self._id = None + self._ignore_transfers = None + self._instructions = None + self._instructions_format = None + self._language = None + self._maneuvers = None + self._maximum_speed = None + self._options = None + self._preference = None + self._radiuses = None + self._roundabout_exits = None + self._schedule = None + self._schedule_duration = None + self._schedule_rows = None + self._skip_segments = None + self._suppress_warnings = None + self._units = None + self._walking_time = None + self.discriminator = None + if alternative_routes is not None: + self.alternative_routes = alternative_routes + if attributes is not None: + self.attributes = attributes + if bearings is not None: + self.bearings = bearings + if continue_straight is not None: + self.continue_straight = continue_straight + self.coordinates = coordinates + if elevation is not None: + self.elevation = elevation + if extra_info is not None: + self.extra_info = extra_info + if geometry is not None: + self.geometry = geometry + if geometry_simplify is not None: + self.geometry_simplify = geometry_simplify + if id is not None: + self.id = id + if ignore_transfers is not None: + self.ignore_transfers = ignore_transfers + if instructions is not None: + self.instructions = instructions + if instructions_format is not None: + self.instructions_format = instructions_format + if language is not None: + self.language = language + if maneuvers is not None: + self.maneuvers = maneuvers + if maximum_speed is not None: + self.maximum_speed = maximum_speed + if options is not None: + self.options = options + if preference is not None: + self.preference = preference + if radiuses is not None: + self.radiuses = radiuses + if roundabout_exits is not None: + self.roundabout_exits = roundabout_exits + if schedule is not None: + self.schedule = schedule + if schedule_duration is not None: + self.schedule_duration = schedule_duration + if schedule_rows is not None: + self.schedule_rows = schedule_rows + if skip_segments is not None: + self.skip_segments = skip_segments + if suppress_warnings is not None: + self.suppress_warnings = suppress_warnings + if units is not None: + self.units = units + if walking_time is not None: + self.walking_time = walking_time + + @property + def alternative_routes(self): + """Gets the alternative_routes of this DirectionsService1. # noqa: E501 + + + :return: The alternative_routes of this DirectionsService1. # noqa: E501 + :rtype: AlternativeRoutes + """ + return self._alternative_routes + + @alternative_routes.setter + def alternative_routes(self, alternative_routes): + """Sets the alternative_routes of this DirectionsService1. + + + :param alternative_routes: The alternative_routes of this DirectionsService1. # noqa: E501 + :type: AlternativeRoutes + """ + + self._alternative_routes = alternative_routes + + @property + def attributes(self): + """Gets the attributes of this DirectionsService1. # noqa: E501 + + List of route attributes # noqa: E501 + + :return: The attributes of this DirectionsService1. # noqa: E501 + :rtype: list[str] + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this DirectionsService1. + + List of route attributes # noqa: E501 + + :param attributes: The attributes of this DirectionsService1. # noqa: E501 + :type: list[str] + """ + allowed_values = ["avgspeed", "detourfactor", "percentage"] # noqa: E501 + if not set(attributes).issubset(set(allowed_values)): + raise ValueError( + "Invalid values for `attributes` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(attributes) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) + + self._attributes = attributes + + @property + def bearings(self): + """Gets the bearings of this DirectionsService1. # noqa: E501 + + Specifies a list of pairs (bearings and deviations) to filter the segments of the road network a waypoint can snap to. \"For example `bearings=[[45,10],[120,20]]`. \"Each pair is a comma-separated list that can consist of one or two float values, where the first value is the bearing and the second one is the allowed deviation from the bearing. \"The bearing can take values between `0` and `360` clockwise from true north. If the deviation is not set, then the default value of `100` degrees is used. \"The number of pairs must correspond to the number of waypoints. \"The number of bearings corresponds to the length of waypoints-1 or waypoints. If the bearing information for the last waypoint is given, then this will control the sector from which the destination waypoint may be reached. \"You can skip a bearing for a certain waypoint by passing an empty value for an array, e.g. `[30,20],[],[40,20]`. # noqa: E501 + + :return: The bearings of this DirectionsService1. # noqa: E501 + :rtype: list[list[float]] + """ + return self._bearings + + @bearings.setter + def bearings(self, bearings): + """Sets the bearings of this DirectionsService1. + + Specifies a list of pairs (bearings and deviations) to filter the segments of the road network a waypoint can snap to. \"For example `bearings=[[45,10],[120,20]]`. \"Each pair is a comma-separated list that can consist of one or two float values, where the first value is the bearing and the second one is the allowed deviation from the bearing. \"The bearing can take values between `0` and `360` clockwise from true north. If the deviation is not set, then the default value of `100` degrees is used. \"The number of pairs must correspond to the number of waypoints. \"The number of bearings corresponds to the length of waypoints-1 or waypoints. If the bearing information for the last waypoint is given, then this will control the sector from which the destination waypoint may be reached. \"You can skip a bearing for a certain waypoint by passing an empty value for an array, e.g. `[30,20],[],[40,20]`. # noqa: E501 + + :param bearings: The bearings of this DirectionsService1. # noqa: E501 + :type: list[list[float]] + """ + + self._bearings = bearings + + @property + def continue_straight(self): + """Gets the continue_straight of this DirectionsService1. # noqa: E501 + + Forces the route to keep going straight at waypoints restricting uturns there even if it would be faster. # noqa: E501 + + :return: The continue_straight of this DirectionsService1. # noqa: E501 + :rtype: bool + """ + return self._continue_straight + + @continue_straight.setter + def continue_straight(self, continue_straight): + """Sets the continue_straight of this DirectionsService1. + + Forces the route to keep going straight at waypoints restricting uturns there even if it would be faster. # noqa: E501 + + :param continue_straight: The continue_straight of this DirectionsService1. # noqa: E501 + :type: bool + """ + + self._continue_straight = continue_straight + + @property + def coordinates(self): + """Gets the coordinates of this DirectionsService1. # noqa: E501 + + The waypoints to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 + + :return: The coordinates of this DirectionsService1. # noqa: E501 + :rtype: list[list[float]] + """ + return self._coordinates + + @coordinates.setter + def coordinates(self, coordinates): + """Sets the coordinates of this DirectionsService1. + + The waypoints to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 + + :param coordinates: The coordinates of this DirectionsService1. # noqa: E501 + :type: list[list[float]] + """ + if coordinates is None: + raise ValueError("Invalid value for `coordinates`, must not be `None`") # noqa: E501 + + self._coordinates = coordinates + + @property + def elevation(self): + """Gets the elevation of this DirectionsService1. # noqa: E501 + + Specifies whether to return elevation values for points. Please note that elevation also gets encoded for json response encoded polyline. # noqa: E501 + + :return: The elevation of this DirectionsService1. # noqa: E501 + :rtype: bool + """ + return self._elevation + + @elevation.setter + def elevation(self, elevation): + """Sets the elevation of this DirectionsService1. + + Specifies whether to return elevation values for points. Please note that elevation also gets encoded for json response encoded polyline. # noqa: E501 + + :param elevation: The elevation of this DirectionsService1. # noqa: E501 + :type: bool + """ + + self._elevation = elevation + + @property + def extra_info(self): + """Gets the extra_info of this DirectionsService1. # noqa: E501 + + The extra info items to include in the response # noqa: E501 + + :return: The extra_info of this DirectionsService1. # noqa: E501 + :rtype: list[str] + """ + return self._extra_info + + @extra_info.setter + def extra_info(self, extra_info): + """Sets the extra_info of this DirectionsService1. + + The extra info items to include in the response # noqa: E501 + + :param extra_info: The extra_info of this DirectionsService1. # noqa: E501 + :type: list[str] + """ + allowed_values = ["steepness", "suitability", "surface", "waycategory", "waytype", "tollways", "traildifficulty", "osmid", "roadaccessrestrictions", "countryinfo", "green", "noise", "csv", "shadow"] # noqa: E501 + if not set(extra_info).issubset(set(allowed_values)): + raise ValueError( + "Invalid values for `extra_info` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(extra_info) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) + + self._extra_info = extra_info + + @property + def geometry(self): + """Gets the geometry of this DirectionsService1. # noqa: E501 + + Specifies whether to return geometry. # noqa: E501 + + :return: The geometry of this DirectionsService1. # noqa: E501 + :rtype: bool + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this DirectionsService1. + + Specifies whether to return geometry. # noqa: E501 + + :param geometry: The geometry of this DirectionsService1. # noqa: E501 + :type: bool + """ + + self._geometry = geometry + + @property + def geometry_simplify(self): + """Gets the geometry_simplify of this DirectionsService1. # noqa: E501 + + Specifies whether to simplify the geometry. Simplify geometry cannot be applied to routes with more than **one segment** and when `extra_info` is required. # noqa: E501 + + :return: The geometry_simplify of this DirectionsService1. # noqa: E501 + :rtype: bool + """ + return self._geometry_simplify + + @geometry_simplify.setter + def geometry_simplify(self, geometry_simplify): + """Sets the geometry_simplify of this DirectionsService1. + + Specifies whether to simplify the geometry. Simplify geometry cannot be applied to routes with more than **one segment** and when `extra_info` is required. # noqa: E501 + + :param geometry_simplify: The geometry_simplify of this DirectionsService1. # noqa: E501 + :type: bool + """ + + self._geometry_simplify = geometry_simplify + + @property + def id(self): + """Gets the id of this DirectionsService1. # noqa: E501 + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :return: The id of this DirectionsService1. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this DirectionsService1. + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :param id: The id of this DirectionsService1. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def ignore_transfers(self): + """Gets the ignore_transfers of this DirectionsService1. # noqa: E501 + + Specifies if transfers as criterion should be ignored. # noqa: E501 + + :return: The ignore_transfers of this DirectionsService1. # noqa: E501 + :rtype: bool + """ + return self._ignore_transfers + + @ignore_transfers.setter + def ignore_transfers(self, ignore_transfers): + """Sets the ignore_transfers of this DirectionsService1. + + Specifies if transfers as criterion should be ignored. # noqa: E501 + + :param ignore_transfers: The ignore_transfers of this DirectionsService1. # noqa: E501 + :type: bool + """ + + self._ignore_transfers = ignore_transfers + + @property + def instructions(self): + """Gets the instructions of this DirectionsService1. # noqa: E501 + + Specifies whether to return instructions. # noqa: E501 + + :return: The instructions of this DirectionsService1. # noqa: E501 + :rtype: bool + """ + return self._instructions + + @instructions.setter + def instructions(self, instructions): + """Sets the instructions of this DirectionsService1. + + Specifies whether to return instructions. # noqa: E501 + + :param instructions: The instructions of this DirectionsService1. # noqa: E501 + :type: bool + """ + + self._instructions = instructions + + @property + def instructions_format(self): + """Gets the instructions_format of this DirectionsService1. # noqa: E501 + + Select html for more verbose instructions. # noqa: E501 + + :return: The instructions_format of this DirectionsService1. # noqa: E501 + :rtype: str + """ + return self._instructions_format + + @instructions_format.setter + def instructions_format(self, instructions_format): + """Sets the instructions_format of this DirectionsService1. + + Select html for more verbose instructions. # noqa: E501 + + :param instructions_format: The instructions_format of this DirectionsService1. # noqa: E501 + :type: str + """ + allowed_values = ["html", "text"] # noqa: E501 + if instructions_format not in allowed_values: + raise ValueError( + "Invalid value for `instructions_format` ({0}), must be one of {1}" # noqa: E501 + .format(instructions_format, allowed_values) + ) + + self._instructions_format = instructions_format + + @property + def language(self): + """Gets the language of this DirectionsService1. # noqa: E501 + + Language for the route instructions. # noqa: E501 + + :return: The language of this DirectionsService1. # noqa: E501 + :rtype: str + """ + return self._language + + @language.setter + def language(self, language): + """Sets the language of this DirectionsService1. + + Language for the route instructions. # noqa: E501 + + :param language: The language of this DirectionsService1. # noqa: E501 + :type: str + """ + allowed_values = ["cs", "cs-cz", "de", "de-de", "en", "en-us", "eo", "eo-eo", "es", "es-es", "fr", "fr-fr", "gr", "gr-gr", "he", "he-il", "hu", "hu-hu", "id", "id-id", "it", "it-it", "ja", "ja-jp", "ne", "ne-np", "nl", "nl-nl", "pl", "pl-pl", "pt", "pt-pt", "ro", "ro-ro", "ru", "ru-ru", "tr", "tr-tr", "zh", "zh-cn"] # noqa: E501 + if language not in allowed_values: + raise ValueError( + "Invalid value for `language` ({0}), must be one of {1}" # noqa: E501 + .format(language, allowed_values) + ) + + self._language = language + + @property + def maneuvers(self): + """Gets the maneuvers of this DirectionsService1. # noqa: E501 + + Specifies whether the maneuver object is included into the step object or not. # noqa: E501 + + :return: The maneuvers of this DirectionsService1. # noqa: E501 + :rtype: bool + """ + return self._maneuvers + + @maneuvers.setter + def maneuvers(self, maneuvers): + """Sets the maneuvers of this DirectionsService1. + + Specifies whether the maneuver object is included into the step object or not. # noqa: E501 + + :param maneuvers: The maneuvers of this DirectionsService1. # noqa: E501 + :type: bool + """ + + self._maneuvers = maneuvers + + @property + def maximum_speed(self): + """Gets the maximum_speed of this DirectionsService1. # noqa: E501 + + The maximum speed specified by user. # noqa: E501 + + :return: The maximum_speed of this DirectionsService1. # noqa: E501 + :rtype: float + """ + return self._maximum_speed + + @maximum_speed.setter + def maximum_speed(self, maximum_speed): + """Sets the maximum_speed of this DirectionsService1. + + The maximum speed specified by user. # noqa: E501 + + :param maximum_speed: The maximum_speed of this DirectionsService1. # noqa: E501 + :type: float + """ + + self._maximum_speed = maximum_speed + + @property + def options(self): + """Gets the options of this DirectionsService1. # noqa: E501 + + + :return: The options of this DirectionsService1. # noqa: E501 + :rtype: RouteOptions + """ + return self._options + + @options.setter + def options(self, options): + """Sets the options of this DirectionsService1. + + + :param options: The options of this DirectionsService1. # noqa: E501 + :type: RouteOptions + """ + + self._options = options + + @property + def preference(self): + """Gets the preference of this DirectionsService1. # noqa: E501 + + Specifies the route preference # noqa: E501 + + :return: The preference of this DirectionsService1. # noqa: E501 + :rtype: str + """ + return self._preference + + @preference.setter + def preference(self, preference): + """Sets the preference of this DirectionsService1. + + Specifies the route preference # noqa: E501 + + :param preference: The preference of this DirectionsService1. # noqa: E501 + :type: str + """ + allowed_values = ["fastest", "shortest", "recommended"] # noqa: E501 + if preference not in allowed_values: + raise ValueError( + "Invalid value for `preference` ({0}), must be one of {1}" # noqa: E501 + .format(preference, allowed_values) + ) + + self._preference = preference + + @property + def radiuses(self): + """Gets the radiuses of this DirectionsService1. # noqa: E501 + + A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. # noqa: E501 + + :return: The radiuses of this DirectionsService1. # noqa: E501 + :rtype: list[float] + """ + return self._radiuses + + @radiuses.setter + def radiuses(self, radiuses): + """Sets the radiuses of this DirectionsService1. + + A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. # noqa: E501 + + :param radiuses: The radiuses of this DirectionsService1. # noqa: E501 + :type: list[float] + """ + + self._radiuses = radiuses + + @property + def roundabout_exits(self): + """Gets the roundabout_exits of this DirectionsService1. # noqa: E501 + + Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. # noqa: E501 + + :return: The roundabout_exits of this DirectionsService1. # noqa: E501 + :rtype: bool + """ + return self._roundabout_exits + + @roundabout_exits.setter + def roundabout_exits(self, roundabout_exits): + """Sets the roundabout_exits of this DirectionsService1. + + Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. # noqa: E501 + + :param roundabout_exits: The roundabout_exits of this DirectionsService1. # noqa: E501 + :type: bool + """ + + self._roundabout_exits = roundabout_exits + + @property + def schedule(self): + """Gets the schedule of this DirectionsService1. # noqa: E501 + + If true, return a public transport schedule starting at for the next minutes. # noqa: E501 + + :return: The schedule of this DirectionsService1. # noqa: E501 + :rtype: bool + """ + return self._schedule + + @schedule.setter + def schedule(self, schedule): + """Sets the schedule of this DirectionsService1. + + If true, return a public transport schedule starting at for the next minutes. # noqa: E501 + + :param schedule: The schedule of this DirectionsService1. # noqa: E501 + :type: bool + """ + + self._schedule = schedule + + @property + def schedule_duration(self): + """Gets the schedule_duration of this DirectionsService1. # noqa: E501 + + + :return: The schedule_duration of this DirectionsService1. # noqa: E501 + :rtype: V2directionsprofilegeojsonScheduleDuration + """ + return self._schedule_duration + + @schedule_duration.setter + def schedule_duration(self, schedule_duration): + """Sets the schedule_duration of this DirectionsService1. + + + :param schedule_duration: The schedule_duration of this DirectionsService1. # noqa: E501 + :type: V2directionsprofilegeojsonScheduleDuration + """ + + self._schedule_duration = schedule_duration + + @property + def schedule_rows(self): + """Gets the schedule_rows of this DirectionsService1. # noqa: E501 + + The maximum amount of entries that should be returned when requesting a schedule. # noqa: E501 + + :return: The schedule_rows of this DirectionsService1. # noqa: E501 + :rtype: int + """ + return self._schedule_rows + + @schedule_rows.setter + def schedule_rows(self, schedule_rows): + """Sets the schedule_rows of this DirectionsService1. + + The maximum amount of entries that should be returned when requesting a schedule. # noqa: E501 + + :param schedule_rows: The schedule_rows of this DirectionsService1. # noqa: E501 + :type: int + """ + + self._schedule_rows = schedule_rows + + @property + def skip_segments(self): + """Gets the skip_segments of this DirectionsService1. # noqa: E501 + + Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. # noqa: E501 + + :return: The skip_segments of this DirectionsService1. # noqa: E501 + :rtype: list[int] + """ + return self._skip_segments + + @skip_segments.setter + def skip_segments(self, skip_segments): + """Sets the skip_segments of this DirectionsService1. + + Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. # noqa: E501 + + :param skip_segments: The skip_segments of this DirectionsService1. # noqa: E501 + :type: list[int] + """ + + self._skip_segments = skip_segments + + @property + def suppress_warnings(self): + """Gets the suppress_warnings of this DirectionsService1. # noqa: E501 + + Suppress warning messages in the response # noqa: E501 + + :return: The suppress_warnings of this DirectionsService1. # noqa: E501 + :rtype: bool + """ + return self._suppress_warnings + + @suppress_warnings.setter + def suppress_warnings(self, suppress_warnings): + """Sets the suppress_warnings of this DirectionsService1. + + Suppress warning messages in the response # noqa: E501 + + :param suppress_warnings: The suppress_warnings of this DirectionsService1. # noqa: E501 + :type: bool + """ + + self._suppress_warnings = suppress_warnings + + @property + def units(self): + """Gets the units of this DirectionsService1. # noqa: E501 + + Specifies the distance unit. # noqa: E501 + + :return: The units of this DirectionsService1. # noqa: E501 + :rtype: str + """ + return self._units + + @units.setter + def units(self, units): + """Sets the units of this DirectionsService1. + + Specifies the distance unit. # noqa: E501 + + :param units: The units of this DirectionsService1. # noqa: E501 + :type: str + """ + allowed_values = ["m", "km", "mi"] # noqa: E501 + if units not in allowed_values: + raise ValueError( + "Invalid value for `units` ({0}), must be one of {1}" # noqa: E501 + .format(units, allowed_values) + ) + + self._units = units + + @property + def walking_time(self): + """Gets the walking_time of this DirectionsService1. # noqa: E501 + + + :return: The walking_time of this DirectionsService1. # noqa: E501 + :rtype: V2directionsprofilegeojsonWalkingTime + """ + return self._walking_time + + @walking_time.setter + def walking_time(self, walking_time): + """Sets the walking_time of this DirectionsService1. + + + :param walking_time: The walking_time of this DirectionsService1. # noqa: E501 + :type: V2directionsprofilegeojsonWalkingTime + """ + + self._walking_time = walking_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(DirectionsService1, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, DirectionsService1): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/elevation_line_body.py b/openrouteservice/models/elevation_line_body.py new file mode 100644 index 00000000..934343f8 --- /dev/null +++ b/openrouteservice/models/elevation_line_body.py @@ -0,0 +1,216 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ElevationLineBody(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'dataset': 'str', + 'format_in': 'str', + 'format_out': 'str', + 'geometry': 'object' + } + + attribute_map = { + 'dataset': 'dataset', + 'format_in': 'format_in', + 'format_out': 'format_out', + 'geometry': 'geometry' + } + + def __init__(self, dataset='srtm', format_in=None, format_out='geojson', geometry=None): # noqa: E501 + """ElevationLineBody - a model defined in Swagger""" # noqa: E501 + self._dataset = None + self._format_in = None + self._format_out = None + self._geometry = None + self.discriminator = None + if dataset is not None: + self.dataset = dataset + self.format_in = format_in + if format_out is not None: + self.format_out = format_out + self.geometry = geometry + + @property + def dataset(self): + """Gets the dataset of this ElevationLineBody. # noqa: E501 + + The elevation dataset to be used. # noqa: E501 + + :return: The dataset of this ElevationLineBody. # noqa: E501 + :rtype: str + """ + return self._dataset + + @dataset.setter + def dataset(self, dataset): + """Sets the dataset of this ElevationLineBody. + + The elevation dataset to be used. # noqa: E501 + + :param dataset: The dataset of this ElevationLineBody. # noqa: E501 + :type: str + """ + allowed_values = ["srtm"] # noqa: E501 + if dataset not in allowed_values: + raise ValueError( + "Invalid value for `dataset` ({0}), must be one of {1}" # noqa: E501 + .format(dataset, allowed_values) + ) + + self._dataset = dataset + + @property + def format_in(self): + """Gets the format_in of this ElevationLineBody. # noqa: E501 + + The input format the API has to expect. # noqa: E501 + + :return: The format_in of this ElevationLineBody. # noqa: E501 + :rtype: str + """ + return self._format_in + + @format_in.setter + def format_in(self, format_in): + """Sets the format_in of this ElevationLineBody. + + The input format the API has to expect. # noqa: E501 + + :param format_in: The format_in of this ElevationLineBody. # noqa: E501 + :type: str + """ + if format_in is None: + raise ValueError("Invalid value for `format_in`, must not be `None`") # noqa: E501 + allowed_values = ["geojson", "polyline", "encodedpolyline5", "encodedpolyline6"] # noqa: E501 + if format_in not in allowed_values: + raise ValueError( + "Invalid value for `format_in` ({0}), must be one of {1}" # noqa: E501 + .format(format_in, allowed_values) + ) + + self._format_in = format_in + + @property + def format_out(self): + """Gets the format_out of this ElevationLineBody. # noqa: E501 + + The output format to be returned. # noqa: E501 + + :return: The format_out of this ElevationLineBody. # noqa: E501 + :rtype: str + """ + return self._format_out + + @format_out.setter + def format_out(self, format_out): + """Sets the format_out of this ElevationLineBody. + + The output format to be returned. # noqa: E501 + + :param format_out: The format_out of this ElevationLineBody. # noqa: E501 + :type: str + """ + allowed_values = ["geojson", "polyline", "encodedpolyline5", "encodedpolyline6"] # noqa: E501 + if format_out not in allowed_values: + raise ValueError( + "Invalid value for `format_out` ({0}), must be one of {1}" # noqa: E501 + .format(format_out, allowed_values) + ) + + self._format_out = format_out + + @property + def geometry(self): + """Gets the geometry of this ElevationLineBody. # noqa: E501 + + * geojson: A geometry object of a LineString GeoJSON, e.g. {\"type\": \"LineString\", \"coordinates\": [[13.331302, 38.108433],[13.331273, 38.10849]] } * polyline: A list of coordinate lists, e.g. [[13.331302, 38.108433], [13.331273, 38.10849]] * encodedpolyline5: A Google encoded polyline with a coordinate precision of 5, e.g. u`rgFswjpAKD * encodedpolyline6: A Google encoded polyline with a coordinate precision of 6, e.g. ap}tgAkutlXqBx@ # noqa: E501 + + :return: The geometry of this ElevationLineBody. # noqa: E501 + :rtype: object + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this ElevationLineBody. + + * geojson: A geometry object of a LineString GeoJSON, e.g. {\"type\": \"LineString\", \"coordinates\": [[13.331302, 38.108433],[13.331273, 38.10849]] } * polyline: A list of coordinate lists, e.g. [[13.331302, 38.108433], [13.331273, 38.10849]] * encodedpolyline5: A Google encoded polyline with a coordinate precision of 5, e.g. u`rgFswjpAKD * encodedpolyline6: A Google encoded polyline with a coordinate precision of 6, e.g. ap}tgAkutlXqBx@ # noqa: E501 + + :param geometry: The geometry of this ElevationLineBody. # noqa: E501 + :type: object + """ + if geometry is None: + raise ValueError("Invalid value for `geometry`, must not be `None`") # noqa: E501 + + self._geometry = geometry + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ElevationLineBody, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ElevationLineBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/elevation_point_body.py b/openrouteservice/models/elevation_point_body.py new file mode 100644 index 00000000..e1d71d4c --- /dev/null +++ b/openrouteservice/models/elevation_point_body.py @@ -0,0 +1,216 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ElevationPointBody(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'dataset': 'str', + 'format_in': 'str', + 'format_out': 'str', + 'geometry': 'object' + } + + attribute_map = { + 'dataset': 'dataset', + 'format_in': 'format_in', + 'format_out': 'format_out', + 'geometry': 'geometry' + } + + def __init__(self, dataset='srtm', format_in=None, format_out='geojson', geometry=None): # noqa: E501 + """ElevationPointBody - a model defined in Swagger""" # noqa: E501 + self._dataset = None + self._format_in = None + self._format_out = None + self._geometry = None + self.discriminator = None + if dataset is not None: + self.dataset = dataset + self.format_in = format_in + if format_out is not None: + self.format_out = format_out + self.geometry = geometry + + @property + def dataset(self): + """Gets the dataset of this ElevationPointBody. # noqa: E501 + + The elevation dataset to be used. # noqa: E501 + + :return: The dataset of this ElevationPointBody. # noqa: E501 + :rtype: str + """ + return self._dataset + + @dataset.setter + def dataset(self, dataset): + """Sets the dataset of this ElevationPointBody. + + The elevation dataset to be used. # noqa: E501 + + :param dataset: The dataset of this ElevationPointBody. # noqa: E501 + :type: str + """ + allowed_values = ["srtm"] # noqa: E501 + if dataset not in allowed_values: + raise ValueError( + "Invalid value for `dataset` ({0}), must be one of {1}" # noqa: E501 + .format(dataset, allowed_values) + ) + + self._dataset = dataset + + @property + def format_in(self): + """Gets the format_in of this ElevationPointBody. # noqa: E501 + + The input format the API has to expect. # noqa: E501 + + :return: The format_in of this ElevationPointBody. # noqa: E501 + :rtype: str + """ + return self._format_in + + @format_in.setter + def format_in(self, format_in): + """Sets the format_in of this ElevationPointBody. + + The input format the API has to expect. # noqa: E501 + + :param format_in: The format_in of this ElevationPointBody. # noqa: E501 + :type: str + """ + if format_in is None: + raise ValueError("Invalid value for `format_in`, must not be `None`") # noqa: E501 + allowed_values = ["geojson", "point"] # noqa: E501 + if format_in not in allowed_values: + raise ValueError( + "Invalid value for `format_in` ({0}), must be one of {1}" # noqa: E501 + .format(format_in, allowed_values) + ) + + self._format_in = format_in + + @property + def format_out(self): + """Gets the format_out of this ElevationPointBody. # noqa: E501 + + The output format to be returned. # noqa: E501 + + :return: The format_out of this ElevationPointBody. # noqa: E501 + :rtype: str + """ + return self._format_out + + @format_out.setter + def format_out(self, format_out): + """Sets the format_out of this ElevationPointBody. + + The output format to be returned. # noqa: E501 + + :param format_out: The format_out of this ElevationPointBody. # noqa: E501 + :type: str + """ + allowed_values = ["geojson", "point"] # noqa: E501 + if format_out not in allowed_values: + raise ValueError( + "Invalid value for `format_out` ({0}), must be one of {1}" # noqa: E501 + .format(format_out, allowed_values) + ) + + self._format_out = format_out + + @property + def geometry(self): + """Gets the geometry of this ElevationPointBody. # noqa: E501 + + * geojson: A geometry object of a Point GeoJSON, e.g. {\"type\": \"Point\", \"coordinates\": [13.331273, 38.10849] } * point: A coordinate list, e.g. [13.331273, 38.10849] # noqa: E501 + + :return: The geometry of this ElevationPointBody. # noqa: E501 + :rtype: object + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this ElevationPointBody. + + * geojson: A geometry object of a Point GeoJSON, e.g. {\"type\": \"Point\", \"coordinates\": [13.331273, 38.10849] } * point: A coordinate list, e.g. [13.331273, 38.10849] # noqa: E501 + + :param geometry: The geometry of this ElevationPointBody. # noqa: E501 + :type: object + """ + if geometry is None: + raise ValueError("Invalid value for `geometry`, must not be `None`") # noqa: E501 + + self._geometry = geometry + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ElevationPointBody, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ElevationPointBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/engine_info.py b/openrouteservice/models/engine_info.py new file mode 100644 index 00000000..d08e012e --- /dev/null +++ b/openrouteservice/models/engine_info.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class EngineInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'build_date': 'str', + 'graph_date': 'str', + 'version': 'str' + } + + attribute_map = { + 'build_date': 'build_date', + 'graph_date': 'graph_date', + 'version': 'version' + } + + def __init__(self, build_date=None, graph_date=None, version=None): # noqa: E501 + """EngineInfo - a model defined in Swagger""" # noqa: E501 + self._build_date = None + self._graph_date = None + self._version = None + self.discriminator = None + if build_date is not None: + self.build_date = build_date + if graph_date is not None: + self.graph_date = graph_date + if version is not None: + self.version = version + + @property + def build_date(self): + """Gets the build_date of this EngineInfo. # noqa: E501 + + The date that the service was last updated # noqa: E501 + + :return: The build_date of this EngineInfo. # noqa: E501 + :rtype: str + """ + return self._build_date + + @build_date.setter + def build_date(self, build_date): + """Sets the build_date of this EngineInfo. + + The date that the service was last updated # noqa: E501 + + :param build_date: The build_date of this EngineInfo. # noqa: E501 + :type: str + """ + + self._build_date = build_date + + @property + def graph_date(self): + """Gets the graph_date of this EngineInfo. # noqa: E501 + + The date that the graph data was last updated # noqa: E501 + + :return: The graph_date of this EngineInfo. # noqa: E501 + :rtype: str + """ + return self._graph_date + + @graph_date.setter + def graph_date(self, graph_date): + """Sets the graph_date of this EngineInfo. + + The date that the graph data was last updated # noqa: E501 + + :param graph_date: The graph_date of this EngineInfo. # noqa: E501 + :type: str + """ + + self._graph_date = graph_date + + @property + def version(self): + """Gets the version of this EngineInfo. # noqa: E501 + + The backend version of the openrouteservice that was queried # noqa: E501 + + :return: The version of this EngineInfo. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this EngineInfo. + + The backend version of the openrouteservice that was queried # noqa: E501 + + :param version: The version of this EngineInfo. # noqa: E501 + :type: str + """ + + self._version = version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(EngineInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, EngineInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_features_object.py b/openrouteservice/models/geo_json_features_object.py new file mode 100644 index 00000000..220f476d --- /dev/null +++ b/openrouteservice/models/geo_json_features_object.py @@ -0,0 +1,162 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONFeaturesObject(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'feature_properties': 'GeoJSONPropertiesObject', + 'geometry': 'GeoJSONGeometryObject', + 'type': 'str' + } + + attribute_map = { + 'feature_properties': 'feature_properties', + 'geometry': 'geometry', + 'type': 'type' + } + + def __init__(self, feature_properties=None, geometry=None, type='Feature'): # noqa: E501 + """GeoJSONFeaturesObject - a model defined in Swagger""" # noqa: E501 + self._feature_properties = None + self._geometry = None + self._type = None + self.discriminator = None + if feature_properties is not None: + self.feature_properties = feature_properties + if geometry is not None: + self.geometry = geometry + if type is not None: + self.type = type + + @property + def feature_properties(self): + """Gets the feature_properties of this GeoJSONFeaturesObject. # noqa: E501 + + + :return: The feature_properties of this GeoJSONFeaturesObject. # noqa: E501 + :rtype: GeoJSONPropertiesObject + """ + return self._feature_properties + + @feature_properties.setter + def feature_properties(self, feature_properties): + """Sets the feature_properties of this GeoJSONFeaturesObject. + + + :param feature_properties: The feature_properties of this GeoJSONFeaturesObject. # noqa: E501 + :type: GeoJSONPropertiesObject + """ + + self._feature_properties = feature_properties + + @property + def geometry(self): + """Gets the geometry of this GeoJSONFeaturesObject. # noqa: E501 + + + :return: The geometry of this GeoJSONFeaturesObject. # noqa: E501 + :rtype: GeoJSONGeometryObject + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this GeoJSONFeaturesObject. + + + :param geometry: The geometry of this GeoJSONFeaturesObject. # noqa: E501 + :type: GeoJSONGeometryObject + """ + + self._geometry = geometry + + @property + def type(self): + """Gets the type of this GeoJSONFeaturesObject. # noqa: E501 + + + :return: The type of this GeoJSONFeaturesObject. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeoJSONFeaturesObject. + + + :param type: The type of this GeoJSONFeaturesObject. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONFeaturesObject, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONFeaturesObject): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_geometry_object.py b/openrouteservice/models/geo_json_geometry_object.py new file mode 100644 index 00000000..8bb14208 --- /dev/null +++ b/openrouteservice/models/geo_json_geometry_object.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONGeometryObject(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'coordinates': 'list[float]', + 'type': 'str' + } + + attribute_map = { + 'coordinates': 'coordinates', + 'type': 'type' + } + + def __init__(self, coordinates=None, type='Point'): # noqa: E501 + """GeoJSONGeometryObject - a model defined in Swagger""" # noqa: E501 + self._coordinates = None + self._type = None + self.discriminator = None + if coordinates is not None: + self.coordinates = coordinates + if type is not None: + self.type = type + + @property + def coordinates(self): + """Gets the coordinates of this GeoJSONGeometryObject. # noqa: E501 + + + :return: The coordinates of this GeoJSONGeometryObject. # noqa: E501 + :rtype: list[float] + """ + return self._coordinates + + @coordinates.setter + def coordinates(self, coordinates): + """Sets the coordinates of this GeoJSONGeometryObject. + + + :param coordinates: The coordinates of this GeoJSONGeometryObject. # noqa: E501 + :type: list[float] + """ + + self._coordinates = coordinates + + @property + def type(self): + """Gets the type of this GeoJSONGeometryObject. # noqa: E501 + + + :return: The type of this GeoJSONGeometryObject. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeoJSONGeometryObject. + + + :param type: The type of this GeoJSONGeometryObject. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONGeometryObject, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONGeometryObject): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_isochrone_base.py b/openrouteservice/models/geo_json_isochrone_base.py new file mode 100644 index 00000000..b45658a6 --- /dev/null +++ b/openrouteservice/models/geo_json_isochrone_base.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONIsochroneBase(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'geometry': 'GeoJSONIsochroneBaseGeometry', + 'type': 'str' + } + + attribute_map = { + 'geometry': 'geometry', + 'type': 'type' + } + + def __init__(self, geometry=None, type=None): # noqa: E501 + """GeoJSONIsochroneBase - a model defined in Swagger""" # noqa: E501 + self._geometry = None + self._type = None + self.discriminator = None + if geometry is not None: + self.geometry = geometry + if type is not None: + self.type = type + + @property + def geometry(self): + """Gets the geometry of this GeoJSONIsochroneBase. # noqa: E501 + + + :return: The geometry of this GeoJSONIsochroneBase. # noqa: E501 + :rtype: GeoJSONIsochroneBaseGeometry + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this GeoJSONIsochroneBase. + + + :param geometry: The geometry of this GeoJSONIsochroneBase. # noqa: E501 + :type: GeoJSONIsochroneBaseGeometry + """ + + self._geometry = geometry + + @property + def type(self): + """Gets the type of this GeoJSONIsochroneBase. # noqa: E501 + + + :return: The type of this GeoJSONIsochroneBase. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeoJSONIsochroneBase. + + + :param type: The type of this GeoJSONIsochroneBase. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONIsochroneBase, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONIsochroneBase): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_isochrone_base_geometry.py b/openrouteservice/models/geo_json_isochrone_base_geometry.py new file mode 100644 index 00000000..d1750a8b --- /dev/null +++ b/openrouteservice/models/geo_json_isochrone_base_geometry.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONIsochroneBaseGeometry(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'empty': 'bool' + } + + attribute_map = { + 'empty': 'empty' + } + + def __init__(self, empty=None): # noqa: E501 + """GeoJSONIsochroneBaseGeometry - a model defined in Swagger""" # noqa: E501 + self._empty = None + self.discriminator = None + if empty is not None: + self.empty = empty + + @property + def empty(self): + """Gets the empty of this GeoJSONIsochroneBaseGeometry. # noqa: E501 + + + :return: The empty of this GeoJSONIsochroneBaseGeometry. # noqa: E501 + :rtype: bool + """ + return self._empty + + @empty.setter + def empty(self, empty): + """Sets the empty of this GeoJSONIsochroneBaseGeometry. + + + :param empty: The empty of this GeoJSONIsochroneBaseGeometry. # noqa: E501 + :type: bool + """ + + self._empty = empty + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONIsochroneBaseGeometry, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONIsochroneBaseGeometry): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_isochrones_response.py b/openrouteservice/models/geo_json_isochrones_response.py new file mode 100644 index 00000000..14f8791b --- /dev/null +++ b/openrouteservice/models/geo_json_isochrones_response.py @@ -0,0 +1,190 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONIsochronesResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bbox': 'list[float]', + 'features': 'list[GeoJSONIsochronesResponseFeatures]', + 'metadata': 'GeoJSONIsochronesResponseMetadata', + 'type': 'str' + } + + attribute_map = { + 'bbox': 'bbox', + 'features': 'features', + 'metadata': 'metadata', + 'type': 'type' + } + + def __init__(self, bbox=None, features=None, metadata=None, type=None): # noqa: E501 + """GeoJSONIsochronesResponse - a model defined in Swagger""" # noqa: E501 + self._bbox = None + self._features = None + self._metadata = None + self._type = None + self.discriminator = None + if bbox is not None: + self.bbox = bbox + if features is not None: + self.features = features + if metadata is not None: + self.metadata = metadata + if type is not None: + self.type = type + + @property + def bbox(self): + """Gets the bbox of this GeoJSONIsochronesResponse. # noqa: E501 + + Bounding box that covers all returned isochrones # noqa: E501 + + :return: The bbox of this GeoJSONIsochronesResponse. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this GeoJSONIsochronesResponse. + + Bounding box that covers all returned isochrones # noqa: E501 + + :param bbox: The bbox of this GeoJSONIsochronesResponse. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def features(self): + """Gets the features of this GeoJSONIsochronesResponse. # noqa: E501 + + + :return: The features of this GeoJSONIsochronesResponse. # noqa: E501 + :rtype: list[GeoJSONIsochronesResponseFeatures] + """ + return self._features + + @features.setter + def features(self, features): + """Sets the features of this GeoJSONIsochronesResponse. + + + :param features: The features of this GeoJSONIsochronesResponse. # noqa: E501 + :type: list[GeoJSONIsochronesResponseFeatures] + """ + + self._features = features + + @property + def metadata(self): + """Gets the metadata of this GeoJSONIsochronesResponse. # noqa: E501 + + + :return: The metadata of this GeoJSONIsochronesResponse. # noqa: E501 + :rtype: GeoJSONIsochronesResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this GeoJSONIsochronesResponse. + + + :param metadata: The metadata of this GeoJSONIsochronesResponse. # noqa: E501 + :type: GeoJSONIsochronesResponseMetadata + """ + + self._metadata = metadata + + @property + def type(self): + """Gets the type of this GeoJSONIsochronesResponse. # noqa: E501 + + + :return: The type of this GeoJSONIsochronesResponse. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeoJSONIsochronesResponse. + + + :param type: The type of this GeoJSONIsochronesResponse. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONIsochronesResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONIsochronesResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_isochrones_response_features.py b/openrouteservice/models/geo_json_isochrones_response_features.py new file mode 100644 index 00000000..c3a38a1d --- /dev/null +++ b/openrouteservice/models/geo_json_isochrones_response_features.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONIsochronesResponseFeatures(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'geometry': 'GeoJSONIsochroneBaseGeometry', + 'type': 'str' + } + + attribute_map = { + 'geometry': 'geometry', + 'type': 'type' + } + + def __init__(self, geometry=None, type=None): # noqa: E501 + """GeoJSONIsochronesResponseFeatures - a model defined in Swagger""" # noqa: E501 + self._geometry = None + self._type = None + self.discriminator = None + if geometry is not None: + self.geometry = geometry + if type is not None: + self.type = type + + @property + def geometry(self): + """Gets the geometry of this GeoJSONIsochronesResponseFeatures. # noqa: E501 + + + :return: The geometry of this GeoJSONIsochronesResponseFeatures. # noqa: E501 + :rtype: GeoJSONIsochroneBaseGeometry + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this GeoJSONIsochronesResponseFeatures. + + + :param geometry: The geometry of this GeoJSONIsochronesResponseFeatures. # noqa: E501 + :type: GeoJSONIsochroneBaseGeometry + """ + + self._geometry = geometry + + @property + def type(self): + """Gets the type of this GeoJSONIsochronesResponseFeatures. # noqa: E501 + + + :return: The type of this GeoJSONIsochronesResponseFeatures. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeoJSONIsochronesResponseFeatures. + + + :param type: The type of this GeoJSONIsochronesResponseFeatures. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONIsochronesResponseFeatures, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONIsochronesResponseFeatures): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_isochrones_response_metadata.py b/openrouteservice/models/geo_json_isochrones_response_metadata.py new file mode 100644 index 00000000..d4cb19eb --- /dev/null +++ b/openrouteservice/models/geo_json_isochrones_response_metadata.py @@ -0,0 +1,304 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONIsochronesResponseMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attribution': 'str', + 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'id': 'str', + 'osm_file_md5_hash': 'str', + 'query': 'IsochronesProfileBody', + 'service': 'str', + 'system_message': 'str', + 'timestamp': 'int' + } + + attribute_map = { + 'attribution': 'attribution', + 'engine': 'engine', + 'id': 'id', + 'osm_file_md5_hash': 'osm_file_md5_hash', + 'query': 'query', + 'service': 'service', + 'system_message': 'system_message', + 'timestamp': 'timestamp' + } + + def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 + """GeoJSONIsochronesResponseMetadata - a model defined in Swagger""" # noqa: E501 + self._attribution = None + self._engine = None + self._id = None + self._osm_file_md5_hash = None + self._query = None + self._service = None + self._system_message = None + self._timestamp = None + self.discriminator = None + if attribution is not None: + self.attribution = attribution + if engine is not None: + self.engine = engine + if id is not None: + self.id = id + if osm_file_md5_hash is not None: + self.osm_file_md5_hash = osm_file_md5_hash + if query is not None: + self.query = query + if service is not None: + self.service = service + if system_message is not None: + self.system_message = system_message + if timestamp is not None: + self.timestamp = timestamp + + @property + def attribution(self): + """Gets the attribution of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + + Copyright and attribution information # noqa: E501 + + :return: The attribution of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._attribution + + @attribution.setter + def attribution(self, attribution): + """Sets the attribution of this GeoJSONIsochronesResponseMetadata. + + Copyright and attribution information # noqa: E501 + + :param attribution: The attribution of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :type: str + """ + + self._attribution = attribution + + @property + def engine(self): + """Gets the engine of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + + + :return: The engine of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :rtype: GeoJSONIsochronesResponseMetadataEngine + """ + return self._engine + + @engine.setter + def engine(self, engine): + """Sets the engine of this GeoJSONIsochronesResponseMetadata. + + + :param engine: The engine of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :type: GeoJSONIsochronesResponseMetadataEngine + """ + + self._engine = engine + + @property + def id(self): + """Gets the id of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + + ID of the request (as passed in by the query) # noqa: E501 + + :return: The id of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GeoJSONIsochronesResponseMetadata. + + ID of the request (as passed in by the query) # noqa: E501 + + :param id: The id of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def osm_file_md5_hash(self): + """Gets the osm_file_md5_hash of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :return: The osm_file_md5_hash of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._osm_file_md5_hash + + @osm_file_md5_hash.setter + def osm_file_md5_hash(self, osm_file_md5_hash): + """Sets the osm_file_md5_hash of this GeoJSONIsochronesResponseMetadata. + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :param osm_file_md5_hash: The osm_file_md5_hash of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :type: str + """ + + self._osm_file_md5_hash = osm_file_md5_hash + + @property + def query(self): + """Gets the query of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + + + :return: The query of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :rtype: IsochronesProfileBody + """ + return self._query + + @query.setter + def query(self, query): + """Sets the query of this GeoJSONIsochronesResponseMetadata. + + + :param query: The query of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :type: IsochronesProfileBody + """ + + self._query = query + + @property + def service(self): + """Gets the service of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + + The service that was requested # noqa: E501 + + :return: The service of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this GeoJSONIsochronesResponseMetadata. + + The service that was requested # noqa: E501 + + :param service: The service of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :type: str + """ + + self._service = service + + @property + def system_message(self): + """Gets the system_message of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + + System message # noqa: E501 + + :return: The system_message of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._system_message + + @system_message.setter + def system_message(self, system_message): + """Sets the system_message of this GeoJSONIsochronesResponseMetadata. + + System message # noqa: E501 + + :param system_message: The system_message of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :type: str + """ + + self._system_message = system_message + + @property + def timestamp(self): + """Gets the timestamp of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :return: The timestamp of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :rtype: int + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this GeoJSONIsochronesResponseMetadata. + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :param timestamp: The timestamp of this GeoJSONIsochronesResponseMetadata. # noqa: E501 + :type: int + """ + + self._timestamp = timestamp + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONIsochronesResponseMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONIsochronesResponseMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_isochrones_response_metadata_engine.py b/openrouteservice/models/geo_json_isochrones_response_metadata_engine.py new file mode 100644 index 00000000..b631afaf --- /dev/null +++ b/openrouteservice/models/geo_json_isochrones_response_metadata_engine.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONIsochronesResponseMetadataEngine(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'build_date': 'str', + 'graph_date': 'str', + 'version': 'str' + } + + attribute_map = { + 'build_date': 'build_date', + 'graph_date': 'graph_date', + 'version': 'version' + } + + def __init__(self, build_date=None, graph_date=None, version=None): # noqa: E501 + """GeoJSONIsochronesResponseMetadataEngine - a model defined in Swagger""" # noqa: E501 + self._build_date = None + self._graph_date = None + self._version = None + self.discriminator = None + if build_date is not None: + self.build_date = build_date + if graph_date is not None: + self.graph_date = graph_date + if version is not None: + self.version = version + + @property + def build_date(self): + """Gets the build_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 + + The date that the service was last updated # noqa: E501 + + :return: The build_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 + :rtype: str + """ + return self._build_date + + @build_date.setter + def build_date(self, build_date): + """Sets the build_date of this GeoJSONIsochronesResponseMetadataEngine. + + The date that the service was last updated # noqa: E501 + + :param build_date: The build_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 + :type: str + """ + + self._build_date = build_date + + @property + def graph_date(self): + """Gets the graph_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 + + The date that the graph data was last updated # noqa: E501 + + :return: The graph_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 + :rtype: str + """ + return self._graph_date + + @graph_date.setter + def graph_date(self, graph_date): + """Sets the graph_date of this GeoJSONIsochronesResponseMetadataEngine. + + The date that the graph data was last updated # noqa: E501 + + :param graph_date: The graph_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 + :type: str + """ + + self._graph_date = graph_date + + @property + def version(self): + """Gets the version of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 + + The backend version of the openrouteservice that was queried # noqa: E501 + + :return: The version of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this GeoJSONIsochronesResponseMetadataEngine. + + The backend version of the openrouteservice that was queried # noqa: E501 + + :param version: The version of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 + :type: str + """ + + self._version = version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONIsochronesResponseMetadataEngine, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONIsochronesResponseMetadataEngine): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_properties_object.py b/openrouteservice/models/geo_json_properties_object.py new file mode 100644 index 00000000..d73b98ce --- /dev/null +++ b/openrouteservice/models/geo_json_properties_object.py @@ -0,0 +1,214 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONPropertiesObject(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'category_ids': 'GeoJSONPropertiesObjectCategoryIds', + 'distance': 'float', + 'osm_id': 'float', + 'osm_tags': 'GeoJSONPropertiesObjectOsmTags', + 'osm_type': 'float' + } + + attribute_map = { + 'category_ids': 'category_ids', + 'distance': 'distance', + 'osm_id': 'osm_id', + 'osm_tags': 'osm_tags', + 'osm_type': 'osm_type' + } + + def __init__(self, category_ids=None, distance=None, osm_id=None, osm_tags=None, osm_type=None): # noqa: E501 + """GeoJSONPropertiesObject - a model defined in Swagger""" # noqa: E501 + self._category_ids = None + self._distance = None + self._osm_id = None + self._osm_tags = None + self._osm_type = None + self.discriminator = None + if category_ids is not None: + self.category_ids = category_ids + if distance is not None: + self.distance = distance + if osm_id is not None: + self.osm_id = osm_id + if osm_tags is not None: + self.osm_tags = osm_tags + if osm_type is not None: + self.osm_type = osm_type + + @property + def category_ids(self): + """Gets the category_ids of this GeoJSONPropertiesObject. # noqa: E501 + + + :return: The category_ids of this GeoJSONPropertiesObject. # noqa: E501 + :rtype: GeoJSONPropertiesObjectCategoryIds + """ + return self._category_ids + + @category_ids.setter + def category_ids(self, category_ids): + """Sets the category_ids of this GeoJSONPropertiesObject. + + + :param category_ids: The category_ids of this GeoJSONPropertiesObject. # noqa: E501 + :type: GeoJSONPropertiesObjectCategoryIds + """ + + self._category_ids = category_ids + + @property + def distance(self): + """Gets the distance of this GeoJSONPropertiesObject. # noqa: E501 + + + :return: The distance of this GeoJSONPropertiesObject. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this GeoJSONPropertiesObject. + + + :param distance: The distance of this GeoJSONPropertiesObject. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def osm_id(self): + """Gets the osm_id of this GeoJSONPropertiesObject. # noqa: E501 + + + :return: The osm_id of this GeoJSONPropertiesObject. # noqa: E501 + :rtype: float + """ + return self._osm_id + + @osm_id.setter + def osm_id(self, osm_id): + """Sets the osm_id of this GeoJSONPropertiesObject. + + + :param osm_id: The osm_id of this GeoJSONPropertiesObject. # noqa: E501 + :type: float + """ + + self._osm_id = osm_id + + @property + def osm_tags(self): + """Gets the osm_tags of this GeoJSONPropertiesObject. # noqa: E501 + + + :return: The osm_tags of this GeoJSONPropertiesObject. # noqa: E501 + :rtype: GeoJSONPropertiesObjectOsmTags + """ + return self._osm_tags + + @osm_tags.setter + def osm_tags(self, osm_tags): + """Sets the osm_tags of this GeoJSONPropertiesObject. + + + :param osm_tags: The osm_tags of this GeoJSONPropertiesObject. # noqa: E501 + :type: GeoJSONPropertiesObjectOsmTags + """ + + self._osm_tags = osm_tags + + @property + def osm_type(self): + """Gets the osm_type of this GeoJSONPropertiesObject. # noqa: E501 + + + :return: The osm_type of this GeoJSONPropertiesObject. # noqa: E501 + :rtype: float + """ + return self._osm_type + + @osm_type.setter + def osm_type(self, osm_type): + """Sets the osm_type of this GeoJSONPropertiesObject. + + + :param osm_type: The osm_type of this GeoJSONPropertiesObject. # noqa: E501 + :type: float + """ + + self._osm_type = osm_type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONPropertiesObject, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONPropertiesObject): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_properties_object_category_ids.py b/openrouteservice/models/geo_json_properties_object_category_ids.py new file mode 100644 index 00000000..0459a52d --- /dev/null +++ b/openrouteservice/models/geo_json_properties_object_category_ids.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONPropertiesObjectCategoryIds(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'category_id': 'GeoJSONPropertiesObjectCategoryIdsCategoryId' + } + + attribute_map = { + 'category_id': 'category_id' + } + + def __init__(self, category_id=None): # noqa: E501 + """GeoJSONPropertiesObjectCategoryIds - a model defined in Swagger""" # noqa: E501 + self._category_id = None + self.discriminator = None + if category_id is not None: + self.category_id = category_id + + @property + def category_id(self): + """Gets the category_id of this GeoJSONPropertiesObjectCategoryIds. # noqa: E501 + + + :return: The category_id of this GeoJSONPropertiesObjectCategoryIds. # noqa: E501 + :rtype: GeoJSONPropertiesObjectCategoryIdsCategoryId + """ + return self._category_id + + @category_id.setter + def category_id(self, category_id): + """Sets the category_id of this GeoJSONPropertiesObjectCategoryIds. + + + :param category_id: The category_id of this GeoJSONPropertiesObjectCategoryIds. # noqa: E501 + :type: GeoJSONPropertiesObjectCategoryIdsCategoryId + """ + + self._category_id = category_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONPropertiesObjectCategoryIds, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONPropertiesObjectCategoryIds): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_properties_object_category_ids_category_id.py b/openrouteservice/models/geo_json_properties_object_category_ids_category_id.py new file mode 100644 index 00000000..19cbdc3a --- /dev/null +++ b/openrouteservice/models/geo_json_properties_object_category_ids_category_id.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONPropertiesObjectCategoryIdsCategoryId(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'category_group': 'float', + 'category_name': 'str' + } + + attribute_map = { + 'category_group': 'category_group', + 'category_name': 'category_name' + } + + def __init__(self, category_group=None, category_name=None): # noqa: E501 + """GeoJSONPropertiesObjectCategoryIdsCategoryId - a model defined in Swagger""" # noqa: E501 + self._category_group = None + self._category_name = None + self.discriminator = None + if category_group is not None: + self.category_group = category_group + if category_name is not None: + self.category_name = category_name + + @property + def category_group(self): + """Gets the category_group of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 + + + :return: The category_group of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 + :rtype: float + """ + return self._category_group + + @category_group.setter + def category_group(self, category_group): + """Sets the category_group of this GeoJSONPropertiesObjectCategoryIdsCategoryId. + + + :param category_group: The category_group of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 + :type: float + """ + + self._category_group = category_group + + @property + def category_name(self): + """Gets the category_name of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 + + + :return: The category_name of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 + :rtype: str + """ + return self._category_name + + @category_name.setter + def category_name(self, category_name): + """Sets the category_name of this GeoJSONPropertiesObjectCategoryIdsCategoryId. + + + :param category_name: The category_name of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 + :type: str + """ + + self._category_name = category_name + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONPropertiesObjectCategoryIdsCategoryId, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONPropertiesObjectCategoryIdsCategoryId): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_properties_object_osm_tags.py b/openrouteservice/models/geo_json_properties_object_osm_tags.py new file mode 100644 index 00000000..0c441430 --- /dev/null +++ b/openrouteservice/models/geo_json_properties_object_osm_tags.py @@ -0,0 +1,266 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONPropertiesObjectOsmTags(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'address': 'str', + 'distance': 'str', + 'fee': 'str', + 'name': 'str', + 'opening_hours': 'str', + 'website': 'str', + 'wheelchair': 'str' + } + + attribute_map = { + 'address': 'address', + 'distance': 'distance', + 'fee': 'fee', + 'name': 'name', + 'opening_hours': 'opening_hours', + 'website': 'website', + 'wheelchair': 'wheelchair' + } + + def __init__(self, address=None, distance=None, fee=None, name=None, opening_hours=None, website=None, wheelchair=None): # noqa: E501 + """GeoJSONPropertiesObjectOsmTags - a model defined in Swagger""" # noqa: E501 + self._address = None + self._distance = None + self._fee = None + self._name = None + self._opening_hours = None + self._website = None + self._wheelchair = None + self.discriminator = None + if address is not None: + self.address = address + if distance is not None: + self.distance = distance + if fee is not None: + self.fee = fee + if name is not None: + self.name = name + if opening_hours is not None: + self.opening_hours = opening_hours + if website is not None: + self.website = website + if wheelchair is not None: + self.wheelchair = wheelchair + + @property + def address(self): + """Gets the address of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + + + :return: The address of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :rtype: str + """ + return self._address + + @address.setter + def address(self, address): + """Sets the address of this GeoJSONPropertiesObjectOsmTags. + + + :param address: The address of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :type: str + """ + + self._address = address + + @property + def distance(self): + """Gets the distance of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + + + :return: The distance of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :rtype: str + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this GeoJSONPropertiesObjectOsmTags. + + + :param distance: The distance of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :type: str + """ + + self._distance = distance + + @property + def fee(self): + """Gets the fee of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + + + :return: The fee of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :rtype: str + """ + return self._fee + + @fee.setter + def fee(self, fee): + """Sets the fee of this GeoJSONPropertiesObjectOsmTags. + + + :param fee: The fee of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :type: str + """ + + self._fee = fee + + @property + def name(self): + """Gets the name of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + + + :return: The name of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this GeoJSONPropertiesObjectOsmTags. + + + :param name: The name of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def opening_hours(self): + """Gets the opening_hours of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + + + :return: The opening_hours of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :rtype: str + """ + return self._opening_hours + + @opening_hours.setter + def opening_hours(self, opening_hours): + """Sets the opening_hours of this GeoJSONPropertiesObjectOsmTags. + + + :param opening_hours: The opening_hours of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :type: str + """ + + self._opening_hours = opening_hours + + @property + def website(self): + """Gets the website of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + + + :return: The website of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :rtype: str + """ + return self._website + + @website.setter + def website(self, website): + """Sets the website of this GeoJSONPropertiesObjectOsmTags. + + + :param website: The website of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :type: str + """ + + self._website = website + + @property + def wheelchair(self): + """Gets the wheelchair of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + + + :return: The wheelchair of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :rtype: str + """ + return self._wheelchair + + @wheelchair.setter + def wheelchair(self, wheelchair): + """Sets the wheelchair of this GeoJSONPropertiesObjectOsmTags. + + + :param wheelchair: The wheelchair of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 + :type: str + """ + + self._wheelchair = wheelchair + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONPropertiesObjectOsmTags, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONPropertiesObjectOsmTags): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_route_response.py b/openrouteservice/models/geo_json_route_response.py new file mode 100644 index 00000000..3dbc9c06 --- /dev/null +++ b/openrouteservice/models/geo_json_route_response.py @@ -0,0 +1,190 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONRouteResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bbox': 'list[float]', + 'features': 'list[object]', + 'metadata': 'GeoJSONRouteResponseMetadata', + 'type': 'str' + } + + attribute_map = { + 'bbox': 'bbox', + 'features': 'features', + 'metadata': 'metadata', + 'type': 'type' + } + + def __init__(self, bbox=None, features=None, metadata=None, type=None): # noqa: E501 + """GeoJSONRouteResponse - a model defined in Swagger""" # noqa: E501 + self._bbox = None + self._features = None + self._metadata = None + self._type = None + self.discriminator = None + if bbox is not None: + self.bbox = bbox + if features is not None: + self.features = features + if metadata is not None: + self.metadata = metadata + if type is not None: + self.type = type + + @property + def bbox(self): + """Gets the bbox of this GeoJSONRouteResponse. # noqa: E501 + + Bounding box that covers all returned routes # noqa: E501 + + :return: The bbox of this GeoJSONRouteResponse. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this GeoJSONRouteResponse. + + Bounding box that covers all returned routes # noqa: E501 + + :param bbox: The bbox of this GeoJSONRouteResponse. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def features(self): + """Gets the features of this GeoJSONRouteResponse. # noqa: E501 + + + :return: The features of this GeoJSONRouteResponse. # noqa: E501 + :rtype: list[object] + """ + return self._features + + @features.setter + def features(self, features): + """Sets the features of this GeoJSONRouteResponse. + + + :param features: The features of this GeoJSONRouteResponse. # noqa: E501 + :type: list[object] + """ + + self._features = features + + @property + def metadata(self): + """Gets the metadata of this GeoJSONRouteResponse. # noqa: E501 + + + :return: The metadata of this GeoJSONRouteResponse. # noqa: E501 + :rtype: GeoJSONRouteResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this GeoJSONRouteResponse. + + + :param metadata: The metadata of this GeoJSONRouteResponse. # noqa: E501 + :type: GeoJSONRouteResponseMetadata + """ + + self._metadata = metadata + + @property + def type(self): + """Gets the type of this GeoJSONRouteResponse. # noqa: E501 + + + :return: The type of this GeoJSONRouteResponse. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeoJSONRouteResponse. + + + :param type: The type of this GeoJSONRouteResponse. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONRouteResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONRouteResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_route_response_metadata.py b/openrouteservice/models/geo_json_route_response_metadata.py new file mode 100644 index 00000000..f1723c7b --- /dev/null +++ b/openrouteservice/models/geo_json_route_response_metadata.py @@ -0,0 +1,304 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONRouteResponseMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attribution': 'str', + 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'id': 'str', + 'osm_file_md5_hash': 'str', + 'query': 'DirectionsService1', + 'service': 'str', + 'system_message': 'str', + 'timestamp': 'int' + } + + attribute_map = { + 'attribution': 'attribution', + 'engine': 'engine', + 'id': 'id', + 'osm_file_md5_hash': 'osm_file_md5_hash', + 'query': 'query', + 'service': 'service', + 'system_message': 'system_message', + 'timestamp': 'timestamp' + } + + def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 + """GeoJSONRouteResponseMetadata - a model defined in Swagger""" # noqa: E501 + self._attribution = None + self._engine = None + self._id = None + self._osm_file_md5_hash = None + self._query = None + self._service = None + self._system_message = None + self._timestamp = None + self.discriminator = None + if attribution is not None: + self.attribution = attribution + if engine is not None: + self.engine = engine + if id is not None: + self.id = id + if osm_file_md5_hash is not None: + self.osm_file_md5_hash = osm_file_md5_hash + if query is not None: + self.query = query + if service is not None: + self.service = service + if system_message is not None: + self.system_message = system_message + if timestamp is not None: + self.timestamp = timestamp + + @property + def attribution(self): + """Gets the attribution of this GeoJSONRouteResponseMetadata. # noqa: E501 + + Copyright and attribution information # noqa: E501 + + :return: The attribution of this GeoJSONRouteResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._attribution + + @attribution.setter + def attribution(self, attribution): + """Sets the attribution of this GeoJSONRouteResponseMetadata. + + Copyright and attribution information # noqa: E501 + + :param attribution: The attribution of this GeoJSONRouteResponseMetadata. # noqa: E501 + :type: str + """ + + self._attribution = attribution + + @property + def engine(self): + """Gets the engine of this GeoJSONRouteResponseMetadata. # noqa: E501 + + + :return: The engine of this GeoJSONRouteResponseMetadata. # noqa: E501 + :rtype: GeoJSONIsochronesResponseMetadataEngine + """ + return self._engine + + @engine.setter + def engine(self, engine): + """Sets the engine of this GeoJSONRouteResponseMetadata. + + + :param engine: The engine of this GeoJSONRouteResponseMetadata. # noqa: E501 + :type: GeoJSONIsochronesResponseMetadataEngine + """ + + self._engine = engine + + @property + def id(self): + """Gets the id of this GeoJSONRouteResponseMetadata. # noqa: E501 + + ID of the request (as passed in by the query) # noqa: E501 + + :return: The id of this GeoJSONRouteResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GeoJSONRouteResponseMetadata. + + ID of the request (as passed in by the query) # noqa: E501 + + :param id: The id of this GeoJSONRouteResponseMetadata. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def osm_file_md5_hash(self): + """Gets the osm_file_md5_hash of this GeoJSONRouteResponseMetadata. # noqa: E501 + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :return: The osm_file_md5_hash of this GeoJSONRouteResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._osm_file_md5_hash + + @osm_file_md5_hash.setter + def osm_file_md5_hash(self, osm_file_md5_hash): + """Sets the osm_file_md5_hash of this GeoJSONRouteResponseMetadata. + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :param osm_file_md5_hash: The osm_file_md5_hash of this GeoJSONRouteResponseMetadata. # noqa: E501 + :type: str + """ + + self._osm_file_md5_hash = osm_file_md5_hash + + @property + def query(self): + """Gets the query of this GeoJSONRouteResponseMetadata. # noqa: E501 + + + :return: The query of this GeoJSONRouteResponseMetadata. # noqa: E501 + :rtype: DirectionsService1 + """ + return self._query + + @query.setter + def query(self, query): + """Sets the query of this GeoJSONRouteResponseMetadata. + + + :param query: The query of this GeoJSONRouteResponseMetadata. # noqa: E501 + :type: DirectionsService1 + """ + + self._query = query + + @property + def service(self): + """Gets the service of this GeoJSONRouteResponseMetadata. # noqa: E501 + + The service that was requested # noqa: E501 + + :return: The service of this GeoJSONRouteResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this GeoJSONRouteResponseMetadata. + + The service that was requested # noqa: E501 + + :param service: The service of this GeoJSONRouteResponseMetadata. # noqa: E501 + :type: str + """ + + self._service = service + + @property + def system_message(self): + """Gets the system_message of this GeoJSONRouteResponseMetadata. # noqa: E501 + + System message # noqa: E501 + + :return: The system_message of this GeoJSONRouteResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._system_message + + @system_message.setter + def system_message(self, system_message): + """Sets the system_message of this GeoJSONRouteResponseMetadata. + + System message # noqa: E501 + + :param system_message: The system_message of this GeoJSONRouteResponseMetadata. # noqa: E501 + :type: str + """ + + self._system_message = system_message + + @property + def timestamp(self): + """Gets the timestamp of this GeoJSONRouteResponseMetadata. # noqa: E501 + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :return: The timestamp of this GeoJSONRouteResponseMetadata. # noqa: E501 + :rtype: int + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this GeoJSONRouteResponseMetadata. + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :param timestamp: The timestamp of this GeoJSONRouteResponseMetadata. # noqa: E501 + :type: int + """ + + self._timestamp = timestamp + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONRouteResponseMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONRouteResponseMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geocode_response.py b/openrouteservice/models/geocode_response.py new file mode 100644 index 00000000..1e2cd00c --- /dev/null +++ b/openrouteservice/models/geocode_response.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeocodeResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bbox': 'list[float]', + 'features': 'list[object]', + 'geocoding': 'object', + 'type': 'str' + } + + attribute_map = { + 'bbox': 'bbox', + 'features': 'features', + 'geocoding': 'geocoding', + 'type': 'type' + } + + def __init__(self, bbox=None, features=None, geocoding=None, type=None): # noqa: E501 + """GeocodeResponse - a model defined in Swagger""" # noqa: E501 + self._bbox = None + self._features = None + self._geocoding = None + self._type = None + self.discriminator = None + if bbox is not None: + self.bbox = bbox + if features is not None: + self.features = features + if geocoding is not None: + self.geocoding = geocoding + if type is not None: + self.type = type + + @property + def bbox(self): + """Gets the bbox of this GeocodeResponse. # noqa: E501 + + + :return: The bbox of this GeocodeResponse. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this GeocodeResponse. + + + :param bbox: The bbox of this GeocodeResponse. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def features(self): + """Gets the features of this GeocodeResponse. # noqa: E501 + + + :return: The features of this GeocodeResponse. # noqa: E501 + :rtype: list[object] + """ + return self._features + + @features.setter + def features(self, features): + """Sets the features of this GeocodeResponse. + + + :param features: The features of this GeocodeResponse. # noqa: E501 + :type: list[object] + """ + + self._features = features + + @property + def geocoding(self): + """Gets the geocoding of this GeocodeResponse. # noqa: E501 + + + :return: The geocoding of this GeocodeResponse. # noqa: E501 + :rtype: object + """ + return self._geocoding + + @geocoding.setter + def geocoding(self, geocoding): + """Sets the geocoding of this GeocodeResponse. + + + :param geocoding: The geocoding of this GeocodeResponse. # noqa: E501 + :type: object + """ + + self._geocoding = geocoding + + @property + def type(self): + """Gets the type of this GeocodeResponse. # noqa: E501 + + + :return: The type of this GeocodeResponse. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeocodeResponse. + + + :param type: The type of this GeocodeResponse. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeocodeResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeocodeResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/gpx.py b/openrouteservice/models/gpx.py new file mode 100644 index 00000000..d059994e --- /dev/null +++ b/openrouteservice/models/gpx.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Gpx(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'gpx_route_elements': 'list[object]' + } + + attribute_map = { + 'gpx_route_elements': 'gpxRouteElements' + } + + def __init__(self, gpx_route_elements=None): # noqa: E501 + """Gpx - a model defined in Swagger""" # noqa: E501 + self._gpx_route_elements = None + self.discriminator = None + if gpx_route_elements is not None: + self.gpx_route_elements = gpx_route_elements + + @property + def gpx_route_elements(self): + """Gets the gpx_route_elements of this Gpx. # noqa: E501 + + + :return: The gpx_route_elements of this Gpx. # noqa: E501 + :rtype: list[object] + """ + return self._gpx_route_elements + + @gpx_route_elements.setter + def gpx_route_elements(self, gpx_route_elements): + """Sets the gpx_route_elements of this Gpx. + + + :param gpx_route_elements: The gpx_route_elements of this Gpx. # noqa: E501 + :type: list[object] + """ + + self._gpx_route_elements = gpx_route_elements + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(Gpx, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Gpx): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/graph_export_service.py b/openrouteservice/models/graph_export_service.py new file mode 100644 index 00000000..fe9e2a83 --- /dev/null +++ b/openrouteservice/models/graph_export_service.py @@ -0,0 +1,141 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GraphExportService(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bbox': 'list[list[float]]', + 'id': 'str' + } + + attribute_map = { + 'bbox': 'bbox', + 'id': 'id' + } + + def __init__(self, bbox=None, id=None): # noqa: E501 + """GraphExportService - a model defined in Swagger""" # noqa: E501 + self._bbox = None + self._id = None + self.discriminator = None + self.bbox = bbox + if id is not None: + self.id = id + + @property + def bbox(self): + """Gets the bbox of this GraphExportService. # noqa: E501 + + The bounding box to use for the request as an array of `longitude/latitude` pairs # noqa: E501 + + :return: The bbox of this GraphExportService. # noqa: E501 + :rtype: list[list[float]] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this GraphExportService. + + The bounding box to use for the request as an array of `longitude/latitude` pairs # noqa: E501 + + :param bbox: The bbox of this GraphExportService. # noqa: E501 + :type: list[list[float]] + """ + if bbox is None: + raise ValueError("Invalid value for `bbox`, must not be `None`") # noqa: E501 + + self._bbox = bbox + + @property + def id(self): + """Gets the id of this GraphExportService. # noqa: E501 + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :return: The id of this GraphExportService. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this GraphExportService. + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :param id: The id of this GraphExportService. # noqa: E501 + :type: str + """ + + self._id = id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GraphExportService, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GraphExportService): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response200.py b/openrouteservice/models/inline_response200.py new file mode 100644 index 00000000..2d32ea90 --- /dev/null +++ b/openrouteservice/models/inline_response200.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse200(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attribution': 'str', + 'geometry': 'InlineResponse200Geometry', + 'timestamp': 'int', + 'version': 'str' + } + + attribute_map = { + 'attribution': 'attribution', + 'geometry': 'geometry', + 'timestamp': 'timestamp', + 'version': 'version' + } + + def __init__(self, attribution=None, geometry=None, timestamp=None, version=None): # noqa: E501 + """InlineResponse200 - a model defined in Swagger""" # noqa: E501 + self._attribution = None + self._geometry = None + self._timestamp = None + self._version = None + self.discriminator = None + if attribution is not None: + self.attribution = attribution + if geometry is not None: + self.geometry = geometry + if timestamp is not None: + self.timestamp = timestamp + if version is not None: + self.version = version + + @property + def attribution(self): + """Gets the attribution of this InlineResponse200. # noqa: E501 + + + :return: The attribution of this InlineResponse200. # noqa: E501 + :rtype: str + """ + return self._attribution + + @attribution.setter + def attribution(self, attribution): + """Sets the attribution of this InlineResponse200. + + + :param attribution: The attribution of this InlineResponse200. # noqa: E501 + :type: str + """ + + self._attribution = attribution + + @property + def geometry(self): + """Gets the geometry of this InlineResponse200. # noqa: E501 + + + :return: The geometry of this InlineResponse200. # noqa: E501 + :rtype: InlineResponse200Geometry + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this InlineResponse200. + + + :param geometry: The geometry of this InlineResponse200. # noqa: E501 + :type: InlineResponse200Geometry + """ + + self._geometry = geometry + + @property + def timestamp(self): + """Gets the timestamp of this InlineResponse200. # noqa: E501 + + + :return: The timestamp of this InlineResponse200. # noqa: E501 + :rtype: int + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this InlineResponse200. + + + :param timestamp: The timestamp of this InlineResponse200. # noqa: E501 + :type: int + """ + + self._timestamp = timestamp + + @property + def version(self): + """Gets the version of this InlineResponse200. # noqa: E501 + + + :return: The version of this InlineResponse200. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this InlineResponse200. + + + :param version: The version of this InlineResponse200. # noqa: E501 + :type: str + """ + + self._version = version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse200, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse200): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2001.py b/openrouteservice/models/inline_response2001.py new file mode 100644 index 00000000..195da092 --- /dev/null +++ b/openrouteservice/models/inline_response2001.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2001(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attribution': 'str', + 'geometry': 'InlineResponse2001Geometry', + 'timestamp': 'int', + 'version': 'str' + } + + attribute_map = { + 'attribution': 'attribution', + 'geometry': 'geometry', + 'timestamp': 'timestamp', + 'version': 'version' + } + + def __init__(self, attribution=None, geometry=None, timestamp=None, version=None): # noqa: E501 + """InlineResponse2001 - a model defined in Swagger""" # noqa: E501 + self._attribution = None + self._geometry = None + self._timestamp = None + self._version = None + self.discriminator = None + if attribution is not None: + self.attribution = attribution + if geometry is not None: + self.geometry = geometry + if timestamp is not None: + self.timestamp = timestamp + if version is not None: + self.version = version + + @property + def attribution(self): + """Gets the attribution of this InlineResponse2001. # noqa: E501 + + + :return: The attribution of this InlineResponse2001. # noqa: E501 + :rtype: str + """ + return self._attribution + + @attribution.setter + def attribution(self, attribution): + """Sets the attribution of this InlineResponse2001. + + + :param attribution: The attribution of this InlineResponse2001. # noqa: E501 + :type: str + """ + + self._attribution = attribution + + @property + def geometry(self): + """Gets the geometry of this InlineResponse2001. # noqa: E501 + + + :return: The geometry of this InlineResponse2001. # noqa: E501 + :rtype: InlineResponse2001Geometry + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this InlineResponse2001. + + + :param geometry: The geometry of this InlineResponse2001. # noqa: E501 + :type: InlineResponse2001Geometry + """ + + self._geometry = geometry + + @property + def timestamp(self): + """Gets the timestamp of this InlineResponse2001. # noqa: E501 + + + :return: The timestamp of this InlineResponse2001. # noqa: E501 + :rtype: int + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this InlineResponse2001. + + + :param timestamp: The timestamp of this InlineResponse2001. # noqa: E501 + :type: int + """ + + self._timestamp = timestamp + + @property + def version(self): + """Gets the version of this InlineResponse2001. # noqa: E501 + + + :return: The version of this InlineResponse2001. # noqa: E501 + :rtype: str + """ + return self._version + + @version.setter + def version(self, version): + """Sets the version of this InlineResponse2001. + + + :param version: The version of this InlineResponse2001. # noqa: E501 + :type: str + """ + + self._version = version + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2001, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2001): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2001_geometry.py b/openrouteservice/models/inline_response2001_geometry.py new file mode 100644 index 00000000..bd5b2c91 --- /dev/null +++ b/openrouteservice/models/inline_response2001_geometry.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2001Geometry(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'coordinates': 'list[float]', + 'type': 'str' + } + + attribute_map = { + 'coordinates': 'coordinates', + 'type': 'type' + } + + def __init__(self, coordinates=None, type=None): # noqa: E501 + """InlineResponse2001Geometry - a model defined in Swagger""" # noqa: E501 + self._coordinates = None + self._type = None + self.discriminator = None + if coordinates is not None: + self.coordinates = coordinates + if type is not None: + self.type = type + + @property + def coordinates(self): + """Gets the coordinates of this InlineResponse2001Geometry. # noqa: E501 + + + :return: The coordinates of this InlineResponse2001Geometry. # noqa: E501 + :rtype: list[float] + """ + return self._coordinates + + @coordinates.setter + def coordinates(self, coordinates): + """Sets the coordinates of this InlineResponse2001Geometry. + + + :param coordinates: The coordinates of this InlineResponse2001Geometry. # noqa: E501 + :type: list[float] + """ + + self._coordinates = coordinates + + @property + def type(self): + """Gets the type of this InlineResponse2001Geometry. # noqa: E501 + + + :return: The type of this InlineResponse2001Geometry. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this InlineResponse2001Geometry. + + + :param type: The type of this InlineResponse2001Geometry. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2001Geometry, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2001Geometry): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2002.py b/openrouteservice/models/inline_response2002.py new file mode 100644 index 00000000..31fa9d0e --- /dev/null +++ b/openrouteservice/models/inline_response2002.py @@ -0,0 +1,222 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2002(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'code': 'int', + 'error': 'str', + 'routes': 'list[InlineResponse2002Routes]', + 'summary': 'InlineResponse2002Summary', + 'unassigned': 'list[InlineResponse2002Unassigned]' + } + + attribute_map = { + 'code': 'code', + 'error': 'error', + 'routes': 'routes', + 'summary': 'summary', + 'unassigned': 'unassigned' + } + + def __init__(self, code=None, error=None, routes=None, summary=None, unassigned=None): # noqa: E501 + """InlineResponse2002 - a model defined in Swagger""" # noqa: E501 + self._code = None + self._error = None + self._routes = None + self._summary = None + self._unassigned = None + self.discriminator = None + if code is not None: + self.code = code + if error is not None: + self.error = error + if routes is not None: + self.routes = routes + if summary is not None: + self.summary = summary + if unassigned is not None: + self.unassigned = unassigned + + @property + def code(self): + """Gets the code of this InlineResponse2002. # noqa: E501 + + status code. Possible values: Value | Status | :-----------: | :-----------: | `0` | no error raised | `1` | internal error | `2` | input error | `3` | routing error | # noqa: E501 + + :return: The code of this InlineResponse2002. # noqa: E501 + :rtype: int + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this InlineResponse2002. + + status code. Possible values: Value | Status | :-----------: | :-----------: | `0` | no error raised | `1` | internal error | `2` | input error | `3` | routing error | # noqa: E501 + + :param code: The code of this InlineResponse2002. # noqa: E501 + :type: int + """ + + self._code = code + + @property + def error(self): + """Gets the error of this InlineResponse2002. # noqa: E501 + + error message (present if `code` is different from `0`) # noqa: E501 + + :return: The error of this InlineResponse2002. # noqa: E501 + :rtype: str + """ + return self._error + + @error.setter + def error(self, error): + """Sets the error of this InlineResponse2002. + + error message (present if `code` is different from `0`) # noqa: E501 + + :param error: The error of this InlineResponse2002. # noqa: E501 + :type: str + """ + + self._error = error + + @property + def routes(self): + """Gets the routes of this InlineResponse2002. # noqa: E501 + + array of `route` objects # noqa: E501 + + :return: The routes of this InlineResponse2002. # noqa: E501 + :rtype: list[InlineResponse2002Routes] + """ + return self._routes + + @routes.setter + def routes(self, routes): + """Sets the routes of this InlineResponse2002. + + array of `route` objects # noqa: E501 + + :param routes: The routes of this InlineResponse2002. # noqa: E501 + :type: list[InlineResponse2002Routes] + """ + + self._routes = routes + + @property + def summary(self): + """Gets the summary of this InlineResponse2002. # noqa: E501 + + + :return: The summary of this InlineResponse2002. # noqa: E501 + :rtype: InlineResponse2002Summary + """ + return self._summary + + @summary.setter + def summary(self, summary): + """Sets the summary of this InlineResponse2002. + + + :param summary: The summary of this InlineResponse2002. # noqa: E501 + :type: InlineResponse2002Summary + """ + + self._summary = summary + + @property + def unassigned(self): + """Gets the unassigned of this InlineResponse2002. # noqa: E501 + + array of objects describing unassigned jobs with their `id` and `location` (if provided) # noqa: E501 + + :return: The unassigned of this InlineResponse2002. # noqa: E501 + :rtype: list[InlineResponse2002Unassigned] + """ + return self._unassigned + + @unassigned.setter + def unassigned(self, unassigned): + """Sets the unassigned of this InlineResponse2002. + + array of objects describing unassigned jobs with their `id` and `location` (if provided) # noqa: E501 + + :param unassigned: The unassigned of this InlineResponse2002. # noqa: E501 + :type: list[InlineResponse2002Unassigned] + """ + + self._unassigned = unassigned + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2002, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2002): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2002_routes.py b/openrouteservice/models/inline_response2002_routes.py new file mode 100644 index 00000000..e512fb0b --- /dev/null +++ b/openrouteservice/models/inline_response2002_routes.py @@ -0,0 +1,336 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2002Routes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'amount': 'list[int]', + 'cost': 'float', + 'distance': 'float', + 'duration': 'float', + 'geometry': 'str', + 'service': 'float', + 'steps': 'list[InlineResponse2002Steps]', + 'vehicle': 'int', + 'waiting_time': 'float' + } + + attribute_map = { + 'amount': 'amount', + 'cost': 'cost', + 'distance': 'distance', + 'duration': 'duration', + 'geometry': 'geometry', + 'service': 'service', + 'steps': 'steps', + 'vehicle': 'vehicle', + 'waiting_time': 'waiting_time' + } + + def __init__(self, amount=None, cost=None, distance=None, duration=None, geometry=None, service=None, steps=None, vehicle=None, waiting_time=None): # noqa: E501 + """InlineResponse2002Routes - a model defined in Swagger""" # noqa: E501 + self._amount = None + self._cost = None + self._distance = None + self._duration = None + self._geometry = None + self._service = None + self._steps = None + self._vehicle = None + self._waiting_time = None + self.discriminator = None + if amount is not None: + self.amount = amount + if cost is not None: + self.cost = cost + if distance is not None: + self.distance = distance + if duration is not None: + self.duration = duration + if geometry is not None: + self.geometry = geometry + if service is not None: + self.service = service + if steps is not None: + self.steps = steps + if vehicle is not None: + self.vehicle = vehicle + if waiting_time is not None: + self.waiting_time = waiting_time + + @property + def amount(self): + """Gets the amount of this InlineResponse2002Routes. # noqa: E501 + + total amount for jobs in this route # noqa: E501 + + :return: The amount of this InlineResponse2002Routes. # noqa: E501 + :rtype: list[int] + """ + return self._amount + + @amount.setter + def amount(self, amount): + """Sets the amount of this InlineResponse2002Routes. + + total amount for jobs in this route # noqa: E501 + + :param amount: The amount of this InlineResponse2002Routes. # noqa: E501 + :type: list[int] + """ + + self._amount = amount + + @property + def cost(self): + """Gets the cost of this InlineResponse2002Routes. # noqa: E501 + + cost for this route # noqa: E501 + + :return: The cost of this InlineResponse2002Routes. # noqa: E501 + :rtype: float + """ + return self._cost + + @cost.setter + def cost(self, cost): + """Sets the cost of this InlineResponse2002Routes. + + cost for this route # noqa: E501 + + :param cost: The cost of this InlineResponse2002Routes. # noqa: E501 + :type: float + """ + + self._cost = cost + + @property + def distance(self): + """Gets the distance of this InlineResponse2002Routes. # noqa: E501 + + total route distance. Only provided when using the `-g` flag # noqa: E501 + + :return: The distance of this InlineResponse2002Routes. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this InlineResponse2002Routes. + + total route distance. Only provided when using the `-g` flag # noqa: E501 + + :param distance: The distance of this InlineResponse2002Routes. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def duration(self): + """Gets the duration of this InlineResponse2002Routes. # noqa: E501 + + total travel time for this route # noqa: E501 + + :return: The duration of this InlineResponse2002Routes. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this InlineResponse2002Routes. + + total travel time for this route # noqa: E501 + + :param duration: The duration of this InlineResponse2002Routes. # noqa: E501 + :type: float + """ + + self._duration = duration + + @property + def geometry(self): + """Gets the geometry of this InlineResponse2002Routes. # noqa: E501 + + polyline encoded route geometry. Only provided when using the `-g` flag # noqa: E501 + + :return: The geometry of this InlineResponse2002Routes. # noqa: E501 + :rtype: str + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this InlineResponse2002Routes. + + polyline encoded route geometry. Only provided when using the `-g` flag # noqa: E501 + + :param geometry: The geometry of this InlineResponse2002Routes. # noqa: E501 + :type: str + """ + + self._geometry = geometry + + @property + def service(self): + """Gets the service of this InlineResponse2002Routes. # noqa: E501 + + total service time for this route # noqa: E501 + + :return: The service of this InlineResponse2002Routes. # noqa: E501 + :rtype: float + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this InlineResponse2002Routes. + + total service time for this route # noqa: E501 + + :param service: The service of this InlineResponse2002Routes. # noqa: E501 + :type: float + """ + + self._service = service + + @property + def steps(self): + """Gets the steps of this InlineResponse2002Routes. # noqa: E501 + + array of `step` objects # noqa: E501 + + :return: The steps of this InlineResponse2002Routes. # noqa: E501 + :rtype: list[InlineResponse2002Steps] + """ + return self._steps + + @steps.setter + def steps(self, steps): + """Sets the steps of this InlineResponse2002Routes. + + array of `step` objects # noqa: E501 + + :param steps: The steps of this InlineResponse2002Routes. # noqa: E501 + :type: list[InlineResponse2002Steps] + """ + + self._steps = steps + + @property + def vehicle(self): + """Gets the vehicle of this InlineResponse2002Routes. # noqa: E501 + + id of the vehicle assigned to this route # noqa: E501 + + :return: The vehicle of this InlineResponse2002Routes. # noqa: E501 + :rtype: int + """ + return self._vehicle + + @vehicle.setter + def vehicle(self, vehicle): + """Sets the vehicle of this InlineResponse2002Routes. + + id of the vehicle assigned to this route # noqa: E501 + + :param vehicle: The vehicle of this InlineResponse2002Routes. # noqa: E501 + :type: int + """ + + self._vehicle = vehicle + + @property + def waiting_time(self): + """Gets the waiting_time of this InlineResponse2002Routes. # noqa: E501 + + total waiting time for this route # noqa: E501 + + :return: The waiting_time of this InlineResponse2002Routes. # noqa: E501 + :rtype: float + """ + return self._waiting_time + + @waiting_time.setter + def waiting_time(self, waiting_time): + """Sets the waiting_time of this InlineResponse2002Routes. + + total waiting time for this route # noqa: E501 + + :param waiting_time: The waiting_time of this InlineResponse2002Routes. # noqa: E501 + :type: float + """ + + self._waiting_time = waiting_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2002Routes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2002Routes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2002_steps.py b/openrouteservice/models/inline_response2002_steps.py new file mode 100644 index 00000000..562692c7 --- /dev/null +++ b/openrouteservice/models/inline_response2002_steps.py @@ -0,0 +1,308 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2002Steps(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'arrival': 'float', + 'distance': 'float', + 'duration': 'float', + 'job': 'int', + 'location': 'list[float]', + 'service': 'float', + 'type': 'str', + 'waiting_time': 'float' + } + + attribute_map = { + 'arrival': 'arrival', + 'distance': 'distance', + 'duration': 'duration', + 'job': 'job', + 'location': 'location', + 'service': 'service', + 'type': 'type', + 'waiting_time': 'waiting_time' + } + + def __init__(self, arrival=None, distance=None, duration=None, job=None, location=None, service=None, type=None, waiting_time=None): # noqa: E501 + """InlineResponse2002Steps - a model defined in Swagger""" # noqa: E501 + self._arrival = None + self._distance = None + self._duration = None + self._job = None + self._location = None + self._service = None + self._type = None + self._waiting_time = None + self.discriminator = None + if arrival is not None: + self.arrival = arrival + if distance is not None: + self.distance = distance + if duration is not None: + self.duration = duration + if job is not None: + self.job = job + if location is not None: + self.location = location + if service is not None: + self.service = service + if type is not None: + self.type = type + if waiting_time is not None: + self.waiting_time = waiting_time + + @property + def arrival(self): + """Gets the arrival of this InlineResponse2002Steps. # noqa: E501 + + estimated time of arrival at this step in seconds # noqa: E501 + + :return: The arrival of this InlineResponse2002Steps. # noqa: E501 + :rtype: float + """ + return self._arrival + + @arrival.setter + def arrival(self, arrival): + """Sets the arrival of this InlineResponse2002Steps. + + estimated time of arrival at this step in seconds # noqa: E501 + + :param arrival: The arrival of this InlineResponse2002Steps. # noqa: E501 + :type: float + """ + + self._arrival = arrival + + @property + def distance(self): + """Gets the distance of this InlineResponse2002Steps. # noqa: E501 + + traveled distance upon arrival at this step. Only provided when using the `-g` flag with `OSRM` # noqa: E501 + + :return: The distance of this InlineResponse2002Steps. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this InlineResponse2002Steps. + + traveled distance upon arrival at this step. Only provided when using the `-g` flag with `OSRM` # noqa: E501 + + :param distance: The distance of this InlineResponse2002Steps. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def duration(self): + """Gets the duration of this InlineResponse2002Steps. # noqa: E501 + + cumulated travel time upon arrival at this step in seconds # noqa: E501 + + :return: The duration of this InlineResponse2002Steps. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this InlineResponse2002Steps. + + cumulated travel time upon arrival at this step in seconds # noqa: E501 + + :param duration: The duration of this InlineResponse2002Steps. # noqa: E501 + :type: float + """ + + self._duration = duration + + @property + def job(self): + """Gets the job of this InlineResponse2002Steps. # noqa: E501 + + id of the job performed at this step, only provided if `type` value is `job` # noqa: E501 + + :return: The job of this InlineResponse2002Steps. # noqa: E501 + :rtype: int + """ + return self._job + + @job.setter + def job(self, job): + """Sets the job of this InlineResponse2002Steps. + + id of the job performed at this step, only provided if `type` value is `job` # noqa: E501 + + :param job: The job of this InlineResponse2002Steps. # noqa: E501 + :type: int + """ + + self._job = job + + @property + def location(self): + """Gets the location of this InlineResponse2002Steps. # noqa: E501 + + coordinates array for this step (if provided in input) # noqa: E501 + + :return: The location of this InlineResponse2002Steps. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this InlineResponse2002Steps. + + coordinates array for this step (if provided in input) # noqa: E501 + + :param location: The location of this InlineResponse2002Steps. # noqa: E501 + :type: list[float] + """ + + self._location = location + + @property + def service(self): + """Gets the service of this InlineResponse2002Steps. # noqa: E501 + + service time at this step, only provided if `type` value is `job` # noqa: E501 + + :return: The service of this InlineResponse2002Steps. # noqa: E501 + :rtype: float + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this InlineResponse2002Steps. + + service time at this step, only provided if `type` value is `job` # noqa: E501 + + :param service: The service of this InlineResponse2002Steps. # noqa: E501 + :type: float + """ + + self._service = service + + @property + def type(self): + """Gets the type of this InlineResponse2002Steps. # noqa: E501 + + string that is either `start`, `job` or `end` # noqa: E501 + + :return: The type of this InlineResponse2002Steps. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this InlineResponse2002Steps. + + string that is either `start`, `job` or `end` # noqa: E501 + + :param type: The type of this InlineResponse2002Steps. # noqa: E501 + :type: str + """ + + self._type = type + + @property + def waiting_time(self): + """Gets the waiting_time of this InlineResponse2002Steps. # noqa: E501 + + waiting time upon arrival at this step, only provided if `type` value is `job` # noqa: E501 + + :return: The waiting_time of this InlineResponse2002Steps. # noqa: E501 + :rtype: float + """ + return self._waiting_time + + @waiting_time.setter + def waiting_time(self, waiting_time): + """Sets the waiting_time of this InlineResponse2002Steps. + + waiting time upon arrival at this step, only provided if `type` value is `job` # noqa: E501 + + :param waiting_time: The waiting_time of this InlineResponse2002Steps. # noqa: E501 + :type: float + """ + + self._waiting_time = waiting_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2002Steps, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2002Steps): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2002_summary.py b/openrouteservice/models/inline_response2002_summary.py new file mode 100644 index 00000000..00e516b9 --- /dev/null +++ b/openrouteservice/models/inline_response2002_summary.py @@ -0,0 +1,280 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2002Summary(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'amount': 'list[int]', + 'cost': 'float', + 'distance': 'float', + 'duration': 'float', + 'service': 'float', + 'unassigned': 'int', + 'waiting_time': 'float' + } + + attribute_map = { + 'amount': 'amount', + 'cost': 'cost', + 'distance': 'distance', + 'duration': 'duration', + 'service': 'service', + 'unassigned': 'unassigned', + 'waiting_time': 'waiting_time' + } + + def __init__(self, amount=None, cost=None, distance=None, duration=None, service=None, unassigned=None, waiting_time=None): # noqa: E501 + """InlineResponse2002Summary - a model defined in Swagger""" # noqa: E501 + self._amount = None + self._cost = None + self._distance = None + self._duration = None + self._service = None + self._unassigned = None + self._waiting_time = None + self.discriminator = None + if amount is not None: + self.amount = amount + if cost is not None: + self.cost = cost + if distance is not None: + self.distance = distance + if duration is not None: + self.duration = duration + if service is not None: + self.service = service + if unassigned is not None: + self.unassigned = unassigned + if waiting_time is not None: + self.waiting_time = waiting_time + + @property + def amount(self): + """Gets the amount of this InlineResponse2002Summary. # noqa: E501 + + total amount for all routes # noqa: E501 + + :return: The amount of this InlineResponse2002Summary. # noqa: E501 + :rtype: list[int] + """ + return self._amount + + @amount.setter + def amount(self, amount): + """Sets the amount of this InlineResponse2002Summary. + + total amount for all routes # noqa: E501 + + :param amount: The amount of this InlineResponse2002Summary. # noqa: E501 + :type: list[int] + """ + + self._amount = amount + + @property + def cost(self): + """Gets the cost of this InlineResponse2002Summary. # noqa: E501 + + total cost for all routes # noqa: E501 + + :return: The cost of this InlineResponse2002Summary. # noqa: E501 + :rtype: float + """ + return self._cost + + @cost.setter + def cost(self, cost): + """Sets the cost of this InlineResponse2002Summary. + + total cost for all routes # noqa: E501 + + :param cost: The cost of this InlineResponse2002Summary. # noqa: E501 + :type: float + """ + + self._cost = cost + + @property + def distance(self): + """Gets the distance of this InlineResponse2002Summary. # noqa: E501 + + total distance for all routes. Only provided when using the `-g` flag with `OSRM` # noqa: E501 + + :return: The distance of this InlineResponse2002Summary. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this InlineResponse2002Summary. + + total distance for all routes. Only provided when using the `-g` flag with `OSRM` # noqa: E501 + + :param distance: The distance of this InlineResponse2002Summary. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def duration(self): + """Gets the duration of this InlineResponse2002Summary. # noqa: E501 + + total travel time for all routes # noqa: E501 + + :return: The duration of this InlineResponse2002Summary. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this InlineResponse2002Summary. + + total travel time for all routes # noqa: E501 + + :param duration: The duration of this InlineResponse2002Summary. # noqa: E501 + :type: float + """ + + self._duration = duration + + @property + def service(self): + """Gets the service of this InlineResponse2002Summary. # noqa: E501 + + total service time for all routes # noqa: E501 + + :return: The service of this InlineResponse2002Summary. # noqa: E501 + :rtype: float + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this InlineResponse2002Summary. + + total service time for all routes # noqa: E501 + + :param service: The service of this InlineResponse2002Summary. # noqa: E501 + :type: float + """ + + self._service = service + + @property + def unassigned(self): + """Gets the unassigned of this InlineResponse2002Summary. # noqa: E501 + + number of jobs that could not be served # noqa: E501 + + :return: The unassigned of this InlineResponse2002Summary. # noqa: E501 + :rtype: int + """ + return self._unassigned + + @unassigned.setter + def unassigned(self, unassigned): + """Sets the unassigned of this InlineResponse2002Summary. + + number of jobs that could not be served # noqa: E501 + + :param unassigned: The unassigned of this InlineResponse2002Summary. # noqa: E501 + :type: int + """ + + self._unassigned = unassigned + + @property + def waiting_time(self): + """Gets the waiting_time of this InlineResponse2002Summary. # noqa: E501 + + total waiting time for all routes # noqa: E501 + + :return: The waiting_time of this InlineResponse2002Summary. # noqa: E501 + :rtype: float + """ + return self._waiting_time + + @waiting_time.setter + def waiting_time(self, waiting_time): + """Sets the waiting_time of this InlineResponse2002Summary. + + total waiting time for all routes # noqa: E501 + + :param waiting_time: The waiting_time of this InlineResponse2002Summary. # noqa: E501 + :type: float + """ + + self._waiting_time = waiting_time + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2002Summary, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2002Summary): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2002_unassigned.py b/openrouteservice/models/inline_response2002_unassigned.py new file mode 100644 index 00000000..4e4063bb --- /dev/null +++ b/openrouteservice/models/inline_response2002_unassigned.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2002Unassigned(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'int', + 'location': 'list[float]' + } + + attribute_map = { + 'id': 'id', + 'location': 'location' + } + + def __init__(self, id=None, location=None): # noqa: E501 + """InlineResponse2002Unassigned - a model defined in Swagger""" # noqa: E501 + self._id = None + self._location = None + self.discriminator = None + if id is not None: + self.id = id + if location is not None: + self.location = location + + @property + def id(self): + """Gets the id of this InlineResponse2002Unassigned. # noqa: E501 + + The `id` of the unassigned job\" # noqa: E501 + + :return: The id of this InlineResponse2002Unassigned. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this InlineResponse2002Unassigned. + + The `id` of the unassigned job\" # noqa: E501 + + :param id: The id of this InlineResponse2002Unassigned. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def location(self): + """Gets the location of this InlineResponse2002Unassigned. # noqa: E501 + + The `location` of the unassigned job # noqa: E501 + + :return: The location of this InlineResponse2002Unassigned. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this InlineResponse2002Unassigned. + + The `location` of the unassigned job # noqa: E501 + + :param location: The location of this InlineResponse2002Unassigned. # noqa: E501 + :type: list[float] + """ + + self._location = location + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2002Unassigned, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2002Unassigned): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2003.py b/openrouteservice/models/inline_response2003.py new file mode 100644 index 00000000..0d5eeb3c --- /dev/null +++ b/openrouteservice/models/inline_response2003.py @@ -0,0 +1,190 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2003(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bbox': 'list[float]', + 'features': 'list[object]', + 'metadata': 'GeoJSONRouteResponseMetadata', + 'type': 'str' + } + + attribute_map = { + 'bbox': 'bbox', + 'features': 'features', + 'metadata': 'metadata', + 'type': 'type' + } + + def __init__(self, bbox=None, features=None, metadata=None, type=None): # noqa: E501 + """InlineResponse2003 - a model defined in Swagger""" # noqa: E501 + self._bbox = None + self._features = None + self._metadata = None + self._type = None + self.discriminator = None + if bbox is not None: + self.bbox = bbox + if features is not None: + self.features = features + if metadata is not None: + self.metadata = metadata + if type is not None: + self.type = type + + @property + def bbox(self): + """Gets the bbox of this InlineResponse2003. # noqa: E501 + + Bounding box that covers all returned routes # noqa: E501 + + :return: The bbox of this InlineResponse2003. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this InlineResponse2003. + + Bounding box that covers all returned routes # noqa: E501 + + :param bbox: The bbox of this InlineResponse2003. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def features(self): + """Gets the features of this InlineResponse2003. # noqa: E501 + + + :return: The features of this InlineResponse2003. # noqa: E501 + :rtype: list[object] + """ + return self._features + + @features.setter + def features(self, features): + """Sets the features of this InlineResponse2003. + + + :param features: The features of this InlineResponse2003. # noqa: E501 + :type: list[object] + """ + + self._features = features + + @property + def metadata(self): + """Gets the metadata of this InlineResponse2003. # noqa: E501 + + + :return: The metadata of this InlineResponse2003. # noqa: E501 + :rtype: GeoJSONRouteResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this InlineResponse2003. + + + :param metadata: The metadata of this InlineResponse2003. # noqa: E501 + :type: GeoJSONRouteResponseMetadata + """ + + self._metadata = metadata + + @property + def type(self): + """Gets the type of this InlineResponse2003. # noqa: E501 + + + :return: The type of this InlineResponse2003. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this InlineResponse2003. + + + :param type: The type of this InlineResponse2003. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2003, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2003): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2004.py b/openrouteservice/models/inline_response2004.py new file mode 100644 index 00000000..72d2cc00 --- /dev/null +++ b/openrouteservice/models/inline_response2004.py @@ -0,0 +1,166 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2004(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bbox': 'list[float]', + 'metadata': 'GeoJSONRouteResponseMetadata', + 'routes': 'list[JSONRouteResponseRoutes]' + } + + attribute_map = { + 'bbox': 'bbox', + 'metadata': 'metadata', + 'routes': 'routes' + } + + def __init__(self, bbox=None, metadata=None, routes=None): # noqa: E501 + """InlineResponse2004 - a model defined in Swagger""" # noqa: E501 + self._bbox = None + self._metadata = None + self._routes = None + self.discriminator = None + if bbox is not None: + self.bbox = bbox + if metadata is not None: + self.metadata = metadata + if routes is not None: + self.routes = routes + + @property + def bbox(self): + """Gets the bbox of this InlineResponse2004. # noqa: E501 + + Bounding box that covers all returned routes # noqa: E501 + + :return: The bbox of this InlineResponse2004. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this InlineResponse2004. + + Bounding box that covers all returned routes # noqa: E501 + + :param bbox: The bbox of this InlineResponse2004. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def metadata(self): + """Gets the metadata of this InlineResponse2004. # noqa: E501 + + + :return: The metadata of this InlineResponse2004. # noqa: E501 + :rtype: GeoJSONRouteResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this InlineResponse2004. + + + :param metadata: The metadata of this InlineResponse2004. # noqa: E501 + :type: GeoJSONRouteResponseMetadata + """ + + self._metadata = metadata + + @property + def routes(self): + """Gets the routes of this InlineResponse2004. # noqa: E501 + + A list of routes returned from the request # noqa: E501 + + :return: The routes of this InlineResponse2004. # noqa: E501 + :rtype: list[JSONRouteResponseRoutes] + """ + return self._routes + + @routes.setter + def routes(self, routes): + """Sets the routes of this InlineResponse2004. + + A list of routes returned from the request # noqa: E501 + + :param routes: The routes of this InlineResponse2004. # noqa: E501 + :type: list[JSONRouteResponseRoutes] + """ + + self._routes = routes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2004, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2004): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2005.py b/openrouteservice/models/inline_response2005.py new file mode 100644 index 00000000..cedd06aa --- /dev/null +++ b/openrouteservice/models/inline_response2005.py @@ -0,0 +1,190 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2005(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bbox': 'list[float]', + 'features': 'list[GeoJSONIsochronesResponseFeatures]', + 'metadata': 'GeoJSONIsochronesResponseMetadata', + 'type': 'str' + } + + attribute_map = { + 'bbox': 'bbox', + 'features': 'features', + 'metadata': 'metadata', + 'type': 'type' + } + + def __init__(self, bbox=None, features=None, metadata=None, type=None): # noqa: E501 + """InlineResponse2005 - a model defined in Swagger""" # noqa: E501 + self._bbox = None + self._features = None + self._metadata = None + self._type = None + self.discriminator = None + if bbox is not None: + self.bbox = bbox + if features is not None: + self.features = features + if metadata is not None: + self.metadata = metadata + if type is not None: + self.type = type + + @property + def bbox(self): + """Gets the bbox of this InlineResponse2005. # noqa: E501 + + Bounding box that covers all returned isochrones # noqa: E501 + + :return: The bbox of this InlineResponse2005. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this InlineResponse2005. + + Bounding box that covers all returned isochrones # noqa: E501 + + :param bbox: The bbox of this InlineResponse2005. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def features(self): + """Gets the features of this InlineResponse2005. # noqa: E501 + + + :return: The features of this InlineResponse2005. # noqa: E501 + :rtype: list[GeoJSONIsochronesResponseFeatures] + """ + return self._features + + @features.setter + def features(self, features): + """Sets the features of this InlineResponse2005. + + + :param features: The features of this InlineResponse2005. # noqa: E501 + :type: list[GeoJSONIsochronesResponseFeatures] + """ + + self._features = features + + @property + def metadata(self): + """Gets the metadata of this InlineResponse2005. # noqa: E501 + + + :return: The metadata of this InlineResponse2005. # noqa: E501 + :rtype: GeoJSONIsochronesResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this InlineResponse2005. + + + :param metadata: The metadata of this InlineResponse2005. # noqa: E501 + :type: GeoJSONIsochronesResponseMetadata + """ + + self._metadata = metadata + + @property + def type(self): + """Gets the type of this InlineResponse2005. # noqa: E501 + + + :return: The type of this InlineResponse2005. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this InlineResponse2005. + + + :param type: The type of this InlineResponse2005. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2005, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2005): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2006.py b/openrouteservice/models/inline_response2006.py new file mode 100644 index 00000000..55fdf938 --- /dev/null +++ b/openrouteservice/models/inline_response2006.py @@ -0,0 +1,222 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2006(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'destinations': 'list[MatrixResponseDestinations]', + 'distances': 'list[list[float]]', + 'durations': 'list[list[float]]', + 'metadata': 'MatrixResponseMetadata', + 'sources': 'list[MatrixResponseSources]' + } + + attribute_map = { + 'destinations': 'destinations', + 'distances': 'distances', + 'durations': 'durations', + 'metadata': 'metadata', + 'sources': 'sources' + } + + def __init__(self, destinations=None, distances=None, durations=None, metadata=None, sources=None): # noqa: E501 + """InlineResponse2006 - a model defined in Swagger""" # noqa: E501 + self._destinations = None + self._distances = None + self._durations = None + self._metadata = None + self._sources = None + self.discriminator = None + if destinations is not None: + self.destinations = destinations + if distances is not None: + self.distances = distances + if durations is not None: + self.durations = durations + if metadata is not None: + self.metadata = metadata + if sources is not None: + self.sources = sources + + @property + def destinations(self): + """Gets the destinations of this InlineResponse2006. # noqa: E501 + + The individual destinations of the matrix calculations. # noqa: E501 + + :return: The destinations of this InlineResponse2006. # noqa: E501 + :rtype: list[MatrixResponseDestinations] + """ + return self._destinations + + @destinations.setter + def destinations(self, destinations): + """Sets the destinations of this InlineResponse2006. + + The individual destinations of the matrix calculations. # noqa: E501 + + :param destinations: The destinations of this InlineResponse2006. # noqa: E501 + :type: list[MatrixResponseDestinations] + """ + + self._destinations = destinations + + @property + def distances(self): + """Gets the distances of this InlineResponse2006. # noqa: E501 + + The distances of the matrix calculations. # noqa: E501 + + :return: The distances of this InlineResponse2006. # noqa: E501 + :rtype: list[list[float]] + """ + return self._distances + + @distances.setter + def distances(self, distances): + """Sets the distances of this InlineResponse2006. + + The distances of the matrix calculations. # noqa: E501 + + :param distances: The distances of this InlineResponse2006. # noqa: E501 + :type: list[list[float]] + """ + + self._distances = distances + + @property + def durations(self): + """Gets the durations of this InlineResponse2006. # noqa: E501 + + The durations of the matrix calculations. # noqa: E501 + + :return: The durations of this InlineResponse2006. # noqa: E501 + :rtype: list[list[float]] + """ + return self._durations + + @durations.setter + def durations(self, durations): + """Sets the durations of this InlineResponse2006. + + The durations of the matrix calculations. # noqa: E501 + + :param durations: The durations of this InlineResponse2006. # noqa: E501 + :type: list[list[float]] + """ + + self._durations = durations + + @property + def metadata(self): + """Gets the metadata of this InlineResponse2006. # noqa: E501 + + + :return: The metadata of this InlineResponse2006. # noqa: E501 + :rtype: MatrixResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this InlineResponse2006. + + + :param metadata: The metadata of this InlineResponse2006. # noqa: E501 + :type: MatrixResponseMetadata + """ + + self._metadata = metadata + + @property + def sources(self): + """Gets the sources of this InlineResponse2006. # noqa: E501 + + The individual sources of the matrix calculations. # noqa: E501 + + :return: The sources of this InlineResponse2006. # noqa: E501 + :rtype: list[MatrixResponseSources] + """ + return self._sources + + @sources.setter + def sources(self, sources): + """Sets the sources of this InlineResponse2006. + + The individual sources of the matrix calculations. # noqa: E501 + + :param sources: The sources of this InlineResponse2006. # noqa: E501 + :type: list[MatrixResponseSources] + """ + + self._sources = sources + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2006, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2006): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response200_geometry.py b/openrouteservice/models/inline_response200_geometry.py new file mode 100644 index 00000000..58f6aacb --- /dev/null +++ b/openrouteservice/models/inline_response200_geometry.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse200Geometry(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'coordinates': 'list[list[float]]', + 'type': 'str' + } + + attribute_map = { + 'coordinates': 'coordinates', + 'type': 'type' + } + + def __init__(self, coordinates=None, type=None): # noqa: E501 + """InlineResponse200Geometry - a model defined in Swagger""" # noqa: E501 + self._coordinates = None + self._type = None + self.discriminator = None + if coordinates is not None: + self.coordinates = coordinates + if type is not None: + self.type = type + + @property + def coordinates(self): + """Gets the coordinates of this InlineResponse200Geometry. # noqa: E501 + + + :return: The coordinates of this InlineResponse200Geometry. # noqa: E501 + :rtype: list[list[float]] + """ + return self._coordinates + + @coordinates.setter + def coordinates(self, coordinates): + """Sets the coordinates of this InlineResponse200Geometry. + + + :param coordinates: The coordinates of this InlineResponse200Geometry. # noqa: E501 + :type: list[list[float]] + """ + + self._coordinates = coordinates + + @property + def type(self): + """Gets the type of this InlineResponse200Geometry. # noqa: E501 + + + :return: The type of this InlineResponse200Geometry. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this InlineResponse200Geometry. + + + :param type: The type of this InlineResponse200Geometry. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse200Geometry, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse200Geometry): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/isochrones_profile_body.py b/openrouteservice/models/isochrones_profile_body.py new file mode 100644 index 00000000..225636db --- /dev/null +++ b/openrouteservice/models/isochrones_profile_body.py @@ -0,0 +1,451 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class IsochronesProfileBody(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'area_units': 'str', + 'attributes': 'list[str]', + 'id': 'str', + 'intersections': 'bool', + 'interval': 'float', + 'location_type': 'str', + 'locations': 'list[list[float]]', + 'options': 'RouteOptions', + 'range': 'list[float]', + 'range_type': 'str', + 'smoothing': 'float', + 'units': 'str' + } + + attribute_map = { + 'area_units': 'area_units', + 'attributes': 'attributes', + 'id': 'id', + 'intersections': 'intersections', + 'interval': 'interval', + 'location_type': 'location_type', + 'locations': 'locations', + 'options': 'options', + 'range': 'range', + 'range_type': 'range_type', + 'smoothing': 'smoothing', + 'units': 'units' + } + + def __init__(self, area_units='m', attributes=None, id=None, intersections=False, interval=None, location_type='start', locations=None, options=None, range=None, range_type='time', smoothing=None, units='m'): # noqa: E501 + """IsochronesProfileBody - a model defined in Swagger""" # noqa: E501 + self._area_units = None + self._attributes = None + self._id = None + self._intersections = None + self._interval = None + self._location_type = None + self._locations = None + self._options = None + self._range = None + self._range_type = None + self._smoothing = None + self._units = None + self.discriminator = None + if area_units is not None: + self.area_units = area_units + if attributes is not None: + self.attributes = attributes + if id is not None: + self.id = id + if intersections is not None: + self.intersections = intersections + if interval is not None: + self.interval = interval + if location_type is not None: + self.location_type = location_type + self.locations = locations + if options is not None: + self.options = options + self.range = range + if range_type is not None: + self.range_type = range_type + if smoothing is not None: + self.smoothing = smoothing + if units is not None: + self.units = units + + @property + def area_units(self): + """Gets the area_units of this IsochronesProfileBody. # noqa: E501 + + Specifies the area unit. Default: m. # noqa: E501 + + :return: The area_units of this IsochronesProfileBody. # noqa: E501 + :rtype: str + """ + return self._area_units + + @area_units.setter + def area_units(self, area_units): + """Sets the area_units of this IsochronesProfileBody. + + Specifies the area unit. Default: m. # noqa: E501 + + :param area_units: The area_units of this IsochronesProfileBody. # noqa: E501 + :type: str + """ + allowed_values = ["m", "km", "mi"] # noqa: E501 + if area_units not in allowed_values: + raise ValueError( + "Invalid value for `area_units` ({0}), must be one of {1}" # noqa: E501 + .format(area_units, allowed_values) + ) + + self._area_units = area_units + + @property + def attributes(self): + """Gets the attributes of this IsochronesProfileBody. # noqa: E501 + + List of isochrones attributes # noqa: E501 + + :return: The attributes of this IsochronesProfileBody. # noqa: E501 + :rtype: list[str] + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this IsochronesProfileBody. + + List of isochrones attributes # noqa: E501 + + :param attributes: The attributes of this IsochronesProfileBody. # noqa: E501 + :type: list[str] + """ + allowed_values = ["area", "reachfactor", "total_pop"] # noqa: E501 + if not set(attributes).issubset(set(allowed_values)): + raise ValueError( + "Invalid values for `attributes` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(attributes) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) + + self._attributes = attributes + + @property + def id(self): + """Gets the id of this IsochronesProfileBody. # noqa: E501 + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :return: The id of this IsochronesProfileBody. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this IsochronesProfileBody. + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :param id: The id of this IsochronesProfileBody. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def intersections(self): + """Gets the intersections of this IsochronesProfileBody. # noqa: E501 + + Specifies whether to return intersecting polygons. # noqa: E501 + + :return: The intersections of this IsochronesProfileBody. # noqa: E501 + :rtype: bool + """ + return self._intersections + + @intersections.setter + def intersections(self, intersections): + """Sets the intersections of this IsochronesProfileBody. + + Specifies whether to return intersecting polygons. # noqa: E501 + + :param intersections: The intersections of this IsochronesProfileBody. # noqa: E501 + :type: bool + """ + + self._intersections = intersections + + @property + def interval(self): + """Gets the interval of this IsochronesProfileBody. # noqa: E501 + + Interval of isochrones or equidistants. This is only used if a single range value is given. Value in **seconds** for time and **meters** for distance. # noqa: E501 + + :return: The interval of this IsochronesProfileBody. # noqa: E501 + :rtype: float + """ + return self._interval + + @interval.setter + def interval(self, interval): + """Sets the interval of this IsochronesProfileBody. + + Interval of isochrones or equidistants. This is only used if a single range value is given. Value in **seconds** for time and **meters** for distance. # noqa: E501 + + :param interval: The interval of this IsochronesProfileBody. # noqa: E501 + :type: float + """ + + self._interval = interval + + @property + def location_type(self): + """Gets the location_type of this IsochronesProfileBody. # noqa: E501 + + `start` treats the location(s) as starting point, `destination` as goal. # noqa: E501 + + :return: The location_type of this IsochronesProfileBody. # noqa: E501 + :rtype: str + """ + return self._location_type + + @location_type.setter + def location_type(self, location_type): + """Sets the location_type of this IsochronesProfileBody. + + `start` treats the location(s) as starting point, `destination` as goal. # noqa: E501 + + :param location_type: The location_type of this IsochronesProfileBody. # noqa: E501 + :type: str + """ + allowed_values = ["start", "destination"] # noqa: E501 + if location_type not in allowed_values: + raise ValueError( + "Invalid value for `location_type` ({0}), must be one of {1}" # noqa: E501 + .format(location_type, allowed_values) + ) + + self._location_type = location_type + + @property + def locations(self): + """Gets the locations of this IsochronesProfileBody. # noqa: E501 + + The locations to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 + + :return: The locations of this IsochronesProfileBody. # noqa: E501 + :rtype: list[list[float]] + """ + return self._locations + + @locations.setter + def locations(self, locations): + """Sets the locations of this IsochronesProfileBody. + + The locations to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 + + :param locations: The locations of this IsochronesProfileBody. # noqa: E501 + :type: list[list[float]] + """ + if locations is None: + raise ValueError("Invalid value for `locations`, must not be `None`") # noqa: E501 + + self._locations = locations + + @property + def options(self): + """Gets the options of this IsochronesProfileBody. # noqa: E501 + + + :return: The options of this IsochronesProfileBody. # noqa: E501 + :rtype: RouteOptions + """ + return self._options + + @options.setter + def options(self, options): + """Sets the options of this IsochronesProfileBody. + + + :param options: The options of this IsochronesProfileBody. # noqa: E501 + :type: RouteOptions + """ + + self._options = options + + @property + def range(self): + """Gets the range of this IsochronesProfileBody. # noqa: E501 + + Maximum range value of the analysis in **seconds** for time and **metres** for distance.Alternatively a comma separated list of specific range values. Ranges will be the same for all locations. # noqa: E501 + + :return: The range of this IsochronesProfileBody. # noqa: E501 + :rtype: list[float] + """ + return self._range + + @range.setter + def range(self, range): + """Sets the range of this IsochronesProfileBody. + + Maximum range value of the analysis in **seconds** for time and **metres** for distance.Alternatively a comma separated list of specific range values. Ranges will be the same for all locations. # noqa: E501 + + :param range: The range of this IsochronesProfileBody. # noqa: E501 + :type: list[float] + """ + if range is None: + raise ValueError("Invalid value for `range`, must not be `None`") # noqa: E501 + + self._range = range + + @property + def range_type(self): + """Gets the range_type of this IsochronesProfileBody. # noqa: E501 + + Specifies the isochrones reachability type. # noqa: E501 + + :return: The range_type of this IsochronesProfileBody. # noqa: E501 + :rtype: str + """ + return self._range_type + + @range_type.setter + def range_type(self, range_type): + """Sets the range_type of this IsochronesProfileBody. + + Specifies the isochrones reachability type. # noqa: E501 + + :param range_type: The range_type of this IsochronesProfileBody. # noqa: E501 + :type: str + """ + allowed_values = ["time", "distance"] # noqa: E501 + if range_type not in allowed_values: + raise ValueError( + "Invalid value for `range_type` ({0}), must be one of {1}" # noqa: E501 + .format(range_type, allowed_values) + ) + + self._range_type = range_type + + @property + def smoothing(self): + """Gets the smoothing of this IsochronesProfileBody. # noqa: E501 + + Applies a level of generalisation to the isochrone polygons generated as a `smoothing_factor` between `0` and `100.0`. Generalisation is produced by determining a maximum length of a connecting line between two points found on the outside of a containing polygon. If the distance is larger than a threshold value, the line between the two points is removed and a smaller connecting line between other points is used. Note that the minimum length of this connecting line is ~1333m, and so when the `smoothing_factor` results in a distance smaller than this, the minimum value is used. The threshold value is determined as `(maximum_radius_of_isochrone / 100) * smoothing_factor`. Therefore, a value closer to 100 will result in a more generalised shape. The polygon generation algorithm is based on Duckham and al. (2008) `\"Efficient generation of simple polygons for characterizing the shape of a set of points in the plane.\"` # noqa: E501 + + :return: The smoothing of this IsochronesProfileBody. # noqa: E501 + :rtype: float + """ + return self._smoothing + + @smoothing.setter + def smoothing(self, smoothing): + """Sets the smoothing of this IsochronesProfileBody. + + Applies a level of generalisation to the isochrone polygons generated as a `smoothing_factor` between `0` and `100.0`. Generalisation is produced by determining a maximum length of a connecting line between two points found on the outside of a containing polygon. If the distance is larger than a threshold value, the line between the two points is removed and a smaller connecting line between other points is used. Note that the minimum length of this connecting line is ~1333m, and so when the `smoothing_factor` results in a distance smaller than this, the minimum value is used. The threshold value is determined as `(maximum_radius_of_isochrone / 100) * smoothing_factor`. Therefore, a value closer to 100 will result in a more generalised shape. The polygon generation algorithm is based on Duckham and al. (2008) `\"Efficient generation of simple polygons for characterizing the shape of a set of points in the plane.\"` # noqa: E501 + + :param smoothing: The smoothing of this IsochronesProfileBody. # noqa: E501 + :type: float + """ + + self._smoothing = smoothing + + @property + def units(self): + """Gets the units of this IsochronesProfileBody. # noqa: E501 + + Specifies the distance units only if `range_type` is set to distance. Default: m. # noqa: E501 + + :return: The units of this IsochronesProfileBody. # noqa: E501 + :rtype: str + """ + return self._units + + @units.setter + def units(self, units): + """Sets the units of this IsochronesProfileBody. + + Specifies the distance units only if `range_type` is set to distance. Default: m. # noqa: E501 + + :param units: The units of this IsochronesProfileBody. # noqa: E501 + :type: str + """ + allowed_values = ["m", "km", "mi"] # noqa: E501 + if units not in allowed_values: + raise ValueError( + "Invalid value for `units` ({0}), must be one of {1}" # noqa: E501 + .format(units, allowed_values) + ) + + self._units = units + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(IsochronesProfileBody, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, IsochronesProfileBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/isochrones_request.py b/openrouteservice/models/isochrones_request.py new file mode 100644 index 00000000..4ba4047e --- /dev/null +++ b/openrouteservice/models/isochrones_request.py @@ -0,0 +1,451 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class IsochronesRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'area_units': 'str', + 'attributes': 'list[str]', + 'id': 'str', + 'intersections': 'bool', + 'interval': 'float', + 'location_type': 'str', + 'locations': 'list[list[float]]', + 'options': 'RouteOptions', + 'range': 'list[float]', + 'range_type': 'str', + 'smoothing': 'float', + 'units': 'str' + } + + attribute_map = { + 'area_units': 'area_units', + 'attributes': 'attributes', + 'id': 'id', + 'intersections': 'intersections', + 'interval': 'interval', + 'location_type': 'location_type', + 'locations': 'locations', + 'options': 'options', + 'range': 'range', + 'range_type': 'range_type', + 'smoothing': 'smoothing', + 'units': 'units' + } + + def __init__(self, area_units='m', attributes=None, id=None, intersections=False, interval=None, location_type='start', locations=None, options=None, range=None, range_type='time', smoothing=None, units='m'): # noqa: E501 + """IsochronesRequest - a model defined in Swagger""" # noqa: E501 + self._area_units = None + self._attributes = None + self._id = None + self._intersections = None + self._interval = None + self._location_type = None + self._locations = None + self._options = None + self._range = None + self._range_type = None + self._smoothing = None + self._units = None + self.discriminator = None + if area_units is not None: + self.area_units = area_units + if attributes is not None: + self.attributes = attributes + if id is not None: + self.id = id + if intersections is not None: + self.intersections = intersections + if interval is not None: + self.interval = interval + if location_type is not None: + self.location_type = location_type + self.locations = locations + if options is not None: + self.options = options + self.range = range + if range_type is not None: + self.range_type = range_type + if smoothing is not None: + self.smoothing = smoothing + if units is not None: + self.units = units + + @property + def area_units(self): + """Gets the area_units of this IsochronesRequest. # noqa: E501 + + Specifies the area unit. Default: m. # noqa: E501 + + :return: The area_units of this IsochronesRequest. # noqa: E501 + :rtype: str + """ + return self._area_units + + @area_units.setter + def area_units(self, area_units): + """Sets the area_units of this IsochronesRequest. + + Specifies the area unit. Default: m. # noqa: E501 + + :param area_units: The area_units of this IsochronesRequest. # noqa: E501 + :type: str + """ + allowed_values = ["m", "km", "mi"] # noqa: E501 + if area_units not in allowed_values: + raise ValueError( + "Invalid value for `area_units` ({0}), must be one of {1}" # noqa: E501 + .format(area_units, allowed_values) + ) + + self._area_units = area_units + + @property + def attributes(self): + """Gets the attributes of this IsochronesRequest. # noqa: E501 + + List of isochrones attributes # noqa: E501 + + :return: The attributes of this IsochronesRequest. # noqa: E501 + :rtype: list[str] + """ + return self._attributes + + @attributes.setter + def attributes(self, attributes): + """Sets the attributes of this IsochronesRequest. + + List of isochrones attributes # noqa: E501 + + :param attributes: The attributes of this IsochronesRequest. # noqa: E501 + :type: list[str] + """ + allowed_values = ["area", "reachfactor", "total_pop"] # noqa: E501 + if not set(attributes).issubset(set(allowed_values)): + raise ValueError( + "Invalid values for `attributes` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(attributes) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) + + self._attributes = attributes + + @property + def id(self): + """Gets the id of this IsochronesRequest. # noqa: E501 + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :return: The id of this IsochronesRequest. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this IsochronesRequest. + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :param id: The id of this IsochronesRequest. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def intersections(self): + """Gets the intersections of this IsochronesRequest. # noqa: E501 + + Specifies whether to return intersecting polygons. # noqa: E501 + + :return: The intersections of this IsochronesRequest. # noqa: E501 + :rtype: bool + """ + return self._intersections + + @intersections.setter + def intersections(self, intersections): + """Sets the intersections of this IsochronesRequest. + + Specifies whether to return intersecting polygons. # noqa: E501 + + :param intersections: The intersections of this IsochronesRequest. # noqa: E501 + :type: bool + """ + + self._intersections = intersections + + @property + def interval(self): + """Gets the interval of this IsochronesRequest. # noqa: E501 + + Interval of isochrones or equidistants. This is only used if a single range value is given. Value in **seconds** for time and **meters** for distance. # noqa: E501 + + :return: The interval of this IsochronesRequest. # noqa: E501 + :rtype: float + """ + return self._interval + + @interval.setter + def interval(self, interval): + """Sets the interval of this IsochronesRequest. + + Interval of isochrones or equidistants. This is only used if a single range value is given. Value in **seconds** for time and **meters** for distance. # noqa: E501 + + :param interval: The interval of this IsochronesRequest. # noqa: E501 + :type: float + """ + + self._interval = interval + + @property + def location_type(self): + """Gets the location_type of this IsochronesRequest. # noqa: E501 + + `start` treats the location(s) as starting point, `destination` as goal. # noqa: E501 + + :return: The location_type of this IsochronesRequest. # noqa: E501 + :rtype: str + """ + return self._location_type + + @location_type.setter + def location_type(self, location_type): + """Sets the location_type of this IsochronesRequest. + + `start` treats the location(s) as starting point, `destination` as goal. # noqa: E501 + + :param location_type: The location_type of this IsochronesRequest. # noqa: E501 + :type: str + """ + allowed_values = ["start", "destination"] # noqa: E501 + if location_type not in allowed_values: + raise ValueError( + "Invalid value for `location_type` ({0}), must be one of {1}" # noqa: E501 + .format(location_type, allowed_values) + ) + + self._location_type = location_type + + @property + def locations(self): + """Gets the locations of this IsochronesRequest. # noqa: E501 + + The locations to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 + + :return: The locations of this IsochronesRequest. # noqa: E501 + :rtype: list[list[float]] + """ + return self._locations + + @locations.setter + def locations(self, locations): + """Sets the locations of this IsochronesRequest. + + The locations to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 + + :param locations: The locations of this IsochronesRequest. # noqa: E501 + :type: list[list[float]] + """ + if locations is None: + raise ValueError("Invalid value for `locations`, must not be `None`") # noqa: E501 + + self._locations = locations + + @property + def options(self): + """Gets the options of this IsochronesRequest. # noqa: E501 + + + :return: The options of this IsochronesRequest. # noqa: E501 + :rtype: RouteOptions + """ + return self._options + + @options.setter + def options(self, options): + """Sets the options of this IsochronesRequest. + + + :param options: The options of this IsochronesRequest. # noqa: E501 + :type: RouteOptions + """ + + self._options = options + + @property + def range(self): + """Gets the range of this IsochronesRequest. # noqa: E501 + + Maximum range value of the analysis in **seconds** for time and **metres** for distance.Alternatively a comma separated list of specific range values. Ranges will be the same for all locations. # noqa: E501 + + :return: The range of this IsochronesRequest. # noqa: E501 + :rtype: list[float] + """ + return self._range + + @range.setter + def range(self, range): + """Sets the range of this IsochronesRequest. + + Maximum range value of the analysis in **seconds** for time and **metres** for distance.Alternatively a comma separated list of specific range values. Ranges will be the same for all locations. # noqa: E501 + + :param range: The range of this IsochronesRequest. # noqa: E501 + :type: list[float] + """ + if range is None: + raise ValueError("Invalid value for `range`, must not be `None`") # noqa: E501 + + self._range = range + + @property + def range_type(self): + """Gets the range_type of this IsochronesRequest. # noqa: E501 + + Specifies the isochrones reachability type. # noqa: E501 + + :return: The range_type of this IsochronesRequest. # noqa: E501 + :rtype: str + """ + return self._range_type + + @range_type.setter + def range_type(self, range_type): + """Sets the range_type of this IsochronesRequest. + + Specifies the isochrones reachability type. # noqa: E501 + + :param range_type: The range_type of this IsochronesRequest. # noqa: E501 + :type: str + """ + allowed_values = ["time", "distance"] # noqa: E501 + if range_type not in allowed_values: + raise ValueError( + "Invalid value for `range_type` ({0}), must be one of {1}" # noqa: E501 + .format(range_type, allowed_values) + ) + + self._range_type = range_type + + @property + def smoothing(self): + """Gets the smoothing of this IsochronesRequest. # noqa: E501 + + Applies a level of generalisation to the isochrone polygons generated as a `smoothing_factor` between `0` and `100.0`. Generalisation is produced by determining a maximum length of a connecting line between two points found on the outside of a containing polygon. If the distance is larger than a threshold value, the line between the two points is removed and a smaller connecting line between other points is used. Note that the minimum length of this connecting line is ~1333m, and so when the `smoothing_factor` results in a distance smaller than this, the minimum value is used. The threshold value is determined as `(maximum_radius_of_isochrone / 100) * smoothing_factor`. Therefore, a value closer to 100 will result in a more generalised shape. The polygon generation algorithm is based on Duckham and al. (2008) `\"Efficient generation of simple polygons for characterizing the shape of a set of points in the plane.\"` # noqa: E501 + + :return: The smoothing of this IsochronesRequest. # noqa: E501 + :rtype: float + """ + return self._smoothing + + @smoothing.setter + def smoothing(self, smoothing): + """Sets the smoothing of this IsochronesRequest. + + Applies a level of generalisation to the isochrone polygons generated as a `smoothing_factor` between `0` and `100.0`. Generalisation is produced by determining a maximum length of a connecting line between two points found on the outside of a containing polygon. If the distance is larger than a threshold value, the line between the two points is removed and a smaller connecting line between other points is used. Note that the minimum length of this connecting line is ~1333m, and so when the `smoothing_factor` results in a distance smaller than this, the minimum value is used. The threshold value is determined as `(maximum_radius_of_isochrone / 100) * smoothing_factor`. Therefore, a value closer to 100 will result in a more generalised shape. The polygon generation algorithm is based on Duckham and al. (2008) `\"Efficient generation of simple polygons for characterizing the shape of a set of points in the plane.\"` # noqa: E501 + + :param smoothing: The smoothing of this IsochronesRequest. # noqa: E501 + :type: float + """ + + self._smoothing = smoothing + + @property + def units(self): + """Gets the units of this IsochronesRequest. # noqa: E501 + + Specifies the distance units only if `range_type` is set to distance. Default: m. # noqa: E501 + + :return: The units of this IsochronesRequest. # noqa: E501 + :rtype: str + """ + return self._units + + @units.setter + def units(self, units): + """Sets the units of this IsochronesRequest. + + Specifies the distance units only if `range_type` is set to distance. Default: m. # noqa: E501 + + :param units: The units of this IsochronesRequest. # noqa: E501 + :type: str + """ + allowed_values = ["m", "km", "mi"] # noqa: E501 + if units not in allowed_values: + raise ValueError( + "Invalid value for `units` ({0}), must be one of {1}" # noqa: E501 + .format(units, allowed_values) + ) + + self._units = units + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(IsochronesRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, IsochronesRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/isochrones_response_info.py b/openrouteservice/models/isochrones_response_info.py new file mode 100644 index 00000000..b8120bd5 --- /dev/null +++ b/openrouteservice/models/isochrones_response_info.py @@ -0,0 +1,304 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class IsochronesResponseInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attribution': 'str', + 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'id': 'str', + 'osm_file_md5_hash': 'str', + 'query': 'IsochronesProfileBody', + 'service': 'str', + 'system_message': 'str', + 'timestamp': 'int' + } + + attribute_map = { + 'attribution': 'attribution', + 'engine': 'engine', + 'id': 'id', + 'osm_file_md5_hash': 'osm_file_md5_hash', + 'query': 'query', + 'service': 'service', + 'system_message': 'system_message', + 'timestamp': 'timestamp' + } + + def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 + """IsochronesResponseInfo - a model defined in Swagger""" # noqa: E501 + self._attribution = None + self._engine = None + self._id = None + self._osm_file_md5_hash = None + self._query = None + self._service = None + self._system_message = None + self._timestamp = None + self.discriminator = None + if attribution is not None: + self.attribution = attribution + if engine is not None: + self.engine = engine + if id is not None: + self.id = id + if osm_file_md5_hash is not None: + self.osm_file_md5_hash = osm_file_md5_hash + if query is not None: + self.query = query + if service is not None: + self.service = service + if system_message is not None: + self.system_message = system_message + if timestamp is not None: + self.timestamp = timestamp + + @property + def attribution(self): + """Gets the attribution of this IsochronesResponseInfo. # noqa: E501 + + Copyright and attribution information # noqa: E501 + + :return: The attribution of this IsochronesResponseInfo. # noqa: E501 + :rtype: str + """ + return self._attribution + + @attribution.setter + def attribution(self, attribution): + """Sets the attribution of this IsochronesResponseInfo. + + Copyright and attribution information # noqa: E501 + + :param attribution: The attribution of this IsochronesResponseInfo. # noqa: E501 + :type: str + """ + + self._attribution = attribution + + @property + def engine(self): + """Gets the engine of this IsochronesResponseInfo. # noqa: E501 + + + :return: The engine of this IsochronesResponseInfo. # noqa: E501 + :rtype: GeoJSONIsochronesResponseMetadataEngine + """ + return self._engine + + @engine.setter + def engine(self, engine): + """Sets the engine of this IsochronesResponseInfo. + + + :param engine: The engine of this IsochronesResponseInfo. # noqa: E501 + :type: GeoJSONIsochronesResponseMetadataEngine + """ + + self._engine = engine + + @property + def id(self): + """Gets the id of this IsochronesResponseInfo. # noqa: E501 + + ID of the request (as passed in by the query) # noqa: E501 + + :return: The id of this IsochronesResponseInfo. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this IsochronesResponseInfo. + + ID of the request (as passed in by the query) # noqa: E501 + + :param id: The id of this IsochronesResponseInfo. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def osm_file_md5_hash(self): + """Gets the osm_file_md5_hash of this IsochronesResponseInfo. # noqa: E501 + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :return: The osm_file_md5_hash of this IsochronesResponseInfo. # noqa: E501 + :rtype: str + """ + return self._osm_file_md5_hash + + @osm_file_md5_hash.setter + def osm_file_md5_hash(self, osm_file_md5_hash): + """Sets the osm_file_md5_hash of this IsochronesResponseInfo. + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :param osm_file_md5_hash: The osm_file_md5_hash of this IsochronesResponseInfo. # noqa: E501 + :type: str + """ + + self._osm_file_md5_hash = osm_file_md5_hash + + @property + def query(self): + """Gets the query of this IsochronesResponseInfo. # noqa: E501 + + + :return: The query of this IsochronesResponseInfo. # noqa: E501 + :rtype: IsochronesProfileBody + """ + return self._query + + @query.setter + def query(self, query): + """Sets the query of this IsochronesResponseInfo. + + + :param query: The query of this IsochronesResponseInfo. # noqa: E501 + :type: IsochronesProfileBody + """ + + self._query = query + + @property + def service(self): + """Gets the service of this IsochronesResponseInfo. # noqa: E501 + + The service that was requested # noqa: E501 + + :return: The service of this IsochronesResponseInfo. # noqa: E501 + :rtype: str + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this IsochronesResponseInfo. + + The service that was requested # noqa: E501 + + :param service: The service of this IsochronesResponseInfo. # noqa: E501 + :type: str + """ + + self._service = service + + @property + def system_message(self): + """Gets the system_message of this IsochronesResponseInfo. # noqa: E501 + + System message # noqa: E501 + + :return: The system_message of this IsochronesResponseInfo. # noqa: E501 + :rtype: str + """ + return self._system_message + + @system_message.setter + def system_message(self, system_message): + """Sets the system_message of this IsochronesResponseInfo. + + System message # noqa: E501 + + :param system_message: The system_message of this IsochronesResponseInfo. # noqa: E501 + :type: str + """ + + self._system_message = system_message + + @property + def timestamp(self): + """Gets the timestamp of this IsochronesResponseInfo. # noqa: E501 + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :return: The timestamp of this IsochronesResponseInfo. # noqa: E501 + :rtype: int + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this IsochronesResponseInfo. + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :param timestamp: The timestamp of this IsochronesResponseInfo. # noqa: E501 + :type: int + """ + + self._timestamp = timestamp + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(IsochronesResponseInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, IsochronesResponseInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json2_d_destinations.py b/openrouteservice/models/json2_d_destinations.py new file mode 100644 index 00000000..95795042 --- /dev/null +++ b/openrouteservice/models/json2_d_destinations.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSON2DDestinations(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'location': 'list[float]', + 'name': 'str', + 'snapped_distance': 'float' + } + + attribute_map = { + 'location': 'location', + 'name': 'name', + 'snapped_distance': 'snapped_distance' + } + + def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 + """JSON2DDestinations - a model defined in Swagger""" # noqa: E501 + self._location = None + self._name = None + self._snapped_distance = None + self.discriminator = None + if location is not None: + self.location = location + if name is not None: + self.name = name + if snapped_distance is not None: + self.snapped_distance = snapped_distance + + @property + def location(self): + """Gets the location of this JSON2DDestinations. # noqa: E501 + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :return: The location of this JSON2DDestinations. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this JSON2DDestinations. + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :param location: The location of this JSON2DDestinations. # noqa: E501 + :type: list[float] + """ + + self._location = location + + @property + def name(self): + """Gets the name of this JSON2DDestinations. # noqa: E501 + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :return: The name of this JSON2DDestinations. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this JSON2DDestinations. + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :param name: The name of this JSON2DDestinations. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def snapped_distance(self): + """Gets the snapped_distance of this JSON2DDestinations. # noqa: E501 + + Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + + :return: The snapped_distance of this JSON2DDestinations. # noqa: E501 + :rtype: float + """ + return self._snapped_distance + + @snapped_distance.setter + def snapped_distance(self, snapped_distance): + """Sets the snapped_distance of this JSON2DDestinations. + + Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + + :param snapped_distance: The snapped_distance of this JSON2DDestinations. # noqa: E501 + :type: float + """ + + self._snapped_distance = snapped_distance + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSON2DDestinations, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSON2DDestinations): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json2_d_sources.py b/openrouteservice/models/json2_d_sources.py new file mode 100644 index 00000000..070e3067 --- /dev/null +++ b/openrouteservice/models/json2_d_sources.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSON2DSources(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'location': 'list[float]', + 'name': 'str', + 'snapped_distance': 'float' + } + + attribute_map = { + 'location': 'location', + 'name': 'name', + 'snapped_distance': 'snapped_distance' + } + + def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 + """JSON2DSources - a model defined in Swagger""" # noqa: E501 + self._location = None + self._name = None + self._snapped_distance = None + self.discriminator = None + if location is not None: + self.location = location + if name is not None: + self.name = name + if snapped_distance is not None: + self.snapped_distance = snapped_distance + + @property + def location(self): + """Gets the location of this JSON2DSources. # noqa: E501 + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :return: The location of this JSON2DSources. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this JSON2DSources. + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :param location: The location of this JSON2DSources. # noqa: E501 + :type: list[float] + """ + + self._location = location + + @property + def name(self): + """Gets the name of this JSON2DSources. # noqa: E501 + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :return: The name of this JSON2DSources. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this JSON2DSources. + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :param name: The name of this JSON2DSources. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def snapped_distance(self): + """Gets the snapped_distance of this JSON2DSources. # noqa: E501 + + Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + + :return: The snapped_distance of this JSON2DSources. # noqa: E501 + :rtype: float + """ + return self._snapped_distance + + @snapped_distance.setter + def snapped_distance(self, snapped_distance): + """Sets the snapped_distance of this JSON2DSources. + + Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + + :param snapped_distance: The snapped_distance of this JSON2DSources. # noqa: E501 + :type: float + """ + + self._snapped_distance = snapped_distance + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSON2DSources, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSON2DSources): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_edge.py b/openrouteservice/models/json_edge.py new file mode 100644 index 00000000..b326a6c6 --- /dev/null +++ b/openrouteservice/models/json_edge.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JsonEdge(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'from_id': 'int', + 'to_id': 'int', + 'weight': 'float' + } + + attribute_map = { + 'from_id': 'fromId', + 'to_id': 'toId', + 'weight': 'weight' + } + + def __init__(self, from_id=None, to_id=None, weight=None): # noqa: E501 + """JsonEdge - a model defined in Swagger""" # noqa: E501 + self._from_id = None + self._to_id = None + self._weight = None + self.discriminator = None + if from_id is not None: + self.from_id = from_id + if to_id is not None: + self.to_id = to_id + if weight is not None: + self.weight = weight + + @property + def from_id(self): + """Gets the from_id of this JsonEdge. # noqa: E501 + + Id of the start point of the edge # noqa: E501 + + :return: The from_id of this JsonEdge. # noqa: E501 + :rtype: int + """ + return self._from_id + + @from_id.setter + def from_id(self, from_id): + """Sets the from_id of this JsonEdge. + + Id of the start point of the edge # noqa: E501 + + :param from_id: The from_id of this JsonEdge. # noqa: E501 + :type: int + """ + + self._from_id = from_id + + @property + def to_id(self): + """Gets the to_id of this JsonEdge. # noqa: E501 + + Id of the end point of the edge # noqa: E501 + + :return: The to_id of this JsonEdge. # noqa: E501 + :rtype: int + """ + return self._to_id + + @to_id.setter + def to_id(self, to_id): + """Sets the to_id of this JsonEdge. + + Id of the end point of the edge # noqa: E501 + + :param to_id: The to_id of this JsonEdge. # noqa: E501 + :type: int + """ + + self._to_id = to_id + + @property + def weight(self): + """Gets the weight of this JsonEdge. # noqa: E501 + + Weight of the corresponding edge in the given bounding box # noqa: E501 + + :return: The weight of this JsonEdge. # noqa: E501 + :rtype: float + """ + return self._weight + + @weight.setter + def weight(self, weight): + """Sets the weight of this JsonEdge. + + Weight of the corresponding edge in the given bounding box # noqa: E501 + + :param weight: The weight of this JsonEdge. # noqa: E501 + :type: float + """ + + self._weight = weight + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JsonEdge, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JsonEdge): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_edge_extra.py b/openrouteservice/models/json_edge_extra.py new file mode 100644 index 00000000..b04bfa0e --- /dev/null +++ b/openrouteservice/models/json_edge_extra.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JsonEdgeExtra(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'edge_id': 'str', + 'extra': 'object' + } + + attribute_map = { + 'edge_id': 'edgeId', + 'extra': 'extra' + } + + def __init__(self, edge_id=None, extra=None): # noqa: E501 + """JsonEdgeExtra - a model defined in Swagger""" # noqa: E501 + self._edge_id = None + self._extra = None + self.discriminator = None + if edge_id is not None: + self.edge_id = edge_id + if extra is not None: + self.extra = extra + + @property + def edge_id(self): + """Gets the edge_id of this JsonEdgeExtra. # noqa: E501 + + Id of the corresponding edge in the graph # noqa: E501 + + :return: The edge_id of this JsonEdgeExtra. # noqa: E501 + :rtype: str + """ + return self._edge_id + + @edge_id.setter + def edge_id(self, edge_id): + """Sets the edge_id of this JsonEdgeExtra. + + Id of the corresponding edge in the graph # noqa: E501 + + :param edge_id: The edge_id of this JsonEdgeExtra. # noqa: E501 + :type: str + """ + + self._edge_id = edge_id + + @property + def extra(self): + """Gets the extra of this JsonEdgeExtra. # noqa: E501 + + Extra info stored on the edge # noqa: E501 + + :return: The extra of this JsonEdgeExtra. # noqa: E501 + :rtype: object + """ + return self._extra + + @extra.setter + def extra(self, extra): + """Sets the extra of this JsonEdgeExtra. + + Extra info stored on the edge # noqa: E501 + + :param extra: The extra of this JsonEdgeExtra. # noqa: E501 + :type: object + """ + + self._extra = extra + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JsonEdgeExtra, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JsonEdgeExtra): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_export_response.py b/openrouteservice/models/json_export_response.py new file mode 100644 index 00000000..0c42c0ae --- /dev/null +++ b/openrouteservice/models/json_export_response.py @@ -0,0 +1,240 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JsonExportResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'edges': 'list[JsonExportResponseEdges]', + 'edges_count': 'int', + 'edges_extra': 'list[JsonExportResponseEdgesExtra]', + 'nodes': 'list[JsonExportResponseNodes]', + 'nodes_count': 'int', + 'warning': 'JSONIndividualRouteResponseWarnings' + } + + attribute_map = { + 'edges': 'edges', + 'edges_count': 'edges_count', + 'edges_extra': 'edges_extra', + 'nodes': 'nodes', + 'nodes_count': 'nodes_count', + 'warning': 'warning' + } + + def __init__(self, edges=None, edges_count=None, edges_extra=None, nodes=None, nodes_count=None, warning=None): # noqa: E501 + """JsonExportResponse - a model defined in Swagger""" # noqa: E501 + self._edges = None + self._edges_count = None + self._edges_extra = None + self._nodes = None + self._nodes_count = None + self._warning = None + self.discriminator = None + if edges is not None: + self.edges = edges + if edges_count is not None: + self.edges_count = edges_count + if edges_extra is not None: + self.edges_extra = edges_extra + if nodes is not None: + self.nodes = nodes + if nodes_count is not None: + self.nodes_count = nodes_count + if warning is not None: + self.warning = warning + + @property + def edges(self): + """Gets the edges of this JsonExportResponse. # noqa: E501 + + + :return: The edges of this JsonExportResponse. # noqa: E501 + :rtype: list[JsonExportResponseEdges] + """ + return self._edges + + @edges.setter + def edges(self, edges): + """Sets the edges of this JsonExportResponse. + + + :param edges: The edges of this JsonExportResponse. # noqa: E501 + :type: list[JsonExportResponseEdges] + """ + + self._edges = edges + + @property + def edges_count(self): + """Gets the edges_count of this JsonExportResponse. # noqa: E501 + + + :return: The edges_count of this JsonExportResponse. # noqa: E501 + :rtype: int + """ + return self._edges_count + + @edges_count.setter + def edges_count(self, edges_count): + """Sets the edges_count of this JsonExportResponse. + + + :param edges_count: The edges_count of this JsonExportResponse. # noqa: E501 + :type: int + """ + + self._edges_count = edges_count + + @property + def edges_extra(self): + """Gets the edges_extra of this JsonExportResponse. # noqa: E501 + + + :return: The edges_extra of this JsonExportResponse. # noqa: E501 + :rtype: list[JsonExportResponseEdgesExtra] + """ + return self._edges_extra + + @edges_extra.setter + def edges_extra(self, edges_extra): + """Sets the edges_extra of this JsonExportResponse. + + + :param edges_extra: The edges_extra of this JsonExportResponse. # noqa: E501 + :type: list[JsonExportResponseEdgesExtra] + """ + + self._edges_extra = edges_extra + + @property + def nodes(self): + """Gets the nodes of this JsonExportResponse. # noqa: E501 + + + :return: The nodes of this JsonExportResponse. # noqa: E501 + :rtype: list[JsonExportResponseNodes] + """ + return self._nodes + + @nodes.setter + def nodes(self, nodes): + """Sets the nodes of this JsonExportResponse. + + + :param nodes: The nodes of this JsonExportResponse. # noqa: E501 + :type: list[JsonExportResponseNodes] + """ + + self._nodes = nodes + + @property + def nodes_count(self): + """Gets the nodes_count of this JsonExportResponse. # noqa: E501 + + + :return: The nodes_count of this JsonExportResponse. # noqa: E501 + :rtype: int + """ + return self._nodes_count + + @nodes_count.setter + def nodes_count(self, nodes_count): + """Sets the nodes_count of this JsonExportResponse. + + + :param nodes_count: The nodes_count of this JsonExportResponse. # noqa: E501 + :type: int + """ + + self._nodes_count = nodes_count + + @property + def warning(self): + """Gets the warning of this JsonExportResponse. # noqa: E501 + + + :return: The warning of this JsonExportResponse. # noqa: E501 + :rtype: JSONIndividualRouteResponseWarnings + """ + return self._warning + + @warning.setter + def warning(self, warning): + """Sets the warning of this JsonExportResponse. + + + :param warning: The warning of this JsonExportResponse. # noqa: E501 + :type: JSONIndividualRouteResponseWarnings + """ + + self._warning = warning + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JsonExportResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JsonExportResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_export_response_edges.py b/openrouteservice/models/json_export_response_edges.py new file mode 100644 index 00000000..ac763475 --- /dev/null +++ b/openrouteservice/models/json_export_response_edges.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JsonExportResponseEdges(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'from_id': 'int', + 'to_id': 'int', + 'weight': 'float' + } + + attribute_map = { + 'from_id': 'fromId', + 'to_id': 'toId', + 'weight': 'weight' + } + + def __init__(self, from_id=None, to_id=None, weight=None): # noqa: E501 + """JsonExportResponseEdges - a model defined in Swagger""" # noqa: E501 + self._from_id = None + self._to_id = None + self._weight = None + self.discriminator = None + if from_id is not None: + self.from_id = from_id + if to_id is not None: + self.to_id = to_id + if weight is not None: + self.weight = weight + + @property + def from_id(self): + """Gets the from_id of this JsonExportResponseEdges. # noqa: E501 + + Id of the start point of the edge # noqa: E501 + + :return: The from_id of this JsonExportResponseEdges. # noqa: E501 + :rtype: int + """ + return self._from_id + + @from_id.setter + def from_id(self, from_id): + """Sets the from_id of this JsonExportResponseEdges. + + Id of the start point of the edge # noqa: E501 + + :param from_id: The from_id of this JsonExportResponseEdges. # noqa: E501 + :type: int + """ + + self._from_id = from_id + + @property + def to_id(self): + """Gets the to_id of this JsonExportResponseEdges. # noqa: E501 + + Id of the end point of the edge # noqa: E501 + + :return: The to_id of this JsonExportResponseEdges. # noqa: E501 + :rtype: int + """ + return self._to_id + + @to_id.setter + def to_id(self, to_id): + """Sets the to_id of this JsonExportResponseEdges. + + Id of the end point of the edge # noqa: E501 + + :param to_id: The to_id of this JsonExportResponseEdges. # noqa: E501 + :type: int + """ + + self._to_id = to_id + + @property + def weight(self): + """Gets the weight of this JsonExportResponseEdges. # noqa: E501 + + Weight of the corresponding edge in the given bounding box # noqa: E501 + + :return: The weight of this JsonExportResponseEdges. # noqa: E501 + :rtype: float + """ + return self._weight + + @weight.setter + def weight(self, weight): + """Sets the weight of this JsonExportResponseEdges. + + Weight of the corresponding edge in the given bounding box # noqa: E501 + + :param weight: The weight of this JsonExportResponseEdges. # noqa: E501 + :type: float + """ + + self._weight = weight + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JsonExportResponseEdges, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JsonExportResponseEdges): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_export_response_edges_extra.py b/openrouteservice/models/json_export_response_edges_extra.py new file mode 100644 index 00000000..ae667373 --- /dev/null +++ b/openrouteservice/models/json_export_response_edges_extra.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JsonExportResponseEdgesExtra(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'edge_id': 'str', + 'extra': 'object' + } + + attribute_map = { + 'edge_id': 'edgeId', + 'extra': 'extra' + } + + def __init__(self, edge_id=None, extra=None): # noqa: E501 + """JsonExportResponseEdgesExtra - a model defined in Swagger""" # noqa: E501 + self._edge_id = None + self._extra = None + self.discriminator = None + if edge_id is not None: + self.edge_id = edge_id + if extra is not None: + self.extra = extra + + @property + def edge_id(self): + """Gets the edge_id of this JsonExportResponseEdgesExtra. # noqa: E501 + + Id of the corresponding edge in the graph # noqa: E501 + + :return: The edge_id of this JsonExportResponseEdgesExtra. # noqa: E501 + :rtype: str + """ + return self._edge_id + + @edge_id.setter + def edge_id(self, edge_id): + """Sets the edge_id of this JsonExportResponseEdgesExtra. + + Id of the corresponding edge in the graph # noqa: E501 + + :param edge_id: The edge_id of this JsonExportResponseEdgesExtra. # noqa: E501 + :type: str + """ + + self._edge_id = edge_id + + @property + def extra(self): + """Gets the extra of this JsonExportResponseEdgesExtra. # noqa: E501 + + Extra info stored on the edge # noqa: E501 + + :return: The extra of this JsonExportResponseEdgesExtra. # noqa: E501 + :rtype: object + """ + return self._extra + + @extra.setter + def extra(self, extra): + """Sets the extra of this JsonExportResponseEdgesExtra. + + Extra info stored on the edge # noqa: E501 + + :param extra: The extra of this JsonExportResponseEdgesExtra. # noqa: E501 + :type: object + """ + + self._extra = extra + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JsonExportResponseEdgesExtra, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JsonExportResponseEdgesExtra): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_export_response_nodes.py b/openrouteservice/models/json_export_response_nodes.py new file mode 100644 index 00000000..d19474e7 --- /dev/null +++ b/openrouteservice/models/json_export_response_nodes.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JsonExportResponseNodes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'location': 'list[float]', + 'node_id': 'int' + } + + attribute_map = { + 'location': 'location', + 'node_id': 'nodeId' + } + + def __init__(self, location=None, node_id=None): # noqa: E501 + """JsonExportResponseNodes - a model defined in Swagger""" # noqa: E501 + self._location = None + self._node_id = None + self.discriminator = None + if location is not None: + self.location = location + if node_id is not None: + self.node_id = node_id + + @property + def location(self): + """Gets the location of this JsonExportResponseNodes. # noqa: E501 + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :return: The location of this JsonExportResponseNodes. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this JsonExportResponseNodes. + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :param location: The location of this JsonExportResponseNodes. # noqa: E501 + :type: list[float] + """ + + self._location = location + + @property + def node_id(self): + """Gets the node_id of this JsonExportResponseNodes. # noqa: E501 + + Id of the corresponding node in the graph # noqa: E501 + + :return: The node_id of this JsonExportResponseNodes. # noqa: E501 + :rtype: int + """ + return self._node_id + + @node_id.setter + def node_id(self, node_id): + """Sets the node_id of this JsonExportResponseNodes. + + Id of the corresponding node in the graph # noqa: E501 + + :param node_id: The node_id of this JsonExportResponseNodes. # noqa: E501 + :type: int + """ + + self._node_id = node_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JsonExportResponseNodes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JsonExportResponseNodes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_extra.py b/openrouteservice/models/json_extra.py new file mode 100644 index 00000000..aa3fe123 --- /dev/null +++ b/openrouteservice/models/json_extra.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONExtra(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'summary': 'list[JSONExtraSummary]', + 'values': 'list[list[int]]' + } + + attribute_map = { + 'summary': 'summary', + 'values': 'values' + } + + def __init__(self, summary=None, values=None): # noqa: E501 + """JSONExtra - a model defined in Swagger""" # noqa: E501 + self._summary = None + self._values = None + self.discriminator = None + if summary is not None: + self.summary = summary + if values is not None: + self.values = values + + @property + def summary(self): + """Gets the summary of this JSONExtra. # noqa: E501 + + List representing the summary of the extra info items. # noqa: E501 + + :return: The summary of this JSONExtra. # noqa: E501 + :rtype: list[JSONExtraSummary] + """ + return self._summary + + @summary.setter + def summary(self, summary): + """Sets the summary of this JSONExtra. + + List representing the summary of the extra info items. # noqa: E501 + + :param summary: The summary of this JSONExtra. # noqa: E501 + :type: list[JSONExtraSummary] + """ + + self._summary = summary + + @property + def values(self): + """Gets the values of this JSONExtra. # noqa: E501 + + A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. # noqa: E501 + + :return: The values of this JSONExtra. # noqa: E501 + :rtype: list[list[int]] + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this JSONExtra. + + A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. # noqa: E501 + + :param values: The values of this JSONExtra. # noqa: E501 + :type: list[list[int]] + """ + + self._values = values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONExtra, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONExtra): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_extra_summary.py b/openrouteservice/models/json_extra_summary.py new file mode 100644 index 00000000..cfff3690 --- /dev/null +++ b/openrouteservice/models/json_extra_summary.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONExtraSummary(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'amount': 'float', + 'distance': 'float', + 'value': 'float' + } + + attribute_map = { + 'amount': 'amount', + 'distance': 'distance', + 'value': 'value' + } + + def __init__(self, amount=None, distance=None, value=None): # noqa: E501 + """JSONExtraSummary - a model defined in Swagger""" # noqa: E501 + self._amount = None + self._distance = None + self._value = None + self.discriminator = None + if amount is not None: + self.amount = amount + if distance is not None: + self.distance = distance + if value is not None: + self.value = value + + @property + def amount(self): + """Gets the amount of this JSONExtraSummary. # noqa: E501 + + Category percentage of the entire route. # noqa: E501 + + :return: The amount of this JSONExtraSummary. # noqa: E501 + :rtype: float + """ + return self._amount + + @amount.setter + def amount(self, amount): + """Sets the amount of this JSONExtraSummary. + + Category percentage of the entire route. # noqa: E501 + + :param amount: The amount of this JSONExtraSummary. # noqa: E501 + :type: float + """ + + self._amount = amount + + @property + def distance(self): + """Gets the distance of this JSONExtraSummary. # noqa: E501 + + Cumulative distance of this value. # noqa: E501 + + :return: The distance of this JSONExtraSummary. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this JSONExtraSummary. + + Cumulative distance of this value. # noqa: E501 + + :param distance: The distance of this JSONExtraSummary. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def value(self): + """Gets the value of this JSONExtraSummary. # noqa: E501 + + [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) of a info category. # noqa: E501 + + :return: The value of this JSONExtraSummary. # noqa: E501 + :rtype: float + """ + return self._value + + @value.setter + def value(self, value): + """Sets the value of this JSONExtraSummary. + + [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) of a info category. # noqa: E501 + + :param value: The value of this JSONExtraSummary. # noqa: E501 + :type: float + """ + + self._value = value + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONExtraSummary, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONExtraSummary): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_individual_route_response.py b/openrouteservice/models/json_individual_route_response.py new file mode 100644 index 00000000..3e569cc9 --- /dev/null +++ b/openrouteservice/models/json_individual_route_response.py @@ -0,0 +1,362 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONIndividualRouteResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'arrival': 'datetime', + 'bbox': 'list[float]', + 'departure': 'datetime', + 'extras': 'dict(str, JSONIndividualRouteResponseExtras)', + 'geometry': 'str', + 'legs': 'list[JSONIndividualRouteResponseLegs]', + 'segments': 'list[JSONIndividualRouteResponseSegments]', + 'summary': 'JSONIndividualRouteResponseSummary', + 'warnings': 'list[JSONIndividualRouteResponseWarnings]', + 'way_points': 'list[int]' + } + + attribute_map = { + 'arrival': 'arrival', + 'bbox': 'bbox', + 'departure': 'departure', + 'extras': 'extras', + 'geometry': 'geometry', + 'legs': 'legs', + 'segments': 'segments', + 'summary': 'summary', + 'warnings': 'warnings', + 'way_points': 'way_points' + } + + def __init__(self, arrival=None, bbox=None, departure=None, extras=None, geometry=None, legs=None, segments=None, summary=None, warnings=None, way_points=None): # noqa: E501 + """JSONIndividualRouteResponse - a model defined in Swagger""" # noqa: E501 + self._arrival = None + self._bbox = None + self._departure = None + self._extras = None + self._geometry = None + self._legs = None + self._segments = None + self._summary = None + self._warnings = None + self._way_points = None + self.discriminator = None + if arrival is not None: + self.arrival = arrival + if bbox is not None: + self.bbox = bbox + if departure is not None: + self.departure = departure + if extras is not None: + self.extras = extras + if geometry is not None: + self.geometry = geometry + if legs is not None: + self.legs = legs + if segments is not None: + self.segments = segments + if summary is not None: + self.summary = summary + if warnings is not None: + self.warnings = warnings + if way_points is not None: + self.way_points = way_points + + @property + def arrival(self): + """Gets the arrival of this JSONIndividualRouteResponse. # noqa: E501 + + Arrival date and time # noqa: E501 + + :return: The arrival of this JSONIndividualRouteResponse. # noqa: E501 + :rtype: datetime + """ + return self._arrival + + @arrival.setter + def arrival(self, arrival): + """Sets the arrival of this JSONIndividualRouteResponse. + + Arrival date and time # noqa: E501 + + :param arrival: The arrival of this JSONIndividualRouteResponse. # noqa: E501 + :type: datetime + """ + + self._arrival = arrival + + @property + def bbox(self): + """Gets the bbox of this JSONIndividualRouteResponse. # noqa: E501 + + A bounding box which contains the entire route # noqa: E501 + + :return: The bbox of this JSONIndividualRouteResponse. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this JSONIndividualRouteResponse. + + A bounding box which contains the entire route # noqa: E501 + + :param bbox: The bbox of this JSONIndividualRouteResponse. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def departure(self): + """Gets the departure of this JSONIndividualRouteResponse. # noqa: E501 + + Departure date and time # noqa: E501 + + :return: The departure of this JSONIndividualRouteResponse. # noqa: E501 + :rtype: datetime + """ + return self._departure + + @departure.setter + def departure(self, departure): + """Sets the departure of this JSONIndividualRouteResponse. + + Departure date and time # noqa: E501 + + :param departure: The departure of this JSONIndividualRouteResponse. # noqa: E501 + :type: datetime + """ + + self._departure = departure + + @property + def extras(self): + """Gets the extras of this JSONIndividualRouteResponse. # noqa: E501 + + List of extra info objects representing the extra info items that were requested for the route. # noqa: E501 + + :return: The extras of this JSONIndividualRouteResponse. # noqa: E501 + :rtype: dict(str, JSONIndividualRouteResponseExtras) + """ + return self._extras + + @extras.setter + def extras(self, extras): + """Sets the extras of this JSONIndividualRouteResponse. + + List of extra info objects representing the extra info items that were requested for the route. # noqa: E501 + + :param extras: The extras of this JSONIndividualRouteResponse. # noqa: E501 + :type: dict(str, JSONIndividualRouteResponseExtras) + """ + + self._extras = extras + + @property + def geometry(self): + """Gets the geometry of this JSONIndividualRouteResponse. # noqa: E501 + + The geometry of the route. For JSON route responses this is an encoded polyline. # noqa: E501 + + :return: The geometry of this JSONIndividualRouteResponse. # noqa: E501 + :rtype: str + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this JSONIndividualRouteResponse. + + The geometry of the route. For JSON route responses this is an encoded polyline. # noqa: E501 + + :param geometry: The geometry of this JSONIndividualRouteResponse. # noqa: E501 + :type: str + """ + + self._geometry = geometry + + @property + def legs(self): + """Gets the legs of this JSONIndividualRouteResponse. # noqa: E501 + + List containing the legs the route consists of. # noqa: E501 + + :return: The legs of this JSONIndividualRouteResponse. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseLegs] + """ + return self._legs + + @legs.setter + def legs(self, legs): + """Sets the legs of this JSONIndividualRouteResponse. + + List containing the legs the route consists of. # noqa: E501 + + :param legs: The legs of this JSONIndividualRouteResponse. # noqa: E501 + :type: list[JSONIndividualRouteResponseLegs] + """ + + self._legs = legs + + @property + def segments(self): + """Gets the segments of this JSONIndividualRouteResponse. # noqa: E501 + + List containing the segments and its corresponding steps which make up the route. # noqa: E501 + + :return: The segments of this JSONIndividualRouteResponse. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseSegments] + """ + return self._segments + + @segments.setter + def segments(self, segments): + """Sets the segments of this JSONIndividualRouteResponse. + + List containing the segments and its corresponding steps which make up the route. # noqa: E501 + + :param segments: The segments of this JSONIndividualRouteResponse. # noqa: E501 + :type: list[JSONIndividualRouteResponseSegments] + """ + + self._segments = segments + + @property + def summary(self): + """Gets the summary of this JSONIndividualRouteResponse. # noqa: E501 + + + :return: The summary of this JSONIndividualRouteResponse. # noqa: E501 + :rtype: JSONIndividualRouteResponseSummary + """ + return self._summary + + @summary.setter + def summary(self, summary): + """Sets the summary of this JSONIndividualRouteResponse. + + + :param summary: The summary of this JSONIndividualRouteResponse. # noqa: E501 + :type: JSONIndividualRouteResponseSummary + """ + + self._summary = summary + + @property + def warnings(self): + """Gets the warnings of this JSONIndividualRouteResponse. # noqa: E501 + + List of warnings that have been generated for the route # noqa: E501 + + :return: The warnings of this JSONIndividualRouteResponse. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseWarnings] + """ + return self._warnings + + @warnings.setter + def warnings(self, warnings): + """Sets the warnings of this JSONIndividualRouteResponse. + + List of warnings that have been generated for the route # noqa: E501 + + :param warnings: The warnings of this JSONIndividualRouteResponse. # noqa: E501 + :type: list[JSONIndividualRouteResponseWarnings] + """ + + self._warnings = warnings + + @property + def way_points(self): + """Gets the way_points of this JSONIndividualRouteResponse. # noqa: E501 + + List containing the indices of way points corresponding to the *geometry*. # noqa: E501 + + :return: The way_points of this JSONIndividualRouteResponse. # noqa: E501 + :rtype: list[int] + """ + return self._way_points + + @way_points.setter + def way_points(self, way_points): + """Sets the way_points of this JSONIndividualRouteResponse. + + List containing the indices of way points corresponding to the *geometry*. # noqa: E501 + + :param way_points: The way_points of this JSONIndividualRouteResponse. # noqa: E501 + :type: list[int] + """ + + self._way_points = way_points + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONIndividualRouteResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONIndividualRouteResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_individual_route_response_extras.py b/openrouteservice/models/json_individual_route_response_extras.py new file mode 100644 index 00000000..3de07567 --- /dev/null +++ b/openrouteservice/models/json_individual_route_response_extras.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONIndividualRouteResponseExtras(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'summary': 'list[JSONExtraSummary]', + 'values': 'list[list[int]]' + } + + attribute_map = { + 'summary': 'summary', + 'values': 'values' + } + + def __init__(self, summary=None, values=None): # noqa: E501 + """JSONIndividualRouteResponseExtras - a model defined in Swagger""" # noqa: E501 + self._summary = None + self._values = None + self.discriminator = None + if summary is not None: + self.summary = summary + if values is not None: + self.values = values + + @property + def summary(self): + """Gets the summary of this JSONIndividualRouteResponseExtras. # noqa: E501 + + List representing the summary of the extra info items. # noqa: E501 + + :return: The summary of this JSONIndividualRouteResponseExtras. # noqa: E501 + :rtype: list[JSONExtraSummary] + """ + return self._summary + + @summary.setter + def summary(self, summary): + """Sets the summary of this JSONIndividualRouteResponseExtras. + + List representing the summary of the extra info items. # noqa: E501 + + :param summary: The summary of this JSONIndividualRouteResponseExtras. # noqa: E501 + :type: list[JSONExtraSummary] + """ + + self._summary = summary + + @property + def values(self): + """Gets the values of this JSONIndividualRouteResponseExtras. # noqa: E501 + + A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. # noqa: E501 + + :return: The values of this JSONIndividualRouteResponseExtras. # noqa: E501 + :rtype: list[list[int]] + """ + return self._values + + @values.setter + def values(self, values): + """Sets the values of this JSONIndividualRouteResponseExtras. + + A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. # noqa: E501 + + :param values: The values of this JSONIndividualRouteResponseExtras. # noqa: E501 + :type: list[list[int]] + """ + + self._values = values + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONIndividualRouteResponseExtras, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONIndividualRouteResponseExtras): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_individual_route_response_instructions.py b/openrouteservice/models/json_individual_route_response_instructions.py new file mode 100644 index 00000000..df3e8082 --- /dev/null +++ b/openrouteservice/models/json_individual_route_response_instructions.py @@ -0,0 +1,334 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONIndividualRouteResponseInstructions(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'distance': 'float', + 'duration': 'float', + 'exit_bearings': 'list[int]', + 'exit_number': 'int', + 'instruction': 'str', + 'maneuver': 'JSONIndividualRouteResponseManeuver', + 'name': 'str', + 'type': 'int', + 'way_points': 'list[int]' + } + + attribute_map = { + 'distance': 'distance', + 'duration': 'duration', + 'exit_bearings': 'exit_bearings', + 'exit_number': 'exit_number', + 'instruction': 'instruction', + 'maneuver': 'maneuver', + 'name': 'name', + 'type': 'type', + 'way_points': 'way_points' + } + + def __init__(self, distance=None, duration=None, exit_bearings=None, exit_number=None, instruction=None, maneuver=None, name=None, type=None, way_points=None): # noqa: E501 + """JSONIndividualRouteResponseInstructions - a model defined in Swagger""" # noqa: E501 + self._distance = None + self._duration = None + self._exit_bearings = None + self._exit_number = None + self._instruction = None + self._maneuver = None + self._name = None + self._type = None + self._way_points = None + self.discriminator = None + if distance is not None: + self.distance = distance + if duration is not None: + self.duration = duration + if exit_bearings is not None: + self.exit_bearings = exit_bearings + if exit_number is not None: + self.exit_number = exit_number + if instruction is not None: + self.instruction = instruction + if maneuver is not None: + self.maneuver = maneuver + if name is not None: + self.name = name + if type is not None: + self.type = type + if way_points is not None: + self.way_points = way_points + + @property + def distance(self): + """Gets the distance of this JSONIndividualRouteResponseInstructions. # noqa: E501 + + The distance for the step in metres. # noqa: E501 + + :return: The distance of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this JSONIndividualRouteResponseInstructions. + + The distance for the step in metres. # noqa: E501 + + :param distance: The distance of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def duration(self): + """Gets the duration of this JSONIndividualRouteResponseInstructions. # noqa: E501 + + The duration for the step in seconds. # noqa: E501 + + :return: The duration of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this JSONIndividualRouteResponseInstructions. + + The duration for the step in seconds. # noqa: E501 + + :param duration: The duration of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :type: float + """ + + self._duration = duration + + @property + def exit_bearings(self): + """Gets the exit_bearings of this JSONIndividualRouteResponseInstructions. # noqa: E501 + + Contains the bearing of the entrance and all passed exits in a roundabout. # noqa: E501 + + :return: The exit_bearings of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :rtype: list[int] + """ + return self._exit_bearings + + @exit_bearings.setter + def exit_bearings(self, exit_bearings): + """Sets the exit_bearings of this JSONIndividualRouteResponseInstructions. + + Contains the bearing of the entrance and all passed exits in a roundabout. # noqa: E501 + + :param exit_bearings: The exit_bearings of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :type: list[int] + """ + + self._exit_bearings = exit_bearings + + @property + def exit_number(self): + """Gets the exit_number of this JSONIndividualRouteResponseInstructions. # noqa: E501 + + Only for roundabouts. Contains the number of the exit to take. # noqa: E501 + + :return: The exit_number of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :rtype: int + """ + return self._exit_number + + @exit_number.setter + def exit_number(self, exit_number): + """Sets the exit_number of this JSONIndividualRouteResponseInstructions. + + Only for roundabouts. Contains the number of the exit to take. # noqa: E501 + + :param exit_number: The exit_number of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :type: int + """ + + self._exit_number = exit_number + + @property + def instruction(self): + """Gets the instruction of this JSONIndividualRouteResponseInstructions. # noqa: E501 + + The routing instruction text for the step. # noqa: E501 + + :return: The instruction of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :rtype: str + """ + return self._instruction + + @instruction.setter + def instruction(self, instruction): + """Sets the instruction of this JSONIndividualRouteResponseInstructions. + + The routing instruction text for the step. # noqa: E501 + + :param instruction: The instruction of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :type: str + """ + + self._instruction = instruction + + @property + def maneuver(self): + """Gets the maneuver of this JSONIndividualRouteResponseInstructions. # noqa: E501 + + + :return: The maneuver of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :rtype: JSONIndividualRouteResponseManeuver + """ + return self._maneuver + + @maneuver.setter + def maneuver(self, maneuver): + """Sets the maneuver of this JSONIndividualRouteResponseInstructions. + + + :param maneuver: The maneuver of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :type: JSONIndividualRouteResponseManeuver + """ + + self._maneuver = maneuver + + @property + def name(self): + """Gets the name of this JSONIndividualRouteResponseInstructions. # noqa: E501 + + The name of the next street. # noqa: E501 + + :return: The name of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this JSONIndividualRouteResponseInstructions. + + The name of the next street. # noqa: E501 + + :param name: The name of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def type(self): + """Gets the type of this JSONIndividualRouteResponseInstructions. # noqa: E501 + + The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. # noqa: E501 + + :return: The type of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :rtype: int + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this JSONIndividualRouteResponseInstructions. + + The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. # noqa: E501 + + :param type: The type of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :type: int + """ + + self._type = type + + @property + def way_points(self): + """Gets the way_points of this JSONIndividualRouteResponseInstructions. # noqa: E501 + + List containing the indices of the steps start- and endpoint corresponding to the *geometry*. # noqa: E501 + + :return: The way_points of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :rtype: list[int] + """ + return self._way_points + + @way_points.setter + def way_points(self, way_points): + """Sets the way_points of this JSONIndividualRouteResponseInstructions. + + List containing the indices of the steps start- and endpoint corresponding to the *geometry*. # noqa: E501 + + :param way_points: The way_points of this JSONIndividualRouteResponseInstructions. # noqa: E501 + :type: list[int] + """ + + self._way_points = way_points + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONIndividualRouteResponseInstructions, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONIndividualRouteResponseInstructions): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_individual_route_response_legs.py b/openrouteservice/models/json_individual_route_response_legs.py new file mode 100644 index 00000000..b0103732 --- /dev/null +++ b/openrouteservice/models/json_individual_route_response_legs.py @@ -0,0 +1,588 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONIndividualRouteResponseLegs(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'arrival': 'datetime', + 'departure': 'datetime', + 'departure_location': 'str', + 'distance': 'float', + 'duration': 'float', + 'feed_id': 'str', + 'geometry': 'str', + 'instructions': 'list[JSONIndividualRouteResponseInstructions]', + 'is_in_same_vehicle_as_previous': 'bool', + 'route_desc': 'str', + 'route_id': 'str', + 'route_long_name': 'str', + 'route_short_name': 'str', + 'route_type': 'int', + 'stops': 'list[JSONIndividualRouteResponseStops]', + 'trip_headsign': 'str', + 'trip_id': 'str', + 'type': 'str' + } + + attribute_map = { + 'arrival': 'arrival', + 'departure': 'departure', + 'departure_location': 'departure_location', + 'distance': 'distance', + 'duration': 'duration', + 'feed_id': 'feed_id', + 'geometry': 'geometry', + 'instructions': 'instructions', + 'is_in_same_vehicle_as_previous': 'is_in_same_vehicle_as_previous', + 'route_desc': 'route_desc', + 'route_id': 'route_id', + 'route_long_name': 'route_long_name', + 'route_short_name': 'route_short_name', + 'route_type': 'route_type', + 'stops': 'stops', + 'trip_headsign': 'trip_headsign', + 'trip_id': 'trip_id', + 'type': 'type' + } + + def __init__(self, arrival=None, departure=None, departure_location=None, distance=None, duration=None, feed_id=None, geometry=None, instructions=None, is_in_same_vehicle_as_previous=None, route_desc=None, route_id=None, route_long_name=None, route_short_name=None, route_type=None, stops=None, trip_headsign=None, trip_id=None, type=None): # noqa: E501 + """JSONIndividualRouteResponseLegs - a model defined in Swagger""" # noqa: E501 + self._arrival = None + self._departure = None + self._departure_location = None + self._distance = None + self._duration = None + self._feed_id = None + self._geometry = None + self._instructions = None + self._is_in_same_vehicle_as_previous = None + self._route_desc = None + self._route_id = None + self._route_long_name = None + self._route_short_name = None + self._route_type = None + self._stops = None + self._trip_headsign = None + self._trip_id = None + self._type = None + self.discriminator = None + if arrival is not None: + self.arrival = arrival + if departure is not None: + self.departure = departure + if departure_location is not None: + self.departure_location = departure_location + if distance is not None: + self.distance = distance + if duration is not None: + self.duration = duration + if feed_id is not None: + self.feed_id = feed_id + if geometry is not None: + self.geometry = geometry + if instructions is not None: + self.instructions = instructions + if is_in_same_vehicle_as_previous is not None: + self.is_in_same_vehicle_as_previous = is_in_same_vehicle_as_previous + if route_desc is not None: + self.route_desc = route_desc + if route_id is not None: + self.route_id = route_id + if route_long_name is not None: + self.route_long_name = route_long_name + if route_short_name is not None: + self.route_short_name = route_short_name + if route_type is not None: + self.route_type = route_type + if stops is not None: + self.stops = stops + if trip_headsign is not None: + self.trip_headsign = trip_headsign + if trip_id is not None: + self.trip_id = trip_id + if type is not None: + self.type = type + + @property + def arrival(self): + """Gets the arrival of this JSONIndividualRouteResponseLegs. # noqa: E501 + + Arrival date and time # noqa: E501 + + :return: The arrival of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: datetime + """ + return self._arrival + + @arrival.setter + def arrival(self, arrival): + """Sets the arrival of this JSONIndividualRouteResponseLegs. + + Arrival date and time # noqa: E501 + + :param arrival: The arrival of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: datetime + """ + + self._arrival = arrival + + @property + def departure(self): + """Gets the departure of this JSONIndividualRouteResponseLegs. # noqa: E501 + + Departure date and time # noqa: E501 + + :return: The departure of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: datetime + """ + return self._departure + + @departure.setter + def departure(self, departure): + """Sets the departure of this JSONIndividualRouteResponseLegs. + + Departure date and time # noqa: E501 + + :param departure: The departure of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: datetime + """ + + self._departure = departure + + @property + def departure_location(self): + """Gets the departure_location of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The departure location of the leg. # noqa: E501 + + :return: The departure_location of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: str + """ + return self._departure_location + + @departure_location.setter + def departure_location(self, departure_location): + """Sets the departure_location of this JSONIndividualRouteResponseLegs. + + The departure location of the leg. # noqa: E501 + + :param departure_location: The departure_location of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: str + """ + + self._departure_location = departure_location + + @property + def distance(self): + """Gets the distance of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The distance for the leg in metres. # noqa: E501 + + :return: The distance of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this JSONIndividualRouteResponseLegs. + + The distance for the leg in metres. # noqa: E501 + + :param distance: The distance of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def duration(self): + """Gets the duration of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The duration for the leg in seconds. # noqa: E501 + + :return: The duration of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this JSONIndividualRouteResponseLegs. + + The duration for the leg in seconds. # noqa: E501 + + :param duration: The duration of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: float + """ + + self._duration = duration + + @property + def feed_id(self): + """Gets the feed_id of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The feed ID this public transport leg based its information from. # noqa: E501 + + :return: The feed_id of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: str + """ + return self._feed_id + + @feed_id.setter + def feed_id(self, feed_id): + """Sets the feed_id of this JSONIndividualRouteResponseLegs. + + The feed ID this public transport leg based its information from. # noqa: E501 + + :param feed_id: The feed_id of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: str + """ + + self._feed_id = feed_id + + @property + def geometry(self): + """Gets the geometry of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The geometry of the leg. This is an encoded polyline. # noqa: E501 + + :return: The geometry of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: str + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this JSONIndividualRouteResponseLegs. + + The geometry of the leg. This is an encoded polyline. # noqa: E501 + + :param geometry: The geometry of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: str + """ + + self._geometry = geometry + + @property + def instructions(self): + """Gets the instructions of this JSONIndividualRouteResponseLegs. # noqa: E501 + + List containing the specific steps the segment consists of. # noqa: E501 + + :return: The instructions of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseInstructions] + """ + return self._instructions + + @instructions.setter + def instructions(self, instructions): + """Sets the instructions of this JSONIndividualRouteResponseLegs. + + List containing the specific steps the segment consists of. # noqa: E501 + + :param instructions: The instructions of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: list[JSONIndividualRouteResponseInstructions] + """ + + self._instructions = instructions + + @property + def is_in_same_vehicle_as_previous(self): + """Gets the is_in_same_vehicle_as_previous of this JSONIndividualRouteResponseLegs. # noqa: E501 + + Whether the legs continues in the same vehicle as the previous one. # noqa: E501 + + :return: The is_in_same_vehicle_as_previous of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: bool + """ + return self._is_in_same_vehicle_as_previous + + @is_in_same_vehicle_as_previous.setter + def is_in_same_vehicle_as_previous(self, is_in_same_vehicle_as_previous): + """Sets the is_in_same_vehicle_as_previous of this JSONIndividualRouteResponseLegs. + + Whether the legs continues in the same vehicle as the previous one. # noqa: E501 + + :param is_in_same_vehicle_as_previous: The is_in_same_vehicle_as_previous of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: bool + """ + + self._is_in_same_vehicle_as_previous = is_in_same_vehicle_as_previous + + @property + def route_desc(self): + """Gets the route_desc of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The route description of the leg (if provided in the GTFS data set). # noqa: E501 + + :return: The route_desc of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: str + """ + return self._route_desc + + @route_desc.setter + def route_desc(self, route_desc): + """Sets the route_desc of this JSONIndividualRouteResponseLegs. + + The route description of the leg (if provided in the GTFS data set). # noqa: E501 + + :param route_desc: The route_desc of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: str + """ + + self._route_desc = route_desc + + @property + def route_id(self): + """Gets the route_id of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The route ID of this public transport leg. # noqa: E501 + + :return: The route_id of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: str + """ + return self._route_id + + @route_id.setter + def route_id(self, route_id): + """Sets the route_id of this JSONIndividualRouteResponseLegs. + + The route ID of this public transport leg. # noqa: E501 + + :param route_id: The route_id of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: str + """ + + self._route_id = route_id + + @property + def route_long_name(self): + """Gets the route_long_name of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The public transport route name of the leg. # noqa: E501 + + :return: The route_long_name of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: str + """ + return self._route_long_name + + @route_long_name.setter + def route_long_name(self, route_long_name): + """Sets the route_long_name of this JSONIndividualRouteResponseLegs. + + The public transport route name of the leg. # noqa: E501 + + :param route_long_name: The route_long_name of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: str + """ + + self._route_long_name = route_long_name + + @property + def route_short_name(self): + """Gets the route_short_name of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The public transport route name (short version) of the leg. # noqa: E501 + + :return: The route_short_name of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: str + """ + return self._route_short_name + + @route_short_name.setter + def route_short_name(self, route_short_name): + """Sets the route_short_name of this JSONIndividualRouteResponseLegs. + + The public transport route name (short version) of the leg. # noqa: E501 + + :param route_short_name: The route_short_name of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: str + """ + + self._route_short_name = route_short_name + + @property + def route_type(self): + """Gets the route_type of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The route type of the leg (if provided in the GTFS data set). # noqa: E501 + + :return: The route_type of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: int + """ + return self._route_type + + @route_type.setter + def route_type(self, route_type): + """Sets the route_type of this JSONIndividualRouteResponseLegs. + + The route type of the leg (if provided in the GTFS data set). # noqa: E501 + + :param route_type: The route_type of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: int + """ + + self._route_type = route_type + + @property + def stops(self): + """Gets the stops of this JSONIndividualRouteResponseLegs. # noqa: E501 + + List containing the stops the along the leg. # noqa: E501 + + :return: The stops of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseStops] + """ + return self._stops + + @stops.setter + def stops(self, stops): + """Sets the stops of this JSONIndividualRouteResponseLegs. + + List containing the stops the along the leg. # noqa: E501 + + :param stops: The stops of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: list[JSONIndividualRouteResponseStops] + """ + + self._stops = stops + + @property + def trip_headsign(self): + """Gets the trip_headsign of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The headsign of the public transport vehicle of the leg. # noqa: E501 + + :return: The trip_headsign of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: str + """ + return self._trip_headsign + + @trip_headsign.setter + def trip_headsign(self, trip_headsign): + """Sets the trip_headsign of this JSONIndividualRouteResponseLegs. + + The headsign of the public transport vehicle of the leg. # noqa: E501 + + :param trip_headsign: The trip_headsign of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: str + """ + + self._trip_headsign = trip_headsign + + @property + def trip_id(self): + """Gets the trip_id of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The trip ID of this public transport leg. # noqa: E501 + + :return: The trip_id of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: str + """ + return self._trip_id + + @trip_id.setter + def trip_id(self, trip_id): + """Sets the trip_id of this JSONIndividualRouteResponseLegs. + + The trip ID of this public transport leg. # noqa: E501 + + :param trip_id: The trip_id of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: str + """ + + self._trip_id = trip_id + + @property + def type(self): + """Gets the type of this JSONIndividualRouteResponseLegs. # noqa: E501 + + The type of the leg, possible values are currently 'walk' and 'pt'. # noqa: E501 + + :return: The type of this JSONIndividualRouteResponseLegs. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this JSONIndividualRouteResponseLegs. + + The type of the leg, possible values are currently 'walk' and 'pt'. # noqa: E501 + + :param type: The type of this JSONIndividualRouteResponseLegs. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONIndividualRouteResponseLegs, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONIndividualRouteResponseLegs): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_individual_route_response_maneuver.py b/openrouteservice/models/json_individual_route_response_maneuver.py new file mode 100644 index 00000000..5462f3ab --- /dev/null +++ b/openrouteservice/models/json_individual_route_response_maneuver.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONIndividualRouteResponseManeuver(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bearing_after': 'int', + 'bearing_before': 'int', + 'location': 'list[float]' + } + + attribute_map = { + 'bearing_after': 'bearing_after', + 'bearing_before': 'bearing_before', + 'location': 'location' + } + + def __init__(self, bearing_after=None, bearing_before=None, location=None): # noqa: E501 + """JSONIndividualRouteResponseManeuver - a model defined in Swagger""" # noqa: E501 + self._bearing_after = None + self._bearing_before = None + self._location = None + self.discriminator = None + if bearing_after is not None: + self.bearing_after = bearing_after + if bearing_before is not None: + self.bearing_before = bearing_before + if location is not None: + self.location = location + + @property + def bearing_after(self): + """Gets the bearing_after of this JSONIndividualRouteResponseManeuver. # noqa: E501 + + The azimuth angle (in degrees) of the direction right after the maneuver. # noqa: E501 + + :return: The bearing_after of this JSONIndividualRouteResponseManeuver. # noqa: E501 + :rtype: int + """ + return self._bearing_after + + @bearing_after.setter + def bearing_after(self, bearing_after): + """Sets the bearing_after of this JSONIndividualRouteResponseManeuver. + + The azimuth angle (in degrees) of the direction right after the maneuver. # noqa: E501 + + :param bearing_after: The bearing_after of this JSONIndividualRouteResponseManeuver. # noqa: E501 + :type: int + """ + + self._bearing_after = bearing_after + + @property + def bearing_before(self): + """Gets the bearing_before of this JSONIndividualRouteResponseManeuver. # noqa: E501 + + The azimuth angle (in degrees) of the direction right before the maneuver. # noqa: E501 + + :return: The bearing_before of this JSONIndividualRouteResponseManeuver. # noqa: E501 + :rtype: int + """ + return self._bearing_before + + @bearing_before.setter + def bearing_before(self, bearing_before): + """Sets the bearing_before of this JSONIndividualRouteResponseManeuver. + + The azimuth angle (in degrees) of the direction right before the maneuver. # noqa: E501 + + :param bearing_before: The bearing_before of this JSONIndividualRouteResponseManeuver. # noqa: E501 + :type: int + """ + + self._bearing_before = bearing_before + + @property + def location(self): + """Gets the location of this JSONIndividualRouteResponseManeuver. # noqa: E501 + + The coordinate of the point where a maneuver takes place. # noqa: E501 + + :return: The location of this JSONIndividualRouteResponseManeuver. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this JSONIndividualRouteResponseManeuver. + + The coordinate of the point where a maneuver takes place. # noqa: E501 + + :param location: The location of this JSONIndividualRouteResponseManeuver. # noqa: E501 + :type: list[float] + """ + + self._location = location + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONIndividualRouteResponseManeuver, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONIndividualRouteResponseManeuver): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_individual_route_response_segments.py b/openrouteservice/models/json_individual_route_response_segments.py new file mode 100644 index 00000000..2f856054 --- /dev/null +++ b/openrouteservice/models/json_individual_route_response_segments.py @@ -0,0 +1,308 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONIndividualRouteResponseSegments(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ascent': 'float', + 'avgspeed': 'float', + 'descent': 'float', + 'detourfactor': 'float', + 'distance': 'float', + 'duration': 'float', + 'percentage': 'float', + 'steps': 'list[JSONIndividualRouteResponseInstructions]' + } + + attribute_map = { + 'ascent': 'ascent', + 'avgspeed': 'avgspeed', + 'descent': 'descent', + 'detourfactor': 'detourfactor', + 'distance': 'distance', + 'duration': 'duration', + 'percentage': 'percentage', + 'steps': 'steps' + } + + def __init__(self, ascent=None, avgspeed=None, descent=None, detourfactor=None, distance=None, duration=None, percentage=None, steps=None): # noqa: E501 + """JSONIndividualRouteResponseSegments - a model defined in Swagger""" # noqa: E501 + self._ascent = None + self._avgspeed = None + self._descent = None + self._detourfactor = None + self._distance = None + self._duration = None + self._percentage = None + self._steps = None + self.discriminator = None + if ascent is not None: + self.ascent = ascent + if avgspeed is not None: + self.avgspeed = avgspeed + if descent is not None: + self.descent = descent + if detourfactor is not None: + self.detourfactor = detourfactor + if distance is not None: + self.distance = distance + if duration is not None: + self.duration = duration + if percentage is not None: + self.percentage = percentage + if steps is not None: + self.steps = steps + + @property + def ascent(self): + """Gets the ascent of this JSONIndividualRouteResponseSegments. # noqa: E501 + + Contains ascent of this segment in metres. # noqa: E501 + + :return: The ascent of this JSONIndividualRouteResponseSegments. # noqa: E501 + :rtype: float + """ + return self._ascent + + @ascent.setter + def ascent(self, ascent): + """Sets the ascent of this JSONIndividualRouteResponseSegments. + + Contains ascent of this segment in metres. # noqa: E501 + + :param ascent: The ascent of this JSONIndividualRouteResponseSegments. # noqa: E501 + :type: float + """ + + self._ascent = ascent + + @property + def avgspeed(self): + """Gets the avgspeed of this JSONIndividualRouteResponseSegments. # noqa: E501 + + Contains the average speed of this segment in km/h. # noqa: E501 + + :return: The avgspeed of this JSONIndividualRouteResponseSegments. # noqa: E501 + :rtype: float + """ + return self._avgspeed + + @avgspeed.setter + def avgspeed(self, avgspeed): + """Sets the avgspeed of this JSONIndividualRouteResponseSegments. + + Contains the average speed of this segment in km/h. # noqa: E501 + + :param avgspeed: The avgspeed of this JSONIndividualRouteResponseSegments. # noqa: E501 + :type: float + """ + + self._avgspeed = avgspeed + + @property + def descent(self): + """Gets the descent of this JSONIndividualRouteResponseSegments. # noqa: E501 + + Contains descent of this segment in metres. # noqa: E501 + + :return: The descent of this JSONIndividualRouteResponseSegments. # noqa: E501 + :rtype: float + """ + return self._descent + + @descent.setter + def descent(self, descent): + """Sets the descent of this JSONIndividualRouteResponseSegments. + + Contains descent of this segment in metres. # noqa: E501 + + :param descent: The descent of this JSONIndividualRouteResponseSegments. # noqa: E501 + :type: float + """ + + self._descent = descent + + @property + def detourfactor(self): + """Gets the detourfactor of this JSONIndividualRouteResponseSegments. # noqa: E501 + + Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. # noqa: E501 + + :return: The detourfactor of this JSONIndividualRouteResponseSegments. # noqa: E501 + :rtype: float + """ + return self._detourfactor + + @detourfactor.setter + def detourfactor(self, detourfactor): + """Sets the detourfactor of this JSONIndividualRouteResponseSegments. + + Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. # noqa: E501 + + :param detourfactor: The detourfactor of this JSONIndividualRouteResponseSegments. # noqa: E501 + :type: float + """ + + self._detourfactor = detourfactor + + @property + def distance(self): + """Gets the distance of this JSONIndividualRouteResponseSegments. # noqa: E501 + + Contains the distance of the segment in specified units. # noqa: E501 + + :return: The distance of this JSONIndividualRouteResponseSegments. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this JSONIndividualRouteResponseSegments. + + Contains the distance of the segment in specified units. # noqa: E501 + + :param distance: The distance of this JSONIndividualRouteResponseSegments. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def duration(self): + """Gets the duration of this JSONIndividualRouteResponseSegments. # noqa: E501 + + Contains the duration of the segment in seconds. # noqa: E501 + + :return: The duration of this JSONIndividualRouteResponseSegments. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this JSONIndividualRouteResponseSegments. + + Contains the duration of the segment in seconds. # noqa: E501 + + :param duration: The duration of this JSONIndividualRouteResponseSegments. # noqa: E501 + :type: float + """ + + self._duration = duration + + @property + def percentage(self): + """Gets the percentage of this JSONIndividualRouteResponseSegments. # noqa: E501 + + Contains the proportion of the route in percent. # noqa: E501 + + :return: The percentage of this JSONIndividualRouteResponseSegments. # noqa: E501 + :rtype: float + """ + return self._percentage + + @percentage.setter + def percentage(self, percentage): + """Sets the percentage of this JSONIndividualRouteResponseSegments. + + Contains the proportion of the route in percent. # noqa: E501 + + :param percentage: The percentage of this JSONIndividualRouteResponseSegments. # noqa: E501 + :type: float + """ + + self._percentage = percentage + + @property + def steps(self): + """Gets the steps of this JSONIndividualRouteResponseSegments. # noqa: E501 + + List containing the specific steps the segment consists of. # noqa: E501 + + :return: The steps of this JSONIndividualRouteResponseSegments. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseInstructions] + """ + return self._steps + + @steps.setter + def steps(self, steps): + """Sets the steps of this JSONIndividualRouteResponseSegments. + + List containing the specific steps the segment consists of. # noqa: E501 + + :param steps: The steps of this JSONIndividualRouteResponseSegments. # noqa: E501 + :type: list[JSONIndividualRouteResponseInstructions] + """ + + self._steps = steps + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONIndividualRouteResponseSegments, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONIndividualRouteResponseSegments): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_individual_route_response_stops.py b/openrouteservice/models/json_individual_route_response_stops.py new file mode 100644 index 00000000..d7f49a14 --- /dev/null +++ b/openrouteservice/models/json_individual_route_response_stops.py @@ -0,0 +1,392 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONIndividualRouteResponseStops(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'arrival_cancelled': 'bool', + 'arrival_time': 'datetime', + 'departure_cancelled': 'bool', + 'departure_time': 'datetime', + 'location': 'list[float]', + 'name': 'str', + 'planned_arrival_time': 'datetime', + 'planned_departure_time': 'datetime', + 'predicted_arrival_time': 'datetime', + 'predicted_departure_time': 'datetime', + 'stop_id': 'str' + } + + attribute_map = { + 'arrival_cancelled': 'arrival_cancelled', + 'arrival_time': 'arrival_time', + 'departure_cancelled': 'departure_cancelled', + 'departure_time': 'departure_time', + 'location': 'location', + 'name': 'name', + 'planned_arrival_time': 'planned_arrival_time', + 'planned_departure_time': 'planned_departure_time', + 'predicted_arrival_time': 'predicted_arrival_time', + 'predicted_departure_time': 'predicted_departure_time', + 'stop_id': 'stop_id' + } + + def __init__(self, arrival_cancelled=None, arrival_time=None, departure_cancelled=None, departure_time=None, location=None, name=None, planned_arrival_time=None, planned_departure_time=None, predicted_arrival_time=None, predicted_departure_time=None, stop_id=None): # noqa: E501 + """JSONIndividualRouteResponseStops - a model defined in Swagger""" # noqa: E501 + self._arrival_cancelled = None + self._arrival_time = None + self._departure_cancelled = None + self._departure_time = None + self._location = None + self._name = None + self._planned_arrival_time = None + self._planned_departure_time = None + self._predicted_arrival_time = None + self._predicted_departure_time = None + self._stop_id = None + self.discriminator = None + if arrival_cancelled is not None: + self.arrival_cancelled = arrival_cancelled + if arrival_time is not None: + self.arrival_time = arrival_time + if departure_cancelled is not None: + self.departure_cancelled = departure_cancelled + if departure_time is not None: + self.departure_time = departure_time + if location is not None: + self.location = location + if name is not None: + self.name = name + if planned_arrival_time is not None: + self.planned_arrival_time = planned_arrival_time + if planned_departure_time is not None: + self.planned_departure_time = planned_departure_time + if predicted_arrival_time is not None: + self.predicted_arrival_time = predicted_arrival_time + if predicted_departure_time is not None: + self.predicted_departure_time = predicted_departure_time + if stop_id is not None: + self.stop_id = stop_id + + @property + def arrival_cancelled(self): + """Gets the arrival_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 + + Whether arrival at the stop was cancelled. # noqa: E501 + + :return: The arrival_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 + :rtype: bool + """ + return self._arrival_cancelled + + @arrival_cancelled.setter + def arrival_cancelled(self, arrival_cancelled): + """Sets the arrival_cancelled of this JSONIndividualRouteResponseStops. + + Whether arrival at the stop was cancelled. # noqa: E501 + + :param arrival_cancelled: The arrival_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 + :type: bool + """ + + self._arrival_cancelled = arrival_cancelled + + @property + def arrival_time(self): + """Gets the arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 + + Arrival time of the stop. # noqa: E501 + + :return: The arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :rtype: datetime + """ + return self._arrival_time + + @arrival_time.setter + def arrival_time(self, arrival_time): + """Sets the arrival_time of this JSONIndividualRouteResponseStops. + + Arrival time of the stop. # noqa: E501 + + :param arrival_time: The arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :type: datetime + """ + + self._arrival_time = arrival_time + + @property + def departure_cancelled(self): + """Gets the departure_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 + + Whether departure at the stop was cancelled. # noqa: E501 + + :return: The departure_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 + :rtype: bool + """ + return self._departure_cancelled + + @departure_cancelled.setter + def departure_cancelled(self, departure_cancelled): + """Sets the departure_cancelled of this JSONIndividualRouteResponseStops. + + Whether departure at the stop was cancelled. # noqa: E501 + + :param departure_cancelled: The departure_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 + :type: bool + """ + + self._departure_cancelled = departure_cancelled + + @property + def departure_time(self): + """Gets the departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 + + Departure time of the stop. # noqa: E501 + + :return: The departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :rtype: datetime + """ + return self._departure_time + + @departure_time.setter + def departure_time(self, departure_time): + """Sets the departure_time of this JSONIndividualRouteResponseStops. + + Departure time of the stop. # noqa: E501 + + :param departure_time: The departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :type: datetime + """ + + self._departure_time = departure_time + + @property + def location(self): + """Gets the location of this JSONIndividualRouteResponseStops. # noqa: E501 + + The location of the stop. # noqa: E501 + + :return: The location of this JSONIndividualRouteResponseStops. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this JSONIndividualRouteResponseStops. + + The location of the stop. # noqa: E501 + + :param location: The location of this JSONIndividualRouteResponseStops. # noqa: E501 + :type: list[float] + """ + + self._location = location + + @property + def name(self): + """Gets the name of this JSONIndividualRouteResponseStops. # noqa: E501 + + The name of the stop. # noqa: E501 + + :return: The name of this JSONIndividualRouteResponseStops. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this JSONIndividualRouteResponseStops. + + The name of the stop. # noqa: E501 + + :param name: The name of this JSONIndividualRouteResponseStops. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def planned_arrival_time(self): + """Gets the planned_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 + + Planned arrival time of the stop. # noqa: E501 + + :return: The planned_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :rtype: datetime + """ + return self._planned_arrival_time + + @planned_arrival_time.setter + def planned_arrival_time(self, planned_arrival_time): + """Sets the planned_arrival_time of this JSONIndividualRouteResponseStops. + + Planned arrival time of the stop. # noqa: E501 + + :param planned_arrival_time: The planned_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :type: datetime + """ + + self._planned_arrival_time = planned_arrival_time + + @property + def planned_departure_time(self): + """Gets the planned_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 + + Planned departure time of the stop. # noqa: E501 + + :return: The planned_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :rtype: datetime + """ + return self._planned_departure_time + + @planned_departure_time.setter + def planned_departure_time(self, planned_departure_time): + """Sets the planned_departure_time of this JSONIndividualRouteResponseStops. + + Planned departure time of the stop. # noqa: E501 + + :param planned_departure_time: The planned_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :type: datetime + """ + + self._planned_departure_time = planned_departure_time + + @property + def predicted_arrival_time(self): + """Gets the predicted_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 + + Predicted arrival time of the stop. # noqa: E501 + + :return: The predicted_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :rtype: datetime + """ + return self._predicted_arrival_time + + @predicted_arrival_time.setter + def predicted_arrival_time(self, predicted_arrival_time): + """Sets the predicted_arrival_time of this JSONIndividualRouteResponseStops. + + Predicted arrival time of the stop. # noqa: E501 + + :param predicted_arrival_time: The predicted_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :type: datetime + """ + + self._predicted_arrival_time = predicted_arrival_time + + @property + def predicted_departure_time(self): + """Gets the predicted_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 + + Predicted departure time of the stop. # noqa: E501 + + :return: The predicted_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :rtype: datetime + """ + return self._predicted_departure_time + + @predicted_departure_time.setter + def predicted_departure_time(self, predicted_departure_time): + """Sets the predicted_departure_time of this JSONIndividualRouteResponseStops. + + Predicted departure time of the stop. # noqa: E501 + + :param predicted_departure_time: The predicted_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 + :type: datetime + """ + + self._predicted_departure_time = predicted_departure_time + + @property + def stop_id(self): + """Gets the stop_id of this JSONIndividualRouteResponseStops. # noqa: E501 + + The ID of the stop. # noqa: E501 + + :return: The stop_id of this JSONIndividualRouteResponseStops. # noqa: E501 + :rtype: str + """ + return self._stop_id + + @stop_id.setter + def stop_id(self, stop_id): + """Sets the stop_id of this JSONIndividualRouteResponseStops. + + The ID of the stop. # noqa: E501 + + :param stop_id: The stop_id of this JSONIndividualRouteResponseStops. # noqa: E501 + :type: str + """ + + self._stop_id = stop_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONIndividualRouteResponseStops, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONIndividualRouteResponseStops): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_individual_route_response_summary.py b/openrouteservice/models/json_individual_route_response_summary.py new file mode 100644 index 00000000..323597c3 --- /dev/null +++ b/openrouteservice/models/json_individual_route_response_summary.py @@ -0,0 +1,248 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONIndividualRouteResponseSummary(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ascent': 'float', + 'descent': 'float', + 'distance': 'float', + 'duration': 'float', + 'fare': 'int', + 'transfers': 'int' + } + + attribute_map = { + 'ascent': 'ascent', + 'descent': 'descent', + 'distance': 'distance', + 'duration': 'duration', + 'fare': 'fare', + 'transfers': 'transfers' + } + + def __init__(self, ascent=None, descent=None, distance=None, duration=None, fare=None, transfers=None): # noqa: E501 + """JSONIndividualRouteResponseSummary - a model defined in Swagger""" # noqa: E501 + self._ascent = None + self._descent = None + self._distance = None + self._duration = None + self._fare = None + self._transfers = None + self.discriminator = None + if ascent is not None: + self.ascent = ascent + if descent is not None: + self.descent = descent + if distance is not None: + self.distance = distance + if duration is not None: + self.duration = duration + if fare is not None: + self.fare = fare + if transfers is not None: + self.transfers = transfers + + @property + def ascent(self): + """Gets the ascent of this JSONIndividualRouteResponseSummary. # noqa: E501 + + Total ascent in meters. # noqa: E501 + + :return: The ascent of this JSONIndividualRouteResponseSummary. # noqa: E501 + :rtype: float + """ + return self._ascent + + @ascent.setter + def ascent(self, ascent): + """Sets the ascent of this JSONIndividualRouteResponseSummary. + + Total ascent in meters. # noqa: E501 + + :param ascent: The ascent of this JSONIndividualRouteResponseSummary. # noqa: E501 + :type: float + """ + + self._ascent = ascent + + @property + def descent(self): + """Gets the descent of this JSONIndividualRouteResponseSummary. # noqa: E501 + + Total descent in meters. # noqa: E501 + + :return: The descent of this JSONIndividualRouteResponseSummary. # noqa: E501 + :rtype: float + """ + return self._descent + + @descent.setter + def descent(self, descent): + """Sets the descent of this JSONIndividualRouteResponseSummary. + + Total descent in meters. # noqa: E501 + + :param descent: The descent of this JSONIndividualRouteResponseSummary. # noqa: E501 + :type: float + """ + + self._descent = descent + + @property + def distance(self): + """Gets the distance of this JSONIndividualRouteResponseSummary. # noqa: E501 + + Total route distance in specified units. # noqa: E501 + + :return: The distance of this JSONIndividualRouteResponseSummary. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this JSONIndividualRouteResponseSummary. + + Total route distance in specified units. # noqa: E501 + + :param distance: The distance of this JSONIndividualRouteResponseSummary. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def duration(self): + """Gets the duration of this JSONIndividualRouteResponseSummary. # noqa: E501 + + Total duration in seconds. # noqa: E501 + + :return: The duration of this JSONIndividualRouteResponseSummary. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this JSONIndividualRouteResponseSummary. + + Total duration in seconds. # noqa: E501 + + :param duration: The duration of this JSONIndividualRouteResponseSummary. # noqa: E501 + :type: float + """ + + self._duration = duration + + @property + def fare(self): + """Gets the fare of this JSONIndividualRouteResponseSummary. # noqa: E501 + + + :return: The fare of this JSONIndividualRouteResponseSummary. # noqa: E501 + :rtype: int + """ + return self._fare + + @fare.setter + def fare(self, fare): + """Sets the fare of this JSONIndividualRouteResponseSummary. + + + :param fare: The fare of this JSONIndividualRouteResponseSummary. # noqa: E501 + :type: int + """ + + self._fare = fare + + @property + def transfers(self): + """Gets the transfers of this JSONIndividualRouteResponseSummary. # noqa: E501 + + + :return: The transfers of this JSONIndividualRouteResponseSummary. # noqa: E501 + :rtype: int + """ + return self._transfers + + @transfers.setter + def transfers(self, transfers): + """Sets the transfers of this JSONIndividualRouteResponseSummary. + + + :param transfers: The transfers of this JSONIndividualRouteResponseSummary. # noqa: E501 + :type: int + """ + + self._transfers = transfers + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONIndividualRouteResponseSummary, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONIndividualRouteResponseSummary): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_individual_route_response_warnings.py b/openrouteservice/models/json_individual_route_response_warnings.py new file mode 100644 index 00000000..6a3cfc9c --- /dev/null +++ b/openrouteservice/models/json_individual_route_response_warnings.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONIndividualRouteResponseWarnings(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'code': 'int', + 'message': 'str' + } + + attribute_map = { + 'code': 'code', + 'message': 'message' + } + + def __init__(self, code=None, message=None): # noqa: E501 + """JSONIndividualRouteResponseWarnings - a model defined in Swagger""" # noqa: E501 + self._code = None + self._message = None + self.discriminator = None + if code is not None: + self.code = code + if message is not None: + self.message = message + + @property + def code(self): + """Gets the code of this JSONIndividualRouteResponseWarnings. # noqa: E501 + + Identification code for the warning # noqa: E501 + + :return: The code of this JSONIndividualRouteResponseWarnings. # noqa: E501 + :rtype: int + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this JSONIndividualRouteResponseWarnings. + + Identification code for the warning # noqa: E501 + + :param code: The code of this JSONIndividualRouteResponseWarnings. # noqa: E501 + :type: int + """ + + self._code = code + + @property + def message(self): + """Gets the message of this JSONIndividualRouteResponseWarnings. # noqa: E501 + + The message associated with the warning # noqa: E501 + + :return: The message of this JSONIndividualRouteResponseWarnings. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this JSONIndividualRouteResponseWarnings. + + The message associated with the warning # noqa: E501 + + :param message: The message of this JSONIndividualRouteResponseWarnings. # noqa: E501 + :type: str + """ + + self._message = message + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONIndividualRouteResponseWarnings, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONIndividualRouteResponseWarnings): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_leg.py b/openrouteservice/models/json_leg.py new file mode 100644 index 00000000..1e11ab7a --- /dev/null +++ b/openrouteservice/models/json_leg.py @@ -0,0 +1,588 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONLeg(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'arrival': 'datetime', + 'departure': 'datetime', + 'departure_location': 'str', + 'distance': 'float', + 'duration': 'float', + 'feed_id': 'str', + 'geometry': 'str', + 'instructions': 'list[JSONIndividualRouteResponseInstructions]', + 'is_in_same_vehicle_as_previous': 'bool', + 'route_desc': 'str', + 'route_id': 'str', + 'route_long_name': 'str', + 'route_short_name': 'str', + 'route_type': 'int', + 'stops': 'list[JSONIndividualRouteResponseStops]', + 'trip_headsign': 'str', + 'trip_id': 'str', + 'type': 'str' + } + + attribute_map = { + 'arrival': 'arrival', + 'departure': 'departure', + 'departure_location': 'departure_location', + 'distance': 'distance', + 'duration': 'duration', + 'feed_id': 'feed_id', + 'geometry': 'geometry', + 'instructions': 'instructions', + 'is_in_same_vehicle_as_previous': 'is_in_same_vehicle_as_previous', + 'route_desc': 'route_desc', + 'route_id': 'route_id', + 'route_long_name': 'route_long_name', + 'route_short_name': 'route_short_name', + 'route_type': 'route_type', + 'stops': 'stops', + 'trip_headsign': 'trip_headsign', + 'trip_id': 'trip_id', + 'type': 'type' + } + + def __init__(self, arrival=None, departure=None, departure_location=None, distance=None, duration=None, feed_id=None, geometry=None, instructions=None, is_in_same_vehicle_as_previous=None, route_desc=None, route_id=None, route_long_name=None, route_short_name=None, route_type=None, stops=None, trip_headsign=None, trip_id=None, type=None): # noqa: E501 + """JSONLeg - a model defined in Swagger""" # noqa: E501 + self._arrival = None + self._departure = None + self._departure_location = None + self._distance = None + self._duration = None + self._feed_id = None + self._geometry = None + self._instructions = None + self._is_in_same_vehicle_as_previous = None + self._route_desc = None + self._route_id = None + self._route_long_name = None + self._route_short_name = None + self._route_type = None + self._stops = None + self._trip_headsign = None + self._trip_id = None + self._type = None + self.discriminator = None + if arrival is not None: + self.arrival = arrival + if departure is not None: + self.departure = departure + if departure_location is not None: + self.departure_location = departure_location + if distance is not None: + self.distance = distance + if duration is not None: + self.duration = duration + if feed_id is not None: + self.feed_id = feed_id + if geometry is not None: + self.geometry = geometry + if instructions is not None: + self.instructions = instructions + if is_in_same_vehicle_as_previous is not None: + self.is_in_same_vehicle_as_previous = is_in_same_vehicle_as_previous + if route_desc is not None: + self.route_desc = route_desc + if route_id is not None: + self.route_id = route_id + if route_long_name is not None: + self.route_long_name = route_long_name + if route_short_name is not None: + self.route_short_name = route_short_name + if route_type is not None: + self.route_type = route_type + if stops is not None: + self.stops = stops + if trip_headsign is not None: + self.trip_headsign = trip_headsign + if trip_id is not None: + self.trip_id = trip_id + if type is not None: + self.type = type + + @property + def arrival(self): + """Gets the arrival of this JSONLeg. # noqa: E501 + + Arrival date and time # noqa: E501 + + :return: The arrival of this JSONLeg. # noqa: E501 + :rtype: datetime + """ + return self._arrival + + @arrival.setter + def arrival(self, arrival): + """Sets the arrival of this JSONLeg. + + Arrival date and time # noqa: E501 + + :param arrival: The arrival of this JSONLeg. # noqa: E501 + :type: datetime + """ + + self._arrival = arrival + + @property + def departure(self): + """Gets the departure of this JSONLeg. # noqa: E501 + + Departure date and time # noqa: E501 + + :return: The departure of this JSONLeg. # noqa: E501 + :rtype: datetime + """ + return self._departure + + @departure.setter + def departure(self, departure): + """Sets the departure of this JSONLeg. + + Departure date and time # noqa: E501 + + :param departure: The departure of this JSONLeg. # noqa: E501 + :type: datetime + """ + + self._departure = departure + + @property + def departure_location(self): + """Gets the departure_location of this JSONLeg. # noqa: E501 + + The departure location of the leg. # noqa: E501 + + :return: The departure_location of this JSONLeg. # noqa: E501 + :rtype: str + """ + return self._departure_location + + @departure_location.setter + def departure_location(self, departure_location): + """Sets the departure_location of this JSONLeg. + + The departure location of the leg. # noqa: E501 + + :param departure_location: The departure_location of this JSONLeg. # noqa: E501 + :type: str + """ + + self._departure_location = departure_location + + @property + def distance(self): + """Gets the distance of this JSONLeg. # noqa: E501 + + The distance for the leg in metres. # noqa: E501 + + :return: The distance of this JSONLeg. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this JSONLeg. + + The distance for the leg in metres. # noqa: E501 + + :param distance: The distance of this JSONLeg. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def duration(self): + """Gets the duration of this JSONLeg. # noqa: E501 + + The duration for the leg in seconds. # noqa: E501 + + :return: The duration of this JSONLeg. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this JSONLeg. + + The duration for the leg in seconds. # noqa: E501 + + :param duration: The duration of this JSONLeg. # noqa: E501 + :type: float + """ + + self._duration = duration + + @property + def feed_id(self): + """Gets the feed_id of this JSONLeg. # noqa: E501 + + The feed ID this public transport leg based its information from. # noqa: E501 + + :return: The feed_id of this JSONLeg. # noqa: E501 + :rtype: str + """ + return self._feed_id + + @feed_id.setter + def feed_id(self, feed_id): + """Sets the feed_id of this JSONLeg. + + The feed ID this public transport leg based its information from. # noqa: E501 + + :param feed_id: The feed_id of this JSONLeg. # noqa: E501 + :type: str + """ + + self._feed_id = feed_id + + @property + def geometry(self): + """Gets the geometry of this JSONLeg. # noqa: E501 + + The geometry of the leg. This is an encoded polyline. # noqa: E501 + + :return: The geometry of this JSONLeg. # noqa: E501 + :rtype: str + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this JSONLeg. + + The geometry of the leg. This is an encoded polyline. # noqa: E501 + + :param geometry: The geometry of this JSONLeg. # noqa: E501 + :type: str + """ + + self._geometry = geometry + + @property + def instructions(self): + """Gets the instructions of this JSONLeg. # noqa: E501 + + List containing the specific steps the segment consists of. # noqa: E501 + + :return: The instructions of this JSONLeg. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseInstructions] + """ + return self._instructions + + @instructions.setter + def instructions(self, instructions): + """Sets the instructions of this JSONLeg. + + List containing the specific steps the segment consists of. # noqa: E501 + + :param instructions: The instructions of this JSONLeg. # noqa: E501 + :type: list[JSONIndividualRouteResponseInstructions] + """ + + self._instructions = instructions + + @property + def is_in_same_vehicle_as_previous(self): + """Gets the is_in_same_vehicle_as_previous of this JSONLeg. # noqa: E501 + + Whether the legs continues in the same vehicle as the previous one. # noqa: E501 + + :return: The is_in_same_vehicle_as_previous of this JSONLeg. # noqa: E501 + :rtype: bool + """ + return self._is_in_same_vehicle_as_previous + + @is_in_same_vehicle_as_previous.setter + def is_in_same_vehicle_as_previous(self, is_in_same_vehicle_as_previous): + """Sets the is_in_same_vehicle_as_previous of this JSONLeg. + + Whether the legs continues in the same vehicle as the previous one. # noqa: E501 + + :param is_in_same_vehicle_as_previous: The is_in_same_vehicle_as_previous of this JSONLeg. # noqa: E501 + :type: bool + """ + + self._is_in_same_vehicle_as_previous = is_in_same_vehicle_as_previous + + @property + def route_desc(self): + """Gets the route_desc of this JSONLeg. # noqa: E501 + + The route description of the leg (if provided in the GTFS data set). # noqa: E501 + + :return: The route_desc of this JSONLeg. # noqa: E501 + :rtype: str + """ + return self._route_desc + + @route_desc.setter + def route_desc(self, route_desc): + """Sets the route_desc of this JSONLeg. + + The route description of the leg (if provided in the GTFS data set). # noqa: E501 + + :param route_desc: The route_desc of this JSONLeg. # noqa: E501 + :type: str + """ + + self._route_desc = route_desc + + @property + def route_id(self): + """Gets the route_id of this JSONLeg. # noqa: E501 + + The route ID of this public transport leg. # noqa: E501 + + :return: The route_id of this JSONLeg. # noqa: E501 + :rtype: str + """ + return self._route_id + + @route_id.setter + def route_id(self, route_id): + """Sets the route_id of this JSONLeg. + + The route ID of this public transport leg. # noqa: E501 + + :param route_id: The route_id of this JSONLeg. # noqa: E501 + :type: str + """ + + self._route_id = route_id + + @property + def route_long_name(self): + """Gets the route_long_name of this JSONLeg. # noqa: E501 + + The public transport route name of the leg. # noqa: E501 + + :return: The route_long_name of this JSONLeg. # noqa: E501 + :rtype: str + """ + return self._route_long_name + + @route_long_name.setter + def route_long_name(self, route_long_name): + """Sets the route_long_name of this JSONLeg. + + The public transport route name of the leg. # noqa: E501 + + :param route_long_name: The route_long_name of this JSONLeg. # noqa: E501 + :type: str + """ + + self._route_long_name = route_long_name + + @property + def route_short_name(self): + """Gets the route_short_name of this JSONLeg. # noqa: E501 + + The public transport route name (short version) of the leg. # noqa: E501 + + :return: The route_short_name of this JSONLeg. # noqa: E501 + :rtype: str + """ + return self._route_short_name + + @route_short_name.setter + def route_short_name(self, route_short_name): + """Sets the route_short_name of this JSONLeg. + + The public transport route name (short version) of the leg. # noqa: E501 + + :param route_short_name: The route_short_name of this JSONLeg. # noqa: E501 + :type: str + """ + + self._route_short_name = route_short_name + + @property + def route_type(self): + """Gets the route_type of this JSONLeg. # noqa: E501 + + The route type of the leg (if provided in the GTFS data set). # noqa: E501 + + :return: The route_type of this JSONLeg. # noqa: E501 + :rtype: int + """ + return self._route_type + + @route_type.setter + def route_type(self, route_type): + """Sets the route_type of this JSONLeg. + + The route type of the leg (if provided in the GTFS data set). # noqa: E501 + + :param route_type: The route_type of this JSONLeg. # noqa: E501 + :type: int + """ + + self._route_type = route_type + + @property + def stops(self): + """Gets the stops of this JSONLeg. # noqa: E501 + + List containing the stops the along the leg. # noqa: E501 + + :return: The stops of this JSONLeg. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseStops] + """ + return self._stops + + @stops.setter + def stops(self, stops): + """Sets the stops of this JSONLeg. + + List containing the stops the along the leg. # noqa: E501 + + :param stops: The stops of this JSONLeg. # noqa: E501 + :type: list[JSONIndividualRouteResponseStops] + """ + + self._stops = stops + + @property + def trip_headsign(self): + """Gets the trip_headsign of this JSONLeg. # noqa: E501 + + The headsign of the public transport vehicle of the leg. # noqa: E501 + + :return: The trip_headsign of this JSONLeg. # noqa: E501 + :rtype: str + """ + return self._trip_headsign + + @trip_headsign.setter + def trip_headsign(self, trip_headsign): + """Sets the trip_headsign of this JSONLeg. + + The headsign of the public transport vehicle of the leg. # noqa: E501 + + :param trip_headsign: The trip_headsign of this JSONLeg. # noqa: E501 + :type: str + """ + + self._trip_headsign = trip_headsign + + @property + def trip_id(self): + """Gets the trip_id of this JSONLeg. # noqa: E501 + + The trip ID of this public transport leg. # noqa: E501 + + :return: The trip_id of this JSONLeg. # noqa: E501 + :rtype: str + """ + return self._trip_id + + @trip_id.setter + def trip_id(self, trip_id): + """Sets the trip_id of this JSONLeg. + + The trip ID of this public transport leg. # noqa: E501 + + :param trip_id: The trip_id of this JSONLeg. # noqa: E501 + :type: str + """ + + self._trip_id = trip_id + + @property + def type(self): + """Gets the type of this JSONLeg. # noqa: E501 + + The type of the leg, possible values are currently 'walk' and 'pt'. # noqa: E501 + + :return: The type of this JSONLeg. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this JSONLeg. + + The type of the leg, possible values are currently 'walk' and 'pt'. # noqa: E501 + + :param type: The type of this JSONLeg. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONLeg, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONLeg): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_node.py b/openrouteservice/models/json_node.py new file mode 100644 index 00000000..44bc1667 --- /dev/null +++ b/openrouteservice/models/json_node.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JsonNode(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'location': 'list[float]', + 'node_id': 'int' + } + + attribute_map = { + 'location': 'location', + 'node_id': 'nodeId' + } + + def __init__(self, location=None, node_id=None): # noqa: E501 + """JsonNode - a model defined in Swagger""" # noqa: E501 + self._location = None + self._node_id = None + self.discriminator = None + if location is not None: + self.location = location + if node_id is not None: + self.node_id = node_id + + @property + def location(self): + """Gets the location of this JsonNode. # noqa: E501 + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :return: The location of this JsonNode. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this JsonNode. + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :param location: The location of this JsonNode. # noqa: E501 + :type: list[float] + """ + + self._location = location + + @property + def node_id(self): + """Gets the node_id of this JsonNode. # noqa: E501 + + Id of the corresponding node in the graph # noqa: E501 + + :return: The node_id of this JsonNode. # noqa: E501 + :rtype: int + """ + return self._node_id + + @node_id.setter + def node_id(self, node_id): + """Sets the node_id of this JsonNode. + + Id of the corresponding node in the graph # noqa: E501 + + :param node_id: The node_id of this JsonNode. # noqa: E501 + :type: int + """ + + self._node_id = node_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JsonNode, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JsonNode): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_object.py b/openrouteservice/models/json_object.py new file mode 100644 index 00000000..3b0b62fd --- /dev/null +++ b/openrouteservice/models/json_object.py @@ -0,0 +1,89 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONObject(dict): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + if hasattr(dict, "swagger_types"): + swagger_types.update(dict.swagger_types) + + attribute_map = { + } + if hasattr(dict, "attribute_map"): + attribute_map.update(dict.attribute_map) + + def __init__(self, *args, **kwargs): # noqa: E501 + """JSONObject - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + dict.__init__(self, *args, **kwargs) + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONObject, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONObject): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_route_response.py b/openrouteservice/models/json_route_response.py new file mode 100644 index 00000000..b0af4e20 --- /dev/null +++ b/openrouteservice/models/json_route_response.py @@ -0,0 +1,166 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONRouteResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bbox': 'list[float]', + 'metadata': 'GeoJSONRouteResponseMetadata', + 'routes': 'list[JSONRouteResponseRoutes]' + } + + attribute_map = { + 'bbox': 'bbox', + 'metadata': 'metadata', + 'routes': 'routes' + } + + def __init__(self, bbox=None, metadata=None, routes=None): # noqa: E501 + """JSONRouteResponse - a model defined in Swagger""" # noqa: E501 + self._bbox = None + self._metadata = None + self._routes = None + self.discriminator = None + if bbox is not None: + self.bbox = bbox + if metadata is not None: + self.metadata = metadata + if routes is not None: + self.routes = routes + + @property + def bbox(self): + """Gets the bbox of this JSONRouteResponse. # noqa: E501 + + Bounding box that covers all returned routes # noqa: E501 + + :return: The bbox of this JSONRouteResponse. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this JSONRouteResponse. + + Bounding box that covers all returned routes # noqa: E501 + + :param bbox: The bbox of this JSONRouteResponse. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def metadata(self): + """Gets the metadata of this JSONRouteResponse. # noqa: E501 + + + :return: The metadata of this JSONRouteResponse. # noqa: E501 + :rtype: GeoJSONRouteResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this JSONRouteResponse. + + + :param metadata: The metadata of this JSONRouteResponse. # noqa: E501 + :type: GeoJSONRouteResponseMetadata + """ + + self._metadata = metadata + + @property + def routes(self): + """Gets the routes of this JSONRouteResponse. # noqa: E501 + + A list of routes returned from the request # noqa: E501 + + :return: The routes of this JSONRouteResponse. # noqa: E501 + :rtype: list[JSONRouteResponseRoutes] + """ + return self._routes + + @routes.setter + def routes(self, routes): + """Sets the routes of this JSONRouteResponse. + + A list of routes returned from the request # noqa: E501 + + :param routes: The routes of this JSONRouteResponse. # noqa: E501 + :type: list[JSONRouteResponseRoutes] + """ + + self._routes = routes + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONRouteResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONRouteResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_route_response_routes.py b/openrouteservice/models/json_route_response_routes.py new file mode 100644 index 00000000..0e74728a --- /dev/null +++ b/openrouteservice/models/json_route_response_routes.py @@ -0,0 +1,362 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONRouteResponseRoutes(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'arrival': 'datetime', + 'bbox': 'list[float]', + 'departure': 'datetime', + 'extras': 'dict(str, JSONIndividualRouteResponseExtras)', + 'geometry': 'str', + 'legs': 'list[JSONIndividualRouteResponseLegs]', + 'segments': 'list[JSONIndividualRouteResponseSegments]', + 'summary': 'JSONIndividualRouteResponseSummary', + 'warnings': 'list[JSONIndividualRouteResponseWarnings]', + 'way_points': 'list[int]' + } + + attribute_map = { + 'arrival': 'arrival', + 'bbox': 'bbox', + 'departure': 'departure', + 'extras': 'extras', + 'geometry': 'geometry', + 'legs': 'legs', + 'segments': 'segments', + 'summary': 'summary', + 'warnings': 'warnings', + 'way_points': 'way_points' + } + + def __init__(self, arrival=None, bbox=None, departure=None, extras=None, geometry=None, legs=None, segments=None, summary=None, warnings=None, way_points=None): # noqa: E501 + """JSONRouteResponseRoutes - a model defined in Swagger""" # noqa: E501 + self._arrival = None + self._bbox = None + self._departure = None + self._extras = None + self._geometry = None + self._legs = None + self._segments = None + self._summary = None + self._warnings = None + self._way_points = None + self.discriminator = None + if arrival is not None: + self.arrival = arrival + if bbox is not None: + self.bbox = bbox + if departure is not None: + self.departure = departure + if extras is not None: + self.extras = extras + if geometry is not None: + self.geometry = geometry + if legs is not None: + self.legs = legs + if segments is not None: + self.segments = segments + if summary is not None: + self.summary = summary + if warnings is not None: + self.warnings = warnings + if way_points is not None: + self.way_points = way_points + + @property + def arrival(self): + """Gets the arrival of this JSONRouteResponseRoutes. # noqa: E501 + + Arrival date and time # noqa: E501 + + :return: The arrival of this JSONRouteResponseRoutes. # noqa: E501 + :rtype: datetime + """ + return self._arrival + + @arrival.setter + def arrival(self, arrival): + """Sets the arrival of this JSONRouteResponseRoutes. + + Arrival date and time # noqa: E501 + + :param arrival: The arrival of this JSONRouteResponseRoutes. # noqa: E501 + :type: datetime + """ + + self._arrival = arrival + + @property + def bbox(self): + """Gets the bbox of this JSONRouteResponseRoutes. # noqa: E501 + + A bounding box which contains the entire route # noqa: E501 + + :return: The bbox of this JSONRouteResponseRoutes. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this JSONRouteResponseRoutes. + + A bounding box which contains the entire route # noqa: E501 + + :param bbox: The bbox of this JSONRouteResponseRoutes. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def departure(self): + """Gets the departure of this JSONRouteResponseRoutes. # noqa: E501 + + Departure date and time # noqa: E501 + + :return: The departure of this JSONRouteResponseRoutes. # noqa: E501 + :rtype: datetime + """ + return self._departure + + @departure.setter + def departure(self, departure): + """Sets the departure of this JSONRouteResponseRoutes. + + Departure date and time # noqa: E501 + + :param departure: The departure of this JSONRouteResponseRoutes. # noqa: E501 + :type: datetime + """ + + self._departure = departure + + @property + def extras(self): + """Gets the extras of this JSONRouteResponseRoutes. # noqa: E501 + + List of extra info objects representing the extra info items that were requested for the route. # noqa: E501 + + :return: The extras of this JSONRouteResponseRoutes. # noqa: E501 + :rtype: dict(str, JSONIndividualRouteResponseExtras) + """ + return self._extras + + @extras.setter + def extras(self, extras): + """Sets the extras of this JSONRouteResponseRoutes. + + List of extra info objects representing the extra info items that were requested for the route. # noqa: E501 + + :param extras: The extras of this JSONRouteResponseRoutes. # noqa: E501 + :type: dict(str, JSONIndividualRouteResponseExtras) + """ + + self._extras = extras + + @property + def geometry(self): + """Gets the geometry of this JSONRouteResponseRoutes. # noqa: E501 + + The geometry of the route. For JSON route responses this is an encoded polyline. # noqa: E501 + + :return: The geometry of this JSONRouteResponseRoutes. # noqa: E501 + :rtype: str + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this JSONRouteResponseRoutes. + + The geometry of the route. For JSON route responses this is an encoded polyline. # noqa: E501 + + :param geometry: The geometry of this JSONRouteResponseRoutes. # noqa: E501 + :type: str + """ + + self._geometry = geometry + + @property + def legs(self): + """Gets the legs of this JSONRouteResponseRoutes. # noqa: E501 + + List containing the legs the route consists of. # noqa: E501 + + :return: The legs of this JSONRouteResponseRoutes. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseLegs] + """ + return self._legs + + @legs.setter + def legs(self, legs): + """Sets the legs of this JSONRouteResponseRoutes. + + List containing the legs the route consists of. # noqa: E501 + + :param legs: The legs of this JSONRouteResponseRoutes. # noqa: E501 + :type: list[JSONIndividualRouteResponseLegs] + """ + + self._legs = legs + + @property + def segments(self): + """Gets the segments of this JSONRouteResponseRoutes. # noqa: E501 + + List containing the segments and its corresponding steps which make up the route. # noqa: E501 + + :return: The segments of this JSONRouteResponseRoutes. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseSegments] + """ + return self._segments + + @segments.setter + def segments(self, segments): + """Sets the segments of this JSONRouteResponseRoutes. + + List containing the segments and its corresponding steps which make up the route. # noqa: E501 + + :param segments: The segments of this JSONRouteResponseRoutes. # noqa: E501 + :type: list[JSONIndividualRouteResponseSegments] + """ + + self._segments = segments + + @property + def summary(self): + """Gets the summary of this JSONRouteResponseRoutes. # noqa: E501 + + + :return: The summary of this JSONRouteResponseRoutes. # noqa: E501 + :rtype: JSONIndividualRouteResponseSummary + """ + return self._summary + + @summary.setter + def summary(self, summary): + """Sets the summary of this JSONRouteResponseRoutes. + + + :param summary: The summary of this JSONRouteResponseRoutes. # noqa: E501 + :type: JSONIndividualRouteResponseSummary + """ + + self._summary = summary + + @property + def warnings(self): + """Gets the warnings of this JSONRouteResponseRoutes. # noqa: E501 + + List of warnings that have been generated for the route # noqa: E501 + + :return: The warnings of this JSONRouteResponseRoutes. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseWarnings] + """ + return self._warnings + + @warnings.setter + def warnings(self, warnings): + """Sets the warnings of this JSONRouteResponseRoutes. + + List of warnings that have been generated for the route # noqa: E501 + + :param warnings: The warnings of this JSONRouteResponseRoutes. # noqa: E501 + :type: list[JSONIndividualRouteResponseWarnings] + """ + + self._warnings = warnings + + @property + def way_points(self): + """Gets the way_points of this JSONRouteResponseRoutes. # noqa: E501 + + List containing the indices of way points corresponding to the *geometry*. # noqa: E501 + + :return: The way_points of this JSONRouteResponseRoutes. # noqa: E501 + :rtype: list[int] + """ + return self._way_points + + @way_points.setter + def way_points(self, way_points): + """Sets the way_points of this JSONRouteResponseRoutes. + + List containing the indices of way points corresponding to the *geometry*. # noqa: E501 + + :param way_points: The way_points of this JSONRouteResponseRoutes. # noqa: E501 + :type: list[int] + """ + + self._way_points = way_points + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONRouteResponseRoutes, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONRouteResponseRoutes): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_segment.py b/openrouteservice/models/json_segment.py new file mode 100644 index 00000000..65038051 --- /dev/null +++ b/openrouteservice/models/json_segment.py @@ -0,0 +1,308 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONSegment(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ascent': 'float', + 'avgspeed': 'float', + 'descent': 'float', + 'detourfactor': 'float', + 'distance': 'float', + 'duration': 'float', + 'percentage': 'float', + 'steps': 'list[JSONIndividualRouteResponseInstructions]' + } + + attribute_map = { + 'ascent': 'ascent', + 'avgspeed': 'avgspeed', + 'descent': 'descent', + 'detourfactor': 'detourfactor', + 'distance': 'distance', + 'duration': 'duration', + 'percentage': 'percentage', + 'steps': 'steps' + } + + def __init__(self, ascent=None, avgspeed=None, descent=None, detourfactor=None, distance=None, duration=None, percentage=None, steps=None): # noqa: E501 + """JSONSegment - a model defined in Swagger""" # noqa: E501 + self._ascent = None + self._avgspeed = None + self._descent = None + self._detourfactor = None + self._distance = None + self._duration = None + self._percentage = None + self._steps = None + self.discriminator = None + if ascent is not None: + self.ascent = ascent + if avgspeed is not None: + self.avgspeed = avgspeed + if descent is not None: + self.descent = descent + if detourfactor is not None: + self.detourfactor = detourfactor + if distance is not None: + self.distance = distance + if duration is not None: + self.duration = duration + if percentage is not None: + self.percentage = percentage + if steps is not None: + self.steps = steps + + @property + def ascent(self): + """Gets the ascent of this JSONSegment. # noqa: E501 + + Contains ascent of this segment in metres. # noqa: E501 + + :return: The ascent of this JSONSegment. # noqa: E501 + :rtype: float + """ + return self._ascent + + @ascent.setter + def ascent(self, ascent): + """Sets the ascent of this JSONSegment. + + Contains ascent of this segment in metres. # noqa: E501 + + :param ascent: The ascent of this JSONSegment. # noqa: E501 + :type: float + """ + + self._ascent = ascent + + @property + def avgspeed(self): + """Gets the avgspeed of this JSONSegment. # noqa: E501 + + Contains the average speed of this segment in km/h. # noqa: E501 + + :return: The avgspeed of this JSONSegment. # noqa: E501 + :rtype: float + """ + return self._avgspeed + + @avgspeed.setter + def avgspeed(self, avgspeed): + """Sets the avgspeed of this JSONSegment. + + Contains the average speed of this segment in km/h. # noqa: E501 + + :param avgspeed: The avgspeed of this JSONSegment. # noqa: E501 + :type: float + """ + + self._avgspeed = avgspeed + + @property + def descent(self): + """Gets the descent of this JSONSegment. # noqa: E501 + + Contains descent of this segment in metres. # noqa: E501 + + :return: The descent of this JSONSegment. # noqa: E501 + :rtype: float + """ + return self._descent + + @descent.setter + def descent(self, descent): + """Sets the descent of this JSONSegment. + + Contains descent of this segment in metres. # noqa: E501 + + :param descent: The descent of this JSONSegment. # noqa: E501 + :type: float + """ + + self._descent = descent + + @property + def detourfactor(self): + """Gets the detourfactor of this JSONSegment. # noqa: E501 + + Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. # noqa: E501 + + :return: The detourfactor of this JSONSegment. # noqa: E501 + :rtype: float + """ + return self._detourfactor + + @detourfactor.setter + def detourfactor(self, detourfactor): + """Sets the detourfactor of this JSONSegment. + + Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. # noqa: E501 + + :param detourfactor: The detourfactor of this JSONSegment. # noqa: E501 + :type: float + """ + + self._detourfactor = detourfactor + + @property + def distance(self): + """Gets the distance of this JSONSegment. # noqa: E501 + + Contains the distance of the segment in specified units. # noqa: E501 + + :return: The distance of this JSONSegment. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this JSONSegment. + + Contains the distance of the segment in specified units. # noqa: E501 + + :param distance: The distance of this JSONSegment. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def duration(self): + """Gets the duration of this JSONSegment. # noqa: E501 + + Contains the duration of the segment in seconds. # noqa: E501 + + :return: The duration of this JSONSegment. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this JSONSegment. + + Contains the duration of the segment in seconds. # noqa: E501 + + :param duration: The duration of this JSONSegment. # noqa: E501 + :type: float + """ + + self._duration = duration + + @property + def percentage(self): + """Gets the percentage of this JSONSegment. # noqa: E501 + + Contains the proportion of the route in percent. # noqa: E501 + + :return: The percentage of this JSONSegment. # noqa: E501 + :rtype: float + """ + return self._percentage + + @percentage.setter + def percentage(self, percentage): + """Sets the percentage of this JSONSegment. + + Contains the proportion of the route in percent. # noqa: E501 + + :param percentage: The percentage of this JSONSegment. # noqa: E501 + :type: float + """ + + self._percentage = percentage + + @property + def steps(self): + """Gets the steps of this JSONSegment. # noqa: E501 + + List containing the specific steps the segment consists of. # noqa: E501 + + :return: The steps of this JSONSegment. # noqa: E501 + :rtype: list[JSONIndividualRouteResponseInstructions] + """ + return self._steps + + @steps.setter + def steps(self, steps): + """Sets the steps of this JSONSegment. + + List containing the specific steps the segment consists of. # noqa: E501 + + :param steps: The steps of this JSONSegment. # noqa: E501 + :type: list[JSONIndividualRouteResponseInstructions] + """ + + self._steps = steps + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONSegment, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONSegment): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_step.py b/openrouteservice/models/json_step.py new file mode 100644 index 00000000..03403c94 --- /dev/null +++ b/openrouteservice/models/json_step.py @@ -0,0 +1,334 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONStep(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'distance': 'float', + 'duration': 'float', + 'exit_bearings': 'list[int]', + 'exit_number': 'int', + 'instruction': 'str', + 'maneuver': 'JSONIndividualRouteResponseManeuver', + 'name': 'str', + 'type': 'int', + 'way_points': 'list[int]' + } + + attribute_map = { + 'distance': 'distance', + 'duration': 'duration', + 'exit_bearings': 'exit_bearings', + 'exit_number': 'exit_number', + 'instruction': 'instruction', + 'maneuver': 'maneuver', + 'name': 'name', + 'type': 'type', + 'way_points': 'way_points' + } + + def __init__(self, distance=None, duration=None, exit_bearings=None, exit_number=None, instruction=None, maneuver=None, name=None, type=None, way_points=None): # noqa: E501 + """JSONStep - a model defined in Swagger""" # noqa: E501 + self._distance = None + self._duration = None + self._exit_bearings = None + self._exit_number = None + self._instruction = None + self._maneuver = None + self._name = None + self._type = None + self._way_points = None + self.discriminator = None + if distance is not None: + self.distance = distance + if duration is not None: + self.duration = duration + if exit_bearings is not None: + self.exit_bearings = exit_bearings + if exit_number is not None: + self.exit_number = exit_number + if instruction is not None: + self.instruction = instruction + if maneuver is not None: + self.maneuver = maneuver + if name is not None: + self.name = name + if type is not None: + self.type = type + if way_points is not None: + self.way_points = way_points + + @property + def distance(self): + """Gets the distance of this JSONStep. # noqa: E501 + + The distance for the step in metres. # noqa: E501 + + :return: The distance of this JSONStep. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this JSONStep. + + The distance for the step in metres. # noqa: E501 + + :param distance: The distance of this JSONStep. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def duration(self): + """Gets the duration of this JSONStep. # noqa: E501 + + The duration for the step in seconds. # noqa: E501 + + :return: The duration of this JSONStep. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this JSONStep. + + The duration for the step in seconds. # noqa: E501 + + :param duration: The duration of this JSONStep. # noqa: E501 + :type: float + """ + + self._duration = duration + + @property + def exit_bearings(self): + """Gets the exit_bearings of this JSONStep. # noqa: E501 + + Contains the bearing of the entrance and all passed exits in a roundabout. # noqa: E501 + + :return: The exit_bearings of this JSONStep. # noqa: E501 + :rtype: list[int] + """ + return self._exit_bearings + + @exit_bearings.setter + def exit_bearings(self, exit_bearings): + """Sets the exit_bearings of this JSONStep. + + Contains the bearing of the entrance and all passed exits in a roundabout. # noqa: E501 + + :param exit_bearings: The exit_bearings of this JSONStep. # noqa: E501 + :type: list[int] + """ + + self._exit_bearings = exit_bearings + + @property + def exit_number(self): + """Gets the exit_number of this JSONStep. # noqa: E501 + + Only for roundabouts. Contains the number of the exit to take. # noqa: E501 + + :return: The exit_number of this JSONStep. # noqa: E501 + :rtype: int + """ + return self._exit_number + + @exit_number.setter + def exit_number(self, exit_number): + """Sets the exit_number of this JSONStep. + + Only for roundabouts. Contains the number of the exit to take. # noqa: E501 + + :param exit_number: The exit_number of this JSONStep. # noqa: E501 + :type: int + """ + + self._exit_number = exit_number + + @property + def instruction(self): + """Gets the instruction of this JSONStep. # noqa: E501 + + The routing instruction text for the step. # noqa: E501 + + :return: The instruction of this JSONStep. # noqa: E501 + :rtype: str + """ + return self._instruction + + @instruction.setter + def instruction(self, instruction): + """Sets the instruction of this JSONStep. + + The routing instruction text for the step. # noqa: E501 + + :param instruction: The instruction of this JSONStep. # noqa: E501 + :type: str + """ + + self._instruction = instruction + + @property + def maneuver(self): + """Gets the maneuver of this JSONStep. # noqa: E501 + + + :return: The maneuver of this JSONStep. # noqa: E501 + :rtype: JSONIndividualRouteResponseManeuver + """ + return self._maneuver + + @maneuver.setter + def maneuver(self, maneuver): + """Sets the maneuver of this JSONStep. + + + :param maneuver: The maneuver of this JSONStep. # noqa: E501 + :type: JSONIndividualRouteResponseManeuver + """ + + self._maneuver = maneuver + + @property + def name(self): + """Gets the name of this JSONStep. # noqa: E501 + + The name of the next street. # noqa: E501 + + :return: The name of this JSONStep. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this JSONStep. + + The name of the next street. # noqa: E501 + + :param name: The name of this JSONStep. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def type(self): + """Gets the type of this JSONStep. # noqa: E501 + + The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. # noqa: E501 + + :return: The type of this JSONStep. # noqa: E501 + :rtype: int + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this JSONStep. + + The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. # noqa: E501 + + :param type: The type of this JSONStep. # noqa: E501 + :type: int + """ + + self._type = type + + @property + def way_points(self): + """Gets the way_points of this JSONStep. # noqa: E501 + + List containing the indices of the steps start- and endpoint corresponding to the *geometry*. # noqa: E501 + + :return: The way_points of this JSONStep. # noqa: E501 + :rtype: list[int] + """ + return self._way_points + + @way_points.setter + def way_points(self, way_points): + """Sets the way_points of this JSONStep. + + List containing the indices of the steps start- and endpoint corresponding to the *geometry*. # noqa: E501 + + :param way_points: The way_points of this JSONStep. # noqa: E501 + :type: list[int] + """ + + self._way_points = way_points + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONStep, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONStep): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_step_maneuver.py b/openrouteservice/models/json_step_maneuver.py new file mode 100644 index 00000000..bea0488f --- /dev/null +++ b/openrouteservice/models/json_step_maneuver.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONStepManeuver(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bearing_after': 'int', + 'bearing_before': 'int', + 'location': 'list[float]' + } + + attribute_map = { + 'bearing_after': 'bearing_after', + 'bearing_before': 'bearing_before', + 'location': 'location' + } + + def __init__(self, bearing_after=None, bearing_before=None, location=None): # noqa: E501 + """JSONStepManeuver - a model defined in Swagger""" # noqa: E501 + self._bearing_after = None + self._bearing_before = None + self._location = None + self.discriminator = None + if bearing_after is not None: + self.bearing_after = bearing_after + if bearing_before is not None: + self.bearing_before = bearing_before + if location is not None: + self.location = location + + @property + def bearing_after(self): + """Gets the bearing_after of this JSONStepManeuver. # noqa: E501 + + The azimuth angle (in degrees) of the direction right after the maneuver. # noqa: E501 + + :return: The bearing_after of this JSONStepManeuver. # noqa: E501 + :rtype: int + """ + return self._bearing_after + + @bearing_after.setter + def bearing_after(self, bearing_after): + """Sets the bearing_after of this JSONStepManeuver. + + The azimuth angle (in degrees) of the direction right after the maneuver. # noqa: E501 + + :param bearing_after: The bearing_after of this JSONStepManeuver. # noqa: E501 + :type: int + """ + + self._bearing_after = bearing_after + + @property + def bearing_before(self): + """Gets the bearing_before of this JSONStepManeuver. # noqa: E501 + + The azimuth angle (in degrees) of the direction right before the maneuver. # noqa: E501 + + :return: The bearing_before of this JSONStepManeuver. # noqa: E501 + :rtype: int + """ + return self._bearing_before + + @bearing_before.setter + def bearing_before(self, bearing_before): + """Sets the bearing_before of this JSONStepManeuver. + + The azimuth angle (in degrees) of the direction right before the maneuver. # noqa: E501 + + :param bearing_before: The bearing_before of this JSONStepManeuver. # noqa: E501 + :type: int + """ + + self._bearing_before = bearing_before + + @property + def location(self): + """Gets the location of this JSONStepManeuver. # noqa: E501 + + The coordinate of the point where a maneuver takes place. # noqa: E501 + + :return: The location of this JSONStepManeuver. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this JSONStepManeuver. + + The coordinate of the point where a maneuver takes place. # noqa: E501 + + :param location: The location of this JSONStepManeuver. # noqa: E501 + :type: list[float] + """ + + self._location = location + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONStepManeuver, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONStepManeuver): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_summary.py b/openrouteservice/models/json_summary.py new file mode 100644 index 00000000..ea63bd17 --- /dev/null +++ b/openrouteservice/models/json_summary.py @@ -0,0 +1,248 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONSummary(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'ascent': 'float', + 'descent': 'float', + 'distance': 'float', + 'duration': 'float', + 'fare': 'int', + 'transfers': 'int' + } + + attribute_map = { + 'ascent': 'ascent', + 'descent': 'descent', + 'distance': 'distance', + 'duration': 'duration', + 'fare': 'fare', + 'transfers': 'transfers' + } + + def __init__(self, ascent=None, descent=None, distance=None, duration=None, fare=None, transfers=None): # noqa: E501 + """JSONSummary - a model defined in Swagger""" # noqa: E501 + self._ascent = None + self._descent = None + self._distance = None + self._duration = None + self._fare = None + self._transfers = None + self.discriminator = None + if ascent is not None: + self.ascent = ascent + if descent is not None: + self.descent = descent + if distance is not None: + self.distance = distance + if duration is not None: + self.duration = duration + if fare is not None: + self.fare = fare + if transfers is not None: + self.transfers = transfers + + @property + def ascent(self): + """Gets the ascent of this JSONSummary. # noqa: E501 + + Total ascent in meters. # noqa: E501 + + :return: The ascent of this JSONSummary. # noqa: E501 + :rtype: float + """ + return self._ascent + + @ascent.setter + def ascent(self, ascent): + """Sets the ascent of this JSONSummary. + + Total ascent in meters. # noqa: E501 + + :param ascent: The ascent of this JSONSummary. # noqa: E501 + :type: float + """ + + self._ascent = ascent + + @property + def descent(self): + """Gets the descent of this JSONSummary. # noqa: E501 + + Total descent in meters. # noqa: E501 + + :return: The descent of this JSONSummary. # noqa: E501 + :rtype: float + """ + return self._descent + + @descent.setter + def descent(self, descent): + """Sets the descent of this JSONSummary. + + Total descent in meters. # noqa: E501 + + :param descent: The descent of this JSONSummary. # noqa: E501 + :type: float + """ + + self._descent = descent + + @property + def distance(self): + """Gets the distance of this JSONSummary. # noqa: E501 + + Total route distance in specified units. # noqa: E501 + + :return: The distance of this JSONSummary. # noqa: E501 + :rtype: float + """ + return self._distance + + @distance.setter + def distance(self, distance): + """Sets the distance of this JSONSummary. + + Total route distance in specified units. # noqa: E501 + + :param distance: The distance of this JSONSummary. # noqa: E501 + :type: float + """ + + self._distance = distance + + @property + def duration(self): + """Gets the duration of this JSONSummary. # noqa: E501 + + Total duration in seconds. # noqa: E501 + + :return: The duration of this JSONSummary. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this JSONSummary. + + Total duration in seconds. # noqa: E501 + + :param duration: The duration of this JSONSummary. # noqa: E501 + :type: float + """ + + self._duration = duration + + @property + def fare(self): + """Gets the fare of this JSONSummary. # noqa: E501 + + + :return: The fare of this JSONSummary. # noqa: E501 + :rtype: int + """ + return self._fare + + @fare.setter + def fare(self, fare): + """Sets the fare of this JSONSummary. + + + :param fare: The fare of this JSONSummary. # noqa: E501 + :type: int + """ + + self._fare = fare + + @property + def transfers(self): + """Gets the transfers of this JSONSummary. # noqa: E501 + + + :return: The transfers of this JSONSummary. # noqa: E501 + :rtype: int + """ + return self._transfers + + @transfers.setter + def transfers(self, transfers): + """Sets the transfers of this JSONSummary. + + + :param transfers: The transfers of this JSONSummary. # noqa: E501 + :type: int + """ + + self._transfers = transfers + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONSummary, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONSummary): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_warning.py b/openrouteservice/models/json_warning.py new file mode 100644 index 00000000..6e1c28b1 --- /dev/null +++ b/openrouteservice/models/json_warning.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONWarning(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'code': 'int', + 'message': 'str' + } + + attribute_map = { + 'code': 'code', + 'message': 'message' + } + + def __init__(self, code=None, message=None): # noqa: E501 + """JSONWarning - a model defined in Swagger""" # noqa: E501 + self._code = None + self._message = None + self.discriminator = None + if code is not None: + self.code = code + if message is not None: + self.message = message + + @property + def code(self): + """Gets the code of this JSONWarning. # noqa: E501 + + Identification code for the warning # noqa: E501 + + :return: The code of this JSONWarning. # noqa: E501 + :rtype: int + """ + return self._code + + @code.setter + def code(self, code): + """Sets the code of this JSONWarning. + + Identification code for the warning # noqa: E501 + + :param code: The code of this JSONWarning. # noqa: E501 + :type: int + """ + + self._code = code + + @property + def message(self): + """Gets the message of this JSONWarning. # noqa: E501 + + The message associated with the warning # noqa: E501 + + :return: The message of this JSONWarning. # noqa: E501 + :rtype: str + """ + return self._message + + @message.setter + def message(self, message): + """Sets the message of this JSONWarning. + + The message associated with the warning # noqa: E501 + + :param message: The message of this JSONWarning. # noqa: E501 + :type: str + """ + + self._message = message + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONWarning, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONWarning): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/jsonpt_stop.py b/openrouteservice/models/jsonpt_stop.py new file mode 100644 index 00000000..3357cdfb --- /dev/null +++ b/openrouteservice/models/jsonpt_stop.py @@ -0,0 +1,392 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONPtStop(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'arrival_cancelled': 'bool', + 'arrival_time': 'datetime', + 'departure_cancelled': 'bool', + 'departure_time': 'datetime', + 'location': 'list[float]', + 'name': 'str', + 'planned_arrival_time': 'datetime', + 'planned_departure_time': 'datetime', + 'predicted_arrival_time': 'datetime', + 'predicted_departure_time': 'datetime', + 'stop_id': 'str' + } + + attribute_map = { + 'arrival_cancelled': 'arrival_cancelled', + 'arrival_time': 'arrival_time', + 'departure_cancelled': 'departure_cancelled', + 'departure_time': 'departure_time', + 'location': 'location', + 'name': 'name', + 'planned_arrival_time': 'planned_arrival_time', + 'planned_departure_time': 'planned_departure_time', + 'predicted_arrival_time': 'predicted_arrival_time', + 'predicted_departure_time': 'predicted_departure_time', + 'stop_id': 'stop_id' + } + + def __init__(self, arrival_cancelled=None, arrival_time=None, departure_cancelled=None, departure_time=None, location=None, name=None, planned_arrival_time=None, planned_departure_time=None, predicted_arrival_time=None, predicted_departure_time=None, stop_id=None): # noqa: E501 + """JSONPtStop - a model defined in Swagger""" # noqa: E501 + self._arrival_cancelled = None + self._arrival_time = None + self._departure_cancelled = None + self._departure_time = None + self._location = None + self._name = None + self._planned_arrival_time = None + self._planned_departure_time = None + self._predicted_arrival_time = None + self._predicted_departure_time = None + self._stop_id = None + self.discriminator = None + if arrival_cancelled is not None: + self.arrival_cancelled = arrival_cancelled + if arrival_time is not None: + self.arrival_time = arrival_time + if departure_cancelled is not None: + self.departure_cancelled = departure_cancelled + if departure_time is not None: + self.departure_time = departure_time + if location is not None: + self.location = location + if name is not None: + self.name = name + if planned_arrival_time is not None: + self.planned_arrival_time = planned_arrival_time + if planned_departure_time is not None: + self.planned_departure_time = planned_departure_time + if predicted_arrival_time is not None: + self.predicted_arrival_time = predicted_arrival_time + if predicted_departure_time is not None: + self.predicted_departure_time = predicted_departure_time + if stop_id is not None: + self.stop_id = stop_id + + @property + def arrival_cancelled(self): + """Gets the arrival_cancelled of this JSONPtStop. # noqa: E501 + + Whether arrival at the stop was cancelled. # noqa: E501 + + :return: The arrival_cancelled of this JSONPtStop. # noqa: E501 + :rtype: bool + """ + return self._arrival_cancelled + + @arrival_cancelled.setter + def arrival_cancelled(self, arrival_cancelled): + """Sets the arrival_cancelled of this JSONPtStop. + + Whether arrival at the stop was cancelled. # noqa: E501 + + :param arrival_cancelled: The arrival_cancelled of this JSONPtStop. # noqa: E501 + :type: bool + """ + + self._arrival_cancelled = arrival_cancelled + + @property + def arrival_time(self): + """Gets the arrival_time of this JSONPtStop. # noqa: E501 + + Arrival time of the stop. # noqa: E501 + + :return: The arrival_time of this JSONPtStop. # noqa: E501 + :rtype: datetime + """ + return self._arrival_time + + @arrival_time.setter + def arrival_time(self, arrival_time): + """Sets the arrival_time of this JSONPtStop. + + Arrival time of the stop. # noqa: E501 + + :param arrival_time: The arrival_time of this JSONPtStop. # noqa: E501 + :type: datetime + """ + + self._arrival_time = arrival_time + + @property + def departure_cancelled(self): + """Gets the departure_cancelled of this JSONPtStop. # noqa: E501 + + Whether departure at the stop was cancelled. # noqa: E501 + + :return: The departure_cancelled of this JSONPtStop. # noqa: E501 + :rtype: bool + """ + return self._departure_cancelled + + @departure_cancelled.setter + def departure_cancelled(self, departure_cancelled): + """Sets the departure_cancelled of this JSONPtStop. + + Whether departure at the stop was cancelled. # noqa: E501 + + :param departure_cancelled: The departure_cancelled of this JSONPtStop. # noqa: E501 + :type: bool + """ + + self._departure_cancelled = departure_cancelled + + @property + def departure_time(self): + """Gets the departure_time of this JSONPtStop. # noqa: E501 + + Departure time of the stop. # noqa: E501 + + :return: The departure_time of this JSONPtStop. # noqa: E501 + :rtype: datetime + """ + return self._departure_time + + @departure_time.setter + def departure_time(self, departure_time): + """Sets the departure_time of this JSONPtStop. + + Departure time of the stop. # noqa: E501 + + :param departure_time: The departure_time of this JSONPtStop. # noqa: E501 + :type: datetime + """ + + self._departure_time = departure_time + + @property + def location(self): + """Gets the location of this JSONPtStop. # noqa: E501 + + The location of the stop. # noqa: E501 + + :return: The location of this JSONPtStop. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this JSONPtStop. + + The location of the stop. # noqa: E501 + + :param location: The location of this JSONPtStop. # noqa: E501 + :type: list[float] + """ + + self._location = location + + @property + def name(self): + """Gets the name of this JSONPtStop. # noqa: E501 + + The name of the stop. # noqa: E501 + + :return: The name of this JSONPtStop. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this JSONPtStop. + + The name of the stop. # noqa: E501 + + :param name: The name of this JSONPtStop. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def planned_arrival_time(self): + """Gets the planned_arrival_time of this JSONPtStop. # noqa: E501 + + Planned arrival time of the stop. # noqa: E501 + + :return: The planned_arrival_time of this JSONPtStop. # noqa: E501 + :rtype: datetime + """ + return self._planned_arrival_time + + @planned_arrival_time.setter + def planned_arrival_time(self, planned_arrival_time): + """Sets the planned_arrival_time of this JSONPtStop. + + Planned arrival time of the stop. # noqa: E501 + + :param planned_arrival_time: The planned_arrival_time of this JSONPtStop. # noqa: E501 + :type: datetime + """ + + self._planned_arrival_time = planned_arrival_time + + @property + def planned_departure_time(self): + """Gets the planned_departure_time of this JSONPtStop. # noqa: E501 + + Planned departure time of the stop. # noqa: E501 + + :return: The planned_departure_time of this JSONPtStop. # noqa: E501 + :rtype: datetime + """ + return self._planned_departure_time + + @planned_departure_time.setter + def planned_departure_time(self, planned_departure_time): + """Sets the planned_departure_time of this JSONPtStop. + + Planned departure time of the stop. # noqa: E501 + + :param planned_departure_time: The planned_departure_time of this JSONPtStop. # noqa: E501 + :type: datetime + """ + + self._planned_departure_time = planned_departure_time + + @property + def predicted_arrival_time(self): + """Gets the predicted_arrival_time of this JSONPtStop. # noqa: E501 + + Predicted arrival time of the stop. # noqa: E501 + + :return: The predicted_arrival_time of this JSONPtStop. # noqa: E501 + :rtype: datetime + """ + return self._predicted_arrival_time + + @predicted_arrival_time.setter + def predicted_arrival_time(self, predicted_arrival_time): + """Sets the predicted_arrival_time of this JSONPtStop. + + Predicted arrival time of the stop. # noqa: E501 + + :param predicted_arrival_time: The predicted_arrival_time of this JSONPtStop. # noqa: E501 + :type: datetime + """ + + self._predicted_arrival_time = predicted_arrival_time + + @property + def predicted_departure_time(self): + """Gets the predicted_departure_time of this JSONPtStop. # noqa: E501 + + Predicted departure time of the stop. # noqa: E501 + + :return: The predicted_departure_time of this JSONPtStop. # noqa: E501 + :rtype: datetime + """ + return self._predicted_departure_time + + @predicted_departure_time.setter + def predicted_departure_time(self, predicted_departure_time): + """Sets the predicted_departure_time of this JSONPtStop. + + Predicted departure time of the stop. # noqa: E501 + + :param predicted_departure_time: The predicted_departure_time of this JSONPtStop. # noqa: E501 + :type: datetime + """ + + self._predicted_departure_time = predicted_departure_time + + @property + def stop_id(self): + """Gets the stop_id of this JSONPtStop. # noqa: E501 + + The ID of the stop. # noqa: E501 + + :return: The stop_id of this JSONPtStop. # noqa: E501 + :rtype: str + """ + return self._stop_id + + @stop_id.setter + def stop_id(self, stop_id): + """Sets the stop_id of this JSONPtStop. + + The ID of the stop. # noqa: E501 + + :param stop_id: The stop_id of this JSONPtStop. # noqa: E501 + :type: str + """ + + self._stop_id = stop_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONPtStop, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONPtStop): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/matrix_profile_body.py b/openrouteservice/models/matrix_profile_body.py new file mode 100644 index 00000000..0c7e9ce1 --- /dev/null +++ b/openrouteservice/models/matrix_profile_body.py @@ -0,0 +1,294 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MatrixProfileBody(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'destinations': 'list[str]', + 'id': 'str', + 'locations': 'list[list[float]]', + 'metrics': 'list[str]', + 'resolve_locations': 'bool', + 'sources': 'list[str]', + 'units': 'str' + } + + attribute_map = { + 'destinations': 'destinations', + 'id': 'id', + 'locations': 'locations', + 'metrics': 'metrics', + 'resolve_locations': 'resolve_locations', + 'sources': 'sources', + 'units': 'units' + } + + def __init__(self, destinations=None, id=None, locations=None, metrics=None, resolve_locations=False, sources=None, units='m'): # noqa: E501 + """MatrixProfileBody - a model defined in Swagger""" # noqa: E501 + self._destinations = None + self._id = None + self._locations = None + self._metrics = None + self._resolve_locations = None + self._sources = None + self._units = None + self.discriminator = None + if destinations is not None: + self.destinations = destinations + if id is not None: + self.id = id + self.locations = locations + if metrics is not None: + self.metrics = metrics + if resolve_locations is not None: + self.resolve_locations = resolve_locations + if sources is not None: + self.sources = sources + if units is not None: + self.units = units + + @property + def destinations(self): + """Gets the destinations of this MatrixProfileBody. # noqa: E501 + + A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). `[0,3]` for the first and fourth locations # noqa: E501 + + :return: The destinations of this MatrixProfileBody. # noqa: E501 + :rtype: list[str] + """ + return self._destinations + + @destinations.setter + def destinations(self, destinations): + """Sets the destinations of this MatrixProfileBody. + + A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). `[0,3]` for the first and fourth locations # noqa: E501 + + :param destinations: The destinations of this MatrixProfileBody. # noqa: E501 + :type: list[str] + """ + + self._destinations = destinations + + @property + def id(self): + """Gets the id of this MatrixProfileBody. # noqa: E501 + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :return: The id of this MatrixProfileBody. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this MatrixProfileBody. + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :param id: The id of this MatrixProfileBody. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def locations(self): + """Gets the locations of this MatrixProfileBody. # noqa: E501 + + List of comma separated lists of `longitude,latitude` coordinates in WGS 84 (EPSG:4326) # noqa: E501 + + :return: The locations of this MatrixProfileBody. # noqa: E501 + :rtype: list[list[float]] + """ + return self._locations + + @locations.setter + def locations(self, locations): + """Sets the locations of this MatrixProfileBody. + + List of comma separated lists of `longitude,latitude` coordinates in WGS 84 (EPSG:4326) # noqa: E501 + + :param locations: The locations of this MatrixProfileBody. # noqa: E501 + :type: list[list[float]] + """ + if locations is None: + raise ValueError("Invalid value for `locations`, must not be `None`") # noqa: E501 + + self._locations = locations + + @property + def metrics(self): + """Gets the metrics of this MatrixProfileBody. # noqa: E501 + + Specifies a list of returned metrics. \"* `distance` - Returns distance matrix for specified points in defined `units`. * `duration` - Returns duration matrix for specified points in **seconds**. # noqa: E501 + + :return: The metrics of this MatrixProfileBody. # noqa: E501 + :rtype: list[str] + """ + return self._metrics + + @metrics.setter + def metrics(self, metrics): + """Sets the metrics of this MatrixProfileBody. + + Specifies a list of returned metrics. \"* `distance` - Returns distance matrix for specified points in defined `units`. * `duration` - Returns duration matrix for specified points in **seconds**. # noqa: E501 + + :param metrics: The metrics of this MatrixProfileBody. # noqa: E501 + :type: list[str] + """ + allowed_values = ["distance", "duration"] # noqa: E501 + if not set(metrics).issubset(set(allowed_values)): + raise ValueError( + "Invalid values for `metrics` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(metrics) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) + + self._metrics = metrics + + @property + def resolve_locations(self): + """Gets the resolve_locations of this MatrixProfileBody. # noqa: E501 + + Specifies whether given locations are resolved or not. If the parameter value set to `true`, every element in `destinations` and `sources` will contain a `name` element that identifies the name of the closest street. Default is `false`. # noqa: E501 + + :return: The resolve_locations of this MatrixProfileBody. # noqa: E501 + :rtype: bool + """ + return self._resolve_locations + + @resolve_locations.setter + def resolve_locations(self, resolve_locations): + """Sets the resolve_locations of this MatrixProfileBody. + + Specifies whether given locations are resolved or not. If the parameter value set to `true`, every element in `destinations` and `sources` will contain a `name` element that identifies the name of the closest street. Default is `false`. # noqa: E501 + + :param resolve_locations: The resolve_locations of this MatrixProfileBody. # noqa: E501 + :type: bool + """ + + self._resolve_locations = resolve_locations + + @property + def sources(self): + """Gets the sources of this MatrixProfileBody. # noqa: E501 + + A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). example `[0,3]` for the first and fourth locations # noqa: E501 + + :return: The sources of this MatrixProfileBody. # noqa: E501 + :rtype: list[str] + """ + return self._sources + + @sources.setter + def sources(self, sources): + """Sets the sources of this MatrixProfileBody. + + A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). example `[0,3]` for the first and fourth locations # noqa: E501 + + :param sources: The sources of this MatrixProfileBody. # noqa: E501 + :type: list[str] + """ + + self._sources = sources + + @property + def units(self): + """Gets the units of this MatrixProfileBody. # noqa: E501 + + Specifies the distance unit. Default: m. # noqa: E501 + + :return: The units of this MatrixProfileBody. # noqa: E501 + :rtype: str + """ + return self._units + + @units.setter + def units(self, units): + """Sets the units of this MatrixProfileBody. + + Specifies the distance unit. Default: m. # noqa: E501 + + :param units: The units of this MatrixProfileBody. # noqa: E501 + :type: str + """ + allowed_values = ["m", "km", "mi"] # noqa: E501 + if units not in allowed_values: + raise ValueError( + "Invalid value for `units` ({0}), must be one of {1}" # noqa: E501 + .format(units, allowed_values) + ) + + self._units = units + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(MatrixProfileBody, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MatrixProfileBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/matrix_request.py b/openrouteservice/models/matrix_request.py new file mode 100644 index 00000000..675968d1 --- /dev/null +++ b/openrouteservice/models/matrix_request.py @@ -0,0 +1,294 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MatrixRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'destinations': 'list[str]', + 'id': 'str', + 'locations': 'list[list[float]]', + 'metrics': 'list[str]', + 'resolve_locations': 'bool', + 'sources': 'list[str]', + 'units': 'str' + } + + attribute_map = { + 'destinations': 'destinations', + 'id': 'id', + 'locations': 'locations', + 'metrics': 'metrics', + 'resolve_locations': 'resolve_locations', + 'sources': 'sources', + 'units': 'units' + } + + def __init__(self, destinations=None, id=None, locations=None, metrics=None, resolve_locations=False, sources=None, units='m'): # noqa: E501 + """MatrixRequest - a model defined in Swagger""" # noqa: E501 + self._destinations = None + self._id = None + self._locations = None + self._metrics = None + self._resolve_locations = None + self._sources = None + self._units = None + self.discriminator = None + if destinations is not None: + self.destinations = destinations + if id is not None: + self.id = id + self.locations = locations + if metrics is not None: + self.metrics = metrics + if resolve_locations is not None: + self.resolve_locations = resolve_locations + if sources is not None: + self.sources = sources + if units is not None: + self.units = units + + @property + def destinations(self): + """Gets the destinations of this MatrixRequest. # noqa: E501 + + A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). `[0,3]` for the first and fourth locations # noqa: E501 + + :return: The destinations of this MatrixRequest. # noqa: E501 + :rtype: list[str] + """ + return self._destinations + + @destinations.setter + def destinations(self, destinations): + """Sets the destinations of this MatrixRequest. + + A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). `[0,3]` for the first and fourth locations # noqa: E501 + + :param destinations: The destinations of this MatrixRequest. # noqa: E501 + :type: list[str] + """ + + self._destinations = destinations + + @property + def id(self): + """Gets the id of this MatrixRequest. # noqa: E501 + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :return: The id of this MatrixRequest. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this MatrixRequest. + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :param id: The id of this MatrixRequest. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def locations(self): + """Gets the locations of this MatrixRequest. # noqa: E501 + + List of comma separated lists of `longitude,latitude` coordinates in WGS 84 (EPSG:4326) # noqa: E501 + + :return: The locations of this MatrixRequest. # noqa: E501 + :rtype: list[list[float]] + """ + return self._locations + + @locations.setter + def locations(self, locations): + """Sets the locations of this MatrixRequest. + + List of comma separated lists of `longitude,latitude` coordinates in WGS 84 (EPSG:4326) # noqa: E501 + + :param locations: The locations of this MatrixRequest. # noqa: E501 + :type: list[list[float]] + """ + if locations is None: + raise ValueError("Invalid value for `locations`, must not be `None`") # noqa: E501 + + self._locations = locations + + @property + def metrics(self): + """Gets the metrics of this MatrixRequest. # noqa: E501 + + Specifies a list of returned metrics. \"* `distance` - Returns distance matrix for specified points in defined `units`. * `duration` - Returns duration matrix for specified points in **seconds**. # noqa: E501 + + :return: The metrics of this MatrixRequest. # noqa: E501 + :rtype: list[str] + """ + return self._metrics + + @metrics.setter + def metrics(self, metrics): + """Sets the metrics of this MatrixRequest. + + Specifies a list of returned metrics. \"* `distance` - Returns distance matrix for specified points in defined `units`. * `duration` - Returns duration matrix for specified points in **seconds**. # noqa: E501 + + :param metrics: The metrics of this MatrixRequest. # noqa: E501 + :type: list[str] + """ + allowed_values = ["distance", "duration"] # noqa: E501 + if not set(metrics).issubset(set(allowed_values)): + raise ValueError( + "Invalid values for `metrics` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(metrics) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) + + self._metrics = metrics + + @property + def resolve_locations(self): + """Gets the resolve_locations of this MatrixRequest. # noqa: E501 + + Specifies whether given locations are resolved or not. If the parameter value set to `true`, every element in `destinations` and `sources` will contain a `name` element that identifies the name of the closest street. Default is `false`. # noqa: E501 + + :return: The resolve_locations of this MatrixRequest. # noqa: E501 + :rtype: bool + """ + return self._resolve_locations + + @resolve_locations.setter + def resolve_locations(self, resolve_locations): + """Sets the resolve_locations of this MatrixRequest. + + Specifies whether given locations are resolved or not. If the parameter value set to `true`, every element in `destinations` and `sources` will contain a `name` element that identifies the name of the closest street. Default is `false`. # noqa: E501 + + :param resolve_locations: The resolve_locations of this MatrixRequest. # noqa: E501 + :type: bool + """ + + self._resolve_locations = resolve_locations + + @property + def sources(self): + """Gets the sources of this MatrixRequest. # noqa: E501 + + A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). example `[0,3]` for the first and fourth locations # noqa: E501 + + :return: The sources of this MatrixRequest. # noqa: E501 + :rtype: list[str] + """ + return self._sources + + @sources.setter + def sources(self, sources): + """Sets the sources of this MatrixRequest. + + A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). example `[0,3]` for the first and fourth locations # noqa: E501 + + :param sources: The sources of this MatrixRequest. # noqa: E501 + :type: list[str] + """ + + self._sources = sources + + @property + def units(self): + """Gets the units of this MatrixRequest. # noqa: E501 + + Specifies the distance unit. Default: m. # noqa: E501 + + :return: The units of this MatrixRequest. # noqa: E501 + :rtype: str + """ + return self._units + + @units.setter + def units(self, units): + """Sets the units of this MatrixRequest. + + Specifies the distance unit. Default: m. # noqa: E501 + + :param units: The units of this MatrixRequest. # noqa: E501 + :type: str + """ + allowed_values = ["m", "km", "mi"] # noqa: E501 + if units not in allowed_values: + raise ValueError( + "Invalid value for `units` ({0}), must be one of {1}" # noqa: E501 + .format(units, allowed_values) + ) + + self._units = units + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(MatrixRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MatrixRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/matrix_response.py b/openrouteservice/models/matrix_response.py new file mode 100644 index 00000000..f8957713 --- /dev/null +++ b/openrouteservice/models/matrix_response.py @@ -0,0 +1,222 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MatrixResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'destinations': 'list[MatrixResponseDestinations]', + 'distances': 'list[list[float]]', + 'durations': 'list[list[float]]', + 'metadata': 'MatrixResponseMetadata', + 'sources': 'list[MatrixResponseSources]' + } + + attribute_map = { + 'destinations': 'destinations', + 'distances': 'distances', + 'durations': 'durations', + 'metadata': 'metadata', + 'sources': 'sources' + } + + def __init__(self, destinations=None, distances=None, durations=None, metadata=None, sources=None): # noqa: E501 + """MatrixResponse - a model defined in Swagger""" # noqa: E501 + self._destinations = None + self._distances = None + self._durations = None + self._metadata = None + self._sources = None + self.discriminator = None + if destinations is not None: + self.destinations = destinations + if distances is not None: + self.distances = distances + if durations is not None: + self.durations = durations + if metadata is not None: + self.metadata = metadata + if sources is not None: + self.sources = sources + + @property + def destinations(self): + """Gets the destinations of this MatrixResponse. # noqa: E501 + + The individual destinations of the matrix calculations. # noqa: E501 + + :return: The destinations of this MatrixResponse. # noqa: E501 + :rtype: list[MatrixResponseDestinations] + """ + return self._destinations + + @destinations.setter + def destinations(self, destinations): + """Sets the destinations of this MatrixResponse. + + The individual destinations of the matrix calculations. # noqa: E501 + + :param destinations: The destinations of this MatrixResponse. # noqa: E501 + :type: list[MatrixResponseDestinations] + """ + + self._destinations = destinations + + @property + def distances(self): + """Gets the distances of this MatrixResponse. # noqa: E501 + + The distances of the matrix calculations. # noqa: E501 + + :return: The distances of this MatrixResponse. # noqa: E501 + :rtype: list[list[float]] + """ + return self._distances + + @distances.setter + def distances(self, distances): + """Sets the distances of this MatrixResponse. + + The distances of the matrix calculations. # noqa: E501 + + :param distances: The distances of this MatrixResponse. # noqa: E501 + :type: list[list[float]] + """ + + self._distances = distances + + @property + def durations(self): + """Gets the durations of this MatrixResponse. # noqa: E501 + + The durations of the matrix calculations. # noqa: E501 + + :return: The durations of this MatrixResponse. # noqa: E501 + :rtype: list[list[float]] + """ + return self._durations + + @durations.setter + def durations(self, durations): + """Sets the durations of this MatrixResponse. + + The durations of the matrix calculations. # noqa: E501 + + :param durations: The durations of this MatrixResponse. # noqa: E501 + :type: list[list[float]] + """ + + self._durations = durations + + @property + def metadata(self): + """Gets the metadata of this MatrixResponse. # noqa: E501 + + + :return: The metadata of this MatrixResponse. # noqa: E501 + :rtype: MatrixResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this MatrixResponse. + + + :param metadata: The metadata of this MatrixResponse. # noqa: E501 + :type: MatrixResponseMetadata + """ + + self._metadata = metadata + + @property + def sources(self): + """Gets the sources of this MatrixResponse. # noqa: E501 + + The individual sources of the matrix calculations. # noqa: E501 + + :return: The sources of this MatrixResponse. # noqa: E501 + :rtype: list[MatrixResponseSources] + """ + return self._sources + + @sources.setter + def sources(self, sources): + """Sets the sources of this MatrixResponse. + + The individual sources of the matrix calculations. # noqa: E501 + + :param sources: The sources of this MatrixResponse. # noqa: E501 + :type: list[MatrixResponseSources] + """ + + self._sources = sources + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(MatrixResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MatrixResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/matrix_response_destinations.py b/openrouteservice/models/matrix_response_destinations.py new file mode 100644 index 00000000..7dfbf664 --- /dev/null +++ b/openrouteservice/models/matrix_response_destinations.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MatrixResponseDestinations(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'location': 'list[float]', + 'name': 'str', + 'snapped_distance': 'float' + } + + attribute_map = { + 'location': 'location', + 'name': 'name', + 'snapped_distance': 'snapped_distance' + } + + def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 + """MatrixResponseDestinations - a model defined in Swagger""" # noqa: E501 + self._location = None + self._name = None + self._snapped_distance = None + self.discriminator = None + if location is not None: + self.location = location + if name is not None: + self.name = name + if snapped_distance is not None: + self.snapped_distance = snapped_distance + + @property + def location(self): + """Gets the location of this MatrixResponseDestinations. # noqa: E501 + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :return: The location of this MatrixResponseDestinations. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this MatrixResponseDestinations. + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :param location: The location of this MatrixResponseDestinations. # noqa: E501 + :type: list[float] + """ + + self._location = location + + @property + def name(self): + """Gets the name of this MatrixResponseDestinations. # noqa: E501 + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :return: The name of this MatrixResponseDestinations. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this MatrixResponseDestinations. + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :param name: The name of this MatrixResponseDestinations. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def snapped_distance(self): + """Gets the snapped_distance of this MatrixResponseDestinations. # noqa: E501 + + Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + + :return: The snapped_distance of this MatrixResponseDestinations. # noqa: E501 + :rtype: float + """ + return self._snapped_distance + + @snapped_distance.setter + def snapped_distance(self, snapped_distance): + """Sets the snapped_distance of this MatrixResponseDestinations. + + Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + + :param snapped_distance: The snapped_distance of this MatrixResponseDestinations. # noqa: E501 + :type: float + """ + + self._snapped_distance = snapped_distance + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(MatrixResponseDestinations, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MatrixResponseDestinations): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/matrix_response_info.py b/openrouteservice/models/matrix_response_info.py new file mode 100644 index 00000000..8799d320 --- /dev/null +++ b/openrouteservice/models/matrix_response_info.py @@ -0,0 +1,304 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MatrixResponseInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attribution': 'str', + 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'id': 'str', + 'osm_file_md5_hash': 'str', + 'query': 'MatrixProfileBody', + 'service': 'str', + 'system_message': 'str', + 'timestamp': 'int' + } + + attribute_map = { + 'attribution': 'attribution', + 'engine': 'engine', + 'id': 'id', + 'osm_file_md5_hash': 'osm_file_md5_hash', + 'query': 'query', + 'service': 'service', + 'system_message': 'system_message', + 'timestamp': 'timestamp' + } + + def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 + """MatrixResponseInfo - a model defined in Swagger""" # noqa: E501 + self._attribution = None + self._engine = None + self._id = None + self._osm_file_md5_hash = None + self._query = None + self._service = None + self._system_message = None + self._timestamp = None + self.discriminator = None + if attribution is not None: + self.attribution = attribution + if engine is not None: + self.engine = engine + if id is not None: + self.id = id + if osm_file_md5_hash is not None: + self.osm_file_md5_hash = osm_file_md5_hash + if query is not None: + self.query = query + if service is not None: + self.service = service + if system_message is not None: + self.system_message = system_message + if timestamp is not None: + self.timestamp = timestamp + + @property + def attribution(self): + """Gets the attribution of this MatrixResponseInfo. # noqa: E501 + + Copyright and attribution information # noqa: E501 + + :return: The attribution of this MatrixResponseInfo. # noqa: E501 + :rtype: str + """ + return self._attribution + + @attribution.setter + def attribution(self, attribution): + """Sets the attribution of this MatrixResponseInfo. + + Copyright and attribution information # noqa: E501 + + :param attribution: The attribution of this MatrixResponseInfo. # noqa: E501 + :type: str + """ + + self._attribution = attribution + + @property + def engine(self): + """Gets the engine of this MatrixResponseInfo. # noqa: E501 + + + :return: The engine of this MatrixResponseInfo. # noqa: E501 + :rtype: GeoJSONIsochronesResponseMetadataEngine + """ + return self._engine + + @engine.setter + def engine(self, engine): + """Sets the engine of this MatrixResponseInfo. + + + :param engine: The engine of this MatrixResponseInfo. # noqa: E501 + :type: GeoJSONIsochronesResponseMetadataEngine + """ + + self._engine = engine + + @property + def id(self): + """Gets the id of this MatrixResponseInfo. # noqa: E501 + + ID of the request (as passed in by the query) # noqa: E501 + + :return: The id of this MatrixResponseInfo. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this MatrixResponseInfo. + + ID of the request (as passed in by the query) # noqa: E501 + + :param id: The id of this MatrixResponseInfo. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def osm_file_md5_hash(self): + """Gets the osm_file_md5_hash of this MatrixResponseInfo. # noqa: E501 + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :return: The osm_file_md5_hash of this MatrixResponseInfo. # noqa: E501 + :rtype: str + """ + return self._osm_file_md5_hash + + @osm_file_md5_hash.setter + def osm_file_md5_hash(self, osm_file_md5_hash): + """Sets the osm_file_md5_hash of this MatrixResponseInfo. + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :param osm_file_md5_hash: The osm_file_md5_hash of this MatrixResponseInfo. # noqa: E501 + :type: str + """ + + self._osm_file_md5_hash = osm_file_md5_hash + + @property + def query(self): + """Gets the query of this MatrixResponseInfo. # noqa: E501 + + + :return: The query of this MatrixResponseInfo. # noqa: E501 + :rtype: MatrixProfileBody + """ + return self._query + + @query.setter + def query(self, query): + """Sets the query of this MatrixResponseInfo. + + + :param query: The query of this MatrixResponseInfo. # noqa: E501 + :type: MatrixProfileBody + """ + + self._query = query + + @property + def service(self): + """Gets the service of this MatrixResponseInfo. # noqa: E501 + + The service that was requested # noqa: E501 + + :return: The service of this MatrixResponseInfo. # noqa: E501 + :rtype: str + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this MatrixResponseInfo. + + The service that was requested # noqa: E501 + + :param service: The service of this MatrixResponseInfo. # noqa: E501 + :type: str + """ + + self._service = service + + @property + def system_message(self): + """Gets the system_message of this MatrixResponseInfo. # noqa: E501 + + System message # noqa: E501 + + :return: The system_message of this MatrixResponseInfo. # noqa: E501 + :rtype: str + """ + return self._system_message + + @system_message.setter + def system_message(self, system_message): + """Sets the system_message of this MatrixResponseInfo. + + System message # noqa: E501 + + :param system_message: The system_message of this MatrixResponseInfo. # noqa: E501 + :type: str + """ + + self._system_message = system_message + + @property + def timestamp(self): + """Gets the timestamp of this MatrixResponseInfo. # noqa: E501 + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :return: The timestamp of this MatrixResponseInfo. # noqa: E501 + :rtype: int + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this MatrixResponseInfo. + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :param timestamp: The timestamp of this MatrixResponseInfo. # noqa: E501 + :type: int + """ + + self._timestamp = timestamp + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(MatrixResponseInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MatrixResponseInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/matrix_response_metadata.py b/openrouteservice/models/matrix_response_metadata.py new file mode 100644 index 00000000..75cc7590 --- /dev/null +++ b/openrouteservice/models/matrix_response_metadata.py @@ -0,0 +1,304 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MatrixResponseMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attribution': 'str', + 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'id': 'str', + 'osm_file_md5_hash': 'str', + 'query': 'MatrixProfileBody', + 'service': 'str', + 'system_message': 'str', + 'timestamp': 'int' + } + + attribute_map = { + 'attribution': 'attribution', + 'engine': 'engine', + 'id': 'id', + 'osm_file_md5_hash': 'osm_file_md5_hash', + 'query': 'query', + 'service': 'service', + 'system_message': 'system_message', + 'timestamp': 'timestamp' + } + + def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 + """MatrixResponseMetadata - a model defined in Swagger""" # noqa: E501 + self._attribution = None + self._engine = None + self._id = None + self._osm_file_md5_hash = None + self._query = None + self._service = None + self._system_message = None + self._timestamp = None + self.discriminator = None + if attribution is not None: + self.attribution = attribution + if engine is not None: + self.engine = engine + if id is not None: + self.id = id + if osm_file_md5_hash is not None: + self.osm_file_md5_hash = osm_file_md5_hash + if query is not None: + self.query = query + if service is not None: + self.service = service + if system_message is not None: + self.system_message = system_message + if timestamp is not None: + self.timestamp = timestamp + + @property + def attribution(self): + """Gets the attribution of this MatrixResponseMetadata. # noqa: E501 + + Copyright and attribution information # noqa: E501 + + :return: The attribution of this MatrixResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._attribution + + @attribution.setter + def attribution(self, attribution): + """Sets the attribution of this MatrixResponseMetadata. + + Copyright and attribution information # noqa: E501 + + :param attribution: The attribution of this MatrixResponseMetadata. # noqa: E501 + :type: str + """ + + self._attribution = attribution + + @property + def engine(self): + """Gets the engine of this MatrixResponseMetadata. # noqa: E501 + + + :return: The engine of this MatrixResponseMetadata. # noqa: E501 + :rtype: GeoJSONIsochronesResponseMetadataEngine + """ + return self._engine + + @engine.setter + def engine(self, engine): + """Sets the engine of this MatrixResponseMetadata. + + + :param engine: The engine of this MatrixResponseMetadata. # noqa: E501 + :type: GeoJSONIsochronesResponseMetadataEngine + """ + + self._engine = engine + + @property + def id(self): + """Gets the id of this MatrixResponseMetadata. # noqa: E501 + + ID of the request (as passed in by the query) # noqa: E501 + + :return: The id of this MatrixResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this MatrixResponseMetadata. + + ID of the request (as passed in by the query) # noqa: E501 + + :param id: The id of this MatrixResponseMetadata. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def osm_file_md5_hash(self): + """Gets the osm_file_md5_hash of this MatrixResponseMetadata. # noqa: E501 + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :return: The osm_file_md5_hash of this MatrixResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._osm_file_md5_hash + + @osm_file_md5_hash.setter + def osm_file_md5_hash(self, osm_file_md5_hash): + """Sets the osm_file_md5_hash of this MatrixResponseMetadata. + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :param osm_file_md5_hash: The osm_file_md5_hash of this MatrixResponseMetadata. # noqa: E501 + :type: str + """ + + self._osm_file_md5_hash = osm_file_md5_hash + + @property + def query(self): + """Gets the query of this MatrixResponseMetadata. # noqa: E501 + + + :return: The query of this MatrixResponseMetadata. # noqa: E501 + :rtype: MatrixProfileBody + """ + return self._query + + @query.setter + def query(self, query): + """Sets the query of this MatrixResponseMetadata. + + + :param query: The query of this MatrixResponseMetadata. # noqa: E501 + :type: MatrixProfileBody + """ + + self._query = query + + @property + def service(self): + """Gets the service of this MatrixResponseMetadata. # noqa: E501 + + The service that was requested # noqa: E501 + + :return: The service of this MatrixResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this MatrixResponseMetadata. + + The service that was requested # noqa: E501 + + :param service: The service of this MatrixResponseMetadata. # noqa: E501 + :type: str + """ + + self._service = service + + @property + def system_message(self): + """Gets the system_message of this MatrixResponseMetadata. # noqa: E501 + + System message # noqa: E501 + + :return: The system_message of this MatrixResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._system_message + + @system_message.setter + def system_message(self, system_message): + """Sets the system_message of this MatrixResponseMetadata. + + System message # noqa: E501 + + :param system_message: The system_message of this MatrixResponseMetadata. # noqa: E501 + :type: str + """ + + self._system_message = system_message + + @property + def timestamp(self): + """Gets the timestamp of this MatrixResponseMetadata. # noqa: E501 + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :return: The timestamp of this MatrixResponseMetadata. # noqa: E501 + :rtype: int + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this MatrixResponseMetadata. + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :param timestamp: The timestamp of this MatrixResponseMetadata. # noqa: E501 + :type: int + """ + + self._timestamp = timestamp + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(MatrixResponseMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MatrixResponseMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/matrix_response_sources.py b/openrouteservice/models/matrix_response_sources.py new file mode 100644 index 00000000..320dfe83 --- /dev/null +++ b/openrouteservice/models/matrix_response_sources.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class MatrixResponseSources(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'location': 'list[float]', + 'name': 'str', + 'snapped_distance': 'float' + } + + attribute_map = { + 'location': 'location', + 'name': 'name', + 'snapped_distance': 'snapped_distance' + } + + def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 + """MatrixResponseSources - a model defined in Swagger""" # noqa: E501 + self._location = None + self._name = None + self._snapped_distance = None + self.discriminator = None + if location is not None: + self.location = location + if name is not None: + self.name = name + if snapped_distance is not None: + self.snapped_distance = snapped_distance + + @property + def location(self): + """Gets the location of this MatrixResponseSources. # noqa: E501 + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :return: The location of this MatrixResponseSources. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this MatrixResponseSources. + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :param location: The location of this MatrixResponseSources. # noqa: E501 + :type: list[float] + """ + + self._location = location + + @property + def name(self): + """Gets the name of this MatrixResponseSources. # noqa: E501 + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :return: The name of this MatrixResponseSources. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this MatrixResponseSources. + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :param name: The name of this MatrixResponseSources. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def snapped_distance(self): + """Gets the snapped_distance of this MatrixResponseSources. # noqa: E501 + + Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + + :return: The snapped_distance of this MatrixResponseSources. # noqa: E501 + :rtype: float + """ + return self._snapped_distance + + @snapped_distance.setter + def snapped_distance(self, snapped_distance): + """Sets the snapped_distance of this MatrixResponseSources. + + Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + + :param snapped_distance: The snapped_distance of this MatrixResponseSources. # noqa: E501 + :type: float + """ + + self._snapped_distance = snapped_distance + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(MatrixResponseSources, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, MatrixResponseSources): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/openpoiservice_poi_request.py b/openrouteservice/models/openpoiservice_poi_request.py new file mode 100644 index 00000000..33b73d2d --- /dev/null +++ b/openrouteservice/models/openpoiservice_poi_request.py @@ -0,0 +1,234 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OpenpoiservicePoiRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'filters': 'PoisFilters', + 'geometry': 'PoisGeometry', + 'limit': 'int', + 'request': 'str', + 'sortby': 'str' + } + + attribute_map = { + 'filters': 'filters', + 'geometry': 'geometry', + 'limit': 'limit', + 'request': 'request', + 'sortby': 'sortby' + } + + def __init__(self, filters=None, geometry=None, limit=None, request=None, sortby=None): # noqa: E501 + """OpenpoiservicePoiRequest - a model defined in Swagger""" # noqa: E501 + self._filters = None + self._geometry = None + self._limit = None + self._request = None + self._sortby = None + self.discriminator = None + if filters is not None: + self.filters = filters + self.geometry = geometry + if limit is not None: + self.limit = limit + self.request = request + if sortby is not None: + self.sortby = sortby + + @property + def filters(self): + """Gets the filters of this OpenpoiservicePoiRequest. # noqa: E501 + + + :return: The filters of this OpenpoiservicePoiRequest. # noqa: E501 + :rtype: PoisFilters + """ + return self._filters + + @filters.setter + def filters(self, filters): + """Sets the filters of this OpenpoiservicePoiRequest. + + + :param filters: The filters of this OpenpoiservicePoiRequest. # noqa: E501 + :type: PoisFilters + """ + + self._filters = filters + + @property + def geometry(self): + """Gets the geometry of this OpenpoiservicePoiRequest. # noqa: E501 + + + :return: The geometry of this OpenpoiservicePoiRequest. # noqa: E501 + :rtype: PoisGeometry + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this OpenpoiservicePoiRequest. + + + :param geometry: The geometry of this OpenpoiservicePoiRequest. # noqa: E501 + :type: PoisGeometry + """ + if geometry is None: + raise ValueError("Invalid value for `geometry`, must not be `None`") # noqa: E501 + + self._geometry = geometry + + @property + def limit(self): + """Gets the limit of this OpenpoiservicePoiRequest. # noqa: E501 + + The limit of objects to be returned in the response. # noqa: E501 + + :return: The limit of this OpenpoiservicePoiRequest. # noqa: E501 + :rtype: int + """ + return self._limit + + @limit.setter + def limit(self, limit): + """Sets the limit of this OpenpoiservicePoiRequest. + + The limit of objects to be returned in the response. # noqa: E501 + + :param limit: The limit of this OpenpoiservicePoiRequest. # noqa: E501 + :type: int + """ + + self._limit = limit + + @property + def request(self): + """Gets the request of this OpenpoiservicePoiRequest. # noqa: E501 + + Examples: ``` #### JSON bodies for POST requests ##### Pois around a buffered point { \"request\": \"pois\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 250 } } ##### Pois given categories { \"request\": \"pois\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 100 }, \"limit\": 200, \"filters\": { \"category_ids\": [180, 245] } } ##### Pois given category groups { \"request\": \"pois\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 100 }, \"limit\": 200, \"filters\": { \"category_group_ids\": [160] } } ##### Pois statistics { \"request\": \"stats\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 100 } } ##### Pois categories as a list { \"request\": \"list\" } ``` # noqa: E501 + + :return: The request of this OpenpoiservicePoiRequest. # noqa: E501 + :rtype: str + """ + return self._request + + @request.setter + def request(self, request): + """Sets the request of this OpenpoiservicePoiRequest. + + Examples: ``` #### JSON bodies for POST requests ##### Pois around a buffered point { \"request\": \"pois\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 250 } } ##### Pois given categories { \"request\": \"pois\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 100 }, \"limit\": 200, \"filters\": { \"category_ids\": [180, 245] } } ##### Pois given category groups { \"request\": \"pois\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 100 }, \"limit\": 200, \"filters\": { \"category_group_ids\": [160] } } ##### Pois statistics { \"request\": \"stats\", \"geometry\": { \"bbox\": [ [8.8034, 53.0756], [8.7834, 53.0456] ], \"geojson\": { \"type\": \"Point\", \"coordinates\": [8.8034, 53.0756] }, \"buffer\": 100 } } ##### Pois categories as a list { \"request\": \"list\" } ``` # noqa: E501 + + :param request: The request of this OpenpoiservicePoiRequest. # noqa: E501 + :type: str + """ + if request is None: + raise ValueError("Invalid value for `request`, must not be `None`") # noqa: E501 + allowed_values = ["pois", "stats", "list"] # noqa: E501 + if request not in allowed_values: + raise ValueError( + "Invalid value for `request` ({0}), must be one of {1}" # noqa: E501 + .format(request, allowed_values) + ) + + self._request = request + + @property + def sortby(self): + """Gets the sortby of this OpenpoiservicePoiRequest. # noqa: E501 + + Either you can sort by category or the distance to the geometry object provided in the request. # noqa: E501 + + :return: The sortby of this OpenpoiservicePoiRequest. # noqa: E501 + :rtype: str + """ + return self._sortby + + @sortby.setter + def sortby(self, sortby): + """Sets the sortby of this OpenpoiservicePoiRequest. + + Either you can sort by category or the distance to the geometry object provided in the request. # noqa: E501 + + :param sortby: The sortby of this OpenpoiservicePoiRequest. # noqa: E501 + :type: str + """ + allowed_values = ["category", "distance"] # noqa: E501 + if sortby not in allowed_values: + raise ValueError( + "Invalid value for `sortby` ({0}), must be one of {1}" # noqa: E501 + .format(sortby, allowed_values) + ) + + self._sortby = sortby + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(OpenpoiservicePoiRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OpenpoiservicePoiRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/openpoiservice_poi_response.py b/openrouteservice/models/openpoiservice_poi_response.py new file mode 100644 index 00000000..934e51ee --- /dev/null +++ b/openrouteservice/models/openpoiservice_poi_response.py @@ -0,0 +1,136 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OpenpoiservicePoiResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'features': 'list[GeoJSONFeaturesObject]', + 'type': 'str' + } + + attribute_map = { + 'features': 'features', + 'type': 'type' + } + + def __init__(self, features=None, type='FeatureCollection'): # noqa: E501 + """OpenpoiservicePoiResponse - a model defined in Swagger""" # noqa: E501 + self._features = None + self._type = None + self.discriminator = None + if features is not None: + self.features = features + if type is not None: + self.type = type + + @property + def features(self): + """Gets the features of this OpenpoiservicePoiResponse. # noqa: E501 + + + :return: The features of this OpenpoiservicePoiResponse. # noqa: E501 + :rtype: list[GeoJSONFeaturesObject] + """ + return self._features + + @features.setter + def features(self, features): + """Sets the features of this OpenpoiservicePoiResponse. + + + :param features: The features of this OpenpoiservicePoiResponse. # noqa: E501 + :type: list[GeoJSONFeaturesObject] + """ + + self._features = features + + @property + def type(self): + """Gets the type of this OpenpoiservicePoiResponse. # noqa: E501 + + + :return: The type of this OpenpoiservicePoiResponse. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this OpenpoiservicePoiResponse. + + + :param type: The type of this OpenpoiservicePoiResponse. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(OpenpoiservicePoiResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OpenpoiservicePoiResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/optimization_body.py b/openrouteservice/models/optimization_body.py new file mode 100644 index 00000000..fe19b957 --- /dev/null +++ b/openrouteservice/models/optimization_body.py @@ -0,0 +1,196 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OptimizationBody(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'jobs': 'list[OptimizationJobs]', + 'matrix': 'list[list]', + 'options': 'OptimizationOptions', + 'vehicles': 'list[OptimizationVehicles]' + } + + attribute_map = { + 'jobs': 'jobs', + 'matrix': 'matrix', + 'options': 'options', + 'vehicles': 'vehicles' + } + + def __init__(self, jobs=None, matrix=None, options=None, vehicles=None): # noqa: E501 + """OptimizationBody - a model defined in Swagger""" # noqa: E501 + self._jobs = None + self._matrix = None + self._options = None + self._vehicles = None + self.discriminator = None + self.jobs = jobs + if matrix is not None: + self.matrix = matrix + if options is not None: + self.options = options + self.vehicles = vehicles + + @property + def jobs(self): + """Gets the jobs of this OptimizationBody. # noqa: E501 + + Array of `job` objects describing the places to visit. For a detailed object description visit the [VROOM api description](https://github.com/VROOM-Project/vroom/blob/master/docs/API.md#jobs) # noqa: E501 + + :return: The jobs of this OptimizationBody. # noqa: E501 + :rtype: list[OptimizationJobs] + """ + return self._jobs + + @jobs.setter + def jobs(self, jobs): + """Sets the jobs of this OptimizationBody. + + Array of `job` objects describing the places to visit. For a detailed object description visit the [VROOM api description](https://github.com/VROOM-Project/vroom/blob/master/docs/API.md#jobs) # noqa: E501 + + :param jobs: The jobs of this OptimizationBody. # noqa: E501 + :type: list[OptimizationJobs] + """ + if jobs is None: + raise ValueError("Invalid value for `jobs`, must not be `None`") # noqa: E501 + + self._jobs = jobs + + @property + def matrix(self): + """Gets the matrix of this OptimizationBody. # noqa: E501 + + Optional two-dimensional array describing a custom matrix # noqa: E501 + + :return: The matrix of this OptimizationBody. # noqa: E501 + :rtype: list[list] + """ + return self._matrix + + @matrix.setter + def matrix(self, matrix): + """Sets the matrix of this OptimizationBody. + + Optional two-dimensional array describing a custom matrix # noqa: E501 + + :param matrix: The matrix of this OptimizationBody. # noqa: E501 + :type: list[list] + """ + + self._matrix = matrix + + @property + def options(self): + """Gets the options of this OptimizationBody. # noqa: E501 + + + :return: The options of this OptimizationBody. # noqa: E501 + :rtype: OptimizationOptions + """ + return self._options + + @options.setter + def options(self, options): + """Sets the options of this OptimizationBody. + + + :param options: The options of this OptimizationBody. # noqa: E501 + :type: OptimizationOptions + """ + + self._options = options + + @property + def vehicles(self): + """Gets the vehicles of this OptimizationBody. # noqa: E501 + + Array of `vehicle` objects describing the available vehicles. For a detailed object description visit the [VROOM API description](https://github.com/VROOM-Project/vroom/blob/master/docs/API.md#vehicles) # noqa: E501 + + :return: The vehicles of this OptimizationBody. # noqa: E501 + :rtype: list[OptimizationVehicles] + """ + return self._vehicles + + @vehicles.setter + def vehicles(self, vehicles): + """Sets the vehicles of this OptimizationBody. + + Array of `vehicle` objects describing the available vehicles. For a detailed object description visit the [VROOM API description](https://github.com/VROOM-Project/vroom/blob/master/docs/API.md#vehicles) # noqa: E501 + + :param vehicles: The vehicles of this OptimizationBody. # noqa: E501 + :type: list[OptimizationVehicles] + """ + if vehicles is None: + raise ValueError("Invalid value for `vehicles`, must not be `None`") # noqa: E501 + + self._vehicles = vehicles + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(OptimizationBody, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OptimizationBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/optimization_jobs.py b/openrouteservice/models/optimization_jobs.py new file mode 100644 index 00000000..6aeb86cb --- /dev/null +++ b/openrouteservice/models/optimization_jobs.py @@ -0,0 +1,280 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OptimizationJobs(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'amount': 'list[int]', + 'id': 'int', + 'location': 'list[list[float]]', + 'location_index': 'object', + 'service': 'object', + 'skills': 'list[int]', + 'time_windows': 'list[list[int]]' + } + + attribute_map = { + 'amount': 'amount', + 'id': 'id', + 'location': 'location', + 'location_index': 'location_index', + 'service': 'service', + 'skills': 'skills', + 'time_windows': 'time_windows' + } + + def __init__(self, amount=None, id=None, location=None, location_index=None, service=None, skills=None, time_windows=None): # noqa: E501 + """OptimizationJobs - a model defined in Swagger""" # noqa: E501 + self._amount = None + self._id = None + self._location = None + self._location_index = None + self._service = None + self._skills = None + self._time_windows = None + self.discriminator = None + if amount is not None: + self.amount = amount + if id is not None: + self.id = id + if location is not None: + self.location = location + if location_index is not None: + self.location_index = location_index + if service is not None: + self.service = service + if skills is not None: + self.skills = skills + if time_windows is not None: + self.time_windows = time_windows + + @property + def amount(self): + """Gets the amount of this OptimizationJobs. # noqa: E501 + + Array describing multidimensional quantities # noqa: E501 + + :return: The amount of this OptimizationJobs. # noqa: E501 + :rtype: list[int] + """ + return self._amount + + @amount.setter + def amount(self, amount): + """Sets the amount of this OptimizationJobs. + + Array describing multidimensional quantities # noqa: E501 + + :param amount: The amount of this OptimizationJobs. # noqa: E501 + :type: list[int] + """ + + self._amount = amount + + @property + def id(self): + """Gets the id of this OptimizationJobs. # noqa: E501 + + an integer used as unique identifier # noqa: E501 + + :return: The id of this OptimizationJobs. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this OptimizationJobs. + + an integer used as unique identifier # noqa: E501 + + :param id: The id of this OptimizationJobs. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def location(self): + """Gets the location of this OptimizationJobs. # noqa: E501 + + coordinates array in `[lon, lat]` # noqa: E501 + + :return: The location of this OptimizationJobs. # noqa: E501 + :rtype: list[list[float]] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this OptimizationJobs. + + coordinates array in `[lon, lat]` # noqa: E501 + + :param location: The location of this OptimizationJobs. # noqa: E501 + :type: list[list[float]] + """ + + self._location = location + + @property + def location_index(self): + """Gets the location_index of this OptimizationJobs. # noqa: E501 + + index of relevant row and column in custom matrix # noqa: E501 + + :return: The location_index of this OptimizationJobs. # noqa: E501 + :rtype: object + """ + return self._location_index + + @location_index.setter + def location_index(self, location_index): + """Sets the location_index of this OptimizationJobs. + + index of relevant row and column in custom matrix # noqa: E501 + + :param location_index: The location_index of this OptimizationJobs. # noqa: E501 + :type: object + """ + + self._location_index = location_index + + @property + def service(self): + """Gets the service of this OptimizationJobs. # noqa: E501 + + job service duration (defaults to 0), in seconds # noqa: E501 + + :return: The service of this OptimizationJobs. # noqa: E501 + :rtype: object + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this OptimizationJobs. + + job service duration (defaults to 0), in seconds # noqa: E501 + + :param service: The service of this OptimizationJobs. # noqa: E501 + :type: object + """ + + self._service = service + + @property + def skills(self): + """Gets the skills of this OptimizationJobs. # noqa: E501 + + Array of integers defining mandatory skills for this job # noqa: E501 + + :return: The skills of this OptimizationJobs. # noqa: E501 + :rtype: list[int] + """ + return self._skills + + @skills.setter + def skills(self, skills): + """Sets the skills of this OptimizationJobs. + + Array of integers defining mandatory skills for this job # noqa: E501 + + :param skills: The skills of this OptimizationJobs. # noqa: E501 + :type: list[int] + """ + + self._skills = skills + + @property + def time_windows(self): + """Gets the time_windows of this OptimizationJobs. # noqa: E501 + + Array of `time_window` arrays describing valid slots for job service start and end, in week seconds, i.e. 28800 = Mon, 8 AM. # noqa: E501 + + :return: The time_windows of this OptimizationJobs. # noqa: E501 + :rtype: list[list[int]] + """ + return self._time_windows + + @time_windows.setter + def time_windows(self, time_windows): + """Sets the time_windows of this OptimizationJobs. + + Array of `time_window` arrays describing valid slots for job service start and end, in week seconds, i.e. 28800 = Mon, 8 AM. # noqa: E501 + + :param time_windows: The time_windows of this OptimizationJobs. # noqa: E501 + :type: list[list[int]] + """ + + self._time_windows = time_windows + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(OptimizationJobs, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OptimizationJobs): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/optimization_options.py b/openrouteservice/models/optimization_options.py new file mode 100644 index 00000000..7b4bc462 --- /dev/null +++ b/openrouteservice/models/optimization_options.py @@ -0,0 +1,112 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OptimizationOptions(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'g': 'bool' + } + + attribute_map = { + 'g': 'g' + } + + def __init__(self, g=None): # noqa: E501 + """OptimizationOptions - a model defined in Swagger""" # noqa: E501 + self._g = None + self.discriminator = None + if g is not None: + self.g = g + + @property + def g(self): + """Gets the g of this OptimizationOptions. # noqa: E501 + + Calculate geometries for the optimized routes. # noqa: E501 + + :return: The g of this OptimizationOptions. # noqa: E501 + :rtype: bool + """ + return self._g + + @g.setter + def g(self, g): + """Sets the g of this OptimizationOptions. + + Calculate geometries for the optimized routes. # noqa: E501 + + :param g: The g of this OptimizationOptions. # noqa: E501 + :type: bool + """ + + self._g = g + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(OptimizationOptions, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OptimizationOptions): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/optimization_vehicles.py b/openrouteservice/models/optimization_vehicles.py new file mode 100644 index 00000000..15ac3e8f --- /dev/null +++ b/openrouteservice/models/optimization_vehicles.py @@ -0,0 +1,342 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OptimizationVehicles(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'capacity': 'list[int]', + 'end': 'list[float]', + 'end_index': 'object', + 'id': 'int', + 'profile': 'str', + 'skills': 'list[int]', + 'start': 'list[float]', + 'start_index': 'object', + 'time_window': 'list[int]' + } + + attribute_map = { + 'capacity': 'capacity', + 'end': 'end', + 'end_index': 'end_index', + 'id': 'id', + 'profile': 'profile', + 'skills': 'skills', + 'start': 'start', + 'start_index': 'start_index', + 'time_window': 'time_window' + } + + def __init__(self, capacity=None, end=None, end_index=None, id=None, profile=None, skills=None, start=None, start_index=None, time_window=None): # noqa: E501 + """OptimizationVehicles - a model defined in Swagger""" # noqa: E501 + self._capacity = None + self._end = None + self._end_index = None + self._id = None + self._profile = None + self._skills = None + self._start = None + self._start_index = None + self._time_window = None + self.discriminator = None + if capacity is not None: + self.capacity = capacity + if end is not None: + self.end = end + if end_index is not None: + self.end_index = end_index + if id is not None: + self.id = id + if profile is not None: + self.profile = profile + if skills is not None: + self.skills = skills + if start is not None: + self.start = start + if start_index is not None: + self.start_index = start_index + if time_window is not None: + self.time_window = time_window + + @property + def capacity(self): + """Gets the capacity of this OptimizationVehicles. # noqa: E501 + + Array of integers describing multidimensional quantities. # noqa: E501 + + :return: The capacity of this OptimizationVehicles. # noqa: E501 + :rtype: list[int] + """ + return self._capacity + + @capacity.setter + def capacity(self, capacity): + """Sets the capacity of this OptimizationVehicles. + + Array of integers describing multidimensional quantities. # noqa: E501 + + :param capacity: The capacity of this OptimizationVehicles. # noqa: E501 + :type: list[int] + """ + + self._capacity = capacity + + @property + def end(self): + """Gets the end of this OptimizationVehicles. # noqa: E501 + + End coordinates array in `[lon, lat]` format. If left blank, the optimization engine will identify the optimal end point. # noqa: E501 + + :return: The end of this OptimizationVehicles. # noqa: E501 + :rtype: list[float] + """ + return self._end + + @end.setter + def end(self, end): + """Sets the end of this OptimizationVehicles. + + End coordinates array in `[lon, lat]` format. If left blank, the optimization engine will identify the optimal end point. # noqa: E501 + + :param end: The end of this OptimizationVehicles. # noqa: E501 + :type: list[float] + """ + + self._end = end + + @property + def end_index(self): + """Gets the end_index of this OptimizationVehicles. # noqa: E501 + + Index of relevant row and column in custom matrix. # noqa: E501 + + :return: The end_index of this OptimizationVehicles. # noqa: E501 + :rtype: object + """ + return self._end_index + + @end_index.setter + def end_index(self, end_index): + """Sets the end_index of this OptimizationVehicles. + + Index of relevant row and column in custom matrix. # noqa: E501 + + :param end_index: The end_index of this OptimizationVehicles. # noqa: E501 + :type: object + """ + + self._end_index = end_index + + @property + def id(self): + """Gets the id of this OptimizationVehicles. # noqa: E501 + + Integer used as unique identifier # noqa: E501 + + :return: The id of this OptimizationVehicles. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this OptimizationVehicles. + + Integer used as unique identifier # noqa: E501 + + :param id: The id of this OptimizationVehicles. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def profile(self): + """Gets the profile of this OptimizationVehicles. # noqa: E501 + + The ORS routing profile for the vehicle. # noqa: E501 + + :return: The profile of this OptimizationVehicles. # noqa: E501 + :rtype: str + """ + return self._profile + + @profile.setter + def profile(self, profile): + """Sets the profile of this OptimizationVehicles. + + The ORS routing profile for the vehicle. # noqa: E501 + + :param profile: The profile of this OptimizationVehicles. # noqa: E501 + :type: str + """ + allowed_values = ["driving-car", "driving-hgv", "cycling-regular", "cycling-mountain", "cycling-electric", "cycling-road", "foot-walking", "foot-hiking", "wheelchair"] # noqa: E501 + if profile not in allowed_values: + raise ValueError( + "Invalid value for `profile` ({0}), must be one of {1}" # noqa: E501 + .format(profile, allowed_values) + ) + + self._profile = profile + + @property + def skills(self): + """Gets the skills of this OptimizationVehicles. # noqa: E501 + + Array of integers defining skills for this vehicle # noqa: E501 + + :return: The skills of this OptimizationVehicles. # noqa: E501 + :rtype: list[int] + """ + return self._skills + + @skills.setter + def skills(self, skills): + """Sets the skills of this OptimizationVehicles. + + Array of integers defining skills for this vehicle # noqa: E501 + + :param skills: The skills of this OptimizationVehicles. # noqa: E501 + :type: list[int] + """ + + self._skills = skills + + @property + def start(self): + """Gets the start of this OptimizationVehicles. # noqa: E501 + + Start coordinates array in `[lon, lat]` format. If left blank, the optimization engine will identify the optimal start point. # noqa: E501 + + :return: The start of this OptimizationVehicles. # noqa: E501 + :rtype: list[float] + """ + return self._start + + @start.setter + def start(self, start): + """Sets the start of this OptimizationVehicles. + + Start coordinates array in `[lon, lat]` format. If left blank, the optimization engine will identify the optimal start point. # noqa: E501 + + :param start: The start of this OptimizationVehicles. # noqa: E501 + :type: list[float] + """ + + self._start = start + + @property + def start_index(self): + """Gets the start_index of this OptimizationVehicles. # noqa: E501 + + Index of relevant row and column in custom matrix. # noqa: E501 + + :return: The start_index of this OptimizationVehicles. # noqa: E501 + :rtype: object + """ + return self._start_index + + @start_index.setter + def start_index(self, start_index): + """Sets the start_index of this OptimizationVehicles. + + Index of relevant row and column in custom matrix. # noqa: E501 + + :param start_index: The start_index of this OptimizationVehicles. # noqa: E501 + :type: object + """ + + self._start_index = start_index + + @property + def time_window(self): + """Gets the time_window of this OptimizationVehicles. # noqa: E501 + + A `time_window` array describing working hours for this vehicle, in week seconds, i.e. 28800 = Mon, 8 AM. # noqa: E501 + + :return: The time_window of this OptimizationVehicles. # noqa: E501 + :rtype: list[int] + """ + return self._time_window + + @time_window.setter + def time_window(self, time_window): + """Sets the time_window of this OptimizationVehicles. + + A `time_window` array describing working hours for this vehicle, in week seconds, i.e. 28800 = Mon, 8 AM. # noqa: E501 + + :param time_window: The time_window of this OptimizationVehicles. # noqa: E501 + :type: list[int] + """ + + self._time_window = time_window + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(OptimizationVehicles, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OptimizationVehicles): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/pois_filters.py b/openrouteservice/models/pois_filters.py new file mode 100644 index 00000000..a086af4c --- /dev/null +++ b/openrouteservice/models/pois_filters.py @@ -0,0 +1,248 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PoisFilters(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'category_group_ids': 'list[int]', + 'category_ids': 'list[int]', + 'fee': 'list[str]', + 'name': 'list[str]', + 'smoking': 'list[str]', + 'wheelchair': 'list[str]' + } + + attribute_map = { + 'category_group_ids': 'category_group_ids', + 'category_ids': 'category_ids', + 'fee': 'fee', + 'name': 'name', + 'smoking': 'smoking', + 'wheelchair': 'wheelchair' + } + + def __init__(self, category_group_ids=None, category_ids=None, fee=None, name=None, smoking=None, wheelchair=None): # noqa: E501 + """PoisFilters - a model defined in Swagger""" # noqa: E501 + self._category_group_ids = None + self._category_ids = None + self._fee = None + self._name = None + self._smoking = None + self._wheelchair = None + self.discriminator = None + if category_group_ids is not None: + self.category_group_ids = category_group_ids + if category_ids is not None: + self.category_ids = category_ids + if fee is not None: + self.fee = fee + if name is not None: + self.name = name + if smoking is not None: + self.smoking = smoking + if wheelchair is not None: + self.wheelchair = wheelchair + + @property + def category_group_ids(self): + """Gets the category_group_ids of this PoisFilters. # noqa: E501 + + + :return: The category_group_ids of this PoisFilters. # noqa: E501 + :rtype: list[int] + """ + return self._category_group_ids + + @category_group_ids.setter + def category_group_ids(self, category_group_ids): + """Sets the category_group_ids of this PoisFilters. + + + :param category_group_ids: The category_group_ids of this PoisFilters. # noqa: E501 + :type: list[int] + """ + + self._category_group_ids = category_group_ids + + @property + def category_ids(self): + """Gets the category_ids of this PoisFilters. # noqa: E501 + + + :return: The category_ids of this PoisFilters. # noqa: E501 + :rtype: list[int] + """ + return self._category_ids + + @category_ids.setter + def category_ids(self, category_ids): + """Sets the category_ids of this PoisFilters. + + + :param category_ids: The category_ids of this PoisFilters. # noqa: E501 + :type: list[int] + """ + + self._category_ids = category_ids + + @property + def fee(self): + """Gets the fee of this PoisFilters. # noqa: E501 + + Filter example. # noqa: E501 + + :return: The fee of this PoisFilters. # noqa: E501 + :rtype: list[str] + """ + return self._fee + + @fee.setter + def fee(self, fee): + """Sets the fee of this PoisFilters. + + Filter example. # noqa: E501 + + :param fee: The fee of this PoisFilters. # noqa: E501 + :type: list[str] + """ + + self._fee = fee + + @property + def name(self): + """Gets the name of this PoisFilters. # noqa: E501 + + Filter by name of the poi object. # noqa: E501 + + :return: The name of this PoisFilters. # noqa: E501 + :rtype: list[str] + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this PoisFilters. + + Filter by name of the poi object. # noqa: E501 + + :param name: The name of this PoisFilters. # noqa: E501 + :type: list[str] + """ + + self._name = name + + @property + def smoking(self): + """Gets the smoking of this PoisFilters. # noqa: E501 + + Filter example. # noqa: E501 + + :return: The smoking of this PoisFilters. # noqa: E501 + :rtype: list[str] + """ + return self._smoking + + @smoking.setter + def smoking(self, smoking): + """Sets the smoking of this PoisFilters. + + Filter example. # noqa: E501 + + :param smoking: The smoking of this PoisFilters. # noqa: E501 + :type: list[str] + """ + + self._smoking = smoking + + @property + def wheelchair(self): + """Gets the wheelchair of this PoisFilters. # noqa: E501 + + Filter example. # noqa: E501 + + :return: The wheelchair of this PoisFilters. # noqa: E501 + :rtype: list[str] + """ + return self._wheelchair + + @wheelchair.setter + def wheelchair(self, wheelchair): + """Sets the wheelchair of this PoisFilters. + + Filter example. # noqa: E501 + + :param wheelchair: The wheelchair of this PoisFilters. # noqa: E501 + :type: list[str] + """ + + self._wheelchair = wheelchair + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(PoisFilters, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PoisFilters): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/pois_geometry.py b/openrouteservice/models/pois_geometry.py new file mode 100644 index 00000000..5f1a8296 --- /dev/null +++ b/openrouteservice/models/pois_geometry.py @@ -0,0 +1,166 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class PoisGeometry(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bbox': 'list[float]', + 'buffer': 'int', + 'geojson': 'object' + } + + attribute_map = { + 'bbox': 'bbox', + 'buffer': 'buffer', + 'geojson': 'geojson' + } + + def __init__(self, bbox=None, buffer=None, geojson=None): # noqa: E501 + """PoisGeometry - a model defined in Swagger""" # noqa: E501 + self._bbox = None + self._buffer = None + self._geojson = None + self.discriminator = None + if bbox is not None: + self.bbox = bbox + if buffer is not None: + self.buffer = buffer + if geojson is not None: + self.geojson = geojson + + @property + def bbox(self): + """Gets the bbox of this PoisGeometry. # noqa: E501 + + The pattern for this bbox string is minlon,minlat,maxlon,maxlat # noqa: E501 + + :return: The bbox of this PoisGeometry. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this PoisGeometry. + + The pattern for this bbox string is minlon,minlat,maxlon,maxlat # noqa: E501 + + :param bbox: The bbox of this PoisGeometry. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def buffer(self): + """Gets the buffer of this PoisGeometry. # noqa: E501 + + + :return: The buffer of this PoisGeometry. # noqa: E501 + :rtype: int + """ + return self._buffer + + @buffer.setter + def buffer(self, buffer): + """Sets the buffer of this PoisGeometry. + + + :param buffer: The buffer of this PoisGeometry. # noqa: E501 + :type: int + """ + + self._buffer = buffer + + @property + def geojson(self): + """Gets the geojson of this PoisGeometry. # noqa: E501 + + This is a GeoJSON object. Is either Point, Polygon or LineString. # noqa: E501 + + :return: The geojson of this PoisGeometry. # noqa: E501 + :rtype: object + """ + return self._geojson + + @geojson.setter + def geojson(self, geojson): + """Sets the geojson of this PoisGeometry. + + This is a GeoJSON object. Is either Point, Polygon or LineString. # noqa: E501 + + :param geojson: The geojson of this PoisGeometry. # noqa: E501 + :type: object + """ + + self._geojson = geojson + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(PoisGeometry, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, PoisGeometry): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/profile_parameters.py b/openrouteservice/models/profile_parameters.py new file mode 100644 index 00000000..bec97fd5 --- /dev/null +++ b/openrouteservice/models/profile_parameters.py @@ -0,0 +1,192 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ProfileParameters(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'allow_unsuitable': 'bool', + 'restrictions': 'ProfileParametersRestrictions', + 'surface_quality_known': 'bool', + 'weightings': 'ProfileWeightings' + } + + attribute_map = { + 'allow_unsuitable': 'allow_unsuitable', + 'restrictions': 'restrictions', + 'surface_quality_known': 'surface_quality_known', + 'weightings': 'weightings' + } + + def __init__(self, allow_unsuitable=None, restrictions=None, surface_quality_known=None, weightings=None): # noqa: E501 + """ProfileParameters - a model defined in Swagger""" # noqa: E501 + self._allow_unsuitable = None + self._restrictions = None + self._surface_quality_known = None + self._weightings = None + self.discriminator = None + if allow_unsuitable is not None: + self.allow_unsuitable = allow_unsuitable + if restrictions is not None: + self.restrictions = restrictions + if surface_quality_known is not None: + self.surface_quality_known = surface_quality_known + if weightings is not None: + self.weightings = weightings + + @property + def allow_unsuitable(self): + """Gets the allow_unsuitable of this ProfileParameters. # noqa: E501 + + Specifies if ways that might not be suitable (e.g. unknown pedestrian usage) should be included in finding routes - default false # noqa: E501 + + :return: The allow_unsuitable of this ProfileParameters. # noqa: E501 + :rtype: bool + """ + return self._allow_unsuitable + + @allow_unsuitable.setter + def allow_unsuitable(self, allow_unsuitable): + """Sets the allow_unsuitable of this ProfileParameters. + + Specifies if ways that might not be suitable (e.g. unknown pedestrian usage) should be included in finding routes - default false # noqa: E501 + + :param allow_unsuitable: The allow_unsuitable of this ProfileParameters. # noqa: E501 + :type: bool + """ + + self._allow_unsuitable = allow_unsuitable + + @property + def restrictions(self): + """Gets the restrictions of this ProfileParameters. # noqa: E501 + + + :return: The restrictions of this ProfileParameters. # noqa: E501 + :rtype: ProfileParametersRestrictions + """ + return self._restrictions + + @restrictions.setter + def restrictions(self, restrictions): + """Sets the restrictions of this ProfileParameters. + + + :param restrictions: The restrictions of this ProfileParameters. # noqa: E501 + :type: ProfileParametersRestrictions + """ + + self._restrictions = restrictions + + @property + def surface_quality_known(self): + """Gets the surface_quality_known of this ProfileParameters. # noqa: E501 + + Specifies whether to enforce that only ways with known information on surface quality be taken into account - default false # noqa: E501 + + :return: The surface_quality_known of this ProfileParameters. # noqa: E501 + :rtype: bool + """ + return self._surface_quality_known + + @surface_quality_known.setter + def surface_quality_known(self, surface_quality_known): + """Sets the surface_quality_known of this ProfileParameters. + + Specifies whether to enforce that only ways with known information on surface quality be taken into account - default false # noqa: E501 + + :param surface_quality_known: The surface_quality_known of this ProfileParameters. # noqa: E501 + :type: bool + """ + + self._surface_quality_known = surface_quality_known + + @property + def weightings(self): + """Gets the weightings of this ProfileParameters. # noqa: E501 + + + :return: The weightings of this ProfileParameters. # noqa: E501 + :rtype: ProfileWeightings + """ + return self._weightings + + @weightings.setter + def weightings(self, weightings): + """Sets the weightings of this ProfileParameters. + + + :param weightings: The weightings of this ProfileParameters. # noqa: E501 + :type: ProfileWeightings + """ + + self._weightings = weightings + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ProfileParameters, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProfileParameters): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/profile_parameters_restrictions.py b/openrouteservice/models/profile_parameters_restrictions.py new file mode 100644 index 00000000..a08c7ae6 --- /dev/null +++ b/openrouteservice/models/profile_parameters_restrictions.py @@ -0,0 +1,426 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ProfileParametersRestrictions(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'axleload': 'float', + 'hazmat': 'bool', + 'height': 'float', + 'length': 'float', + 'maximum_incline': 'int', + 'maximum_sloped_kerb': 'float', + 'minimum_width': 'float', + 'smoothness_type': 'str', + 'surface_type': 'str', + 'track_type': 'str', + 'weight': 'float', + 'width': 'float' + } + + attribute_map = { + 'axleload': 'axleload', + 'hazmat': 'hazmat', + 'height': 'height', + 'length': 'length', + 'maximum_incline': 'maximum_incline', + 'maximum_sloped_kerb': 'maximum_sloped_kerb', + 'minimum_width': 'minimum_width', + 'smoothness_type': 'smoothness_type', + 'surface_type': 'surface_type', + 'track_type': 'track_type', + 'weight': 'weight', + 'width': 'width' + } + + def __init__(self, axleload=None, hazmat=False, height=None, length=None, maximum_incline=6, maximum_sloped_kerb=0.6, minimum_width=None, smoothness_type='good', surface_type='sett', track_type='grade1', weight=None, width=None): # noqa: E501 + """ProfileParametersRestrictions - a model defined in Swagger""" # noqa: E501 + self._axleload = None + self._hazmat = None + self._height = None + self._length = None + self._maximum_incline = None + self._maximum_sloped_kerb = None + self._minimum_width = None + self._smoothness_type = None + self._surface_type = None + self._track_type = None + self._weight = None + self._width = None + self.discriminator = None + if axleload is not None: + self.axleload = axleload + if hazmat is not None: + self.hazmat = hazmat + if height is not None: + self.height = height + if length is not None: + self.length = length + if maximum_incline is not None: + self.maximum_incline = maximum_incline + if maximum_sloped_kerb is not None: + self.maximum_sloped_kerb = maximum_sloped_kerb + if minimum_width is not None: + self.minimum_width = minimum_width + if smoothness_type is not None: + self.smoothness_type = smoothness_type + if surface_type is not None: + self.surface_type = surface_type + if track_type is not None: + self.track_type = track_type + if weight is not None: + self.weight = weight + if width is not None: + self.width = width + + @property + def axleload(self): + """Gets the axleload of this ProfileParametersRestrictions. # noqa: E501 + + Axleload restriction in tons. # noqa: E501 + + :return: The axleload of this ProfileParametersRestrictions. # noqa: E501 + :rtype: float + """ + return self._axleload + + @axleload.setter + def axleload(self, axleload): + """Sets the axleload of this ProfileParametersRestrictions. + + Axleload restriction in tons. # noqa: E501 + + :param axleload: The axleload of this ProfileParametersRestrictions. # noqa: E501 + :type: float + """ + + self._axleload = axleload + + @property + def hazmat(self): + """Gets the hazmat of this ProfileParametersRestrictions. # noqa: E501 + + Specifies whether to use appropriate routing for delivering hazardous goods and avoiding water protected areas. Default is `false`. # noqa: E501 + + :return: The hazmat of this ProfileParametersRestrictions. # noqa: E501 + :rtype: bool + """ + return self._hazmat + + @hazmat.setter + def hazmat(self, hazmat): + """Sets the hazmat of this ProfileParametersRestrictions. + + Specifies whether to use appropriate routing for delivering hazardous goods and avoiding water protected areas. Default is `false`. # noqa: E501 + + :param hazmat: The hazmat of this ProfileParametersRestrictions. # noqa: E501 + :type: bool + """ + + self._hazmat = hazmat + + @property + def height(self): + """Gets the height of this ProfileParametersRestrictions. # noqa: E501 + + Height restriction in metres. # noqa: E501 + + :return: The height of this ProfileParametersRestrictions. # noqa: E501 + :rtype: float + """ + return self._height + + @height.setter + def height(self, height): + """Sets the height of this ProfileParametersRestrictions. + + Height restriction in metres. # noqa: E501 + + :param height: The height of this ProfileParametersRestrictions. # noqa: E501 + :type: float + """ + + self._height = height + + @property + def length(self): + """Gets the length of this ProfileParametersRestrictions. # noqa: E501 + + Length restriction in metres. # noqa: E501 + + :return: The length of this ProfileParametersRestrictions. # noqa: E501 + :rtype: float + """ + return self._length + + @length.setter + def length(self, length): + """Sets the length of this ProfileParametersRestrictions. + + Length restriction in metres. # noqa: E501 + + :param length: The length of this ProfileParametersRestrictions. # noqa: E501 + :type: float + """ + + self._length = length + + @property + def maximum_incline(self): + """Gets the maximum_incline of this ProfileParametersRestrictions. # noqa: E501 + + Specifies the maximum incline as a percentage. `3`, `6` (default), `10`, `15. # noqa: E501 + + :return: The maximum_incline of this ProfileParametersRestrictions. # noqa: E501 + :rtype: int + """ + return self._maximum_incline + + @maximum_incline.setter + def maximum_incline(self, maximum_incline): + """Sets the maximum_incline of this ProfileParametersRestrictions. + + Specifies the maximum incline as a percentage. `3`, `6` (default), `10`, `15. # noqa: E501 + + :param maximum_incline: The maximum_incline of this ProfileParametersRestrictions. # noqa: E501 + :type: int + """ + + self._maximum_incline = maximum_incline + + @property + def maximum_sloped_kerb(self): + """Gets the maximum_sloped_kerb of this ProfileParametersRestrictions. # noqa: E501 + + Specifies the maximum height of the sloped curb in metres. Values are `0.03`, `0.06` (default), `0.1`. # noqa: E501 + + :return: The maximum_sloped_kerb of this ProfileParametersRestrictions. # noqa: E501 + :rtype: float + """ + return self._maximum_sloped_kerb + + @maximum_sloped_kerb.setter + def maximum_sloped_kerb(self, maximum_sloped_kerb): + """Sets the maximum_sloped_kerb of this ProfileParametersRestrictions. + + Specifies the maximum height of the sloped curb in metres. Values are `0.03`, `0.06` (default), `0.1`. # noqa: E501 + + :param maximum_sloped_kerb: The maximum_sloped_kerb of this ProfileParametersRestrictions. # noqa: E501 + :type: float + """ + + self._maximum_sloped_kerb = maximum_sloped_kerb + + @property + def minimum_width(self): + """Gets the minimum_width of this ProfileParametersRestrictions. # noqa: E501 + + Specifies the minimum width of the footway in metres. # noqa: E501 + + :return: The minimum_width of this ProfileParametersRestrictions. # noqa: E501 + :rtype: float + """ + return self._minimum_width + + @minimum_width.setter + def minimum_width(self, minimum_width): + """Sets the minimum_width of this ProfileParametersRestrictions. + + Specifies the minimum width of the footway in metres. # noqa: E501 + + :param minimum_width: The minimum_width of this ProfileParametersRestrictions. # noqa: E501 + :type: float + """ + + self._minimum_width = minimum_width + + @property + def smoothness_type(self): + """Gets the smoothness_type of this ProfileParametersRestrictions. # noqa: E501 + + Specifies the minimum smoothness of the route. Default is `good`. # noqa: E501 + + :return: The smoothness_type of this ProfileParametersRestrictions. # noqa: E501 + :rtype: str + """ + return self._smoothness_type + + @smoothness_type.setter + def smoothness_type(self, smoothness_type): + """Sets the smoothness_type of this ProfileParametersRestrictions. + + Specifies the minimum smoothness of the route. Default is `good`. # noqa: E501 + + :param smoothness_type: The smoothness_type of this ProfileParametersRestrictions. # noqa: E501 + :type: str + """ + allowed_values = ["excellent", "good", "intermediate", "bad", "very_bad", "horrible", "very_horrible", "impassable"] # noqa: E501 + if smoothness_type not in allowed_values: + raise ValueError( + "Invalid value for `smoothness_type` ({0}), must be one of {1}" # noqa: E501 + .format(smoothness_type, allowed_values) + ) + + self._smoothness_type = smoothness_type + + @property + def surface_type(self): + """Gets the surface_type of this ProfileParametersRestrictions. # noqa: E501 + + Specifies the minimum surface type. Default is `sett`. # noqa: E501 + + :return: The surface_type of this ProfileParametersRestrictions. # noqa: E501 + :rtype: str + """ + return self._surface_type + + @surface_type.setter + def surface_type(self, surface_type): + """Sets the surface_type of this ProfileParametersRestrictions. + + Specifies the minimum surface type. Default is `sett`. # noqa: E501 + + :param surface_type: The surface_type of this ProfileParametersRestrictions. # noqa: E501 + :type: str + """ + + self._surface_type = surface_type + + @property + def track_type(self): + """Gets the track_type of this ProfileParametersRestrictions. # noqa: E501 + + Specifies the minimum grade of the route. Default is `grade1`. # noqa: E501 + + :return: The track_type of this ProfileParametersRestrictions. # noqa: E501 + :rtype: str + """ + return self._track_type + + @track_type.setter + def track_type(self, track_type): + """Sets the track_type of this ProfileParametersRestrictions. + + Specifies the minimum grade of the route. Default is `grade1`. # noqa: E501 + + :param track_type: The track_type of this ProfileParametersRestrictions. # noqa: E501 + :type: str + """ + + self._track_type = track_type + + @property + def weight(self): + """Gets the weight of this ProfileParametersRestrictions. # noqa: E501 + + Weight restriction in tons. # noqa: E501 + + :return: The weight of this ProfileParametersRestrictions. # noqa: E501 + :rtype: float + """ + return self._weight + + @weight.setter + def weight(self, weight): + """Sets the weight of this ProfileParametersRestrictions. + + Weight restriction in tons. # noqa: E501 + + :param weight: The weight of this ProfileParametersRestrictions. # noqa: E501 + :type: float + """ + + self._weight = weight + + @property + def width(self): + """Gets the width of this ProfileParametersRestrictions. # noqa: E501 + + Width restriction in metres. # noqa: E501 + + :return: The width of this ProfileParametersRestrictions. # noqa: E501 + :rtype: float + """ + return self._width + + @width.setter + def width(self, width): + """Sets the width of this ProfileParametersRestrictions. + + Width restriction in metres. # noqa: E501 + + :param width: The width of this ProfileParametersRestrictions. # noqa: E501 + :type: float + """ + + self._width = width + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ProfileParametersRestrictions, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProfileParametersRestrictions): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/profile_weightings.py b/openrouteservice/models/profile_weightings.py new file mode 100644 index 00000000..96ef1525 --- /dev/null +++ b/openrouteservice/models/profile_weightings.py @@ -0,0 +1,196 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ProfileWeightings(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'green': 'float', + 'quiet': 'float', + 'shadow': 'float', + 'steepness_difficulty': 'int' + } + + attribute_map = { + 'green': 'green', + 'quiet': 'quiet', + 'shadow': 'shadow', + 'steepness_difficulty': 'steepness_difficulty' + } + + def __init__(self, green=None, quiet=None, shadow=None, steepness_difficulty=None): # noqa: E501 + """ProfileWeightings - a model defined in Swagger""" # noqa: E501 + self._green = None + self._quiet = None + self._shadow = None + self._steepness_difficulty = None + self.discriminator = None + if green is not None: + self.green = green + if quiet is not None: + self.quiet = quiet + if shadow is not None: + self.shadow = shadow + if steepness_difficulty is not None: + self.steepness_difficulty = steepness_difficulty + + @property + def green(self): + """Gets the green of this ProfileWeightings. # noqa: E501 + + Specifies the Green factor for `foot-*` profiles. factor: Multiplication factor range from 0 to 1. 0 is the green routing base factor without multiplying it by the manual factor and is already different from normal routing. 1 will prefer ways through green areas over a shorter route. # noqa: E501 + + :return: The green of this ProfileWeightings. # noqa: E501 + :rtype: float + """ + return self._green + + @green.setter + def green(self, green): + """Sets the green of this ProfileWeightings. + + Specifies the Green factor for `foot-*` profiles. factor: Multiplication factor range from 0 to 1. 0 is the green routing base factor without multiplying it by the manual factor and is already different from normal routing. 1 will prefer ways through green areas over a shorter route. # noqa: E501 + + :param green: The green of this ProfileWeightings. # noqa: E501 + :type: float + """ + + self._green = green + + @property + def quiet(self): + """Gets the quiet of this ProfileWeightings. # noqa: E501 + + Specifies the Quiet factor for foot-* profiles. factor: Multiplication factor range from 0 to 1. 0 is the quiet routing base factor without multiplying it by the manual factor and is already different from normal routing. 1 will prefer quiet ways over a shorter route. # noqa: E501 + + :return: The quiet of this ProfileWeightings. # noqa: E501 + :rtype: float + """ + return self._quiet + + @quiet.setter + def quiet(self, quiet): + """Sets the quiet of this ProfileWeightings. + + Specifies the Quiet factor for foot-* profiles. factor: Multiplication factor range from 0 to 1. 0 is the quiet routing base factor without multiplying it by the manual factor and is already different from normal routing. 1 will prefer quiet ways over a shorter route. # noqa: E501 + + :param quiet: The quiet of this ProfileWeightings. # noqa: E501 + :type: float + """ + + self._quiet = quiet + + @property + def shadow(self): + """Gets the shadow of this ProfileWeightings. # noqa: E501 + + Specifies the shadow factor for `foot-*` profiles. factor: Multiplication factor range from 0 to 1. 0 is the shadow routing base factor without multiplying it by the manual factor and is already different from normal routing. 1 will prefer ways through shadow areas over a shorter route. # noqa: E501 + + :return: The shadow of this ProfileWeightings. # noqa: E501 + :rtype: float + """ + return self._shadow + + @shadow.setter + def shadow(self, shadow): + """Sets the shadow of this ProfileWeightings. + + Specifies the shadow factor for `foot-*` profiles. factor: Multiplication factor range from 0 to 1. 0 is the shadow routing base factor without multiplying it by the manual factor and is already different from normal routing. 1 will prefer ways through shadow areas over a shorter route. # noqa: E501 + + :param shadow: The shadow of this ProfileWeightings. # noqa: E501 + :type: float + """ + + self._shadow = shadow + + @property + def steepness_difficulty(self): + """Gets the steepness_difficulty of this ProfileWeightings. # noqa: E501 + + Specifies the fitness level for `cycling-*` profiles. level: 0 = Novice, 1 = Moderate, 2 = Amateur, 3 = Pro. The prefered gradient increases with level. # noqa: E501 + + :return: The steepness_difficulty of this ProfileWeightings. # noqa: E501 + :rtype: int + """ + return self._steepness_difficulty + + @steepness_difficulty.setter + def steepness_difficulty(self, steepness_difficulty): + """Sets the steepness_difficulty of this ProfileWeightings. + + Specifies the fitness level for `cycling-*` profiles. level: 0 = Novice, 1 = Moderate, 2 = Amateur, 3 = Pro. The prefered gradient increases with level. # noqa: E501 + + :param steepness_difficulty: The steepness_difficulty of this ProfileWeightings. # noqa: E501 + :type: int + """ + + self._steepness_difficulty = steepness_difficulty + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ProfileWeightings, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProfileWeightings): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/restrictions.py b/openrouteservice/models/restrictions.py new file mode 100644 index 00000000..5fdc1572 --- /dev/null +++ b/openrouteservice/models/restrictions.py @@ -0,0 +1,426 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Restrictions(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'axleload': 'float', + 'hazmat': 'bool', + 'height': 'float', + 'length': 'float', + 'maximum_incline': 'int', + 'maximum_sloped_kerb': 'float', + 'minimum_width': 'float', + 'smoothness_type': 'str', + 'surface_type': 'str', + 'track_type': 'str', + 'weight': 'float', + 'width': 'float' + } + + attribute_map = { + 'axleload': 'axleload', + 'hazmat': 'hazmat', + 'height': 'height', + 'length': 'length', + 'maximum_incline': 'maximum_incline', + 'maximum_sloped_kerb': 'maximum_sloped_kerb', + 'minimum_width': 'minimum_width', + 'smoothness_type': 'smoothness_type', + 'surface_type': 'surface_type', + 'track_type': 'track_type', + 'weight': 'weight', + 'width': 'width' + } + + def __init__(self, axleload=None, hazmat=False, height=None, length=None, maximum_incline=6, maximum_sloped_kerb=0.6, minimum_width=None, smoothness_type='good', surface_type='sett', track_type='grade1', weight=None, width=None): # noqa: E501 + """Restrictions - a model defined in Swagger""" # noqa: E501 + self._axleload = None + self._hazmat = None + self._height = None + self._length = None + self._maximum_incline = None + self._maximum_sloped_kerb = None + self._minimum_width = None + self._smoothness_type = None + self._surface_type = None + self._track_type = None + self._weight = None + self._width = None + self.discriminator = None + if axleload is not None: + self.axleload = axleload + if hazmat is not None: + self.hazmat = hazmat + if height is not None: + self.height = height + if length is not None: + self.length = length + if maximum_incline is not None: + self.maximum_incline = maximum_incline + if maximum_sloped_kerb is not None: + self.maximum_sloped_kerb = maximum_sloped_kerb + if minimum_width is not None: + self.minimum_width = minimum_width + if smoothness_type is not None: + self.smoothness_type = smoothness_type + if surface_type is not None: + self.surface_type = surface_type + if track_type is not None: + self.track_type = track_type + if weight is not None: + self.weight = weight + if width is not None: + self.width = width + + @property + def axleload(self): + """Gets the axleload of this Restrictions. # noqa: E501 + + Axleload restriction in tons. # noqa: E501 + + :return: The axleload of this Restrictions. # noqa: E501 + :rtype: float + """ + return self._axleload + + @axleload.setter + def axleload(self, axleload): + """Sets the axleload of this Restrictions. + + Axleload restriction in tons. # noqa: E501 + + :param axleload: The axleload of this Restrictions. # noqa: E501 + :type: float + """ + + self._axleload = axleload + + @property + def hazmat(self): + """Gets the hazmat of this Restrictions. # noqa: E501 + + Specifies whether to use appropriate routing for delivering hazardous goods and avoiding water protected areas. Default is `false`. # noqa: E501 + + :return: The hazmat of this Restrictions. # noqa: E501 + :rtype: bool + """ + return self._hazmat + + @hazmat.setter + def hazmat(self, hazmat): + """Sets the hazmat of this Restrictions. + + Specifies whether to use appropriate routing for delivering hazardous goods and avoiding water protected areas. Default is `false`. # noqa: E501 + + :param hazmat: The hazmat of this Restrictions. # noqa: E501 + :type: bool + """ + + self._hazmat = hazmat + + @property + def height(self): + """Gets the height of this Restrictions. # noqa: E501 + + Height restriction in metres. # noqa: E501 + + :return: The height of this Restrictions. # noqa: E501 + :rtype: float + """ + return self._height + + @height.setter + def height(self, height): + """Sets the height of this Restrictions. + + Height restriction in metres. # noqa: E501 + + :param height: The height of this Restrictions. # noqa: E501 + :type: float + """ + + self._height = height + + @property + def length(self): + """Gets the length of this Restrictions. # noqa: E501 + + Length restriction in metres. # noqa: E501 + + :return: The length of this Restrictions. # noqa: E501 + :rtype: float + """ + return self._length + + @length.setter + def length(self, length): + """Sets the length of this Restrictions. + + Length restriction in metres. # noqa: E501 + + :param length: The length of this Restrictions. # noqa: E501 + :type: float + """ + + self._length = length + + @property + def maximum_incline(self): + """Gets the maximum_incline of this Restrictions. # noqa: E501 + + Specifies the maximum incline as a percentage. `3`, `6` (default), `10`, `15. # noqa: E501 + + :return: The maximum_incline of this Restrictions. # noqa: E501 + :rtype: int + """ + return self._maximum_incline + + @maximum_incline.setter + def maximum_incline(self, maximum_incline): + """Sets the maximum_incline of this Restrictions. + + Specifies the maximum incline as a percentage. `3`, `6` (default), `10`, `15. # noqa: E501 + + :param maximum_incline: The maximum_incline of this Restrictions. # noqa: E501 + :type: int + """ + + self._maximum_incline = maximum_incline + + @property + def maximum_sloped_kerb(self): + """Gets the maximum_sloped_kerb of this Restrictions. # noqa: E501 + + Specifies the maximum height of the sloped curb in metres. Values are `0.03`, `0.06` (default), `0.1`. # noqa: E501 + + :return: The maximum_sloped_kerb of this Restrictions. # noqa: E501 + :rtype: float + """ + return self._maximum_sloped_kerb + + @maximum_sloped_kerb.setter + def maximum_sloped_kerb(self, maximum_sloped_kerb): + """Sets the maximum_sloped_kerb of this Restrictions. + + Specifies the maximum height of the sloped curb in metres. Values are `0.03`, `0.06` (default), `0.1`. # noqa: E501 + + :param maximum_sloped_kerb: The maximum_sloped_kerb of this Restrictions. # noqa: E501 + :type: float + """ + + self._maximum_sloped_kerb = maximum_sloped_kerb + + @property + def minimum_width(self): + """Gets the minimum_width of this Restrictions. # noqa: E501 + + Specifies the minimum width of the footway in metres. # noqa: E501 + + :return: The minimum_width of this Restrictions. # noqa: E501 + :rtype: float + """ + return self._minimum_width + + @minimum_width.setter + def minimum_width(self, minimum_width): + """Sets the minimum_width of this Restrictions. + + Specifies the minimum width of the footway in metres. # noqa: E501 + + :param minimum_width: The minimum_width of this Restrictions. # noqa: E501 + :type: float + """ + + self._minimum_width = minimum_width + + @property + def smoothness_type(self): + """Gets the smoothness_type of this Restrictions. # noqa: E501 + + Specifies the minimum smoothness of the route. Default is `good`. # noqa: E501 + + :return: The smoothness_type of this Restrictions. # noqa: E501 + :rtype: str + """ + return self._smoothness_type + + @smoothness_type.setter + def smoothness_type(self, smoothness_type): + """Sets the smoothness_type of this Restrictions. + + Specifies the minimum smoothness of the route. Default is `good`. # noqa: E501 + + :param smoothness_type: The smoothness_type of this Restrictions. # noqa: E501 + :type: str + """ + allowed_values = ["excellent", "good", "intermediate", "bad", "very_bad", "horrible", "very_horrible", "impassable"] # noqa: E501 + if smoothness_type not in allowed_values: + raise ValueError( + "Invalid value for `smoothness_type` ({0}), must be one of {1}" # noqa: E501 + .format(smoothness_type, allowed_values) + ) + + self._smoothness_type = smoothness_type + + @property + def surface_type(self): + """Gets the surface_type of this Restrictions. # noqa: E501 + + Specifies the minimum surface type. Default is `sett`. # noqa: E501 + + :return: The surface_type of this Restrictions. # noqa: E501 + :rtype: str + """ + return self._surface_type + + @surface_type.setter + def surface_type(self, surface_type): + """Sets the surface_type of this Restrictions. + + Specifies the minimum surface type. Default is `sett`. # noqa: E501 + + :param surface_type: The surface_type of this Restrictions. # noqa: E501 + :type: str + """ + + self._surface_type = surface_type + + @property + def track_type(self): + """Gets the track_type of this Restrictions. # noqa: E501 + + Specifies the minimum grade of the route. Default is `grade1`. # noqa: E501 + + :return: The track_type of this Restrictions. # noqa: E501 + :rtype: str + """ + return self._track_type + + @track_type.setter + def track_type(self, track_type): + """Sets the track_type of this Restrictions. + + Specifies the minimum grade of the route. Default is `grade1`. # noqa: E501 + + :param track_type: The track_type of this Restrictions. # noqa: E501 + :type: str + """ + + self._track_type = track_type + + @property + def weight(self): + """Gets the weight of this Restrictions. # noqa: E501 + + Weight restriction in tons. # noqa: E501 + + :return: The weight of this Restrictions. # noqa: E501 + :rtype: float + """ + return self._weight + + @weight.setter + def weight(self, weight): + """Sets the weight of this Restrictions. + + Weight restriction in tons. # noqa: E501 + + :param weight: The weight of this Restrictions. # noqa: E501 + :type: float + """ + + self._weight = weight + + @property + def width(self): + """Gets the width of this Restrictions. # noqa: E501 + + Width restriction in metres. # noqa: E501 + + :return: The width of this Restrictions. # noqa: E501 + :rtype: float + """ + return self._width + + @width.setter + def width(self, width): + """Sets the width of this Restrictions. + + Width restriction in metres. # noqa: E501 + + :param width: The width of this Restrictions. # noqa: E501 + :type: float + """ + + self._width = width + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(Restrictions, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Restrictions): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/round_trip_route_options.py b/openrouteservice/models/round_trip_route_options.py new file mode 100644 index 00000000..7060e181 --- /dev/null +++ b/openrouteservice/models/round_trip_route_options.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RoundTripRouteOptions(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'length': 'float', + 'points': 'int', + 'seed': 'int' + } + + attribute_map = { + 'length': 'length', + 'points': 'points', + 'seed': 'seed' + } + + def __init__(self, length=None, points=None, seed=None): # noqa: E501 + """RoundTripRouteOptions - a model defined in Swagger""" # noqa: E501 + self._length = None + self._points = None + self._seed = None + self.discriminator = None + if length is not None: + self.length = length + if points is not None: + self.points = points + if seed is not None: + self.seed = seed + + @property + def length(self): + """Gets the length of this RoundTripRouteOptions. # noqa: E501 + + The target length of the route in `m` (note that this is a preferred value, but results may be different). # noqa: E501 + + :return: The length of this RoundTripRouteOptions. # noqa: E501 + :rtype: float + """ + return self._length + + @length.setter + def length(self, length): + """Sets the length of this RoundTripRouteOptions. + + The target length of the route in `m` (note that this is a preferred value, but results may be different). # noqa: E501 + + :param length: The length of this RoundTripRouteOptions. # noqa: E501 + :type: float + """ + + self._length = length + + @property + def points(self): + """Gets the points of this RoundTripRouteOptions. # noqa: E501 + + The number of points to use on the route. Larger values create more circular routes. # noqa: E501 + + :return: The points of this RoundTripRouteOptions. # noqa: E501 + :rtype: int + """ + return self._points + + @points.setter + def points(self, points): + """Sets the points of this RoundTripRouteOptions. + + The number of points to use on the route. Larger values create more circular routes. # noqa: E501 + + :param points: The points of this RoundTripRouteOptions. # noqa: E501 + :type: int + """ + + self._points = points + + @property + def seed(self): + """Gets the seed of this RoundTripRouteOptions. # noqa: E501 + + A seed to use for adding randomisation to the overall direction of the generated route # noqa: E501 + + :return: The seed of this RoundTripRouteOptions. # noqa: E501 + :rtype: int + """ + return self._seed + + @seed.setter + def seed(self, seed): + """Sets the seed of this RoundTripRouteOptions. + + A seed to use for adding randomisation to the overall direction of the generated route # noqa: E501 + + :param seed: The seed of this RoundTripRouteOptions. # noqa: E501 + :type: int + """ + + self._seed = seed + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(RoundTripRouteOptions, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RoundTripRouteOptions): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/route_options.py b/openrouteservice/models/route_options.py new file mode 100644 index 00000000..baa39b86 --- /dev/null +++ b/openrouteservice/models/route_options.py @@ -0,0 +1,293 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RouteOptions(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'avoid_borders': 'str', + 'avoid_countries': 'list[str]', + 'avoid_features': 'list[str]', + 'avoid_polygons': 'RouteOptionsAvoidPolygons', + 'profile_params': 'ProfileParameters', + 'round_trip': 'RoundTripRouteOptions', + 'vehicle_type': 'str' + } + + attribute_map = { + 'avoid_borders': 'avoid_borders', + 'avoid_countries': 'avoid_countries', + 'avoid_features': 'avoid_features', + 'avoid_polygons': 'avoid_polygons', + 'profile_params': 'profile_params', + 'round_trip': 'round_trip', + 'vehicle_type': 'vehicle_type' + } + + def __init__(self, avoid_borders=None, avoid_countries=None, avoid_features=None, avoid_polygons=None, profile_params=None, round_trip=None, vehicle_type='hgv'): # noqa: E501 + """RouteOptions - a model defined in Swagger""" # noqa: E501 + self._avoid_borders = None + self._avoid_countries = None + self._avoid_features = None + self._avoid_polygons = None + self._profile_params = None + self._round_trip = None + self._vehicle_type = None + self.discriminator = None + if avoid_borders is not None: + self.avoid_borders = avoid_borders + if avoid_countries is not None: + self.avoid_countries = avoid_countries + if avoid_features is not None: + self.avoid_features = avoid_features + if avoid_polygons is not None: + self.avoid_polygons = avoid_polygons + if profile_params is not None: + self.profile_params = profile_params + if round_trip is not None: + self.round_trip = round_trip + if vehicle_type is not None: + self.vehicle_type = vehicle_type + + @property + def avoid_borders(self): + """Gets the avoid_borders of this RouteOptions. # noqa: E501 + + Specify which type of border crossing to avoid # noqa: E501 + + :return: The avoid_borders of this RouteOptions. # noqa: E501 + :rtype: str + """ + return self._avoid_borders + + @avoid_borders.setter + def avoid_borders(self, avoid_borders): + """Sets the avoid_borders of this RouteOptions. + + Specify which type of border crossing to avoid # noqa: E501 + + :param avoid_borders: The avoid_borders of this RouteOptions. # noqa: E501 + :type: str + """ + allowed_values = ["all", "controlled", "none"] # noqa: E501 + if avoid_borders not in allowed_values: + raise ValueError( + "Invalid value for `avoid_borders` ({0}), must be one of {1}" # noqa: E501 + .format(avoid_borders, allowed_values) + ) + + self._avoid_borders = avoid_borders + + @property + def avoid_countries(self): + """Gets the avoid_countries of this RouteOptions. # noqa: E501 + + List of countries to exclude from matrix with `driving-*` profiles. Can be used together with `'avoid_borders': 'controlled'`. `[ 11, 193 ]` would exclude Austria and Switzerland. List of countries and application examples can be found [here](https://GIScience.github.io/openrouteservice/documentation/routing-options/Country-List.html). Also, ISO standard country codes cna be used in place of the numerical ids, for example, DE or DEU for Germany. # noqa: E501 + + :return: The avoid_countries of this RouteOptions. # noqa: E501 + :rtype: list[str] + """ + return self._avoid_countries + + @avoid_countries.setter + def avoid_countries(self, avoid_countries): + """Sets the avoid_countries of this RouteOptions. + + List of countries to exclude from matrix with `driving-*` profiles. Can be used together with `'avoid_borders': 'controlled'`. `[ 11, 193 ]` would exclude Austria and Switzerland. List of countries and application examples can be found [here](https://GIScience.github.io/openrouteservice/documentation/routing-options/Country-List.html). Also, ISO standard country codes cna be used in place of the numerical ids, for example, DE or DEU for Germany. # noqa: E501 + + :param avoid_countries: The avoid_countries of this RouteOptions. # noqa: E501 + :type: list[str] + """ + + self._avoid_countries = avoid_countries + + @property + def avoid_features(self): + """Gets the avoid_features of this RouteOptions. # noqa: E501 + + List of features to avoid. # noqa: E501 + + :return: The avoid_features of this RouteOptions. # noqa: E501 + :rtype: list[str] + """ + return self._avoid_features + + @avoid_features.setter + def avoid_features(self, avoid_features): + """Sets the avoid_features of this RouteOptions. + + List of features to avoid. # noqa: E501 + + :param avoid_features: The avoid_features of this RouteOptions. # noqa: E501 + :type: list[str] + """ + allowed_values = ["highways", "tollways", "ferries", "fords", "steps"] # noqa: E501 + if not set(avoid_features).issubset(set(allowed_values)): + raise ValueError( + "Invalid values for `avoid_features` [{0}], must be a subset of [{1}]" # noqa: E501 + .format(", ".join(map(str, set(avoid_features) - set(allowed_values))), # noqa: E501 + ", ".join(map(str, allowed_values))) + ) + + self._avoid_features = avoid_features + + @property + def avoid_polygons(self): + """Gets the avoid_polygons of this RouteOptions. # noqa: E501 + + + :return: The avoid_polygons of this RouteOptions. # noqa: E501 + :rtype: RouteOptionsAvoidPolygons + """ + return self._avoid_polygons + + @avoid_polygons.setter + def avoid_polygons(self, avoid_polygons): + """Sets the avoid_polygons of this RouteOptions. + + + :param avoid_polygons: The avoid_polygons of this RouteOptions. # noqa: E501 + :type: RouteOptionsAvoidPolygons + """ + + self._avoid_polygons = avoid_polygons + + @property + def profile_params(self): + """Gets the profile_params of this RouteOptions. # noqa: E501 + + + :return: The profile_params of this RouteOptions. # noqa: E501 + :rtype: ProfileParameters + """ + return self._profile_params + + @profile_params.setter + def profile_params(self, profile_params): + """Sets the profile_params of this RouteOptions. + + + :param profile_params: The profile_params of this RouteOptions. # noqa: E501 + :type: ProfileParameters + """ + + self._profile_params = profile_params + + @property + def round_trip(self): + """Gets the round_trip of this RouteOptions. # noqa: E501 + + + :return: The round_trip of this RouteOptions. # noqa: E501 + :rtype: RoundTripRouteOptions + """ + return self._round_trip + + @round_trip.setter + def round_trip(self, round_trip): + """Sets the round_trip of this RouteOptions. + + + :param round_trip: The round_trip of this RouteOptions. # noqa: E501 + :type: RoundTripRouteOptions + """ + + self._round_trip = round_trip + + @property + def vehicle_type(self): + """Gets the vehicle_type of this RouteOptions. # noqa: E501 + + Definition of the vehicle type. # noqa: E501 + + :return: The vehicle_type of this RouteOptions. # noqa: E501 + :rtype: str + """ + return self._vehicle_type + + @vehicle_type.setter + def vehicle_type(self, vehicle_type): + """Sets the vehicle_type of this RouteOptions. + + Definition of the vehicle type. # noqa: E501 + + :param vehicle_type: The vehicle_type of this RouteOptions. # noqa: E501 + :type: str + """ + allowed_values = ["hgv", "bus", "agricultural", "delivery", "forestry", "goods", "unknown"] # noqa: E501 + if vehicle_type not in allowed_values: + raise ValueError( + "Invalid value for `vehicle_type` ({0}), must be one of {1}" # noqa: E501 + .format(vehicle_type, allowed_values) + ) + + self._vehicle_type = vehicle_type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(RouteOptions, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RouteOptions): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/route_options_avoid_polygons.py b/openrouteservice/models/route_options_avoid_polygons.py new file mode 100644 index 00000000..b8b7feff --- /dev/null +++ b/openrouteservice/models/route_options_avoid_polygons.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RouteOptionsAvoidPolygons(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'empty': 'bool' + } + + attribute_map = { + 'empty': 'empty' + } + + def __init__(self, empty=None): # noqa: E501 + """RouteOptionsAvoidPolygons - a model defined in Swagger""" # noqa: E501 + self._empty = None + self.discriminator = None + if empty is not None: + self.empty = empty + + @property + def empty(self): + """Gets the empty of this RouteOptionsAvoidPolygons. # noqa: E501 + + + :return: The empty of this RouteOptionsAvoidPolygons. # noqa: E501 + :rtype: bool + """ + return self._empty + + @empty.setter + def empty(self, empty): + """Sets the empty of this RouteOptionsAvoidPolygons. + + + :param empty: The empty of this RouteOptionsAvoidPolygons. # noqa: E501 + :type: bool + """ + + self._empty = empty + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(RouteOptionsAvoidPolygons, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RouteOptionsAvoidPolygons): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/route_response_info.py b/openrouteservice/models/route_response_info.py new file mode 100644 index 00000000..3f762774 --- /dev/null +++ b/openrouteservice/models/route_response_info.py @@ -0,0 +1,304 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class RouteResponseInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attribution': 'str', + 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'id': 'str', + 'osm_file_md5_hash': 'str', + 'query': 'DirectionsService1', + 'service': 'str', + 'system_message': 'str', + 'timestamp': 'int' + } + + attribute_map = { + 'attribution': 'attribution', + 'engine': 'engine', + 'id': 'id', + 'osm_file_md5_hash': 'osm_file_md5_hash', + 'query': 'query', + 'service': 'service', + 'system_message': 'system_message', + 'timestamp': 'timestamp' + } + + def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 + """RouteResponseInfo - a model defined in Swagger""" # noqa: E501 + self._attribution = None + self._engine = None + self._id = None + self._osm_file_md5_hash = None + self._query = None + self._service = None + self._system_message = None + self._timestamp = None + self.discriminator = None + if attribution is not None: + self.attribution = attribution + if engine is not None: + self.engine = engine + if id is not None: + self.id = id + if osm_file_md5_hash is not None: + self.osm_file_md5_hash = osm_file_md5_hash + if query is not None: + self.query = query + if service is not None: + self.service = service + if system_message is not None: + self.system_message = system_message + if timestamp is not None: + self.timestamp = timestamp + + @property + def attribution(self): + """Gets the attribution of this RouteResponseInfo. # noqa: E501 + + Copyright and attribution information # noqa: E501 + + :return: The attribution of this RouteResponseInfo. # noqa: E501 + :rtype: str + """ + return self._attribution + + @attribution.setter + def attribution(self, attribution): + """Sets the attribution of this RouteResponseInfo. + + Copyright and attribution information # noqa: E501 + + :param attribution: The attribution of this RouteResponseInfo. # noqa: E501 + :type: str + """ + + self._attribution = attribution + + @property + def engine(self): + """Gets the engine of this RouteResponseInfo. # noqa: E501 + + + :return: The engine of this RouteResponseInfo. # noqa: E501 + :rtype: GeoJSONIsochronesResponseMetadataEngine + """ + return self._engine + + @engine.setter + def engine(self, engine): + """Sets the engine of this RouteResponseInfo. + + + :param engine: The engine of this RouteResponseInfo. # noqa: E501 + :type: GeoJSONIsochronesResponseMetadataEngine + """ + + self._engine = engine + + @property + def id(self): + """Gets the id of this RouteResponseInfo. # noqa: E501 + + ID of the request (as passed in by the query) # noqa: E501 + + :return: The id of this RouteResponseInfo. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this RouteResponseInfo. + + ID of the request (as passed in by the query) # noqa: E501 + + :param id: The id of this RouteResponseInfo. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def osm_file_md5_hash(self): + """Gets the osm_file_md5_hash of this RouteResponseInfo. # noqa: E501 + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :return: The osm_file_md5_hash of this RouteResponseInfo. # noqa: E501 + :rtype: str + """ + return self._osm_file_md5_hash + + @osm_file_md5_hash.setter + def osm_file_md5_hash(self, osm_file_md5_hash): + """Sets the osm_file_md5_hash of this RouteResponseInfo. + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :param osm_file_md5_hash: The osm_file_md5_hash of this RouteResponseInfo. # noqa: E501 + :type: str + """ + + self._osm_file_md5_hash = osm_file_md5_hash + + @property + def query(self): + """Gets the query of this RouteResponseInfo. # noqa: E501 + + + :return: The query of this RouteResponseInfo. # noqa: E501 + :rtype: DirectionsService1 + """ + return self._query + + @query.setter + def query(self, query): + """Sets the query of this RouteResponseInfo. + + + :param query: The query of this RouteResponseInfo. # noqa: E501 + :type: DirectionsService1 + """ + + self._query = query + + @property + def service(self): + """Gets the service of this RouteResponseInfo. # noqa: E501 + + The service that was requested # noqa: E501 + + :return: The service of this RouteResponseInfo. # noqa: E501 + :rtype: str + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this RouteResponseInfo. + + The service that was requested # noqa: E501 + + :param service: The service of this RouteResponseInfo. # noqa: E501 + :type: str + """ + + self._service = service + + @property + def system_message(self): + """Gets the system_message of this RouteResponseInfo. # noqa: E501 + + System message # noqa: E501 + + :return: The system_message of this RouteResponseInfo. # noqa: E501 + :rtype: str + """ + return self._system_message + + @system_message.setter + def system_message(self, system_message): + """Sets the system_message of this RouteResponseInfo. + + System message # noqa: E501 + + :param system_message: The system_message of this RouteResponseInfo. # noqa: E501 + :type: str + """ + + self._system_message = system_message + + @property + def timestamp(self): + """Gets the timestamp of this RouteResponseInfo. # noqa: E501 + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :return: The timestamp of this RouteResponseInfo. # noqa: E501 + :rtype: int + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this RouteResponseInfo. + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :param timestamp: The timestamp of this RouteResponseInfo. # noqa: E501 + :type: int + """ + + self._timestamp = timestamp + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(RouteResponseInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, RouteResponseInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/rte.py b/openrouteservice/models/rte.py new file mode 100644 index 00000000..7180ad72 --- /dev/null +++ b/openrouteservice/models/rte.py @@ -0,0 +1,84 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class Rte(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + } + + attribute_map = { + } + + def __init__(self): # noqa: E501 + """Rte - a model defined in Swagger""" # noqa: E501 + self.discriminator = None + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(Rte, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, Rte): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/v2directionsprofilegeojson_schedule_duration.py b/openrouteservice/models/v2directionsprofilegeojson_schedule_duration.py new file mode 100644 index 00000000..d27e674f --- /dev/null +++ b/openrouteservice/models/v2directionsprofilegeojson_schedule_duration.py @@ -0,0 +1,214 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class V2directionsprofilegeojsonScheduleDuration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'nano': 'int', + 'negative': 'bool', + 'seconds': 'int', + 'units': 'list[V2directionsprofilegeojsonScheduleDurationUnits]', + 'zero': 'bool' + } + + attribute_map = { + 'nano': 'nano', + 'negative': 'negative', + 'seconds': 'seconds', + 'units': 'units', + 'zero': 'zero' + } + + def __init__(self, nano=None, negative=None, seconds=None, units=None, zero=None): # noqa: E501 + """V2directionsprofilegeojsonScheduleDuration - a model defined in Swagger""" # noqa: E501 + self._nano = None + self._negative = None + self._seconds = None + self._units = None + self._zero = None + self.discriminator = None + if nano is not None: + self.nano = nano + if negative is not None: + self.negative = negative + if seconds is not None: + self.seconds = seconds + if units is not None: + self.units = units + if zero is not None: + self.zero = zero + + @property + def nano(self): + """Gets the nano of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + + + :return: The nano of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + :rtype: int + """ + return self._nano + + @nano.setter + def nano(self, nano): + """Sets the nano of this V2directionsprofilegeojsonScheduleDuration. + + + :param nano: The nano of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + :type: int + """ + + self._nano = nano + + @property + def negative(self): + """Gets the negative of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + + + :return: The negative of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + :rtype: bool + """ + return self._negative + + @negative.setter + def negative(self, negative): + """Sets the negative of this V2directionsprofilegeojsonScheduleDuration. + + + :param negative: The negative of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + :type: bool + """ + + self._negative = negative + + @property + def seconds(self): + """Gets the seconds of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + + + :return: The seconds of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + :rtype: int + """ + return self._seconds + + @seconds.setter + def seconds(self, seconds): + """Sets the seconds of this V2directionsprofilegeojsonScheduleDuration. + + + :param seconds: The seconds of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + :type: int + """ + + self._seconds = seconds + + @property + def units(self): + """Gets the units of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + + + :return: The units of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + :rtype: list[V2directionsprofilegeojsonScheduleDurationUnits] + """ + return self._units + + @units.setter + def units(self, units): + """Sets the units of this V2directionsprofilegeojsonScheduleDuration. + + + :param units: The units of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + :type: list[V2directionsprofilegeojsonScheduleDurationUnits] + """ + + self._units = units + + @property + def zero(self): + """Gets the zero of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + + + :return: The zero of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + :rtype: bool + """ + return self._zero + + @zero.setter + def zero(self, zero): + """Sets the zero of this V2directionsprofilegeojsonScheduleDuration. + + + :param zero: The zero of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 + :type: bool + """ + + self._zero = zero + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(V2directionsprofilegeojsonScheduleDuration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V2directionsprofilegeojsonScheduleDuration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_duration.py b/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_duration.py new file mode 100644 index 00000000..a4df1d7f --- /dev/null +++ b/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_duration.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class V2directionsprofilegeojsonScheduleDurationDuration(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'nano': 'int', + 'negative': 'bool', + 'seconds': 'int', + 'zero': 'bool' + } + + attribute_map = { + 'nano': 'nano', + 'negative': 'negative', + 'seconds': 'seconds', + 'zero': 'zero' + } + + def __init__(self, nano=None, negative=None, seconds=None, zero=None): # noqa: E501 + """V2directionsprofilegeojsonScheduleDurationDuration - a model defined in Swagger""" # noqa: E501 + self._nano = None + self._negative = None + self._seconds = None + self._zero = None + self.discriminator = None + if nano is not None: + self.nano = nano + if negative is not None: + self.negative = negative + if seconds is not None: + self.seconds = seconds + if zero is not None: + self.zero = zero + + @property + def nano(self): + """Gets the nano of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + + + :return: The nano of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + :rtype: int + """ + return self._nano + + @nano.setter + def nano(self, nano): + """Sets the nano of this V2directionsprofilegeojsonScheduleDurationDuration. + + + :param nano: The nano of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + :type: int + """ + + self._nano = nano + + @property + def negative(self): + """Gets the negative of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + + + :return: The negative of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + :rtype: bool + """ + return self._negative + + @negative.setter + def negative(self, negative): + """Sets the negative of this V2directionsprofilegeojsonScheduleDurationDuration. + + + :param negative: The negative of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + :type: bool + """ + + self._negative = negative + + @property + def seconds(self): + """Gets the seconds of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + + + :return: The seconds of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + :rtype: int + """ + return self._seconds + + @seconds.setter + def seconds(self, seconds): + """Sets the seconds of this V2directionsprofilegeojsonScheduleDurationDuration. + + + :param seconds: The seconds of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + :type: int + """ + + self._seconds = seconds + + @property + def zero(self): + """Gets the zero of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + + + :return: The zero of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + :rtype: bool + """ + return self._zero + + @zero.setter + def zero(self, zero): + """Sets the zero of this V2directionsprofilegeojsonScheduleDurationDuration. + + + :param zero: The zero of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 + :type: bool + """ + + self._zero = zero + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(V2directionsprofilegeojsonScheduleDurationDuration, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V2directionsprofilegeojsonScheduleDurationDuration): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_units.py b/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_units.py new file mode 100644 index 00000000..31799769 --- /dev/null +++ b/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_units.py @@ -0,0 +1,188 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class V2directionsprofilegeojsonScheduleDurationUnits(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'date_based': 'bool', + 'duration': 'V2directionsprofilegeojsonScheduleDurationDuration', + 'duration_estimated': 'bool', + 'time_based': 'bool' + } + + attribute_map = { + 'date_based': 'dateBased', + 'duration': 'duration', + 'duration_estimated': 'durationEstimated', + 'time_based': 'timeBased' + } + + def __init__(self, date_based=None, duration=None, duration_estimated=None, time_based=None): # noqa: E501 + """V2directionsprofilegeojsonScheduleDurationUnits - a model defined in Swagger""" # noqa: E501 + self._date_based = None + self._duration = None + self._duration_estimated = None + self._time_based = None + self.discriminator = None + if date_based is not None: + self.date_based = date_based + if duration is not None: + self.duration = duration + if duration_estimated is not None: + self.duration_estimated = duration_estimated + if time_based is not None: + self.time_based = time_based + + @property + def date_based(self): + """Gets the date_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + + + :return: The date_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + :rtype: bool + """ + return self._date_based + + @date_based.setter + def date_based(self, date_based): + """Sets the date_based of this V2directionsprofilegeojsonScheduleDurationUnits. + + + :param date_based: The date_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + :type: bool + """ + + self._date_based = date_based + + @property + def duration(self): + """Gets the duration of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + + + :return: The duration of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + :rtype: V2directionsprofilegeojsonScheduleDurationDuration + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this V2directionsprofilegeojsonScheduleDurationUnits. + + + :param duration: The duration of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + :type: V2directionsprofilegeojsonScheduleDurationDuration + """ + + self._duration = duration + + @property + def duration_estimated(self): + """Gets the duration_estimated of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + + + :return: The duration_estimated of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + :rtype: bool + """ + return self._duration_estimated + + @duration_estimated.setter + def duration_estimated(self, duration_estimated): + """Sets the duration_estimated of this V2directionsprofilegeojsonScheduleDurationUnits. + + + :param duration_estimated: The duration_estimated of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + :type: bool + """ + + self._duration_estimated = duration_estimated + + @property + def time_based(self): + """Gets the time_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + + + :return: The time_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + :rtype: bool + """ + return self._time_based + + @time_based.setter + def time_based(self, time_based): + """Sets the time_based of this V2directionsprofilegeojsonScheduleDurationUnits. + + + :param time_based: The time_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 + :type: bool + """ + + self._time_based = time_based + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(V2directionsprofilegeojsonScheduleDurationUnits, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V2directionsprofilegeojsonScheduleDurationUnits): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/v2directionsprofilegeojson_walking_time.py b/openrouteservice/models/v2directionsprofilegeojson_walking_time.py new file mode 100644 index 00000000..493352f5 --- /dev/null +++ b/openrouteservice/models/v2directionsprofilegeojson_walking_time.py @@ -0,0 +1,214 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class V2directionsprofilegeojsonWalkingTime(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'nano': 'int', + 'negative': 'bool', + 'seconds': 'int', + 'units': 'list[V2directionsprofilegeojsonScheduleDurationUnits]', + 'zero': 'bool' + } + + attribute_map = { + 'nano': 'nano', + 'negative': 'negative', + 'seconds': 'seconds', + 'units': 'units', + 'zero': 'zero' + } + + def __init__(self, nano=None, negative=None, seconds=None, units=None, zero=None): # noqa: E501 + """V2directionsprofilegeojsonWalkingTime - a model defined in Swagger""" # noqa: E501 + self._nano = None + self._negative = None + self._seconds = None + self._units = None + self._zero = None + self.discriminator = None + if nano is not None: + self.nano = nano + if negative is not None: + self.negative = negative + if seconds is not None: + self.seconds = seconds + if units is not None: + self.units = units + if zero is not None: + self.zero = zero + + @property + def nano(self): + """Gets the nano of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + + + :return: The nano of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + :rtype: int + """ + return self._nano + + @nano.setter + def nano(self, nano): + """Sets the nano of this V2directionsprofilegeojsonWalkingTime. + + + :param nano: The nano of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + :type: int + """ + + self._nano = nano + + @property + def negative(self): + """Gets the negative of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + + + :return: The negative of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + :rtype: bool + """ + return self._negative + + @negative.setter + def negative(self, negative): + """Sets the negative of this V2directionsprofilegeojsonWalkingTime. + + + :param negative: The negative of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + :type: bool + """ + + self._negative = negative + + @property + def seconds(self): + """Gets the seconds of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + + + :return: The seconds of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + :rtype: int + """ + return self._seconds + + @seconds.setter + def seconds(self, seconds): + """Sets the seconds of this V2directionsprofilegeojsonWalkingTime. + + + :param seconds: The seconds of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + :type: int + """ + + self._seconds = seconds + + @property + def units(self): + """Gets the units of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + + + :return: The units of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + :rtype: list[V2directionsprofilegeojsonScheduleDurationUnits] + """ + return self._units + + @units.setter + def units(self, units): + """Sets the units of this V2directionsprofilegeojsonWalkingTime. + + + :param units: The units of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + :type: list[V2directionsprofilegeojsonScheduleDurationUnits] + """ + + self._units = units + + @property + def zero(self): + """Gets the zero of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + + + :return: The zero of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + :rtype: bool + """ + return self._zero + + @zero.setter + def zero(self, zero): + """Sets the zero of this V2directionsprofilegeojsonWalkingTime. + + + :param zero: The zero of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 + :type: bool + """ + + self._zero = zero + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(V2directionsprofilegeojsonWalkingTime, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, V2directionsprofilegeojsonWalkingTime): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/rest.py b/openrouteservice/rest.py new file mode 100644 index 00000000..6409cf3b --- /dev/null +++ b/openrouteservice/rest.py @@ -0,0 +1,317 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import io +import json +import logging +import re +import ssl + +import certifi +# python 2 and python 3 compatibility library +import six +from six.moves.urllib.parse import urlencode + +try: + import urllib3 +except ImportError: + raise ImportError('Swagger python client requires urllib3.') + + +logger = logging.getLogger(__name__) + + +class RESTResponse(io.IOBase): + + def __init__(self, resp): + self.urllib3_response = resp + self.status = resp.status + self.reason = resp.reason + self.data = resp.data + + def getheaders(self): + """Returns a dictionary of the response headers.""" + return self.urllib3_response.getheaders() + + def getheader(self, name, default=None): + """Returns a given response header.""" + return self.urllib3_response.getheader(name, default) + + +class RESTClientObject(object): + + def __init__(self, configuration, pools_size=4, maxsize=None): + # urllib3.PoolManager will pass all kw parameters to connectionpool + # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/poolmanager.py#L75 # noqa: E501 + # https://github.com/shazow/urllib3/blob/f9409436f83aeb79fbaf090181cd81b784f1b8ce/urllib3/connectionpool.py#L680 # noqa: E501 + # maxsize is the number of requests to host that are allowed in parallel # noqa: E501 + # Custom SSL certificates and client certificates: http://urllib3.readthedocs.io/en/latest/advanced-usage.html # noqa: E501 + + # cert_reqs + if configuration.verify_ssl: + cert_reqs = ssl.CERT_REQUIRED + else: + cert_reqs = ssl.CERT_NONE + + # ca_certs + if configuration.ssl_ca_cert: + ca_certs = configuration.ssl_ca_cert + else: + # if not set certificate file, use Mozilla's root certificates. + ca_certs = certifi.where() + + addition_pool_args = {} + if configuration.assert_hostname is not None: + addition_pool_args['assert_hostname'] = configuration.assert_hostname # noqa: E501 + + if maxsize is None: + if configuration.connection_pool_maxsize is not None: + maxsize = configuration.connection_pool_maxsize + else: + maxsize = 4 + + # https pool manager + if configuration.proxy: + self.pool_manager = urllib3.ProxyManager( + num_pools=pools_size, + maxsize=maxsize, + cert_reqs=cert_reqs, + ca_certs=ca_certs, + cert_file=configuration.cert_file, + key_file=configuration.key_file, + proxy_url=configuration.proxy, + **addition_pool_args + ) + else: + self.pool_manager = urllib3.PoolManager( + num_pools=pools_size, + maxsize=maxsize, + cert_reqs=cert_reqs, + ca_certs=ca_certs, + cert_file=configuration.cert_file, + key_file=configuration.key_file, + **addition_pool_args + ) + + def request(self, method, url, query_params=None, headers=None, + body=None, post_params=None, _preload_content=True, + _request_timeout=None): + """Perform requests. + + :param method: http request method + :param url: http request url + :param query_params: query parameters in the url + :param headers: http request headers + :param body: request json body, for `application/json` + :param post_params: request post parameters, + `application/x-www-form-urlencoded` + and `multipart/form-data` + :param _preload_content: if False, the urllib3.HTTPResponse object will + be returned without reading/decoding response + data. Default is True. + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + """ + method = method.upper() + assert method in ['GET', 'HEAD', 'DELETE', 'POST', 'PUT', + 'PATCH', 'OPTIONS'] + + if post_params and body: + raise ValueError( + "body parameter cannot be used with post_params parameter." + ) + + post_params = post_params or {} + headers = headers or {} + + timeout = None + if _request_timeout: + if isinstance(_request_timeout, (int, ) if six.PY3 else (int, long)): # noqa: E501,F821 + timeout = urllib3.Timeout(total=_request_timeout) + elif (isinstance(_request_timeout, tuple) and + len(_request_timeout) == 2): + timeout = urllib3.Timeout( + connect=_request_timeout[0], read=_request_timeout[1]) + + if 'Content-Type' not in headers: + headers['Content-Type'] = 'application/json' + + try: + # For `POST`, `PUT`, `PATCH`, `OPTIONS`, `DELETE` + if method in ['POST', 'PUT', 'PATCH', 'OPTIONS', 'DELETE']: + if query_params: + url += '?' + urlencode(query_params) + if re.search('json', headers['Content-Type'], re.IGNORECASE): + request_body = '{}' + if body is not None: + request_body = json.dumps(body) + r = self.pool_manager.request( + method, url, + body=request_body, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + elif headers['Content-Type'] == 'application/x-www-form-urlencoded': # noqa: E501 + r = self.pool_manager.request( + method, url, + fields=post_params, + encode_multipart=False, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + elif headers['Content-Type'] == 'multipart/form-data': + # must del headers['Content-Type'], or the correct + # Content-Type which generated by urllib3 will be + # overwritten. + del headers['Content-Type'] + r = self.pool_manager.request( + method, url, + fields=post_params, + encode_multipart=True, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + # Pass a `string` parameter directly in the body to support + # other content types than Json when `body` argument is + # provided in serialized form + elif isinstance(body, str): + request_body = body + r = self.pool_manager.request( + method, url, + body=request_body, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + else: + # Cannot generate the request from given parameters + msg = """Cannot prepare a request message for provided + arguments. Please check that your arguments match + declared content type.""" + raise ApiException(status=0, reason=msg) + # For `GET`, `HEAD` + else: + r = self.pool_manager.request(method, url, + fields=query_params, + preload_content=_preload_content, + timeout=timeout, + headers=headers) + except urllib3.exceptions.SSLError as e: + msg = "{0}\n{1}".format(type(e).__name__, str(e)) + raise ApiException(status=0, reason=msg) + + if _preload_content: + r = RESTResponse(r) + + # log response body + logger.debug("response body: %s", r.data) + + if not 200 <= r.status <= 299: + raise ApiException(http_resp=r) + + return r + + def GET(self, url, headers=None, query_params=None, _preload_content=True, + _request_timeout=None): + return self.request("GET", url, + headers=headers, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + query_params=query_params) + + def HEAD(self, url, headers=None, query_params=None, _preload_content=True, + _request_timeout=None): + return self.request("HEAD", url, + headers=headers, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + query_params=query_params) + + def OPTIONS(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("OPTIONS", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def DELETE(self, url, headers=None, query_params=None, body=None, + _preload_content=True, _request_timeout=None): + return self.request("DELETE", url, + headers=headers, + query_params=query_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def POST(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("POST", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def PUT(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("PUT", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + def PATCH(self, url, headers=None, query_params=None, post_params=None, + body=None, _preload_content=True, _request_timeout=None): + return self.request("PATCH", url, + headers=headers, + query_params=query_params, + post_params=post_params, + _preload_content=_preload_content, + _request_timeout=_request_timeout, + body=body) + + +class ApiException(Exception): + + def __init__(self, status=None, reason=None, http_resp=None): + if http_resp: + self.status = http_resp.status + self.reason = http_resp.reason + self.body = http_resp.data + self.headers = http_resp.getheaders() + else: + self.status = status + self.reason = reason + self.body = None + self.headers = None + + def __str__(self): + """Custom error messages for exception""" + error_message = "({0})\n"\ + "Reason: {1}\n".format(self.status, self.reason) + if self.headers: + error_message += "HTTP response headers: {0}\n".format( + self.headers) + + if self.body: + error_message += "HTTP response body: {0}\n".format(self.body) + + return error_message diff --git a/openrouteservice/utility.py b/openrouteservice/utility.py new file mode 100644 index 00000000..b672ca29 --- /dev/null +++ b/openrouteservice/utility.py @@ -0,0 +1,87 @@ +def decode_polyline(polyline, is3d=False): + """Decodes a Polyline string into a GeoJSON geometry. + :param polyline: An encoded polyline, only the geometry. + :type polyline: string + :param is3d: Specifies if geometry contains Z component. + :type is3d: boolean + :returns: GeoJSON Linestring geometry + :rtype: dict + """ + points = [] + index = lat = lng = z = 0 + + while index < len(polyline): + result = 1 + shift = 0 + while True: + b = ord(polyline[index]) - 63 - 1 + index += 1 + result += b << shift + shift += 5 + if b < 0x1F: + break + lat += (~result >> 1) if (result & 1) != 0 else (result >> 1) + + result = 1 + shift = 0 + while True: + b = ord(polyline[index]) - 63 - 1 + index += 1 + result += b << shift + shift += 5 + if b < 0x1F: + break + lng += ~(result >> 1) if (result & 1) != 0 else (result >> 1) + + if is3d: + result = 1 + shift = 0 + while True: + b = ord(polyline[index]) - 63 - 1 + index += 1 + result += b << shift + shift += 5 + if b < 0x1F: + break + if (result & 1) != 0: + z += ~(result >> 1) + else: + z += result >> 1 + + points.append( + [ + round(lng * 1e-5, 6), + round(lat * 1e-5, 6), + round(z * 1e-2, 1), + ] + ) + + else: + points.append([round(lng * 1e-5, 6), round(lat * 1e-5, 6)]) + + geojson = {u"type": u"LineString", u"coordinates": points} + + return geojson + + +def todict(obj, classkey=None): + """Converts an object to a dict + :param obj: the object to convert + """ + if isinstance(obj, dict): + data = {} + for (k, v) in obj.items(): + data[k] = todict(v, classkey) + return data + elif hasattr(obj, "to_dict"): + return obj.to_dict() + elif hasattr(obj, "__iter__") and not isinstance(obj, str): + return [todict(v, classkey) for v in obj] + elif hasattr(obj, "__dict__"): + data = dict([(key[1:] if key[0] == "_" else key, todict(getattr(obj, key), classkey)) + for key in obj.__dict__]) + if classkey is not None and hasattr(obj, "__class__"): + data[classkey] = obj.__class__.__name__ + return data + else: + return obj diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..86e711b5 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,1248 @@ +{ + "name": "openrouteservice-py", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "devDependencies": { + "vitepress": "^1.0.0-rc.39", + "vue": "^3.4.15" + } + }, + "node_modules/@algolia/autocomplete-core": { + "version": "1.9.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/autocomplete-plugin-algolia-insights": "1.9.3", + "@algolia/autocomplete-shared": "1.9.3" + } + }, + "node_modules/@algolia/autocomplete-plugin-algolia-insights": { + "version": "1.9.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/autocomplete-shared": "1.9.3" + }, + "peerDependencies": { + "search-insights": ">= 1 < 3" + } + }, + "node_modules/@algolia/autocomplete-preset-algolia": { + "version": "1.9.3", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/autocomplete-shared": "1.9.3" + }, + "peerDependencies": { + "@algolia/client-search": ">= 4.9.1 < 6", + "algoliasearch": ">= 4.9.1 < 6" + } + }, + "node_modules/@algolia/autocomplete-shared": { + "version": "1.9.3", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@algolia/client-search": ">= 4.9.1 < 6", + "algoliasearch": ">= 4.9.1 < 6" + } + }, + "node_modules/@algolia/cache-browser-local-storage": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/cache-common": "4.22.1" + } + }, + "node_modules/@algolia/cache-common": { + "version": "4.22.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@algolia/cache-in-memory": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/cache-common": "4.22.1" + } + }, + "node_modules/@algolia/client-account": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/client-common": "4.22.1", + "@algolia/client-search": "4.22.1", + "@algolia/transporter": "4.22.1" + } + }, + "node_modules/@algolia/client-analytics": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/client-common": "4.22.1", + "@algolia/client-search": "4.22.1", + "@algolia/requester-common": "4.22.1", + "@algolia/transporter": "4.22.1" + } + }, + "node_modules/@algolia/client-common": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/requester-common": "4.22.1", + "@algolia/transporter": "4.22.1" + } + }, + "node_modules/@algolia/client-personalization": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/client-common": "4.22.1", + "@algolia/requester-common": "4.22.1", + "@algolia/transporter": "4.22.1" + } + }, + "node_modules/@algolia/client-search": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/client-common": "4.22.1", + "@algolia/requester-common": "4.22.1", + "@algolia/transporter": "4.22.1" + } + }, + "node_modules/@algolia/logger-common": { + "version": "4.22.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@algolia/logger-console": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/logger-common": "4.22.1" + } + }, + "node_modules/@algolia/requester-browser-xhr": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/requester-common": "4.22.1" + } + }, + "node_modules/@algolia/requester-common": { + "version": "4.22.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@algolia/requester-node-http": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/requester-common": "4.22.1" + } + }, + "node_modules/@algolia/transporter": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/cache-common": "4.22.1", + "@algolia/logger-common": "4.22.1", + "@algolia/requester-common": "4.22.1" + } + }, + "node_modules/@babel/parser": { + "version": "7.23.6", + "dev": true, + "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@docsearch/css": { + "version": "3.5.2", + "dev": true, + "license": "MIT" + }, + "node_modules/@docsearch/js": { + "version": "3.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@docsearch/react": "3.5.2", + "preact": "^10.0.0" + } + }, + "node_modules/@docsearch/react": { + "version": "3.5.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/autocomplete-core": "1.9.3", + "@algolia/autocomplete-preset-algolia": "1.9.3", + "@docsearch/css": "3.5.2", + "algoliasearch": "^4.19.1" + }, + "peerDependencies": { + "@types/react": ">= 16.8.0 < 19.0.0", + "react": ">= 16.8.0 < 19.0.0", + "react-dom": ">= 16.8.0 < 19.0.0", + "search-insights": ">= 1 < 3" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "react": { + "optional": true + }, + "react-dom": { + "optional": true + }, + "search-insights": { + "optional": true + } + } + }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz", + "integrity": "sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.11.tgz", + "integrity": "sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz", + "integrity": "sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.11.tgz", + "integrity": "sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz", + "integrity": "sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz", + "integrity": "sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz", + "integrity": "sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz", + "integrity": "sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz", + "integrity": "sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz", + "integrity": "sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz", + "integrity": "sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz", + "integrity": "sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz", + "integrity": "sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz", + "integrity": "sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz", + "integrity": "sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz", + "integrity": "sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz", + "integrity": "sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz", + "integrity": "sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz", + "integrity": "sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz", + "integrity": "sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz", + "integrity": "sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz", + "integrity": "sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz", + "integrity": "sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "dev": true, + "license": "MIT" + }, + "node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.9.5", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-x64-musl": { + "version": "4.9.5", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@types/estree": { + "version": "1.0.5", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/linkify-it": { + "version": "3.0.5", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/markdown-it": { + "version": "13.0.7", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/linkify-it": "*", + "@types/mdurl": "*" + } + }, + "node_modules/@types/mdurl": { + "version": "1.0.5", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/web-bluetooth": { + "version": "0.0.20", + "dev": true, + "license": "MIT" + }, + "node_modules/@vitejs/plugin-vue": { + "version": "5.0.3", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "peerDependencies": { + "vite": "^5.0.0", + "vue": "^3.2.25" + } + }, + "node_modules/@vue/compiler-core": { + "version": "3.4.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.23.6", + "@vue/shared": "3.4.15", + "entities": "^4.5.0", + "estree-walker": "^2.0.2", + "source-map-js": "^1.0.2" + } + }, + "node_modules/@vue/compiler-dom": { + "version": "3.4.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/compiler-core": "3.4.15", + "@vue/shared": "3.4.15" + } + }, + "node_modules/@vue/compiler-sfc": { + "version": "3.4.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.23.6", + "@vue/compiler-core": "3.4.15", + "@vue/compiler-dom": "3.4.15", + "@vue/compiler-ssr": "3.4.15", + "@vue/shared": "3.4.15", + "estree-walker": "^2.0.2", + "magic-string": "^0.30.5", + "postcss": "^8.4.33", + "source-map-js": "^1.0.2" + } + }, + "node_modules/@vue/compiler-ssr": { + "version": "3.4.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/compiler-dom": "3.4.15", + "@vue/shared": "3.4.15" + } + }, + "node_modules/@vue/devtools-api": { + "version": "6.5.1", + "dev": true, + "license": "MIT" + }, + "node_modules/@vue/reactivity": { + "version": "3.4.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/shared": "3.4.15" + } + }, + "node_modules/@vue/runtime-core": { + "version": "3.4.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/reactivity": "3.4.15", + "@vue/shared": "3.4.15" + } + }, + "node_modules/@vue/runtime-dom": { + "version": "3.4.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/runtime-core": "3.4.15", + "@vue/shared": "3.4.15", + "csstype": "^3.1.3" + } + }, + "node_modules/@vue/server-renderer": { + "version": "3.4.15", + "dev": true, + "license": "MIT", + "dependencies": { + "@vue/compiler-ssr": "3.4.15", + "@vue/shared": "3.4.15" + }, + "peerDependencies": { + "vue": "3.4.15" + } + }, + "node_modules/@vue/shared": { + "version": "3.4.15", + "dev": true, + "license": "MIT" + }, + "node_modules/@vueuse/core": { + "version": "10.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/web-bluetooth": "^0.0.20", + "@vueuse/metadata": "10.7.2", + "@vueuse/shared": "10.7.2", + "vue-demi": ">=0.14.6" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/@vueuse/integrations": { + "version": "10.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "@vueuse/core": "10.7.2", + "@vueuse/shared": "10.7.2", + "vue-demi": ">=0.14.6" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "async-validator": "*", + "axios": "*", + "change-case": "*", + "drauu": "*", + "focus-trap": "*", + "fuse.js": "*", + "idb-keyval": "*", + "jwt-decode": "*", + "nprogress": "*", + "qrcode": "*", + "sortablejs": "*", + "universal-cookie": "*" + }, + "peerDependenciesMeta": { + "async-validator": { + "optional": true + }, + "axios": { + "optional": true + }, + "change-case": { + "optional": true + }, + "drauu": { + "optional": true + }, + "focus-trap": { + "optional": true + }, + "fuse.js": { + "optional": true + }, + "idb-keyval": { + "optional": true + }, + "jwt-decode": { + "optional": true + }, + "nprogress": { + "optional": true + }, + "qrcode": { + "optional": true + }, + "sortablejs": { + "optional": true + }, + "universal-cookie": { + "optional": true + } + } + }, + "node_modules/@vueuse/metadata": { + "version": "10.7.2", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/@vueuse/shared": { + "version": "10.7.2", + "dev": true, + "license": "MIT", + "dependencies": { + "vue-demi": ">=0.14.6" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + } + }, + "node_modules/algoliasearch": { + "version": "4.22.1", + "dev": true, + "license": "MIT", + "dependencies": { + "@algolia/cache-browser-local-storage": "4.22.1", + "@algolia/cache-common": "4.22.1", + "@algolia/cache-in-memory": "4.22.1", + "@algolia/client-account": "4.22.1", + "@algolia/client-analytics": "4.22.1", + "@algolia/client-common": "4.22.1", + "@algolia/client-personalization": "4.22.1", + "@algolia/client-search": "4.22.1", + "@algolia/logger-common": "4.22.1", + "@algolia/logger-console": "4.22.1", + "@algolia/requester-browser-xhr": "4.22.1", + "@algolia/requester-common": "4.22.1", + "@algolia/requester-node-http": "4.22.1", + "@algolia/transporter": "4.22.1" + } + }, + "node_modules/csstype": { + "version": "3.1.3", + "dev": true, + "license": "MIT" + }, + "node_modules/entities": { + "version": "4.5.0", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/esbuild": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.11.tgz", + "integrity": "sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.19.11", + "@esbuild/android-arm": "0.19.11", + "@esbuild/android-arm64": "0.19.11", + "@esbuild/android-x64": "0.19.11", + "@esbuild/darwin-arm64": "0.19.11", + "@esbuild/darwin-x64": "0.19.11", + "@esbuild/freebsd-arm64": "0.19.11", + "@esbuild/freebsd-x64": "0.19.11", + "@esbuild/linux-arm": "0.19.11", + "@esbuild/linux-arm64": "0.19.11", + "@esbuild/linux-ia32": "0.19.11", + "@esbuild/linux-loong64": "0.19.11", + "@esbuild/linux-mips64el": "0.19.11", + "@esbuild/linux-ppc64": "0.19.11", + "@esbuild/linux-riscv64": "0.19.11", + "@esbuild/linux-s390x": "0.19.11", + "@esbuild/linux-x64": "0.19.11", + "@esbuild/netbsd-x64": "0.19.11", + "@esbuild/openbsd-x64": "0.19.11", + "@esbuild/sunos-x64": "0.19.11", + "@esbuild/win32-arm64": "0.19.11", + "@esbuild/win32-ia32": "0.19.11", + "@esbuild/win32-x64": "0.19.11" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "dev": true, + "license": "MIT" + }, + "node_modules/focus-trap": { + "version": "7.5.4", + "dev": true, + "license": "MIT", + "dependencies": { + "tabbable": "^6.2.0" + } + }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/magic-string": { + "version": "0.30.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.15" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/mark.js": { + "version": "8.11.1", + "dev": true, + "license": "MIT" + }, + "node_modules/minisearch": { + "version": "6.3.0", + "dev": true, + "license": "MIT" + }, + "node_modules/nanoid": { + "version": "3.3.7", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/picocolors": { + "version": "1.0.0", + "dev": true, + "license": "ISC" + }, + "node_modules/postcss": { + "version": "8.4.33", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/postcss/" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/postcss" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "nanoid": "^3.3.7", + "picocolors": "^1.0.0", + "source-map-js": "^1.0.2" + }, + "engines": { + "node": "^10 || ^12 || >=14" + } + }, + "node_modules/preact": { + "version": "10.19.3", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/preact" + } + }, + "node_modules/rollup": { + "version": "4.9.5", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/estree": "1.0.5" + }, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=18.0.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "@rollup/rollup-android-arm-eabi": "4.9.5", + "@rollup/rollup-android-arm64": "4.9.5", + "@rollup/rollup-darwin-arm64": "4.9.5", + "@rollup/rollup-darwin-x64": "4.9.5", + "@rollup/rollup-linux-arm-gnueabihf": "4.9.5", + "@rollup/rollup-linux-arm64-gnu": "4.9.5", + "@rollup/rollup-linux-arm64-musl": "4.9.5", + "@rollup/rollup-linux-riscv64-gnu": "4.9.5", + "@rollup/rollup-linux-x64-gnu": "4.9.5", + "@rollup/rollup-linux-x64-musl": "4.9.5", + "@rollup/rollup-win32-arm64-msvc": "4.9.5", + "@rollup/rollup-win32-ia32-msvc": "4.9.5", + "@rollup/rollup-win32-x64-msvc": "4.9.5", + "fsevents": "~2.3.2" + } + }, + "node_modules/search-insights": { + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/search-insights/-/search-insights-2.13.0.tgz", + "integrity": "sha512-Orrsjf9trHHxFRuo9/rzm0KIWmgzE8RMlZMzuhZOJ01Rnz3D0YBAe+V6473t6/H6c7irs6Lt48brULAiRWb3Vw==", + "dev": true, + "peer": true + }, + "node_modules/shikiji": { + "version": "0.9.19", + "dev": true, + "license": "MIT", + "dependencies": { + "shikiji-core": "0.9.19" + } + }, + "node_modules/shikiji-core": { + "version": "0.9.19", + "dev": true, + "license": "MIT" + }, + "node_modules/shikiji-transformers": { + "version": "0.9.19", + "dev": true, + "license": "MIT", + "dependencies": { + "shikiji": "0.9.19" + } + }, + "node_modules/source-map-js": { + "version": "1.0.2", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/tabbable": { + "version": "6.2.0", + "dev": true, + "license": "MIT" + }, + "node_modules/vite": { + "version": "5.0.11", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.0.11.tgz", + "integrity": "sha512-XBMnDjZcNAw/G1gEiskiM1v6yzM4GE5aMGvhWTlHAYYhxb7S3/V1s3m2LDHa8Vh6yIWYYB0iJwsEaS523c4oYA==", + "dev": true, + "dependencies": { + "esbuild": "^0.19.3", + "postcss": "^8.4.32", + "rollup": "^4.2.0" + }, + "bin": { + "vite": "bin/vite.js" + }, + "engines": { + "node": "^18.0.0 || >=20.0.0" + }, + "funding": { + "url": "https://github.com/vitejs/vite?sponsor=1" + }, + "optionalDependencies": { + "fsevents": "~2.3.3" + }, + "peerDependencies": { + "@types/node": "^18.0.0 || >=20.0.0", + "less": "*", + "lightningcss": "^1.21.0", + "sass": "*", + "stylus": "*", + "sugarss": "*", + "terser": "^5.4.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "less": { + "optional": true + }, + "lightningcss": { + "optional": true + }, + "sass": { + "optional": true + }, + "stylus": { + "optional": true + }, + "sugarss": { + "optional": true + }, + "terser": { + "optional": true + } + } + }, + "node_modules/vitepress": { + "version": "1.0.0-rc.39", + "resolved": "https://registry.npmjs.org/vitepress/-/vitepress-1.0.0-rc.39.tgz", + "integrity": "sha512-EcgoRlAAp37WOxUOYv45oxyhLrcy3Upey+mKpqW3ldsg6Ol4trPndRBk2GO0QiSvEKlb9BMerk49D/bFICN6kg==", + "dev": true, + "dependencies": { + "@docsearch/css": "^3.5.2", + "@docsearch/js": "^3.5.2", + "@types/markdown-it": "^13.0.7", + "@vitejs/plugin-vue": "^5.0.3", + "@vue/devtools-api": "^6.5.1", + "@vueuse/core": "^10.7.2", + "@vueuse/integrations": "^10.7.2", + "focus-trap": "^7.5.4", + "mark.js": "8.11.1", + "minisearch": "^6.3.0", + "shikiji": "^0.9.19", + "shikiji-core": "^0.9.19", + "shikiji-transformers": "^0.9.19", + "vite": "^5.0.11", + "vue": "^3.4.14" + }, + "bin": { + "vitepress": "bin/vitepress.js" + }, + "peerDependencies": { + "markdown-it-mathjax3": "^4.3.2", + "postcss": "^8.4.33" + }, + "peerDependenciesMeta": { + "markdown-it-mathjax3": { + "optional": true + }, + "postcss": { + "optional": true + } + } + }, + "node_modules/vue": { + "version": "3.4.15", + "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.15.tgz", + "integrity": "sha512-jC0GH4KkWLWJOEQjOpkqU1bQsBwf4R1rsFtw5GQJbjHVKWDzO6P0nWWBTmjp1xSemAioDFj1jdaK1qa3DnMQoQ==", + "dev": true, + "dependencies": { + "@vue/compiler-dom": "3.4.15", + "@vue/compiler-sfc": "3.4.15", + "@vue/runtime-dom": "3.4.15", + "@vue/server-renderer": "3.4.15", + "@vue/shared": "3.4.15" + }, + "peerDependencies": { + "typescript": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/vue-demi": { + "version": "0.14.6", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "bin": { + "vue-demi-fix": "bin/vue-demi-fix.js", + "vue-demi-switch": "bin/vue-demi-switch.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/antfu" + }, + "peerDependencies": { + "@vue/composition-api": "^1.0.0-rc.1", + "vue": "^3.0.0-0 || ^2.6.0" + }, + "peerDependenciesMeta": { + "@vue/composition-api": { + "optional": true + } + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 00000000..cbbaa45f --- /dev/null +++ b/package.json @@ -0,0 +1,11 @@ +{ + "devDependencies": { + "vitepress": "^1.0.0-rc.39", + "vue": "^3.4.15" + }, + "scripts": { + "docs:dev": "vitepress dev", + "docs:build": "vitepress build", + "docs:preview": "vitepress preview" + } +} diff --git a/poetry.lock b/poetry.lock deleted file mode 100644 index 3f91b19a..00000000 --- a/poetry.lock +++ /dev/null @@ -1,693 +0,0 @@ -# This file is automatically @generated by Poetry 1.5.0 and should not be changed by hand. - -[[package]] -name = "certifi" -version = "2023.5.7" -description = "Python package for providing Mozilla's CA Bundle." -optional = false -python-versions = ">=3.6" -files = [ - {file = "certifi-2023.5.7-py3-none-any.whl", hash = "sha256:c6c2e98f5c7869efca1f8916fed228dd91539f9f1b444c314c06eef02980c716"}, - {file = "certifi-2023.5.7.tar.gz", hash = "sha256:0f0d56dc5a6ad56fd4ba36484d6cc34451e1c6548c61daad8c320169f91eddc7"}, -] - -[[package]] -name = "cfgv" -version = "3.3.1" -description = "Validate configuration and produce human readable error messages." -optional = false -python-versions = ">=3.6.1" -files = [ - {file = "cfgv-3.3.1-py2.py3-none-any.whl", hash = "sha256:c6a0883f3917a037485059700b9e75da2464e6c27051014ad85ba6aaa5884426"}, - {file = "cfgv-3.3.1.tar.gz", hash = "sha256:f5a830efb9ce7a445376bb66ec94c638a9787422f96264c98edc6bdeed8ab736"}, -] - -[[package]] -name = "charset-normalizer" -version = "3.1.0" -description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -optional = false -python-versions = ">=3.7.0" -files = [ - {file = "charset-normalizer-3.1.0.tar.gz", hash = "sha256:34e0a2f9c370eb95597aae63bf85eb5e96826d81e3dcf88b8886012906f509b5"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:e0ac8959c929593fee38da1c2b64ee9778733cdf03c482c9ff1d508b6b593b2b"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d7fc3fca01da18fbabe4625d64bb612b533533ed10045a2ac3dd194bfa656b60"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:04eefcee095f58eaabe6dc3cc2262f3bcd776d2c67005880894f447b3f2cb9c1"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:20064ead0717cf9a73a6d1e779b23d149b53daf971169289ed2ed43a71e8d3b0"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1435ae15108b1cb6fffbcea2af3d468683b7afed0169ad718451f8db5d1aff6f"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c84132a54c750fda57729d1e2599bb598f5fa0344085dbde5003ba429a4798c0"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:75f2568b4189dda1c567339b48cba4ac7384accb9c2a7ed655cd86b04055c795"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:11d3bcb7be35e7b1bba2c23beedac81ee893ac9871d0ba79effc7fc01167db6c"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:891cf9b48776b5c61c700b55a598621fdb7b1e301a550365571e9624f270c203"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:5f008525e02908b20e04707a4f704cd286d94718f48bb33edddc7d7b584dddc1"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:b06f0d3bf045158d2fb8837c5785fe9ff9b8c93358be64461a1089f5da983137"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_s390x.whl", hash = "sha256:49919f8400b5e49e961f320c735388ee686a62327e773fa5b3ce6721f7e785ce"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:22908891a380d50738e1f978667536f6c6b526a2064156203d418f4856d6e86a"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-win32.whl", hash = "sha256:12d1a39aa6b8c6f6248bb54550efcc1c38ce0d8096a146638fd4738e42284448"}, - {file = "charset_normalizer-3.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:65ed923f84a6844de5fd29726b888e58c62820e0769b76565480e1fdc3d062f8"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:9a3267620866c9d17b959a84dd0bd2d45719b817245e49371ead79ed4f710d19"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:6734e606355834f13445b6adc38b53c0fd45f1a56a9ba06c2058f86893ae8017"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:f8303414c7b03f794347ad062c0516cee0e15f7a612abd0ce1e25caf6ceb47df"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aaf53a6cebad0eae578f062c7d462155eada9c172bd8c4d250b8c1d8eb7f916a"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:3dc5b6a8ecfdc5748a7e429782598e4f17ef378e3e272eeb1340ea57c9109f41"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:e1b25e3ad6c909f398df8921780d6a3d120d8c09466720226fc621605b6f92b1"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0ca564606d2caafb0abe6d1b5311c2649e8071eb241b2d64e75a0d0065107e62"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b82fab78e0b1329e183a65260581de4375f619167478dddab510c6c6fb04d9b6"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:bd7163182133c0c7701b25e604cf1611c0d87712e56e88e7ee5d72deab3e76b5"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:11d117e6c63e8f495412d37e7dc2e2fff09c34b2d09dbe2bee3c6229577818be"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:cf6511efa4801b9b38dc5546d7547d5b5c6ef4b081c60b23e4d941d0eba9cbeb"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_s390x.whl", hash = "sha256:abc1185d79f47c0a7aaf7e2412a0eb2c03b724581139193d2d82b3ad8cbb00ac"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:cb7b2ab0188829593b9de646545175547a70d9a6e2b63bf2cd87a0a391599324"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-win32.whl", hash = "sha256:c36bcbc0d5174a80d6cccf43a0ecaca44e81d25be4b7f90f0ed7bcfbb5a00909"}, - {file = "charset_normalizer-3.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:cca4def576f47a09a943666b8f829606bcb17e2bc2d5911a46c8f8da45f56755"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:0c95f12b74681e9ae127728f7e5409cbbef9cd914d5896ef238cc779b8152373"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fca62a8301b605b954ad2e9c3666f9d97f63872aa4efcae5492baca2056b74ab"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ac0aa6cd53ab9a31d397f8303f92c42f534693528fafbdb997c82bae6e477ad9"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c3af8e0f07399d3176b179f2e2634c3ce9c1301379a6b8c9c9aeecd481da494f"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3a5fc78f9e3f501a1614a98f7c54d3969f3ad9bba8ba3d9b438c3bc5d047dd28"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:628c985afb2c7d27a4800bfb609e03985aaecb42f955049957814e0491d4006d"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:74db0052d985cf37fa111828d0dd230776ac99c740e1a758ad99094be4f1803d"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:1e8fcdd8f672a1c4fc8d0bd3a2b576b152d2a349782d1eb0f6b8e52e9954731d"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:04afa6387e2b282cf78ff3dbce20f0cc071c12dc8f685bd40960cc68644cfea6"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_s390x.whl", hash = "sha256:dd5653e67b149503c68c4018bf07e42eeed6b4e956b24c00ccdf93ac79cdff84"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:d2686f91611f9e17f4548dbf050e75b079bbc2a82be565832bc8ea9047b61c8c"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-win32.whl", hash = "sha256:4155b51ae05ed47199dc5b2a4e62abccb274cee6b01da5b895099b61b1982974"}, - {file = "charset_normalizer-3.1.0-cp37-cp37m-win_amd64.whl", hash = "sha256:322102cdf1ab682ecc7d9b1c5eed4ec59657a65e1c146a0da342b78f4112db23"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:e633940f28c1e913615fd624fcdd72fdba807bf53ea6925d6a588e84e1151531"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:3a06f32c9634a8705f4ca9946d667609f52cf130d5548881401f1eb2c39b1e2c"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:7381c66e0561c5757ffe616af869b916c8b4e42b367ab29fedc98481d1e74e14"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3573d376454d956553c356df45bb824262c397c6e26ce43e8203c4c540ee0acb"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e89df2958e5159b811af9ff0f92614dabf4ff617c03a4c1c6ff53bf1c399e0e1"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:78cacd03e79d009d95635e7d6ff12c21eb89b894c354bd2b2ed0b4763373693b"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:de5695a6f1d8340b12a5d6d4484290ee74d61e467c39ff03b39e30df62cf83a0"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1c60b9c202d00052183c9be85e5eaf18a4ada0a47d188a83c8f5c5b23252f649"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:f645caaf0008bacf349875a974220f1f1da349c5dbe7c4ec93048cdc785a3326"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:ea9f9c6034ea2d93d9147818f17c2a0860d41b71c38b9ce4d55f21b6f9165a11"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:80d1543d58bd3d6c271b66abf454d437a438dff01c3e62fdbcd68f2a11310d4b"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_s390x.whl", hash = "sha256:73dc03a6a7e30b7edc5b01b601e53e7fc924b04e1835e8e407c12c037e81adbd"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:6f5c2e7bc8a4bf7c426599765b1bd33217ec84023033672c1e9a8b35eaeaaaf8"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-win32.whl", hash = "sha256:12a2b561af122e3d94cdb97fe6fb2bb2b82cef0cdca131646fdb940a1eda04f0"}, - {file = "charset_normalizer-3.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:3160a0fd9754aab7d47f95a6b63ab355388d890163eb03b2d2b87ab0a30cfa59"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:38e812a197bf8e71a59fe55b757a84c1f946d0ac114acafaafaf21667a7e169e"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:6baf0baf0d5d265fa7944feb9f7451cc316bfe30e8df1a61b1bb08577c554f31"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:8f25e17ab3039b05f762b0a55ae0b3632b2e073d9c8fc88e89aca31a6198e88f"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3747443b6a904001473370d7810aa19c3a180ccd52a7157aacc264a5ac79265e"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b116502087ce8a6b7a5f1814568ccbd0e9f6cfd99948aa59b0e241dc57cf739f"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d16fd5252f883eb074ca55cb622bc0bee49b979ae4e8639fff6ca3ff44f9f854"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:21fa558996782fc226b529fdd2ed7866c2c6ec91cee82735c98a197fae39f706"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6f6c7a8a57e9405cad7485f4c9d3172ae486cfef1344b5ddd8e5239582d7355e"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:ac3775e3311661d4adace3697a52ac0bab17edd166087d493b52d4f4f553f9f0"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:10c93628d7497c81686e8e5e557aafa78f230cd9e77dd0c40032ef90c18f2230"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:6f4f4668e1831850ebcc2fd0b1cd11721947b6dc7c00bf1c6bd3c929ae14f2c7"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_s390x.whl", hash = "sha256:0be65ccf618c1e7ac9b849c315cc2e8a8751d9cfdaa43027d4f6624bd587ab7e"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:53d0a3fa5f8af98a1e261de6a3943ca631c526635eb5817a87a59d9a57ebf48f"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-win32.whl", hash = "sha256:a04f86f41a8916fe45ac5024ec477f41f886b3c435da2d4e3d2709b22ab02af1"}, - {file = "charset_normalizer-3.1.0-cp39-cp39-win_amd64.whl", hash = "sha256:830d2948a5ec37c386d3170c483063798d7879037492540f10a475e3fd6f244b"}, - {file = "charset_normalizer-3.1.0-py3-none-any.whl", hash = "sha256:3d9098b479e78c85080c98e1e35ff40b4a31d8953102bb0fd7d1b6f8a2111a3d"}, -] - -[[package]] -name = "colorama" -version = "0.4.6" -description = "Cross-platform colored terminal text." -optional = false -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" -files = [ - {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, - {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, -] - -[[package]] -name = "coverage" -version = "7.2.7" -description = "Code coverage measurement for Python" -optional = false -python-versions = ">=3.7" -files = [ - {file = "coverage-7.2.7-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d39b5b4f2a66ccae8b7263ac3c8170994b65266797fb96cbbfd3fb5b23921db8"}, - {file = "coverage-7.2.7-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:6d040ef7c9859bb11dfeb056ff5b3872436e3b5e401817d87a31e1750b9ae2fb"}, - {file = "coverage-7.2.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ba90a9563ba44a72fda2e85302c3abc71c5589cea608ca16c22b9804262aaeb6"}, - {file = "coverage-7.2.7-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e7d9405291c6928619403db1d10bd07888888ec1abcbd9748fdaa971d7d661b2"}, - {file = "coverage-7.2.7-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:31563e97dae5598556600466ad9beea39fb04e0229e61c12eaa206e0aa202063"}, - {file = "coverage-7.2.7-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:ebba1cd308ef115925421d3e6a586e655ca5a77b5bf41e02eb0e4562a111f2d1"}, - {file = "coverage-7.2.7-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:cb017fd1b2603ef59e374ba2063f593abe0fc45f2ad9abdde5b4d83bd922a353"}, - {file = "coverage-7.2.7-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:d62a5c7dad11015c66fbb9d881bc4caa5b12f16292f857842d9d1871595f4495"}, - {file = "coverage-7.2.7-cp310-cp310-win32.whl", hash = "sha256:ee57190f24fba796e36bb6d3aa8a8783c643d8fa9760c89f7a98ab5455fbf818"}, - {file = "coverage-7.2.7-cp310-cp310-win_amd64.whl", hash = "sha256:f75f7168ab25dd93110c8a8117a22450c19976afbc44234cbf71481094c1b850"}, - {file = "coverage-7.2.7-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:06a9a2be0b5b576c3f18f1a241f0473575c4a26021b52b2a85263a00f034d51f"}, - {file = "coverage-7.2.7-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:5baa06420f837184130752b7c5ea0808762083bf3487b5038d68b012e5937dbe"}, - {file = "coverage-7.2.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:fdec9e8cbf13a5bf63290fc6013d216a4c7232efb51548594ca3631a7f13c3a3"}, - {file = "coverage-7.2.7-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:52edc1a60c0d34afa421c9c37078817b2e67a392cab17d97283b64c5833f427f"}, - {file = "coverage-7.2.7-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:63426706118b7f5cf6bb6c895dc215d8a418d5952544042c8a2d9fe87fcf09cb"}, - {file = "coverage-7.2.7-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:afb17f84d56068a7c29f5fa37bfd38d5aba69e3304af08ee94da8ed5b0865833"}, - {file = "coverage-7.2.7-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:48c19d2159d433ccc99e729ceae7d5293fbffa0bdb94952d3579983d1c8c9d97"}, - {file = "coverage-7.2.7-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:0e1f928eaf5469c11e886fe0885ad2bf1ec606434e79842a879277895a50942a"}, - {file = "coverage-7.2.7-cp311-cp311-win32.whl", hash = "sha256:33d6d3ea29d5b3a1a632b3c4e4f4ecae24ef170b0b9ee493883f2df10039959a"}, - {file = "coverage-7.2.7-cp311-cp311-win_amd64.whl", hash = "sha256:5b7540161790b2f28143191f5f8ec02fb132660ff175b7747b95dcb77ac26562"}, - {file = "coverage-7.2.7-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:f2f67fe12b22cd130d34d0ef79206061bfb5eda52feb6ce0dba0644e20a03cf4"}, - {file = "coverage-7.2.7-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a342242fe22407f3c17f4b499276a02b01e80f861f1682ad1d95b04018e0c0d4"}, - {file = "coverage-7.2.7-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:171717c7cb6b453aebac9a2ef603699da237f341b38eebfee9be75d27dc38e01"}, - {file = "coverage-7.2.7-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:49969a9f7ffa086d973d91cec8d2e31080436ef0fb4a359cae927e742abfaaa6"}, - {file = "coverage-7.2.7-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:b46517c02ccd08092f4fa99f24c3b83d8f92f739b4657b0f146246a0ca6a831d"}, - {file = "coverage-7.2.7-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:a3d33a6b3eae87ceaefa91ffdc130b5e8536182cd6dfdbfc1aa56b46ff8c86de"}, - {file = "coverage-7.2.7-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:976b9c42fb2a43ebf304fa7d4a310e5f16cc99992f33eced91ef6f908bd8f33d"}, - {file = "coverage-7.2.7-cp312-cp312-win32.whl", hash = "sha256:8de8bb0e5ad103888d65abef8bca41ab93721647590a3f740100cd65c3b00511"}, - {file = "coverage-7.2.7-cp312-cp312-win_amd64.whl", hash = "sha256:9e31cb64d7de6b6f09702bb27c02d1904b3aebfca610c12772452c4e6c21a0d3"}, - {file = "coverage-7.2.7-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:58c2ccc2f00ecb51253cbe5d8d7122a34590fac9646a960d1430d5b15321d95f"}, - {file = "coverage-7.2.7-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d22656368f0e6189e24722214ed8d66b8022db19d182927b9a248a2a8a2f67eb"}, - {file = "coverage-7.2.7-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:a895fcc7b15c3fc72beb43cdcbdf0ddb7d2ebc959edac9cef390b0d14f39f8a9"}, - {file = "coverage-7.2.7-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e84606b74eb7de6ff581a7915e2dab7a28a0517fbe1c9239eb227e1354064dcd"}, - {file = "coverage-7.2.7-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:0a5f9e1dbd7fbe30196578ca36f3fba75376fb99888c395c5880b355e2875f8a"}, - {file = "coverage-7.2.7-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:419bfd2caae268623dd469eff96d510a920c90928b60f2073d79f8fe2bbc5959"}, - {file = "coverage-7.2.7-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:2aee274c46590717f38ae5e4650988d1af340fe06167546cc32fe2f58ed05b02"}, - {file = "coverage-7.2.7-cp37-cp37m-win32.whl", hash = "sha256:61b9a528fb348373c433e8966535074b802c7a5d7f23c4f421e6c6e2f1697a6f"}, - {file = "coverage-7.2.7-cp37-cp37m-win_amd64.whl", hash = "sha256:b1c546aca0ca4d028901d825015dc8e4d56aac4b541877690eb76490f1dc8ed0"}, - {file = "coverage-7.2.7-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:54b896376ab563bd38453cecb813c295cf347cf5906e8b41d340b0321a5433e5"}, - {file = "coverage-7.2.7-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:3d376df58cc111dc8e21e3b6e24606b5bb5dee6024f46a5abca99124b2229ef5"}, - {file = "coverage-7.2.7-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5e330fc79bd7207e46c7d7fd2bb4af2963f5f635703925543a70b99574b0fea9"}, - {file = "coverage-7.2.7-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1e9d683426464e4a252bf70c3498756055016f99ddaec3774bf368e76bbe02b6"}, - {file = "coverage-7.2.7-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d13c64ee2d33eccf7437961b6ea7ad8673e2be040b4f7fd4fd4d4d28d9ccb1e"}, - {file = "coverage-7.2.7-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:b7aa5f8a41217360e600da646004f878250a0d6738bcdc11a0a39928d7dc2050"}, - {file = "coverage-7.2.7-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:8fa03bce9bfbeeef9f3b160a8bed39a221d82308b4152b27d82d8daa7041fee5"}, - {file = "coverage-7.2.7-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:245167dd26180ab4c91d5e1496a30be4cd721a5cf2abf52974f965f10f11419f"}, - {file = "coverage-7.2.7-cp38-cp38-win32.whl", hash = "sha256:d2c2db7fd82e9b72937969bceac4d6ca89660db0a0967614ce2481e81a0b771e"}, - {file = "coverage-7.2.7-cp38-cp38-win_amd64.whl", hash = "sha256:2e07b54284e381531c87f785f613b833569c14ecacdcb85d56b25c4622c16c3c"}, - {file = "coverage-7.2.7-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:537891ae8ce59ef63d0123f7ac9e2ae0fc8b72c7ccbe5296fec45fd68967b6c9"}, - {file = "coverage-7.2.7-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:06fb182e69f33f6cd1d39a6c597294cff3143554b64b9825d1dc69d18cc2fff2"}, - {file = "coverage-7.2.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:201e7389591af40950a6480bd9edfa8ed04346ff80002cec1a66cac4549c1ad7"}, - {file = "coverage-7.2.7-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f6951407391b639504e3b3be51b7ba5f3528adbf1a8ac3302b687ecababf929e"}, - {file = "coverage-7.2.7-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6f48351d66575f535669306aa7d6d6f71bc43372473b54a832222803eb956fd1"}, - {file = "coverage-7.2.7-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:b29019c76039dc3c0fd815c41392a044ce555d9bcdd38b0fb60fb4cd8e475ba9"}, - {file = "coverage-7.2.7-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:81c13a1fc7468c40f13420732805a4c38a105d89848b7c10af65a90beff25250"}, - {file = "coverage-7.2.7-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:975d70ab7e3c80a3fe86001d8751f6778905ec723f5b110aed1e450da9d4b7f2"}, - {file = "coverage-7.2.7-cp39-cp39-win32.whl", hash = "sha256:7ee7d9d4822c8acc74a5e26c50604dff824710bc8de424904c0982e25c39c6cb"}, - {file = "coverage-7.2.7-cp39-cp39-win_amd64.whl", hash = "sha256:eb393e5ebc85245347950143969b241d08b52b88a3dc39479822e073a1a8eb27"}, - {file = "coverage-7.2.7-pp37.pp38.pp39-none-any.whl", hash = "sha256:b7b4c971f05e6ae490fef852c218b0e79d4e52f79ef0c8475566584a8fb3e01d"}, - {file = "coverage-7.2.7.tar.gz", hash = "sha256:924d94291ca674905fe9481f12294eb11f2d3d3fd1adb20314ba89e94f44ed59"}, -] - -[package.dependencies] -tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""} - -[package.extras] -toml = ["tomli"] - -[[package]] -name = "distlib" -version = "0.3.6" -description = "Distribution utilities" -optional = false -python-versions = "*" -files = [ - {file = "distlib-0.3.6-py2.py3-none-any.whl", hash = "sha256:f35c4b692542ca110de7ef0bea44d73981caeb34ca0b9b6b2e6d7790dda8f80e"}, - {file = "distlib-0.3.6.tar.gz", hash = "sha256:14bad2d9b04d3a36127ac97f30b12a19268f211063d8f8ee4f47108896e11b46"}, -] - -[[package]] -name = "exceptiongroup" -version = "1.1.1" -description = "Backport of PEP 654 (exception groups)" -optional = false -python-versions = ">=3.7" -files = [ - {file = "exceptiongroup-1.1.1-py3-none-any.whl", hash = "sha256:232c37c63e4f682982c8b6459f33a8981039e5fb8756b2074364e5055c498c9e"}, - {file = "exceptiongroup-1.1.1.tar.gz", hash = "sha256:d484c3090ba2889ae2928419117447a14daf3c1231d5e30d0aae34f354f01785"}, -] - -[package.extras] -test = ["pytest (>=6)"] - -[[package]] -name = "execnet" -version = "1.9.0" -description = "execnet: rapid multi-Python deployment" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" -files = [ - {file = "execnet-1.9.0-py2.py3-none-any.whl", hash = "sha256:a295f7cc774947aac58dde7fdc85f4aa00c42adf5d8f5468fc630c1acf30a142"}, - {file = "execnet-1.9.0.tar.gz", hash = "sha256:8f694f3ba9cc92cab508b152dcfe322153975c29bda272e2fd7f3f00f36e47c5"}, -] - -[package.extras] -testing = ["pre-commit"] - -[[package]] -name = "filelock" -version = "3.12.0" -description = "A platform independent file lock." -optional = false -python-versions = ">=3.7" -files = [ - {file = "filelock-3.12.0-py3-none-any.whl", hash = "sha256:ad98852315c2ab702aeb628412cbf7e95b7ce8c3bf9565670b4eaecf1db370a9"}, - {file = "filelock-3.12.0.tar.gz", hash = "sha256:fc03ae43288c013d2ea83c8597001b1129db351aad9c57fe2409327916b8e718"}, -] - -[package.extras] -docs = ["furo (>=2023.3.27)", "sphinx (>=6.1.3)", "sphinx-autodoc-typehints (>=1.23,!=1.23.4)"] -testing = ["covdefaults (>=2.3)", "coverage (>=7.2.3)", "diff-cover (>=7.5)", "pytest (>=7.3.1)", "pytest-cov (>=4)", "pytest-mock (>=3.10)", "pytest-timeout (>=2.1)"] - -[[package]] -name = "identify" -version = "2.5.24" -description = "File identification library for Python" -optional = false -python-versions = ">=3.7" -files = [ - {file = "identify-2.5.24-py2.py3-none-any.whl", hash = "sha256:986dbfb38b1140e763e413e6feb44cd731faf72d1909543178aa79b0e258265d"}, - {file = "identify-2.5.24.tar.gz", hash = "sha256:0aac67d5b4812498056d28a9a512a483f5085cc28640b02b258a59dac34301d4"}, -] - -[package.extras] -license = ["ukkonen"] - -[[package]] -name = "idna" -version = "3.4" -description = "Internationalized Domain Names in Applications (IDNA)" -optional = false -python-versions = ">=3.5" -files = [ - {file = "idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"}, - {file = "idna-3.4.tar.gz", hash = "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4"}, -] - -[[package]] -name = "importlib-metadata" -version = "6.6.0" -description = "Read metadata from Python packages" -optional = false -python-versions = ">=3.7" -files = [ - {file = "importlib_metadata-6.6.0-py3-none-any.whl", hash = "sha256:43dd286a2cd8995d5eaef7fee2066340423b818ed3fd70adf0bad5f1fac53fed"}, - {file = "importlib_metadata-6.6.0.tar.gz", hash = "sha256:92501cdf9cc66ebd3e612f1b4f0c0765dfa42f0fa38ffb319b6bd84dd675d705"}, -] - -[package.dependencies] -typing-extensions = {version = ">=3.6.4", markers = "python_version < \"3.8\""} -zipp = ">=0.5" - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -perf = ["ipython"] -testing = ["flake8 (<5)", "flufl.flake8", "importlib-resources (>=1.3)", "packaging", "pyfakefs", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)", "pytest-perf (>=0.9.2)"] - -[[package]] -name = "iniconfig" -version = "2.0.0" -description = "brain-dead simple config-ini parsing" -optional = false -python-versions = ">=3.7" -files = [ - {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, - {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, -] - -[[package]] -name = "nodeenv" -version = "1.8.0" -description = "Node.js virtual environment builder" -optional = false -python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*" -files = [ - {file = "nodeenv-1.8.0-py2.py3-none-any.whl", hash = "sha256:df865724bb3c3adc86b3876fa209771517b0cfe596beff01a92700e0e8be4cec"}, - {file = "nodeenv-1.8.0.tar.gz", hash = "sha256:d51e0c37e64fbf47d017feac3145cdbb58836d7eee8c6f6d3b6880c5456227d2"}, -] - -[package.dependencies] -setuptools = "*" - -[[package]] -name = "packaging" -version = "23.1" -description = "Core utilities for Python packages" -optional = false -python-versions = ">=3.7" -files = [ - {file = "packaging-23.1-py3-none-any.whl", hash = "sha256:994793af429502c4ea2ebf6bf664629d07c1a9fe974af92966e4b8d2df7edc61"}, - {file = "packaging-23.1.tar.gz", hash = "sha256:a392980d2b6cffa644431898be54b0045151319d1e7ec34f0cfed48767dd334f"}, -] - -[[package]] -name = "platformdirs" -version = "3.5.1" -description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -optional = false -python-versions = ">=3.7" -files = [ - {file = "platformdirs-3.5.1-py3-none-any.whl", hash = "sha256:e2378146f1964972c03c085bb5662ae80b2b8c06226c54b2ff4aa9483e8a13a5"}, - {file = "platformdirs-3.5.1.tar.gz", hash = "sha256:412dae91f52a6f84830f39a8078cecd0e866cb72294a5c66808e74d5e88d251f"}, -] - -[package.dependencies] -typing-extensions = {version = ">=4.5", markers = "python_version < \"3.8\""} - -[package.extras] -docs = ["furo (>=2023.3.27)", "proselint (>=0.13)", "sphinx (>=6.2.1)", "sphinx-autodoc-typehints (>=1.23,!=1.23.4)"] -test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.3.1)", "pytest-cov (>=4)", "pytest-mock (>=3.10)"] - -[[package]] -name = "pluggy" -version = "1.0.0" -description = "plugin and hook calling mechanisms for python" -optional = false -python-versions = ">=3.6" -files = [ - {file = "pluggy-1.0.0-py2.py3-none-any.whl", hash = "sha256:74134bbf457f031a36d68416e1509f34bd5ccc019f0bcc952c7b909d06b37bd3"}, - {file = "pluggy-1.0.0.tar.gz", hash = "sha256:4224373bacce55f955a878bf9cfa763c1e360858e330072059e10bad68531159"}, -] - -[package.dependencies] -importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} - -[package.extras] -dev = ["pre-commit", "tox"] -testing = ["pytest", "pytest-benchmark"] - -[[package]] -name = "poetry-semver" -version = "0.1.0" -description = "A semantic versioning library for Python" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" -files = [ - {file = "poetry-semver-0.1.0.tar.gz", hash = "sha256:d809b612aa27b39bf2d0fc9d31b4f4809b0e972646c5f19cfa46c725b7638810"}, - {file = "poetry_semver-0.1.0-py2.py3-none-any.whl", hash = "sha256:4e6349bd7231cc657f0e1930f7b204e87e33dfd63eef5cac869363969515083a"}, -] - -[[package]] -name = "poetry2conda" -version = "0.3.0" -description = "Convert pyproject.toml to environment.yaml" -optional = false -python-versions = ">=3.6,<4.0" -files = [ - {file = "poetry2conda-0.3.0-py3-none-any.whl", hash = "sha256:218618d37331bd6d3d3007edcf21d71802990a0ce9c27e8bb23f739cfa82ed03"}, - {file = "poetry2conda-0.3.0.tar.gz", hash = "sha256:574b6295ff877ff8fb56fe2034160ff9ee9db55a3f3c2faec65458e69125491b"}, -] - -[package.dependencies] -poetry-semver = ">=0.1.0,<0.2.0" -toml = ">=0.10.0,<0.11.0" - -[[package]] -name = "pre-commit" -version = "2.21.0" -description = "A framework for managing and maintaining multi-language pre-commit hooks." -optional = false -python-versions = ">=3.7" -files = [ - {file = "pre_commit-2.21.0-py2.py3-none-any.whl", hash = "sha256:e2f91727039fc39a92f58a588a25b87f936de6567eed4f0e673e0507edc75bad"}, - {file = "pre_commit-2.21.0.tar.gz", hash = "sha256:31ef31af7e474a8d8995027fefdfcf509b5c913ff31f2015b4ec4beb26a6f658"}, -] - -[package.dependencies] -cfgv = ">=2.0.0" -identify = ">=1.0.0" -importlib-metadata = {version = "*", markers = "python_version < \"3.8\""} -nodeenv = ">=0.11.1" -pyyaml = ">=5.1" -virtualenv = ">=20.10.0" - -[[package]] -name = "pytest" -version = "7.3.1" -description = "pytest: simple powerful testing with Python" -optional = false -python-versions = ">=3.7" -files = [ - {file = "pytest-7.3.1-py3-none-any.whl", hash = "sha256:3799fa815351fea3a5e96ac7e503a96fa51cc9942c3753cda7651b93c1cfa362"}, - {file = "pytest-7.3.1.tar.gz", hash = "sha256:434afafd78b1d78ed0addf160ad2b77a30d35d4bdf8af234fe621919d9ed15e3"}, -] - -[package.dependencies] -colorama = {version = "*", markers = "sys_platform == \"win32\""} -exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} -importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} -iniconfig = "*" -packaging = "*" -pluggy = ">=0.12,<2.0" -tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} - -[package.extras] -testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "xmlschema"] - -[[package]] -name = "pytest-cov" -version = "4.1.0" -description = "Pytest plugin for measuring coverage." -optional = false -python-versions = ">=3.7" -files = [ - {file = "pytest-cov-4.1.0.tar.gz", hash = "sha256:3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6"}, - {file = "pytest_cov-4.1.0-py3-none-any.whl", hash = "sha256:6ba70b9e97e69fcc3fb45bfeab2d0a138fb65c4d0d6a41ef33983ad114be8c3a"}, -] - -[package.dependencies] -coverage = {version = ">=5.2.1", extras = ["toml"]} -pytest = ">=4.6" - -[package.extras] -testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualenv"] - -[[package]] -name = "pytest-xdist" -version = "3.3.1" -description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs" -optional = false -python-versions = ">=3.7" -files = [ - {file = "pytest-xdist-3.3.1.tar.gz", hash = "sha256:d5ee0520eb1b7bcca50a60a518ab7a7707992812c578198f8b44fdfac78e8c93"}, - {file = "pytest_xdist-3.3.1-py3-none-any.whl", hash = "sha256:ff9daa7793569e6a68544850fd3927cd257cc03a7ef76c95e86915355e82b5f2"}, -] - -[package.dependencies] -execnet = ">=1.1" -pytest = ">=6.2.0" - -[package.extras] -psutil = ["psutil (>=3.0)"] -setproctitle = ["setproctitle"] -testing = ["filelock"] - -[[package]] -name = "pyyaml" -version = "6.0" -description = "YAML parser and emitter for Python" -optional = false -python-versions = ">=3.6" -files = [ - {file = "PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53"}, - {file = "PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c"}, - {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc"}, - {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a80a78046a72361de73f8f395f1f1e49f956c6be882eed58505a15f3e430962b"}, - {file = "PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f84fbc98b019fef2ee9a1cb3ce93e3187a6df0b2538a651bfb890254ba9f90b5"}, - {file = "PyYAML-6.0-cp310-cp310-win32.whl", hash = "sha256:2cd5df3de48857ed0544b34e2d40e9fac445930039f3cfe4bcc592a1f836d513"}, - {file = "PyYAML-6.0-cp310-cp310-win_amd64.whl", hash = "sha256:daf496c58a8c52083df09b80c860005194014c3698698d1a57cbcfa182142a3a"}, - {file = "PyYAML-6.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d4b0ba9512519522b118090257be113b9468d804b19d63c71dbcf4a48fa32358"}, - {file = "PyYAML-6.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:81957921f441d50af23654aa6c5e5eaf9b06aba7f0a19c18a538dc7ef291c5a1"}, - {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:afa17f5bc4d1b10afd4466fd3a44dc0e245382deca5b3c353d8b757f9e3ecb8d"}, - {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:dbad0e9d368bb989f4515da330b88a057617d16b6a8245084f1b05400f24609f"}, - {file = "PyYAML-6.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:432557aa2c09802be39460360ddffd48156e30721f5e8d917f01d31694216782"}, - {file = "PyYAML-6.0-cp311-cp311-win32.whl", hash = "sha256:bfaef573a63ba8923503d27530362590ff4f576c626d86a9fed95822a8255fd7"}, - {file = "PyYAML-6.0-cp311-cp311-win_amd64.whl", hash = "sha256:01b45c0191e6d66c470b6cf1b9531a771a83c1c4208272ead47a3ae4f2f603bf"}, - {file = "PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:897b80890765f037df3403d22bab41627ca8811ae55e9a722fd0392850ec4d86"}, - {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:50602afada6d6cbfad699b0c7bb50d5ccffa7e46a3d738092afddc1f9758427f"}, - {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:48c346915c114f5fdb3ead70312bd042a953a8ce5c7106d5bfb1a5254e47da92"}, - {file = "PyYAML-6.0-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:98c4d36e99714e55cfbaaee6dd5badbc9a1ec339ebfc3b1f52e293aee6bb71a4"}, - {file = "PyYAML-6.0-cp36-cp36m-win32.whl", hash = "sha256:0283c35a6a9fbf047493e3a0ce8d79ef5030852c51e9d911a27badfde0605293"}, - {file = "PyYAML-6.0-cp36-cp36m-win_amd64.whl", hash = "sha256:07751360502caac1c067a8132d150cf3d61339af5691fe9e87803040dbc5db57"}, - {file = "PyYAML-6.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:819b3830a1543db06c4d4b865e70ded25be52a2e0631ccd2f6a47a2822f2fd7c"}, - {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:473f9edb243cb1935ab5a084eb238d842fb8f404ed2193a915d1784b5a6b5fc0"}, - {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:0ce82d761c532fe4ec3f87fc45688bdd3a4c1dc5e0b4a19814b9009a29baefd4"}, - {file = "PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:231710d57adfd809ef5d34183b8ed1eeae3f76459c18fb4a0b373ad56bedcdd9"}, - {file = "PyYAML-6.0-cp37-cp37m-win32.whl", hash = "sha256:c5687b8d43cf58545ade1fe3e055f70eac7a5a1a0bf42824308d868289a95737"}, - {file = "PyYAML-6.0-cp37-cp37m-win_amd64.whl", hash = "sha256:d15a181d1ecd0d4270dc32edb46f7cb7733c7c508857278d3d378d14d606db2d"}, - {file = "PyYAML-6.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0b4624f379dab24d3725ffde76559cff63d9ec94e1736b556dacdfebe5ab6d4b"}, - {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:213c60cd50106436cc818accf5baa1aba61c0189ff610f64f4a3e8c6726218ba"}, - {file = "PyYAML-6.0-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9fa600030013c4de8165339db93d182b9431076eb98eb40ee068700c9c813e34"}, - {file = "PyYAML-6.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:277a0ef2981ca40581a47093e9e2d13b3f1fbbeffae064c1d21bfceba2030287"}, - {file = "PyYAML-6.0-cp38-cp38-win32.whl", hash = "sha256:d4eccecf9adf6fbcc6861a38015c2a64f38b9d94838ac1810a9023a0609e1b78"}, - {file = "PyYAML-6.0-cp38-cp38-win_amd64.whl", hash = "sha256:1e4747bc279b4f613a09eb64bba2ba602d8a6664c6ce6396a4d0cd413a50ce07"}, - {file = "PyYAML-6.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:055d937d65826939cb044fc8c9b08889e8c743fdc6a32b33e2390f66013e449b"}, - {file = "PyYAML-6.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:e61ceaab6f49fb8bdfaa0f92c4b57bcfbea54c09277b1b4f7ac376bfb7a7c174"}, - {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d67d839ede4ed1b28a4e8909735fc992a923cdb84e618544973d7dfc71540803"}, - {file = "PyYAML-6.0-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:cba8c411ef271aa037d7357a2bc8f9ee8b58b9965831d9e51baf703280dc73d3"}, - {file = "PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:40527857252b61eacd1d9af500c3337ba8deb8fc298940291486c465c8b46ec0"}, - {file = "PyYAML-6.0-cp39-cp39-win32.whl", hash = "sha256:b5b9eccad747aabaaffbc6064800670f0c297e52c12754eb1d976c57e4f74dcb"}, - {file = "PyYAML-6.0-cp39-cp39-win_amd64.whl", hash = "sha256:b3d267842bf12586ba6c734f89d1f5b871df0273157918b0ccefa29deb05c21c"}, - {file = "PyYAML-6.0.tar.gz", hash = "sha256:68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2"}, -] - -[[package]] -name = "requests" -version = "2.31.0" -description = "Python HTTP for Humans." -optional = false -python-versions = ">=3.7" -files = [ - {file = "requests-2.31.0-py3-none-any.whl", hash = "sha256:58cd2187c01e70e6e26505bca751777aa9f2ee0b7f4300988b709f44e013003f"}, - {file = "requests-2.31.0.tar.gz", hash = "sha256:942c5a758f98d790eaed1a29cb6eefc7ffb0d1cf7af05c3d2791656dbd6ad1e1"}, -] - -[package.dependencies] -certifi = ">=2017.4.17" -charset-normalizer = ">=2,<4" -idna = ">=2.5,<4" -urllib3 = ">=1.21.1,<3" - -[package.extras] -socks = ["PySocks (>=1.5.6,!=1.5.7)"] -use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] - -[[package]] -name = "responses" -version = "0.23.1" -description = "A utility library for mocking out the `requests` Python library." -optional = false -python-versions = ">=3.7" -files = [ - {file = "responses-0.23.1-py3-none-any.whl", hash = "sha256:8a3a5915713483bf353b6f4079ba8b2a29029d1d1090a503c70b0dc5d9d0c7bd"}, - {file = "responses-0.23.1.tar.gz", hash = "sha256:c4d9aa9fc888188f0c673eff79a8dadbe2e75b7fe879dc80a221a06e0a68138f"}, -] - -[package.dependencies] -pyyaml = "*" -requests = ">=2.22.0,<3.0" -types-PyYAML = "*" -typing-extensions = {version = "*", markers = "python_version < \"3.8\""} -urllib3 = ">=1.25.10" - -[package.extras] -tests = ["coverage (>=6.0.0)", "flake8", "mypy", "pytest (>=7.0.0)", "pytest-asyncio", "pytest-cov", "pytest-httpserver", "tomli", "tomli-w", "types-requests"] - -[[package]] -name = "setuptools" -version = "67.8.0" -description = "Easily download, build, install, upgrade, and uninstall Python packages" -optional = false -python-versions = ">=3.7" -files = [ - {file = "setuptools-67.8.0-py3-none-any.whl", hash = "sha256:5df61bf30bb10c6f756eb19e7c9f3b473051f48db77fddbe06ff2ca307df9a6f"}, - {file = "setuptools-67.8.0.tar.gz", hash = "sha256:62642358adc77ffa87233bc4d2354c4b2682d214048f500964dbe760ccedf102"}, -] - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-hoverxref (<2)", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (==0.8.3)", "sphinx-reredirects", "sphinxcontrib-towncrier"] -testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pip (>=19.1)", "pip-run (>=8.8)", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] -testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] - -[[package]] -name = "toml" -version = "0.10.2" -description = "Python Library for Tom's Obvious, Minimal Language" -optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" -files = [ - {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, - {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, -] - -[[package]] -name = "tomli" -version = "2.0.1" -description = "A lil' TOML parser" -optional = false -python-versions = ">=3.7" -files = [ - {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, - {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, -] - -[[package]] -name = "types-pyyaml" -version = "6.0.12.10" -description = "Typing stubs for PyYAML" -optional = false -python-versions = "*" -files = [ - {file = "types-PyYAML-6.0.12.10.tar.gz", hash = "sha256:ebab3d0700b946553724ae6ca636ea932c1b0868701d4af121630e78d695fc97"}, - {file = "types_PyYAML-6.0.12.10-py3-none-any.whl", hash = "sha256:662fa444963eff9b68120d70cda1af5a5f2aa57900003c2006d7626450eaae5f"}, -] - -[[package]] -name = "typing-extensions" -version = "4.6.2" -description = "Backported and Experimental Type Hints for Python 3.7+" -optional = false -python-versions = ">=3.7" -files = [ - {file = "typing_extensions-4.6.2-py3-none-any.whl", hash = "sha256:3a8b36f13dd5fdc5d1b16fe317f5668545de77fa0b8e02006381fd49d731ab98"}, - {file = "typing_extensions-4.6.2.tar.gz", hash = "sha256:06006244c70ac8ee83fa8282cb188f697b8db25bc8b4df07be1873c43897060c"}, -] - -[[package]] -name = "urllib3" -version = "2.0.2" -description = "HTTP library with thread-safe connection pooling, file post, and more." -optional = false -python-versions = ">=3.7" -files = [ - {file = "urllib3-2.0.2-py3-none-any.whl", hash = "sha256:d055c2f9d38dc53c808f6fdc8eab7360b6fdbbde02340ed25cfbcd817c62469e"}, - {file = "urllib3-2.0.2.tar.gz", hash = "sha256:61717a1095d7e155cdb737ac7bb2f4324a858a1e2e6466f6d03ff630ca68d3cc"}, -] - -[package.extras] -brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] -secure = ["certifi", "cryptography (>=1.9)", "idna (>=2.0.0)", "pyopenssl (>=17.1.0)", "urllib3-secure-extra"] -socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] -zstd = ["zstandard (>=0.18.0)"] - -[[package]] -name = "virtualenv" -version = "20.23.0" -description = "Virtual Python Environment builder" -optional = false -python-versions = ">=3.7" -files = [ - {file = "virtualenv-20.23.0-py3-none-any.whl", hash = "sha256:6abec7670e5802a528357fdc75b26b9f57d5d92f29c5462ba0fbe45feacc685e"}, - {file = "virtualenv-20.23.0.tar.gz", hash = "sha256:a85caa554ced0c0afbd0d638e7e2d7b5f92d23478d05d17a76daeac8f279f924"}, -] - -[package.dependencies] -distlib = ">=0.3.6,<1" -filelock = ">=3.11,<4" -importlib-metadata = {version = ">=6.4.1", markers = "python_version < \"3.8\""} -platformdirs = ">=3.2,<4" - -[package.extras] -docs = ["furo (>=2023.3.27)", "proselint (>=0.13)", "sphinx (>=6.1.3)", "sphinx-argparse (>=0.4)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=22.12)"] -test = ["covdefaults (>=2.3)", "coverage (>=7.2.3)", "coverage-enable-subprocess (>=1)", "flaky (>=3.7)", "packaging (>=23.1)", "pytest (>=7.3.1)", "pytest-env (>=0.8.1)", "pytest-freezegun (>=0.4.2)", "pytest-mock (>=3.10)", "pytest-randomly (>=3.12)", "pytest-timeout (>=2.1)", "setuptools (>=67.7.1)", "time-machine (>=2.9)"] - -[[package]] -name = "yapf" -version = "0.33.0" -description = "A formatter for Python code." -optional = false -python-versions = "*" -files = [ - {file = "yapf-0.33.0-py2.py3-none-any.whl", hash = "sha256:4c2b59bd5ffe46f3a7da48df87596877189148226ce267c16e8b44240e51578d"}, - {file = "yapf-0.33.0.tar.gz", hash = "sha256:da62bdfea3df3673553351e6246abed26d9fe6780e548a5af9e70f6d2b4f5b9a"}, -] - -[package.dependencies] -tomli = ">=2.0.1" - -[[package]] -name = "zipp" -version = "3.15.0" -description = "Backport of pathlib-compatible object wrapper for zip files" -optional = false -python-versions = ">=3.7" -files = [ - {file = "zipp-3.15.0-py3-none-any.whl", hash = "sha256:48904fc76a60e542af151aded95726c1a5c34ed43ab4134b597665c86d7ad556"}, - {file = "zipp-3.15.0.tar.gz", hash = "sha256:112929ad649da941c23de50f356a2b5570c954b65150642bccdd66bf194d224b"}, -] - -[package.extras] -docs = ["furo", "jaraco.packaging (>=9)", "jaraco.tidelift (>=1.4)", "rst.linker (>=1.9)", "sphinx (>=3.5)", "sphinx-lint"] -testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more-itertools", "pytest (>=6)", "pytest-black (>=0.3.7)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=1.3)", "pytest-flake8", "pytest-mypy (>=0.9.1)"] - -[metadata] -lock-version = "2.0" -python-versions = ">=3.7, <4.0" -content-hash = "b6ff1c016cffbcd76fb5a342e2beadce57e4a3ec3895cf33f2cad26348c25dfc" diff --git a/pyproject.toml b/pyproject.toml index 1be49abf..a2084913 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,31 +1,32 @@ -[tool.poetry] -name = "openrouteservice" -version = "2.3.3" -description = "Python client for requests to openrouteservice API services." -authors = ["Julian Psotta "] -readme = 'README.rst' -license = "Apache2" - -[tool.poetry.dependencies] -python = ">=3.7, <4.0" -requests = ">=2.31.0" -responses = ">=0.23.1" -poetry2conda = "^0.3.0" - - -[tool.poetry.dev-dependencies] -pytest = ">=7.3.1" -pytest-cov = ">=4.1.0" -yapf = ">=0.33.0" -importlib-metadata = ">=6.6.0" -virtualenv = { version = ">=20.23.0", python = ">=3.6, <4.0" } -pre-commit = { version = ">=2.21.0", python = ">=3.6, <4.0" } -coverage = "^7.2.7" -pytest-xdist = "^3.3.1" +[build-system] +requires = ["setuptools", "setuptools-scm"] +build-backend = "setuptools.build_meta" -[tool.pytest.ini_options] -addopts = "--cov=openrouteservice --cov-report xml --cov-report term-missing --cov-fail-under 96 -n auto" +[project] +name = "orspytest" +version = "7.1.0.post13" +authors = [ + {name = "HeiGIT gGmbH", email = "support@smartmobility.heigit.org"}, +] +description = "Python client for requests to openrouteservice API services" +readme = "README.md" +requires-python = ">=3.7" +keywords = ["routing","accessibility","router","OSM","ORS","openrouteservice","openstreetmap","isochrone","POI","elevation","DEM","swagger"] +license = {text = "Apache 2.0"} +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", +] +dependencies = [ + "urllib3 >= 1.15", + "six >= 1.10", + "certifi", + "python-dateutil" +] -[build-system] -requires = ["poetry-core>=1.0.0"] -build-backend = "poetry.core.masonry.api" +[project.urls] +"Homepage" = "https://openrouteservice.org/" +"Forum" = "https://ask.openrouteservice.org/c/sdks" +"API Documentation" = "https://openrouteservice.org/documentation/" +"API Terms of service" = "https://openrouteservice.org/terms-of-service/" \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..bafdc075 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +certifi >= 14.05.14 +six >= 1.10 +python_dateutil >= 2.5.3 +setuptools >= 21.0.0 +urllib3 >= 1.15.1 diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..cf729d55 --- /dev/null +++ b/setup.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from setuptools import setup, find_packages # noqa: H301 + +NAME = "openrouteservice" +VERSION = "7.1.0.post6" +# To install the library, run the following +# +# python setup.py install +# +# prerequisite: setuptools +# http://pypi.python.org/pypi/setuptools + +REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"] + +setup( + name=NAME, + version=VERSION, + description="Openrouteservice", + author_email="support@smartmobility.heigit.org", + url="https://openrouteservice.org", + keywords=["routing","accessibility","router","OSM","ORS","openrouteservice","openstreetmap","isochrone","POI","elevation","DEM","swagger"], + install_requires=REQUIRES, + packages=find_packages(), + include_package_data=True, + long_description="""\ + Python client for requests to openrouteservice API services + """ +) diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 00000000..d88e2832 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,5 @@ +coverage>=4.0.3 +nose-py3>=1.6.2 +pluggy>=0.3.1 +py>=1.4.31 +randomize>=0.13 diff --git a/test/__init__.py b/test/__init__.py index 18f68289..576f56f8 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -1,51 +1 @@ -# Copyright 2014 Google Inc. All rights reserved. -# -# Modifications Copyright (C) 2018 HeiGIT, University of Heidelberg. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -# - -import unittest -import openrouteservice - -from urllib.parse import urlparse, parse_qsl - -# For relative imports to work in Python 3.6 -import os -import sys - -sys.path.append(os.path.dirname(os.path.realpath(__file__))) - - -class TestCase(unittest.TestCase): - def setUp(self): - self.key = "sample_key" - self.client = openrouteservice.Client(self.key) - - def assertURLEqual(self, first, second, msg=None): - """Check that two arguments are equivalent URLs. Ignores the order of - query arguments. - """ - first_parsed = urlparse(first) - second_parsed = urlparse(second) - self.assertEqual(first_parsed[:3], second_parsed[:3], msg) - - first_qsl = sorted(parse_qsl(first_parsed.query)) - second_qsl = sorted(parse_qsl(second_parsed.query)) - self.assertEqual(first_qsl, second_qsl, msg) - - def assertDictContainsSubset(self, a, b, **kwargs): - """Replaces deprecated unittest.TestCase.assertDictContainsSubset""" - c = dict([(k, b[k]) for k in a.keys() if k in b.keys()]) - self.assertEqual(a, c) +# coding: utf-8 \ No newline at end of file diff --git a/test/test_alternative_routes.py b/test/test_alternative_routes.py new file mode 100644 index 00000000..512ddc5a --- /dev/null +++ b/test/test_alternative_routes.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.alternative_routes import AlternativeRoutes # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestAlternativeRoutes(unittest.TestCase): + """AlternativeRoutes unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testAlternativeRoutes(self): + """Test AlternativeRoutes""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.alternative_routes.AlternativeRoutes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_client.py b/test/test_client.py deleted file mode 100644 index f1673db1..00000000 --- a/test/test_client.py +++ /dev/null @@ -1,182 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2014 Google Inc. All rights reserved. -# -# Modifications Copyright (C) 2018 HeiGIT, University of Heidelberg. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -# -"""Tests for client module.""" - -import responses -import time - -import openrouteservice -from test.test_helper import * -import test as _test - - -class ClientTest(_test.TestCase): - def test_no_api_key(self): - with self.assertRaises(ValueError): - client = openrouteservice.Client() - client.directions(PARAM_LINE) - - def test_invalid_api_key(self): - with self.assertRaises(openrouteservice.exceptions.ApiError): - client = openrouteservice.Client(key="Invalid key.") - client.directions(PARAM_LINE) - - def test_urlencode(self): - encoded_params = openrouteservice.client._urlencode_params( - [("address", "=Sydney ~")] - ) - self.assertEqual("address=%3DSydney+~", encoded_params) - - @responses.activate - def test_raise_over_query_limit(self): - valid_query = ENDPOINT_DICT["directions"] - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/directions/{}/geojson".format( - valid_query["profile"] - ), - json=valid_query, - status=429, - content_type="application/json", - ) - - with self.assertRaises(openrouteservice.exceptions._OverQueryLimit): - client = openrouteservice.Client( - key=self.key, retry_over_query_limit=False - ) - client.directions(**valid_query) - - with self.assertRaises(openrouteservice.exceptions.Timeout): - client = openrouteservice.Client( - key=self.key, retry_over_query_limit=True, retry_timeout=3 - ) - client.directions(**valid_query) - - @responses.activate - def test_raise_timeout_retriable_requests(self): - # Mock query gives 503 as HTTP status, code should try a few times to - # request the same and then fail on Timout() error. - retry_timeout = 3 - valid_query = ENDPOINT_DICT["directions"] - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/directions/{}/geojson".format( - valid_query["profile"] - ), - json=valid_query, - status=503, - content_type="application/json", - ) - - client = openrouteservice.Client( - key=self.key, retry_timeout=retry_timeout - ) - - start = time.time() - with self.assertRaises(openrouteservice.exceptions.Timeout): - client.directions(**valid_query) - end = time.time() - self.assertTrue(retry_timeout < end - start < 3 * retry_timeout) - - @responses.activate - def test_host_override_with_parameters(self): - # Test if it's possible to override host for individual hosting. - responses.add( - responses.GET, - "https://foo.com/bar", - body='{"status":"OK","results":[]}', - status=200, - content_type="application/json", - ) - - client = openrouteservice.Client(base_url="https://foo.com") - client.request("/bar", {"bunny": "pretty", "fox": "prettier"}) - - request = client.req - - self.assertEqual( - "https://foo.com/bar?bunny=pretty&fox=prettier", request.url - ) - self.assertEqual("GET", request.method) - self.assertEqual({"bunny": "pretty", "fox": "prettier"}, request.params) - - self.assertURLEqual( - "https://foo.com/bar?bunny=pretty&fox=prettier", - responses.calls[0].request.url, - ) - self.assertEqual(1, len(responses.calls)) - - @responses.activate - def test_dry_run(self): - # Test that nothing is requested when dry_run is 'true' - - responses.add( - responses.GET, - "https://api.openrouteservice.org/directions", - body='{"status":"OK","results":[]}', - status=200, - content_type="application/json", - ) - - req = self.client.request( - get_params={"format_out": "geojson"}, - url="directions/", - dry_run="true", - ) - - self.assertEqual(0, len(responses.calls)) - - @responses.activate - def test_no_get_parameter(self): - responses.add( - responses.POST, - "https://api.openrouteservice.org/directions", - body='{"status":"OK","results":[]}', - status=200, - content_type="application/json", - ) - - req = self.client.request( - post_json={}, url="v2/directions/driving-car/json", dry_run="true" - ) - - self.assertEqual(0, len(responses.calls)) - - # Test if the client works with a post request without a get parameter - - @responses.activate - def test_key_in_header(self): - # Test that API key is being put in the Authorization header - query = ENDPOINT_DICT["directions"] - - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/directions/{}/geojson".format( - query["profile"] - ), - json=ENDPOINT_DICT["directions"], - status=200, - content_type="application/json", - ) - - resp = self.client.directions(**query) - - self.assertDictContainsSubset( - {"Authorization": self.key}, responses.calls[0].request.headers - ) diff --git a/test/test_convert.py b/test/test_convert.py deleted file mode 100644 index e0cea774..00000000 --- a/test/test_convert.py +++ /dev/null @@ -1,113 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2014 Google Inc. All rights reserved. -# -# Modifications Copyright (C) 2018 HeiGIT, University of Heidelberg. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -# -"""Tests for the convert module.""" - -import unittest - -from openrouteservice import convert - - -class ConvertTest(unittest.TestCase): - def test_build_single_coord_tuple(self): - expected = "1,2" - ll = (1, 2) - self.assertEqual(expected, convert._build_coords(ll)) - - ll = [1, 2] - self.assertEqual(expected, convert._build_coords(ll)) - - with self.assertRaises(TypeError): - convert._build_coords(1) - - with self.assertRaises(TypeError): - convert._build_coords({"lat": 1, "lon": 2}) - - with self.assertRaises(TypeError): - convert._build_coords("1,2") - - def test_build_multi_coord_tuple(self): - expected = "1,2|3,4" - - ll = ((1, 2), (3, 4)) - self.assertEqual(expected, convert._build_coords(ll)) - - ll = [(1, 2), (3, 4)] - self.assertEqual(expected, convert._build_coords(ll)) - - ll = ([1, 2], [3, 4]) - self.assertEqual(expected, convert._build_coords(ll)) - - ll = [[1, 2], [3, 4]] - self.assertEqual(expected, convert._build_coords(ll)) - - with self.assertRaises(TypeError): - convert._build_coords({{"lat": 1, "lon": 2}, {"lat": 3, "lon": 4}}) - - with self.assertRaises(TypeError): - convert._build_coords("[1,2],[3,4]") - - def test_convert_bool(self): - self.assertEqual("true", convert._convert_bool("True")) - self.assertEqual("true", convert._convert_bool("true")) - self.assertEqual("true", convert._convert_bool(True)) - - def test_polyline_decode_3d(self): - syd_mel_route = ( - r"mlqlHat`t@OiACMvAs@HCPGJ?JAJBRFTRLJPNHDNDJ" - "@D?fACRAZCPAb@AF?HAfBQJEDAn@QFC@QD_@@QFe@Bg" - "@@KBy@?M@a@@q@?iE?C?OGgAkEwUQ{@c@gBQeAYeCIe" - "AWmDAIImACUOyBIeAC}@Ey@?QLC@_@@KBiAVmDF]Ni@" - "Zu@RYBA^_@~A{A`Ai@JCPGf@Qf@]X_@BMAMIKuBTI?G" - "E?A?ADOnCsB\c@DGDIl@sAJUFMBGJUP[DCD@DP@l@?R" - "?h@Bx@PnAAl@?BAFc@rAAB?@BRHBFEN[FQFQRg@Rw@J" - "g@Ny@DUDOJe@N_ADm@BkBGcC@s@Du@l@eEZgBP_AHe@" - "He@Fc@RuATaA?SCWAGIOQS[Qu@Ym@C}@R{@`@m@p@Wj" - "@]nAGBE?KGAE?E?KVcB`@eB^mAn@uALUJSj@y@fA}@f" - "@k@BGHM^k@r@qAHSLU^i@bA_Af@q@PYFKHIHCJ?RLFN" - "XjAj@tDj@rERzBLzCHp@xAdKLf@RXTDNEBCFGDEDE@G" - "@GDKBGRc@Xi@N[JUf@u@l@o@f@c@h@]XMfQ}D|EcAlA" - "ORIJQ?C?CAUKOSGwAMa@M_EsBcBqA_A{@k@q@sCcEi@" - "gAWo@[gAYyAMy@y@aNMyAc@uDS_As@uBMc@Ig@SeBKc" - "@Uy@AI@A]GGCMIiCmAGCWMqAk@" - ) - - points = convert.decode_polyline(syd_mel_route, True)["coordinates"] - self.assertEqual(len(points[0]), 3) - self.assertAlmostEqual(8.69201, points[0][0], places=5) - self.assertAlmostEqual(49.410151, points[0][1], places=5) - self.assertAlmostEqual(0.1, points[0][2], places=2) - self.assertAlmostEqual(8.69917, points[-1][0], places=5) - self.assertAlmostEqual(49.41868, points[-1][1], places=5) - self.assertAlmostEqual(12.5, points[-1][2], places=2) - - def test_polyline_decode_2d(self): - syd_mel_route = r"u`rgFswjpAKD" - - points = convert.decode_polyline(syd_mel_route, False)["coordinates"] - self.assertEqual(len(points[0]), 2) - self.assertAlmostEqual([13.3313, 38.10843], points[0], places=5) - self.assertAlmostEqual([13.33127, 38.10849], points[1], places=5) - - def test_pipe_list_bad_argument(self): - with self.assertRaises(TypeError): - convert._pipe_list(5) - - def test_comma_list_bad_argument(self): - with self.assertRaises(TypeError): - convert._comma_list(5) diff --git a/test/test_deprecation_warning.py b/test/test_deprecation_warning.py deleted file mode 100644 index 0377f861..00000000 --- a/test/test_deprecation_warning.py +++ /dev/null @@ -1,13 +0,0 @@ -import warnings - -from openrouteservice import deprecation - -with warnings.catch_warnings(record=True) as w: - # Cause all warnings to always be triggered. - warnings.simplefilter("always") - # Trigger a warning. - deprecation.warning("foo", "bar") - # Verify some things - assert len(w) == 1 - assert issubclass(w[-1].category, DeprecationWarning) - assert "deprecated" in str(w[-1].message) diff --git a/test/test_directions.py b/test/test_directions.py deleted file mode 100644 index 6fb3b664..00000000 --- a/test/test_directions.py +++ /dev/null @@ -1,230 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2014 Google Inc. All rights reserved. -# -# Modifications Copyright (C) 2018 HeiGIT, University of Heidelberg. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -# -"""Tests for the directions module.""" - -import responses -import warnings - -import test as _test -from copy import deepcopy - -from openrouteservice import exceptions -from test.test_helper import ENDPOINT_DICT, GPX_RESPONSE - - -class DirectionsTest(_test.TestCase): - valid_query = ENDPOINT_DICT["directions"] - - @responses.activate - def test_directions(self): - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/directions/{}/geojson".format( - self.valid_query["profile"] - ), - json=self.valid_query, - status=200, - content_type="application/json", - ) - - resp = self.client.directions(**self.valid_query) - - self.assertEqual(resp, self.valid_query) - self.assertIn("sample_key", responses.calls[0].request.headers.values()) - - @responses.activate - def test_directions_gpx(self): - query = deepcopy(self.valid_query) - query["format"] = "gpx" - - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/directions/{}/gpx".format( - self.valid_query["profile"] - ), - body=GPX_RESPONSE, - status=200, - content_type="application/gpx+xml;charset=UTF-8", - ) - - resp = self.client.directions(**query) - - self.assertEqual(resp, GPX_RESPONSE) - self.assertIn("sample_key", responses.calls[0].request.headers.values()) - - @responses.activate - def test_directions_incompatible_parameters(self): - self.valid_query["optimized"] = True - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/directions/{}/geojson".format( - self.valid_query["profile"] - ), - json=self.valid_query, - status=200, - content_type="application/json", - ) - - resp = self.client.directions(**self.valid_query) - - self.assertEqual(resp, self.valid_query) - self.assertIn("sample_key", responses.calls[0].request.headers.values()) - - def test_format_out_deprecation(self): - bad_query = deepcopy(self.valid_query) - bad_query["format_out"] = "json" - bad_query["dry_run"] = True - - with warnings.catch_warnings(record=True) as w: - # Cause all warnings to always be triggered. - warnings.simplefilter("always") - # Trigger a warning. - _ = self.client.directions(**bad_query) - - assert len(w) == 1 - assert issubclass(w[-1].category, DeprecationWarning) - assert "deprecated" in str(w[-1].message) - - def test_optimized_waypoints(self): - query = deepcopy(self.valid_query) - query["coordinates"] = [ - [8.688641, 49.420577], - [8.680916, 49.415776], - [8.688641, 49.420577], - [8.680916, 49.415776], - ] - query["optimize_waypoints"] = True - - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/directions/{}/geojson".format( - query["profile"] - ), - json=query, - status=200, - content_type="application/json", - ) - - # Too exhausting to really test this - with self.assertRaises(exceptions.ApiError): - resp = self.client.directions(**query) - - def test_optimized_waypoints_shuffle(self): - query = deepcopy(self.valid_query) - query["coordinates"] = [ - [8.688641, 49.420577], - [8.680916, 49.415776], - [8.688641, 49.420577], - [8.680916, 49.415776], - ] - query["optimize_waypoints"] = True - query.pop("options") - - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/directions/{}/geojson".format( - query["profile"] - ), - json=query, - status=200, - content_type="application/json", - ) - with self.assertRaises(exceptions.ApiError): - resp = self.client.directions(**query) - - @responses.activate - def test_optimize_warnings(self): - query = deepcopy(self.valid_query) - query["optimize_waypoints"] = True - - # Test Coordinates - - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/directions/{}/geojson".format( - query["profile"] - ), - json=query, - status=200, - content_type="application/json", - ) - - with warnings.catch_warnings(record=True) as w: - # Cause all warnings to always be triggered. - warnings.simplefilter("always") - - resp = self.client.directions(**query) - - assert len(w) == 1 - assert issubclass(w[-1].category, UserWarning) - assert "4 coordinates" in str(w[-1].message) - - # Test Options - - query["coordinates"] = [ - [8.688641, 49.420577], - [8.680916, 49.415776], - [8.688641, 49.420577], - [8.680916, 49.415776], - ] - - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/directions/{}/geojson".format( - query["profile"] - ), - json=query, - status=200, - content_type="application/json", - ) - - with warnings.catch_warnings(record=True) as w: - # Cause all warnings to always be triggered. - warnings.simplefilter("always") - - resp = self.client.directions(**query) - - assert len(w) == 1 - assert issubclass(w[-1].category, UserWarning) - assert "Options" in str(w[-1].message) - - # Test Preference - - query["options"] = None - query["preference"] = "shortest" - - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/directions/{}/geojson".format( - query["profile"] - ), - json=query, - status=200, - content_type="application/json", - ) - - with warnings.catch_warnings(record=True) as w: - # Cause all warnings to always be triggered. - warnings.simplefilter("always") - - resp = self.client.directions(**query) - - assert len(w) == 1 - assert issubclass(w[-1].category, UserWarning) - assert "Shortest" in str(w[-1].message) diff --git a/test/test_directions_service.py b/test/test_directions_service.py new file mode 100644 index 00000000..3c00a3c6 --- /dev/null +++ b/test/test_directions_service.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.directions_service import DirectionsService # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestDirectionsService(unittest.TestCase): + """DirectionsService unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testDirectionsService(self): + """Test DirectionsService""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.directions_service.DirectionsService() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_directions_service1.py b/test/test_directions_service1.py new file mode 100644 index 00000000..7898a730 --- /dev/null +++ b/test/test_directions_service1.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.directions_service1 import DirectionsService1 # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestDirectionsService1(unittest.TestCase): + """DirectionsService1 unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testDirectionsService1(self): + """Test DirectionsService1""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.directions_service1.DirectionsService1() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_directions_service_api.py b/test/test_directions_service_api.py new file mode 100644 index 00000000..50043dad --- /dev/null +++ b/test/test_directions_service_api.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 8.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: v2 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.api.directions_service_api import DirectionsServiceApi # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestDirectionsServiceApi(unittest.TestCase): + """DirectionsServiceApi unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + self.api = DirectionsServiceApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + + def tearDown(self): + pass + + def test_get_geo_json_route(self): + """Test case for get_geo_json_route + + Directions Service GeoJSON # noqa: E501 + """ + body = openrouteservice.DirectionsService( + coordinates=[[8.681495,49.41461],[8.686507,49.41943],[8.687872,49.420318]] + ) + profile = 'driving-car' + response = self.api.get_geo_json_route(body, profile) + self.assertEqual(response.bbox, [8.681423, 49.414599, 8.690123, 49.420514]) + + #def test_get_gpx_route(self): + # """Test case for get_gpx_route + # + # Directions Service GPX # noqa: E501 + # """ + # coordinates = [[8.681495,49.41461],[8.686507,49.41943],[8.687872,49.420318]] + # body = openrouteservice.DirectionsService1( + # coordinates=coordinates + # ) + # profile = 'driving-car' + # response = self.api.get_gpx_route(body, profile) + # self.assertIsNotNone(response) + + def test_get_json_route(self): + """Test case for get_json_route + + Directions Service JSON # noqa: E501 + """ + body = openrouteservice.DirectionsService1( + coordinates=[[8.681495,49.41461],[8.686507,49.41943],[8.687872,49.420318]] + ) + profile = 'driving-car' + response = self.api.get_json_route(body, profile) + self.assertIsNotNone(response) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_distance_matrix.py b/test/test_distance_matrix.py deleted file mode 100644 index 6047af6c..00000000 --- a/test/test_distance_matrix.py +++ /dev/null @@ -1,45 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2014 Google Inc. All rights reserved. -# -# Modifications Copyright (C) 2018 HeiGIT, University of Heidelberg. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -# -"""Tests for the distance matrix module.""" -import responses -import test as _test - -from test.test_helper import ENDPOINT_DICT, PARAM_LINE - - -class DistanceMatrixTest(_test.TestCase): - valid_query = ENDPOINT_DICT["distance_matrix"] - - @responses.activate - def test_matrix(self): - query = self.valid_query.copy() - query["locations"] = tuple([tuple(x) for x in PARAM_LINE]) - - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/matrix/{}/json".format( - query["profile"] - ), - json=query, - status=200, - content_type="application/json", - ) - - resp = self.client.distance_matrix(**query) - self.assertEqual(resp, self.valid_query) diff --git a/test/test_elevation.py b/test/test_elevation.py deleted file mode 100644 index f44bc523..00000000 --- a/test/test_elevation.py +++ /dev/null @@ -1,55 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018 HeiGIT, University of Heidelberg. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -"""Tests for the distance matrix module.""" -import responses -import test as _test - -from test.test_helper import ENDPOINT_DICT - - -class ElevationTest(_test.TestCase): - valid_query = ENDPOINT_DICT["elevation_line"] - - @responses.activate - def test_elevation_line(self): - responses.add( - responses.POST, - "https://api.openrouteservice.org/elevation/line", - json=self.valid_query, - status=200, - content_type="application/json", - ) - - resp = self.client.elevation_line(**self.valid_query) - - self.assertEqual(len(responses.calls), 1) - self.assertEqual(resp, self.valid_query) - - @responses.activate - def test_elevation_point(self): - query = ENDPOINT_DICT["elevation_point"] - responses.add( - responses.POST, - "https://api.openrouteservice.org/elevation/point", - json=self.valid_query, - status=200, - content_type="application/json", - ) - - resp = self.client.elevation_point(**query) - - self.assertEqual(len(responses.calls), 1) - self.assertEqual(resp, self.valid_query) diff --git a/test/test_elevation_api.py b/test/test_elevation_api.py new file mode 100644 index 00000000..8aa84390 --- /dev/null +++ b/test/test_elevation_api.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 8.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: v2 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.api.elevation_api import ElevationApi # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestElevationApi(unittest.TestCase): + """ElevationApi unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + self.api = ElevationApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + + def tearDown(self): + pass + + def test_elevation_line_post(self): + """Test case for elevation_line_post + + Elevation Line Service # noqa: E501 + """ + body = openrouteservice.ElevationLineBody( + format_in="encodedpolyline5", + geometry="u`rgFswjpAKD" + ) + response = self.api.elevation_line_post(body) + self.assertEqual(response.geometry.coordinates[0], [13.3313, 38.10843, 72.0]) + + def test_elevation_point_get(self): + """Test case for elevation_point_get + + Elevation Point Service # noqa: E501 + """ + response = self.api.elevation_point_get(geometry=[13.331273, 38.10849]) + self.assertEqual(response.geometry.coordinates, [13.331273,38.10849,72]) + + def test_elevation_point_post(self): + """Test case for elevation_point_post + + Elevation Point Service # noqa: E501 + """ + body = openrouteservice.ElevationPointBody( + format_in='point', + geometry=[13.331273, 38.10849] + ) + + response = self.api.elevation_point_post(body) + self.assertEqual(response.geometry.coordinates, [13.331273,38.10849,72]) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_elevation_line_body.py b/test/test_elevation_line_body.py new file mode 100644 index 00000000..833195af --- /dev/null +++ b/test/test_elevation_line_body.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.elevation_line_body import ElevationLineBody # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestElevationLineBody(unittest.TestCase): + """ElevationLineBody unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testElevationLineBody(self): + """Test ElevationLineBody""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.elevation_line_body.ElevationLineBody() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_elevation_point_body.py b/test/test_elevation_point_body.py new file mode 100644 index 00000000..1e5e4c96 --- /dev/null +++ b/test/test_elevation_point_body.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.elevation_point_body import ElevationPointBody # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestElevationPointBody(unittest.TestCase): + """ElevationPointBody unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testElevationPointBody(self): + """Test ElevationPointBody""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.elevation_point_body.ElevationPointBody() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_engine_info.py b/test/test_engine_info.py new file mode 100644 index 00000000..b9fdfebd --- /dev/null +++ b/test/test_engine_info.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.engine_info import EngineInfo # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestEngineInfo(unittest.TestCase): + """EngineInfo unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testEngineInfo(self): + """Test EngineInfo""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.engine_info.EngineInfo() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_exceptions.py b/test/test_exceptions.py deleted file mode 100644 index c617b4b9..00000000 --- a/test/test_exceptions.py +++ /dev/null @@ -1,60 +0,0 @@ -from openrouteservice.exceptions import ( - ValidationError, - ApiError, - HTTPError, - Timeout, - _RetriableRequest, - _OverQueryLimit, -) - -import test as _test - -from pprint import pprint - - -class ExceptionTest(_test.TestCase): - def test_ValidationError(self): - exception = ValidationError("hamspam") - - pprint(exception.__dict__) - self.assertIsInstance(exception, Exception) - - def test_ApIError(self): - exception = ApiError(500, "hamspam") - - pprint(exception.__dict__) - - self.assertEqual(exception.status, 500) - self.assertEqual(exception.message, "hamspam") - - self.assertEqual(str(exception), "500 (hamspam)") - - exception = ApiError(500) - - self.assertEqual(str(exception), "500") - - def test_HTTPError(self): - exception = HTTPError(500) - - self.assertEqual(exception.status_code, 500) - - self.assertEqual(str(exception), "HTTP Error: 500") - - def test_Timeout(self): - exception = Timeout() - - self.assertIsInstance(exception, Exception) - - def test_RetriableRequest(self): - exception = _RetriableRequest() - - self.assertIsInstance(exception, Exception) - - def test_OverQueryLimit(self): - exception = _OverQueryLimit(500, "hamspam") - - self.assertIsInstance(exception, Exception) - self.assertIsInstance(exception, ApiError) - self.assertIsInstance(exception, _RetriableRequest) - - self.assertEqual(str(exception), "500 (hamspam)") diff --git a/test/test_geo_json_features_object.py b/test/test_geo_json_features_object.py new file mode 100644 index 00000000..88c4d69a --- /dev/null +++ b/test/test_geo_json_features_object.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_features_object import GeoJSONFeaturesObject # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONFeaturesObject(unittest.TestCase): + """GeoJSONFeaturesObject unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONFeaturesObject(self): + """Test GeoJSONFeaturesObject""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_features_object.GeoJSONFeaturesObject() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_geometry_object.py b/test/test_geo_json_geometry_object.py new file mode 100644 index 00000000..9e75de83 --- /dev/null +++ b/test/test_geo_json_geometry_object.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_geometry_object import GeoJSONGeometryObject # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONGeometryObject(unittest.TestCase): + """GeoJSONGeometryObject unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONGeometryObject(self): + """Test GeoJSONGeometryObject""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_geometry_object.GeoJSONGeometryObject() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_isochrone_base.py b/test/test_geo_json_isochrone_base.py new file mode 100644 index 00000000..361cf33b --- /dev/null +++ b/test/test_geo_json_isochrone_base.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_isochrone_base import GeoJSONIsochroneBase # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONIsochroneBase(unittest.TestCase): + """GeoJSONIsochroneBase unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONIsochroneBase(self): + """Test GeoJSONIsochroneBase""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_isochrone_base.GeoJSONIsochroneBase() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_isochrone_base_geometry.py b/test/test_geo_json_isochrone_base_geometry.py new file mode 100644 index 00000000..d5806f8a --- /dev/null +++ b/test/test_geo_json_isochrone_base_geometry.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_isochrone_base_geometry import GeoJSONIsochroneBaseGeometry # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONIsochroneBaseGeometry(unittest.TestCase): + """GeoJSONIsochroneBaseGeometry unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONIsochroneBaseGeometry(self): + """Test GeoJSONIsochroneBaseGeometry""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_isochrone_base_geometry.GeoJSONIsochroneBaseGeometry() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_isochrones_response.py b/test/test_geo_json_isochrones_response.py new file mode 100644 index 00000000..7b520f95 --- /dev/null +++ b/test/test_geo_json_isochrones_response.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_isochrones_response import GeoJSONIsochronesResponse # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONIsochronesResponse(unittest.TestCase): + """GeoJSONIsochronesResponse unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONIsochronesResponse(self): + """Test GeoJSONIsochronesResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_isochrones_response.GeoJSONIsochronesResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_isochrones_response_features.py b/test/test_geo_json_isochrones_response_features.py new file mode 100644 index 00000000..800dc49e --- /dev/null +++ b/test/test_geo_json_isochrones_response_features.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_isochrones_response_features import GeoJSONIsochronesResponseFeatures # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONIsochronesResponseFeatures(unittest.TestCase): + """GeoJSONIsochronesResponseFeatures unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONIsochronesResponseFeatures(self): + """Test GeoJSONIsochronesResponseFeatures""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_isochrones_response_features.GeoJSONIsochronesResponseFeatures() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_isochrones_response_metadata.py b/test/test_geo_json_isochrones_response_metadata.py new file mode 100644 index 00000000..bc0a00ed --- /dev/null +++ b/test/test_geo_json_isochrones_response_metadata.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_isochrones_response_metadata import GeoJSONIsochronesResponseMetadata # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONIsochronesResponseMetadata(unittest.TestCase): + """GeoJSONIsochronesResponseMetadata unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONIsochronesResponseMetadata(self): + """Test GeoJSONIsochronesResponseMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_isochrones_response_metadata.GeoJSONIsochronesResponseMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_isochrones_response_metadata_engine.py b/test/test_geo_json_isochrones_response_metadata_engine.py new file mode 100644 index 00000000..0f9ed6a6 --- /dev/null +++ b/test/test_geo_json_isochrones_response_metadata_engine.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_isochrones_response_metadata_engine import GeoJSONIsochronesResponseMetadataEngine # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONIsochronesResponseMetadataEngine(unittest.TestCase): + """GeoJSONIsochronesResponseMetadataEngine unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONIsochronesResponseMetadataEngine(self): + """Test GeoJSONIsochronesResponseMetadataEngine""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_isochrones_response_metadata_engine.GeoJSONIsochronesResponseMetadataEngine() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_properties_object.py b/test/test_geo_json_properties_object.py new file mode 100644 index 00000000..cfa857ac --- /dev/null +++ b/test/test_geo_json_properties_object.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_properties_object import GeoJSONPropertiesObject # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONPropertiesObject(unittest.TestCase): + """GeoJSONPropertiesObject unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONPropertiesObject(self): + """Test GeoJSONPropertiesObject""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_properties_object.GeoJSONPropertiesObject() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_properties_object_category_ids.py b/test/test_geo_json_properties_object_category_ids.py new file mode 100644 index 00000000..c878675f --- /dev/null +++ b/test/test_geo_json_properties_object_category_ids.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_properties_object_category_ids import GeoJSONPropertiesObjectCategoryIds # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONPropertiesObjectCategoryIds(unittest.TestCase): + """GeoJSONPropertiesObjectCategoryIds unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONPropertiesObjectCategoryIds(self): + """Test GeoJSONPropertiesObjectCategoryIds""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_properties_object_category_ids.GeoJSONPropertiesObjectCategoryIds() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_properties_object_category_ids_category_id.py b/test/test_geo_json_properties_object_category_ids_category_id.py new file mode 100644 index 00000000..3189aeaf --- /dev/null +++ b/test/test_geo_json_properties_object_category_ids_category_id.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_properties_object_category_ids_category_id import GeoJSONPropertiesObjectCategoryIdsCategoryId # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONPropertiesObjectCategoryIdsCategoryId(unittest.TestCase): + """GeoJSONPropertiesObjectCategoryIdsCategoryId unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONPropertiesObjectCategoryIdsCategoryId(self): + """Test GeoJSONPropertiesObjectCategoryIdsCategoryId""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_properties_object_category_ids_category_id.GeoJSONPropertiesObjectCategoryIdsCategoryId() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_properties_object_osm_tags.py b/test/test_geo_json_properties_object_osm_tags.py new file mode 100644 index 00000000..b8aa4e4e --- /dev/null +++ b/test/test_geo_json_properties_object_osm_tags.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_properties_object_osm_tags import GeoJSONPropertiesObjectOsmTags # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONPropertiesObjectOsmTags(unittest.TestCase): + """GeoJSONPropertiesObjectOsmTags unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONPropertiesObjectOsmTags(self): + """Test GeoJSONPropertiesObjectOsmTags""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_properties_object_osm_tags.GeoJSONPropertiesObjectOsmTags() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_route_response.py b/test/test_geo_json_route_response.py new file mode 100644 index 00000000..0d2a515a --- /dev/null +++ b/test/test_geo_json_route_response.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_route_response import GeoJSONRouteResponse # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONRouteResponse(unittest.TestCase): + """GeoJSONRouteResponse unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONRouteResponse(self): + """Test GeoJSONRouteResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_route_response.GeoJSONRouteResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geo_json_route_response_metadata.py b/test/test_geo_json_route_response_metadata.py new file mode 100644 index 00000000..4aa10914 --- /dev/null +++ b/test/test_geo_json_route_response_metadata.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geo_json_route_response_metadata import GeoJSONRouteResponseMetadata # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeoJSONRouteResponseMetadata(unittest.TestCase): + """GeoJSONRouteResponseMetadata unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeoJSONRouteResponseMetadata(self): + """Test GeoJSONRouteResponseMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geo_json_route_response_metadata.GeoJSONRouteResponseMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geocode.py b/test/test_geocode.py deleted file mode 100644 index 18106a2d..00000000 --- a/test/test_geocode.py +++ /dev/null @@ -1,102 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2014 Google Inc. All rights reserved. -# -# Modifications Copyright (C) 2018 HeiGIT, University of Heidelberg. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -"""Tests for the Pelias geocoding module.""" - -import responses - -import test as _test -from test.test_helper import ENDPOINT_DICT - - -class GeocodingPeliasTest(_test.TestCase): - search = ENDPOINT_DICT["pelias_search"] - autocomplete = ENDPOINT_DICT["pelias_autocomplete"] - structured = ENDPOINT_DICT["pelias_structured"] - reverse = ENDPOINT_DICT["pelias_reverse"] - - @responses.activate - def test_pelias_search(self): - responses.add( - responses.GET, - "https://api.openrouteservice.org/geocode/search", - body='{"status":"OK","results":[]}', - status=200, - content_type="application/json", - ) - - results = self.client.pelias_search(**self.search) - - self.assertEqual(1, len(responses.calls)) - self.assertURLEqual( - "https://api.openrouteservice.org/geocode/search?boundary.circle.lat=48.23424&boundary.circle.lon=8.34234&boundary.circle.radius=50&boundary.country=de&boundary.rect.max_lat=501&boundary.rect.max_lon=501&boundary.rect.min_lat=500&boundary.rect.min_lon=500&focus.point.lat=48.23424&focus.point.lon=8.34234&layers=locality%2Ccounty%2Cregion&size=50&sources=osm%2Cwof%2Cgn&text=Heidelberg", - responses.calls[0].request.url, - ) - - @responses.activate - def test_pelias_autocomplete(self): - responses.add( - responses.GET, - "https://api.openrouteservice.org/geocode/autocomplete", - body='{"status":"OK","results":[]}', - status=200, - content_type="application/json", - ) - - results = self.client.pelias_autocomplete(**self.autocomplete) - - self.assertEqual(1, len(responses.calls)) - self.assertURLEqual( - "https://api.openrouteservice.org/geocode/autocomplete?boundary.country=de&boundary.rect.max_lon%09=500&boundary.rect.min_lat%09=500&boundary.rect.min_lon%09=500&focus.point.lat=48.23424&focus.point.lon=8.34234&layers=locality%2Ccounty%2Cregion&sources=osm%2Cwof%2Cgn&text=Heidelberg", - responses.calls[0].request.url, - ) - - @responses.activate - def test_pelias_structured(self): - responses.add( - responses.GET, - "https://api.openrouteservice.org/geocode/search/structured", - body='{"status":"OK","results":[]}', - status=200, - content_type="application/json", - ) - - results = self.client.pelias_structured(**self.structured) - - self.assertEqual(1, len(responses.calls)) - self.assertURLEqual( - "https://api.openrouteservice.org/geocode/search/structured?address=Berliner+Stra%C3%9Fe+45&borough=Heidelberg&country=de&county=Rhein-Neckar-Kreis&locality=Heidelberg&neighbourhood=Neuenheimer+Feld&postalcode=69120®ion=Baden-W%C3%BCrttemberg", - responses.calls[0].request.url, - ) - - @responses.activate - def test_pelias_reverse(self): - responses.add( - responses.GET, - "https://api.openrouteservice.org/geocode/reverse", - body='{"status":"OK","results":[]}', - status=200, - content_type="application/json", - ) - - results = self.client.pelias_reverse(**self.reverse) - - self.assertEqual(1, len(responses.calls)) - self.assertURLEqual( - "https://api.openrouteservice.org/geocode/reverse?boundary.circle.radius=50&boundary.country=de&layers=locality%2Ccounty%2Cregion&point.lat=48.23424&point.lon=8.34234&size=50&sources=osm%2Cwof%2Cgn", - responses.calls[0].request.url, - ) diff --git a/test/test_geocode_api.py b/test/test_geocode_api.py new file mode 100644 index 00000000..c67602a7 --- /dev/null +++ b/test/test_geocode_api.py @@ -0,0 +1,77 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 8.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: v2 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.api.geocode_api import GeocodeApi # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeocodeApi(unittest.TestCase): + """GeocodeApi unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + self.api = GeocodeApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + + def tearDown(self): + pass + + def test_geocode_autocomplete_get(self): + """Test case for geocode_autocomplete_get + + Geocode Autocomplete Service # noqa: E501 + """ + text = "Toky" + response = self.api.geocode_autocomplete_get(text) + self.assertIsNotNone(response) + self.assertEqual(len(response.features), 10) + + def test_geocode_reverse_get(self): + """Test case for geocode_reverse_get + + Reverse Geocode Service # noqa: E501 + """ + lon = 2.294471 + lat = 48.858268 + response = self.api.geocode_reverse_get(lon, lat) + self.assertIsNotNone(response) + self.assertEqual(len(response.features), 10) + + def test_geocode_search_get(self): + """Test case for geocode_search_get + + Forward Geocode Service # noqa: E501 + """ + text = "Namibian Brewery" + response = self.api.geocode_search_get(text) + self.assertIsNotNone(response) + self.assertEqual(len(response.features), 10) + + def test_geocode_search_structured_get(self): + """Test case for geocode_search_structured_get + + Structured Forward Geocode Service (beta) # noqa: E501 + """ + response = self.api.geocode_search_structured_get(locality='Tokyo') + self.assertIsNotNone(response) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_geocode_response.py b/test/test_geocode_response.py new file mode 100644 index 00000000..8ed19268 --- /dev/null +++ b/test/test_geocode_response.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.geocode_response import GeocodeResponse # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGeocodeResponse(unittest.TestCase): + """GeocodeResponse unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGeocodeResponse(self): + """Test GeocodeResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.geocode_response.GeocodeResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_gpx.py b/test/test_gpx.py new file mode 100644 index 00000000..3977fb42 --- /dev/null +++ b/test/test_gpx.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.gpx import Gpx # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGpx(unittest.TestCase): + """Gpx unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGpx(self): + """Test Gpx""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.gpx.Gpx() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_graph_export_service.py b/test/test_graph_export_service.py new file mode 100644 index 00000000..14359931 --- /dev/null +++ b/test/test_graph_export_service.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.graph_export_service import GraphExportService # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestGraphExportService(unittest.TestCase): + """GraphExportService unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testGraphExportService(self): + """Test GraphExportService""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.graph_export_service.GraphExportService() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_helper.py b/test/test_helper.py deleted file mode 100644 index 338c3697..00000000 --- a/test/test_helper.py +++ /dev/null @@ -1,256 +0,0 @@ -# -*- coding: utf-8 -*- - -PARAM_POINT = [8.34234, 48.23424] -PARAM_LINE = [[8.688641, 49.420577], [8.680916, 49.415776]] -PARAM_POLY = [[[8.688641, 49.420577], [8.680916, 49.415776]]] - -PARAM_INT_BIG = 500 -PARAM_INT_SMALL = 50 -PARAM_LIST_ONE = [PARAM_INT_SMALL, PARAM_INT_SMALL] -PARAM_LIST_TWO = [PARAM_LIST_ONE, PARAM_LIST_ONE] - -PARAM_GEOJSON_POINT = {"type": "Point", "coordinates": PARAM_POINT} -PARAM_GEOJSON_LINE = {"type": "LineString", "coordinates": PARAM_LINE} -PARAM_GEOJSON_POLY = {"type": "Polygon", "coordinates": PARAM_POLY} - -ENDPOINT_DICT = { - "directions": { - "coordinates": PARAM_LINE, - "profile": "driving-car", - "preference": "fastest", - "format": "geojson", - "units": "mi", - "language": "en", - "geometry": "true", - "geometry_simplify": "false", - "maneuvers": True, - "suppress_warnings": False, - "instructions": "false", - "instructions_format": "html", - "alternative_routes": { - "share_factor": 0.6, - "target_count": 2, - "weight_factor": 1.4, - }, - "roundabout_exits": "true", - "attributes": ["avgspeed"], - "radiuses": PARAM_LIST_ONE, - "bearings": PARAM_LIST_TWO, - "skip_segments": [0, 1], - "elevation": "true", - "maximum_speed": 95, - "extra_info": ["roadaccessrestrictions"], - "optimized": "false", - "continue_straight": True, - "options": {"avoid_features": ["highways", "tollways"]}, - }, - "isochrones": { - "locations": PARAM_LINE, - "profile": "cycling-regular", - "range_type": "distance", - "range": [PARAM_INT_BIG], - "units": "m", - "location_type": "destination", - "attributes": ["area", "reachfactor"], - "interval": [PARAM_INT_SMALL], - "intersections": "true", - "options": {"avoid_features": ["highways", "tollways"]}, - }, - "distance_matrix": { - "locations": PARAM_LINE, - "sources": [1], - "destinations": [0], - "profile": "driving-car", - "metrics": ["duration", "distance"], - "resolve_locations": "true", - "units": "mi", - "optimized": "false", - }, - "elevation_point": { - "format_in": "geojson", - "format_out": "point", - "geometry": PARAM_GEOJSON_POINT, - "dataset": "srtm", - }, - "elevation_line": { - "format_in": "geojson", - "format_out": "polyline", - "geometry": PARAM_GEOJSON_LINE, - "dataset": "srtm", - }, - "pelias_search": { - "text": "Heidelberg", - "focus_point": PARAM_POINT, - "rect_min_x": PARAM_INT_BIG, - "rect_min_y": PARAM_INT_BIG, - "rect_max_x": PARAM_INT_BIG + 1, - "rect_max_y": PARAM_INT_BIG + 1, - "circle_point": PARAM_POINT, - "circle_radius": PARAM_INT_SMALL, - "sources": ["osm", "wof", "gn"], - "layers": ["locality", "county", "region"], - "country": "de", - "size": PARAM_INT_SMALL, - }, - "pelias_autocomplete": { - "text": "Heidelberg", - "focus_point": PARAM_POINT, - "rect_min_x": PARAM_INT_BIG, - "rect_min_y": PARAM_INT_BIG, - "rect_max_x": PARAM_INT_BIG, - "rect_max_y": PARAM_INT_BIG, - "sources": ["osm", "wof", "gn"], - "layers": ["locality", "county", "region"], - "country": "de", - }, - "pelias_structured": { - "address": "Berliner Straße 45", - "neighbourhood": "Neuenheimer Feld", - "borough": "Heidelberg", - "locality": "Heidelberg", - "county": "Rhein-Neckar-Kreis", - "region": "Baden-Württemberg", - "postalcode": 69120, - "country": "de", - }, - "pelias_reverse": { - "point": PARAM_POINT, - "circle_radius": PARAM_INT_SMALL, - "sources": ["osm", "wof", "gn"], - "layers": ["locality", "county", "region"], - "country": "de", - "size": PARAM_INT_SMALL, - }, - "pois": { - "request": "pois", - "geojson": PARAM_GEOJSON_POINT, - "bbox": PARAM_LINE, - "buffer": PARAM_INT_SMALL, - "filter_category_ids": [PARAM_INT_SMALL], - "filter_category_group_ids": [PARAM_INT_BIG], - "filters_custom": { - "name": "Deli", - "wheelchair": ["yes", "limited"], - "smoking": ["dedicated", "separated"], - "fee": ["yes", "no"], - }, - "limit": PARAM_INT_SMALL, - "sortby": "distance", - }, - "optimization": { - "shipments": [ - { - "pickup": { - "id": 0, - "location": [8.688641, 49.420577], - "location_index": 0, - "service": 500, - "time_windows": [[50, 50]], - }, - "delivery": { - "id": 0, - "location": [8.688641, 49.420577], - "location_index": 0, - "service": 500, - "time_windows": [[50, 50]], - }, - "amount": [50], - "skills": [50, 50], - "priority": 50, - }, - { - "pickup": { - "id": 1, - "location": [8.680916, 49.415776], - "location_index": 1, - "service": 500, - "time_windows": [[50, 50]], - }, - "delivery": { - "id": 1, - "location": [8.680916, 49.415776], - "location_index": 1, - "service": 500, - "time_windows": [[50, 50]], - }, - "amount": [50], - "skills": [50, 50], - "priority": 50, - }, - ], - "jobs": [ - { - "id": 0, - "location": PARAM_LINE[0], - "location_index": 0, - "service": PARAM_INT_BIG, - "amount": [PARAM_INT_SMALL], - "skills": PARAM_LIST_ONE, - "priority": PARAM_INT_SMALL, - "time_windows": [PARAM_LIST_ONE], - }, - { - "id": 1, - "location": PARAM_LINE[1], - "location_index": 1, - "service": PARAM_INT_BIG, - "amount": [PARAM_INT_SMALL], - "skills": PARAM_LIST_ONE, - "priority": PARAM_INT_SMALL, - "time_windows": [PARAM_LIST_ONE], - }, - ], - "vehicles": [ - { - "id": 0, - "profile": "driving-car", - "start": PARAM_LINE[0], - "start_index": 0, - "end_index": 0, - "end": PARAM_LINE[0], - "capacity": [PARAM_INT_SMALL], - "skills": PARAM_LIST_ONE, - "time_window": PARAM_LIST_ONE, - }, - { - "id": 1, - "profile": "driving-car", - "start": PARAM_LINE[1], - "start_index": 1, - "end_index": 1, - "end": PARAM_LINE[1], - "capacity": [PARAM_INT_SMALL], - "skills": PARAM_LIST_ONE, - "time_window": PARAM_LIST_ONE, - }, - ], - "options": {"g": False}, - "matrix": PARAM_LIST_TWO, - }, -} - -GPX_RESPONSE = """ - - - - openrouteservice directions - This is a directions instructions file as GPX, generated from openrouteservice - openrouteservice - - - https://openrouteservice.org/ - text/html - - - - 2021 - LGPL 3.0 - - - - - - - - -""" diff --git a/test/test_inline_response200.py b/test/test_inline_response200.py new file mode 100644 index 00000000..ce65fa61 --- /dev/null +++ b/test/test_inline_response200.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response200 import InlineResponse200 # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse200(unittest.TestCase): + """InlineResponse200 unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse200(self): + """Test InlineResponse200""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response200.InlineResponse200() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2001.py b/test/test_inline_response2001.py new file mode 100644 index 00000000..585ab55b --- /dev/null +++ b/test/test_inline_response2001.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response2001 import InlineResponse2001 # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse2001(unittest.TestCase): + """InlineResponse2001 unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse2001(self): + """Test InlineResponse2001""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response2001.InlineResponse2001() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2001_geometry.py b/test/test_inline_response2001_geometry.py new file mode 100644 index 00000000..940f6b1f --- /dev/null +++ b/test/test_inline_response2001_geometry.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response2001_geometry import InlineResponse2001Geometry # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse2001Geometry(unittest.TestCase): + """InlineResponse2001Geometry unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse2001Geometry(self): + """Test InlineResponse2001Geometry""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response2001_geometry.InlineResponse2001Geometry() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2002.py b/test/test_inline_response2002.py new file mode 100644 index 00000000..f4de0437 --- /dev/null +++ b/test/test_inline_response2002.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response2002 import InlineResponse2002 # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse2002(unittest.TestCase): + """InlineResponse2002 unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse2002(self): + """Test InlineResponse2002""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response2002.InlineResponse2002() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2002_routes.py b/test/test_inline_response2002_routes.py new file mode 100644 index 00000000..cb6849aa --- /dev/null +++ b/test/test_inline_response2002_routes.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response2002_routes import InlineResponse2002Routes # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse2002Routes(unittest.TestCase): + """InlineResponse2002Routes unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse2002Routes(self): + """Test InlineResponse2002Routes""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response2002_routes.InlineResponse2002Routes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2002_steps.py b/test/test_inline_response2002_steps.py new file mode 100644 index 00000000..a741ed71 --- /dev/null +++ b/test/test_inline_response2002_steps.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response2002_steps import InlineResponse2002Steps # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse2002Steps(unittest.TestCase): + """InlineResponse2002Steps unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse2002Steps(self): + """Test InlineResponse2002Steps""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response2002_steps.InlineResponse2002Steps() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2002_summary.py b/test/test_inline_response2002_summary.py new file mode 100644 index 00000000..70922c75 --- /dev/null +++ b/test/test_inline_response2002_summary.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response2002_summary import InlineResponse2002Summary # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse2002Summary(unittest.TestCase): + """InlineResponse2002Summary unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse2002Summary(self): + """Test InlineResponse2002Summary""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response2002_summary.InlineResponse2002Summary() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2002_unassigned.py b/test/test_inline_response2002_unassigned.py new file mode 100644 index 00000000..2796e840 --- /dev/null +++ b/test/test_inline_response2002_unassigned.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response2002_unassigned import InlineResponse2002Unassigned # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse2002Unassigned(unittest.TestCase): + """InlineResponse2002Unassigned unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse2002Unassigned(self): + """Test InlineResponse2002Unassigned""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response2002_unassigned.InlineResponse2002Unassigned() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2003.py b/test/test_inline_response2003.py new file mode 100644 index 00000000..f934b5a3 --- /dev/null +++ b/test/test_inline_response2003.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response2003 import InlineResponse2003 # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse2003(unittest.TestCase): + """InlineResponse2003 unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse2003(self): + """Test InlineResponse2003""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response2003.InlineResponse2003() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2004.py b/test/test_inline_response2004.py new file mode 100644 index 00000000..82e731c4 --- /dev/null +++ b/test/test_inline_response2004.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response2004 import InlineResponse2004 # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse2004(unittest.TestCase): + """InlineResponse2004 unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse2004(self): + """Test InlineResponse2004""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response2004.InlineResponse2004() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2005.py b/test/test_inline_response2005.py new file mode 100644 index 00000000..2ab3a672 --- /dev/null +++ b/test/test_inline_response2005.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response2005 import InlineResponse2005 # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse2005(unittest.TestCase): + """InlineResponse2005 unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse2005(self): + """Test InlineResponse2005""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response2005.InlineResponse2005() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response2006.py b/test/test_inline_response2006.py new file mode 100644 index 00000000..798313c3 --- /dev/null +++ b/test/test_inline_response2006.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response2006 import InlineResponse2006 # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse2006(unittest.TestCase): + """InlineResponse2006 unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse2006(self): + """Test InlineResponse2006""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response2006.InlineResponse2006() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_inline_response200_geometry.py b/test/test_inline_response200_geometry.py new file mode 100644 index 00000000..0b8ef879 --- /dev/null +++ b/test/test_inline_response200_geometry.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.inline_response200_geometry import InlineResponse200Geometry # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestInlineResponse200Geometry(unittest.TestCase): + """InlineResponse200Geometry unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testInlineResponse200Geometry(self): + """Test InlineResponse200Geometry""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.inline_response200_geometry.InlineResponse200Geometry() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_isochrones.py b/test/test_isochrones.py deleted file mode 100644 index ee3ab55b..00000000 --- a/test/test_isochrones.py +++ /dev/null @@ -1,47 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2018 HeiGIT, University of Heidelberg. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -# -"""Tests for the distance matrix module.""" -import responses -import test as _test -from test.test_helper import ENDPOINT_DICT -import pytest - - -class IsochronesTest(_test.TestCase): - @responses.activate - def test_isochrones(self): - query = ENDPOINT_DICT["isochrones"] - - responses.add( - responses.POST, - "https://api.openrouteservice.org/v2/isochrones/{}/geojson".format( - query["profile"] - ), - json=query, - status=200, - content_type="application/json", - ) - - resp = self.client.isochrones(**query) - - self.assertEqual(1, len(responses.calls)) - self.assertEqual(resp, query) - - def test_isochrones_must_fail(self): - query = ENDPOINT_DICT["isochrones"] - query.update({"foo": {"bar": "baz"}}) - self.assertRaises(TypeError, self.client.isochrones, **query) diff --git a/test/test_isochrones_profile_body.py b/test/test_isochrones_profile_body.py new file mode 100644 index 00000000..00f17f96 --- /dev/null +++ b/test/test_isochrones_profile_body.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestIsochronesProfileBody(unittest.TestCase): + """IsochronesProfileBody unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testIsochronesProfileBody(self): + """Test IsochronesProfileBody""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.isochrones_profile_body.IsochronesProfileBody() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_isochrones_request.py b/test/test_isochrones_request.py new file mode 100644 index 00000000..6408f4c3 --- /dev/null +++ b/test/test_isochrones_request.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.isochrones_request import IsochronesRequest # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestIsochronesRequest(unittest.TestCase): + """IsochronesRequest unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testIsochronesRequest(self): + """Test IsochronesRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.isochrones_request.IsochronesRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_isochrones_response_info.py b/test/test_isochrones_response_info.py new file mode 100644 index 00000000..12b77881 --- /dev/null +++ b/test/test_isochrones_response_info.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.isochrones_response_info import IsochronesResponseInfo # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestIsochronesResponseInfo(unittest.TestCase): + """IsochronesResponseInfo unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testIsochronesResponseInfo(self): + """Test IsochronesResponseInfo""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.isochrones_response_info.IsochronesResponseInfo() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_isochrones_service_api.py b/test/test_isochrones_service_api.py new file mode 100644 index 00000000..966524c6 --- /dev/null +++ b/test/test_isochrones_service_api.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 8.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: v2 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.api.isochrones_service_api import IsochronesServiceApi # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestIsochronesServiceApi(unittest.TestCase): + """IsochronesServiceApi unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + self.api = IsochronesServiceApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + + def tearDown(self): + pass + + def test_get_default_isochrones(self): + """Test case for get_default_isochrones + + Isochrones Service # noqa: E501 + """ + body = openrouteservice.IsochronesProfileBody( + locations=[[8.681495,49.41461],[8.686507,49.41943]], + range=[300,200] + ) + profile = 'driving-car' + response = self.api.get_default_isochrones(body, profile) + self.assertEqual(len(response.features), 4) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json2_d_destinations.py b/test/test_json2_d_destinations.py new file mode 100644 index 00000000..5205572c --- /dev/null +++ b/test/test_json2_d_destinations.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json2_d_destinations import JSON2DDestinations # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSON2DDestinations(unittest.TestCase): + """JSON2DDestinations unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSON2DDestinations(self): + """Test JSON2DDestinations""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json2_d_destinations.JSON2DDestinations() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json2_d_sources.py b/test/test_json2_d_sources.py new file mode 100644 index 00000000..d99999a6 --- /dev/null +++ b/test/test_json2_d_sources.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json2_d_sources import JSON2DSources # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSON2DSources(unittest.TestCase): + """JSON2DSources unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSON2DSources(self): + """Test JSON2DSources""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json2_d_sources.JSON2DSources() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_edge.py b/test/test_json_edge.py new file mode 100644 index 00000000..eb630b2b --- /dev/null +++ b/test/test_json_edge.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_edge import JsonEdge # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJsonEdge(unittest.TestCase): + """JsonEdge unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJsonEdge(self): + """Test JsonEdge""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_edge.JsonEdge() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_edge_extra.py b/test/test_json_edge_extra.py new file mode 100644 index 00000000..c88480a1 --- /dev/null +++ b/test/test_json_edge_extra.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_edge_extra import JsonEdgeExtra # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJsonEdgeExtra(unittest.TestCase): + """JsonEdgeExtra unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJsonEdgeExtra(self): + """Test JsonEdgeExtra""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_edge_extra.JsonEdgeExtra() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_export_response.py b/test/test_json_export_response.py new file mode 100644 index 00000000..e2ba6a2f --- /dev/null +++ b/test/test_json_export_response.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_export_response import JsonExportResponse # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJsonExportResponse(unittest.TestCase): + """JsonExportResponse unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJsonExportResponse(self): + """Test JsonExportResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_export_response.JsonExportResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_export_response_edges.py b/test/test_json_export_response_edges.py new file mode 100644 index 00000000..ef91aadc --- /dev/null +++ b/test/test_json_export_response_edges.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_export_response_edges import JsonExportResponseEdges # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJsonExportResponseEdges(unittest.TestCase): + """JsonExportResponseEdges unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJsonExportResponseEdges(self): + """Test JsonExportResponseEdges""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_export_response_edges.JsonExportResponseEdges() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_export_response_edges_extra.py b/test/test_json_export_response_edges_extra.py new file mode 100644 index 00000000..840f340f --- /dev/null +++ b/test/test_json_export_response_edges_extra.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_export_response_edges_extra import JsonExportResponseEdgesExtra # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJsonExportResponseEdgesExtra(unittest.TestCase): + """JsonExportResponseEdgesExtra unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJsonExportResponseEdgesExtra(self): + """Test JsonExportResponseEdgesExtra""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_export_response_edges_extra.JsonExportResponseEdgesExtra() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_export_response_nodes.py b/test/test_json_export_response_nodes.py new file mode 100644 index 00000000..aae371c0 --- /dev/null +++ b/test/test_json_export_response_nodes.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_export_response_nodes import JsonExportResponseNodes # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJsonExportResponseNodes(unittest.TestCase): + """JsonExportResponseNodes unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJsonExportResponseNodes(self): + """Test JsonExportResponseNodes""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_export_response_nodes.JsonExportResponseNodes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_extra.py b/test/test_json_extra.py new file mode 100644 index 00000000..809ce8ef --- /dev/null +++ b/test/test_json_extra.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_extra import JSONExtra # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONExtra(unittest.TestCase): + """JSONExtra unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONExtra(self): + """Test JSONExtra""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_extra.JSONExtra() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_extra_summary.py b/test/test_json_extra_summary.py new file mode 100644 index 00000000..fec9247d --- /dev/null +++ b/test/test_json_extra_summary.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_extra_summary import JSONExtraSummary # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONExtraSummary(unittest.TestCase): + """JSONExtraSummary unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONExtraSummary(self): + """Test JSONExtraSummary""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_extra_summary.JSONExtraSummary() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_individual_route_response.py b/test/test_json_individual_route_response.py new file mode 100644 index 00000000..8f723ca1 --- /dev/null +++ b/test/test_json_individual_route_response.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_individual_route_response import JSONIndividualRouteResponse # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONIndividualRouteResponse(unittest.TestCase): + """JSONIndividualRouteResponse unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONIndividualRouteResponse(self): + """Test JSONIndividualRouteResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_individual_route_response.JSONIndividualRouteResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_individual_route_response_extras.py b/test/test_json_individual_route_response_extras.py new file mode 100644 index 00000000..3e79df70 --- /dev/null +++ b/test/test_json_individual_route_response_extras.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_individual_route_response_extras import JSONIndividualRouteResponseExtras # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONIndividualRouteResponseExtras(unittest.TestCase): + """JSONIndividualRouteResponseExtras unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONIndividualRouteResponseExtras(self): + """Test JSONIndividualRouteResponseExtras""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_individual_route_response_extras.JSONIndividualRouteResponseExtras() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_individual_route_response_instructions.py b/test/test_json_individual_route_response_instructions.py new file mode 100644 index 00000000..df7c7e59 --- /dev/null +++ b/test/test_json_individual_route_response_instructions.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_individual_route_response_instructions import JSONIndividualRouteResponseInstructions # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONIndividualRouteResponseInstructions(unittest.TestCase): + """JSONIndividualRouteResponseInstructions unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONIndividualRouteResponseInstructions(self): + """Test JSONIndividualRouteResponseInstructions""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_individual_route_response_instructions.JSONIndividualRouteResponseInstructions() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_individual_route_response_legs.py b/test/test_json_individual_route_response_legs.py new file mode 100644 index 00000000..4ea298a5 --- /dev/null +++ b/test/test_json_individual_route_response_legs.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_individual_route_response_legs import JSONIndividualRouteResponseLegs # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONIndividualRouteResponseLegs(unittest.TestCase): + """JSONIndividualRouteResponseLegs unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONIndividualRouteResponseLegs(self): + """Test JSONIndividualRouteResponseLegs""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_individual_route_response_legs.JSONIndividualRouteResponseLegs() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_individual_route_response_maneuver.py b/test/test_json_individual_route_response_maneuver.py new file mode 100644 index 00000000..8a1c16e4 --- /dev/null +++ b/test/test_json_individual_route_response_maneuver.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_individual_route_response_maneuver import JSONIndividualRouteResponseManeuver # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONIndividualRouteResponseManeuver(unittest.TestCase): + """JSONIndividualRouteResponseManeuver unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONIndividualRouteResponseManeuver(self): + """Test JSONIndividualRouteResponseManeuver""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_individual_route_response_maneuver.JSONIndividualRouteResponseManeuver() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_individual_route_response_segments.py b/test/test_json_individual_route_response_segments.py new file mode 100644 index 00000000..51d02f99 --- /dev/null +++ b/test/test_json_individual_route_response_segments.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_individual_route_response_segments import JSONIndividualRouteResponseSegments # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONIndividualRouteResponseSegments(unittest.TestCase): + """JSONIndividualRouteResponseSegments unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONIndividualRouteResponseSegments(self): + """Test JSONIndividualRouteResponseSegments""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_individual_route_response_segments.JSONIndividualRouteResponseSegments() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_individual_route_response_stops.py b/test/test_json_individual_route_response_stops.py new file mode 100644 index 00000000..8bb11575 --- /dev/null +++ b/test/test_json_individual_route_response_stops.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_individual_route_response_stops import JSONIndividualRouteResponseStops # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONIndividualRouteResponseStops(unittest.TestCase): + """JSONIndividualRouteResponseStops unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONIndividualRouteResponseStops(self): + """Test JSONIndividualRouteResponseStops""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_individual_route_response_stops.JSONIndividualRouteResponseStops() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_individual_route_response_summary.py b/test/test_json_individual_route_response_summary.py new file mode 100644 index 00000000..b4410553 --- /dev/null +++ b/test/test_json_individual_route_response_summary.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_individual_route_response_summary import JSONIndividualRouteResponseSummary # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONIndividualRouteResponseSummary(unittest.TestCase): + """JSONIndividualRouteResponseSummary unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONIndividualRouteResponseSummary(self): + """Test JSONIndividualRouteResponseSummary""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_individual_route_response_summary.JSONIndividualRouteResponseSummary() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_individual_route_response_warnings.py b/test/test_json_individual_route_response_warnings.py new file mode 100644 index 00000000..addd1520 --- /dev/null +++ b/test/test_json_individual_route_response_warnings.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_individual_route_response_warnings import JSONIndividualRouteResponseWarnings # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONIndividualRouteResponseWarnings(unittest.TestCase): + """JSONIndividualRouteResponseWarnings unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONIndividualRouteResponseWarnings(self): + """Test JSONIndividualRouteResponseWarnings""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_individual_route_response_warnings.JSONIndividualRouteResponseWarnings() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_leg.py b/test/test_json_leg.py new file mode 100644 index 00000000..3baf8f28 --- /dev/null +++ b/test/test_json_leg.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_leg import JSONLeg # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONLeg(unittest.TestCase): + """JSONLeg unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONLeg(self): + """Test JSONLeg""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_leg.JSONLeg() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_node.py b/test/test_json_node.py new file mode 100644 index 00000000..bd1dd9d0 --- /dev/null +++ b/test/test_json_node.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_node import JsonNode # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJsonNode(unittest.TestCase): + """JsonNode unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJsonNode(self): + """Test JsonNode""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_node.JsonNode() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_object.py b/test/test_json_object.py new file mode 100644 index 00000000..b33229fd --- /dev/null +++ b/test/test_json_object.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_object import JSONObject # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONObject(unittest.TestCase): + """JSONObject unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONObject(self): + """Test JSONObject""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_object.JSONObject() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_route_response.py b/test/test_json_route_response.py new file mode 100644 index 00000000..b4241b06 --- /dev/null +++ b/test/test_json_route_response.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_route_response import JSONRouteResponse # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONRouteResponse(unittest.TestCase): + """JSONRouteResponse unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONRouteResponse(self): + """Test JSONRouteResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_route_response.JSONRouteResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_route_response_routes.py b/test/test_json_route_response_routes.py new file mode 100644 index 00000000..a1115e39 --- /dev/null +++ b/test/test_json_route_response_routes.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_route_response_routes import JSONRouteResponseRoutes # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONRouteResponseRoutes(unittest.TestCase): + """JSONRouteResponseRoutes unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONRouteResponseRoutes(self): + """Test JSONRouteResponseRoutes""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_route_response_routes.JSONRouteResponseRoutes() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_segment.py b/test/test_json_segment.py new file mode 100644 index 00000000..80ec9588 --- /dev/null +++ b/test/test_json_segment.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_segment import JSONSegment # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONSegment(unittest.TestCase): + """JSONSegment unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONSegment(self): + """Test JSONSegment""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_segment.JSONSegment() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_step.py b/test/test_json_step.py new file mode 100644 index 00000000..2d3aea37 --- /dev/null +++ b/test/test_json_step.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_step import JSONStep # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONStep(unittest.TestCase): + """JSONStep unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONStep(self): + """Test JSONStep""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_step.JSONStep() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_step_maneuver.py b/test/test_json_step_maneuver.py new file mode 100644 index 00000000..825a2d77 --- /dev/null +++ b/test/test_json_step_maneuver.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_step_maneuver import JSONStepManeuver # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONStepManeuver(unittest.TestCase): + """JSONStepManeuver unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONStepManeuver(self): + """Test JSONStepManeuver""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_step_maneuver.JSONStepManeuver() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_summary.py b/test/test_json_summary.py new file mode 100644 index 00000000..f4aaeb57 --- /dev/null +++ b/test/test_json_summary.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_summary import JSONSummary # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONSummary(unittest.TestCase): + """JSONSummary unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONSummary(self): + """Test JSONSummary""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_summary.JSONSummary() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_json_warning.py b/test/test_json_warning.py new file mode 100644 index 00000000..bbc3532d --- /dev/null +++ b/test/test_json_warning.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.json_warning import JSONWarning # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONWarning(unittest.TestCase): + """JSONWarning unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONWarning(self): + """Test JSONWarning""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.json_warning.JSONWarning() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_jsonpt_stop.py b/test/test_jsonpt_stop.py new file mode 100644 index 00000000..4f24186d --- /dev/null +++ b/test/test_jsonpt_stop.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.jsonpt_stop import JSONPtStop # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestJSONPtStop(unittest.TestCase): + """JSONPtStop unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testJSONPtStop(self): + """Test JSONPtStop""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.jsonpt_stop.JSONPtStop() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_matrix_profile_body.py b/test/test_matrix_profile_body.py new file mode 100644 index 00000000..0abb4a05 --- /dev/null +++ b/test/test_matrix_profile_body.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.matrix_profile_body import MatrixProfileBody # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestMatrixProfileBody(unittest.TestCase): + """MatrixProfileBody unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testMatrixProfileBody(self): + """Test MatrixProfileBody""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.matrix_profile_body.MatrixProfileBody() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_matrix_request.py b/test/test_matrix_request.py new file mode 100644 index 00000000..4d3a9da9 --- /dev/null +++ b/test/test_matrix_request.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.matrix_request import MatrixRequest # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestMatrixRequest(unittest.TestCase): + """MatrixRequest unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testMatrixRequest(self): + """Test MatrixRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.matrix_request.MatrixRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_matrix_response.py b/test/test_matrix_response.py new file mode 100644 index 00000000..97527f39 --- /dev/null +++ b/test/test_matrix_response.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.matrix_response import MatrixResponse # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestMatrixResponse(unittest.TestCase): + """MatrixResponse unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testMatrixResponse(self): + """Test MatrixResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.matrix_response.MatrixResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_matrix_response_destinations.py b/test/test_matrix_response_destinations.py new file mode 100644 index 00000000..bf321d8a --- /dev/null +++ b/test/test_matrix_response_destinations.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.matrix_response_destinations import MatrixResponseDestinations # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestMatrixResponseDestinations(unittest.TestCase): + """MatrixResponseDestinations unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testMatrixResponseDestinations(self): + """Test MatrixResponseDestinations""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.matrix_response_destinations.MatrixResponseDestinations() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_matrix_response_info.py b/test/test_matrix_response_info.py new file mode 100644 index 00000000..3ab4bc02 --- /dev/null +++ b/test/test_matrix_response_info.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.matrix_response_info import MatrixResponseInfo # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestMatrixResponseInfo(unittest.TestCase): + """MatrixResponseInfo unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testMatrixResponseInfo(self): + """Test MatrixResponseInfo""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.matrix_response_info.MatrixResponseInfo() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_matrix_response_metadata.py b/test/test_matrix_response_metadata.py new file mode 100644 index 00000000..e3ee51d7 --- /dev/null +++ b/test/test_matrix_response_metadata.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.matrix_response_metadata import MatrixResponseMetadata # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestMatrixResponseMetadata(unittest.TestCase): + """MatrixResponseMetadata unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testMatrixResponseMetadata(self): + """Test MatrixResponseMetadata""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.matrix_response_metadata.MatrixResponseMetadata() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_matrix_response_sources.py b/test/test_matrix_response_sources.py new file mode 100644 index 00000000..472f9433 --- /dev/null +++ b/test/test_matrix_response_sources.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.matrix_response_sources import MatrixResponseSources # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestMatrixResponseSources(unittest.TestCase): + """MatrixResponseSources unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testMatrixResponseSources(self): + """Test MatrixResponseSources""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.matrix_response_sources.MatrixResponseSources() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_matrix_service_api.py b/test/test_matrix_service_api.py new file mode 100644 index 00000000..097744ae --- /dev/null +++ b/test/test_matrix_service_api.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 8.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: v2 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.api.matrix_service_api import MatrixServiceApi # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestMatrixServiceApi(unittest.TestCase): + """MatrixServiceApi unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + self.api = MatrixServiceApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + + def tearDown(self): + pass + + def test_get_default(self): + """Test case for get_default + + Matrix Service # noqa: E501 + """ + body = openrouteservice.MatrixProfileBody( + locations=[[9.70093,48.477473],[9.207916,49.153868],[37.573242,55.801281],[115.663757,38.106467]] + ) + profile = 'driving-car' # str | Specifies the matrix profile. + + response = self.api.get_default(body, profile) + self.assertEqual(len(response.destinations), 4) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_openpoiservice_poi_request.py b/test/test_openpoiservice_poi_request.py new file mode 100644 index 00000000..eddc2433 --- /dev/null +++ b/test/test_openpoiservice_poi_request.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.openpoiservice_poi_request import OpenpoiservicePoiRequest # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestOpenpoiservicePoiRequest(unittest.TestCase): + """OpenpoiservicePoiRequest unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testOpenpoiservicePoiRequest(self): + """Test OpenpoiservicePoiRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.openpoiservice_poi_request.OpenpoiservicePoiRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_openpoiservice_poi_response.py b/test/test_openpoiservice_poi_response.py new file mode 100644 index 00000000..f636b9bd --- /dev/null +++ b/test/test_openpoiservice_poi_response.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.openpoiservice_poi_response import OpenpoiservicePoiResponse # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestOpenpoiservicePoiResponse(unittest.TestCase): + """OpenpoiservicePoiResponse unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testOpenpoiservicePoiResponse(self): + """Test OpenpoiservicePoiResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.openpoiservice_poi_response.OpenpoiservicePoiResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_optimization.py b/test/test_optimization.py deleted file mode 100644 index 6db710e7..00000000 --- a/test/test_optimization.py +++ /dev/null @@ -1,116 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2014 Google Inc. All rights reserved. -# -# Modifications Copyright (C) 2018 HeiGIT, University of Heidelberg. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -# -"""Tests for the distance matrix module.""" -import responses -import test as _test -from copy import deepcopy -import json - -from test.test_helper import * -from openrouteservice.optimization import Job, Vehicle, ShipmentStep, Shipment - - -class OptimizationTest(_test.TestCase): - def _get_params(self): - jobs, vehicles, shipments = list(), list(), list() - - for idx, coord in enumerate(PARAM_LINE): - jobs.append( - Job( - idx, - location=coord, - service=PARAM_INT_BIG, - location_index=idx, - amount=[PARAM_INT_SMALL], - skills=PARAM_LIST_ONE, - priority=PARAM_INT_SMALL, - time_windows=[PARAM_LIST_ONE], - ) - ) - - vehicles.append( - Vehicle( - idx, - profile="driving-car", - start=coord, - start_index=idx, - end=coord, - end_index=idx, - capacity=[PARAM_INT_SMALL], - skills=PARAM_LIST_ONE, - time_window=PARAM_LIST_ONE, - ) - ) - - shipments.append( - Shipment( - pickup=ShipmentStep( - idx, - location=coord, - location_index=idx, - service=PARAM_INT_BIG, - time_windows=[PARAM_LIST_ONE], - ), - delivery=ShipmentStep( - idx, - location=coord, - location_index=idx, - service=PARAM_INT_BIG, - time_windows=[PARAM_LIST_ONE], - ), - amount=[PARAM_INT_SMALL], - skills=PARAM_LIST_ONE, - priority=PARAM_INT_SMALL, - ) - ) - - return jobs, vehicles, shipments - - def test_jobs_vehicles_classes(self): - jobs, vehicles, shipments = self._get_params() - - self.assertEqual( - ENDPOINT_DICT["optimization"]["jobs"], [j.__dict__ for j in jobs] - ) - self.assertEqual( - ENDPOINT_DICT["optimization"]["vehicles"], - [v.__dict__ for v in vehicles], - ) - - @responses.activate - def test_full_optimization(self): - query = deepcopy(ENDPOINT_DICT["optimization"]) - - jobs, vehicles, shipments = self._get_params() - - responses.add( - responses.POST, - "https://api.openrouteservice.org/optimization", - json={}, - status=200, - content_type="application/json", - ) - - self.client.optimization( - jobs, vehicles, shipments, geometry=False, matrix=PARAM_LIST_TWO - ) - - self.assertEqual( - query, json.loads(responses.calls[0].request.body.decode("utf-8")) - ) diff --git a/test/test_optimization_api.py b/test/test_optimization_api.py new file mode 100644 index 00000000..f88c92cc --- /dev/null +++ b/test/test_optimization_api.py @@ -0,0 +1,50 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 8.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: v2 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.api.optimization_api import OptimizationApi # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestOptimizationApi(unittest.TestCase): + """OptimizationApi unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + self.api = OptimizationApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + + def tearDown(self): + pass + + def test_optimization_post(self): + """Test case for optimization_post + + Optimization Service # noqa: E501 + """ + body = openrouteservice.OptimizationBody( + jobs=[{"id":1,"service":300,"amount":[1],"location":[1.98465,48.70329],"skills":[1],"time_windows":[[32400,36000]]},{"id":2,"service":300,"amount":[1],"location":[2.03655,48.61128],"skills":[1]},{"id":3,"service":300,"amount":[1],"location":[2.39719,49.07611],"skills":[2]},{"id":4,"service":300,"amount":[1],"location":[2.41808,49.22619],"skills":[2]},{"id":5,"service":300,"amount":[1],"location":[2.28325,48.5958],"skills":[14]},{"id":6,"service":300,"amount":[1],"location":[2.89357,48.90736],"skills":[14]}], + vehicles=[{"id":1,"profile":"driving-car","start":[2.35044,48.71764],"end":[2.35044,48.71764],"capacity":[4],"skills":[1,14],"time_window":[28800,43200]},{"id":2,"profile":"driving-car","start":[2.35044,48.71764],"end":[2.35044,48.71764],"capacity":[4],"skills":[2,14],"time_window":[28800,43200]}] + ) + response = self.api.optimization_post(body) + self.assertEqual(response.code, 0) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_optimization_body.py b/test/test_optimization_body.py new file mode 100644 index 00000000..3f57aa04 --- /dev/null +++ b/test/test_optimization_body.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.optimization_body import OptimizationBody # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestOptimizationBody(unittest.TestCase): + """OptimizationBody unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testOptimizationBody(self): + """Test OptimizationBody""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.optimization_body.OptimizationBody() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_optimization_jobs.py b/test/test_optimization_jobs.py new file mode 100644 index 00000000..6863e1dd --- /dev/null +++ b/test/test_optimization_jobs.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.optimization_jobs import OptimizationJobs # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestOptimizationJobs(unittest.TestCase): + """OptimizationJobs unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testOptimizationJobs(self): + """Test OptimizationJobs""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.optimization_jobs.OptimizationJobs() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_optimization_options.py b/test/test_optimization_options.py new file mode 100644 index 00000000..e6cdd798 --- /dev/null +++ b/test/test_optimization_options.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.optimization_options import OptimizationOptions # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestOptimizationOptions(unittest.TestCase): + """OptimizationOptions unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testOptimizationOptions(self): + """Test OptimizationOptions""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.optimization_options.OptimizationOptions() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_optimization_vehicles.py b/test/test_optimization_vehicles.py new file mode 100644 index 00000000..446e441f --- /dev/null +++ b/test/test_optimization_vehicles.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.optimization_vehicles import OptimizationVehicles # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestOptimizationVehicles(unittest.TestCase): + """OptimizationVehicles unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testOptimizationVehicles(self): + """Test OptimizationVehicles""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.optimization_vehicles.OptimizationVehicles() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_places.py b/test/test_places.py deleted file mode 100644 index 20164f3d..00000000 --- a/test/test_places.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2014 Google Inc. All rights reserved. -# -# Modifications Copyright (C) 2018 HeiGIT, University of Heidelberg. -# -# -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -# -"""Tests for the distance matrix module.""" -import responses -import test as _test - -from test.test_helper import ENDPOINT_DICT - - -class PlacesTest(_test.TestCase): - @responses.activate - def test_pois(self): - query = ENDPOINT_DICT["pois"] - responses.add( - responses.POST, - "https://api.openrouteservice.org/pois", - json=query, - status=200, - content_type="application/json", - ) - - resp = self.client.places(**query) - - self.assertEqual(len(responses.calls), 1) - self.assertEqual(resp, query) diff --git a/test/test_pois_api.py b/test/test_pois_api.py new file mode 100644 index 00000000..d8cf61dd --- /dev/null +++ b/test/test_pois_api.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 8.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: v2 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice as ors +from openrouteservice.api.pois_api import PoisApi # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestPoisApi(unittest.TestCase): + """PoisApi unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = ors.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + self.api = PoisApi(ors.ApiClient(configuration)) # noqa: E501 + + def tearDown(self): + pass + + def test_pois_post(self): + """Test case for pois_post + + Pois Service # noqa: E501 + """ + + body = ors.OpenpoiservicePoiRequest( + request='pois', + geometry=ors.PoisGeometry( + bbox=[[8.8034,53.0756],[8.7834,53.0456]], + geojson={"type":"Point","coordinates":[8.8034,53.0756]}, + buffer=200 + ), + sortby='distance' + ) + + response = self.api.pois_post(body) + self.assertIsNotNone(response) + self.assertEqual(response.type, "FeatureCollection") + + body.filters = ors.PoisFilters( + smoking=['yes'] + ) + + response2 = self.api.pois_post(body) + self.assertIsNotNone(response2) + self.assertGreaterEqual(len(response.features), len(response2.features)) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_pois_filters.py b/test/test_pois_filters.py new file mode 100644 index 00000000..53b299d5 --- /dev/null +++ b/test/test_pois_filters.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.pois_filters import PoisFilters # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestPoisFilters(unittest.TestCase): + """PoisFilters unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testPoisFilters(self): + """Test PoisFilters""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.pois_filters.PoisFilters() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_pois_geometry.py b/test/test_pois_geometry.py new file mode 100644 index 00000000..70039a6a --- /dev/null +++ b/test/test_pois_geometry.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.pois_geometry import PoisGeometry # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestPoisGeometry(unittest.TestCase): + """PoisGeometry unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testPoisGeometry(self): + """Test PoisGeometry""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.pois_geometry.PoisGeometry() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_profile_parameters.py b/test/test_profile_parameters.py new file mode 100644 index 00000000..a354ba7a --- /dev/null +++ b/test/test_profile_parameters.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.profile_parameters import ProfileParameters # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestProfileParameters(unittest.TestCase): + """ProfileParameters unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testProfileParameters(self): + """Test ProfileParameters""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.profile_parameters.ProfileParameters() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_profile_parameters_restrictions.py b/test/test_profile_parameters_restrictions.py new file mode 100644 index 00000000..914f3289 --- /dev/null +++ b/test/test_profile_parameters_restrictions.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.profile_parameters_restrictions import ProfileParametersRestrictions # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestProfileParametersRestrictions(unittest.TestCase): + """ProfileParametersRestrictions unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testProfileParametersRestrictions(self): + """Test ProfileParametersRestrictions""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.profile_parameters_restrictions.ProfileParametersRestrictions() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_profile_weightings.py b/test/test_profile_weightings.py new file mode 100644 index 00000000..6279e661 --- /dev/null +++ b/test/test_profile_weightings.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.profile_weightings import ProfileWeightings # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestProfileWeightings(unittest.TestCase): + """ProfileWeightings unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testProfileWeightings(self): + """Test ProfileWeightings""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.profile_weightings.ProfileWeightings() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_restrictions.py b/test/test_restrictions.py new file mode 100644 index 00000000..fb72ca97 --- /dev/null +++ b/test/test_restrictions.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.restrictions import Restrictions # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestRestrictions(unittest.TestCase): + """Restrictions unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testRestrictions(self): + """Test Restrictions""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.restrictions.Restrictions() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_round_trip_route_options.py b/test/test_round_trip_route_options.py new file mode 100644 index 00000000..618d3dc4 --- /dev/null +++ b/test/test_round_trip_route_options.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.round_trip_route_options import RoundTripRouteOptions # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestRoundTripRouteOptions(unittest.TestCase): + """RoundTripRouteOptions unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testRoundTripRouteOptions(self): + """Test RoundTripRouteOptions""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.round_trip_route_options.RoundTripRouteOptions() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_route_options.py b/test/test_route_options.py new file mode 100644 index 00000000..25087275 --- /dev/null +++ b/test/test_route_options.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.route_options import RouteOptions # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestRouteOptions(unittest.TestCase): + """RouteOptions unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testRouteOptions(self): + """Test RouteOptions""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.route_options.RouteOptions() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_route_options_avoid_polygons.py b/test/test_route_options_avoid_polygons.py new file mode 100644 index 00000000..4851552d --- /dev/null +++ b/test/test_route_options_avoid_polygons.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.route_options_avoid_polygons import RouteOptionsAvoidPolygons # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestRouteOptionsAvoidPolygons(unittest.TestCase): + """RouteOptionsAvoidPolygons unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testRouteOptionsAvoidPolygons(self): + """Test RouteOptionsAvoidPolygons""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.route_options_avoid_polygons.RouteOptionsAvoidPolygons() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_route_response_info.py b/test/test_route_response_info.py new file mode 100644 index 00000000..3fb91557 --- /dev/null +++ b/test/test_route_response_info.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.route_response_info import RouteResponseInfo # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestRouteResponseInfo(unittest.TestCase): + """RouteResponseInfo unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testRouteResponseInfo(self): + """Test RouteResponseInfo""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.route_response_info.RouteResponseInfo() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_rte.py b/test/test_rte.py new file mode 100644 index 00000000..97df7afe --- /dev/null +++ b/test/test_rte.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.rte import Rte # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestRte(unittest.TestCase): + """Rte unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testRte(self): + """Test Rte""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.rte.Rte() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2directionsprofilegeojson_schedule_duration.py b/test/test_v2directionsprofilegeojson_schedule_duration.py new file mode 100644 index 00000000..e4c5bd1a --- /dev/null +++ b/test/test_v2directionsprofilegeojson_schedule_duration.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.v2directionsprofilegeojson_schedule_duration import V2directionsprofilegeojsonScheduleDuration # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestV2directionsprofilegeojsonScheduleDuration(unittest.TestCase): + """V2directionsprofilegeojsonScheduleDuration unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testV2directionsprofilegeojsonScheduleDuration(self): + """Test V2directionsprofilegeojsonScheduleDuration""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.v2directionsprofilegeojson_schedule_duration.V2directionsprofilegeojsonScheduleDuration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2directionsprofilegeojson_schedule_duration_duration.py b/test/test_v2directionsprofilegeojson_schedule_duration_duration.py new file mode 100644 index 00000000..621b936f --- /dev/null +++ b/test/test_v2directionsprofilegeojson_schedule_duration_duration.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_duration import V2directionsprofilegeojsonScheduleDurationDuration # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestV2directionsprofilegeojsonScheduleDurationDuration(unittest.TestCase): + """V2directionsprofilegeojsonScheduleDurationDuration unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testV2directionsprofilegeojsonScheduleDurationDuration(self): + """Test V2directionsprofilegeojsonScheduleDurationDuration""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.v2directionsprofilegeojson_schedule_duration_duration.V2directionsprofilegeojsonScheduleDurationDuration() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2directionsprofilegeojson_schedule_duration_units.py b/test/test_v2directionsprofilegeojson_schedule_duration_units.py new file mode 100644 index 00000000..21548dbd --- /dev/null +++ b/test/test_v2directionsprofilegeojson_schedule_duration_units.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_units import V2directionsprofilegeojsonScheduleDurationUnits # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestV2directionsprofilegeojsonScheduleDurationUnits(unittest.TestCase): + """V2directionsprofilegeojsonScheduleDurationUnits unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testV2directionsprofilegeojsonScheduleDurationUnits(self): + """Test V2directionsprofilegeojsonScheduleDurationUnits""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.v2directionsprofilegeojson_schedule_duration_units.V2directionsprofilegeojsonScheduleDurationUnits() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2directionsprofilegeojson_walking_time.py b/test/test_v2directionsprofilegeojson_walking_time.py new file mode 100644 index 00000000..b139a8ac --- /dev/null +++ b/test/test_v2directionsprofilegeojson_walking_time.py @@ -0,0 +1,43 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.0 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.models.v2directionsprofilegeojson_walking_time import V2directionsprofilegeojsonWalkingTime # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestV2directionsprofilegeojsonWalkingTime(unittest.TestCase): + """V2directionsprofilegeojsonWalkingTime unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + + def tearDown(self): + pass + + def testV2directionsprofilegeojsonWalkingTime(self): + """Test V2directionsprofilegeojsonWalkingTime""" + # FIXME: construct object with mandatory attributes with example values + # model = openrouteservice.models.v2directionsprofilegeojson_walking_time.V2directionsprofilegeojsonWalkingTime() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/tests-config.sample.ini b/tests-config.sample.ini new file mode 100644 index 00000000..5bedef82 --- /dev/null +++ b/tests-config.sample.ini @@ -0,0 +1,2 @@ +[ORS] +apiKey = YOUR_API_KEY \ No newline at end of file diff --git a/tox.ini b/tox.ini new file mode 100644 index 00000000..a310bec9 --- /dev/null +++ b/tox.ini @@ -0,0 +1,10 @@ +[tox] +envlist = py3 + +[testenv] +deps=-r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt + +commands= + nosetests \ + [] From 959bcb0b333f0a324f76c074ca695789981d7628 Mon Sep 17 00:00:00 2001 From: jarinox <45308098+jarinox@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:20:33 +0100 Subject: [PATCH 03/38] feat: adapt test workflow for generated client - ORS_API_KEY secret must be set in settings for workflow to work --- .github/workflows/ci-tests.yml | 62 +++++++--------------------------- 1 file changed, 12 insertions(+), 50 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 68419347..d107e74e 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -1,25 +1,11 @@ name: tests on: - pull_request: - branches: '**' + push: + branches: ['**'] jobs: - lint: - runs-on: ubuntu-20.04 - steps: - - name: checkout - uses: actions/checkout@v2 - - name: Install Python - uses: actions/setup-python@v2 - with: - python-version: 3.9 - - uses: pre-commit/action@v3.0.0 - with: - extra_args: --all-files --show-diff-on-failure pytest: - needs: - - lint strategy: fail-fast: false matrix: @@ -40,39 +26,15 @@ jobs: with: python-version: ${{ matrix.python-version }} cache: 'pip' - - name: Select the cache folder - id: cache-folder - run: | - if [ ${{ matrix.os }} == 'ubuntu-20.04' ]; then - CACHE_FOLDER="/home/runner/.cache/pypoetry" - elif [ ${{ matrix.os }} == 'macos-latest' ]; then - CACHE_FOLDER="/Users/runner/Library/Caches/pypoetry" - elif [ ${{ matrix.os }} == 'windows-latest' ]; then - CACHE_FOLDER="C:\Users\runneradmin\AppData\Local\pypoetry\Cache" - fi - echo "Cache folder is $CACHE_FOLDER" - echo "folder=$CACHE_FOLDER" >> "$GITHUB_OUTPUT" - - name: Cache Poetry cache - uses: actions/cache@v3 - with: - path: ${{ steps.cache-folder.outputs.folder }} - key: poetry-cache-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.poetry-version }} - - name: Run Poetry action - uses: abatilo/actions-poetry@v2 - with: - poetry-version: ${{ matrix.poetry-version }} - - name: View poetry --version - run: poetry --version - name: Install dependencies - run: poetry install + run: pip install -r requirements.txt + - name: Install test dependencies + run: pip install -r test-requirements.txt + - name: Install tox + run: pip install tox + - name: Setup API Key + env: + ORS_API_KEY: ${{ secrets.ORS_API_KEY }} + run: printf "[ORS]\napiKey = $ORS_API_KEY\n" > tests-config.ini - name: Run tests - run: poetry run pytest - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - with: - token: ${{ secrets.CODECOV_TOKEN }} - flags: unittests - env_vars: OS,PYTHON - name: codecov-umbrella - fail_ci_if_error: true - verbose: true + run: python -m tox From 7827c1550fd9f03394773661a3e3ed18c31faeb3 Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Mon, 11 Mar 2024 13:28:32 +0100 Subject: [PATCH 04/38] feat: regenerate using latest v7.1.1 docs - Add snapping service - Adapt MatrixServiceApi test to new client - Remove unimplemented test templates --- .swagger-codegen-ignore | 23 ++ .swagger-codegen/VERSION | 1 + .travis.yml | 13 + README.md | 42 ++- docs/DirectionsService.md | 4 +- docs/DirectionsService1.md | 4 +- docs/ElevationApi.md | 8 +- docs/GeoJSONFeature.md | 11 + docs/GeoJSONFeatureGeometry.md | 10 + docs/GeoJSONFeatureProperties.md | 11 + docs/GeoJSONPointGeometry.md | 10 + docs/GeoJSONSnappingResponse.md | 12 + docs/GeoJSONSnappingResponseFeatures.md | 11 + docs/GeoJSONSnappingResponseMetadata.md | 15 + docs/InlineResponse2002Routes.md | 4 +- docs/InlineResponse2002Steps.md | 10 +- docs/InlineResponse2002Summary.md | 7 +- docs/InlineResponse2002Violations.md | 10 + docs/InlineResponse2007.md | 10 + docs/InlineResponse2008.md | 12 + docs/JSON2DDestinations.md | 2 +- docs/JSON2DSources.md | 2 +- docs/JSONLocation.md | 11 + docs/MatrixResponseDestinations.md | 2 +- docs/MatrixResponseSources.md | 2 +- docs/MatrixServiceApi.md | 10 +- docs/OptimizationApi.md | 2 +- docs/OptimizationBody.md | 2 +- docs/OptimizationBreaks.md | 13 + docs/OptimizationCosts.md | 11 + docs/OptimizationJobs.md | 6 +- docs/OptimizationMatrices.md | 17 + docs/OptimizationMatricesCyclingelectric.md | 11 + docs/OptimizationSteps.md | 13 + docs/OptimizationVehicles.md | 8 + docs/PoisApi.md | 2 +- docs/ProfileGeojsonBody.md | 11 + docs/ProfileJsonBody.md | 11 + docs/SnapProfileBody.md | 11 + docs/SnappingRequest.md | 11 + docs/SnappingResponse.md | 10 + docs/SnappingResponseInfo.md | 15 + docs/SnappingResponseLocations.md | 11 + docs/SnappingServiceApi.md | 178 +++++++++ openrouteservice/__init__.py | 41 +- openrouteservice/api/__init__.py | 1 + .../api/directions_service_api.py | 4 +- openrouteservice/api/elevation_api.py | 10 +- openrouteservice/api/geocode_api.py | 4 +- .../api/isochrones_service_api.py | 4 +- openrouteservice/api/matrix_service_api.py | 22 +- openrouteservice/api/optimization_api.py | 6 +- openrouteservice/api/pois_api.py | 6 +- openrouteservice/api/snapping_service_api.py | 354 ++++++++++++++++++ openrouteservice/api_client.py | 6 +- openrouteservice/configuration.py | 8 +- openrouteservice/models/__init__.py | 31 +- openrouteservice/models/alternative_routes.py | 4 +- openrouteservice/models/directions_service.py | 24 +- .../models/directions_service1.py | 24 +- .../models/elevation_line_body.py | 4 +- .../models/elevation_point_body.py | 4 +- openrouteservice/models/engine_info.py | 4 +- openrouteservice/models/geo_json_feature.py | 164 ++++++++ .../models/geo_json_feature_geometry.py | 140 +++++++ .../models/geo_json_feature_properties.py | 168 +++++++++ .../models/geo_json_features_object.py | 4 +- .../models/geo_json_geometry_object.py | 4 +- .../models/geo_json_isochrone_base.py | 4 +- .../geo_json_isochrone_base_geometry.py | 4 +- .../models/geo_json_isochrones_response.py | 4 +- .../geo_json_isochrones_response_features.py | 4 +- .../geo_json_isochrones_response_metadata.py | 4 +- ...son_isochrones_response_metadata_engine.py | 4 +- .../models/geo_json_point_geometry.py | 140 +++++++ .../models/geo_json_properties_object.py | 4 +- ...geo_json_properties_object_category_ids.py | 4 +- ...perties_object_category_ids_category_id.py | 4 +- .../geo_json_properties_object_osm_tags.py | 4 +- .../models/geo_json_route_response.py | 4 +- .../geo_json_route_response_metadata.py | 4 +- .../models/geo_json_snapping_response.py | 194 ++++++++++ .../geo_json_snapping_response_features.py | 164 ++++++++ .../geo_json_snapping_response_metadata.py | 276 ++++++++++++++ openrouteservice/models/geocode_response.py | 4 +- openrouteservice/models/gpx.py | 4 +- .../models/graph_export_service.py | 4 +- openrouteservice/models/inline_response200.py | 4 +- .../models/inline_response2001.py | 4 +- .../models/inline_response2001_geometry.py | 4 +- .../models/inline_response2002.py | 4 +- .../models/inline_response2002_routes.py | 118 ++++-- .../models/inline_response2002_steps.py | 158 ++++++-- .../models/inline_response2002_summary.py | 202 ++++++++-- .../models/inline_response2002_unassigned.py | 4 +- .../models/inline_response2002_violations.py | 140 +++++++ .../models/inline_response2003.py | 4 +- .../models/inline_response2004.py | 4 +- .../models/inline_response2005.py | 4 +- .../models/inline_response2006.py | 4 +- .../models/inline_response2007.py | 138 +++++++ .../models/inline_response2008.py | 194 ++++++++++ .../models/inline_response200_geometry.py | 4 +- .../models/isochrones_profile_body.py | 4 +- openrouteservice/models/isochrones_request.py | 4 +- .../models/isochrones_response_info.py | 4 +- .../models/json2_d_destinations.py | 8 +- openrouteservice/models/json2_d_sources.py | 8 +- openrouteservice/models/json_edge.py | 4 +- openrouteservice/models/json_edge_extra.py | 4 +- .../models/json_export_response.py | 4 +- .../models/json_export_response_edges.py | 4 +- .../json_export_response_edges_extra.py | 4 +- .../models/json_export_response_nodes.py | 4 +- openrouteservice/models/json_extra.py | 4 +- openrouteservice/models/json_extra_summary.py | 4 +- .../models/json_individual_route_response.py | 4 +- .../json_individual_route_response_extras.py | 4 +- ..._individual_route_response_instructions.py | 4 +- .../json_individual_route_response_legs.py | 4 +- ...json_individual_route_response_maneuver.py | 4 +- ...json_individual_route_response_segments.py | 4 +- .../json_individual_route_response_stops.py | 4 +- .../json_individual_route_response_summary.py | 4 +- ...json_individual_route_response_warnings.py | 4 +- openrouteservice/models/json_leg.py | 4 +- openrouteservice/models/json_location.py | 168 +++++++++ openrouteservice/models/json_node.py | 4 +- openrouteservice/models/json_object.py | 4 +- .../models/json_route_response.py | 4 +- .../models/json_route_response_routes.py | 4 +- openrouteservice/models/json_segment.py | 4 +- openrouteservice/models/json_step.py | 4 +- openrouteservice/models/json_step_maneuver.py | 4 +- openrouteservice/models/json_summary.py | 4 +- openrouteservice/models/json_warning.py | 4 +- openrouteservice/models/jsonpt_stop.py | 4 +- .../models/matrix_profile_body.py | 4 +- openrouteservice/models/matrix_request.py | 4 +- openrouteservice/models/matrix_response.py | 4 +- .../models/matrix_response_destinations.py | 8 +- .../models/matrix_response_info.py | 4 +- .../models/matrix_response_metadata.py | 4 +- .../models/matrix_response_sources.py | 8 +- .../models/openpoiservice_poi_request.py | 4 +- .../models/openpoiservice_poi_response.py | 4 +- openrouteservice/models/optimization_body.py | 40 +- .../models/optimization_breaks.py | 224 +++++++++++ openrouteservice/models/optimization_costs.py | 168 +++++++++ openrouteservice/models/optimization_jobs.py | 154 ++++++-- .../models/optimization_matrices.py | 318 ++++++++++++++++ .../optimization_matrices_cyclingelectric.py | 168 +++++++++ .../models/optimization_options.py | 4 +- openrouteservice/models/optimization_steps.py | 230 ++++++++++++ .../models/optimization_vehicles.py | 226 ++++++++++- openrouteservice/models/pois_filters.py | 4 +- openrouteservice/models/pois_geometry.py | 4 +- .../models/profile_geojson_body.py | 170 +++++++++ openrouteservice/models/profile_json_body.py | 170 +++++++++ openrouteservice/models/profile_parameters.py | 4 +- .../models/profile_parameters_restrictions.py | 4 +- openrouteservice/models/profile_weightings.py | 4 +- openrouteservice/models/restrictions.py | 4 +- .../models/round_trip_route_options.py | 4 +- openrouteservice/models/route_options.py | 4 +- .../models/route_options_avoid_polygons.py | 4 +- .../models/route_response_info.py | 4 +- openrouteservice/models/rte.py | 4 +- openrouteservice/models/snap_profile_body.py | 170 +++++++++ openrouteservice/models/snapping_request.py | 170 +++++++++ openrouteservice/models/snapping_response.py | 138 +++++++ .../models/snapping_response_info.py | 276 ++++++++++++++ .../models/snapping_response_locations.py | 168 +++++++++ openrouteservice/rest.py | 4 +- pyproject.toml | 2 +- setup.py | 6 +- test/test_alternative_routes.py | 43 --- test/test_directions_service.py | 43 --- test/test_directions_service1.py | 43 --- test/test_elevation_line_body.py | 43 --- test/test_elevation_point_body.py | 43 --- test/test_engine_info.py | 43 --- test/test_geo_json_features_object.py | 43 --- test/test_geo_json_geometry_object.py | 43 --- test/test_geo_json_isochrone_base.py | 43 --- test/test_geo_json_isochrone_base_geometry.py | 43 --- test/test_geo_json_isochrones_response.py | 43 --- ...t_geo_json_isochrones_response_features.py | 43 --- ...t_geo_json_isochrones_response_metadata.py | 43 --- ...son_isochrones_response_metadata_engine.py | 43 --- test/test_geo_json_properties_object.py | 43 --- ...geo_json_properties_object_category_ids.py | 43 --- ...perties_object_category_ids_category_id.py | 43 --- ...est_geo_json_properties_object_osm_tags.py | 43 --- test/test_geo_json_route_response.py | 43 --- test/test_geo_json_route_response_metadata.py | 43 --- test/test_geocode_response.py | 43 --- test/test_gpx.py | 43 --- test/test_graph_export_service.py | 43 --- test/test_inline_response200.py | 43 --- test/test_inline_response2001.py | 43 --- test/test_inline_response2001_geometry.py | 43 --- test/test_inline_response2002.py | 43 --- test/test_inline_response2002_routes.py | 43 --- test/test_inline_response2002_steps.py | 43 --- test/test_inline_response2002_summary.py | 43 --- test/test_inline_response2002_unassigned.py | 43 --- test/test_inline_response2003.py | 43 --- test/test_inline_response2004.py | 43 --- test/test_inline_response2005.py | 43 --- test/test_inline_response2006.py | 43 --- test/test_inline_response200_geometry.py | 43 --- test/test_isochrones_profile_body.py | 43 --- test/test_isochrones_request.py | 43 --- test/test_isochrones_response_info.py | 43 --- test/test_json2_d_destinations.py | 43 --- test/test_json2_d_sources.py | 43 --- test/test_json_edge.py | 43 --- test/test_json_edge_extra.py | 43 --- test/test_json_export_response.py | 43 --- test/test_json_export_response_edges.py | 43 --- test/test_json_export_response_edges_extra.py | 43 --- test/test_json_export_response_nodes.py | 43 --- test/test_json_extra.py | 43 --- test/test_json_extra_summary.py | 43 --- test/test_json_individual_route_response.py | 43 --- ...t_json_individual_route_response_extras.py | 43 --- ..._individual_route_response_instructions.py | 43 --- ...est_json_individual_route_response_legs.py | 43 --- ...json_individual_route_response_maneuver.py | 43 --- ...json_individual_route_response_segments.py | 43 --- ...st_json_individual_route_response_stops.py | 43 --- ..._json_individual_route_response_summary.py | 43 --- ...json_individual_route_response_warnings.py | 43 --- test/test_json_leg.py | 43 --- test/test_json_node.py | 43 --- test/test_json_object.py | 43 --- test/test_json_route_response.py | 43 --- test/test_json_route_response_routes.py | 43 --- test/test_json_segment.py | 43 --- test/test_json_step.py | 43 --- test/test_json_step_maneuver.py | 43 --- test/test_json_summary.py | 43 --- test/test_json_warning.py | 43 --- test/test_jsonpt_stop.py | 43 --- test/test_matrix_profile_body.py | 43 --- test/test_matrix_request.py | 43 --- test/test_matrix_response.py | 43 --- test/test_matrix_response_destinations.py | 43 --- test/test_matrix_response_info.py | 43 --- test/test_matrix_response_metadata.py | 43 --- test/test_matrix_response_sources.py | 43 --- test/test_matrix_service_api.py | 2 +- test/test_openpoiservice_poi_request.py | 43 --- test/test_openpoiservice_poi_response.py | 43 --- test/test_optimization_body.py | 43 --- test/test_optimization_jobs.py | 43 --- test/test_optimization_options.py | 43 --- test/test_optimization_vehicles.py | 43 --- test/test_pois_filters.py | 43 --- test/test_pois_geometry.py | 43 --- test/test_profile_parameters.py | 43 --- test/test_profile_parameters_restrictions.py | 43 --- test/test_profile_weightings.py | 43 --- test/test_restrictions.py | 43 --- test/test_round_trip_route_options.py | 43 --- test/test_route_options.py | 43 --- test/test_route_options_avoid_polygons.py | 43 --- test/test_route_response_info.py | 43 --- test/test_rte.py | 43 --- test/test_snapping_service_api.py | 62 +++ ...ectionsprofilegeojson_schedule_duration.py | 43 --- ...ofilegeojson_schedule_duration_duration.py | 43 --- ...sprofilegeojson_schedule_duration_units.py | 43 --- ...v2directionsprofilegeojson_walking_time.py | 43 --- 275 files changed, 6305 insertions(+), 4597 deletions(-) create mode 100644 .swagger-codegen-ignore create mode 100644 .swagger-codegen/VERSION create mode 100644 .travis.yml create mode 100644 docs/GeoJSONFeature.md create mode 100644 docs/GeoJSONFeatureGeometry.md create mode 100644 docs/GeoJSONFeatureProperties.md create mode 100644 docs/GeoJSONPointGeometry.md create mode 100644 docs/GeoJSONSnappingResponse.md create mode 100644 docs/GeoJSONSnappingResponseFeatures.md create mode 100644 docs/GeoJSONSnappingResponseMetadata.md create mode 100644 docs/InlineResponse2002Violations.md create mode 100644 docs/InlineResponse2007.md create mode 100644 docs/InlineResponse2008.md create mode 100644 docs/JSONLocation.md create mode 100644 docs/OptimizationBreaks.md create mode 100644 docs/OptimizationCosts.md create mode 100644 docs/OptimizationMatrices.md create mode 100644 docs/OptimizationMatricesCyclingelectric.md create mode 100644 docs/OptimizationSteps.md create mode 100644 docs/ProfileGeojsonBody.md create mode 100644 docs/ProfileJsonBody.md create mode 100644 docs/SnapProfileBody.md create mode 100644 docs/SnappingRequest.md create mode 100644 docs/SnappingResponse.md create mode 100644 docs/SnappingResponseInfo.md create mode 100644 docs/SnappingResponseLocations.md create mode 100644 docs/SnappingServiceApi.md create mode 100644 openrouteservice/api/snapping_service_api.py create mode 100644 openrouteservice/models/geo_json_feature.py create mode 100644 openrouteservice/models/geo_json_feature_geometry.py create mode 100644 openrouteservice/models/geo_json_feature_properties.py create mode 100644 openrouteservice/models/geo_json_point_geometry.py create mode 100644 openrouteservice/models/geo_json_snapping_response.py create mode 100644 openrouteservice/models/geo_json_snapping_response_features.py create mode 100644 openrouteservice/models/geo_json_snapping_response_metadata.py create mode 100644 openrouteservice/models/inline_response2002_violations.py create mode 100644 openrouteservice/models/inline_response2007.py create mode 100644 openrouteservice/models/inline_response2008.py create mode 100644 openrouteservice/models/json_location.py create mode 100644 openrouteservice/models/optimization_breaks.py create mode 100644 openrouteservice/models/optimization_costs.py create mode 100644 openrouteservice/models/optimization_matrices.py create mode 100644 openrouteservice/models/optimization_matrices_cyclingelectric.py create mode 100644 openrouteservice/models/optimization_steps.py create mode 100644 openrouteservice/models/profile_geojson_body.py create mode 100644 openrouteservice/models/profile_json_body.py create mode 100644 openrouteservice/models/snap_profile_body.py create mode 100644 openrouteservice/models/snapping_request.py create mode 100644 openrouteservice/models/snapping_response.py create mode 100644 openrouteservice/models/snapping_response_info.py create mode 100644 openrouteservice/models/snapping_response_locations.py delete mode 100644 test/test_alternative_routes.py delete mode 100644 test/test_directions_service.py delete mode 100644 test/test_directions_service1.py delete mode 100644 test/test_elevation_line_body.py delete mode 100644 test/test_elevation_point_body.py delete mode 100644 test/test_engine_info.py delete mode 100644 test/test_geo_json_features_object.py delete mode 100644 test/test_geo_json_geometry_object.py delete mode 100644 test/test_geo_json_isochrone_base.py delete mode 100644 test/test_geo_json_isochrone_base_geometry.py delete mode 100644 test/test_geo_json_isochrones_response.py delete mode 100644 test/test_geo_json_isochrones_response_features.py delete mode 100644 test/test_geo_json_isochrones_response_metadata.py delete mode 100644 test/test_geo_json_isochrones_response_metadata_engine.py delete mode 100644 test/test_geo_json_properties_object.py delete mode 100644 test/test_geo_json_properties_object_category_ids.py delete mode 100644 test/test_geo_json_properties_object_category_ids_category_id.py delete mode 100644 test/test_geo_json_properties_object_osm_tags.py delete mode 100644 test/test_geo_json_route_response.py delete mode 100644 test/test_geo_json_route_response_metadata.py delete mode 100644 test/test_geocode_response.py delete mode 100644 test/test_gpx.py delete mode 100644 test/test_graph_export_service.py delete mode 100644 test/test_inline_response200.py delete mode 100644 test/test_inline_response2001.py delete mode 100644 test/test_inline_response2001_geometry.py delete mode 100644 test/test_inline_response2002.py delete mode 100644 test/test_inline_response2002_routes.py delete mode 100644 test/test_inline_response2002_steps.py delete mode 100644 test/test_inline_response2002_summary.py delete mode 100644 test/test_inline_response2002_unassigned.py delete mode 100644 test/test_inline_response2003.py delete mode 100644 test/test_inline_response2004.py delete mode 100644 test/test_inline_response2005.py delete mode 100644 test/test_inline_response2006.py delete mode 100644 test/test_inline_response200_geometry.py delete mode 100644 test/test_isochrones_profile_body.py delete mode 100644 test/test_isochrones_request.py delete mode 100644 test/test_isochrones_response_info.py delete mode 100644 test/test_json2_d_destinations.py delete mode 100644 test/test_json2_d_sources.py delete mode 100644 test/test_json_edge.py delete mode 100644 test/test_json_edge_extra.py delete mode 100644 test/test_json_export_response.py delete mode 100644 test/test_json_export_response_edges.py delete mode 100644 test/test_json_export_response_edges_extra.py delete mode 100644 test/test_json_export_response_nodes.py delete mode 100644 test/test_json_extra.py delete mode 100644 test/test_json_extra_summary.py delete mode 100644 test/test_json_individual_route_response.py delete mode 100644 test/test_json_individual_route_response_extras.py delete mode 100644 test/test_json_individual_route_response_instructions.py delete mode 100644 test/test_json_individual_route_response_legs.py delete mode 100644 test/test_json_individual_route_response_maneuver.py delete mode 100644 test/test_json_individual_route_response_segments.py delete mode 100644 test/test_json_individual_route_response_stops.py delete mode 100644 test/test_json_individual_route_response_summary.py delete mode 100644 test/test_json_individual_route_response_warnings.py delete mode 100644 test/test_json_leg.py delete mode 100644 test/test_json_node.py delete mode 100644 test/test_json_object.py delete mode 100644 test/test_json_route_response.py delete mode 100644 test/test_json_route_response_routes.py delete mode 100644 test/test_json_segment.py delete mode 100644 test/test_json_step.py delete mode 100644 test/test_json_step_maneuver.py delete mode 100644 test/test_json_summary.py delete mode 100644 test/test_json_warning.py delete mode 100644 test/test_jsonpt_stop.py delete mode 100644 test/test_matrix_profile_body.py delete mode 100644 test/test_matrix_request.py delete mode 100644 test/test_matrix_response.py delete mode 100644 test/test_matrix_response_destinations.py delete mode 100644 test/test_matrix_response_info.py delete mode 100644 test/test_matrix_response_metadata.py delete mode 100644 test/test_matrix_response_sources.py delete mode 100644 test/test_openpoiservice_poi_request.py delete mode 100644 test/test_openpoiservice_poi_response.py delete mode 100644 test/test_optimization_body.py delete mode 100644 test/test_optimization_jobs.py delete mode 100644 test/test_optimization_options.py delete mode 100644 test/test_optimization_vehicles.py delete mode 100644 test/test_pois_filters.py delete mode 100644 test/test_pois_geometry.py delete mode 100644 test/test_profile_parameters.py delete mode 100644 test/test_profile_parameters_restrictions.py delete mode 100644 test/test_profile_weightings.py delete mode 100644 test/test_restrictions.py delete mode 100644 test/test_round_trip_route_options.py delete mode 100644 test/test_route_options.py delete mode 100644 test/test_route_options_avoid_polygons.py delete mode 100644 test/test_route_response_info.py delete mode 100644 test/test_rte.py create mode 100644 test/test_snapping_service_api.py delete mode 100644 test/test_v2directionsprofilegeojson_schedule_duration.py delete mode 100644 test/test_v2directionsprofilegeojson_schedule_duration_duration.py delete mode 100644 test/test_v2directionsprofilegeojson_schedule_duration_units.py delete mode 100644 test/test_v2directionsprofilegeojson_walking_time.py diff --git a/.swagger-codegen-ignore b/.swagger-codegen-ignore new file mode 100644 index 00000000..c5fa491b --- /dev/null +++ b/.swagger-codegen-ignore @@ -0,0 +1,23 @@ +# Swagger Codegen Ignore +# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen + +# Use this file to prevent files from being overwritten by the generator. +# The patterns follow closely to .gitignore or .dockerignore. + +# As an example, the C# client generator defines ApiClient.cs. +# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line: +#ApiClient.cs + +# You can match any string of characters against a directory, file or extension with a single asterisk (*): +#foo/*/qux +# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux + +# You can recursively match patterns against a directory, file or extension with a double asterisk (**): +#foo/**/qux +# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux + +# You can also negate patterns with an exclamation (!). +# For example, you can ignore all files in a docs folder with the file extension .md: +#docs/*.md +# Then explicitly reverse the ignore rule for a single file: +#!docs/README.md diff --git a/.swagger-codegen/VERSION b/.swagger-codegen/VERSION new file mode 100644 index 00000000..248908e6 --- /dev/null +++ b/.swagger-codegen/VERSION @@ -0,0 +1 @@ +3.0.54 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..dd6c4450 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,13 @@ +# ref: https://docs.travis-ci.com/user/languages/python +language: python +python: + - "3.2" + - "3.3" + - "3.4" + - "3.5" + #- "3.5-dev" # 3.5 development branch + #- "nightly" # points to the latest development branch e.g. 3.6-dev +# command to install dependencies +install: "pip install -r requirements.txt" +# command to run tests +script: nosetests diff --git a/README.md b/README.md index 035a98f0..e58947f5 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ The openrouteservice library gives you painless access to the [openrouteservice] | API Version | Package version | Build package | | -------------- | ------------------ | ------------------ | -| 7.1.0 | 7.1.0.post6 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | +| 7.1.1 | 7.1.1 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | For further details, please visit: - our [homepage](https://openrouteservice.org) @@ -49,10 +49,10 @@ Please follow the [installation procedure](#installation--usage) before running ### Examples These examples show common usages of this library. -- [Avoid construction sites dynamically](docs/examples/Avoid_ConstructionSites) -- [Dieselgate Routing](docs/examples/Dieselgate_Routing) -- [Route optimization of pub crawl](docs/examples/ortools_pubcrawl) -- [Routing optimization in humanitarian context](docs/examples/Routing_Optimization_Idai) +- [Avoid construction sites dynamically](examples/Avoid_ConstructionSites.ipynb) +- [Dieselgate Routing](examples/Dieselgate_Routing.ipynb) +- [Route optimization of pub crawl](examples/ortools_pubcrawl.ipynb) +- [Routing optimization in humanitarian context](examples/Routing_Optimization_Idai.ipynb) ### Basic example ```python @@ -119,9 +119,12 @@ Class | Method | HTTP request | Description *GeocodeApi* | [**geocode_search_get**](docs/GeocodeApi.md#geocode_search_get) | **GET** /geocode/search | Forward Geocode Service *GeocodeApi* | [**geocode_search_structured_get**](docs/GeocodeApi.md#geocode_search_structured_get) | **GET** /geocode/search/structured | Structured Forward Geocode Service (beta) *IsochronesServiceApi* | [**get_default_isochrones**](docs/IsochronesServiceApi.md#get_default_isochrones) | **POST** /v2/isochrones/{profile} | Isochrones Service -*MatrixServiceApi* | [**get_default**](docs/MatrixServiceApi.md#get_default) | **POST** /v2/matrix/{profile} | Matrix Service +*MatrixServiceApi* | [**get_default1**](docs/MatrixServiceApi.md#get_default1) | **POST** /v2/matrix/{profile} | Matrix Service *OptimizationApi* | [**optimization_post**](docs/OptimizationApi.md#optimization_post) | **POST** /optimization | Optimization Service *PoisApi* | [**pois_post**](docs/PoisApi.md#pois_post) | **POST** /pois | Pois Service +*SnappingServiceApi* | [**get_default**](docs/SnappingServiceApi.md#get_default) | **POST** /v2/snap/{profile} | Snapping Service +*SnappingServiceApi* | [**get_geo_json_snapping**](docs/SnappingServiceApi.md#get_geo_json_snapping) | **POST** /v2/snap/{profile}/geojson | Snapping Service GeoJSON +*SnappingServiceApi* | [**get_json_snapping**](docs/SnappingServiceApi.md#get_json_snapping) | **POST** /v2/snap/{profile}/json | Snapping Service JSON ## Documentation For Models @@ -131,6 +134,9 @@ Class | Method | HTTP request | Description - [ElevationLineBody](docs/ElevationLineBody.md) - [ElevationPointBody](docs/ElevationPointBody.md) - [EngineInfo](docs/EngineInfo.md) + - [GeoJSONFeature](docs/GeoJSONFeature.md) + - [GeoJSONFeatureGeometry](docs/GeoJSONFeatureGeometry.md) + - [GeoJSONFeatureProperties](docs/GeoJSONFeatureProperties.md) - [GeoJSONFeaturesObject](docs/GeoJSONFeaturesObject.md) - [GeoJSONGeometryObject](docs/GeoJSONGeometryObject.md) - [GeoJSONIsochroneBase](docs/GeoJSONIsochroneBase.md) @@ -139,12 +145,16 @@ Class | Method | HTTP request | Description - [GeoJSONIsochronesResponseFeatures](docs/GeoJSONIsochronesResponseFeatures.md) - [GeoJSONIsochronesResponseMetadata](docs/GeoJSONIsochronesResponseMetadata.md) - [GeoJSONIsochronesResponseMetadataEngine](docs/GeoJSONIsochronesResponseMetadataEngine.md) + - [GeoJSONPointGeometry](docs/GeoJSONPointGeometry.md) - [GeoJSONPropertiesObject](docs/GeoJSONPropertiesObject.md) - [GeoJSONPropertiesObjectCategoryIds](docs/GeoJSONPropertiesObjectCategoryIds.md) - [GeoJSONPropertiesObjectCategoryIdsCategoryId](docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md) - [GeoJSONPropertiesObjectOsmTags](docs/GeoJSONPropertiesObjectOsmTags.md) - [GeoJSONRouteResponse](docs/GeoJSONRouteResponse.md) - [GeoJSONRouteResponseMetadata](docs/GeoJSONRouteResponseMetadata.md) + - [GeoJSONSnappingResponse](docs/GeoJSONSnappingResponse.md) + - [GeoJSONSnappingResponseFeatures](docs/GeoJSONSnappingResponseFeatures.md) + - [GeoJSONSnappingResponseMetadata](docs/GeoJSONSnappingResponseMetadata.md) - [GeocodeResponse](docs/GeocodeResponse.md) - [Gpx](docs/Gpx.md) - [GraphExportService](docs/GraphExportService.md) @@ -156,10 +166,13 @@ Class | Method | HTTP request | Description - [InlineResponse2002Steps](docs/InlineResponse2002Steps.md) - [InlineResponse2002Summary](docs/InlineResponse2002Summary.md) - [InlineResponse2002Unassigned](docs/InlineResponse2002Unassigned.md) + - [InlineResponse2002Violations](docs/InlineResponse2002Violations.md) - [InlineResponse2003](docs/InlineResponse2003.md) - [InlineResponse2004](docs/InlineResponse2004.md) - [InlineResponse2005](docs/InlineResponse2005.md) - [InlineResponse2006](docs/InlineResponse2006.md) + - [InlineResponse2007](docs/InlineResponse2007.md) + - [InlineResponse2008](docs/InlineResponse2008.md) - [InlineResponse200Geometry](docs/InlineResponse200Geometry.md) - [IsochronesProfileBody](docs/IsochronesProfileBody.md) - [IsochronesRequest](docs/IsochronesRequest.md) @@ -178,6 +191,7 @@ Class | Method | HTTP request | Description - [JSONIndividualRouteResponseSummary](docs/JSONIndividualRouteResponseSummary.md) - [JSONIndividualRouteResponseWarnings](docs/JSONIndividualRouteResponseWarnings.md) - [JSONLeg](docs/JSONLeg.md) + - [JSONLocation](docs/JSONLocation.md) - [JSONObject](docs/JSONObject.md) - [JSONPtStop](docs/JSONPtStop.md) - [JSONRouteResponse](docs/JSONRouteResponse.md) @@ -204,11 +218,18 @@ Class | Method | HTTP request | Description - [OpenpoiservicePoiRequest](docs/OpenpoiservicePoiRequest.md) - [OpenpoiservicePoiResponse](docs/OpenpoiservicePoiResponse.md) - [OptimizationBody](docs/OptimizationBody.md) + - [OptimizationBreaks](docs/OptimizationBreaks.md) + - [OptimizationCosts](docs/OptimizationCosts.md) - [OptimizationJobs](docs/OptimizationJobs.md) + - [OptimizationMatrices](docs/OptimizationMatrices.md) + - [OptimizationMatricesCyclingelectric](docs/OptimizationMatricesCyclingelectric.md) - [OptimizationOptions](docs/OptimizationOptions.md) + - [OptimizationSteps](docs/OptimizationSteps.md) - [OptimizationVehicles](docs/OptimizationVehicles.md) - [PoisFilters](docs/PoisFilters.md) - [PoisGeometry](docs/PoisGeometry.md) + - [ProfileGeojsonBody](docs/ProfileGeojsonBody.md) + - [ProfileJsonBody](docs/ProfileJsonBody.md) - [ProfileParameters](docs/ProfileParameters.md) - [ProfileParametersRestrictions](docs/ProfileParametersRestrictions.md) - [ProfileWeightings](docs/ProfileWeightings.md) @@ -218,10 +239,11 @@ Class | Method | HTTP request | Description - [RouteOptionsAvoidPolygons](docs/RouteOptionsAvoidPolygons.md) - [RouteResponseInfo](docs/RouteResponseInfo.md) - [Rte](docs/Rte.md) - - [V2directionsprofilegeojsonScheduleDuration](docs/V2directionsprofilegeojsonScheduleDuration.md) - - [V2directionsprofilegeojsonScheduleDurationDuration](docs/V2directionsprofilegeojsonScheduleDurationDuration.md) - - [V2directionsprofilegeojsonScheduleDurationUnits](docs/V2directionsprofilegeojsonScheduleDurationUnits.md) - - [V2directionsprofilegeojsonWalkingTime](docs/V2directionsprofilegeojsonWalkingTime.md) + - [SnapProfileBody](docs/SnapProfileBody.md) + - [SnappingRequest](docs/SnappingRequest.md) + - [SnappingResponse](docs/SnappingResponse.md) + - [SnappingResponseInfo](docs/SnappingResponseInfo.md) + - [SnappingResponseLocations](docs/SnappingResponseLocations.md) ## Author diff --git a/docs/DirectionsService.md b/docs/DirectionsService.md index f7fc7e23..2980e80b 100644 --- a/docs/DirectionsService.md +++ b/docs/DirectionsService.md @@ -24,12 +24,12 @@ Name | Type | Description | Notes **radiuses** | **list[float]** | A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. | [optional] **roundabout_exits** | **bool** | Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. | [optional] [default to False] **schedule** | **bool** | If true, return a public transport schedule starting at <departure> for the next <schedule_duration> minutes. | [optional] [default to False] -**schedule_duration** | [**V2directionsprofilegeojsonScheduleDuration**](V2directionsprofilegeojsonScheduleDuration.md) | | [optional] +**schedule_duration** | **str** | The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations | [optional] **schedule_rows** | **int** | The maximum amount of entries that should be returned when requesting a schedule. | [optional] **skip_segments** | **list[int]** | Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. | [optional] **suppress_warnings** | **bool** | Suppress warning messages in the response | [optional] **units** | **str** | Specifies the distance unit. | [optional] [default to 'm'] -**walking_time** | [**V2directionsprofilegeojsonWalkingTime**](V2directionsprofilegeojsonWalkingTime.md) | | [optional] +**walking_time** | **str** | Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations | [optional] [default to 'PT15M'] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/DirectionsService1.md b/docs/DirectionsService1.md index 31421449..675ee163 100644 --- a/docs/DirectionsService1.md +++ b/docs/DirectionsService1.md @@ -24,12 +24,12 @@ Name | Type | Description | Notes **radiuses** | **list[float]** | A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. | [optional] **roundabout_exits** | **bool** | Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. | [optional] [default to False] **schedule** | **bool** | If true, return a public transport schedule starting at <departure> for the next <schedule_duration> minutes. | [optional] [default to False] -**schedule_duration** | [**V2directionsprofilegeojsonScheduleDuration**](V2directionsprofilegeojsonScheduleDuration.md) | | [optional] +**schedule_duration** | **str** | The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations | [optional] **schedule_rows** | **int** | The maximum amount of entries that should be returned when requesting a schedule. | [optional] **skip_segments** | **list[int]** | Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. | [optional] **suppress_warnings** | **bool** | Suppress warning messages in the response | [optional] **units** | **str** | Specifies the distance unit. | [optional] [default to 'm'] -**walking_time** | [**V2directionsprofilegeojsonWalkingTime**](V2directionsprofilegeojsonWalkingTime.md) | | [optional] +**walking_time** | **str** | Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations | [optional] [default to 'PT15M'] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/ElevationApi.md b/docs/ElevationApi.md index ac895d8f..b3d6ccb2 100644 --- a/docs/ElevationApi.md +++ b/docs/ElevationApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description Elevation Line Service -This endpoint can take planar 2D line objects and enrich them with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Polyline * Google's Encoded polyline with coordinate precision 5 or 6 Example: ``` # POST LineString as polyline curl -XPOST https://api.openrouteservice.org/elevation/line -H 'Content-Type: application/json' \\ -H 'Authorization: INSERT_YOUR_KEY -d '{ \"format_in\": \"polyline\", \"format_out\": \"encodedpolyline5\", \"geometry\": [[13.349762, 38.112952], [12.638397, 37.645772]] }' ``` +This endpoint can take planar 2D line objects and enrich them with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Polyline * Google's Encoded polyline with coordinate precision 5 or 6 Example: ``` # POST LineString as polyline curl -XPOST https://api.openrouteservice.org/elevation/line -H 'Content-Type: application/json' \\ -H 'Authorization: INSERT_YOUR_KEY -d '{ \"format_in\": \"polyline\", \"format_out\": \"encodedpolyline5\", \"geometry\": [[13.349762, 38.112952], [12.638397, 37.645772]] }' ``` ### Example ```python @@ -58,7 +58,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: application/json, */* [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) @@ -116,7 +116,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: application/json, */* [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) @@ -170,7 +170,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: application/json, */* [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) diff --git a/docs/GeoJSONFeature.md b/docs/GeoJSONFeature.md new file mode 100644 index 00000000..a8960275 --- /dev/null +++ b/docs/GeoJSONFeature.md @@ -0,0 +1,11 @@ +# GeoJSONFeature + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**geometry** | [**GeoJSONFeatureGeometry**](GeoJSONFeatureGeometry.md) | | [optional] +**properties** | [**GeoJSONFeatureProperties**](GeoJSONFeatureProperties.md) | | [optional] +**type** | **str** | GeoJSON type | [optional] [default to 'Feature'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONFeatureGeometry.md b/docs/GeoJSONFeatureGeometry.md new file mode 100644 index 00000000..cbe20895 --- /dev/null +++ b/docs/GeoJSONFeatureGeometry.md @@ -0,0 +1,10 @@ +# GeoJSONFeatureGeometry + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**coordinates** | **list[float]** | Lon/Lat coordinates of the snapped location | [optional] +**type** | **str** | GeoJSON type | [optional] [default to 'Point'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONFeatureProperties.md b/docs/GeoJSONFeatureProperties.md new file mode 100644 index 00000000..df691fac --- /dev/null +++ b/docs/GeoJSONFeatureProperties.md @@ -0,0 +1,11 @@ +# GeoJSONFeatureProperties + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | \"Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] +**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] +**source_id** | **int** | Index of the requested location | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONPointGeometry.md b/docs/GeoJSONPointGeometry.md new file mode 100644 index 00000000..7811958d --- /dev/null +++ b/docs/GeoJSONPointGeometry.md @@ -0,0 +1,10 @@ +# GeoJSONPointGeometry + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**coordinates** | **list[float]** | Lon/Lat coordinates of the snapped location | [optional] +**type** | **str** | GeoJSON type | [optional] [default to 'Point'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONSnappingResponse.md b/docs/GeoJSONSnappingResponse.md new file mode 100644 index 00000000..e46de064 --- /dev/null +++ b/docs/GeoJSONSnappingResponse.md @@ -0,0 +1,12 @@ +# GeoJSONSnappingResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bbox** | **list[float]** | Bounding box that covers all returned snapping points | [optional] +**features** | [**list[GeoJSONSnappingResponseFeatures]**](GeoJSONSnappingResponseFeatures.md) | Information about the service and request | [optional] +**metadata** | [**GeoJSONSnappingResponseMetadata**](GeoJSONSnappingResponseMetadata.md) | | [optional] +**type** | **str** | GeoJSON type | [optional] [default to 'FeatureCollection'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONSnappingResponseFeatures.md b/docs/GeoJSONSnappingResponseFeatures.md new file mode 100644 index 00000000..9a2213b1 --- /dev/null +++ b/docs/GeoJSONSnappingResponseFeatures.md @@ -0,0 +1,11 @@ +# GeoJSONSnappingResponseFeatures + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**geometry** | [**GeoJSONFeatureGeometry**](GeoJSONFeatureGeometry.md) | | [optional] +**properties** | [**GeoJSONFeatureProperties**](GeoJSONFeatureProperties.md) | | [optional] +**type** | **str** | GeoJSON type | [optional] [default to 'Feature'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/GeoJSONSnappingResponseMetadata.md b/docs/GeoJSONSnappingResponseMetadata.md new file mode 100644 index 00000000..50f2a31c --- /dev/null +++ b/docs/GeoJSONSnappingResponseMetadata.md @@ -0,0 +1,15 @@ +# GeoJSONSnappingResponseMetadata + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribution** | **str** | Copyright and attribution information | [optional] +**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] +**query** | [**ProfileJsonBody**](ProfileJsonBody.md) | | [optional] +**service** | **str** | The service that was requested | [optional] +**system_message** | **str** | System message | [optional] +**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2002Routes.md b/docs/InlineResponse2002Routes.md index ab357ece..d1421151 100644 --- a/docs/InlineResponse2002Routes.md +++ b/docs/InlineResponse2002Routes.md @@ -3,11 +3,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | **list[int]** | total amount for jobs in this route | [optional] **cost** | **float** | cost for this route | [optional] +**delivery** | **list[int]** | Total delivery for tasks in this route | [optional] +**description** | **str** | vehicle description, if provided in input | [optional] **distance** | **float** | total route distance. Only provided when using the `-g` flag | [optional] **duration** | **float** | total travel time for this route | [optional] **geometry** | **str** | polyline encoded route geometry. Only provided when using the `-g` flag | [optional] +**pickup** | **list[int]** | total pickup for tasks in this route | [optional] **service** | **float** | total service time for this route | [optional] **steps** | [**list[InlineResponse2002Steps]**](InlineResponse2002Steps.md) | array of `step` objects | [optional] **vehicle** | **int** | id of the vehicle assigned to this route | [optional] diff --git a/docs/InlineResponse2002Steps.md b/docs/InlineResponse2002Steps.md index 3130367c..8ee61c15 100644 --- a/docs/InlineResponse2002Steps.md +++ b/docs/InlineResponse2002Steps.md @@ -4,12 +4,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **arrival** | **float** | estimated time of arrival at this step in seconds | [optional] -**distance** | **float** | traveled distance upon arrival at this step. Only provided when using the `-g` flag with `OSRM` | [optional] +**description** | **str** | step description, if provided in input | [optional] +**distance** | **float** | traveled distance upon arrival at this step. Only provided when using the `-g` flag | [optional] **duration** | **float** | cumulated travel time upon arrival at this step in seconds | [optional] -**job** | **int** | id of the job performed at this step, only provided if `type` value is `job` | [optional] +**id** | **int** | id of the task performed at this step, only provided if type value is `job`, `pickup`, `delivery` or `break` | [optional] +**load** | **int** | vehicle load after step completion (with capacity constraints) | [optional] **location** | **list[float]** | coordinates array for this step (if provided in input) | [optional] -**service** | **float** | service time at this step, only provided if `type` value is `job` | [optional] +**service** | **float** | service time at this step | [optional] +**setup** | **float** | setup time at this step | [optional] **type** | **str** | string that is either `start`, `job` or `end` | [optional] +**violations** | [**list[InlineResponse2002Violations]**](InlineResponse2002Violations.md) | array of violation objects for this step | [optional] **waiting_time** | **float** | waiting time upon arrival at this step, only provided if `type` value is `job` | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2002Summary.md b/docs/InlineResponse2002Summary.md index 4d619346..b14c542e 100644 --- a/docs/InlineResponse2002Summary.md +++ b/docs/InlineResponse2002Summary.md @@ -3,12 +3,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | **list[int]** | total amount for all routes | [optional] **cost** | **float** | total cost for all routes | [optional] +**delivery** | **float** | Total delivery for all routes | [optional] **distance** | **float** | total distance for all routes. Only provided when using the `-g` flag with `OSRM` | [optional] **duration** | **float** | total travel time for all routes | [optional] +**pickup** | **float** | Total pickup for all routes | [optional] +**priority** | **float** | total priority sum for all assigned tasks | [optional] +**routes** | **float** | Number of routes in the solution | [optional] **service** | **float** | total service time for all routes | [optional] +**setup** | **float** | Total setup time for all routes | [optional] **unassigned** | **int** | number of jobs that could not be served | [optional] +**violations** | [**list[InlineResponse2002Violations]**](InlineResponse2002Violations.md) | array of violation objects for all routes | [optional] **waiting_time** | **float** | total waiting time for all routes | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2002Violations.md b/docs/InlineResponse2002Violations.md new file mode 100644 index 00000000..8a828f55 --- /dev/null +++ b/docs/InlineResponse2002Violations.md @@ -0,0 +1,10 @@ +# InlineResponse2002Violations + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cause** | **str** | string describing the cause of violation. Possible violation causes are: - \"delay\" if actual service start does not meet a task time window and is late on a time window end - \"lead_time\" if actual service start does not meet a task time window and is early on a time window start - \"load\" if the vehicle load goes over its capacity - \"max_tasks\" if the vehicle has more tasks than its max_tasks value - \"skills\" if the vehicle does not hold all required skills for a task - \"precedence\" if a shipment precedence constraint is not met (pickup without matching delivery, delivery before/without matching pickup) - \"missing_break\" if a vehicle break has been omitted in its custom route - \"max_travel_time\" if the vehicle has more travel time than its max_travel_time value - \"max_load\" if the load during a break exceed its max_load value | [optional] +**duration** | **float** | Earliness (resp. lateness) if `cause` is \"lead_time\" (resp \"delay\") | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md new file mode 100644 index 00000000..c59ab88d --- /dev/null +++ b/docs/InlineResponse2007.md @@ -0,0 +1,10 @@ +# InlineResponse2007 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locations** | [**list[SnappingResponseLocations]**](SnappingResponseLocations.md) | The snapped locations as coordinates and snapping distance. | [optional] +**metadata** | [**GeoJSONSnappingResponseMetadata**](GeoJSONSnappingResponseMetadata.md) | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/InlineResponse2008.md b/docs/InlineResponse2008.md new file mode 100644 index 00000000..680b7b90 --- /dev/null +++ b/docs/InlineResponse2008.md @@ -0,0 +1,12 @@ +# InlineResponse2008 + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bbox** | **list[float]** | Bounding box that covers all returned snapping points | [optional] +**features** | [**list[GeoJSONSnappingResponseFeatures]**](GeoJSONSnappingResponseFeatures.md) | Information about the service and request | [optional] +**metadata** | [**GeoJSONSnappingResponseMetadata**](GeoJSONSnappingResponseMetadata.md) | | [optional] +**type** | **str** | GeoJSON type | [optional] [default to 'FeatureCollection'] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/JSON2DDestinations.md b/docs/JSON2DDestinations.md index dfac3c49..f63008a5 100644 --- a/docs/JSON2DDestinations.md +++ b/docs/JSON2DDestinations.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] **name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] -**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph. | [optional] +**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/JSON2DSources.md b/docs/JSON2DSources.md index fc85767b..9b9345f6 100644 --- a/docs/JSON2DSources.md +++ b/docs/JSON2DSources.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] **name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] -**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph. | [optional] +**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/JSONLocation.md b/docs/JSONLocation.md new file mode 100644 index 00000000..cf11ea8e --- /dev/null +++ b/docs/JSONLocation.md @@ -0,0 +1,11 @@ +# JSONLocation + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] +**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] +**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/MatrixResponseDestinations.md b/docs/MatrixResponseDestinations.md index db53d863..26caf9b5 100644 --- a/docs/MatrixResponseDestinations.md +++ b/docs/MatrixResponseDestinations.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] **name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] -**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph. | [optional] +**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/MatrixResponseSources.md b/docs/MatrixResponseSources.md index 72a58b74..818dc08d 100644 --- a/docs/MatrixResponseSources.md +++ b/docs/MatrixResponseSources.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] **name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] -**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph. | [optional] +**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/MatrixServiceApi.md b/docs/MatrixServiceApi.md index 37872091..f2699615 100644 --- a/docs/MatrixServiceApi.md +++ b/docs/MatrixServiceApi.md @@ -4,10 +4,10 @@ All URIs are relative to *https://api.openrouteservice.org* Method | HTTP request | Description ------------- | ------------- | ------------- -[**get_default**](MatrixServiceApi.md#get_default) | **POST** /v2/matrix/{profile} | Matrix Service +[**get_default1**](MatrixServiceApi.md#get_default1) | **POST** /v2/matrix/{profile} | Matrix Service -# **get_default** -> InlineResponse2006 get_default(body, profile) +# **get_default1** +> InlineResponse2006 get_default1(body, profile) Matrix Service @@ -34,10 +34,10 @@ profile = 'profile_example' # str | Specifies the matrix profile. try: # Matrix Service - api_response = api_instance.get_default(body, profile) + api_response = api_instance.get_default1(body, profile) pprint(api_response) except ApiException as e: - print("Exception when calling MatrixServiceApi->get_default: %s\n" % e) + print("Exception when calling MatrixServiceApi->get_default1: %s\n" % e) ``` ### Parameters diff --git a/docs/OptimizationApi.md b/docs/OptimizationApi.md index c7884241..4dab79f7 100644 --- a/docs/OptimizationApi.md +++ b/docs/OptimizationApi.md @@ -56,7 +56,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: application/json, */* [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) diff --git a/docs/OptimizationBody.md b/docs/OptimizationBody.md index fec9938f..0ae161e5 100644 --- a/docs/OptimizationBody.md +++ b/docs/OptimizationBody.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **jobs** | [**list[OptimizationJobs]**](OptimizationJobs.md) | Array of `job` objects describing the places to visit. For a detailed object description visit the [VROOM api description](https://github.com/VROOM-Project/vroom/blob/master/docs/API.md#jobs) | -**matrix** | **list[list]** | Optional two-dimensional array describing a custom matrix | [optional] +**matrices** | [**OptimizationMatrices**](OptimizationMatrices.md) | | [optional] **options** | [**OptimizationOptions**](OptimizationOptions.md) | | [optional] **vehicles** | [**list[OptimizationVehicles]**](OptimizationVehicles.md) | Array of `vehicle` objects describing the available vehicles. For a detailed object description visit the [VROOM API description](https://github.com/VROOM-Project/vroom/blob/master/docs/API.md#vehicles) | diff --git a/docs/OptimizationBreaks.md b/docs/OptimizationBreaks.md new file mode 100644 index 00000000..a0c28f57 --- /dev/null +++ b/docs/OptimizationBreaks.md @@ -0,0 +1,13 @@ +# OptimizationBreaks + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | a string describing this break | [optional] +**id** | **int** | Integer used as unique identifier | [optional] +**max_load** | **list[float]** | Array of integers describing the maximum vehicle load for which this break can happen. An error is reported if two break objects have the same id for the same vehicle. | [optional] +**service** | **float** | break duration in seconds (defaults to 0) | [optional] [default to 0] +**time_windows** | **list[list[int]]** | Array of time_window objects describing valid slots for break start and end, in week seconds, i.e. 28800 = Mon, 8 AM. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/OptimizationCosts.md b/docs/OptimizationCosts.md new file mode 100644 index 00000000..0e68055b --- /dev/null +++ b/docs/OptimizationCosts.md @@ -0,0 +1,11 @@ +# OptimizationCosts + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fixed** | **float** | integer defining the cost of using this vehicle in the solution (defaults to 0) | [optional] [default to 0] +**per_hour** | **float** | integer defining the cost for one hour of travel time with this vehicle (defaults to 3600) | [optional] [default to 3600] +**per_km** | **float** | integer defining the cost for one km of travel time with this vehicle (defaults to 0) | [optional] [default to 0] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/OptimizationJobs.md b/docs/OptimizationJobs.md index f623220c..8b7b8bb0 100644 --- a/docs/OptimizationJobs.md +++ b/docs/OptimizationJobs.md @@ -3,11 +3,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**amount** | **list[int]** | Array describing multidimensional quantities | [optional] +**delivery** | **list[float]** | an array of integers describing multidimensional quantities for delivery | [optional] +**description** | **str** | a string describing this job | [optional] **id** | **int** | an integer used as unique identifier | [optional] **location** | **list[list[float]]** | coordinates array in `[lon, lat]` | [optional] **location_index** | **object** | index of relevant row and column in custom matrix | [optional] +**pickup** | **list[float]** | an array of integers describing multidimensional quantities for pickup | [optional] +**priority** | **float** | an integer in the range [0, 100] describing priority level (defaults to 0) | [optional] [default to 0] **service** | **object** | job service duration (defaults to 0), in seconds | [optional] +**setup** | **float** | job setup duration (defaults to 0), in seconds | [optional] **skills** | **list[int]** | Array of integers defining mandatory skills for this job | [optional] **time_windows** | **list[list[int]]** | Array of `time_window` arrays describing valid slots for job service start and end, in week seconds, i.e. 28800 = Mon, 8 AM. | [optional] diff --git a/docs/OptimizationMatrices.md b/docs/OptimizationMatrices.md new file mode 100644 index 00000000..ccdb6241 --- /dev/null +++ b/docs/OptimizationMatrices.md @@ -0,0 +1,17 @@ +# OptimizationMatrices + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**cycling_electric** | [**OptimizationMatricesCyclingelectric**](OptimizationMatricesCyclingelectric.md) | | [optional] +**cycling_mountain** | [**OptimizationMatricesCyclingelectric**](OptimizationMatricesCyclingelectric.md) | | [optional] +**cycling_regular** | [**OptimizationMatricesCyclingelectric**](OptimizationMatricesCyclingelectric.md) | | [optional] +**cycling_road** | [**OptimizationMatricesCyclingelectric**](OptimizationMatricesCyclingelectric.md) | | [optional] +**driving_car** | [**OptimizationMatricesCyclingelectric**](OptimizationMatricesCyclingelectric.md) | | [optional] +**driving_hgv** | [**OptimizationMatricesCyclingelectric**](OptimizationMatricesCyclingelectric.md) | | [optional] +**foot_hiking** | [**OptimizationMatricesCyclingelectric**](OptimizationMatricesCyclingelectric.md) | | [optional] +**foot_walking** | [**OptimizationMatricesCyclingelectric**](OptimizationMatricesCyclingelectric.md) | | [optional] +**wheelchair** | [**OptimizationMatricesCyclingelectric**](OptimizationMatricesCyclingelectric.md) | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/OptimizationMatricesCyclingelectric.md b/docs/OptimizationMatricesCyclingelectric.md new file mode 100644 index 00000000..dd9101a4 --- /dev/null +++ b/docs/OptimizationMatricesCyclingelectric.md @@ -0,0 +1,11 @@ +# OptimizationMatricesCyclingelectric + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**costs** | **list[list[int]]** | costs for a custom cost matrix that will be used within all route cost evaluations | [optional] +**distances** | **list[list[int]]** | distances for a custom distance matrix | [optional] +**durations** | **list[list[int]]** | Durations for a custom travel-time matrix that will be used for all checks against timing constraints | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/OptimizationSteps.md b/docs/OptimizationSteps.md new file mode 100644 index 00000000..9726f8b3 --- /dev/null +++ b/docs/OptimizationSteps.md @@ -0,0 +1,13 @@ +# OptimizationSteps + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **float** | id of the task to be performed at this step if `type` value is not `start` or `end` | [optional] +**service_after** | **float** | hard constraint on service time lower bound (as absolute or relative timestamp) | [optional] +**service_at** | **float** | hard constraint on service time (as absolute or relative timestamp) | [optional] +**service_before** | **float** | hard constraint on service time upper bound (as absolute or relative timestamp) | [optional] +**type** | **str** | step type (either start, job, pickup, delivery, break or end)] | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/OptimizationVehicles.md b/docs/OptimizationVehicles.md index 255e3407..e2fcd2bb 100644 --- a/docs/OptimizationVehicles.md +++ b/docs/OptimizationVehicles.md @@ -3,14 +3,22 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**breaks** | [**list[OptimizationBreaks]**](OptimizationBreaks.md) | An array of `break` objects | [optional] **capacity** | **list[int]** | Array of integers describing multidimensional quantities. | [optional] +**costs** | [**OptimizationCosts**](OptimizationCosts.md) | | [optional] +**description** | **str** | a string describing this vehicle | [optional] **end** | **list[float]** | End coordinates array in `[lon, lat]` format. If left blank, the optimization engine will identify the optimal end point. | [optional] **end_index** | **object** | Index of relevant row and column in custom matrix. | [optional] **id** | **int** | Integer used as unique identifier | [optional] +**max_distance** | **float** | an integer defining the maximum distance for this vehicle | [optional] +**max_tasks** | **float** | an integer defining the maximum number of tasks in a route for this vehicle | [optional] +**max_travel_time** | **float** | an integer defining the maximum travel time for this vehicle | [optional] **profile** | **str** | The ORS routing profile for the vehicle. | [optional] **skills** | **list[int]** | Array of integers defining skills for this vehicle | [optional] +**speed_factor** | **float** | A double value in the range (0, 5] used to scale all vehicle travel times (defaults to 1.). The respected precision is limited to two digits after the decimal point. | [optional] **start** | **list[float]** | Start coordinates array in `[lon, lat]` format. If left blank, the optimization engine will identify the optimal start point. | [optional] **start_index** | **object** | Index of relevant row and column in custom matrix. | [optional] +**steps** | [**list[OptimizationSteps]**](OptimizationSteps.md) | | [optional] **time_window** | **list[int]** | A `time_window` array describing working hours for this vehicle, in week seconds, i.e. 28800 = Mon, 8 AM. | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/PoisApi.md b/docs/PoisApi.md index 368875a3..47280d3e 100644 --- a/docs/PoisApi.md +++ b/docs/PoisApi.md @@ -56,7 +56,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: application/json, */* [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) diff --git a/docs/ProfileGeojsonBody.md b/docs/ProfileGeojsonBody.md new file mode 100644 index 00000000..35cceb03 --- /dev/null +++ b/docs/ProfileGeojsonBody.md @@ -0,0 +1,11 @@ +# ProfileGeojsonBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] +**locations** | **list[list[float]]** | The locations to be snapped as array of `longitude/latitude` pairs. | +**radius** | **float** | Maximum radius in meters around given coordinates to search for graph edges. | + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/ProfileJsonBody.md b/docs/ProfileJsonBody.md new file mode 100644 index 00000000..bd40758b --- /dev/null +++ b/docs/ProfileJsonBody.md @@ -0,0 +1,11 @@ +# ProfileJsonBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] +**locations** | **list[list[float]]** | The locations to be snapped as array of `longitude/latitude` pairs. | +**radius** | **float** | Maximum radius in meters around given coordinates to search for graph edges. | + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/SnapProfileBody.md b/docs/SnapProfileBody.md new file mode 100644 index 00000000..8b6a8120 --- /dev/null +++ b/docs/SnapProfileBody.md @@ -0,0 +1,11 @@ +# SnapProfileBody + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] +**locations** | **list[list[float]]** | The locations to be snapped as array of `longitude/latitude` pairs. | +**radius** | **float** | Maximum radius in meters around given coordinates to search for graph edges. | + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/SnappingRequest.md b/docs/SnappingRequest.md new file mode 100644 index 00000000..1c6a92d9 --- /dev/null +++ b/docs/SnappingRequest.md @@ -0,0 +1,11 @@ +# SnappingRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] +**locations** | **list[list[float]]** | The locations to be snapped as array of `longitude/latitude` pairs. | +**radius** | **float** | Maximum radius in meters around given coordinates to search for graph edges. | + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/SnappingResponse.md b/docs/SnappingResponse.md new file mode 100644 index 00000000..a8333ce9 --- /dev/null +++ b/docs/SnappingResponse.md @@ -0,0 +1,10 @@ +# SnappingResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**locations** | [**list[SnappingResponseLocations]**](SnappingResponseLocations.md) | The snapped locations as coordinates and snapping distance. | [optional] +**metadata** | [**GeoJSONSnappingResponseMetadata**](GeoJSONSnappingResponseMetadata.md) | | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/SnappingResponseInfo.md b/docs/SnappingResponseInfo.md new file mode 100644 index 00000000..12699deb --- /dev/null +++ b/docs/SnappingResponseInfo.md @@ -0,0 +1,15 @@ +# SnappingResponseInfo + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**attribution** | **str** | Copyright and attribution information | [optional] +**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] +**query** | [**ProfileJsonBody**](ProfileJsonBody.md) | | [optional] +**service** | **str** | The service that was requested | [optional] +**system_message** | **str** | System message | [optional] +**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/SnappingResponseLocations.md b/docs/SnappingResponseLocations.md new file mode 100644 index 00000000..05073e1e --- /dev/null +++ b/docs/SnappingResponseLocations.md @@ -0,0 +1,11 @@ +# SnappingResponseLocations + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] +**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] +**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] + +[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) + diff --git a/docs/SnappingServiceApi.md b/docs/SnappingServiceApi.md new file mode 100644 index 00000000..dcfa19d7 --- /dev/null +++ b/docs/SnappingServiceApi.md @@ -0,0 +1,178 @@ +# openrouteservice.SnappingServiceApi + +All URIs are relative to *https://api.openrouteservice.org* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**get_default**](SnappingServiceApi.md#get_default) | **POST** /v2/snap/{profile} | Snapping Service +[**get_geo_json_snapping**](SnappingServiceApi.md#get_geo_json_snapping) | **POST** /v2/snap/{profile}/geojson | Snapping Service GeoJSON +[**get_json_snapping**](SnappingServiceApi.md#get_json_snapping) | **POST** /v2/snap/{profile}/json | Snapping Service JSON + +# **get_default** +> InlineResponse2007 get_default(body, profile) + +Snapping Service + +Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.SnappingServiceApi(openrouteservice.ApiClient(configuration)) +body = openrouteservice.SnapProfileBody() # SnapProfileBody | +profile = 'profile_example' # str | Specifies the route profile. + +try: + # Snapping Service + api_response = api_instance.get_default(body, profile) + pprint(api_response) +except ApiException as e: + print("Exception when calling SnappingServiceApi->get_default: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**SnapProfileBody**](SnapProfileBody.md)| | + **profile** | **str**| Specifies the route profile. | + +### Return type + +[**InlineResponse2007**](InlineResponse2007.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + +# **get_geo_json_snapping** +> InlineResponse2008 get_geo_json_snapping(body, profile) + +Snapping Service GeoJSON + +Returns a GeoJSON FeatureCollection of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, it is omitted from the features array. The features provide the 'source_id' property, to match the results with the input location array (IDs start at 0). + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.SnappingServiceApi(openrouteservice.ApiClient(configuration)) +body = openrouteservice.ProfileGeojsonBody() # ProfileGeojsonBody | +profile = 'profile_example' # str | Specifies the profile. + +try: + # Snapping Service GeoJSON + api_response = api_instance.get_geo_json_snapping(body, profile) + pprint(api_response) +except ApiException as e: + print("Exception when calling SnappingServiceApi->get_geo_json_snapping: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**ProfileGeojsonBody**](ProfileGeojsonBody.md)| | + **profile** | **str**| Specifies the profile. | + +### Return type + +[**InlineResponse2008**](InlineResponse2008.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + +# **get_json_snapping** +> InlineResponse2007 get_json_snapping(body, profile) + +Snapping Service JSON + +Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. + +### Example +```python +from __future__ import print_function +import time +import openrouteservice +from openrouteservice.rest import ApiException +from pprint import pprint + +# Configure API key authorization: ApiKeyAuth +configuration = openrouteservice.Configuration() +configuration.api_key['Authorization'] = 'YOUR_API_KEY' +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['Authorization'] = 'Bearer' + +# create an instance of the API class +api_instance = openrouteservice.SnappingServiceApi(openrouteservice.ApiClient(configuration)) +body = openrouteservice.ProfileJsonBody() # ProfileJsonBody | +profile = 'profile_example' # str | Specifies the profile. + +try: + # Snapping Service JSON + api_response = api_instance.get_json_snapping(body, profile) + pprint(api_response) +except ApiException as e: + print("Exception when calling SnappingServiceApi->get_json_snapping: %s\n" % e) +``` + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **body** | [**ProfileJsonBody**](ProfileJsonBody.md)| | + **profile** | **str**| Specifies the profile. | + +### Return type + +[**InlineResponse2007**](InlineResponse2007.md) + +### Authorization + +[ApiKeyAuth](../README.md#ApiKeyAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json, */* + +[[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) + diff --git a/openrouteservice/__init__.py b/openrouteservice/__init__.py index acdb3de1..c6e1729a 100644 --- a/openrouteservice/__init__.py +++ b/openrouteservice/__init__.py @@ -5,18 +5,15 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import -import warnings -warnings.simplefilter('always', DeprecationWarning) - # import apis into sdk package from openrouteservice.api.directions_service_api import DirectionsServiceApi from openrouteservice.api.elevation_api import ElevationApi @@ -25,6 +22,7 @@ from openrouteservice.api.matrix_service_api import MatrixServiceApi from openrouteservice.api.optimization_api import OptimizationApi from openrouteservice.api.pois_api import PoisApi +from openrouteservice.api.snapping_service_api import SnappingServiceApi # import ApiClient from openrouteservice.api_client import ApiClient from openrouteservice.configuration import Configuration @@ -35,6 +33,9 @@ from openrouteservice.models.elevation_line_body import ElevationLineBody from openrouteservice.models.elevation_point_body import ElevationPointBody from openrouteservice.models.engine_info import EngineInfo +from openrouteservice.models.geo_json_feature import GeoJSONFeature +from openrouteservice.models.geo_json_feature_geometry import GeoJSONFeatureGeometry +from openrouteservice.models.geo_json_feature_properties import GeoJSONFeatureProperties from openrouteservice.models.geo_json_features_object import GeoJSONFeaturesObject from openrouteservice.models.geo_json_geometry_object import GeoJSONGeometryObject from openrouteservice.models.geo_json_isochrone_base import GeoJSONIsochroneBase @@ -43,12 +44,16 @@ from openrouteservice.models.geo_json_isochrones_response_features import GeoJSONIsochronesResponseFeatures from openrouteservice.models.geo_json_isochrones_response_metadata import GeoJSONIsochronesResponseMetadata from openrouteservice.models.geo_json_isochrones_response_metadata_engine import GeoJSONIsochronesResponseMetadataEngine +from openrouteservice.models.geo_json_point_geometry import GeoJSONPointGeometry from openrouteservice.models.geo_json_properties_object import GeoJSONPropertiesObject from openrouteservice.models.geo_json_properties_object_category_ids import GeoJSONPropertiesObjectCategoryIds from openrouteservice.models.geo_json_properties_object_category_ids_category_id import GeoJSONPropertiesObjectCategoryIdsCategoryId from openrouteservice.models.geo_json_properties_object_osm_tags import GeoJSONPropertiesObjectOsmTags from openrouteservice.models.geo_json_route_response import GeoJSONRouteResponse from openrouteservice.models.geo_json_route_response_metadata import GeoJSONRouteResponseMetadata +from openrouteservice.models.geo_json_snapping_response import GeoJSONSnappingResponse +from openrouteservice.models.geo_json_snapping_response_features import GeoJSONSnappingResponseFeatures +from openrouteservice.models.geo_json_snapping_response_metadata import GeoJSONSnappingResponseMetadata from openrouteservice.models.geocode_response import GeocodeResponse from openrouteservice.models.gpx import Gpx from openrouteservice.models.graph_export_service import GraphExportService @@ -60,10 +65,13 @@ from openrouteservice.models.inline_response2002_steps import InlineResponse2002Steps from openrouteservice.models.inline_response2002_summary import InlineResponse2002Summary from openrouteservice.models.inline_response2002_unassigned import InlineResponse2002Unassigned +from openrouteservice.models.inline_response2002_violations import InlineResponse2002Violations from openrouteservice.models.inline_response2003 import InlineResponse2003 from openrouteservice.models.inline_response2004 import InlineResponse2004 from openrouteservice.models.inline_response2005 import InlineResponse2005 from openrouteservice.models.inline_response2006 import InlineResponse2006 +from openrouteservice.models.inline_response2007 import InlineResponse2007 +from openrouteservice.models.inline_response2008 import InlineResponse2008 from openrouteservice.models.inline_response200_geometry import InlineResponse200Geometry from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody from openrouteservice.models.isochrones_request import IsochronesRequest @@ -82,6 +90,7 @@ from openrouteservice.models.json_individual_route_response_summary import JSONIndividualRouteResponseSummary from openrouteservice.models.json_individual_route_response_warnings import JSONIndividualRouteResponseWarnings from openrouteservice.models.json_leg import JSONLeg +from openrouteservice.models.json_location import JSONLocation from openrouteservice.models.json_object import JSONObject from openrouteservice.models.jsonpt_stop import JSONPtStop from openrouteservice.models.json_route_response import JSONRouteResponse @@ -108,11 +117,18 @@ from openrouteservice.models.openpoiservice_poi_request import OpenpoiservicePoiRequest from openrouteservice.models.openpoiservice_poi_response import OpenpoiservicePoiResponse from openrouteservice.models.optimization_body import OptimizationBody +from openrouteservice.models.optimization_breaks import OptimizationBreaks +from openrouteservice.models.optimization_costs import OptimizationCosts from openrouteservice.models.optimization_jobs import OptimizationJobs +from openrouteservice.models.optimization_matrices import OptimizationMatrices +from openrouteservice.models.optimization_matrices_cyclingelectric import OptimizationMatricesCyclingelectric from openrouteservice.models.optimization_options import OptimizationOptions +from openrouteservice.models.optimization_steps import OptimizationSteps from openrouteservice.models.optimization_vehicles import OptimizationVehicles from openrouteservice.models.pois_filters import PoisFilters from openrouteservice.models.pois_geometry import PoisGeometry +from openrouteservice.models.profile_geojson_body import ProfileGeojsonBody +from openrouteservice.models.profile_json_body import ProfileJsonBody from openrouteservice.models.profile_parameters import ProfileParameters from openrouteservice.models.profile_parameters_restrictions import ProfileParametersRestrictions from openrouteservice.models.profile_weightings import ProfileWeightings @@ -122,12 +138,9 @@ from openrouteservice.models.route_options_avoid_polygons import RouteOptionsAvoidPolygons from openrouteservice.models.route_response_info import RouteResponseInfo from openrouteservice.models.rte import Rte -from openrouteservice.models.v2directionsprofilegeojson_schedule_duration import V2directionsprofilegeojsonScheduleDuration -from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_duration import V2directionsprofilegeojsonScheduleDurationDuration -from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_units import V2directionsprofilegeojsonScheduleDurationUnits -from openrouteservice.models.v2directionsprofilegeojson_walking_time import V2directionsprofilegeojsonWalkingTime -from openrouteservice.utility import todict - -from openrouteservice.legacy.client import Client -from openrouteservice.legacy import * -import openrouteservice.legacy.convert as convert \ No newline at end of file +from openrouteservice.models.snap_profile_body import SnapProfileBody +from openrouteservice.models.snapping_request import SnappingRequest +from openrouteservice.models.snapping_response import SnappingResponse +from openrouteservice.models.snapping_response_info import SnappingResponseInfo +from openrouteservice.models.snapping_response_locations import SnappingResponseLocations +from openrouteservice.utility import * diff --git a/openrouteservice/api/__init__.py b/openrouteservice/api/__init__.py index 8f6da872..4f699522 100644 --- a/openrouteservice/api/__init__.py +++ b/openrouteservice/api/__init__.py @@ -10,3 +10,4 @@ from openrouteservice.api.matrix_service_api import MatrixServiceApi from openrouteservice.api.optimization_api import OptimizationApi from openrouteservice.api.pois_api import PoisApi +from openrouteservice.api.snapping_service_api import SnappingServiceApi diff --git a/openrouteservice/api/directions_service_api.py b/openrouteservice/api/directions_service_api.py index f1aaa396..21ce063e 100644 --- a/openrouteservice/api/directions_service_api.py +++ b/openrouteservice/api/directions_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/elevation_api.py b/openrouteservice/api/elevation_api.py index 63c4cc64..d73aabc8 100644 --- a/openrouteservice/api/elevation_api.py +++ b/openrouteservice/api/elevation_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -106,7 +106,7 @@ def elevation_line_post_with_http_info(self, body, **kwargs): # noqa: E501 body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 + ['application/json', '*/*']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 @@ -214,7 +214,7 @@ def elevation_point_get_with_http_info(self, geometry, **kwargs): # noqa: E501 body_params = None # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 + ['application/json', '*/*']) # noqa: E501 # Authentication setting auth_settings = ['ApiKeyAuth'] # noqa: E501 @@ -309,7 +309,7 @@ def elevation_point_post_with_http_info(self, body, **kwargs): # noqa: E501 body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 + ['application/json', '*/*']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 diff --git a/openrouteservice/api/geocode_api.py b/openrouteservice/api/geocode_api.py index f3d7c5e8..9cb19afc 100644 --- a/openrouteservice/api/geocode_api.py +++ b/openrouteservice/api/geocode_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/isochrones_service_api.py b/openrouteservice/api/isochrones_service_api.py index 54a94287..4526e634 100644 --- a/openrouteservice/api/isochrones_service_api.py +++ b/openrouteservice/api/isochrones_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/matrix_service_api.py b/openrouteservice/api/matrix_service_api.py index cf142e32..5e3d1b69 100644 --- a/openrouteservice/api/matrix_service_api.py +++ b/openrouteservice/api/matrix_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -32,13 +32,13 @@ def __init__(self, api_client=None): api_client = ApiClient() self.api_client = api_client - def get_default(self, body, profile, **kwargs): # noqa: E501 + def get_default1(self, body, profile, **kwargs): # noqa: E501 """Matrix Service # noqa: E501 Returns duration or distance matrix for multiple source and destination points. By default a square duration matrix is returned where every point in locations is paired with each other. The result is null if a value can’t be determined. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_default(body, profile, async_req=True) + >>> thread = api.get_default1(body, profile, async_req=True) >>> result = thread.get() :param async_req bool @@ -50,18 +50,18 @@ def get_default(self, body, profile, **kwargs): # noqa: E501 """ kwargs['_return_http_data_only'] = True if kwargs.get('async_req'): - return self.get_default_with_http_info(body, profile, **kwargs) # noqa: E501 + return self.get_default1_with_http_info(body, profile, **kwargs) # noqa: E501 else: - (data) = self.get_default_with_http_info(body, profile, **kwargs) # noqa: E501 + (data) = self.get_default1_with_http_info(body, profile, **kwargs) # noqa: E501 return data - def get_default_with_http_info(self, body, profile, **kwargs): # noqa: E501 + def get_default1_with_http_info(self, body, profile, **kwargs): # noqa: E501 """Matrix Service # noqa: E501 Returns duration or distance matrix for multiple source and destination points. By default a square duration matrix is returned where every point in locations is paired with each other. The result is null if a value can’t be determined. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.get_default_with_http_info(body, profile, async_req=True) + >>> thread = api.get_default1_with_http_info(body, profile, async_req=True) >>> result = thread.get() :param async_req bool @@ -83,18 +83,18 @@ def get_default_with_http_info(self, body, profile, **kwargs): # noqa: E501 if key not in all_params: raise TypeError( "Got an unexpected keyword argument '%s'" - " to method get_default" % key + " to method get_default1" % key ) params[key] = val del params['kwargs'] # verify the required parameter 'body' is set if ('body' not in params or params['body'] is None): - raise ValueError("Missing the required parameter `body` when calling `get_default`") # noqa: E501 + raise ValueError("Missing the required parameter `body` when calling `get_default1`") # noqa: E501 # verify the required parameter 'profile' is set if ('profile' not in params or params['profile'] is None): - raise ValueError("Missing the required parameter `profile` when calling `get_default`") # noqa: E501 + raise ValueError("Missing the required parameter `profile` when calling `get_default1`") # noqa: E501 collection_formats = {} diff --git a/openrouteservice/api/optimization_api.py b/openrouteservice/api/optimization_api.py index b88e8c67..c82581ed 100644 --- a/openrouteservice/api/optimization_api.py +++ b/openrouteservice/api/optimization_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -106,7 +106,7 @@ def optimization_post_with_http_info(self, body, **kwargs): # noqa: E501 body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 + ['application/json', '*/*']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 diff --git a/openrouteservice/api/pois_api.py b/openrouteservice/api/pois_api.py index 7fe42419..e69f847e 100644 --- a/openrouteservice/api/pois_api.py +++ b/openrouteservice/api/pois_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -106,7 +106,7 @@ def pois_post_with_http_info(self, body, **kwargs): # noqa: E501 body_params = params['body'] # HTTP header `Accept` header_params['Accept'] = self.api_client.select_header_accept( - ['application/json']) # noqa: E501 + ['application/json', '*/*']) # noqa: E501 # HTTP header `Content-Type` header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 diff --git a/openrouteservice/api/snapping_service_api.py b/openrouteservice/api/snapping_service_api.py new file mode 100644 index 00000000..3a2b683c --- /dev/null +++ b/openrouteservice/api/snapping_service_api.py @@ -0,0 +1,354 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import re # noqa: F401 + +# python 2 and python 3 compatibility library +import six + +from openrouteservice.api_client import ApiClient + + +class SnappingServiceApi(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + Ref: https://github.com/swagger-api/swagger-codegen + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + + def get_default(self, body, profile, **kwargs): # noqa: E501 + """Snapping Service # noqa: E501 + + Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_default(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SnapProfileBody body: (required) + :param str profile: Specifies the route profile. (required) + :return: InlineResponse2007 + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_default_with_http_info(body, profile, **kwargs) # noqa: E501 + else: + (data) = self.get_default_with_http_info(body, profile, **kwargs) # noqa: E501 + return data + + def get_default_with_http_info(self, body, profile, **kwargs): # noqa: E501 + """Snapping Service # noqa: E501 + + Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_default_with_http_info(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param SnapProfileBody body: (required) + :param str profile: Specifies the route profile. (required) + :return: InlineResponse2007 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'profile'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_default" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `get_default`") # noqa: E501 + # verify the required parameter 'profile' is set + if ('profile' not in params or + params['profile'] is None): + raise ValueError("Missing the required parameter `profile` when calling `get_default`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'profile' in params: + path_params['profile'] = params['profile'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', '*/*']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/v2/snap/{profile}', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse2007', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_geo_json_snapping(self, body, profile, **kwargs): # noqa: E501 + """Snapping Service GeoJSON # noqa: E501 + + Returns a GeoJSON FeatureCollection of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, it is omitted from the features array. The features provide the 'source_id' property, to match the results with the input location array (IDs start at 0). # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_geo_json_snapping(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ProfileGeojsonBody body: (required) + :param str profile: Specifies the profile. (required) + :return: InlineResponse2008 + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_geo_json_snapping_with_http_info(body, profile, **kwargs) # noqa: E501 + else: + (data) = self.get_geo_json_snapping_with_http_info(body, profile, **kwargs) # noqa: E501 + return data + + def get_geo_json_snapping_with_http_info(self, body, profile, **kwargs): # noqa: E501 + """Snapping Service GeoJSON # noqa: E501 + + Returns a GeoJSON FeatureCollection of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, it is omitted from the features array. The features provide the 'source_id' property, to match the results with the input location array (IDs start at 0). # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_geo_json_snapping_with_http_info(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ProfileGeojsonBody body: (required) + :param str profile: Specifies the profile. (required) + :return: InlineResponse2008 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'profile'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_geo_json_snapping" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `get_geo_json_snapping`") # noqa: E501 + # verify the required parameter 'profile' is set + if ('profile' not in params or + params['profile'] is None): + raise ValueError("Missing the required parameter `profile` when calling `get_geo_json_snapping`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'profile' in params: + path_params['profile'] = params['profile'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', '*/*']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/v2/snap/{profile}/geojson', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse2008', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) + + def get_json_snapping(self, body, profile, **kwargs): # noqa: E501 + """Snapping Service JSON # noqa: E501 + + Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_json_snapping(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ProfileJsonBody body: (required) + :param str profile: Specifies the profile. (required) + :return: InlineResponse2007 + If the method is called asynchronously, + returns the request thread. + """ + kwargs['_return_http_data_only'] = True + if kwargs.get('async_req'): + return self.get_json_snapping_with_http_info(body, profile, **kwargs) # noqa: E501 + else: + (data) = self.get_json_snapping_with_http_info(body, profile, **kwargs) # noqa: E501 + return data + + def get_json_snapping_with_http_info(self, body, profile, **kwargs): # noqa: E501 + """Snapping Service JSON # noqa: E501 + + Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + >>> thread = api.get_json_snapping_with_http_info(body, profile, async_req=True) + >>> result = thread.get() + + :param async_req bool + :param ProfileJsonBody body: (required) + :param str profile: Specifies the profile. (required) + :return: InlineResponse2007 + If the method is called asynchronously, + returns the request thread. + """ + + all_params = ['body', 'profile'] # noqa: E501 + all_params.append('async_req') + all_params.append('_return_http_data_only') + all_params.append('_preload_content') + all_params.append('_request_timeout') + + params = locals() + for key, val in six.iteritems(params['kwargs']): + if key not in all_params: + raise TypeError( + "Got an unexpected keyword argument '%s'" + " to method get_json_snapping" % key + ) + params[key] = val + del params['kwargs'] + # verify the required parameter 'body' is set + if ('body' not in params or + params['body'] is None): + raise ValueError("Missing the required parameter `body` when calling `get_json_snapping`") # noqa: E501 + # verify the required parameter 'profile' is set + if ('profile' not in params or + params['profile'] is None): + raise ValueError("Missing the required parameter `profile` when calling `get_json_snapping`") # noqa: E501 + + collection_formats = {} + + path_params = {} + if 'profile' in params: + path_params['profile'] = params['profile'] # noqa: E501 + + query_params = [] + + header_params = {} + + form_params = [] + local_var_files = {} + + body_params = None + if 'body' in params: + body_params = params['body'] + # HTTP header `Accept` + header_params['Accept'] = self.api_client.select_header_accept( + ['application/json', '*/*']) # noqa: E501 + + # HTTP header `Content-Type` + header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501 + ['application/json']) # noqa: E501 + + # Authentication setting + auth_settings = ['ApiKeyAuth'] # noqa: E501 + + return self.api_client.call_api( + '/v2/snap/{profile}/json', 'POST', + path_params, + query_params, + header_params, + body=body_params, + post_params=form_params, + files=local_var_files, + response_type='InlineResponse2007', # noqa: E501 + auth_settings=auth_settings, + async_req=params.get('async_req'), + _return_http_data_only=params.get('_return_http_data_only'), + _preload_content=params.get('_preload_content', True), + _request_timeout=params.get('_request_timeout'), + collection_formats=collection_formats) diff --git a/openrouteservice/api_client.py b/openrouteservice/api_client.py index 716b0d9a..1af6d6fa 100644 --- a/openrouteservice/api_client.py +++ b/openrouteservice/api_client.py @@ -2,9 +2,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/7.1.0.post6/python' + self.user_agent = 'Swagger-Codegen/7.1.1/python' def __del__(self): self.pool.close() diff --git a/openrouteservice/configuration.py b/openrouteservice/configuration.py index 0c5de8b3..4ff470ea 100644 --- a/openrouteservice/configuration.py +++ b/openrouteservice/configuration.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -246,6 +246,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 7.1.0\n"\ - "SDK Package Version: 7.1.0.post6".\ + "Version of the API: 7.1.1\n"\ + "SDK Package Version: 7.1.1".\ format(env=sys.platform, pyversion=sys.version) diff --git a/openrouteservice/models/__init__.py b/openrouteservice/models/__init__.py index a0b5d8de..f678dd09 100644 --- a/openrouteservice/models/__init__.py +++ b/openrouteservice/models/__init__.py @@ -4,9 +4,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -20,6 +20,9 @@ from openrouteservice.models.elevation_line_body import ElevationLineBody from openrouteservice.models.elevation_point_body import ElevationPointBody from openrouteservice.models.engine_info import EngineInfo +from openrouteservice.models.geo_json_feature import GeoJSONFeature +from openrouteservice.models.geo_json_feature_geometry import GeoJSONFeatureGeometry +from openrouteservice.models.geo_json_feature_properties import GeoJSONFeatureProperties from openrouteservice.models.geo_json_features_object import GeoJSONFeaturesObject from openrouteservice.models.geo_json_geometry_object import GeoJSONGeometryObject from openrouteservice.models.geo_json_isochrone_base import GeoJSONIsochroneBase @@ -28,12 +31,16 @@ from openrouteservice.models.geo_json_isochrones_response_features import GeoJSONIsochronesResponseFeatures from openrouteservice.models.geo_json_isochrones_response_metadata import GeoJSONIsochronesResponseMetadata from openrouteservice.models.geo_json_isochrones_response_metadata_engine import GeoJSONIsochronesResponseMetadataEngine +from openrouteservice.models.geo_json_point_geometry import GeoJSONPointGeometry from openrouteservice.models.geo_json_properties_object import GeoJSONPropertiesObject from openrouteservice.models.geo_json_properties_object_category_ids import GeoJSONPropertiesObjectCategoryIds from openrouteservice.models.geo_json_properties_object_category_ids_category_id import GeoJSONPropertiesObjectCategoryIdsCategoryId from openrouteservice.models.geo_json_properties_object_osm_tags import GeoJSONPropertiesObjectOsmTags from openrouteservice.models.geo_json_route_response import GeoJSONRouteResponse from openrouteservice.models.geo_json_route_response_metadata import GeoJSONRouteResponseMetadata +from openrouteservice.models.geo_json_snapping_response import GeoJSONSnappingResponse +from openrouteservice.models.geo_json_snapping_response_features import GeoJSONSnappingResponseFeatures +from openrouteservice.models.geo_json_snapping_response_metadata import GeoJSONSnappingResponseMetadata from openrouteservice.models.geocode_response import GeocodeResponse from openrouteservice.models.gpx import Gpx from openrouteservice.models.graph_export_service import GraphExportService @@ -45,10 +52,13 @@ from openrouteservice.models.inline_response2002_steps import InlineResponse2002Steps from openrouteservice.models.inline_response2002_summary import InlineResponse2002Summary from openrouteservice.models.inline_response2002_unassigned import InlineResponse2002Unassigned +from openrouteservice.models.inline_response2002_violations import InlineResponse2002Violations from openrouteservice.models.inline_response2003 import InlineResponse2003 from openrouteservice.models.inline_response2004 import InlineResponse2004 from openrouteservice.models.inline_response2005 import InlineResponse2005 from openrouteservice.models.inline_response2006 import InlineResponse2006 +from openrouteservice.models.inline_response2007 import InlineResponse2007 +from openrouteservice.models.inline_response2008 import InlineResponse2008 from openrouteservice.models.inline_response200_geometry import InlineResponse200Geometry from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody from openrouteservice.models.isochrones_request import IsochronesRequest @@ -67,6 +77,7 @@ from openrouteservice.models.json_individual_route_response_summary import JSONIndividualRouteResponseSummary from openrouteservice.models.json_individual_route_response_warnings import JSONIndividualRouteResponseWarnings from openrouteservice.models.json_leg import JSONLeg +from openrouteservice.models.json_location import JSONLocation from openrouteservice.models.json_object import JSONObject from openrouteservice.models.jsonpt_stop import JSONPtStop from openrouteservice.models.json_route_response import JSONRouteResponse @@ -93,11 +104,18 @@ from openrouteservice.models.openpoiservice_poi_request import OpenpoiservicePoiRequest from openrouteservice.models.openpoiservice_poi_response import OpenpoiservicePoiResponse from openrouteservice.models.optimization_body import OptimizationBody +from openrouteservice.models.optimization_breaks import OptimizationBreaks +from openrouteservice.models.optimization_costs import OptimizationCosts from openrouteservice.models.optimization_jobs import OptimizationJobs +from openrouteservice.models.optimization_matrices import OptimizationMatrices +from openrouteservice.models.optimization_matrices_cyclingelectric import OptimizationMatricesCyclingelectric from openrouteservice.models.optimization_options import OptimizationOptions +from openrouteservice.models.optimization_steps import OptimizationSteps from openrouteservice.models.optimization_vehicles import OptimizationVehicles from openrouteservice.models.pois_filters import PoisFilters from openrouteservice.models.pois_geometry import PoisGeometry +from openrouteservice.models.profile_geojson_body import ProfileGeojsonBody +from openrouteservice.models.profile_json_body import ProfileJsonBody from openrouteservice.models.profile_parameters import ProfileParameters from openrouteservice.models.profile_parameters_restrictions import ProfileParametersRestrictions from openrouteservice.models.profile_weightings import ProfileWeightings @@ -107,7 +125,8 @@ from openrouteservice.models.route_options_avoid_polygons import RouteOptionsAvoidPolygons from openrouteservice.models.route_response_info import RouteResponseInfo from openrouteservice.models.rte import Rte -from openrouteservice.models.v2directionsprofilegeojson_schedule_duration import V2directionsprofilegeojsonScheduleDuration -from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_duration import V2directionsprofilegeojsonScheduleDurationDuration -from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_units import V2directionsprofilegeojsonScheduleDurationUnits -from openrouteservice.models.v2directionsprofilegeojson_walking_time import V2directionsprofilegeojsonWalkingTime +from openrouteservice.models.snap_profile_body import SnapProfileBody +from openrouteservice.models.snapping_request import SnappingRequest +from openrouteservice.models.snapping_response import SnappingResponse +from openrouteservice.models.snapping_response_info import SnappingResponseInfo +from openrouteservice.models.snapping_response_locations import SnappingResponseLocations diff --git a/openrouteservice/models/alternative_routes.py b/openrouteservice/models/alternative_routes.py index 5274d6ac..f25e7eb8 100644 --- a/openrouteservice/models/alternative_routes.py +++ b/openrouteservice/models/alternative_routes.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/directions_service.py b/openrouteservice/models/directions_service.py index 174866f2..28488572 100644 --- a/openrouteservice/models/directions_service.py +++ b/openrouteservice/models/directions_service.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -49,12 +49,12 @@ class DirectionsService(object): 'radiuses': 'list[float]', 'roundabout_exits': 'bool', 'schedule': 'bool', - 'schedule_duration': 'V2directionsprofilegeojsonScheduleDuration', + 'schedule_duration': 'str', 'schedule_rows': 'int', 'skip_segments': 'list[int]', 'suppress_warnings': 'bool', 'units': 'str', - 'walking_time': 'V2directionsprofilegeojsonWalkingTime' + 'walking_time': 'str' } attribute_map = { @@ -87,7 +87,7 @@ class DirectionsService(object): 'walking_time': 'walking_time' } - def __init__(self, alternative_routes=None, attributes=None, bearings=None, continue_straight=False, coordinates=None, elevation=None, extra_info=None, geometry=True, geometry_simplify=False, id=None, ignore_transfers=False, instructions=True, instructions_format='text', language='en', maneuvers=False, maximum_speed=None, options=None, preference='recommended', radiuses=None, roundabout_exits=False, schedule=False, schedule_duration=None, schedule_rows=None, skip_segments=None, suppress_warnings=None, units='m', walking_time=None): # noqa: E501 + def __init__(self, alternative_routes=None, attributes=None, bearings=None, continue_straight=False, coordinates=None, elevation=None, extra_info=None, geometry=True, geometry_simplify=False, id=None, ignore_transfers=False, instructions=True, instructions_format='text', language='en', maneuvers=False, maximum_speed=None, options=None, preference='recommended', radiuses=None, roundabout_exits=False, schedule=False, schedule_duration=None, schedule_rows=None, skip_segments=None, suppress_warnings=None, units='m', walking_time='PT15M'): # noqa: E501 """DirectionsService - a model defined in Swagger""" # noqa: E501 self._alternative_routes = None self._attributes = None @@ -510,7 +510,7 @@ def language(self, language): :param language: The language of this DirectionsService. # noqa: E501 :type: str """ - allowed_values = ["cs", "cs-cz", "de", "de-de", "en", "en-us", "eo", "eo-eo", "es", "es-es", "fr", "fr-fr", "gr", "gr-gr", "he", "he-il", "hu", "hu-hu", "id", "id-id", "it", "it-it", "ja", "ja-jp", "ne", "ne-np", "nl", "nl-nl", "pl", "pl-pl", "pt", "pt-pt", "ro", "ro-ro", "ru", "ru-ru", "tr", "tr-tr", "zh", "zh-cn"] # noqa: E501 + allowed_values = ["cs", "cs-cz", "de", "de-de", "en", "en-us", "eo", "eo-eo", "es", "es-es", "fr", "fr-fr", "gr", "gr-gr", "he", "he-il", "hu", "hu-hu", "id", "id-id", "it", "it-it", "ja", "ja-jp", "ne", "ne-np", "nl", "nl-nl", "nb", "nb-no", "pl", "pl-pl", "pt", "pt-pt", "ro", "ro-ro", "ru", "ru-ru", "tr", "tr-tr", "zh", "zh-cn"] # noqa: E501 if language not in allowed_values: raise ValueError( "Invalid value for `language` ({0}), must be one of {1}" # noqa: E501 @@ -688,9 +688,10 @@ def schedule(self, schedule): def schedule_duration(self): """Gets the schedule_duration of this DirectionsService. # noqa: E501 + The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 :return: The schedule_duration of this DirectionsService. # noqa: E501 - :rtype: V2directionsprofilegeojsonScheduleDuration + :rtype: str """ return self._schedule_duration @@ -698,9 +699,10 @@ def schedule_duration(self): def schedule_duration(self, schedule_duration): """Sets the schedule_duration of this DirectionsService. + The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 :param schedule_duration: The schedule_duration of this DirectionsService. # noqa: E501 - :type: V2directionsprofilegeojsonScheduleDuration + :type: str """ self._schedule_duration = schedule_duration @@ -807,9 +809,10 @@ def units(self, units): def walking_time(self): """Gets the walking_time of this DirectionsService. # noqa: E501 + Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 :return: The walking_time of this DirectionsService. # noqa: E501 - :rtype: V2directionsprofilegeojsonWalkingTime + :rtype: str """ return self._walking_time @@ -817,9 +820,10 @@ def walking_time(self): def walking_time(self, walking_time): """Sets the walking_time of this DirectionsService. + Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 :param walking_time: The walking_time of this DirectionsService. # noqa: E501 - :type: V2directionsprofilegeojsonWalkingTime + :type: str """ self._walking_time = walking_time diff --git a/openrouteservice/models/directions_service1.py b/openrouteservice/models/directions_service1.py index 1f5754c8..328c2998 100644 --- a/openrouteservice/models/directions_service1.py +++ b/openrouteservice/models/directions_service1.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -49,12 +49,12 @@ class DirectionsService1(object): 'radiuses': 'list[float]', 'roundabout_exits': 'bool', 'schedule': 'bool', - 'schedule_duration': 'V2directionsprofilegeojsonScheduleDuration', + 'schedule_duration': 'str', 'schedule_rows': 'int', 'skip_segments': 'list[int]', 'suppress_warnings': 'bool', 'units': 'str', - 'walking_time': 'V2directionsprofilegeojsonWalkingTime' + 'walking_time': 'str' } attribute_map = { @@ -87,7 +87,7 @@ class DirectionsService1(object): 'walking_time': 'walking_time' } - def __init__(self, alternative_routes=None, attributes=None, bearings=None, continue_straight=False, coordinates=None, elevation=None, extra_info=None, geometry=True, geometry_simplify=False, id=None, ignore_transfers=False, instructions=True, instructions_format='text', language='en', maneuvers=False, maximum_speed=None, options=None, preference='recommended', radiuses=None, roundabout_exits=False, schedule=False, schedule_duration=None, schedule_rows=None, skip_segments=None, suppress_warnings=None, units='m', walking_time=None): # noqa: E501 + def __init__(self, alternative_routes=None, attributes=None, bearings=None, continue_straight=False, coordinates=None, elevation=None, extra_info=None, geometry=True, geometry_simplify=False, id=None, ignore_transfers=False, instructions=True, instructions_format='text', language='en', maneuvers=False, maximum_speed=None, options=None, preference='recommended', radiuses=None, roundabout_exits=False, schedule=False, schedule_duration=None, schedule_rows=None, skip_segments=None, suppress_warnings=None, units='m', walking_time='PT15M'): # noqa: E501 """DirectionsService1 - a model defined in Swagger""" # noqa: E501 self._alternative_routes = None self._attributes = None @@ -510,7 +510,7 @@ def language(self, language): :param language: The language of this DirectionsService1. # noqa: E501 :type: str """ - allowed_values = ["cs", "cs-cz", "de", "de-de", "en", "en-us", "eo", "eo-eo", "es", "es-es", "fr", "fr-fr", "gr", "gr-gr", "he", "he-il", "hu", "hu-hu", "id", "id-id", "it", "it-it", "ja", "ja-jp", "ne", "ne-np", "nl", "nl-nl", "pl", "pl-pl", "pt", "pt-pt", "ro", "ro-ro", "ru", "ru-ru", "tr", "tr-tr", "zh", "zh-cn"] # noqa: E501 + allowed_values = ["cs", "cs-cz", "de", "de-de", "en", "en-us", "eo", "eo-eo", "es", "es-es", "fr", "fr-fr", "gr", "gr-gr", "he", "he-il", "hu", "hu-hu", "id", "id-id", "it", "it-it", "ja", "ja-jp", "ne", "ne-np", "nl", "nl-nl", "nb", "nb-no", "pl", "pl-pl", "pt", "pt-pt", "ro", "ro-ro", "ru", "ru-ru", "tr", "tr-tr", "zh", "zh-cn"] # noqa: E501 if language not in allowed_values: raise ValueError( "Invalid value for `language` ({0}), must be one of {1}" # noqa: E501 @@ -688,9 +688,10 @@ def schedule(self, schedule): def schedule_duration(self): """Gets the schedule_duration of this DirectionsService1. # noqa: E501 + The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 :return: The schedule_duration of this DirectionsService1. # noqa: E501 - :rtype: V2directionsprofilegeojsonScheduleDuration + :rtype: str """ return self._schedule_duration @@ -698,9 +699,10 @@ def schedule_duration(self): def schedule_duration(self, schedule_duration): """Sets the schedule_duration of this DirectionsService1. + The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 :param schedule_duration: The schedule_duration of this DirectionsService1. # noqa: E501 - :type: V2directionsprofilegeojsonScheduleDuration + :type: str """ self._schedule_duration = schedule_duration @@ -807,9 +809,10 @@ def units(self, units): def walking_time(self): """Gets the walking_time of this DirectionsService1. # noqa: E501 + Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 :return: The walking_time of this DirectionsService1. # noqa: E501 - :rtype: V2directionsprofilegeojsonWalkingTime + :rtype: str """ return self._walking_time @@ -817,9 +820,10 @@ def walking_time(self): def walking_time(self, walking_time): """Sets the walking_time of this DirectionsService1. + Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 :param walking_time: The walking_time of this DirectionsService1. # noqa: E501 - :type: V2directionsprofilegeojsonWalkingTime + :type: str """ self._walking_time = walking_time diff --git a/openrouteservice/models/elevation_line_body.py b/openrouteservice/models/elevation_line_body.py index 934343f8..eca62ebd 100644 --- a/openrouteservice/models/elevation_line_body.py +++ b/openrouteservice/models/elevation_line_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/elevation_point_body.py b/openrouteservice/models/elevation_point_body.py index e1d71d4c..933d13d6 100644 --- a/openrouteservice/models/elevation_point_body.py +++ b/openrouteservice/models/elevation_point_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/engine_info.py b/openrouteservice/models/engine_info.py index d08e012e..b472eff2 100644 --- a/openrouteservice/models/engine_info.py +++ b/openrouteservice/models/engine_info.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_feature.py b/openrouteservice/models/geo_json_feature.py new file mode 100644 index 00000000..e5c4e1b8 --- /dev/null +++ b/openrouteservice/models/geo_json_feature.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONFeature(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'geometry': 'GeoJSONFeatureGeometry', + 'properties': 'GeoJSONFeatureProperties', + 'type': 'str' + } + + attribute_map = { + 'geometry': 'geometry', + 'properties': 'properties', + 'type': 'type' + } + + def __init__(self, geometry=None, properties=None, type='Feature'): # noqa: E501 + """GeoJSONFeature - a model defined in Swagger""" # noqa: E501 + self._geometry = None + self._properties = None + self._type = None + self.discriminator = None + if geometry is not None: + self.geometry = geometry + if properties is not None: + self.properties = properties + if type is not None: + self.type = type + + @property + def geometry(self): + """Gets the geometry of this GeoJSONFeature. # noqa: E501 + + + :return: The geometry of this GeoJSONFeature. # noqa: E501 + :rtype: GeoJSONFeatureGeometry + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this GeoJSONFeature. + + + :param geometry: The geometry of this GeoJSONFeature. # noqa: E501 + :type: GeoJSONFeatureGeometry + """ + + self._geometry = geometry + + @property + def properties(self): + """Gets the properties of this GeoJSONFeature. # noqa: E501 + + + :return: The properties of this GeoJSONFeature. # noqa: E501 + :rtype: GeoJSONFeatureProperties + """ + return self._properties + + @properties.setter + def properties(self, properties): + """Sets the properties of this GeoJSONFeature. + + + :param properties: The properties of this GeoJSONFeature. # noqa: E501 + :type: GeoJSONFeatureProperties + """ + + self._properties = properties + + @property + def type(self): + """Gets the type of this GeoJSONFeature. # noqa: E501 + + GeoJSON type # noqa: E501 + + :return: The type of this GeoJSONFeature. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeoJSONFeature. + + GeoJSON type # noqa: E501 + + :param type: The type of this GeoJSONFeature. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONFeature, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONFeature): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_feature_geometry.py b/openrouteservice/models/geo_json_feature_geometry.py new file mode 100644 index 00000000..45009fb4 --- /dev/null +++ b/openrouteservice/models/geo_json_feature_geometry.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONFeatureGeometry(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'coordinates': 'list[float]', + 'type': 'str' + } + + attribute_map = { + 'coordinates': 'coordinates', + 'type': 'type' + } + + def __init__(self, coordinates=None, type='Point'): # noqa: E501 + """GeoJSONFeatureGeometry - a model defined in Swagger""" # noqa: E501 + self._coordinates = None + self._type = None + self.discriminator = None + if coordinates is not None: + self.coordinates = coordinates + if type is not None: + self.type = type + + @property + def coordinates(self): + """Gets the coordinates of this GeoJSONFeatureGeometry. # noqa: E501 + + Lon/Lat coordinates of the snapped location # noqa: E501 + + :return: The coordinates of this GeoJSONFeatureGeometry. # noqa: E501 + :rtype: list[float] + """ + return self._coordinates + + @coordinates.setter + def coordinates(self, coordinates): + """Sets the coordinates of this GeoJSONFeatureGeometry. + + Lon/Lat coordinates of the snapped location # noqa: E501 + + :param coordinates: The coordinates of this GeoJSONFeatureGeometry. # noqa: E501 + :type: list[float] + """ + + self._coordinates = coordinates + + @property + def type(self): + """Gets the type of this GeoJSONFeatureGeometry. # noqa: E501 + + GeoJSON type # noqa: E501 + + :return: The type of this GeoJSONFeatureGeometry. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeoJSONFeatureGeometry. + + GeoJSON type # noqa: E501 + + :param type: The type of this GeoJSONFeatureGeometry. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONFeatureGeometry, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONFeatureGeometry): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_feature_properties.py b/openrouteservice/models/geo_json_feature_properties.py new file mode 100644 index 00000000..6c1c2d27 --- /dev/null +++ b/openrouteservice/models/geo_json_feature_properties.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONFeatureProperties(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'name': 'str', + 'snapped_distance': 'float', + 'source_id': 'int' + } + + attribute_map = { + 'name': 'name', + 'snapped_distance': 'snapped_distance', + 'source_id': 'source_id' + } + + def __init__(self, name=None, snapped_distance=None, source_id=None): # noqa: E501 + """GeoJSONFeatureProperties - a model defined in Swagger""" # noqa: E501 + self._name = None + self._snapped_distance = None + self._source_id = None + self.discriminator = None + if name is not None: + self.name = name + if snapped_distance is not None: + self.snapped_distance = snapped_distance + if source_id is not None: + self.source_id = source_id + + @property + def name(self): + """Gets the name of this GeoJSONFeatureProperties. # noqa: E501 + + \"Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :return: The name of this GeoJSONFeatureProperties. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this GeoJSONFeatureProperties. + + \"Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :param name: The name of this GeoJSONFeatureProperties. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def snapped_distance(self): + """Gets the snapped_distance of this GeoJSONFeatureProperties. # noqa: E501 + + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 + + :return: The snapped_distance of this GeoJSONFeatureProperties. # noqa: E501 + :rtype: float + """ + return self._snapped_distance + + @snapped_distance.setter + def snapped_distance(self, snapped_distance): + """Sets the snapped_distance of this GeoJSONFeatureProperties. + + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 + + :param snapped_distance: The snapped_distance of this GeoJSONFeatureProperties. # noqa: E501 + :type: float + """ + + self._snapped_distance = snapped_distance + + @property + def source_id(self): + """Gets the source_id of this GeoJSONFeatureProperties. # noqa: E501 + + Index of the requested location # noqa: E501 + + :return: The source_id of this GeoJSONFeatureProperties. # noqa: E501 + :rtype: int + """ + return self._source_id + + @source_id.setter + def source_id(self, source_id): + """Sets the source_id of this GeoJSONFeatureProperties. + + Index of the requested location # noqa: E501 + + :param source_id: The source_id of this GeoJSONFeatureProperties. # noqa: E501 + :type: int + """ + + self._source_id = source_id + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONFeatureProperties, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONFeatureProperties): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_features_object.py b/openrouteservice/models/geo_json_features_object.py index 220f476d..5d603134 100644 --- a/openrouteservice/models/geo_json_features_object.py +++ b/openrouteservice/models/geo_json_features_object.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_geometry_object.py b/openrouteservice/models/geo_json_geometry_object.py index 8bb14208..61db4fbd 100644 --- a/openrouteservice/models/geo_json_geometry_object.py +++ b/openrouteservice/models/geo_json_geometry_object.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_isochrone_base.py b/openrouteservice/models/geo_json_isochrone_base.py index b45658a6..3ba0e3f1 100644 --- a/openrouteservice/models/geo_json_isochrone_base.py +++ b/openrouteservice/models/geo_json_isochrone_base.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_isochrone_base_geometry.py b/openrouteservice/models/geo_json_isochrone_base_geometry.py index d1750a8b..bf95a1e7 100644 --- a/openrouteservice/models/geo_json_isochrone_base_geometry.py +++ b/openrouteservice/models/geo_json_isochrone_base_geometry.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_isochrones_response.py b/openrouteservice/models/geo_json_isochrones_response.py index 14f8791b..9ed9c6eb 100644 --- a/openrouteservice/models/geo_json_isochrones_response.py +++ b/openrouteservice/models/geo_json_isochrones_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_isochrones_response_features.py b/openrouteservice/models/geo_json_isochrones_response_features.py index c3a38a1d..e0acd011 100644 --- a/openrouteservice/models/geo_json_isochrones_response_features.py +++ b/openrouteservice/models/geo_json_isochrones_response_features.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_isochrones_response_metadata.py b/openrouteservice/models/geo_json_isochrones_response_metadata.py index d4cb19eb..69ec6644 100644 --- a/openrouteservice/models/geo_json_isochrones_response_metadata.py +++ b/openrouteservice/models/geo_json_isochrones_response_metadata.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_isochrones_response_metadata_engine.py b/openrouteservice/models/geo_json_isochrones_response_metadata_engine.py index b631afaf..a672418f 100644 --- a/openrouteservice/models/geo_json_isochrones_response_metadata_engine.py +++ b/openrouteservice/models/geo_json_isochrones_response_metadata_engine.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_point_geometry.py b/openrouteservice/models/geo_json_point_geometry.py new file mode 100644 index 00000000..4b50df42 --- /dev/null +++ b/openrouteservice/models/geo_json_point_geometry.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONPointGeometry(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'coordinates': 'list[float]', + 'type': 'str' + } + + attribute_map = { + 'coordinates': 'coordinates', + 'type': 'type' + } + + def __init__(self, coordinates=None, type='Point'): # noqa: E501 + """GeoJSONPointGeometry - a model defined in Swagger""" # noqa: E501 + self._coordinates = None + self._type = None + self.discriminator = None + if coordinates is not None: + self.coordinates = coordinates + if type is not None: + self.type = type + + @property + def coordinates(self): + """Gets the coordinates of this GeoJSONPointGeometry. # noqa: E501 + + Lon/Lat coordinates of the snapped location # noqa: E501 + + :return: The coordinates of this GeoJSONPointGeometry. # noqa: E501 + :rtype: list[float] + """ + return self._coordinates + + @coordinates.setter + def coordinates(self, coordinates): + """Sets the coordinates of this GeoJSONPointGeometry. + + Lon/Lat coordinates of the snapped location # noqa: E501 + + :param coordinates: The coordinates of this GeoJSONPointGeometry. # noqa: E501 + :type: list[float] + """ + + self._coordinates = coordinates + + @property + def type(self): + """Gets the type of this GeoJSONPointGeometry. # noqa: E501 + + GeoJSON type # noqa: E501 + + :return: The type of this GeoJSONPointGeometry. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeoJSONPointGeometry. + + GeoJSON type # noqa: E501 + + :param type: The type of this GeoJSONPointGeometry. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONPointGeometry, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONPointGeometry): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_properties_object.py b/openrouteservice/models/geo_json_properties_object.py index d73b98ce..d8b357ff 100644 --- a/openrouteservice/models/geo_json_properties_object.py +++ b/openrouteservice/models/geo_json_properties_object.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_properties_object_category_ids.py b/openrouteservice/models/geo_json_properties_object_category_ids.py index 0459a52d..407e8461 100644 --- a/openrouteservice/models/geo_json_properties_object_category_ids.py +++ b/openrouteservice/models/geo_json_properties_object_category_ids.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_properties_object_category_ids_category_id.py b/openrouteservice/models/geo_json_properties_object_category_ids_category_id.py index 19cbdc3a..027219d1 100644 --- a/openrouteservice/models/geo_json_properties_object_category_ids_category_id.py +++ b/openrouteservice/models/geo_json_properties_object_category_ids_category_id.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_properties_object_osm_tags.py b/openrouteservice/models/geo_json_properties_object_osm_tags.py index 0c441430..bce8a2b6 100644 --- a/openrouteservice/models/geo_json_properties_object_osm_tags.py +++ b/openrouteservice/models/geo_json_properties_object_osm_tags.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_route_response.py b/openrouteservice/models/geo_json_route_response.py index 3dbc9c06..941325ab 100644 --- a/openrouteservice/models/geo_json_route_response.py +++ b/openrouteservice/models/geo_json_route_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_route_response_metadata.py b/openrouteservice/models/geo_json_route_response_metadata.py index f1723c7b..4059c54d 100644 --- a/openrouteservice/models/geo_json_route_response_metadata.py +++ b/openrouteservice/models/geo_json_route_response_metadata.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/geo_json_snapping_response.py b/openrouteservice/models/geo_json_snapping_response.py new file mode 100644 index 00000000..babeca31 --- /dev/null +++ b/openrouteservice/models/geo_json_snapping_response.py @@ -0,0 +1,194 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONSnappingResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bbox': 'list[float]', + 'features': 'list[GeoJSONSnappingResponseFeatures]', + 'metadata': 'GeoJSONSnappingResponseMetadata', + 'type': 'str' + } + + attribute_map = { + 'bbox': 'bbox', + 'features': 'features', + 'metadata': 'metadata', + 'type': 'type' + } + + def __init__(self, bbox=None, features=None, metadata=None, type='FeatureCollection'): # noqa: E501 + """GeoJSONSnappingResponse - a model defined in Swagger""" # noqa: E501 + self._bbox = None + self._features = None + self._metadata = None + self._type = None + self.discriminator = None + if bbox is not None: + self.bbox = bbox + if features is not None: + self.features = features + if metadata is not None: + self.metadata = metadata + if type is not None: + self.type = type + + @property + def bbox(self): + """Gets the bbox of this GeoJSONSnappingResponse. # noqa: E501 + + Bounding box that covers all returned snapping points # noqa: E501 + + :return: The bbox of this GeoJSONSnappingResponse. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this GeoJSONSnappingResponse. + + Bounding box that covers all returned snapping points # noqa: E501 + + :param bbox: The bbox of this GeoJSONSnappingResponse. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def features(self): + """Gets the features of this GeoJSONSnappingResponse. # noqa: E501 + + Information about the service and request # noqa: E501 + + :return: The features of this GeoJSONSnappingResponse. # noqa: E501 + :rtype: list[GeoJSONSnappingResponseFeatures] + """ + return self._features + + @features.setter + def features(self, features): + """Sets the features of this GeoJSONSnappingResponse. + + Information about the service and request # noqa: E501 + + :param features: The features of this GeoJSONSnappingResponse. # noqa: E501 + :type: list[GeoJSONSnappingResponseFeatures] + """ + + self._features = features + + @property + def metadata(self): + """Gets the metadata of this GeoJSONSnappingResponse. # noqa: E501 + + + :return: The metadata of this GeoJSONSnappingResponse. # noqa: E501 + :rtype: GeoJSONSnappingResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this GeoJSONSnappingResponse. + + + :param metadata: The metadata of this GeoJSONSnappingResponse. # noqa: E501 + :type: GeoJSONSnappingResponseMetadata + """ + + self._metadata = metadata + + @property + def type(self): + """Gets the type of this GeoJSONSnappingResponse. # noqa: E501 + + GeoJSON type # noqa: E501 + + :return: The type of this GeoJSONSnappingResponse. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeoJSONSnappingResponse. + + GeoJSON type # noqa: E501 + + :param type: The type of this GeoJSONSnappingResponse. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONSnappingResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONSnappingResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_snapping_response_features.py b/openrouteservice/models/geo_json_snapping_response_features.py new file mode 100644 index 00000000..9365b332 --- /dev/null +++ b/openrouteservice/models/geo_json_snapping_response_features.py @@ -0,0 +1,164 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONSnappingResponseFeatures(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'geometry': 'GeoJSONFeatureGeometry', + 'properties': 'GeoJSONFeatureProperties', + 'type': 'str' + } + + attribute_map = { + 'geometry': 'geometry', + 'properties': 'properties', + 'type': 'type' + } + + def __init__(self, geometry=None, properties=None, type='Feature'): # noqa: E501 + """GeoJSONSnappingResponseFeatures - a model defined in Swagger""" # noqa: E501 + self._geometry = None + self._properties = None + self._type = None + self.discriminator = None + if geometry is not None: + self.geometry = geometry + if properties is not None: + self.properties = properties + if type is not None: + self.type = type + + @property + def geometry(self): + """Gets the geometry of this GeoJSONSnappingResponseFeatures. # noqa: E501 + + + :return: The geometry of this GeoJSONSnappingResponseFeatures. # noqa: E501 + :rtype: GeoJSONFeatureGeometry + """ + return self._geometry + + @geometry.setter + def geometry(self, geometry): + """Sets the geometry of this GeoJSONSnappingResponseFeatures. + + + :param geometry: The geometry of this GeoJSONSnappingResponseFeatures. # noqa: E501 + :type: GeoJSONFeatureGeometry + """ + + self._geometry = geometry + + @property + def properties(self): + """Gets the properties of this GeoJSONSnappingResponseFeatures. # noqa: E501 + + + :return: The properties of this GeoJSONSnappingResponseFeatures. # noqa: E501 + :rtype: GeoJSONFeatureProperties + """ + return self._properties + + @properties.setter + def properties(self, properties): + """Sets the properties of this GeoJSONSnappingResponseFeatures. + + + :param properties: The properties of this GeoJSONSnappingResponseFeatures. # noqa: E501 + :type: GeoJSONFeatureProperties + """ + + self._properties = properties + + @property + def type(self): + """Gets the type of this GeoJSONSnappingResponseFeatures. # noqa: E501 + + GeoJSON type # noqa: E501 + + :return: The type of this GeoJSONSnappingResponseFeatures. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this GeoJSONSnappingResponseFeatures. + + GeoJSON type # noqa: E501 + + :param type: The type of this GeoJSONSnappingResponseFeatures. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONSnappingResponseFeatures, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONSnappingResponseFeatures): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geo_json_snapping_response_metadata.py b/openrouteservice/models/geo_json_snapping_response_metadata.py new file mode 100644 index 00000000..95fc49d8 --- /dev/null +++ b/openrouteservice/models/geo_json_snapping_response_metadata.py @@ -0,0 +1,276 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class GeoJSONSnappingResponseMetadata(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attribution': 'str', + 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'osm_file_md5_hash': 'str', + 'query': 'ProfileJsonBody', + 'service': 'str', + 'system_message': 'str', + 'timestamp': 'int' + } + + attribute_map = { + 'attribution': 'attribution', + 'engine': 'engine', + 'osm_file_md5_hash': 'osm_file_md5_hash', + 'query': 'query', + 'service': 'service', + 'system_message': 'system_message', + 'timestamp': 'timestamp' + } + + def __init__(self, attribution=None, engine=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 + """GeoJSONSnappingResponseMetadata - a model defined in Swagger""" # noqa: E501 + self._attribution = None + self._engine = None + self._osm_file_md5_hash = None + self._query = None + self._service = None + self._system_message = None + self._timestamp = None + self.discriminator = None + if attribution is not None: + self.attribution = attribution + if engine is not None: + self.engine = engine + if osm_file_md5_hash is not None: + self.osm_file_md5_hash = osm_file_md5_hash + if query is not None: + self.query = query + if service is not None: + self.service = service + if system_message is not None: + self.system_message = system_message + if timestamp is not None: + self.timestamp = timestamp + + @property + def attribution(self): + """Gets the attribution of this GeoJSONSnappingResponseMetadata. # noqa: E501 + + Copyright and attribution information # noqa: E501 + + :return: The attribution of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._attribution + + @attribution.setter + def attribution(self, attribution): + """Sets the attribution of this GeoJSONSnappingResponseMetadata. + + Copyright and attribution information # noqa: E501 + + :param attribution: The attribution of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :type: str + """ + + self._attribution = attribution + + @property + def engine(self): + """Gets the engine of this GeoJSONSnappingResponseMetadata. # noqa: E501 + + + :return: The engine of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :rtype: GeoJSONIsochronesResponseMetadataEngine + """ + return self._engine + + @engine.setter + def engine(self, engine): + """Sets the engine of this GeoJSONSnappingResponseMetadata. + + + :param engine: The engine of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :type: GeoJSONIsochronesResponseMetadataEngine + """ + + self._engine = engine + + @property + def osm_file_md5_hash(self): + """Gets the osm_file_md5_hash of this GeoJSONSnappingResponseMetadata. # noqa: E501 + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :return: The osm_file_md5_hash of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._osm_file_md5_hash + + @osm_file_md5_hash.setter + def osm_file_md5_hash(self, osm_file_md5_hash): + """Sets the osm_file_md5_hash of this GeoJSONSnappingResponseMetadata. + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :param osm_file_md5_hash: The osm_file_md5_hash of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :type: str + """ + + self._osm_file_md5_hash = osm_file_md5_hash + + @property + def query(self): + """Gets the query of this GeoJSONSnappingResponseMetadata. # noqa: E501 + + + :return: The query of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :rtype: ProfileJsonBody + """ + return self._query + + @query.setter + def query(self, query): + """Sets the query of this GeoJSONSnappingResponseMetadata. + + + :param query: The query of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :type: ProfileJsonBody + """ + + self._query = query + + @property + def service(self): + """Gets the service of this GeoJSONSnappingResponseMetadata. # noqa: E501 + + The service that was requested # noqa: E501 + + :return: The service of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this GeoJSONSnappingResponseMetadata. + + The service that was requested # noqa: E501 + + :param service: The service of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :type: str + """ + + self._service = service + + @property + def system_message(self): + """Gets the system_message of this GeoJSONSnappingResponseMetadata. # noqa: E501 + + System message # noqa: E501 + + :return: The system_message of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :rtype: str + """ + return self._system_message + + @system_message.setter + def system_message(self, system_message): + """Sets the system_message of this GeoJSONSnappingResponseMetadata. + + System message # noqa: E501 + + :param system_message: The system_message of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :type: str + """ + + self._system_message = system_message + + @property + def timestamp(self): + """Gets the timestamp of this GeoJSONSnappingResponseMetadata. # noqa: E501 + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :return: The timestamp of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :rtype: int + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this GeoJSONSnappingResponseMetadata. + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :param timestamp: The timestamp of this GeoJSONSnappingResponseMetadata. # noqa: E501 + :type: int + """ + + self._timestamp = timestamp + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(GeoJSONSnappingResponseMetadata, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, GeoJSONSnappingResponseMetadata): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/geocode_response.py b/openrouteservice/models/geocode_response.py index 1e2cd00c..0960a166 100644 --- a/openrouteservice/models/geocode_response.py +++ b/openrouteservice/models/geocode_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/gpx.py b/openrouteservice/models/gpx.py index d059994e..8e1083a6 100644 --- a/openrouteservice/models/gpx.py +++ b/openrouteservice/models/gpx.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/graph_export_service.py b/openrouteservice/models/graph_export_service.py index fe9e2a83..fdd5915e 100644 --- a/openrouteservice/models/graph_export_service.py +++ b/openrouteservice/models/graph_export_service.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/inline_response200.py b/openrouteservice/models/inline_response200.py index 2d32ea90..e0eaa441 100644 --- a/openrouteservice/models/inline_response200.py +++ b/openrouteservice/models/inline_response200.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/inline_response2001.py b/openrouteservice/models/inline_response2001.py index 195da092..95673a1e 100644 --- a/openrouteservice/models/inline_response2001.py +++ b/openrouteservice/models/inline_response2001.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/inline_response2001_geometry.py b/openrouteservice/models/inline_response2001_geometry.py index bd5b2c91..865b972b 100644 --- a/openrouteservice/models/inline_response2001_geometry.py +++ b/openrouteservice/models/inline_response2001_geometry.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/inline_response2002.py b/openrouteservice/models/inline_response2002.py index 31fa9d0e..720859eb 100644 --- a/openrouteservice/models/inline_response2002.py +++ b/openrouteservice/models/inline_response2002.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/inline_response2002_routes.py b/openrouteservice/models/inline_response2002_routes.py index e512fb0b..03688fe7 100644 --- a/openrouteservice/models/inline_response2002_routes.py +++ b/openrouteservice/models/inline_response2002_routes.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -28,11 +28,13 @@ class InlineResponse2002Routes(object): and the value is json key in definition. """ swagger_types = { - 'amount': 'list[int]', 'cost': 'float', + 'delivery': 'list[int]', + 'description': 'str', 'distance': 'float', 'duration': 'float', 'geometry': 'str', + 'pickup': 'list[int]', 'service': 'float', 'steps': 'list[InlineResponse2002Steps]', 'vehicle': 'int', @@ -40,39 +42,47 @@ class InlineResponse2002Routes(object): } attribute_map = { - 'amount': 'amount', 'cost': 'cost', + 'delivery': 'delivery', + 'description': 'description', 'distance': 'distance', 'duration': 'duration', 'geometry': 'geometry', + 'pickup': 'pickup', 'service': 'service', 'steps': 'steps', 'vehicle': 'vehicle', 'waiting_time': 'waiting_time' } - def __init__(self, amount=None, cost=None, distance=None, duration=None, geometry=None, service=None, steps=None, vehicle=None, waiting_time=None): # noqa: E501 + def __init__(self, cost=None, delivery=None, description=None, distance=None, duration=None, geometry=None, pickup=None, service=None, steps=None, vehicle=None, waiting_time=None): # noqa: E501 """InlineResponse2002Routes - a model defined in Swagger""" # noqa: E501 - self._amount = None self._cost = None + self._delivery = None + self._description = None self._distance = None self._duration = None self._geometry = None + self._pickup = None self._service = None self._steps = None self._vehicle = None self._waiting_time = None self.discriminator = None - if amount is not None: - self.amount = amount if cost is not None: self.cost = cost + if delivery is not None: + self.delivery = delivery + if description is not None: + self.description = description if distance is not None: self.distance = distance if duration is not None: self.duration = duration if geometry is not None: self.geometry = geometry + if pickup is not None: + self.pickup = pickup if service is not None: self.service = service if steps is not None: @@ -82,29 +92,6 @@ def __init__(self, amount=None, cost=None, distance=None, duration=None, geometr if waiting_time is not None: self.waiting_time = waiting_time - @property - def amount(self): - """Gets the amount of this InlineResponse2002Routes. # noqa: E501 - - total amount for jobs in this route # noqa: E501 - - :return: The amount of this InlineResponse2002Routes. # noqa: E501 - :rtype: list[int] - """ - return self._amount - - @amount.setter - def amount(self, amount): - """Sets the amount of this InlineResponse2002Routes. - - total amount for jobs in this route # noqa: E501 - - :param amount: The amount of this InlineResponse2002Routes. # noqa: E501 - :type: list[int] - """ - - self._amount = amount - @property def cost(self): """Gets the cost of this InlineResponse2002Routes. # noqa: E501 @@ -128,6 +115,52 @@ def cost(self, cost): self._cost = cost + @property + def delivery(self): + """Gets the delivery of this InlineResponse2002Routes. # noqa: E501 + + Total delivery for tasks in this route # noqa: E501 + + :return: The delivery of this InlineResponse2002Routes. # noqa: E501 + :rtype: list[int] + """ + return self._delivery + + @delivery.setter + def delivery(self, delivery): + """Sets the delivery of this InlineResponse2002Routes. + + Total delivery for tasks in this route # noqa: E501 + + :param delivery: The delivery of this InlineResponse2002Routes. # noqa: E501 + :type: list[int] + """ + + self._delivery = delivery + + @property + def description(self): + """Gets the description of this InlineResponse2002Routes. # noqa: E501 + + vehicle description, if provided in input # noqa: E501 + + :return: The description of this InlineResponse2002Routes. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this InlineResponse2002Routes. + + vehicle description, if provided in input # noqa: E501 + + :param description: The description of this InlineResponse2002Routes. # noqa: E501 + :type: str + """ + + self._description = description + @property def distance(self): """Gets the distance of this InlineResponse2002Routes. # noqa: E501 @@ -197,6 +230,29 @@ def geometry(self, geometry): self._geometry = geometry + @property + def pickup(self): + """Gets the pickup of this InlineResponse2002Routes. # noqa: E501 + + total pickup for tasks in this route # noqa: E501 + + :return: The pickup of this InlineResponse2002Routes. # noqa: E501 + :rtype: list[int] + """ + return self._pickup + + @pickup.setter + def pickup(self, pickup): + """Sets the pickup of this InlineResponse2002Routes. + + total pickup for tasks in this route # noqa: E501 + + :param pickup: The pickup of this InlineResponse2002Routes. # noqa: E501 + :type: list[int] + """ + + self._pickup = pickup + @property def service(self): """Gets the service of this InlineResponse2002Routes. # noqa: E501 diff --git a/openrouteservice/models/inline_response2002_steps.py b/openrouteservice/models/inline_response2002_steps.py index 562692c7..0e2ed5b2 100644 --- a/openrouteservice/models/inline_response2002_steps.py +++ b/openrouteservice/models/inline_response2002_steps.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -29,51 +29,71 @@ class InlineResponse2002Steps(object): """ swagger_types = { 'arrival': 'float', + 'description': 'str', 'distance': 'float', 'duration': 'float', - 'job': 'int', + 'id': 'int', + 'load': 'int', 'location': 'list[float]', 'service': 'float', + 'setup': 'float', 'type': 'str', + 'violations': 'list[InlineResponse2002Violations]', 'waiting_time': 'float' } attribute_map = { 'arrival': 'arrival', + 'description': 'description', 'distance': 'distance', 'duration': 'duration', - 'job': 'job', + 'id': 'id', + 'load': 'load', 'location': 'location', 'service': 'service', + 'setup': 'setup', 'type': 'type', + 'violations': 'violations', 'waiting_time': 'waiting_time' } - def __init__(self, arrival=None, distance=None, duration=None, job=None, location=None, service=None, type=None, waiting_time=None): # noqa: E501 + def __init__(self, arrival=None, description=None, distance=None, duration=None, id=None, load=None, location=None, service=None, setup=None, type=None, violations=None, waiting_time=None): # noqa: E501 """InlineResponse2002Steps - a model defined in Swagger""" # noqa: E501 self._arrival = None + self._description = None self._distance = None self._duration = None - self._job = None + self._id = None + self._load = None self._location = None self._service = None + self._setup = None self._type = None + self._violations = None self._waiting_time = None self.discriminator = None if arrival is not None: self.arrival = arrival + if description is not None: + self.description = description if distance is not None: self.distance = distance if duration is not None: self.duration = duration - if job is not None: - self.job = job + if id is not None: + self.id = id + if load is not None: + self.load = load if location is not None: self.location = location if service is not None: self.service = service + if setup is not None: + self.setup = setup if type is not None: self.type = type + if violations is not None: + self.violations = violations if waiting_time is not None: self.waiting_time = waiting_time @@ -100,11 +120,34 @@ def arrival(self, arrival): self._arrival = arrival + @property + def description(self): + """Gets the description of this InlineResponse2002Steps. # noqa: E501 + + step description, if provided in input # noqa: E501 + + :return: The description of this InlineResponse2002Steps. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this InlineResponse2002Steps. + + step description, if provided in input # noqa: E501 + + :param description: The description of this InlineResponse2002Steps. # noqa: E501 + :type: str + """ + + self._description = description + @property def distance(self): """Gets the distance of this InlineResponse2002Steps. # noqa: E501 - traveled distance upon arrival at this step. Only provided when using the `-g` flag with `OSRM` # noqa: E501 + traveled distance upon arrival at this step. Only provided when using the `-g` flag # noqa: E501 :return: The distance of this InlineResponse2002Steps. # noqa: E501 :rtype: float @@ -115,7 +158,7 @@ def distance(self): def distance(self, distance): """Sets the distance of this InlineResponse2002Steps. - traveled distance upon arrival at this step. Only provided when using the `-g` flag with `OSRM` # noqa: E501 + traveled distance upon arrival at this step. Only provided when using the `-g` flag # noqa: E501 :param distance: The distance of this InlineResponse2002Steps. # noqa: E501 :type: float @@ -147,27 +190,50 @@ def duration(self, duration): self._duration = duration @property - def job(self): - """Gets the job of this InlineResponse2002Steps. # noqa: E501 + def id(self): + """Gets the id of this InlineResponse2002Steps. # noqa: E501 + + id of the task performed at this step, only provided if type value is `job`, `pickup`, `delivery` or `break` # noqa: E501 + + :return: The id of this InlineResponse2002Steps. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this InlineResponse2002Steps. + + id of the task performed at this step, only provided if type value is `job`, `pickup`, `delivery` or `break` # noqa: E501 + + :param id: The id of this InlineResponse2002Steps. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def load(self): + """Gets the load of this InlineResponse2002Steps. # noqa: E501 - id of the job performed at this step, only provided if `type` value is `job` # noqa: E501 + vehicle load after step completion (with capacity constraints) # noqa: E501 - :return: The job of this InlineResponse2002Steps. # noqa: E501 + :return: The load of this InlineResponse2002Steps. # noqa: E501 :rtype: int """ - return self._job + return self._load - @job.setter - def job(self, job): - """Sets the job of this InlineResponse2002Steps. + @load.setter + def load(self, load): + """Sets the load of this InlineResponse2002Steps. - id of the job performed at this step, only provided if `type` value is `job` # noqa: E501 + vehicle load after step completion (with capacity constraints) # noqa: E501 - :param job: The job of this InlineResponse2002Steps. # noqa: E501 + :param load: The load of this InlineResponse2002Steps. # noqa: E501 :type: int """ - self._job = job + self._load = load @property def location(self): @@ -196,7 +262,7 @@ def location(self, location): def service(self): """Gets the service of this InlineResponse2002Steps. # noqa: E501 - service time at this step, only provided if `type` value is `job` # noqa: E501 + service time at this step # noqa: E501 :return: The service of this InlineResponse2002Steps. # noqa: E501 :rtype: float @@ -207,7 +273,7 @@ def service(self): def service(self, service): """Sets the service of this InlineResponse2002Steps. - service time at this step, only provided if `type` value is `job` # noqa: E501 + service time at this step # noqa: E501 :param service: The service of this InlineResponse2002Steps. # noqa: E501 :type: float @@ -215,6 +281,29 @@ def service(self, service): self._service = service + @property + def setup(self): + """Gets the setup of this InlineResponse2002Steps. # noqa: E501 + + setup time at this step # noqa: E501 + + :return: The setup of this InlineResponse2002Steps. # noqa: E501 + :rtype: float + """ + return self._setup + + @setup.setter + def setup(self, setup): + """Sets the setup of this InlineResponse2002Steps. + + setup time at this step # noqa: E501 + + :param setup: The setup of this InlineResponse2002Steps. # noqa: E501 + :type: float + """ + + self._setup = setup + @property def type(self): """Gets the type of this InlineResponse2002Steps. # noqa: E501 @@ -238,6 +327,29 @@ def type(self, type): self._type = type + @property + def violations(self): + """Gets the violations of this InlineResponse2002Steps. # noqa: E501 + + array of violation objects for this step # noqa: E501 + + :return: The violations of this InlineResponse2002Steps. # noqa: E501 + :rtype: list[InlineResponse2002Violations] + """ + return self._violations + + @violations.setter + def violations(self, violations): + """Sets the violations of this InlineResponse2002Steps. + + array of violation objects for this step # noqa: E501 + + :param violations: The violations of this InlineResponse2002Steps. # noqa: E501 + :type: list[InlineResponse2002Violations] + """ + + self._violations = violations + @property def waiting_time(self): """Gets the waiting_time of this InlineResponse2002Steps. # noqa: E501 diff --git a/openrouteservice/models/inline_response2002_summary.py b/openrouteservice/models/inline_response2002_summary.py index 00e516b9..f936282c 100644 --- a/openrouteservice/models/inline_response2002_summary.py +++ b/openrouteservice/models/inline_response2002_summary.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -28,73 +28,75 @@ class InlineResponse2002Summary(object): and the value is json key in definition. """ swagger_types = { - 'amount': 'list[int]', 'cost': 'float', + 'delivery': 'float', 'distance': 'float', 'duration': 'float', + 'pickup': 'float', + 'priority': 'float', + 'routes': 'float', 'service': 'float', + 'setup': 'float', 'unassigned': 'int', + 'violations': 'list[InlineResponse2002Violations]', 'waiting_time': 'float' } attribute_map = { - 'amount': 'amount', 'cost': 'cost', + 'delivery': 'delivery', 'distance': 'distance', 'duration': 'duration', + 'pickup': 'pickup', + 'priority': 'priority', + 'routes': 'routes', 'service': 'service', + 'setup': 'setup', 'unassigned': 'unassigned', + 'violations': 'violations', 'waiting_time': 'waiting_time' } - def __init__(self, amount=None, cost=None, distance=None, duration=None, service=None, unassigned=None, waiting_time=None): # noqa: E501 + def __init__(self, cost=None, delivery=None, distance=None, duration=None, pickup=None, priority=None, routes=None, service=None, setup=None, unassigned=None, violations=None, waiting_time=None): # noqa: E501 """InlineResponse2002Summary - a model defined in Swagger""" # noqa: E501 - self._amount = None self._cost = None + self._delivery = None self._distance = None self._duration = None + self._pickup = None + self._priority = None + self._routes = None self._service = None + self._setup = None self._unassigned = None + self._violations = None self._waiting_time = None self.discriminator = None - if amount is not None: - self.amount = amount if cost is not None: self.cost = cost + if delivery is not None: + self.delivery = delivery if distance is not None: self.distance = distance if duration is not None: self.duration = duration + if pickup is not None: + self.pickup = pickup + if priority is not None: + self.priority = priority + if routes is not None: + self.routes = routes if service is not None: self.service = service + if setup is not None: + self.setup = setup if unassigned is not None: self.unassigned = unassigned + if violations is not None: + self.violations = violations if waiting_time is not None: self.waiting_time = waiting_time - @property - def amount(self): - """Gets the amount of this InlineResponse2002Summary. # noqa: E501 - - total amount for all routes # noqa: E501 - - :return: The amount of this InlineResponse2002Summary. # noqa: E501 - :rtype: list[int] - """ - return self._amount - - @amount.setter - def amount(self, amount): - """Sets the amount of this InlineResponse2002Summary. - - total amount for all routes # noqa: E501 - - :param amount: The amount of this InlineResponse2002Summary. # noqa: E501 - :type: list[int] - """ - - self._amount = amount - @property def cost(self): """Gets the cost of this InlineResponse2002Summary. # noqa: E501 @@ -118,6 +120,29 @@ def cost(self, cost): self._cost = cost + @property + def delivery(self): + """Gets the delivery of this InlineResponse2002Summary. # noqa: E501 + + Total delivery for all routes # noqa: E501 + + :return: The delivery of this InlineResponse2002Summary. # noqa: E501 + :rtype: float + """ + return self._delivery + + @delivery.setter + def delivery(self, delivery): + """Sets the delivery of this InlineResponse2002Summary. + + Total delivery for all routes # noqa: E501 + + :param delivery: The delivery of this InlineResponse2002Summary. # noqa: E501 + :type: float + """ + + self._delivery = delivery + @property def distance(self): """Gets the distance of this InlineResponse2002Summary. # noqa: E501 @@ -164,6 +189,75 @@ def duration(self, duration): self._duration = duration + @property + def pickup(self): + """Gets the pickup of this InlineResponse2002Summary. # noqa: E501 + + Total pickup for all routes # noqa: E501 + + :return: The pickup of this InlineResponse2002Summary. # noqa: E501 + :rtype: float + """ + return self._pickup + + @pickup.setter + def pickup(self, pickup): + """Sets the pickup of this InlineResponse2002Summary. + + Total pickup for all routes # noqa: E501 + + :param pickup: The pickup of this InlineResponse2002Summary. # noqa: E501 + :type: float + """ + + self._pickup = pickup + + @property + def priority(self): + """Gets the priority of this InlineResponse2002Summary. # noqa: E501 + + total priority sum for all assigned tasks # noqa: E501 + + :return: The priority of this InlineResponse2002Summary. # noqa: E501 + :rtype: float + """ + return self._priority + + @priority.setter + def priority(self, priority): + """Sets the priority of this InlineResponse2002Summary. + + total priority sum for all assigned tasks # noqa: E501 + + :param priority: The priority of this InlineResponse2002Summary. # noqa: E501 + :type: float + """ + + self._priority = priority + + @property + def routes(self): + """Gets the routes of this InlineResponse2002Summary. # noqa: E501 + + Number of routes in the solution # noqa: E501 + + :return: The routes of this InlineResponse2002Summary. # noqa: E501 + :rtype: float + """ + return self._routes + + @routes.setter + def routes(self, routes): + """Sets the routes of this InlineResponse2002Summary. + + Number of routes in the solution # noqa: E501 + + :param routes: The routes of this InlineResponse2002Summary. # noqa: E501 + :type: float + """ + + self._routes = routes + @property def service(self): """Gets the service of this InlineResponse2002Summary. # noqa: E501 @@ -187,6 +281,29 @@ def service(self, service): self._service = service + @property + def setup(self): + """Gets the setup of this InlineResponse2002Summary. # noqa: E501 + + Total setup time for all routes # noqa: E501 + + :return: The setup of this InlineResponse2002Summary. # noqa: E501 + :rtype: float + """ + return self._setup + + @setup.setter + def setup(self, setup): + """Sets the setup of this InlineResponse2002Summary. + + Total setup time for all routes # noqa: E501 + + :param setup: The setup of this InlineResponse2002Summary. # noqa: E501 + :type: float + """ + + self._setup = setup + @property def unassigned(self): """Gets the unassigned of this InlineResponse2002Summary. # noqa: E501 @@ -210,6 +327,29 @@ def unassigned(self, unassigned): self._unassigned = unassigned + @property + def violations(self): + """Gets the violations of this InlineResponse2002Summary. # noqa: E501 + + array of violation objects for all routes # noqa: E501 + + :return: The violations of this InlineResponse2002Summary. # noqa: E501 + :rtype: list[InlineResponse2002Violations] + """ + return self._violations + + @violations.setter + def violations(self, violations): + """Sets the violations of this InlineResponse2002Summary. + + array of violation objects for all routes # noqa: E501 + + :param violations: The violations of this InlineResponse2002Summary. # noqa: E501 + :type: list[InlineResponse2002Violations] + """ + + self._violations = violations + @property def waiting_time(self): """Gets the waiting_time of this InlineResponse2002Summary. # noqa: E501 diff --git a/openrouteservice/models/inline_response2002_unassigned.py b/openrouteservice/models/inline_response2002_unassigned.py index 4e4063bb..a0ca920d 100644 --- a/openrouteservice/models/inline_response2002_unassigned.py +++ b/openrouteservice/models/inline_response2002_unassigned.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/inline_response2002_violations.py b/openrouteservice/models/inline_response2002_violations.py new file mode 100644 index 00000000..cff17577 --- /dev/null +++ b/openrouteservice/models/inline_response2002_violations.py @@ -0,0 +1,140 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2002Violations(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cause': 'str', + 'duration': 'float' + } + + attribute_map = { + 'cause': 'cause', + 'duration': 'duration' + } + + def __init__(self, cause=None, duration=None): # noqa: E501 + """InlineResponse2002Violations - a model defined in Swagger""" # noqa: E501 + self._cause = None + self._duration = None + self.discriminator = None + if cause is not None: + self.cause = cause + if duration is not None: + self.duration = duration + + @property + def cause(self): + """Gets the cause of this InlineResponse2002Violations. # noqa: E501 + + string describing the cause of violation. Possible violation causes are: - \"delay\" if actual service start does not meet a task time window and is late on a time window end - \"lead_time\" if actual service start does not meet a task time window and is early on a time window start - \"load\" if the vehicle load goes over its capacity - \"max_tasks\" if the vehicle has more tasks than its max_tasks value - \"skills\" if the vehicle does not hold all required skills for a task - \"precedence\" if a shipment precedence constraint is not met (pickup without matching delivery, delivery before/without matching pickup) - \"missing_break\" if a vehicle break has been omitted in its custom route - \"max_travel_time\" if the vehicle has more travel time than its max_travel_time value - \"max_load\" if the load during a break exceed its max_load value # noqa: E501 + + :return: The cause of this InlineResponse2002Violations. # noqa: E501 + :rtype: str + """ + return self._cause + + @cause.setter + def cause(self, cause): + """Sets the cause of this InlineResponse2002Violations. + + string describing the cause of violation. Possible violation causes are: - \"delay\" if actual service start does not meet a task time window and is late on a time window end - \"lead_time\" if actual service start does not meet a task time window and is early on a time window start - \"load\" if the vehicle load goes over its capacity - \"max_tasks\" if the vehicle has more tasks than its max_tasks value - \"skills\" if the vehicle does not hold all required skills for a task - \"precedence\" if a shipment precedence constraint is not met (pickup without matching delivery, delivery before/without matching pickup) - \"missing_break\" if a vehicle break has been omitted in its custom route - \"max_travel_time\" if the vehicle has more travel time than its max_travel_time value - \"max_load\" if the load during a break exceed its max_load value # noqa: E501 + + :param cause: The cause of this InlineResponse2002Violations. # noqa: E501 + :type: str + """ + + self._cause = cause + + @property + def duration(self): + """Gets the duration of this InlineResponse2002Violations. # noqa: E501 + + Earliness (resp. lateness) if `cause` is \"lead_time\" (resp \"delay\") # noqa: E501 + + :return: The duration of this InlineResponse2002Violations. # noqa: E501 + :rtype: float + """ + return self._duration + + @duration.setter + def duration(self, duration): + """Sets the duration of this InlineResponse2002Violations. + + Earliness (resp. lateness) if `cause` is \"lead_time\" (resp \"delay\") # noqa: E501 + + :param duration: The duration of this InlineResponse2002Violations. # noqa: E501 + :type: float + """ + + self._duration = duration + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2002Violations, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2002Violations): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2003.py b/openrouteservice/models/inline_response2003.py index 0d5eeb3c..4a62703b 100644 --- a/openrouteservice/models/inline_response2003.py +++ b/openrouteservice/models/inline_response2003.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/inline_response2004.py b/openrouteservice/models/inline_response2004.py index 72d2cc00..b7afce4e 100644 --- a/openrouteservice/models/inline_response2004.py +++ b/openrouteservice/models/inline_response2004.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/inline_response2005.py b/openrouteservice/models/inline_response2005.py index cedd06aa..381e330e 100644 --- a/openrouteservice/models/inline_response2005.py +++ b/openrouteservice/models/inline_response2005.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/inline_response2006.py b/openrouteservice/models/inline_response2006.py index 55fdf938..92b3f18d 100644 --- a/openrouteservice/models/inline_response2006.py +++ b/openrouteservice/models/inline_response2006.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/inline_response2007.py b/openrouteservice/models/inline_response2007.py new file mode 100644 index 00000000..a6fdc92e --- /dev/null +++ b/openrouteservice/models/inline_response2007.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2007(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'locations': 'list[SnappingResponseLocations]', + 'metadata': 'GeoJSONSnappingResponseMetadata' + } + + attribute_map = { + 'locations': 'locations', + 'metadata': 'metadata' + } + + def __init__(self, locations=None, metadata=None): # noqa: E501 + """InlineResponse2007 - a model defined in Swagger""" # noqa: E501 + self._locations = None + self._metadata = None + self.discriminator = None + if locations is not None: + self.locations = locations + if metadata is not None: + self.metadata = metadata + + @property + def locations(self): + """Gets the locations of this InlineResponse2007. # noqa: E501 + + The snapped locations as coordinates and snapping distance. # noqa: E501 + + :return: The locations of this InlineResponse2007. # noqa: E501 + :rtype: list[SnappingResponseLocations] + """ + return self._locations + + @locations.setter + def locations(self, locations): + """Sets the locations of this InlineResponse2007. + + The snapped locations as coordinates and snapping distance. # noqa: E501 + + :param locations: The locations of this InlineResponse2007. # noqa: E501 + :type: list[SnappingResponseLocations] + """ + + self._locations = locations + + @property + def metadata(self): + """Gets the metadata of this InlineResponse2007. # noqa: E501 + + + :return: The metadata of this InlineResponse2007. # noqa: E501 + :rtype: GeoJSONSnappingResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this InlineResponse2007. + + + :param metadata: The metadata of this InlineResponse2007. # noqa: E501 + :type: GeoJSONSnappingResponseMetadata + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2007, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2007): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response2008.py b/openrouteservice/models/inline_response2008.py new file mode 100644 index 00000000..cb315b72 --- /dev/null +++ b/openrouteservice/models/inline_response2008.py @@ -0,0 +1,194 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class InlineResponse2008(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'bbox': 'list[float]', + 'features': 'list[GeoJSONSnappingResponseFeatures]', + 'metadata': 'GeoJSONSnappingResponseMetadata', + 'type': 'str' + } + + attribute_map = { + 'bbox': 'bbox', + 'features': 'features', + 'metadata': 'metadata', + 'type': 'type' + } + + def __init__(self, bbox=None, features=None, metadata=None, type='FeatureCollection'): # noqa: E501 + """InlineResponse2008 - a model defined in Swagger""" # noqa: E501 + self._bbox = None + self._features = None + self._metadata = None + self._type = None + self.discriminator = None + if bbox is not None: + self.bbox = bbox + if features is not None: + self.features = features + if metadata is not None: + self.metadata = metadata + if type is not None: + self.type = type + + @property + def bbox(self): + """Gets the bbox of this InlineResponse2008. # noqa: E501 + + Bounding box that covers all returned snapping points # noqa: E501 + + :return: The bbox of this InlineResponse2008. # noqa: E501 + :rtype: list[float] + """ + return self._bbox + + @bbox.setter + def bbox(self, bbox): + """Sets the bbox of this InlineResponse2008. + + Bounding box that covers all returned snapping points # noqa: E501 + + :param bbox: The bbox of this InlineResponse2008. # noqa: E501 + :type: list[float] + """ + + self._bbox = bbox + + @property + def features(self): + """Gets the features of this InlineResponse2008. # noqa: E501 + + Information about the service and request # noqa: E501 + + :return: The features of this InlineResponse2008. # noqa: E501 + :rtype: list[GeoJSONSnappingResponseFeatures] + """ + return self._features + + @features.setter + def features(self, features): + """Sets the features of this InlineResponse2008. + + Information about the service and request # noqa: E501 + + :param features: The features of this InlineResponse2008. # noqa: E501 + :type: list[GeoJSONSnappingResponseFeatures] + """ + + self._features = features + + @property + def metadata(self): + """Gets the metadata of this InlineResponse2008. # noqa: E501 + + + :return: The metadata of this InlineResponse2008. # noqa: E501 + :rtype: GeoJSONSnappingResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this InlineResponse2008. + + + :param metadata: The metadata of this InlineResponse2008. # noqa: E501 + :type: GeoJSONSnappingResponseMetadata + """ + + self._metadata = metadata + + @property + def type(self): + """Gets the type of this InlineResponse2008. # noqa: E501 + + GeoJSON type # noqa: E501 + + :return: The type of this InlineResponse2008. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this InlineResponse2008. + + GeoJSON type # noqa: E501 + + :param type: The type of this InlineResponse2008. # noqa: E501 + :type: str + """ + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(InlineResponse2008, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, InlineResponse2008): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/inline_response200_geometry.py b/openrouteservice/models/inline_response200_geometry.py index 58f6aacb..7f8561e1 100644 --- a/openrouteservice/models/inline_response200_geometry.py +++ b/openrouteservice/models/inline_response200_geometry.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/isochrones_profile_body.py b/openrouteservice/models/isochrones_profile_body.py index 225636db..d15b22e4 100644 --- a/openrouteservice/models/isochrones_profile_body.py +++ b/openrouteservice/models/isochrones_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/isochrones_request.py b/openrouteservice/models/isochrones_request.py index 4ba4047e..05e921db 100644 --- a/openrouteservice/models/isochrones_request.py +++ b/openrouteservice/models/isochrones_request.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/isochrones_response_info.py b/openrouteservice/models/isochrones_response_info.py index b8120bd5..a8649e3c 100644 --- a/openrouteservice/models/isochrones_response_info.py +++ b/openrouteservice/models/isochrones_response_info.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json2_d_destinations.py b/openrouteservice/models/json2_d_destinations.py index 95795042..3fbed49a 100644 --- a/openrouteservice/models/json2_d_destinations.py +++ b/openrouteservice/models/json2_d_destinations.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -102,7 +102,7 @@ def name(self, name): def snapped_distance(self): """Gets the snapped_distance of this JSON2DDestinations. # noqa: E501 - Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 :return: The snapped_distance of this JSON2DDestinations. # noqa: E501 :rtype: float @@ -113,7 +113,7 @@ def snapped_distance(self): def snapped_distance(self, snapped_distance): """Sets the snapped_distance of this JSON2DDestinations. - Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 :param snapped_distance: The snapped_distance of this JSON2DDestinations. # noqa: E501 :type: float diff --git a/openrouteservice/models/json2_d_sources.py b/openrouteservice/models/json2_d_sources.py index 070e3067..cfd4b7a6 100644 --- a/openrouteservice/models/json2_d_sources.py +++ b/openrouteservice/models/json2_d_sources.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -102,7 +102,7 @@ def name(self, name): def snapped_distance(self): """Gets the snapped_distance of this JSON2DSources. # noqa: E501 - Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 :return: The snapped_distance of this JSON2DSources. # noqa: E501 :rtype: float @@ -113,7 +113,7 @@ def snapped_distance(self): def snapped_distance(self, snapped_distance): """Sets the snapped_distance of this JSON2DSources. - Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 :param snapped_distance: The snapped_distance of this JSON2DSources. # noqa: E501 :type: float diff --git a/openrouteservice/models/json_edge.py b/openrouteservice/models/json_edge.py index b326a6c6..0dec9bc8 100644 --- a/openrouteservice/models/json_edge.py +++ b/openrouteservice/models/json_edge.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_edge_extra.py b/openrouteservice/models/json_edge_extra.py index b04bfa0e..fa493ed9 100644 --- a/openrouteservice/models/json_edge_extra.py +++ b/openrouteservice/models/json_edge_extra.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_export_response.py b/openrouteservice/models/json_export_response.py index 0c42c0ae..e533e54d 100644 --- a/openrouteservice/models/json_export_response.py +++ b/openrouteservice/models/json_export_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_export_response_edges.py b/openrouteservice/models/json_export_response_edges.py index ac763475..a56a3e02 100644 --- a/openrouteservice/models/json_export_response_edges.py +++ b/openrouteservice/models/json_export_response_edges.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_export_response_edges_extra.py b/openrouteservice/models/json_export_response_edges_extra.py index ae667373..8aa35be1 100644 --- a/openrouteservice/models/json_export_response_edges_extra.py +++ b/openrouteservice/models/json_export_response_edges_extra.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_export_response_nodes.py b/openrouteservice/models/json_export_response_nodes.py index d19474e7..d5bda9d4 100644 --- a/openrouteservice/models/json_export_response_nodes.py +++ b/openrouteservice/models/json_export_response_nodes.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_extra.py b/openrouteservice/models/json_extra.py index aa3fe123..1a6c8549 100644 --- a/openrouteservice/models/json_extra.py +++ b/openrouteservice/models/json_extra.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_extra_summary.py b/openrouteservice/models/json_extra_summary.py index cfff3690..4253e8bd 100644 --- a/openrouteservice/models/json_extra_summary.py +++ b/openrouteservice/models/json_extra_summary.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_individual_route_response.py b/openrouteservice/models/json_individual_route_response.py index 3e569cc9..e705b6ed 100644 --- a/openrouteservice/models/json_individual_route_response.py +++ b/openrouteservice/models/json_individual_route_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_individual_route_response_extras.py b/openrouteservice/models/json_individual_route_response_extras.py index 3de07567..38a2b7df 100644 --- a/openrouteservice/models/json_individual_route_response_extras.py +++ b/openrouteservice/models/json_individual_route_response_extras.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_individual_route_response_instructions.py b/openrouteservice/models/json_individual_route_response_instructions.py index df3e8082..2ff93d0f 100644 --- a/openrouteservice/models/json_individual_route_response_instructions.py +++ b/openrouteservice/models/json_individual_route_response_instructions.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_individual_route_response_legs.py b/openrouteservice/models/json_individual_route_response_legs.py index b0103732..7f115a60 100644 --- a/openrouteservice/models/json_individual_route_response_legs.py +++ b/openrouteservice/models/json_individual_route_response_legs.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_individual_route_response_maneuver.py b/openrouteservice/models/json_individual_route_response_maneuver.py index 5462f3ab..318ced9d 100644 --- a/openrouteservice/models/json_individual_route_response_maneuver.py +++ b/openrouteservice/models/json_individual_route_response_maneuver.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_individual_route_response_segments.py b/openrouteservice/models/json_individual_route_response_segments.py index 2f856054..77a9c1a2 100644 --- a/openrouteservice/models/json_individual_route_response_segments.py +++ b/openrouteservice/models/json_individual_route_response_segments.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_individual_route_response_stops.py b/openrouteservice/models/json_individual_route_response_stops.py index d7f49a14..1c3457b0 100644 --- a/openrouteservice/models/json_individual_route_response_stops.py +++ b/openrouteservice/models/json_individual_route_response_stops.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_individual_route_response_summary.py b/openrouteservice/models/json_individual_route_response_summary.py index 323597c3..136b6553 100644 --- a/openrouteservice/models/json_individual_route_response_summary.py +++ b/openrouteservice/models/json_individual_route_response_summary.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_individual_route_response_warnings.py b/openrouteservice/models/json_individual_route_response_warnings.py index 6a3cfc9c..fe591ade 100644 --- a/openrouteservice/models/json_individual_route_response_warnings.py +++ b/openrouteservice/models/json_individual_route_response_warnings.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_leg.py b/openrouteservice/models/json_leg.py index 1e11ab7a..b3fc3f88 100644 --- a/openrouteservice/models/json_leg.py +++ b/openrouteservice/models/json_leg.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_location.py b/openrouteservice/models/json_location.py new file mode 100644 index 00000000..73f38809 --- /dev/null +++ b/openrouteservice/models/json_location.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class JSONLocation(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'location': 'list[float]', + 'name': 'str', + 'snapped_distance': 'float' + } + + attribute_map = { + 'location': 'location', + 'name': 'name', + 'snapped_distance': 'snapped_distance' + } + + def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 + """JSONLocation - a model defined in Swagger""" # noqa: E501 + self._location = None + self._name = None + self._snapped_distance = None + self.discriminator = None + if location is not None: + self.location = location + if name is not None: + self.name = name + if snapped_distance is not None: + self.snapped_distance = snapped_distance + + @property + def location(self): + """Gets the location of this JSONLocation. # noqa: E501 + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :return: The location of this JSONLocation. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this JSONLocation. + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :param location: The location of this JSONLocation. # noqa: E501 + :type: list[float] + """ + + self._location = location + + @property + def name(self): + """Gets the name of this JSONLocation. # noqa: E501 + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :return: The name of this JSONLocation. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this JSONLocation. + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :param name: The name of this JSONLocation. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def snapped_distance(self): + """Gets the snapped_distance of this JSONLocation. # noqa: E501 + + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 + + :return: The snapped_distance of this JSONLocation. # noqa: E501 + :rtype: float + """ + return self._snapped_distance + + @snapped_distance.setter + def snapped_distance(self, snapped_distance): + """Sets the snapped_distance of this JSONLocation. + + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 + + :param snapped_distance: The snapped_distance of this JSONLocation. # noqa: E501 + :type: float + """ + + self._snapped_distance = snapped_distance + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(JSONLocation, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, JSONLocation): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/json_node.py b/openrouteservice/models/json_node.py index 44bc1667..30e490ca 100644 --- a/openrouteservice/models/json_node.py +++ b/openrouteservice/models/json_node.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_object.py b/openrouteservice/models/json_object.py index 3b0b62fd..fe8beb10 100644 --- a/openrouteservice/models/json_object.py +++ b/openrouteservice/models/json_object.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_route_response.py b/openrouteservice/models/json_route_response.py index b0af4e20..123a1636 100644 --- a/openrouteservice/models/json_route_response.py +++ b/openrouteservice/models/json_route_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_route_response_routes.py b/openrouteservice/models/json_route_response_routes.py index 0e74728a..d8c62104 100644 --- a/openrouteservice/models/json_route_response_routes.py +++ b/openrouteservice/models/json_route_response_routes.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_segment.py b/openrouteservice/models/json_segment.py index 65038051..55704ffc 100644 --- a/openrouteservice/models/json_segment.py +++ b/openrouteservice/models/json_segment.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_step.py b/openrouteservice/models/json_step.py index 03403c94..219c5323 100644 --- a/openrouteservice/models/json_step.py +++ b/openrouteservice/models/json_step.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_step_maneuver.py b/openrouteservice/models/json_step_maneuver.py index bea0488f..be41dcae 100644 --- a/openrouteservice/models/json_step_maneuver.py +++ b/openrouteservice/models/json_step_maneuver.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_summary.py b/openrouteservice/models/json_summary.py index ea63bd17..a1d9de65 100644 --- a/openrouteservice/models/json_summary.py +++ b/openrouteservice/models/json_summary.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_warning.py b/openrouteservice/models/json_warning.py index 6e1c28b1..5d61f0a4 100644 --- a/openrouteservice/models/json_warning.py +++ b/openrouteservice/models/json_warning.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/jsonpt_stop.py b/openrouteservice/models/jsonpt_stop.py index 3357cdfb..0b856bf7 100644 --- a/openrouteservice/models/jsonpt_stop.py +++ b/openrouteservice/models/jsonpt_stop.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/matrix_profile_body.py b/openrouteservice/models/matrix_profile_body.py index 0c7e9ce1..b5719f8f 100644 --- a/openrouteservice/models/matrix_profile_body.py +++ b/openrouteservice/models/matrix_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/matrix_request.py b/openrouteservice/models/matrix_request.py index 675968d1..1b60f1e1 100644 --- a/openrouteservice/models/matrix_request.py +++ b/openrouteservice/models/matrix_request.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/matrix_response.py b/openrouteservice/models/matrix_response.py index f8957713..bb40c6ad 100644 --- a/openrouteservice/models/matrix_response.py +++ b/openrouteservice/models/matrix_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/matrix_response_destinations.py b/openrouteservice/models/matrix_response_destinations.py index 7dfbf664..ee6f4115 100644 --- a/openrouteservice/models/matrix_response_destinations.py +++ b/openrouteservice/models/matrix_response_destinations.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -102,7 +102,7 @@ def name(self, name): def snapped_distance(self): """Gets the snapped_distance of this MatrixResponseDestinations. # noqa: E501 - Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 :return: The snapped_distance of this MatrixResponseDestinations. # noqa: E501 :rtype: float @@ -113,7 +113,7 @@ def snapped_distance(self): def snapped_distance(self, snapped_distance): """Sets the snapped_distance of this MatrixResponseDestinations. - Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 :param snapped_distance: The snapped_distance of this MatrixResponseDestinations. # noqa: E501 :type: float diff --git a/openrouteservice/models/matrix_response_info.py b/openrouteservice/models/matrix_response_info.py index 8799d320..0d2963dd 100644 --- a/openrouteservice/models/matrix_response_info.py +++ b/openrouteservice/models/matrix_response_info.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/matrix_response_metadata.py b/openrouteservice/models/matrix_response_metadata.py index 75cc7590..f2503eb9 100644 --- a/openrouteservice/models/matrix_response_metadata.py +++ b/openrouteservice/models/matrix_response_metadata.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/matrix_response_sources.py b/openrouteservice/models/matrix_response_sources.py index 320dfe83..174a1b85 100644 --- a/openrouteservice/models/matrix_response_sources.py +++ b/openrouteservice/models/matrix_response_sources.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -102,7 +102,7 @@ def name(self, name): def snapped_distance(self): """Gets the snapped_distance of this MatrixResponseSources. # noqa: E501 - Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 :return: The snapped_distance of this MatrixResponseSources. # noqa: E501 :rtype: float @@ -113,7 +113,7 @@ def snapped_distance(self): def snapped_distance(self, snapped_distance): """Sets the snapped_distance of this MatrixResponseSources. - Distance between the `source/destination` Location and the used point on the routing graph. # noqa: E501 + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 :param snapped_distance: The snapped_distance of this MatrixResponseSources. # noqa: E501 :type: float diff --git a/openrouteservice/models/openpoiservice_poi_request.py b/openrouteservice/models/openpoiservice_poi_request.py index 33b73d2d..cd65d1b5 100644 --- a/openrouteservice/models/openpoiservice_poi_request.py +++ b/openrouteservice/models/openpoiservice_poi_request.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/openpoiservice_poi_response.py b/openrouteservice/models/openpoiservice_poi_response.py index 934e51ee..3a11919b 100644 --- a/openrouteservice/models/openpoiservice_poi_response.py +++ b/openrouteservice/models/openpoiservice_poi_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_body.py b/openrouteservice/models/optimization_body.py index fe19b957..6501fd1e 100644 --- a/openrouteservice/models/optimization_body.py +++ b/openrouteservice/models/optimization_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -29,28 +29,28 @@ class OptimizationBody(object): """ swagger_types = { 'jobs': 'list[OptimizationJobs]', - 'matrix': 'list[list]', + 'matrices': 'OptimizationMatrices', 'options': 'OptimizationOptions', 'vehicles': 'list[OptimizationVehicles]' } attribute_map = { 'jobs': 'jobs', - 'matrix': 'matrix', + 'matrices': 'matrices', 'options': 'options', 'vehicles': 'vehicles' } - def __init__(self, jobs=None, matrix=None, options=None, vehicles=None): # noqa: E501 + def __init__(self, jobs=None, matrices=None, options=None, vehicles=None): # noqa: E501 """OptimizationBody - a model defined in Swagger""" # noqa: E501 self._jobs = None - self._matrix = None + self._matrices = None self._options = None self._vehicles = None self.discriminator = None self.jobs = jobs - if matrix is not None: - self.matrix = matrix + if matrices is not None: + self.matrices = matrices if options is not None: self.options = options self.vehicles = vehicles @@ -81,27 +81,25 @@ def jobs(self, jobs): self._jobs = jobs @property - def matrix(self): - """Gets the matrix of this OptimizationBody. # noqa: E501 + def matrices(self): + """Gets the matrices of this OptimizationBody. # noqa: E501 - Optional two-dimensional array describing a custom matrix # noqa: E501 - :return: The matrix of this OptimizationBody. # noqa: E501 - :rtype: list[list] + :return: The matrices of this OptimizationBody. # noqa: E501 + :rtype: OptimizationMatrices """ - return self._matrix + return self._matrices - @matrix.setter - def matrix(self, matrix): - """Sets the matrix of this OptimizationBody. + @matrices.setter + def matrices(self, matrices): + """Sets the matrices of this OptimizationBody. - Optional two-dimensional array describing a custom matrix # noqa: E501 - :param matrix: The matrix of this OptimizationBody. # noqa: E501 - :type: list[list] + :param matrices: The matrices of this OptimizationBody. # noqa: E501 + :type: OptimizationMatrices """ - self._matrix = matrix + self._matrices = matrices @property def options(self): diff --git a/openrouteservice/models/optimization_breaks.py b/openrouteservice/models/optimization_breaks.py new file mode 100644 index 00000000..07a3b031 --- /dev/null +++ b/openrouteservice/models/optimization_breaks.py @@ -0,0 +1,224 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OptimizationBreaks(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'description': 'str', + 'id': 'int', + 'max_load': 'list[float]', + 'service': 'float', + 'time_windows': 'list[list[int]]' + } + + attribute_map = { + 'description': 'description', + 'id': 'id', + 'max_load': 'max_load', + 'service': 'service', + 'time_windows': 'time_windows' + } + + def __init__(self, description=None, id=None, max_load=None, service=0, time_windows=None): # noqa: E501 + """OptimizationBreaks - a model defined in Swagger""" # noqa: E501 + self._description = None + self._id = None + self._max_load = None + self._service = None + self._time_windows = None + self.discriminator = None + if description is not None: + self.description = description + if id is not None: + self.id = id + if max_load is not None: + self.max_load = max_load + if service is not None: + self.service = service + if time_windows is not None: + self.time_windows = time_windows + + @property + def description(self): + """Gets the description of this OptimizationBreaks. # noqa: E501 + + a string describing this break # noqa: E501 + + :return: The description of this OptimizationBreaks. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this OptimizationBreaks. + + a string describing this break # noqa: E501 + + :param description: The description of this OptimizationBreaks. # noqa: E501 + :type: str + """ + + self._description = description + + @property + def id(self): + """Gets the id of this OptimizationBreaks. # noqa: E501 + + Integer used as unique identifier # noqa: E501 + + :return: The id of this OptimizationBreaks. # noqa: E501 + :rtype: int + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this OptimizationBreaks. + + Integer used as unique identifier # noqa: E501 + + :param id: The id of this OptimizationBreaks. # noqa: E501 + :type: int + """ + + self._id = id + + @property + def max_load(self): + """Gets the max_load of this OptimizationBreaks. # noqa: E501 + + Array of integers describing the maximum vehicle load for which this break can happen. An error is reported if two break objects have the same id for the same vehicle. # noqa: E501 + + :return: The max_load of this OptimizationBreaks. # noqa: E501 + :rtype: list[float] + """ + return self._max_load + + @max_load.setter + def max_load(self, max_load): + """Sets the max_load of this OptimizationBreaks. + + Array of integers describing the maximum vehicle load for which this break can happen. An error is reported if two break objects have the same id for the same vehicle. # noqa: E501 + + :param max_load: The max_load of this OptimizationBreaks. # noqa: E501 + :type: list[float] + """ + + self._max_load = max_load + + @property + def service(self): + """Gets the service of this OptimizationBreaks. # noqa: E501 + + break duration in seconds (defaults to 0) # noqa: E501 + + :return: The service of this OptimizationBreaks. # noqa: E501 + :rtype: float + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this OptimizationBreaks. + + break duration in seconds (defaults to 0) # noqa: E501 + + :param service: The service of this OptimizationBreaks. # noqa: E501 + :type: float + """ + + self._service = service + + @property + def time_windows(self): + """Gets the time_windows of this OptimizationBreaks. # noqa: E501 + + Array of time_window objects describing valid slots for break start and end, in week seconds, i.e. 28800 = Mon, 8 AM. # noqa: E501 + + :return: The time_windows of this OptimizationBreaks. # noqa: E501 + :rtype: list[list[int]] + """ + return self._time_windows + + @time_windows.setter + def time_windows(self, time_windows): + """Sets the time_windows of this OptimizationBreaks. + + Array of time_window objects describing valid slots for break start and end, in week seconds, i.e. 28800 = Mon, 8 AM. # noqa: E501 + + :param time_windows: The time_windows of this OptimizationBreaks. # noqa: E501 + :type: list[list[int]] + """ + + self._time_windows = time_windows + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(OptimizationBreaks, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OptimizationBreaks): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/optimization_costs.py b/openrouteservice/models/optimization_costs.py new file mode 100644 index 00000000..55ed5e42 --- /dev/null +++ b/openrouteservice/models/optimization_costs.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OptimizationCosts(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'fixed': 'float', + 'per_hour': 'float', + 'per_km': 'float' + } + + attribute_map = { + 'fixed': 'fixed', + 'per_hour': 'per_hour', + 'per_km': 'per_km' + } + + def __init__(self, fixed=0, per_hour=3600, per_km=0): # noqa: E501 + """OptimizationCosts - a model defined in Swagger""" # noqa: E501 + self._fixed = None + self._per_hour = None + self._per_km = None + self.discriminator = None + if fixed is not None: + self.fixed = fixed + if per_hour is not None: + self.per_hour = per_hour + if per_km is not None: + self.per_km = per_km + + @property + def fixed(self): + """Gets the fixed of this OptimizationCosts. # noqa: E501 + + integer defining the cost of using this vehicle in the solution (defaults to 0) # noqa: E501 + + :return: The fixed of this OptimizationCosts. # noqa: E501 + :rtype: float + """ + return self._fixed + + @fixed.setter + def fixed(self, fixed): + """Sets the fixed of this OptimizationCosts. + + integer defining the cost of using this vehicle in the solution (defaults to 0) # noqa: E501 + + :param fixed: The fixed of this OptimizationCosts. # noqa: E501 + :type: float + """ + + self._fixed = fixed + + @property + def per_hour(self): + """Gets the per_hour of this OptimizationCosts. # noqa: E501 + + integer defining the cost for one hour of travel time with this vehicle (defaults to 3600) # noqa: E501 + + :return: The per_hour of this OptimizationCosts. # noqa: E501 + :rtype: float + """ + return self._per_hour + + @per_hour.setter + def per_hour(self, per_hour): + """Sets the per_hour of this OptimizationCosts. + + integer defining the cost for one hour of travel time with this vehicle (defaults to 3600) # noqa: E501 + + :param per_hour: The per_hour of this OptimizationCosts. # noqa: E501 + :type: float + """ + + self._per_hour = per_hour + + @property + def per_km(self): + """Gets the per_km of this OptimizationCosts. # noqa: E501 + + integer defining the cost for one km of travel time with this vehicle (defaults to 0) # noqa: E501 + + :return: The per_km of this OptimizationCosts. # noqa: E501 + :rtype: float + """ + return self._per_km + + @per_km.setter + def per_km(self, per_km): + """Sets the per_km of this OptimizationCosts. + + integer defining the cost for one km of travel time with this vehicle (defaults to 0) # noqa: E501 + + :param per_km: The per_km of this OptimizationCosts. # noqa: E501 + :type: float + """ + + self._per_km = per_km + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(OptimizationCosts, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OptimizationCosts): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/optimization_jobs.py b/openrouteservice/models/optimization_jobs.py index 6aeb86cb..9ecf56dd 100644 --- a/openrouteservice/models/optimization_jobs.py +++ b/openrouteservice/models/optimization_jobs.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -28,72 +28,115 @@ class OptimizationJobs(object): and the value is json key in definition. """ swagger_types = { - 'amount': 'list[int]', + 'delivery': 'list[float]', + 'description': 'str', 'id': 'int', 'location': 'list[list[float]]', 'location_index': 'object', + 'pickup': 'list[float]', + 'priority': 'float', 'service': 'object', + 'setup': 'float', 'skills': 'list[int]', 'time_windows': 'list[list[int]]' } attribute_map = { - 'amount': 'amount', + 'delivery': 'delivery', + 'description': 'description', 'id': 'id', 'location': 'location', 'location_index': 'location_index', + 'pickup': 'pickup', + 'priority': 'priority', 'service': 'service', + 'setup': 'setup', 'skills': 'skills', 'time_windows': 'time_windows' } - def __init__(self, amount=None, id=None, location=None, location_index=None, service=None, skills=None, time_windows=None): # noqa: E501 + def __init__(self, delivery=None, description=None, id=None, location=None, location_index=None, pickup=None, priority=0, service=None, setup=None, skills=None, time_windows=None): # noqa: E501 """OptimizationJobs - a model defined in Swagger""" # noqa: E501 - self._amount = None + self._delivery = None + self._description = None self._id = None self._location = None self._location_index = None + self._pickup = None + self._priority = None self._service = None + self._setup = None self._skills = None self._time_windows = None self.discriminator = None - if amount is not None: - self.amount = amount + if delivery is not None: + self.delivery = delivery + if description is not None: + self.description = description if id is not None: self.id = id if location is not None: self.location = location if location_index is not None: self.location_index = location_index + if pickup is not None: + self.pickup = pickup + if priority is not None: + self.priority = priority if service is not None: self.service = service + if setup is not None: + self.setup = setup if skills is not None: self.skills = skills if time_windows is not None: self.time_windows = time_windows @property - def amount(self): - """Gets the amount of this OptimizationJobs. # noqa: E501 + def delivery(self): + """Gets the delivery of this OptimizationJobs. # noqa: E501 - Array describing multidimensional quantities # noqa: E501 + an array of integers describing multidimensional quantities for delivery # noqa: E501 - :return: The amount of this OptimizationJobs. # noqa: E501 - :rtype: list[int] + :return: The delivery of this OptimizationJobs. # noqa: E501 + :rtype: list[float] """ - return self._amount + return self._delivery - @amount.setter - def amount(self, amount): - """Sets the amount of this OptimizationJobs. + @delivery.setter + def delivery(self, delivery): + """Sets the delivery of this OptimizationJobs. - Array describing multidimensional quantities # noqa: E501 + an array of integers describing multidimensional quantities for delivery # noqa: E501 - :param amount: The amount of this OptimizationJobs. # noqa: E501 - :type: list[int] + :param delivery: The delivery of this OptimizationJobs. # noqa: E501 + :type: list[float] """ - self._amount = amount + self._delivery = delivery + + @property + def description(self): + """Gets the description of this OptimizationJobs. # noqa: E501 + + a string describing this job # noqa: E501 + + :return: The description of this OptimizationJobs. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this OptimizationJobs. + + a string describing this job # noqa: E501 + + :param description: The description of this OptimizationJobs. # noqa: E501 + :type: str + """ + + self._description = description @property def id(self): @@ -164,6 +207,52 @@ def location_index(self, location_index): self._location_index = location_index + @property + def pickup(self): + """Gets the pickup of this OptimizationJobs. # noqa: E501 + + an array of integers describing multidimensional quantities for pickup # noqa: E501 + + :return: The pickup of this OptimizationJobs. # noqa: E501 + :rtype: list[float] + """ + return self._pickup + + @pickup.setter + def pickup(self, pickup): + """Sets the pickup of this OptimizationJobs. + + an array of integers describing multidimensional quantities for pickup # noqa: E501 + + :param pickup: The pickup of this OptimizationJobs. # noqa: E501 + :type: list[float] + """ + + self._pickup = pickup + + @property + def priority(self): + """Gets the priority of this OptimizationJobs. # noqa: E501 + + an integer in the range [0, 100] describing priority level (defaults to 0) # noqa: E501 + + :return: The priority of this OptimizationJobs. # noqa: E501 + :rtype: float + """ + return self._priority + + @priority.setter + def priority(self, priority): + """Sets the priority of this OptimizationJobs. + + an integer in the range [0, 100] describing priority level (defaults to 0) # noqa: E501 + + :param priority: The priority of this OptimizationJobs. # noqa: E501 + :type: float + """ + + self._priority = priority + @property def service(self): """Gets the service of this OptimizationJobs. # noqa: E501 @@ -187,6 +276,29 @@ def service(self, service): self._service = service + @property + def setup(self): + """Gets the setup of this OptimizationJobs. # noqa: E501 + + job setup duration (defaults to 0), in seconds # noqa: E501 + + :return: The setup of this OptimizationJobs. # noqa: E501 + :rtype: float + """ + return self._setup + + @setup.setter + def setup(self, setup): + """Sets the setup of this OptimizationJobs. + + job setup duration (defaults to 0), in seconds # noqa: E501 + + :param setup: The setup of this OptimizationJobs. # noqa: E501 + :type: float + """ + + self._setup = setup + @property def skills(self): """Gets the skills of this OptimizationJobs. # noqa: E501 diff --git a/openrouteservice/models/optimization_matrices.py b/openrouteservice/models/optimization_matrices.py new file mode 100644 index 00000000..d7255e64 --- /dev/null +++ b/openrouteservice/models/optimization_matrices.py @@ -0,0 +1,318 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OptimizationMatrices(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'cycling_electric': 'OptimizationMatricesCyclingelectric', + 'cycling_mountain': 'OptimizationMatricesCyclingelectric', + 'cycling_regular': 'OptimizationMatricesCyclingelectric', + 'cycling_road': 'OptimizationMatricesCyclingelectric', + 'driving_car': 'OptimizationMatricesCyclingelectric', + 'driving_hgv': 'OptimizationMatricesCyclingelectric', + 'foot_hiking': 'OptimizationMatricesCyclingelectric', + 'foot_walking': 'OptimizationMatricesCyclingelectric', + 'wheelchair': 'OptimizationMatricesCyclingelectric' + } + + attribute_map = { + 'cycling_electric': 'cycling-electric', + 'cycling_mountain': 'cycling-mountain', + 'cycling_regular': 'cycling-regular', + 'cycling_road': 'cycling-road', + 'driving_car': 'driving-car', + 'driving_hgv': 'driving-hgv', + 'foot_hiking': 'foot-hiking', + 'foot_walking': 'foot-walking', + 'wheelchair': 'wheelchair' + } + + def __init__(self, cycling_electric=None, cycling_mountain=None, cycling_regular=None, cycling_road=None, driving_car=None, driving_hgv=None, foot_hiking=None, foot_walking=None, wheelchair=None): # noqa: E501 + """OptimizationMatrices - a model defined in Swagger""" # noqa: E501 + self._cycling_electric = None + self._cycling_mountain = None + self._cycling_regular = None + self._cycling_road = None + self._driving_car = None + self._driving_hgv = None + self._foot_hiking = None + self._foot_walking = None + self._wheelchair = None + self.discriminator = None + if cycling_electric is not None: + self.cycling_electric = cycling_electric + if cycling_mountain is not None: + self.cycling_mountain = cycling_mountain + if cycling_regular is not None: + self.cycling_regular = cycling_regular + if cycling_road is not None: + self.cycling_road = cycling_road + if driving_car is not None: + self.driving_car = driving_car + if driving_hgv is not None: + self.driving_hgv = driving_hgv + if foot_hiking is not None: + self.foot_hiking = foot_hiking + if foot_walking is not None: + self.foot_walking = foot_walking + if wheelchair is not None: + self.wheelchair = wheelchair + + @property + def cycling_electric(self): + """Gets the cycling_electric of this OptimizationMatrices. # noqa: E501 + + + :return: The cycling_electric of this OptimizationMatrices. # noqa: E501 + :rtype: OptimizationMatricesCyclingelectric + """ + return self._cycling_electric + + @cycling_electric.setter + def cycling_electric(self, cycling_electric): + """Sets the cycling_electric of this OptimizationMatrices. + + + :param cycling_electric: The cycling_electric of this OptimizationMatrices. # noqa: E501 + :type: OptimizationMatricesCyclingelectric + """ + + self._cycling_electric = cycling_electric + + @property + def cycling_mountain(self): + """Gets the cycling_mountain of this OptimizationMatrices. # noqa: E501 + + + :return: The cycling_mountain of this OptimizationMatrices. # noqa: E501 + :rtype: OptimizationMatricesCyclingelectric + """ + return self._cycling_mountain + + @cycling_mountain.setter + def cycling_mountain(self, cycling_mountain): + """Sets the cycling_mountain of this OptimizationMatrices. + + + :param cycling_mountain: The cycling_mountain of this OptimizationMatrices. # noqa: E501 + :type: OptimizationMatricesCyclingelectric + """ + + self._cycling_mountain = cycling_mountain + + @property + def cycling_regular(self): + """Gets the cycling_regular of this OptimizationMatrices. # noqa: E501 + + + :return: The cycling_regular of this OptimizationMatrices. # noqa: E501 + :rtype: OptimizationMatricesCyclingelectric + """ + return self._cycling_regular + + @cycling_regular.setter + def cycling_regular(self, cycling_regular): + """Sets the cycling_regular of this OptimizationMatrices. + + + :param cycling_regular: The cycling_regular of this OptimizationMatrices. # noqa: E501 + :type: OptimizationMatricesCyclingelectric + """ + + self._cycling_regular = cycling_regular + + @property + def cycling_road(self): + """Gets the cycling_road of this OptimizationMatrices. # noqa: E501 + + + :return: The cycling_road of this OptimizationMatrices. # noqa: E501 + :rtype: OptimizationMatricesCyclingelectric + """ + return self._cycling_road + + @cycling_road.setter + def cycling_road(self, cycling_road): + """Sets the cycling_road of this OptimizationMatrices. + + + :param cycling_road: The cycling_road of this OptimizationMatrices. # noqa: E501 + :type: OptimizationMatricesCyclingelectric + """ + + self._cycling_road = cycling_road + + @property + def driving_car(self): + """Gets the driving_car of this OptimizationMatrices. # noqa: E501 + + + :return: The driving_car of this OptimizationMatrices. # noqa: E501 + :rtype: OptimizationMatricesCyclingelectric + """ + return self._driving_car + + @driving_car.setter + def driving_car(self, driving_car): + """Sets the driving_car of this OptimizationMatrices. + + + :param driving_car: The driving_car of this OptimizationMatrices. # noqa: E501 + :type: OptimizationMatricesCyclingelectric + """ + + self._driving_car = driving_car + + @property + def driving_hgv(self): + """Gets the driving_hgv of this OptimizationMatrices. # noqa: E501 + + + :return: The driving_hgv of this OptimizationMatrices. # noqa: E501 + :rtype: OptimizationMatricesCyclingelectric + """ + return self._driving_hgv + + @driving_hgv.setter + def driving_hgv(self, driving_hgv): + """Sets the driving_hgv of this OptimizationMatrices. + + + :param driving_hgv: The driving_hgv of this OptimizationMatrices. # noqa: E501 + :type: OptimizationMatricesCyclingelectric + """ + + self._driving_hgv = driving_hgv + + @property + def foot_hiking(self): + """Gets the foot_hiking of this OptimizationMatrices. # noqa: E501 + + + :return: The foot_hiking of this OptimizationMatrices. # noqa: E501 + :rtype: OptimizationMatricesCyclingelectric + """ + return self._foot_hiking + + @foot_hiking.setter + def foot_hiking(self, foot_hiking): + """Sets the foot_hiking of this OptimizationMatrices. + + + :param foot_hiking: The foot_hiking of this OptimizationMatrices. # noqa: E501 + :type: OptimizationMatricesCyclingelectric + """ + + self._foot_hiking = foot_hiking + + @property + def foot_walking(self): + """Gets the foot_walking of this OptimizationMatrices. # noqa: E501 + + + :return: The foot_walking of this OptimizationMatrices. # noqa: E501 + :rtype: OptimizationMatricesCyclingelectric + """ + return self._foot_walking + + @foot_walking.setter + def foot_walking(self, foot_walking): + """Sets the foot_walking of this OptimizationMatrices. + + + :param foot_walking: The foot_walking of this OptimizationMatrices. # noqa: E501 + :type: OptimizationMatricesCyclingelectric + """ + + self._foot_walking = foot_walking + + @property + def wheelchair(self): + """Gets the wheelchair of this OptimizationMatrices. # noqa: E501 + + + :return: The wheelchair of this OptimizationMatrices. # noqa: E501 + :rtype: OptimizationMatricesCyclingelectric + """ + return self._wheelchair + + @wheelchair.setter + def wheelchair(self, wheelchair): + """Sets the wheelchair of this OptimizationMatrices. + + + :param wheelchair: The wheelchair of this OptimizationMatrices. # noqa: E501 + :type: OptimizationMatricesCyclingelectric + """ + + self._wheelchair = wheelchair + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(OptimizationMatrices, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OptimizationMatrices): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/optimization_matrices_cyclingelectric.py b/openrouteservice/models/optimization_matrices_cyclingelectric.py new file mode 100644 index 00000000..69eb0088 --- /dev/null +++ b/openrouteservice/models/optimization_matrices_cyclingelectric.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OptimizationMatricesCyclingelectric(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'costs': 'list[list[int]]', + 'distances': 'list[list[int]]', + 'durations': 'list[list[int]]' + } + + attribute_map = { + 'costs': 'costs', + 'distances': 'distances', + 'durations': 'durations' + } + + def __init__(self, costs=None, distances=None, durations=None): # noqa: E501 + """OptimizationMatricesCyclingelectric - a model defined in Swagger""" # noqa: E501 + self._costs = None + self._distances = None + self._durations = None + self.discriminator = None + if costs is not None: + self.costs = costs + if distances is not None: + self.distances = distances + if durations is not None: + self.durations = durations + + @property + def costs(self): + """Gets the costs of this OptimizationMatricesCyclingelectric. # noqa: E501 + + costs for a custom cost matrix that will be used within all route cost evaluations # noqa: E501 + + :return: The costs of this OptimizationMatricesCyclingelectric. # noqa: E501 + :rtype: list[list[int]] + """ + return self._costs + + @costs.setter + def costs(self, costs): + """Sets the costs of this OptimizationMatricesCyclingelectric. + + costs for a custom cost matrix that will be used within all route cost evaluations # noqa: E501 + + :param costs: The costs of this OptimizationMatricesCyclingelectric. # noqa: E501 + :type: list[list[int]] + """ + + self._costs = costs + + @property + def distances(self): + """Gets the distances of this OptimizationMatricesCyclingelectric. # noqa: E501 + + distances for a custom distance matrix # noqa: E501 + + :return: The distances of this OptimizationMatricesCyclingelectric. # noqa: E501 + :rtype: list[list[int]] + """ + return self._distances + + @distances.setter + def distances(self, distances): + """Sets the distances of this OptimizationMatricesCyclingelectric. + + distances for a custom distance matrix # noqa: E501 + + :param distances: The distances of this OptimizationMatricesCyclingelectric. # noqa: E501 + :type: list[list[int]] + """ + + self._distances = distances + + @property + def durations(self): + """Gets the durations of this OptimizationMatricesCyclingelectric. # noqa: E501 + + Durations for a custom travel-time matrix that will be used for all checks against timing constraints # noqa: E501 + + :return: The durations of this OptimizationMatricesCyclingelectric. # noqa: E501 + :rtype: list[list[int]] + """ + return self._durations + + @durations.setter + def durations(self, durations): + """Sets the durations of this OptimizationMatricesCyclingelectric. + + Durations for a custom travel-time matrix that will be used for all checks against timing constraints # noqa: E501 + + :param durations: The durations of this OptimizationMatricesCyclingelectric. # noqa: E501 + :type: list[list[int]] + """ + + self._durations = durations + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(OptimizationMatricesCyclingelectric, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OptimizationMatricesCyclingelectric): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/optimization_options.py b/openrouteservice/models/optimization_options.py index 7b4bc462..4154f264 100644 --- a/openrouteservice/models/optimization_options.py +++ b/openrouteservice/models/optimization_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_steps.py b/openrouteservice/models/optimization_steps.py new file mode 100644 index 00000000..9da3d7fa --- /dev/null +++ b/openrouteservice/models/optimization_steps.py @@ -0,0 +1,230 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class OptimizationSteps(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'float', + 'service_after': 'float', + 'service_at': 'float', + 'service_before': 'float', + 'type': 'str' + } + + attribute_map = { + 'id': 'id', + 'service_after': 'service_after', + 'service_at': 'service_at', + 'service_before': 'service_before', + 'type': 'type' + } + + def __init__(self, id=None, service_after=None, service_at=None, service_before=None, type=None): # noqa: E501 + """OptimizationSteps - a model defined in Swagger""" # noqa: E501 + self._id = None + self._service_after = None + self._service_at = None + self._service_before = None + self._type = None + self.discriminator = None + if id is not None: + self.id = id + if service_after is not None: + self.service_after = service_after + if service_at is not None: + self.service_at = service_at + if service_before is not None: + self.service_before = service_before + if type is not None: + self.type = type + + @property + def id(self): + """Gets the id of this OptimizationSteps. # noqa: E501 + + id of the task to be performed at this step if `type` value is not `start` or `end` # noqa: E501 + + :return: The id of this OptimizationSteps. # noqa: E501 + :rtype: float + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this OptimizationSteps. + + id of the task to be performed at this step if `type` value is not `start` or `end` # noqa: E501 + + :param id: The id of this OptimizationSteps. # noqa: E501 + :type: float + """ + + self._id = id + + @property + def service_after(self): + """Gets the service_after of this OptimizationSteps. # noqa: E501 + + hard constraint on service time lower bound (as absolute or relative timestamp) # noqa: E501 + + :return: The service_after of this OptimizationSteps. # noqa: E501 + :rtype: float + """ + return self._service_after + + @service_after.setter + def service_after(self, service_after): + """Sets the service_after of this OptimizationSteps. + + hard constraint on service time lower bound (as absolute or relative timestamp) # noqa: E501 + + :param service_after: The service_after of this OptimizationSteps. # noqa: E501 + :type: float + """ + + self._service_after = service_after + + @property + def service_at(self): + """Gets the service_at of this OptimizationSteps. # noqa: E501 + + hard constraint on service time (as absolute or relative timestamp) # noqa: E501 + + :return: The service_at of this OptimizationSteps. # noqa: E501 + :rtype: float + """ + return self._service_at + + @service_at.setter + def service_at(self, service_at): + """Sets the service_at of this OptimizationSteps. + + hard constraint on service time (as absolute or relative timestamp) # noqa: E501 + + :param service_at: The service_at of this OptimizationSteps. # noqa: E501 + :type: float + """ + + self._service_at = service_at + + @property + def service_before(self): + """Gets the service_before of this OptimizationSteps. # noqa: E501 + + hard constraint on service time upper bound (as absolute or relative timestamp) # noqa: E501 + + :return: The service_before of this OptimizationSteps. # noqa: E501 + :rtype: float + """ + return self._service_before + + @service_before.setter + def service_before(self, service_before): + """Sets the service_before of this OptimizationSteps. + + hard constraint on service time upper bound (as absolute or relative timestamp) # noqa: E501 + + :param service_before: The service_before of this OptimizationSteps. # noqa: E501 + :type: float + """ + + self._service_before = service_before + + @property + def type(self): + """Gets the type of this OptimizationSteps. # noqa: E501 + + step type (either start, job, pickup, delivery, break or end)] # noqa: E501 + + :return: The type of this OptimizationSteps. # noqa: E501 + :rtype: str + """ + return self._type + + @type.setter + def type(self, type): + """Sets the type of this OptimizationSteps. + + step type (either start, job, pickup, delivery, break or end)] # noqa: E501 + + :param type: The type of this OptimizationSteps. # noqa: E501 + :type: str + """ + allowed_values = ["start", "job", "pickup", "delivery", "break", "end"] # noqa: E501 + if type not in allowed_values: + raise ValueError( + "Invalid value for `type` ({0}), must be one of {1}" # noqa: E501 + .format(type, allowed_values) + ) + + self._type = type + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(OptimizationSteps, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, OptimizationSteps): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/optimization_vehicles.py b/openrouteservice/models/optimization_vehicles.py index 15ac3e8f..4da86f10 100644 --- a/openrouteservice/models/optimization_vehicles.py +++ b/openrouteservice/models/optimization_vehicles.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -28,60 +28,123 @@ class OptimizationVehicles(object): and the value is json key in definition. """ swagger_types = { + 'breaks': 'list[OptimizationBreaks]', 'capacity': 'list[int]', + 'costs': 'OptimizationCosts', + 'description': 'str', 'end': 'list[float]', 'end_index': 'object', 'id': 'int', + 'max_distance': 'float', + 'max_tasks': 'float', + 'max_travel_time': 'float', 'profile': 'str', 'skills': 'list[int]', + 'speed_factor': 'float', 'start': 'list[float]', 'start_index': 'object', + 'steps': 'list[OptimizationSteps]', 'time_window': 'list[int]' } attribute_map = { + 'breaks': 'breaks', 'capacity': 'capacity', + 'costs': 'costs', + 'description': 'description', 'end': 'end', 'end_index': 'end_index', 'id': 'id', + 'max_distance': 'max_distance', + 'max_tasks': 'max_tasks', + 'max_travel_time': 'max_travel_time', 'profile': 'profile', 'skills': 'skills', + 'speed_factor': 'speed_factor', 'start': 'start', 'start_index': 'start_index', + 'steps': 'steps', 'time_window': 'time_window' } - def __init__(self, capacity=None, end=None, end_index=None, id=None, profile=None, skills=None, start=None, start_index=None, time_window=None): # noqa: E501 + def __init__(self, breaks=None, capacity=None, costs=None, description=None, end=None, end_index=None, id=None, max_distance=None, max_tasks=None, max_travel_time=None, profile=None, skills=None, speed_factor=None, start=None, start_index=None, steps=None, time_window=None): # noqa: E501 """OptimizationVehicles - a model defined in Swagger""" # noqa: E501 + self._breaks = None self._capacity = None + self._costs = None + self._description = None self._end = None self._end_index = None self._id = None + self._max_distance = None + self._max_tasks = None + self._max_travel_time = None self._profile = None self._skills = None + self._speed_factor = None self._start = None self._start_index = None + self._steps = None self._time_window = None self.discriminator = None + if breaks is not None: + self.breaks = breaks if capacity is not None: self.capacity = capacity + if costs is not None: + self.costs = costs + if description is not None: + self.description = description if end is not None: self.end = end if end_index is not None: self.end_index = end_index if id is not None: self.id = id + if max_distance is not None: + self.max_distance = max_distance + if max_tasks is not None: + self.max_tasks = max_tasks + if max_travel_time is not None: + self.max_travel_time = max_travel_time if profile is not None: self.profile = profile if skills is not None: self.skills = skills + if speed_factor is not None: + self.speed_factor = speed_factor if start is not None: self.start = start if start_index is not None: self.start_index = start_index + if steps is not None: + self.steps = steps if time_window is not None: self.time_window = time_window + @property + def breaks(self): + """Gets the breaks of this OptimizationVehicles. # noqa: E501 + + An array of `break` objects # noqa: E501 + + :return: The breaks of this OptimizationVehicles. # noqa: E501 + :rtype: list[OptimizationBreaks] + """ + return self._breaks + + @breaks.setter + def breaks(self, breaks): + """Sets the breaks of this OptimizationVehicles. + + An array of `break` objects # noqa: E501 + + :param breaks: The breaks of this OptimizationVehicles. # noqa: E501 + :type: list[OptimizationBreaks] + """ + + self._breaks = breaks + @property def capacity(self): """Gets the capacity of this OptimizationVehicles. # noqa: E501 @@ -105,6 +168,50 @@ def capacity(self, capacity): self._capacity = capacity + @property + def costs(self): + """Gets the costs of this OptimizationVehicles. # noqa: E501 + + + :return: The costs of this OptimizationVehicles. # noqa: E501 + :rtype: OptimizationCosts + """ + return self._costs + + @costs.setter + def costs(self, costs): + """Sets the costs of this OptimizationVehicles. + + + :param costs: The costs of this OptimizationVehicles. # noqa: E501 + :type: OptimizationCosts + """ + + self._costs = costs + + @property + def description(self): + """Gets the description of this OptimizationVehicles. # noqa: E501 + + a string describing this vehicle # noqa: E501 + + :return: The description of this OptimizationVehicles. # noqa: E501 + :rtype: str + """ + return self._description + + @description.setter + def description(self, description): + """Sets the description of this OptimizationVehicles. + + a string describing this vehicle # noqa: E501 + + :param description: The description of this OptimizationVehicles. # noqa: E501 + :type: str + """ + + self._description = description + @property def end(self): """Gets the end of this OptimizationVehicles. # noqa: E501 @@ -174,6 +281,75 @@ def id(self, id): self._id = id + @property + def max_distance(self): + """Gets the max_distance of this OptimizationVehicles. # noqa: E501 + + an integer defining the maximum distance for this vehicle # noqa: E501 + + :return: The max_distance of this OptimizationVehicles. # noqa: E501 + :rtype: float + """ + return self._max_distance + + @max_distance.setter + def max_distance(self, max_distance): + """Sets the max_distance of this OptimizationVehicles. + + an integer defining the maximum distance for this vehicle # noqa: E501 + + :param max_distance: The max_distance of this OptimizationVehicles. # noqa: E501 + :type: float + """ + + self._max_distance = max_distance + + @property + def max_tasks(self): + """Gets the max_tasks of this OptimizationVehicles. # noqa: E501 + + an integer defining the maximum number of tasks in a route for this vehicle # noqa: E501 + + :return: The max_tasks of this OptimizationVehicles. # noqa: E501 + :rtype: float + """ + return self._max_tasks + + @max_tasks.setter + def max_tasks(self, max_tasks): + """Sets the max_tasks of this OptimizationVehicles. + + an integer defining the maximum number of tasks in a route for this vehicle # noqa: E501 + + :param max_tasks: The max_tasks of this OptimizationVehicles. # noqa: E501 + :type: float + """ + + self._max_tasks = max_tasks + + @property + def max_travel_time(self): + """Gets the max_travel_time of this OptimizationVehicles. # noqa: E501 + + an integer defining the maximum travel time for this vehicle # noqa: E501 + + :return: The max_travel_time of this OptimizationVehicles. # noqa: E501 + :rtype: float + """ + return self._max_travel_time + + @max_travel_time.setter + def max_travel_time(self, max_travel_time): + """Sets the max_travel_time of this OptimizationVehicles. + + an integer defining the maximum travel time for this vehicle # noqa: E501 + + :param max_travel_time: The max_travel_time of this OptimizationVehicles. # noqa: E501 + :type: float + """ + + self._max_travel_time = max_travel_time + @property def profile(self): """Gets the profile of this OptimizationVehicles. # noqa: E501 @@ -226,6 +402,29 @@ def skills(self, skills): self._skills = skills + @property + def speed_factor(self): + """Gets the speed_factor of this OptimizationVehicles. # noqa: E501 + + A double value in the range (0, 5] used to scale all vehicle travel times (defaults to 1.). The respected precision is limited to two digits after the decimal point. # noqa: E501 + + :return: The speed_factor of this OptimizationVehicles. # noqa: E501 + :rtype: float + """ + return self._speed_factor + + @speed_factor.setter + def speed_factor(self, speed_factor): + """Sets the speed_factor of this OptimizationVehicles. + + A double value in the range (0, 5] used to scale all vehicle travel times (defaults to 1.). The respected precision is limited to two digits after the decimal point. # noqa: E501 + + :param speed_factor: The speed_factor of this OptimizationVehicles. # noqa: E501 + :type: float + """ + + self._speed_factor = speed_factor + @property def start(self): """Gets the start of this OptimizationVehicles. # noqa: E501 @@ -272,6 +471,27 @@ def start_index(self, start_index): self._start_index = start_index + @property + def steps(self): + """Gets the steps of this OptimizationVehicles. # noqa: E501 + + + :return: The steps of this OptimizationVehicles. # noqa: E501 + :rtype: list[OptimizationSteps] + """ + return self._steps + + @steps.setter + def steps(self, steps): + """Sets the steps of this OptimizationVehicles. + + + :param steps: The steps of this OptimizationVehicles. # noqa: E501 + :type: list[OptimizationSteps] + """ + + self._steps = steps + @property def time_window(self): """Gets the time_window of this OptimizationVehicles. # noqa: E501 diff --git a/openrouteservice/models/pois_filters.py b/openrouteservice/models/pois_filters.py index a086af4c..9d0d6cd1 100644 --- a/openrouteservice/models/pois_filters.py +++ b/openrouteservice/models/pois_filters.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/pois_geometry.py b/openrouteservice/models/pois_geometry.py index 5f1a8296..71f01f4b 100644 --- a/openrouteservice/models/pois_geometry.py +++ b/openrouteservice/models/pois_geometry.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_geojson_body.py b/openrouteservice/models/profile_geojson_body.py new file mode 100644 index 00000000..c056540f --- /dev/null +++ b/openrouteservice/models/profile_geojson_body.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ProfileGeojsonBody(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'str', + 'locations': 'list[list[float]]', + 'radius': 'float' + } + + attribute_map = { + 'id': 'id', + 'locations': 'locations', + 'radius': 'radius' + } + + def __init__(self, id=None, locations=None, radius=None): # noqa: E501 + """ProfileGeojsonBody - a model defined in Swagger""" # noqa: E501 + self._id = None + self._locations = None + self._radius = None + self.discriminator = None + if id is not None: + self.id = id + self.locations = locations + self.radius = radius + + @property + def id(self): + """Gets the id of this ProfileGeojsonBody. # noqa: E501 + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :return: The id of this ProfileGeojsonBody. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ProfileGeojsonBody. + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :param id: The id of this ProfileGeojsonBody. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def locations(self): + """Gets the locations of this ProfileGeojsonBody. # noqa: E501 + + The locations to be snapped as array of `longitude/latitude` pairs. # noqa: E501 + + :return: The locations of this ProfileGeojsonBody. # noqa: E501 + :rtype: list[list[float]] + """ + return self._locations + + @locations.setter + def locations(self, locations): + """Sets the locations of this ProfileGeojsonBody. + + The locations to be snapped as array of `longitude/latitude` pairs. # noqa: E501 + + :param locations: The locations of this ProfileGeojsonBody. # noqa: E501 + :type: list[list[float]] + """ + if locations is None: + raise ValueError("Invalid value for `locations`, must not be `None`") # noqa: E501 + + self._locations = locations + + @property + def radius(self): + """Gets the radius of this ProfileGeojsonBody. # noqa: E501 + + Maximum radius in meters around given coordinates to search for graph edges. # noqa: E501 + + :return: The radius of this ProfileGeojsonBody. # noqa: E501 + :rtype: float + """ + return self._radius + + @radius.setter + def radius(self, radius): + """Sets the radius of this ProfileGeojsonBody. + + Maximum radius in meters around given coordinates to search for graph edges. # noqa: E501 + + :param radius: The radius of this ProfileGeojsonBody. # noqa: E501 + :type: float + """ + if radius is None: + raise ValueError("Invalid value for `radius`, must not be `None`") # noqa: E501 + + self._radius = radius + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ProfileGeojsonBody, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProfileGeojsonBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/profile_json_body.py b/openrouteservice/models/profile_json_body.py new file mode 100644 index 00000000..605c42a8 --- /dev/null +++ b/openrouteservice/models/profile_json_body.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class ProfileJsonBody(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'str', + 'locations': 'list[list[float]]', + 'radius': 'float' + } + + attribute_map = { + 'id': 'id', + 'locations': 'locations', + 'radius': 'radius' + } + + def __init__(self, id=None, locations=None, radius=None): # noqa: E501 + """ProfileJsonBody - a model defined in Swagger""" # noqa: E501 + self._id = None + self._locations = None + self._radius = None + self.discriminator = None + if id is not None: + self.id = id + self.locations = locations + self.radius = radius + + @property + def id(self): + """Gets the id of this ProfileJsonBody. # noqa: E501 + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :return: The id of this ProfileJsonBody. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this ProfileJsonBody. + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :param id: The id of this ProfileJsonBody. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def locations(self): + """Gets the locations of this ProfileJsonBody. # noqa: E501 + + The locations to be snapped as array of `longitude/latitude` pairs. # noqa: E501 + + :return: The locations of this ProfileJsonBody. # noqa: E501 + :rtype: list[list[float]] + """ + return self._locations + + @locations.setter + def locations(self, locations): + """Sets the locations of this ProfileJsonBody. + + The locations to be snapped as array of `longitude/latitude` pairs. # noqa: E501 + + :param locations: The locations of this ProfileJsonBody. # noqa: E501 + :type: list[list[float]] + """ + if locations is None: + raise ValueError("Invalid value for `locations`, must not be `None`") # noqa: E501 + + self._locations = locations + + @property + def radius(self): + """Gets the radius of this ProfileJsonBody. # noqa: E501 + + Maximum radius in meters around given coordinates to search for graph edges. # noqa: E501 + + :return: The radius of this ProfileJsonBody. # noqa: E501 + :rtype: float + """ + return self._radius + + @radius.setter + def radius(self, radius): + """Sets the radius of this ProfileJsonBody. + + Maximum radius in meters around given coordinates to search for graph edges. # noqa: E501 + + :param radius: The radius of this ProfileJsonBody. # noqa: E501 + :type: float + """ + if radius is None: + raise ValueError("Invalid value for `radius`, must not be `None`") # noqa: E501 + + self._radius = radius + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(ProfileJsonBody, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, ProfileJsonBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/profile_parameters.py b/openrouteservice/models/profile_parameters.py index bec97fd5..642a0729 100644 --- a/openrouteservice/models/profile_parameters.py +++ b/openrouteservice/models/profile_parameters.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_parameters_restrictions.py b/openrouteservice/models/profile_parameters_restrictions.py index a08c7ae6..a7c0a1dc 100644 --- a/openrouteservice/models/profile_parameters_restrictions.py +++ b/openrouteservice/models/profile_parameters_restrictions.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_weightings.py b/openrouteservice/models/profile_weightings.py index 96ef1525..b64fd509 100644 --- a/openrouteservice/models/profile_weightings.py +++ b/openrouteservice/models/profile_weightings.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/restrictions.py b/openrouteservice/models/restrictions.py index 5fdc1572..0a3f4158 100644 --- a/openrouteservice/models/restrictions.py +++ b/openrouteservice/models/restrictions.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/round_trip_route_options.py b/openrouteservice/models/round_trip_route_options.py index 7060e181..5b344ef5 100644 --- a/openrouteservice/models/round_trip_route_options.py +++ b/openrouteservice/models/round_trip_route_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/route_options.py b/openrouteservice/models/route_options.py index baa39b86..0db18af6 100644 --- a/openrouteservice/models/route_options.py +++ b/openrouteservice/models/route_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/route_options_avoid_polygons.py b/openrouteservice/models/route_options_avoid_polygons.py index b8b7feff..63f5bb9f 100644 --- a/openrouteservice/models/route_options_avoid_polygons.py +++ b/openrouteservice/models/route_options_avoid_polygons.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/route_response_info.py b/openrouteservice/models/route_response_info.py index 3f762774..33603a81 100644 --- a/openrouteservice/models/route_response_info.py +++ b/openrouteservice/models/route_response_info.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/rte.py b/openrouteservice/models/rte.py index 7180ad72..40d8d5cc 100644 --- a/openrouteservice/models/rte.py +++ b/openrouteservice/models/rte.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/snap_profile_body.py b/openrouteservice/models/snap_profile_body.py new file mode 100644 index 00000000..ee0f3d4f --- /dev/null +++ b/openrouteservice/models/snap_profile_body.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SnapProfileBody(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'str', + 'locations': 'list[list[float]]', + 'radius': 'float' + } + + attribute_map = { + 'id': 'id', + 'locations': 'locations', + 'radius': 'radius' + } + + def __init__(self, id=None, locations=None, radius=None): # noqa: E501 + """SnapProfileBody - a model defined in Swagger""" # noqa: E501 + self._id = None + self._locations = None + self._radius = None + self.discriminator = None + if id is not None: + self.id = id + self.locations = locations + self.radius = radius + + @property + def id(self): + """Gets the id of this SnapProfileBody. # noqa: E501 + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :return: The id of this SnapProfileBody. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this SnapProfileBody. + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :param id: The id of this SnapProfileBody. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def locations(self): + """Gets the locations of this SnapProfileBody. # noqa: E501 + + The locations to be snapped as array of `longitude/latitude` pairs. # noqa: E501 + + :return: The locations of this SnapProfileBody. # noqa: E501 + :rtype: list[list[float]] + """ + return self._locations + + @locations.setter + def locations(self, locations): + """Sets the locations of this SnapProfileBody. + + The locations to be snapped as array of `longitude/latitude` pairs. # noqa: E501 + + :param locations: The locations of this SnapProfileBody. # noqa: E501 + :type: list[list[float]] + """ + if locations is None: + raise ValueError("Invalid value for `locations`, must not be `None`") # noqa: E501 + + self._locations = locations + + @property + def radius(self): + """Gets the radius of this SnapProfileBody. # noqa: E501 + + Maximum radius in meters around given coordinates to search for graph edges. # noqa: E501 + + :return: The radius of this SnapProfileBody. # noqa: E501 + :rtype: float + """ + return self._radius + + @radius.setter + def radius(self, radius): + """Sets the radius of this SnapProfileBody. + + Maximum radius in meters around given coordinates to search for graph edges. # noqa: E501 + + :param radius: The radius of this SnapProfileBody. # noqa: E501 + :type: float + """ + if radius is None: + raise ValueError("Invalid value for `radius`, must not be `None`") # noqa: E501 + + self._radius = radius + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SnapProfileBody, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SnapProfileBody): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/snapping_request.py b/openrouteservice/models/snapping_request.py new file mode 100644 index 00000000..9fc9e494 --- /dev/null +++ b/openrouteservice/models/snapping_request.py @@ -0,0 +1,170 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SnappingRequest(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'id': 'str', + 'locations': 'list[list[float]]', + 'radius': 'float' + } + + attribute_map = { + 'id': 'id', + 'locations': 'locations', + 'radius': 'radius' + } + + def __init__(self, id=None, locations=None, radius=None): # noqa: E501 + """SnappingRequest - a model defined in Swagger""" # noqa: E501 + self._id = None + self._locations = None + self._radius = None + self.discriminator = None + if id is not None: + self.id = id + self.locations = locations + self.radius = radius + + @property + def id(self): + """Gets the id of this SnappingRequest. # noqa: E501 + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :return: The id of this SnappingRequest. # noqa: E501 + :rtype: str + """ + return self._id + + @id.setter + def id(self, id): + """Sets the id of this SnappingRequest. + + Arbitrary identification string of the request reflected in the meta information. # noqa: E501 + + :param id: The id of this SnappingRequest. # noqa: E501 + :type: str + """ + + self._id = id + + @property + def locations(self): + """Gets the locations of this SnappingRequest. # noqa: E501 + + The locations to be snapped as array of `longitude/latitude` pairs. # noqa: E501 + + :return: The locations of this SnappingRequest. # noqa: E501 + :rtype: list[list[float]] + """ + return self._locations + + @locations.setter + def locations(self, locations): + """Sets the locations of this SnappingRequest. + + The locations to be snapped as array of `longitude/latitude` pairs. # noqa: E501 + + :param locations: The locations of this SnappingRequest. # noqa: E501 + :type: list[list[float]] + """ + if locations is None: + raise ValueError("Invalid value for `locations`, must not be `None`") # noqa: E501 + + self._locations = locations + + @property + def radius(self): + """Gets the radius of this SnappingRequest. # noqa: E501 + + Maximum radius in meters around given coordinates to search for graph edges. # noqa: E501 + + :return: The radius of this SnappingRequest. # noqa: E501 + :rtype: float + """ + return self._radius + + @radius.setter + def radius(self, radius): + """Sets the radius of this SnappingRequest. + + Maximum radius in meters around given coordinates to search for graph edges. # noqa: E501 + + :param radius: The radius of this SnappingRequest. # noqa: E501 + :type: float + """ + if radius is None: + raise ValueError("Invalid value for `radius`, must not be `None`") # noqa: E501 + + self._radius = radius + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SnappingRequest, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SnappingRequest): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/snapping_response.py b/openrouteservice/models/snapping_response.py new file mode 100644 index 00000000..c78d100a --- /dev/null +++ b/openrouteservice/models/snapping_response.py @@ -0,0 +1,138 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SnappingResponse(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'locations': 'list[SnappingResponseLocations]', + 'metadata': 'GeoJSONSnappingResponseMetadata' + } + + attribute_map = { + 'locations': 'locations', + 'metadata': 'metadata' + } + + def __init__(self, locations=None, metadata=None): # noqa: E501 + """SnappingResponse - a model defined in Swagger""" # noqa: E501 + self._locations = None + self._metadata = None + self.discriminator = None + if locations is not None: + self.locations = locations + if metadata is not None: + self.metadata = metadata + + @property + def locations(self): + """Gets the locations of this SnappingResponse. # noqa: E501 + + The snapped locations as coordinates and snapping distance. # noqa: E501 + + :return: The locations of this SnappingResponse. # noqa: E501 + :rtype: list[SnappingResponseLocations] + """ + return self._locations + + @locations.setter + def locations(self, locations): + """Sets the locations of this SnappingResponse. + + The snapped locations as coordinates and snapping distance. # noqa: E501 + + :param locations: The locations of this SnappingResponse. # noqa: E501 + :type: list[SnappingResponseLocations] + """ + + self._locations = locations + + @property + def metadata(self): + """Gets the metadata of this SnappingResponse. # noqa: E501 + + + :return: The metadata of this SnappingResponse. # noqa: E501 + :rtype: GeoJSONSnappingResponseMetadata + """ + return self._metadata + + @metadata.setter + def metadata(self, metadata): + """Sets the metadata of this SnappingResponse. + + + :param metadata: The metadata of this SnappingResponse. # noqa: E501 + :type: GeoJSONSnappingResponseMetadata + """ + + self._metadata = metadata + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SnappingResponse, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SnappingResponse): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/snapping_response_info.py b/openrouteservice/models/snapping_response_info.py new file mode 100644 index 00000000..cdc45a44 --- /dev/null +++ b/openrouteservice/models/snapping_response_info.py @@ -0,0 +1,276 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SnappingResponseInfo(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'attribution': 'str', + 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'osm_file_md5_hash': 'str', + 'query': 'ProfileJsonBody', + 'service': 'str', + 'system_message': 'str', + 'timestamp': 'int' + } + + attribute_map = { + 'attribution': 'attribution', + 'engine': 'engine', + 'osm_file_md5_hash': 'osm_file_md5_hash', + 'query': 'query', + 'service': 'service', + 'system_message': 'system_message', + 'timestamp': 'timestamp' + } + + def __init__(self, attribution=None, engine=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 + """SnappingResponseInfo - a model defined in Swagger""" # noqa: E501 + self._attribution = None + self._engine = None + self._osm_file_md5_hash = None + self._query = None + self._service = None + self._system_message = None + self._timestamp = None + self.discriminator = None + if attribution is not None: + self.attribution = attribution + if engine is not None: + self.engine = engine + if osm_file_md5_hash is not None: + self.osm_file_md5_hash = osm_file_md5_hash + if query is not None: + self.query = query + if service is not None: + self.service = service + if system_message is not None: + self.system_message = system_message + if timestamp is not None: + self.timestamp = timestamp + + @property + def attribution(self): + """Gets the attribution of this SnappingResponseInfo. # noqa: E501 + + Copyright and attribution information # noqa: E501 + + :return: The attribution of this SnappingResponseInfo. # noqa: E501 + :rtype: str + """ + return self._attribution + + @attribution.setter + def attribution(self, attribution): + """Sets the attribution of this SnappingResponseInfo. + + Copyright and attribution information # noqa: E501 + + :param attribution: The attribution of this SnappingResponseInfo. # noqa: E501 + :type: str + """ + + self._attribution = attribution + + @property + def engine(self): + """Gets the engine of this SnappingResponseInfo. # noqa: E501 + + + :return: The engine of this SnappingResponseInfo. # noqa: E501 + :rtype: GeoJSONIsochronesResponseMetadataEngine + """ + return self._engine + + @engine.setter + def engine(self, engine): + """Sets the engine of this SnappingResponseInfo. + + + :param engine: The engine of this SnappingResponseInfo. # noqa: E501 + :type: GeoJSONIsochronesResponseMetadataEngine + """ + + self._engine = engine + + @property + def osm_file_md5_hash(self): + """Gets the osm_file_md5_hash of this SnappingResponseInfo. # noqa: E501 + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :return: The osm_file_md5_hash of this SnappingResponseInfo. # noqa: E501 + :rtype: str + """ + return self._osm_file_md5_hash + + @osm_file_md5_hash.setter + def osm_file_md5_hash(self, osm_file_md5_hash): + """Sets the osm_file_md5_hash of this SnappingResponseInfo. + + The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 + + :param osm_file_md5_hash: The osm_file_md5_hash of this SnappingResponseInfo. # noqa: E501 + :type: str + """ + + self._osm_file_md5_hash = osm_file_md5_hash + + @property + def query(self): + """Gets the query of this SnappingResponseInfo. # noqa: E501 + + + :return: The query of this SnappingResponseInfo. # noqa: E501 + :rtype: ProfileJsonBody + """ + return self._query + + @query.setter + def query(self, query): + """Sets the query of this SnappingResponseInfo. + + + :param query: The query of this SnappingResponseInfo. # noqa: E501 + :type: ProfileJsonBody + """ + + self._query = query + + @property + def service(self): + """Gets the service of this SnappingResponseInfo. # noqa: E501 + + The service that was requested # noqa: E501 + + :return: The service of this SnappingResponseInfo. # noqa: E501 + :rtype: str + """ + return self._service + + @service.setter + def service(self, service): + """Sets the service of this SnappingResponseInfo. + + The service that was requested # noqa: E501 + + :param service: The service of this SnappingResponseInfo. # noqa: E501 + :type: str + """ + + self._service = service + + @property + def system_message(self): + """Gets the system_message of this SnappingResponseInfo. # noqa: E501 + + System message # noqa: E501 + + :return: The system_message of this SnappingResponseInfo. # noqa: E501 + :rtype: str + """ + return self._system_message + + @system_message.setter + def system_message(self, system_message): + """Sets the system_message of this SnappingResponseInfo. + + System message # noqa: E501 + + :param system_message: The system_message of this SnappingResponseInfo. # noqa: E501 + :type: str + """ + + self._system_message = system_message + + @property + def timestamp(self): + """Gets the timestamp of this SnappingResponseInfo. # noqa: E501 + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :return: The timestamp of this SnappingResponseInfo. # noqa: E501 + :rtype: int + """ + return self._timestamp + + @timestamp.setter + def timestamp(self, timestamp): + """Sets the timestamp of this SnappingResponseInfo. + + Time that the request was made (UNIX Epoch time) # noqa: E501 + + :param timestamp: The timestamp of this SnappingResponseInfo. # noqa: E501 + :type: int + """ + + self._timestamp = timestamp + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SnappingResponseInfo, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SnappingResponseInfo): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/models/snapping_response_locations.py b/openrouteservice/models/snapping_response_locations.py new file mode 100644 index 00000000..cb7ecdeb --- /dev/null +++ b/openrouteservice/models/snapping_response_locations.py @@ -0,0 +1,168 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +import pprint +import re # noqa: F401 + +import six + +class SnappingResponseLocations(object): + """NOTE: This class is auto generated by the swagger code generator program. + + Do not edit the class manually. + """ + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + 'location': 'list[float]', + 'name': 'str', + 'snapped_distance': 'float' + } + + attribute_map = { + 'location': 'location', + 'name': 'name', + 'snapped_distance': 'snapped_distance' + } + + def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 + """SnappingResponseLocations - a model defined in Swagger""" # noqa: E501 + self._location = None + self._name = None + self._snapped_distance = None + self.discriminator = None + if location is not None: + self.location = location + if name is not None: + self.name = name + if snapped_distance is not None: + self.snapped_distance = snapped_distance + + @property + def location(self): + """Gets the location of this SnappingResponseLocations. # noqa: E501 + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :return: The location of this SnappingResponseLocations. # noqa: E501 + :rtype: list[float] + """ + return self._location + + @location.setter + def location(self, location): + """Sets the location of this SnappingResponseLocations. + + {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 + + :param location: The location of this SnappingResponseLocations. # noqa: E501 + :type: list[float] + """ + + self._location = location + + @property + def name(self): + """Gets the name of this SnappingResponseLocations. # noqa: E501 + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :return: The name of this SnappingResponseLocations. # noqa: E501 + :rtype: str + """ + return self._name + + @name.setter + def name(self, name): + """Sets the name of this SnappingResponseLocations. + + Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 + + :param name: The name of this SnappingResponseLocations. # noqa: E501 + :type: str + """ + + self._name = name + + @property + def snapped_distance(self): + """Gets the snapped_distance of this SnappingResponseLocations. # noqa: E501 + + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 + + :return: The snapped_distance of this SnappingResponseLocations. # noqa: E501 + :rtype: float + """ + return self._snapped_distance + + @snapped_distance.setter + def snapped_distance(self, snapped_distance): + """Sets the snapped_distance of this SnappingResponseLocations. + + Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 + + :param snapped_distance: The snapped_distance of this SnappingResponseLocations. # noqa: E501 + :type: float + """ + + self._snapped_distance = snapped_distance + + def to_dict(self): + """Returns the model properties as a dict""" + result = {} + + for attr, _ in six.iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + if issubclass(SnappingResponseLocations, dict): + for key, value in self.items(): + result[key] = value + + return result + + def to_str(self): + """Returns the string representation of the model""" + return pprint.pformat(self.to_dict()) + + def __repr__(self): + """For `print` and `pprint`""" + return self.to_str() + + def __eq__(self, other): + """Returns true if both objects are equal""" + if not isinstance(other, SnappingResponseLocations): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """Returns true if both objects are not equal""" + return not self == other diff --git a/openrouteservice/rest.py b/openrouteservice/rest.py index 6409cf3b..29aa8d6e 100644 --- a/openrouteservice/rest.py +++ b/openrouteservice/rest.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/pyproject.toml b/pyproject.toml index a2084913..0128dfa4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "orspytest" -version = "7.1.0.post13" +version = "7.1.1" authors = [ {name = "HeiGIT gGmbH", email = "support@smartmobility.heigit.org"}, ] diff --git a/setup.py b/setup.py index cf729d55..e07bf922 100644 --- a/setup.py +++ b/setup.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.0 + OpenAPI spec version: 7.1.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "openrouteservice" -VERSION = "7.1.0.post6" +VERSION = "7.1.1" # To install the library, run the following # # python setup.py install diff --git a/test/test_alternative_routes.py b/test/test_alternative_routes.py deleted file mode 100644 index 512ddc5a..00000000 --- a/test/test_alternative_routes.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.alternative_routes import AlternativeRoutes # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestAlternativeRoutes(unittest.TestCase): - """AlternativeRoutes unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testAlternativeRoutes(self): - """Test AlternativeRoutes""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.alternative_routes.AlternativeRoutes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_directions_service.py b/test/test_directions_service.py deleted file mode 100644 index 3c00a3c6..00000000 --- a/test/test_directions_service.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.directions_service import DirectionsService # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestDirectionsService(unittest.TestCase): - """DirectionsService unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testDirectionsService(self): - """Test DirectionsService""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.directions_service.DirectionsService() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_directions_service1.py b/test/test_directions_service1.py deleted file mode 100644 index 7898a730..00000000 --- a/test/test_directions_service1.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.directions_service1 import DirectionsService1 # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestDirectionsService1(unittest.TestCase): - """DirectionsService1 unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testDirectionsService1(self): - """Test DirectionsService1""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.directions_service1.DirectionsService1() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_elevation_line_body.py b/test/test_elevation_line_body.py deleted file mode 100644 index 833195af..00000000 --- a/test/test_elevation_line_body.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.elevation_line_body import ElevationLineBody # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestElevationLineBody(unittest.TestCase): - """ElevationLineBody unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testElevationLineBody(self): - """Test ElevationLineBody""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.elevation_line_body.ElevationLineBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_elevation_point_body.py b/test/test_elevation_point_body.py deleted file mode 100644 index 1e5e4c96..00000000 --- a/test/test_elevation_point_body.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.elevation_point_body import ElevationPointBody # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestElevationPointBody(unittest.TestCase): - """ElevationPointBody unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testElevationPointBody(self): - """Test ElevationPointBody""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.elevation_point_body.ElevationPointBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_engine_info.py b/test/test_engine_info.py deleted file mode 100644 index b9fdfebd..00000000 --- a/test/test_engine_info.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.engine_info import EngineInfo # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestEngineInfo(unittest.TestCase): - """EngineInfo unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testEngineInfo(self): - """Test EngineInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.engine_info.EngineInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_features_object.py b/test/test_geo_json_features_object.py deleted file mode 100644 index 88c4d69a..00000000 --- a/test/test_geo_json_features_object.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_features_object import GeoJSONFeaturesObject # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONFeaturesObject(unittest.TestCase): - """GeoJSONFeaturesObject unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONFeaturesObject(self): - """Test GeoJSONFeaturesObject""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_features_object.GeoJSONFeaturesObject() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_geometry_object.py b/test/test_geo_json_geometry_object.py deleted file mode 100644 index 9e75de83..00000000 --- a/test/test_geo_json_geometry_object.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_geometry_object import GeoJSONGeometryObject # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONGeometryObject(unittest.TestCase): - """GeoJSONGeometryObject unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONGeometryObject(self): - """Test GeoJSONGeometryObject""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_geometry_object.GeoJSONGeometryObject() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_isochrone_base.py b/test/test_geo_json_isochrone_base.py deleted file mode 100644 index 361cf33b..00000000 --- a/test/test_geo_json_isochrone_base.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_isochrone_base import GeoJSONIsochroneBase # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONIsochroneBase(unittest.TestCase): - """GeoJSONIsochroneBase unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONIsochroneBase(self): - """Test GeoJSONIsochroneBase""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_isochrone_base.GeoJSONIsochroneBase() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_isochrone_base_geometry.py b/test/test_geo_json_isochrone_base_geometry.py deleted file mode 100644 index d5806f8a..00000000 --- a/test/test_geo_json_isochrone_base_geometry.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_isochrone_base_geometry import GeoJSONIsochroneBaseGeometry # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONIsochroneBaseGeometry(unittest.TestCase): - """GeoJSONIsochroneBaseGeometry unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONIsochroneBaseGeometry(self): - """Test GeoJSONIsochroneBaseGeometry""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_isochrone_base_geometry.GeoJSONIsochroneBaseGeometry() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_isochrones_response.py b/test/test_geo_json_isochrones_response.py deleted file mode 100644 index 7b520f95..00000000 --- a/test/test_geo_json_isochrones_response.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_isochrones_response import GeoJSONIsochronesResponse # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONIsochronesResponse(unittest.TestCase): - """GeoJSONIsochronesResponse unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONIsochronesResponse(self): - """Test GeoJSONIsochronesResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_isochrones_response.GeoJSONIsochronesResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_isochrones_response_features.py b/test/test_geo_json_isochrones_response_features.py deleted file mode 100644 index 800dc49e..00000000 --- a/test/test_geo_json_isochrones_response_features.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_isochrones_response_features import GeoJSONIsochronesResponseFeatures # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONIsochronesResponseFeatures(unittest.TestCase): - """GeoJSONIsochronesResponseFeatures unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONIsochronesResponseFeatures(self): - """Test GeoJSONIsochronesResponseFeatures""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_isochrones_response_features.GeoJSONIsochronesResponseFeatures() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_isochrones_response_metadata.py b/test/test_geo_json_isochrones_response_metadata.py deleted file mode 100644 index bc0a00ed..00000000 --- a/test/test_geo_json_isochrones_response_metadata.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_isochrones_response_metadata import GeoJSONIsochronesResponseMetadata # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONIsochronesResponseMetadata(unittest.TestCase): - """GeoJSONIsochronesResponseMetadata unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONIsochronesResponseMetadata(self): - """Test GeoJSONIsochronesResponseMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_isochrones_response_metadata.GeoJSONIsochronesResponseMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_isochrones_response_metadata_engine.py b/test/test_geo_json_isochrones_response_metadata_engine.py deleted file mode 100644 index 0f9ed6a6..00000000 --- a/test/test_geo_json_isochrones_response_metadata_engine.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_isochrones_response_metadata_engine import GeoJSONIsochronesResponseMetadataEngine # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONIsochronesResponseMetadataEngine(unittest.TestCase): - """GeoJSONIsochronesResponseMetadataEngine unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONIsochronesResponseMetadataEngine(self): - """Test GeoJSONIsochronesResponseMetadataEngine""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_isochrones_response_metadata_engine.GeoJSONIsochronesResponseMetadataEngine() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_properties_object.py b/test/test_geo_json_properties_object.py deleted file mode 100644 index cfa857ac..00000000 --- a/test/test_geo_json_properties_object.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_properties_object import GeoJSONPropertiesObject # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONPropertiesObject(unittest.TestCase): - """GeoJSONPropertiesObject unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONPropertiesObject(self): - """Test GeoJSONPropertiesObject""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_properties_object.GeoJSONPropertiesObject() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_properties_object_category_ids.py b/test/test_geo_json_properties_object_category_ids.py deleted file mode 100644 index c878675f..00000000 --- a/test/test_geo_json_properties_object_category_ids.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_properties_object_category_ids import GeoJSONPropertiesObjectCategoryIds # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONPropertiesObjectCategoryIds(unittest.TestCase): - """GeoJSONPropertiesObjectCategoryIds unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONPropertiesObjectCategoryIds(self): - """Test GeoJSONPropertiesObjectCategoryIds""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_properties_object_category_ids.GeoJSONPropertiesObjectCategoryIds() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_properties_object_category_ids_category_id.py b/test/test_geo_json_properties_object_category_ids_category_id.py deleted file mode 100644 index 3189aeaf..00000000 --- a/test/test_geo_json_properties_object_category_ids_category_id.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_properties_object_category_ids_category_id import GeoJSONPropertiesObjectCategoryIdsCategoryId # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONPropertiesObjectCategoryIdsCategoryId(unittest.TestCase): - """GeoJSONPropertiesObjectCategoryIdsCategoryId unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONPropertiesObjectCategoryIdsCategoryId(self): - """Test GeoJSONPropertiesObjectCategoryIdsCategoryId""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_properties_object_category_ids_category_id.GeoJSONPropertiesObjectCategoryIdsCategoryId() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_properties_object_osm_tags.py b/test/test_geo_json_properties_object_osm_tags.py deleted file mode 100644 index b8aa4e4e..00000000 --- a/test/test_geo_json_properties_object_osm_tags.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_properties_object_osm_tags import GeoJSONPropertiesObjectOsmTags # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONPropertiesObjectOsmTags(unittest.TestCase): - """GeoJSONPropertiesObjectOsmTags unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONPropertiesObjectOsmTags(self): - """Test GeoJSONPropertiesObjectOsmTags""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_properties_object_osm_tags.GeoJSONPropertiesObjectOsmTags() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_route_response.py b/test/test_geo_json_route_response.py deleted file mode 100644 index 0d2a515a..00000000 --- a/test/test_geo_json_route_response.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_route_response import GeoJSONRouteResponse # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONRouteResponse(unittest.TestCase): - """GeoJSONRouteResponse unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONRouteResponse(self): - """Test GeoJSONRouteResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_route_response.GeoJSONRouteResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geo_json_route_response_metadata.py b/test/test_geo_json_route_response_metadata.py deleted file mode 100644 index 4aa10914..00000000 --- a/test/test_geo_json_route_response_metadata.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geo_json_route_response_metadata import GeoJSONRouteResponseMetadata # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeoJSONRouteResponseMetadata(unittest.TestCase): - """GeoJSONRouteResponseMetadata unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeoJSONRouteResponseMetadata(self): - """Test GeoJSONRouteResponseMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geo_json_route_response_metadata.GeoJSONRouteResponseMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_geocode_response.py b/test/test_geocode_response.py deleted file mode 100644 index 8ed19268..00000000 --- a/test/test_geocode_response.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.geocode_response import GeocodeResponse # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGeocodeResponse(unittest.TestCase): - """GeocodeResponse unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGeocodeResponse(self): - """Test GeocodeResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.geocode_response.GeocodeResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_gpx.py b/test/test_gpx.py deleted file mode 100644 index 3977fb42..00000000 --- a/test/test_gpx.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.gpx import Gpx # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGpx(unittest.TestCase): - """Gpx unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGpx(self): - """Test Gpx""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.gpx.Gpx() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_graph_export_service.py b/test/test_graph_export_service.py deleted file mode 100644 index 14359931..00000000 --- a/test/test_graph_export_service.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.graph_export_service import GraphExportService # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestGraphExportService(unittest.TestCase): - """GraphExportService unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testGraphExportService(self): - """Test GraphExportService""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.graph_export_service.GraphExportService() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response200.py b/test/test_inline_response200.py deleted file mode 100644 index ce65fa61..00000000 --- a/test/test_inline_response200.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response200 import InlineResponse200 # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse200(unittest.TestCase): - """InlineResponse200 unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse200(self): - """Test InlineResponse200""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response200.InlineResponse200() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2001.py b/test/test_inline_response2001.py deleted file mode 100644 index 585ab55b..00000000 --- a/test/test_inline_response2001.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response2001 import InlineResponse2001 # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse2001(unittest.TestCase): - """InlineResponse2001 unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse2001(self): - """Test InlineResponse2001""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response2001.InlineResponse2001() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2001_geometry.py b/test/test_inline_response2001_geometry.py deleted file mode 100644 index 940f6b1f..00000000 --- a/test/test_inline_response2001_geometry.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response2001_geometry import InlineResponse2001Geometry # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse2001Geometry(unittest.TestCase): - """InlineResponse2001Geometry unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse2001Geometry(self): - """Test InlineResponse2001Geometry""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response2001_geometry.InlineResponse2001Geometry() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2002.py b/test/test_inline_response2002.py deleted file mode 100644 index f4de0437..00000000 --- a/test/test_inline_response2002.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response2002 import InlineResponse2002 # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse2002(unittest.TestCase): - """InlineResponse2002 unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse2002(self): - """Test InlineResponse2002""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response2002.InlineResponse2002() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2002_routes.py b/test/test_inline_response2002_routes.py deleted file mode 100644 index cb6849aa..00000000 --- a/test/test_inline_response2002_routes.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response2002_routes import InlineResponse2002Routes # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse2002Routes(unittest.TestCase): - """InlineResponse2002Routes unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse2002Routes(self): - """Test InlineResponse2002Routes""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response2002_routes.InlineResponse2002Routes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2002_steps.py b/test/test_inline_response2002_steps.py deleted file mode 100644 index a741ed71..00000000 --- a/test/test_inline_response2002_steps.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response2002_steps import InlineResponse2002Steps # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse2002Steps(unittest.TestCase): - """InlineResponse2002Steps unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse2002Steps(self): - """Test InlineResponse2002Steps""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response2002_steps.InlineResponse2002Steps() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2002_summary.py b/test/test_inline_response2002_summary.py deleted file mode 100644 index 70922c75..00000000 --- a/test/test_inline_response2002_summary.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response2002_summary import InlineResponse2002Summary # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse2002Summary(unittest.TestCase): - """InlineResponse2002Summary unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse2002Summary(self): - """Test InlineResponse2002Summary""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response2002_summary.InlineResponse2002Summary() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2002_unassigned.py b/test/test_inline_response2002_unassigned.py deleted file mode 100644 index 2796e840..00000000 --- a/test/test_inline_response2002_unassigned.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response2002_unassigned import InlineResponse2002Unassigned # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse2002Unassigned(unittest.TestCase): - """InlineResponse2002Unassigned unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse2002Unassigned(self): - """Test InlineResponse2002Unassigned""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response2002_unassigned.InlineResponse2002Unassigned() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2003.py b/test/test_inline_response2003.py deleted file mode 100644 index f934b5a3..00000000 --- a/test/test_inline_response2003.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response2003 import InlineResponse2003 # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse2003(unittest.TestCase): - """InlineResponse2003 unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse2003(self): - """Test InlineResponse2003""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response2003.InlineResponse2003() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2004.py b/test/test_inline_response2004.py deleted file mode 100644 index 82e731c4..00000000 --- a/test/test_inline_response2004.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response2004 import InlineResponse2004 # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse2004(unittest.TestCase): - """InlineResponse2004 unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse2004(self): - """Test InlineResponse2004""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response2004.InlineResponse2004() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2005.py b/test/test_inline_response2005.py deleted file mode 100644 index 2ab3a672..00000000 --- a/test/test_inline_response2005.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response2005 import InlineResponse2005 # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse2005(unittest.TestCase): - """InlineResponse2005 unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse2005(self): - """Test InlineResponse2005""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response2005.InlineResponse2005() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response2006.py b/test/test_inline_response2006.py deleted file mode 100644 index 798313c3..00000000 --- a/test/test_inline_response2006.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response2006 import InlineResponse2006 # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse2006(unittest.TestCase): - """InlineResponse2006 unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse2006(self): - """Test InlineResponse2006""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response2006.InlineResponse2006() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_inline_response200_geometry.py b/test/test_inline_response200_geometry.py deleted file mode 100644 index 0b8ef879..00000000 --- a/test/test_inline_response200_geometry.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.inline_response200_geometry import InlineResponse200Geometry # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestInlineResponse200Geometry(unittest.TestCase): - """InlineResponse200Geometry unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testInlineResponse200Geometry(self): - """Test InlineResponse200Geometry""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.inline_response200_geometry.InlineResponse200Geometry() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_isochrones_profile_body.py b/test/test_isochrones_profile_body.py deleted file mode 100644 index 00f17f96..00000000 --- a/test/test_isochrones_profile_body.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestIsochronesProfileBody(unittest.TestCase): - """IsochronesProfileBody unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testIsochronesProfileBody(self): - """Test IsochronesProfileBody""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.isochrones_profile_body.IsochronesProfileBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_isochrones_request.py b/test/test_isochrones_request.py deleted file mode 100644 index 6408f4c3..00000000 --- a/test/test_isochrones_request.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.isochrones_request import IsochronesRequest # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestIsochronesRequest(unittest.TestCase): - """IsochronesRequest unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testIsochronesRequest(self): - """Test IsochronesRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.isochrones_request.IsochronesRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_isochrones_response_info.py b/test/test_isochrones_response_info.py deleted file mode 100644 index 12b77881..00000000 --- a/test/test_isochrones_response_info.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.isochrones_response_info import IsochronesResponseInfo # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestIsochronesResponseInfo(unittest.TestCase): - """IsochronesResponseInfo unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testIsochronesResponseInfo(self): - """Test IsochronesResponseInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.isochrones_response_info.IsochronesResponseInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json2_d_destinations.py b/test/test_json2_d_destinations.py deleted file mode 100644 index 5205572c..00000000 --- a/test/test_json2_d_destinations.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json2_d_destinations import JSON2DDestinations # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSON2DDestinations(unittest.TestCase): - """JSON2DDestinations unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSON2DDestinations(self): - """Test JSON2DDestinations""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json2_d_destinations.JSON2DDestinations() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json2_d_sources.py b/test/test_json2_d_sources.py deleted file mode 100644 index d99999a6..00000000 --- a/test/test_json2_d_sources.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json2_d_sources import JSON2DSources # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSON2DSources(unittest.TestCase): - """JSON2DSources unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSON2DSources(self): - """Test JSON2DSources""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json2_d_sources.JSON2DSources() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_edge.py b/test/test_json_edge.py deleted file mode 100644 index eb630b2b..00000000 --- a/test/test_json_edge.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_edge import JsonEdge # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJsonEdge(unittest.TestCase): - """JsonEdge unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJsonEdge(self): - """Test JsonEdge""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_edge.JsonEdge() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_edge_extra.py b/test/test_json_edge_extra.py deleted file mode 100644 index c88480a1..00000000 --- a/test/test_json_edge_extra.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_edge_extra import JsonEdgeExtra # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJsonEdgeExtra(unittest.TestCase): - """JsonEdgeExtra unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJsonEdgeExtra(self): - """Test JsonEdgeExtra""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_edge_extra.JsonEdgeExtra() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_export_response.py b/test/test_json_export_response.py deleted file mode 100644 index e2ba6a2f..00000000 --- a/test/test_json_export_response.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_export_response import JsonExportResponse # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJsonExportResponse(unittest.TestCase): - """JsonExportResponse unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJsonExportResponse(self): - """Test JsonExportResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_export_response.JsonExportResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_export_response_edges.py b/test/test_json_export_response_edges.py deleted file mode 100644 index ef91aadc..00000000 --- a/test/test_json_export_response_edges.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_export_response_edges import JsonExportResponseEdges # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJsonExportResponseEdges(unittest.TestCase): - """JsonExportResponseEdges unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJsonExportResponseEdges(self): - """Test JsonExportResponseEdges""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_export_response_edges.JsonExportResponseEdges() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_export_response_edges_extra.py b/test/test_json_export_response_edges_extra.py deleted file mode 100644 index 840f340f..00000000 --- a/test/test_json_export_response_edges_extra.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_export_response_edges_extra import JsonExportResponseEdgesExtra # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJsonExportResponseEdgesExtra(unittest.TestCase): - """JsonExportResponseEdgesExtra unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJsonExportResponseEdgesExtra(self): - """Test JsonExportResponseEdgesExtra""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_export_response_edges_extra.JsonExportResponseEdgesExtra() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_export_response_nodes.py b/test/test_json_export_response_nodes.py deleted file mode 100644 index aae371c0..00000000 --- a/test/test_json_export_response_nodes.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_export_response_nodes import JsonExportResponseNodes # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJsonExportResponseNodes(unittest.TestCase): - """JsonExportResponseNodes unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJsonExportResponseNodes(self): - """Test JsonExportResponseNodes""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_export_response_nodes.JsonExportResponseNodes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_extra.py b/test/test_json_extra.py deleted file mode 100644 index 809ce8ef..00000000 --- a/test/test_json_extra.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_extra import JSONExtra # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONExtra(unittest.TestCase): - """JSONExtra unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONExtra(self): - """Test JSONExtra""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_extra.JSONExtra() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_extra_summary.py b/test/test_json_extra_summary.py deleted file mode 100644 index fec9247d..00000000 --- a/test/test_json_extra_summary.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_extra_summary import JSONExtraSummary # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONExtraSummary(unittest.TestCase): - """JSONExtraSummary unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONExtraSummary(self): - """Test JSONExtraSummary""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_extra_summary.JSONExtraSummary() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_individual_route_response.py b/test/test_json_individual_route_response.py deleted file mode 100644 index 8f723ca1..00000000 --- a/test/test_json_individual_route_response.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_individual_route_response import JSONIndividualRouteResponse # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONIndividualRouteResponse(unittest.TestCase): - """JSONIndividualRouteResponse unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONIndividualRouteResponse(self): - """Test JSONIndividualRouteResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_individual_route_response.JSONIndividualRouteResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_individual_route_response_extras.py b/test/test_json_individual_route_response_extras.py deleted file mode 100644 index 3e79df70..00000000 --- a/test/test_json_individual_route_response_extras.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_individual_route_response_extras import JSONIndividualRouteResponseExtras # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONIndividualRouteResponseExtras(unittest.TestCase): - """JSONIndividualRouteResponseExtras unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONIndividualRouteResponseExtras(self): - """Test JSONIndividualRouteResponseExtras""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_individual_route_response_extras.JSONIndividualRouteResponseExtras() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_individual_route_response_instructions.py b/test/test_json_individual_route_response_instructions.py deleted file mode 100644 index df7c7e59..00000000 --- a/test/test_json_individual_route_response_instructions.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_individual_route_response_instructions import JSONIndividualRouteResponseInstructions # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONIndividualRouteResponseInstructions(unittest.TestCase): - """JSONIndividualRouteResponseInstructions unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONIndividualRouteResponseInstructions(self): - """Test JSONIndividualRouteResponseInstructions""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_individual_route_response_instructions.JSONIndividualRouteResponseInstructions() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_individual_route_response_legs.py b/test/test_json_individual_route_response_legs.py deleted file mode 100644 index 4ea298a5..00000000 --- a/test/test_json_individual_route_response_legs.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_individual_route_response_legs import JSONIndividualRouteResponseLegs # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONIndividualRouteResponseLegs(unittest.TestCase): - """JSONIndividualRouteResponseLegs unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONIndividualRouteResponseLegs(self): - """Test JSONIndividualRouteResponseLegs""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_individual_route_response_legs.JSONIndividualRouteResponseLegs() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_individual_route_response_maneuver.py b/test/test_json_individual_route_response_maneuver.py deleted file mode 100644 index 8a1c16e4..00000000 --- a/test/test_json_individual_route_response_maneuver.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_individual_route_response_maneuver import JSONIndividualRouteResponseManeuver # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONIndividualRouteResponseManeuver(unittest.TestCase): - """JSONIndividualRouteResponseManeuver unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONIndividualRouteResponseManeuver(self): - """Test JSONIndividualRouteResponseManeuver""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_individual_route_response_maneuver.JSONIndividualRouteResponseManeuver() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_individual_route_response_segments.py b/test/test_json_individual_route_response_segments.py deleted file mode 100644 index 51d02f99..00000000 --- a/test/test_json_individual_route_response_segments.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_individual_route_response_segments import JSONIndividualRouteResponseSegments # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONIndividualRouteResponseSegments(unittest.TestCase): - """JSONIndividualRouteResponseSegments unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONIndividualRouteResponseSegments(self): - """Test JSONIndividualRouteResponseSegments""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_individual_route_response_segments.JSONIndividualRouteResponseSegments() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_individual_route_response_stops.py b/test/test_json_individual_route_response_stops.py deleted file mode 100644 index 8bb11575..00000000 --- a/test/test_json_individual_route_response_stops.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_individual_route_response_stops import JSONIndividualRouteResponseStops # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONIndividualRouteResponseStops(unittest.TestCase): - """JSONIndividualRouteResponseStops unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONIndividualRouteResponseStops(self): - """Test JSONIndividualRouteResponseStops""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_individual_route_response_stops.JSONIndividualRouteResponseStops() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_individual_route_response_summary.py b/test/test_json_individual_route_response_summary.py deleted file mode 100644 index b4410553..00000000 --- a/test/test_json_individual_route_response_summary.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_individual_route_response_summary import JSONIndividualRouteResponseSummary # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONIndividualRouteResponseSummary(unittest.TestCase): - """JSONIndividualRouteResponseSummary unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONIndividualRouteResponseSummary(self): - """Test JSONIndividualRouteResponseSummary""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_individual_route_response_summary.JSONIndividualRouteResponseSummary() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_individual_route_response_warnings.py b/test/test_json_individual_route_response_warnings.py deleted file mode 100644 index addd1520..00000000 --- a/test/test_json_individual_route_response_warnings.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_individual_route_response_warnings import JSONIndividualRouteResponseWarnings # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONIndividualRouteResponseWarnings(unittest.TestCase): - """JSONIndividualRouteResponseWarnings unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONIndividualRouteResponseWarnings(self): - """Test JSONIndividualRouteResponseWarnings""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_individual_route_response_warnings.JSONIndividualRouteResponseWarnings() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_leg.py b/test/test_json_leg.py deleted file mode 100644 index 3baf8f28..00000000 --- a/test/test_json_leg.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_leg import JSONLeg # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONLeg(unittest.TestCase): - """JSONLeg unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONLeg(self): - """Test JSONLeg""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_leg.JSONLeg() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_node.py b/test/test_json_node.py deleted file mode 100644 index bd1dd9d0..00000000 --- a/test/test_json_node.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_node import JsonNode # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJsonNode(unittest.TestCase): - """JsonNode unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJsonNode(self): - """Test JsonNode""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_node.JsonNode() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_object.py b/test/test_json_object.py deleted file mode 100644 index b33229fd..00000000 --- a/test/test_json_object.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_object import JSONObject # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONObject(unittest.TestCase): - """JSONObject unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONObject(self): - """Test JSONObject""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_object.JSONObject() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_route_response.py b/test/test_json_route_response.py deleted file mode 100644 index b4241b06..00000000 --- a/test/test_json_route_response.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_route_response import JSONRouteResponse # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONRouteResponse(unittest.TestCase): - """JSONRouteResponse unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONRouteResponse(self): - """Test JSONRouteResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_route_response.JSONRouteResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_route_response_routes.py b/test/test_json_route_response_routes.py deleted file mode 100644 index a1115e39..00000000 --- a/test/test_json_route_response_routes.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_route_response_routes import JSONRouteResponseRoutes # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONRouteResponseRoutes(unittest.TestCase): - """JSONRouteResponseRoutes unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONRouteResponseRoutes(self): - """Test JSONRouteResponseRoutes""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_route_response_routes.JSONRouteResponseRoutes() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_segment.py b/test/test_json_segment.py deleted file mode 100644 index 80ec9588..00000000 --- a/test/test_json_segment.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_segment import JSONSegment # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONSegment(unittest.TestCase): - """JSONSegment unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONSegment(self): - """Test JSONSegment""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_segment.JSONSegment() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_step.py b/test/test_json_step.py deleted file mode 100644 index 2d3aea37..00000000 --- a/test/test_json_step.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_step import JSONStep # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONStep(unittest.TestCase): - """JSONStep unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONStep(self): - """Test JSONStep""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_step.JSONStep() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_step_maneuver.py b/test/test_json_step_maneuver.py deleted file mode 100644 index 825a2d77..00000000 --- a/test/test_json_step_maneuver.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_step_maneuver import JSONStepManeuver # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONStepManeuver(unittest.TestCase): - """JSONStepManeuver unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONStepManeuver(self): - """Test JSONStepManeuver""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_step_maneuver.JSONStepManeuver() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_summary.py b/test/test_json_summary.py deleted file mode 100644 index f4aaeb57..00000000 --- a/test/test_json_summary.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_summary import JSONSummary # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONSummary(unittest.TestCase): - """JSONSummary unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONSummary(self): - """Test JSONSummary""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_summary.JSONSummary() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_json_warning.py b/test/test_json_warning.py deleted file mode 100644 index bbc3532d..00000000 --- a/test/test_json_warning.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.json_warning import JSONWarning # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONWarning(unittest.TestCase): - """JSONWarning unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONWarning(self): - """Test JSONWarning""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.json_warning.JSONWarning() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_jsonpt_stop.py b/test/test_jsonpt_stop.py deleted file mode 100644 index 4f24186d..00000000 --- a/test/test_jsonpt_stop.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.jsonpt_stop import JSONPtStop # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestJSONPtStop(unittest.TestCase): - """JSONPtStop unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testJSONPtStop(self): - """Test JSONPtStop""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.jsonpt_stop.JSONPtStop() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_matrix_profile_body.py b/test/test_matrix_profile_body.py deleted file mode 100644 index 0abb4a05..00000000 --- a/test/test_matrix_profile_body.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.matrix_profile_body import MatrixProfileBody # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestMatrixProfileBody(unittest.TestCase): - """MatrixProfileBody unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testMatrixProfileBody(self): - """Test MatrixProfileBody""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.matrix_profile_body.MatrixProfileBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_matrix_request.py b/test/test_matrix_request.py deleted file mode 100644 index 4d3a9da9..00000000 --- a/test/test_matrix_request.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.matrix_request import MatrixRequest # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestMatrixRequest(unittest.TestCase): - """MatrixRequest unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testMatrixRequest(self): - """Test MatrixRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.matrix_request.MatrixRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_matrix_response.py b/test/test_matrix_response.py deleted file mode 100644 index 97527f39..00000000 --- a/test/test_matrix_response.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.matrix_response import MatrixResponse # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestMatrixResponse(unittest.TestCase): - """MatrixResponse unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testMatrixResponse(self): - """Test MatrixResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.matrix_response.MatrixResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_matrix_response_destinations.py b/test/test_matrix_response_destinations.py deleted file mode 100644 index bf321d8a..00000000 --- a/test/test_matrix_response_destinations.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.matrix_response_destinations import MatrixResponseDestinations # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestMatrixResponseDestinations(unittest.TestCase): - """MatrixResponseDestinations unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testMatrixResponseDestinations(self): - """Test MatrixResponseDestinations""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.matrix_response_destinations.MatrixResponseDestinations() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_matrix_response_info.py b/test/test_matrix_response_info.py deleted file mode 100644 index 3ab4bc02..00000000 --- a/test/test_matrix_response_info.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.matrix_response_info import MatrixResponseInfo # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestMatrixResponseInfo(unittest.TestCase): - """MatrixResponseInfo unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testMatrixResponseInfo(self): - """Test MatrixResponseInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.matrix_response_info.MatrixResponseInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_matrix_response_metadata.py b/test/test_matrix_response_metadata.py deleted file mode 100644 index e3ee51d7..00000000 --- a/test/test_matrix_response_metadata.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.matrix_response_metadata import MatrixResponseMetadata # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestMatrixResponseMetadata(unittest.TestCase): - """MatrixResponseMetadata unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testMatrixResponseMetadata(self): - """Test MatrixResponseMetadata""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.matrix_response_metadata.MatrixResponseMetadata() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_matrix_response_sources.py b/test/test_matrix_response_sources.py deleted file mode 100644 index 472f9433..00000000 --- a/test/test_matrix_response_sources.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.matrix_response_sources import MatrixResponseSources # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestMatrixResponseSources(unittest.TestCase): - """MatrixResponseSources unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testMatrixResponseSources(self): - """Test MatrixResponseSources""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.matrix_response_sources.MatrixResponseSources() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_matrix_service_api.py b/test/test_matrix_service_api.py index 097744ae..69944e48 100644 --- a/test/test_matrix_service_api.py +++ b/test/test_matrix_service_api.py @@ -43,7 +43,7 @@ def test_get_default(self): ) profile = 'driving-car' # str | Specifies the matrix profile. - response = self.api.get_default(body, profile) + response = self.api.get_default1(body, profile) self.assertEqual(len(response.destinations), 4) diff --git a/test/test_openpoiservice_poi_request.py b/test/test_openpoiservice_poi_request.py deleted file mode 100644 index eddc2433..00000000 --- a/test/test_openpoiservice_poi_request.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.openpoiservice_poi_request import OpenpoiservicePoiRequest # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestOpenpoiservicePoiRequest(unittest.TestCase): - """OpenpoiservicePoiRequest unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testOpenpoiservicePoiRequest(self): - """Test OpenpoiservicePoiRequest""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.openpoiservice_poi_request.OpenpoiservicePoiRequest() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_openpoiservice_poi_response.py b/test/test_openpoiservice_poi_response.py deleted file mode 100644 index f636b9bd..00000000 --- a/test/test_openpoiservice_poi_response.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.openpoiservice_poi_response import OpenpoiservicePoiResponse # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestOpenpoiservicePoiResponse(unittest.TestCase): - """OpenpoiservicePoiResponse unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testOpenpoiservicePoiResponse(self): - """Test OpenpoiservicePoiResponse""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.openpoiservice_poi_response.OpenpoiservicePoiResponse() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_optimization_body.py b/test/test_optimization_body.py deleted file mode 100644 index 3f57aa04..00000000 --- a/test/test_optimization_body.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.optimization_body import OptimizationBody # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestOptimizationBody(unittest.TestCase): - """OptimizationBody unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testOptimizationBody(self): - """Test OptimizationBody""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.optimization_body.OptimizationBody() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_optimization_jobs.py b/test/test_optimization_jobs.py deleted file mode 100644 index 6863e1dd..00000000 --- a/test/test_optimization_jobs.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.optimization_jobs import OptimizationJobs # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestOptimizationJobs(unittest.TestCase): - """OptimizationJobs unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testOptimizationJobs(self): - """Test OptimizationJobs""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.optimization_jobs.OptimizationJobs() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_optimization_options.py b/test/test_optimization_options.py deleted file mode 100644 index e6cdd798..00000000 --- a/test/test_optimization_options.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.optimization_options import OptimizationOptions # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestOptimizationOptions(unittest.TestCase): - """OptimizationOptions unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testOptimizationOptions(self): - """Test OptimizationOptions""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.optimization_options.OptimizationOptions() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_optimization_vehicles.py b/test/test_optimization_vehicles.py deleted file mode 100644 index 446e441f..00000000 --- a/test/test_optimization_vehicles.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.optimization_vehicles import OptimizationVehicles # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestOptimizationVehicles(unittest.TestCase): - """OptimizationVehicles unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testOptimizationVehicles(self): - """Test OptimizationVehicles""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.optimization_vehicles.OptimizationVehicles() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_pois_filters.py b/test/test_pois_filters.py deleted file mode 100644 index 53b299d5..00000000 --- a/test/test_pois_filters.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.pois_filters import PoisFilters # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestPoisFilters(unittest.TestCase): - """PoisFilters unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testPoisFilters(self): - """Test PoisFilters""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.pois_filters.PoisFilters() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_pois_geometry.py b/test/test_pois_geometry.py deleted file mode 100644 index 70039a6a..00000000 --- a/test/test_pois_geometry.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.pois_geometry import PoisGeometry # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestPoisGeometry(unittest.TestCase): - """PoisGeometry unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testPoisGeometry(self): - """Test PoisGeometry""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.pois_geometry.PoisGeometry() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_profile_parameters.py b/test/test_profile_parameters.py deleted file mode 100644 index a354ba7a..00000000 --- a/test/test_profile_parameters.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.profile_parameters import ProfileParameters # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestProfileParameters(unittest.TestCase): - """ProfileParameters unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testProfileParameters(self): - """Test ProfileParameters""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.profile_parameters.ProfileParameters() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_profile_parameters_restrictions.py b/test/test_profile_parameters_restrictions.py deleted file mode 100644 index 914f3289..00000000 --- a/test/test_profile_parameters_restrictions.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.profile_parameters_restrictions import ProfileParametersRestrictions # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestProfileParametersRestrictions(unittest.TestCase): - """ProfileParametersRestrictions unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testProfileParametersRestrictions(self): - """Test ProfileParametersRestrictions""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.profile_parameters_restrictions.ProfileParametersRestrictions() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_profile_weightings.py b/test/test_profile_weightings.py deleted file mode 100644 index 6279e661..00000000 --- a/test/test_profile_weightings.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.profile_weightings import ProfileWeightings # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestProfileWeightings(unittest.TestCase): - """ProfileWeightings unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testProfileWeightings(self): - """Test ProfileWeightings""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.profile_weightings.ProfileWeightings() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_restrictions.py b/test/test_restrictions.py deleted file mode 100644 index fb72ca97..00000000 --- a/test/test_restrictions.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.restrictions import Restrictions # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestRestrictions(unittest.TestCase): - """Restrictions unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testRestrictions(self): - """Test Restrictions""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.restrictions.Restrictions() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_round_trip_route_options.py b/test/test_round_trip_route_options.py deleted file mode 100644 index 618d3dc4..00000000 --- a/test/test_round_trip_route_options.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.round_trip_route_options import RoundTripRouteOptions # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestRoundTripRouteOptions(unittest.TestCase): - """RoundTripRouteOptions unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testRoundTripRouteOptions(self): - """Test RoundTripRouteOptions""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.round_trip_route_options.RoundTripRouteOptions() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_route_options.py b/test/test_route_options.py deleted file mode 100644 index 25087275..00000000 --- a/test/test_route_options.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.route_options import RouteOptions # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestRouteOptions(unittest.TestCase): - """RouteOptions unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testRouteOptions(self): - """Test RouteOptions""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.route_options.RouteOptions() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_route_options_avoid_polygons.py b/test/test_route_options_avoid_polygons.py deleted file mode 100644 index 4851552d..00000000 --- a/test/test_route_options_avoid_polygons.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.route_options_avoid_polygons import RouteOptionsAvoidPolygons # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestRouteOptionsAvoidPolygons(unittest.TestCase): - """RouteOptionsAvoidPolygons unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testRouteOptionsAvoidPolygons(self): - """Test RouteOptionsAvoidPolygons""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.route_options_avoid_polygons.RouteOptionsAvoidPolygons() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_route_response_info.py b/test/test_route_response_info.py deleted file mode 100644 index 3fb91557..00000000 --- a/test/test_route_response_info.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.route_response_info import RouteResponseInfo # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestRouteResponseInfo(unittest.TestCase): - """RouteResponseInfo unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testRouteResponseInfo(self): - """Test RouteResponseInfo""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.route_response_info.RouteResponseInfo() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_rte.py b/test/test_rte.py deleted file mode 100644 index 97df7afe..00000000 --- a/test/test_rte.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.rte import Rte # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestRte(unittest.TestCase): - """Rte unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testRte(self): - """Test Rte""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.rte.Rte() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_snapping_service_api.py b/test/test_snapping_service_api.py new file mode 100644 index 00000000..ebdfcee5 --- /dev/null +++ b/test/test_snapping_service_api.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from __future__ import absolute_import + +import unittest +import configparser + +import openrouteservice +from openrouteservice.api.snapping_service_api import SnappingServiceApi # noqa: E501 +from openrouteservice.rest import ApiException + + +class TestSnappingServiceApi(unittest.TestCase): + """SnappingServiceApi unit test stubs""" + + def setUp(self): + cfg = configparser.ConfigParser() + cfg.read('tests-config.ini') + configuration = openrouteservice.Configuration() + configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] + self.api = SnappingServiceApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + + def tearDown(self): + pass + + def test_get_default(self): + """Test case for get_default + + Snapping Service # noqa: E501 + """ + # response = self.api.get_default() + # self.assertIsNotNone(response) + + def test_get_geo_json_snapping(self): + """Test case for get_geo_json_snapping + + Snapping Service GeoJSON # noqa: E501 + """ + # response = self.api.get_geo_json_snapping() + # self.assertIsNotNone(response) + + def test_get_json_snapping(self): + """Test case for get_json_snapping + + Snapping Service JSON # noqa: E501 + """ + # response = self.api.get_json_snapping() + # self.assertIsNotNone(response) + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2directionsprofilegeojson_schedule_duration.py b/test/test_v2directionsprofilegeojson_schedule_duration.py deleted file mode 100644 index e4c5bd1a..00000000 --- a/test/test_v2directionsprofilegeojson_schedule_duration.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.v2directionsprofilegeojson_schedule_duration import V2directionsprofilegeojsonScheduleDuration # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestV2directionsprofilegeojsonScheduleDuration(unittest.TestCase): - """V2directionsprofilegeojsonScheduleDuration unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testV2directionsprofilegeojsonScheduleDuration(self): - """Test V2directionsprofilegeojsonScheduleDuration""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.v2directionsprofilegeojson_schedule_duration.V2directionsprofilegeojsonScheduleDuration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_v2directionsprofilegeojson_schedule_duration_duration.py b/test/test_v2directionsprofilegeojson_schedule_duration_duration.py deleted file mode 100644 index 621b936f..00000000 --- a/test/test_v2directionsprofilegeojson_schedule_duration_duration.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_duration import V2directionsprofilegeojsonScheduleDurationDuration # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestV2directionsprofilegeojsonScheduleDurationDuration(unittest.TestCase): - """V2directionsprofilegeojsonScheduleDurationDuration unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testV2directionsprofilegeojsonScheduleDurationDuration(self): - """Test V2directionsprofilegeojsonScheduleDurationDuration""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.v2directionsprofilegeojson_schedule_duration_duration.V2directionsprofilegeojsonScheduleDurationDuration() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_v2directionsprofilegeojson_schedule_duration_units.py b/test/test_v2directionsprofilegeojson_schedule_duration_units.py deleted file mode 100644 index 21548dbd..00000000 --- a/test/test_v2directionsprofilegeojson_schedule_duration_units.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.v2directionsprofilegeojson_schedule_duration_units import V2directionsprofilegeojsonScheduleDurationUnits # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestV2directionsprofilegeojsonScheduleDurationUnits(unittest.TestCase): - """V2directionsprofilegeojsonScheduleDurationUnits unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testV2directionsprofilegeojsonScheduleDurationUnits(self): - """Test V2directionsprofilegeojsonScheduleDurationUnits""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.v2directionsprofilegeojson_schedule_duration_units.V2directionsprofilegeojsonScheduleDurationUnits() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_v2directionsprofilegeojson_walking_time.py b/test/test_v2directionsprofilegeojson_walking_time.py deleted file mode 100644 index b139a8ac..00000000 --- a/test/test_v2directionsprofilegeojson_walking_time.py +++ /dev/null @@ -1,43 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from __future__ import absolute_import - -import unittest -import configparser - -import openrouteservice -from openrouteservice.models.v2directionsprofilegeojson_walking_time import V2directionsprofilegeojsonWalkingTime # noqa: E501 -from openrouteservice.rest import ApiException - - -class TestV2directionsprofilegeojsonWalkingTime(unittest.TestCase): - """V2directionsprofilegeojsonWalkingTime unit test stubs""" - - def setUp(self): - cfg = configparser.ConfigParser() - cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - - def tearDown(self): - pass - - def testV2directionsprofilegeojsonWalkingTime(self): - """Test V2directionsprofilegeojsonWalkingTime""" - # FIXME: construct object with mandatory attributes with example values - # model = openrouteservice.models.v2directionsprofilegeojson_walking_time.V2directionsprofilegeojsonWalkingTime() # noqa: E501 - pass - - -if __name__ == '__main__': - unittest.main() From 1a61040712624a94fcda0f34f5076884ba7ef848 Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Mon, 11 Mar 2024 14:20:34 +0100 Subject: [PATCH 05/38] feat: remove unused schemas --- README.md | 87 +-- docs/GeoJSONIsochronesResponse.md | 12 - docs/GeoJSONIsochronesResponseFeatures.md | 10 - docs/GeoJSONIsochronesResponseMetadata.md | 16 - ...GeoJSONIsochronesResponseMetadataEngine.md | 11 - docs/GeoJSONPointGeometry.md | 10 - docs/GeoJSONRouteResponse.md | 12 - docs/GeoJSONRouteResponseMetadata.md | 16 - docs/GeoJSONSnappingResponse.md | 12 - docs/GeoJSONSnappingResponseMetadata.md | 15 - docs/GraphExportService.md | 10 - docs/InlineResponse2003.md | 2 +- docs/InlineResponse2004.md | 2 +- docs/InlineResponse2005.md | 4 +- ...eBase.md => InlineResponse2005Features.md} | 4 +- ...metry.md => InlineResponse2005Geometry.md} | 2 +- ...eInfo.md => InlineResponse2005Metadata.md} | 4 +- docs/InlineResponse2007.md | 2 +- docs/InlineResponse2008.md | 4 +- ...tures.md => InlineResponse2008Features.md} | 2 +- docs/IsochronesRequest.md | 20 - docs/JSON2DDestinations.md | 11 - docs/JSON2DSources.md | 11 - docs/JSONIndividualRouteResponse.md | 18 - docs/JSONIndividualRouteResponseLegs.md | 26 - docs/JSONIndividualRouteResponseManeuver.md | 11 - docs/JSONIndividualRouteResponseSegments.md | 16 - docs/JSONIndividualRouteResponseStops.md | 19 - docs/JSONIndividualRouteResponseSummary.md | 14 - docs/JSONIndividualRouteResponseWarnings.md | 10 - docs/JSONLocation.md | 11 - docs/JSONObject.md | 8 - docs/JSONRouteResponse.md | 2 +- ...seExtras.md => JSONRouteResponseExtras.md} | 2 +- ...ns.md => JSONRouteResponseInstructions.md} | 4 +- docs/{JSONLeg.md => JSONRouteResponseLegs.md} | 6 +- ...neuver.md => JSONRouteResponseManeuver.md} | 2 +- ...seInfo.md => JSONRouteResponseMetadata.md} | 4 +- ....md => JSONRouteResponseMetadataEngine.md} | 2 +- docs/JSONRouteResponseRoutes.md | 10 +- ...egment.md => JSONRouteResponseSegments.md} | 4 +- ...SONPtStop.md => JSONRouteResponseStops.md} | 2 +- ...Summary.md => JSONRouteResponseSummary.md} | 2 +- ...arning.md => JSONRouteResponseWarnings.md} | 2 +- docs/JSONStep.md | 2 +- docs/JsonEdgeExtra.md | 10 - docs/JsonExportResponse.md | 14 - docs/JsonExportResponseEdges.md | 11 - docs/JsonExportResponseEdgesExtra.md | 10 - docs/JsonExportResponseNodes.md | 10 - docs/JsonNode.md | 10 - docs/MatrixRequest.md | 15 - docs/MatrixResponseInfo.md | 16 - docs/MatrixResponseMetadata.md | 2 +- docs/SnappingRequest.md | 11 - docs/SnappingResponse.md | 2 +- ...nseInfo.md => SnappingResponseMetadata.md} | 4 +- ...irectionsprofilegeojsonScheduleDuration.md | 13 - ...sprofilegeojsonScheduleDurationDuration.md | 12 - ...ionsprofilegeojsonScheduleDurationUnits.md | 12 - docs/V2directionsprofilegeojsonWalkingTime.md | 13 - openrouteservice/__init__.py | 87 +-- openrouteservice/models/__init__.py | 87 +-- .../models/geo_json_feature_geometry.py | 140 ----- .../models/geo_json_isochrones_response.py | 190 ------ .../geo_json_isochrones_response_features.py | 136 ---- .../geo_json_isochrones_response_metadata.py | 304 --------- ...son_isochrones_response_metadata_engine.py | 168 ----- .../models/geo_json_route_response.py | 190 ------ .../models/geo_json_snapping_response.py | 194 ------ .../geo_json_snapping_response_features.py | 164 ----- .../geo_json_snapping_response_metadata.py | 276 -------- openrouteservice/models/gpx.py | 110 ---- .../models/graph_export_service.py | 141 ----- .../models/inline_response2003.py | 6 +- ...ata.py => inline_response2003_metadata.py} | 78 +-- .../models/inline_response2004.py | 12 +- ...extra.py => inline_response2004_extras.py} | 30 +- ...py => inline_response2004_instructions.py} | 86 +-- ...son_leg.py => inline_response2004_legs.py} | 164 ++--- ...ver.py => inline_response2004_maneuver.py} | 32 +- ...outes.py => inline_response2004_routes.py} | 118 ++-- ...ent.py => inline_response2004_segments.py} | 78 +-- ...t_stop.py => inline_response2004_stops.py} | 96 +-- ...mary.py => inline_response2004_summary.py} | 32 +- ...ary.py => inline_response2004_summary1.py} | 56 +- ...ing.py => inline_response2004_warnings.py} | 24 +- .../models/inline_response2005.py | 12 +- ...ase.py => inline_response2005_features.py} | 30 +- ...try.py => inline_response2005_geometry.py} | 16 +- ...nfo.py => inline_response2005_metadata.py} | 78 +-- ...=> inline_response2005_metadata_engine.py} | 32 +- .../models/inline_response2006.py | 18 +- ...py => inline_response2006_destinations.py} | 32 +- ...ata.py => inline_response2006_metadata.py} | 78 +-- ...ions.py => inline_response2006_sources.py} | 32 +- .../models/inline_response2007.py | 12 +- ...ns.py => inline_response2007_locations.py} | 32 +- ...nfo.py => inline_response2007_metadata.py} | 70 +-- .../models/inline_response2008.py | 12 +- ...ure.py => inline_response2008_features.py} | 44 +- ...try.py => inline_response2008_geometry.py} | 24 +- ...s.py => inline_response2008_properties.py} | 32 +- openrouteservice/models/isochrones_request.py | 451 -------------- openrouteservice/models/json2_d_sources.py | 168 ----- openrouteservice/models/json_edge.py | 168 ----- openrouteservice/models/json_edge_extra.py | 140 ----- .../models/json_export_response.py | 240 ------- .../models/json_export_response_edges.py | 168 ----- .../json_export_response_edges_extra.py | 140 ----- .../models/json_export_response_nodes.py | 140 ----- .../models/json_individual_route_response.py | 362 ----------- .../json_individual_route_response_extras.py | 140 ----- ..._individual_route_response_instructions.py | 334 ---------- .../json_individual_route_response_legs.py | 588 ------------------ ...json_individual_route_response_maneuver.py | 168 ----- ...json_individual_route_response_segments.py | 308 --------- .../json_individual_route_response_stops.py | 392 ------------ .../json_individual_route_response_summary.py | 248 -------- ...json_individual_route_response_warnings.py | 140 ----- openrouteservice/models/json_location.py | 168 ----- openrouteservice/models/json_node.py | 140 ----- openrouteservice/models/json_object.py | 89 --- .../models/json_route_response.py | 166 ----- openrouteservice/models/matrix_request.py | 294 --------- openrouteservice/models/matrix_response.py | 222 ------- .../models/matrix_response_info.py | 304 --------- .../models/matrix_response_sources.py | 168 ----- openrouteservice/models/restrictions.py | 426 ------------- .../models/route_response_info.py | 304 --------- openrouteservice/models/rte.py | 84 --- openrouteservice/models/snapping_request.py | 170 ----- openrouteservice/models/snapping_response.py | 138 ---- ...ectionsprofilegeojson_schedule_duration.py | 214 ------- ...ofilegeojson_schedule_duration_duration.py | 188 ------ ...sprofilegeojson_schedule_duration_units.py | 188 ------ ...v2directionsprofilegeojson_walking_time.py | 214 ------- 137 files changed, 791 insertions(+), 11155 deletions(-) delete mode 100644 docs/GeoJSONIsochronesResponse.md delete mode 100644 docs/GeoJSONIsochronesResponseFeatures.md delete mode 100644 docs/GeoJSONIsochronesResponseMetadata.md delete mode 100644 docs/GeoJSONIsochronesResponseMetadataEngine.md delete mode 100644 docs/GeoJSONPointGeometry.md delete mode 100644 docs/GeoJSONRouteResponse.md delete mode 100644 docs/GeoJSONRouteResponseMetadata.md delete mode 100644 docs/GeoJSONSnappingResponse.md delete mode 100644 docs/GeoJSONSnappingResponseMetadata.md delete mode 100644 docs/GraphExportService.md rename docs/{GeoJSONIsochroneBase.md => InlineResponse2005Features.md} (71%) rename docs/{GeoJSONIsochroneBaseGeometry.md => InlineResponse2005Geometry.md} (90%) rename docs/{IsochronesResponseInfo.md => InlineResponse2005Metadata.md} (85%) rename docs/{GeoJSONSnappingResponseFeatures.md => InlineResponse2008Features.md} (93%) delete mode 100644 docs/IsochronesRequest.md delete mode 100644 docs/JSON2DDestinations.md delete mode 100644 docs/JSON2DSources.md delete mode 100644 docs/JSONIndividualRouteResponse.md delete mode 100644 docs/JSONIndividualRouteResponseLegs.md delete mode 100644 docs/JSONIndividualRouteResponseManeuver.md delete mode 100644 docs/JSONIndividualRouteResponseSegments.md delete mode 100644 docs/JSONIndividualRouteResponseStops.md delete mode 100644 docs/JSONIndividualRouteResponseSummary.md delete mode 100644 docs/JSONIndividualRouteResponseWarnings.md delete mode 100644 docs/JSONLocation.md delete mode 100644 docs/JSONObject.md rename docs/{JSONIndividualRouteResponseExtras.md => JSONRouteResponseExtras.md} (95%) rename docs/{JSONIndividualRouteResponseInstructions.md => JSONRouteResponseInstructions.md} (87%) rename docs/{JSONLeg.md => JSONRouteResponseLegs.md} (83%) rename docs/{JSONStepManeuver.md => JSONRouteResponseManeuver.md} (95%) rename docs/{RouteResponseInfo.md => JSONRouteResponseMetadata.md} (85%) rename docs/{EngineInfo.md => JSONRouteResponseMetadataEngine.md} (94%) rename docs/{JSONSegment.md => JSONRouteResponseSegments.md} (83%) rename docs/{JSONPtStop.md => JSONRouteResponseStops.md} (97%) rename docs/{JSONSummary.md => JSONRouteResponseSummary.md} (95%) rename docs/{JSONWarning.md => JSONRouteResponseWarnings.md} (93%) delete mode 100644 docs/JsonEdgeExtra.md delete mode 100644 docs/JsonExportResponse.md delete mode 100644 docs/JsonExportResponseEdges.md delete mode 100644 docs/JsonExportResponseEdgesExtra.md delete mode 100644 docs/JsonExportResponseNodes.md delete mode 100644 docs/JsonNode.md delete mode 100644 docs/MatrixRequest.md delete mode 100644 docs/MatrixResponseInfo.md delete mode 100644 docs/SnappingRequest.md rename docs/{SnappingResponseInfo.md => SnappingResponseMetadata.md} (84%) delete mode 100644 docs/V2directionsprofilegeojsonScheduleDuration.md delete mode 100644 docs/V2directionsprofilegeojsonScheduleDurationDuration.md delete mode 100644 docs/V2directionsprofilegeojsonScheduleDurationUnits.md delete mode 100644 docs/V2directionsprofilegeojsonWalkingTime.md delete mode 100644 openrouteservice/models/geo_json_feature_geometry.py delete mode 100644 openrouteservice/models/geo_json_isochrones_response.py delete mode 100644 openrouteservice/models/geo_json_isochrones_response_features.py delete mode 100644 openrouteservice/models/geo_json_isochrones_response_metadata.py delete mode 100644 openrouteservice/models/geo_json_isochrones_response_metadata_engine.py delete mode 100644 openrouteservice/models/geo_json_route_response.py delete mode 100644 openrouteservice/models/geo_json_snapping_response.py delete mode 100644 openrouteservice/models/geo_json_snapping_response_features.py delete mode 100644 openrouteservice/models/geo_json_snapping_response_metadata.py delete mode 100644 openrouteservice/models/gpx.py delete mode 100644 openrouteservice/models/graph_export_service.py rename openrouteservice/models/{geo_json_route_response_metadata.py => inline_response2003_metadata.py} (71%) rename openrouteservice/models/{json_extra.py => inline_response2004_extras.py} (80%) rename openrouteservice/models/{json_step.py => inline_response2004_instructions.py} (69%) rename openrouteservice/models/{json_leg.py => inline_response2004_legs.py} (68%) rename openrouteservice/models/{json_step_maneuver.py => inline_response2004_maneuver.py} (78%) rename openrouteservice/models/{json_route_response_routes.py => inline_response2004_routes.py} (66%) rename openrouteservice/models/{json_segment.py => inline_response2004_segments.py} (70%) rename openrouteservice/models/{jsonpt_stop.py => inline_response2004_stops.py} (73%) rename openrouteservice/models/{json_extra_summary.py => inline_response2004_summary.py} (78%) rename openrouteservice/models/{json_summary.py => inline_response2004_summary1.py} (71%) rename openrouteservice/models/{json_warning.py => inline_response2004_warnings.py} (80%) rename openrouteservice/models/{geo_json_isochrone_base.py => inline_response2005_features.py} (76%) rename openrouteservice/models/{geo_json_isochrone_base_geometry.py => inline_response2005_geometry.py} (83%) rename openrouteservice/models/{isochrones_response_info.py => inline_response2005_metadata.py} (70%) rename openrouteservice/models/{engine_info.py => inline_response2005_metadata_engine.py} (76%) rename openrouteservice/models/{matrix_response_destinations.py => inline_response2006_destinations.py} (78%) rename openrouteservice/models/{matrix_response_metadata.py => inline_response2006_metadata.py} (71%) rename openrouteservice/models/{snapping_response_locations.py => inline_response2006_sources.py} (80%) rename openrouteservice/models/{json2_d_destinations.py => inline_response2007_locations.py} (79%) rename openrouteservice/models/{snapping_response_info.py => inline_response2007_metadata.py} (71%) rename openrouteservice/models/{geo_json_feature.py => inline_response2008_features.py} (71%) rename openrouteservice/models/{geo_json_point_geometry.py => inline_response2008_geometry.py} (80%) rename openrouteservice/models/{geo_json_feature_properties.py => inline_response2008_properties.py} (78%) delete mode 100644 openrouteservice/models/isochrones_request.py delete mode 100644 openrouteservice/models/json2_d_sources.py delete mode 100644 openrouteservice/models/json_edge.py delete mode 100644 openrouteservice/models/json_edge_extra.py delete mode 100644 openrouteservice/models/json_export_response.py delete mode 100644 openrouteservice/models/json_export_response_edges.py delete mode 100644 openrouteservice/models/json_export_response_edges_extra.py delete mode 100644 openrouteservice/models/json_export_response_nodes.py delete mode 100644 openrouteservice/models/json_individual_route_response.py delete mode 100644 openrouteservice/models/json_individual_route_response_extras.py delete mode 100644 openrouteservice/models/json_individual_route_response_instructions.py delete mode 100644 openrouteservice/models/json_individual_route_response_legs.py delete mode 100644 openrouteservice/models/json_individual_route_response_maneuver.py delete mode 100644 openrouteservice/models/json_individual_route_response_segments.py delete mode 100644 openrouteservice/models/json_individual_route_response_stops.py delete mode 100644 openrouteservice/models/json_individual_route_response_summary.py delete mode 100644 openrouteservice/models/json_individual_route_response_warnings.py delete mode 100644 openrouteservice/models/json_location.py delete mode 100644 openrouteservice/models/json_node.py delete mode 100644 openrouteservice/models/json_object.py delete mode 100644 openrouteservice/models/json_route_response.py delete mode 100644 openrouteservice/models/matrix_request.py delete mode 100644 openrouteservice/models/matrix_response.py delete mode 100644 openrouteservice/models/matrix_response_info.py delete mode 100644 openrouteservice/models/matrix_response_sources.py delete mode 100644 openrouteservice/models/restrictions.py delete mode 100644 openrouteservice/models/route_response_info.py delete mode 100644 openrouteservice/models/rte.py delete mode 100644 openrouteservice/models/snapping_request.py delete mode 100644 openrouteservice/models/snapping_response.py delete mode 100644 openrouteservice/models/v2directionsprofilegeojson_schedule_duration.py delete mode 100644 openrouteservice/models/v2directionsprofilegeojson_schedule_duration_duration.py delete mode 100644 openrouteservice/models/v2directionsprofilegeojson_schedule_duration_units.py delete mode 100644 openrouteservice/models/v2directionsprofilegeojson_walking_time.py diff --git a/README.md b/README.md index e58947f5..b4f7a82f 100644 --- a/README.md +++ b/README.md @@ -133,31 +133,13 @@ Class | Method | HTTP request | Description - [DirectionsService1](docs/DirectionsService1.md) - [ElevationLineBody](docs/ElevationLineBody.md) - [ElevationPointBody](docs/ElevationPointBody.md) - - [EngineInfo](docs/EngineInfo.md) - - [GeoJSONFeature](docs/GeoJSONFeature.md) - - [GeoJSONFeatureGeometry](docs/GeoJSONFeatureGeometry.md) - - [GeoJSONFeatureProperties](docs/GeoJSONFeatureProperties.md) - [GeoJSONFeaturesObject](docs/GeoJSONFeaturesObject.md) - [GeoJSONGeometryObject](docs/GeoJSONGeometryObject.md) - - [GeoJSONIsochroneBase](docs/GeoJSONIsochroneBase.md) - - [GeoJSONIsochroneBaseGeometry](docs/GeoJSONIsochroneBaseGeometry.md) - - [GeoJSONIsochronesResponse](docs/GeoJSONIsochronesResponse.md) - - [GeoJSONIsochronesResponseFeatures](docs/GeoJSONIsochronesResponseFeatures.md) - - [GeoJSONIsochronesResponseMetadata](docs/GeoJSONIsochronesResponseMetadata.md) - - [GeoJSONIsochronesResponseMetadataEngine](docs/GeoJSONIsochronesResponseMetadataEngine.md) - - [GeoJSONPointGeometry](docs/GeoJSONPointGeometry.md) - [GeoJSONPropertiesObject](docs/GeoJSONPropertiesObject.md) - [GeoJSONPropertiesObjectCategoryIds](docs/GeoJSONPropertiesObjectCategoryIds.md) - [GeoJSONPropertiesObjectCategoryIdsCategoryId](docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md) - [GeoJSONPropertiesObjectOsmTags](docs/GeoJSONPropertiesObjectOsmTags.md) - - [GeoJSONRouteResponse](docs/GeoJSONRouteResponse.md) - - [GeoJSONRouteResponseMetadata](docs/GeoJSONRouteResponseMetadata.md) - - [GeoJSONSnappingResponse](docs/GeoJSONSnappingResponse.md) - - [GeoJSONSnappingResponseFeatures](docs/GeoJSONSnappingResponseFeatures.md) - - [GeoJSONSnappingResponseMetadata](docs/GeoJSONSnappingResponseMetadata.md) - [GeocodeResponse](docs/GeocodeResponse.md) - - [Gpx](docs/Gpx.md) - - [GraphExportService](docs/GraphExportService.md) - [InlineResponse200](docs/InlineResponse200.md) - [InlineResponse2001](docs/InlineResponse2001.md) - [InlineResponse2001Geometry](docs/InlineResponse2001Geometry.md) @@ -168,53 +150,37 @@ Class | Method | HTTP request | Description - [InlineResponse2002Unassigned](docs/InlineResponse2002Unassigned.md) - [InlineResponse2002Violations](docs/InlineResponse2002Violations.md) - [InlineResponse2003](docs/InlineResponse2003.md) + - [InlineResponse2003Metadata](docs/InlineResponse2003Metadata.md) - [InlineResponse2004](docs/InlineResponse2004.md) + - [InlineResponse2004Extras](docs/InlineResponse2004Extras.md) + - [InlineResponse2004Instructions](docs/InlineResponse2004Instructions.md) + - [InlineResponse2004Legs](docs/InlineResponse2004Legs.md) + - [InlineResponse2004Maneuver](docs/InlineResponse2004Maneuver.md) + - [InlineResponse2004Routes](docs/InlineResponse2004Routes.md) + - [InlineResponse2004Segments](docs/InlineResponse2004Segments.md) + - [InlineResponse2004Stops](docs/InlineResponse2004Stops.md) + - [InlineResponse2004Summary](docs/InlineResponse2004Summary.md) + - [InlineResponse2004Summary1](docs/InlineResponse2004Summary1.md) + - [InlineResponse2004Warnings](docs/InlineResponse2004Warnings.md) - [InlineResponse2005](docs/InlineResponse2005.md) + - [InlineResponse2005Features](docs/InlineResponse2005Features.md) + - [InlineResponse2005Geometry](docs/InlineResponse2005Geometry.md) + - [InlineResponse2005Metadata](docs/InlineResponse2005Metadata.md) + - [InlineResponse2005MetadataEngine](docs/InlineResponse2005MetadataEngine.md) - [InlineResponse2006](docs/InlineResponse2006.md) + - [InlineResponse2006Destinations](docs/InlineResponse2006Destinations.md) + - [InlineResponse2006Metadata](docs/InlineResponse2006Metadata.md) + - [InlineResponse2006Sources](docs/InlineResponse2006Sources.md) - [InlineResponse2007](docs/InlineResponse2007.md) + - [InlineResponse2007Locations](docs/InlineResponse2007Locations.md) + - [InlineResponse2007Metadata](docs/InlineResponse2007Metadata.md) - [InlineResponse2008](docs/InlineResponse2008.md) + - [InlineResponse2008Features](docs/InlineResponse2008Features.md) + - [InlineResponse2008Geometry](docs/InlineResponse2008Geometry.md) + - [InlineResponse2008Properties](docs/InlineResponse2008Properties.md) - [InlineResponse200Geometry](docs/InlineResponse200Geometry.md) - [IsochronesProfileBody](docs/IsochronesProfileBody.md) - - [IsochronesRequest](docs/IsochronesRequest.md) - - [IsochronesResponseInfo](docs/IsochronesResponseInfo.md) - - [JSON2DDestinations](docs/JSON2DDestinations.md) - - [JSON2DSources](docs/JSON2DSources.md) - - [JSONExtra](docs/JSONExtra.md) - - [JSONExtraSummary](docs/JSONExtraSummary.md) - - [JSONIndividualRouteResponse](docs/JSONIndividualRouteResponse.md) - - [JSONIndividualRouteResponseExtras](docs/JSONIndividualRouteResponseExtras.md) - - [JSONIndividualRouteResponseInstructions](docs/JSONIndividualRouteResponseInstructions.md) - - [JSONIndividualRouteResponseLegs](docs/JSONIndividualRouteResponseLegs.md) - - [JSONIndividualRouteResponseManeuver](docs/JSONIndividualRouteResponseManeuver.md) - - [JSONIndividualRouteResponseSegments](docs/JSONIndividualRouteResponseSegments.md) - - [JSONIndividualRouteResponseStops](docs/JSONIndividualRouteResponseStops.md) - - [JSONIndividualRouteResponseSummary](docs/JSONIndividualRouteResponseSummary.md) - - [JSONIndividualRouteResponseWarnings](docs/JSONIndividualRouteResponseWarnings.md) - - [JSONLeg](docs/JSONLeg.md) - - [JSONLocation](docs/JSONLocation.md) - - [JSONObject](docs/JSONObject.md) - - [JSONPtStop](docs/JSONPtStop.md) - - [JSONRouteResponse](docs/JSONRouteResponse.md) - - [JSONRouteResponseRoutes](docs/JSONRouteResponseRoutes.md) - - [JSONSegment](docs/JSONSegment.md) - - [JSONStep](docs/JSONStep.md) - - [JSONStepManeuver](docs/JSONStepManeuver.md) - - [JSONSummary](docs/JSONSummary.md) - - [JSONWarning](docs/JSONWarning.md) - - [JsonEdge](docs/JsonEdge.md) - - [JsonEdgeExtra](docs/JsonEdgeExtra.md) - - [JsonExportResponse](docs/JsonExportResponse.md) - - [JsonExportResponseEdges](docs/JsonExportResponseEdges.md) - - [JsonExportResponseEdgesExtra](docs/JsonExportResponseEdgesExtra.md) - - [JsonExportResponseNodes](docs/JsonExportResponseNodes.md) - - [JsonNode](docs/JsonNode.md) - [MatrixProfileBody](docs/MatrixProfileBody.md) - - [MatrixRequest](docs/MatrixRequest.md) - - [MatrixResponse](docs/MatrixResponse.md) - - [MatrixResponseDestinations](docs/MatrixResponseDestinations.md) - - [MatrixResponseInfo](docs/MatrixResponseInfo.md) - - [MatrixResponseMetadata](docs/MatrixResponseMetadata.md) - - [MatrixResponseSources](docs/MatrixResponseSources.md) - [OpenpoiservicePoiRequest](docs/OpenpoiservicePoiRequest.md) - [OpenpoiservicePoiResponse](docs/OpenpoiservicePoiResponse.md) - [OptimizationBody](docs/OptimizationBody.md) @@ -233,17 +199,10 @@ Class | Method | HTTP request | Description - [ProfileParameters](docs/ProfileParameters.md) - [ProfileParametersRestrictions](docs/ProfileParametersRestrictions.md) - [ProfileWeightings](docs/ProfileWeightings.md) - - [Restrictions](docs/Restrictions.md) - [RoundTripRouteOptions](docs/RoundTripRouteOptions.md) - [RouteOptions](docs/RouteOptions.md) - [RouteOptionsAvoidPolygons](docs/RouteOptionsAvoidPolygons.md) - - [RouteResponseInfo](docs/RouteResponseInfo.md) - - [Rte](docs/Rte.md) - [SnapProfileBody](docs/SnapProfileBody.md) - - [SnappingRequest](docs/SnappingRequest.md) - - [SnappingResponse](docs/SnappingResponse.md) - - [SnappingResponseInfo](docs/SnappingResponseInfo.md) - - [SnappingResponseLocations](docs/SnappingResponseLocations.md) ## Author diff --git a/docs/GeoJSONIsochronesResponse.md b/docs/GeoJSONIsochronesResponse.md deleted file mode 100644 index c5ea1dba..00000000 --- a/docs/GeoJSONIsochronesResponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# GeoJSONIsochronesResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bbox** | **list[float]** | Bounding box that covers all returned isochrones | [optional] -**features** | [**list[GeoJSONIsochronesResponseFeatures]**](GeoJSONIsochronesResponseFeatures.md) | | [optional] -**metadata** | [**GeoJSONIsochronesResponseMetadata**](GeoJSONIsochronesResponseMetadata.md) | | [optional] -**type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONIsochronesResponseFeatures.md b/docs/GeoJSONIsochronesResponseFeatures.md deleted file mode 100644 index 1c47d7f5..00000000 --- a/docs/GeoJSONIsochronesResponseFeatures.md +++ /dev/null @@ -1,10 +0,0 @@ -# GeoJSONIsochronesResponseFeatures - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**geometry** | [**GeoJSONIsochroneBaseGeometry**](GeoJSONIsochroneBaseGeometry.md) | | [optional] -**type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONIsochronesResponseMetadata.md b/docs/GeoJSONIsochronesResponseMetadata.md deleted file mode 100644 index cb75cb10..00000000 --- a/docs/GeoJSONIsochronesResponseMetadata.md +++ /dev/null @@ -1,16 +0,0 @@ -# GeoJSONIsochronesResponseMetadata - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] -**id** | **str** | ID of the request (as passed in by the query) | [optional] -**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] -**query** | [**IsochronesProfileBody**](IsochronesProfileBody.md) | | [optional] -**service** | **str** | The service that was requested | [optional] -**system_message** | **str** | System message | [optional] -**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONIsochronesResponseMetadataEngine.md b/docs/GeoJSONIsochronesResponseMetadataEngine.md deleted file mode 100644 index ce77d8ea..00000000 --- a/docs/GeoJSONIsochronesResponseMetadataEngine.md +++ /dev/null @@ -1,11 +0,0 @@ -# GeoJSONIsochronesResponseMetadataEngine - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**build_date** | **str** | The date that the service was last updated | [optional] -**graph_date** | **str** | The date that the graph data was last updated | [optional] -**version** | **str** | The backend version of the openrouteservice that was queried | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONPointGeometry.md b/docs/GeoJSONPointGeometry.md deleted file mode 100644 index 7811958d..00000000 --- a/docs/GeoJSONPointGeometry.md +++ /dev/null @@ -1,10 +0,0 @@ -# GeoJSONPointGeometry - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**coordinates** | **list[float]** | Lon/Lat coordinates of the snapped location | [optional] -**type** | **str** | GeoJSON type | [optional] [default to 'Point'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONRouteResponse.md b/docs/GeoJSONRouteResponse.md deleted file mode 100644 index a7dbbba1..00000000 --- a/docs/GeoJSONRouteResponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# GeoJSONRouteResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bbox** | **list[float]** | Bounding box that covers all returned routes | [optional] -**features** | **list[object]** | | [optional] -**metadata** | [**GeoJSONRouteResponseMetadata**](GeoJSONRouteResponseMetadata.md) | | [optional] -**type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONRouteResponseMetadata.md b/docs/GeoJSONRouteResponseMetadata.md deleted file mode 100644 index 04de4589..00000000 --- a/docs/GeoJSONRouteResponseMetadata.md +++ /dev/null @@ -1,16 +0,0 @@ -# GeoJSONRouteResponseMetadata - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] -**id** | **str** | ID of the request (as passed in by the query) | [optional] -**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] -**query** | [**DirectionsService1**](DirectionsService1.md) | | [optional] -**service** | **str** | The service that was requested | [optional] -**system_message** | **str** | System message | [optional] -**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONSnappingResponse.md b/docs/GeoJSONSnappingResponse.md deleted file mode 100644 index e46de064..00000000 --- a/docs/GeoJSONSnappingResponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# GeoJSONSnappingResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bbox** | **list[float]** | Bounding box that covers all returned snapping points | [optional] -**features** | [**list[GeoJSONSnappingResponseFeatures]**](GeoJSONSnappingResponseFeatures.md) | Information about the service and request | [optional] -**metadata** | [**GeoJSONSnappingResponseMetadata**](GeoJSONSnappingResponseMetadata.md) | | [optional] -**type** | **str** | GeoJSON type | [optional] [default to 'FeatureCollection'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONSnappingResponseMetadata.md b/docs/GeoJSONSnappingResponseMetadata.md deleted file mode 100644 index 50f2a31c..00000000 --- a/docs/GeoJSONSnappingResponseMetadata.md +++ /dev/null @@ -1,15 +0,0 @@ -# GeoJSONSnappingResponseMetadata - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] -**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] -**query** | [**ProfileJsonBody**](ProfileJsonBody.md) | | [optional] -**service** | **str** | The service that was requested | [optional] -**system_message** | **str** | System message | [optional] -**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GraphExportService.md b/docs/GraphExportService.md deleted file mode 100644 index 1d8403fc..00000000 --- a/docs/GraphExportService.md +++ /dev/null @@ -1,10 +0,0 @@ -# GraphExportService - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bbox** | **list[list[float]]** | The bounding box to use for the request as an array of `longitude/latitude` pairs | -**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2003.md b/docs/InlineResponse2003.md index 6ee8ab01..8e6022ca 100644 --- a/docs/InlineResponse2003.md +++ b/docs/InlineResponse2003.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bbox** | **list[float]** | Bounding box that covers all returned routes | [optional] **features** | **list[object]** | | [optional] -**metadata** | [**GeoJSONRouteResponseMetadata**](GeoJSONRouteResponseMetadata.md) | | [optional] +**metadata** | [**JSONRouteResponseMetadata**](JSONRouteResponseMetadata.md) | | [optional] **type** | **str** | | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2004.md b/docs/InlineResponse2004.md index 13e450e8..af4cefce 100644 --- a/docs/InlineResponse2004.md +++ b/docs/InlineResponse2004.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bbox** | **list[float]** | Bounding box that covers all returned routes | [optional] -**metadata** | [**GeoJSONRouteResponseMetadata**](GeoJSONRouteResponseMetadata.md) | | [optional] +**metadata** | [**JSONRouteResponseMetadata**](JSONRouteResponseMetadata.md) | | [optional] **routes** | [**list[JSONRouteResponseRoutes]**](JSONRouteResponseRoutes.md) | A list of routes returned from the request | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2005.md b/docs/InlineResponse2005.md index 733518ca..94e906dc 100644 --- a/docs/InlineResponse2005.md +++ b/docs/InlineResponse2005.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bbox** | **list[float]** | Bounding box that covers all returned isochrones | [optional] -**features** | [**list[GeoJSONIsochronesResponseFeatures]**](GeoJSONIsochronesResponseFeatures.md) | | [optional] -**metadata** | [**GeoJSONIsochronesResponseMetadata**](GeoJSONIsochronesResponseMetadata.md) | | [optional] +**features** | [**list[InlineResponse2005Features]**](InlineResponse2005Features.md) | | [optional] +**metadata** | [**InlineResponse2005Metadata**](InlineResponse2005Metadata.md) | | [optional] **type** | **str** | | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/GeoJSONIsochroneBase.md b/docs/InlineResponse2005Features.md similarity index 71% rename from docs/GeoJSONIsochroneBase.md rename to docs/InlineResponse2005Features.md index 7586bb06..efda05e3 100644 --- a/docs/GeoJSONIsochroneBase.md +++ b/docs/InlineResponse2005Features.md @@ -1,9 +1,9 @@ -# GeoJSONIsochroneBase +# InlineResponse2005Features ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**geometry** | [**GeoJSONIsochroneBaseGeometry**](GeoJSONIsochroneBaseGeometry.md) | | [optional] +**geometry** | [**InlineResponse2005Geometry**](InlineResponse2005Geometry.md) | | [optional] **type** | **str** | | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/GeoJSONIsochroneBaseGeometry.md b/docs/InlineResponse2005Geometry.md similarity index 90% rename from docs/GeoJSONIsochroneBaseGeometry.md rename to docs/InlineResponse2005Geometry.md index 7aa7b599..09a1e005 100644 --- a/docs/GeoJSONIsochroneBaseGeometry.md +++ b/docs/InlineResponse2005Geometry.md @@ -1,4 +1,4 @@ -# GeoJSONIsochroneBaseGeometry +# InlineResponse2005Geometry ## Properties Name | Type | Description | Notes diff --git a/docs/IsochronesResponseInfo.md b/docs/InlineResponse2005Metadata.md similarity index 85% rename from docs/IsochronesResponseInfo.md rename to docs/InlineResponse2005Metadata.md index 147ef0c1..97214124 100644 --- a/docs/IsochronesResponseInfo.md +++ b/docs/InlineResponse2005Metadata.md @@ -1,10 +1,10 @@ -# IsochronesResponseInfo +# InlineResponse2005Metadata ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**engine** | [**JSONRouteResponseMetadataEngine**](JSONRouteResponseMetadataEngine.md) | | [optional] **id** | **str** | ID of the request (as passed in by the query) | [optional] **osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] **query** | [**IsochronesProfileBody**](IsochronesProfileBody.md) | | [optional] diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md index c59ab88d..97f695da 100644 --- a/docs/InlineResponse2007.md +++ b/docs/InlineResponse2007.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **locations** | [**list[SnappingResponseLocations]**](SnappingResponseLocations.md) | The snapped locations as coordinates and snapping distance. | [optional] -**metadata** | [**GeoJSONSnappingResponseMetadata**](GeoJSONSnappingResponseMetadata.md) | | [optional] +**metadata** | [**SnappingResponseMetadata**](SnappingResponseMetadata.md) | | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/InlineResponse2008.md b/docs/InlineResponse2008.md index 680b7b90..03a29dca 100644 --- a/docs/InlineResponse2008.md +++ b/docs/InlineResponse2008.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bbox** | **list[float]** | Bounding box that covers all returned snapping points | [optional] -**features** | [**list[GeoJSONSnappingResponseFeatures]**](GeoJSONSnappingResponseFeatures.md) | Information about the service and request | [optional] -**metadata** | [**GeoJSONSnappingResponseMetadata**](GeoJSONSnappingResponseMetadata.md) | | [optional] +**features** | [**list[InlineResponse2008Features]**](InlineResponse2008Features.md) | Information about the service and request | [optional] +**metadata** | [**SnappingResponseMetadata**](SnappingResponseMetadata.md) | | [optional] **type** | **str** | GeoJSON type | [optional] [default to 'FeatureCollection'] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/GeoJSONSnappingResponseFeatures.md b/docs/InlineResponse2008Features.md similarity index 93% rename from docs/GeoJSONSnappingResponseFeatures.md rename to docs/InlineResponse2008Features.md index 9a2213b1..b1e2cbe1 100644 --- a/docs/GeoJSONSnappingResponseFeatures.md +++ b/docs/InlineResponse2008Features.md @@ -1,4 +1,4 @@ -# GeoJSONSnappingResponseFeatures +# InlineResponse2008Features ## Properties Name | Type | Description | Notes diff --git a/docs/IsochronesRequest.md b/docs/IsochronesRequest.md deleted file mode 100644 index 5282b243..00000000 --- a/docs/IsochronesRequest.md +++ /dev/null @@ -1,20 +0,0 @@ -# IsochronesRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**area_units** | **str** | Specifies the area unit. Default: m. | [optional] [default to 'm'] -**attributes** | **list[str]** | List of isochrones attributes | [optional] -**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] -**intersections** | **bool** | Specifies whether to return intersecting polygons. | [optional] [default to False] -**interval** | **float** | Interval of isochrones or equidistants. This is only used if a single range value is given. Value in **seconds** for time and **meters** for distance. | [optional] -**location_type** | **str** | `start` treats the location(s) as starting point, `destination` as goal. | [optional] [default to 'start'] -**locations** | **list[list[float]]** | The locations to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) | -**options** | [**RouteOptions**](RouteOptions.md) | | [optional] -**range** | **list[float]** | Maximum range value of the analysis in **seconds** for time and **metres** for distance.Alternatively a comma separated list of specific range values. Ranges will be the same for all locations. | -**range_type** | **str** | Specifies the isochrones reachability type. | [optional] [default to 'time'] -**smoothing** | **float** | Applies a level of generalisation to the isochrone polygons generated as a `smoothing_factor` between `0` and `100.0`. Generalisation is produced by determining a maximum length of a connecting line between two points found on the outside of a containing polygon. If the distance is larger than a threshold value, the line between the two points is removed and a smaller connecting line between other points is used. Note that the minimum length of this connecting line is ~1333m, and so when the `smoothing_factor` results in a distance smaller than this, the minimum value is used. The threshold value is determined as `(maximum_radius_of_isochrone / 100) * smoothing_factor`. Therefore, a value closer to 100 will result in a more generalised shape. The polygon generation algorithm is based on Duckham and al. (2008) `\"Efficient generation of simple polygons for characterizing the shape of a set of points in the plane.\"` | [optional] -**units** | **str** | Specifies the distance units only if `range_type` is set to distance. Default: m. | [optional] [default to 'm'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSON2DDestinations.md b/docs/JSON2DDestinations.md deleted file mode 100644 index f63008a5..00000000 --- a/docs/JSON2DDestinations.md +++ /dev/null @@ -1,11 +0,0 @@ -# JSON2DDestinations - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] -**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] -**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSON2DSources.md b/docs/JSON2DSources.md deleted file mode 100644 index 9b9345f6..00000000 --- a/docs/JSON2DSources.md +++ /dev/null @@ -1,11 +0,0 @@ -# JSON2DSources - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] -**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] -**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONIndividualRouteResponse.md b/docs/JSONIndividualRouteResponse.md deleted file mode 100644 index 96f3cd8f..00000000 --- a/docs/JSONIndividualRouteResponse.md +++ /dev/null @@ -1,18 +0,0 @@ -# JSONIndividualRouteResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**arrival** | **datetime** | Arrival date and time | [optional] -**bbox** | **list[float]** | A bounding box which contains the entire route | [optional] -**departure** | **datetime** | Departure date and time | [optional] -**extras** | [**dict(str, JSONIndividualRouteResponseExtras)**](JSONIndividualRouteResponseExtras.md) | List of extra info objects representing the extra info items that were requested for the route. | [optional] -**geometry** | **str** | The geometry of the route. For JSON route responses this is an encoded polyline. | [optional] -**legs** | [**list[JSONIndividualRouteResponseLegs]**](JSONIndividualRouteResponseLegs.md) | List containing the legs the route consists of. | [optional] -**segments** | [**list[JSONIndividualRouteResponseSegments]**](JSONIndividualRouteResponseSegments.md) | List containing the segments and its corresponding steps which make up the route. | [optional] -**summary** | [**JSONIndividualRouteResponseSummary**](JSONIndividualRouteResponseSummary.md) | | [optional] -**warnings** | [**list[JSONIndividualRouteResponseWarnings]**](JSONIndividualRouteResponseWarnings.md) | List of warnings that have been generated for the route | [optional] -**way_points** | **list[int]** | List containing the indices of way points corresponding to the *geometry*. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONIndividualRouteResponseLegs.md b/docs/JSONIndividualRouteResponseLegs.md deleted file mode 100644 index a64c1654..00000000 --- a/docs/JSONIndividualRouteResponseLegs.md +++ /dev/null @@ -1,26 +0,0 @@ -# JSONIndividualRouteResponseLegs - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**arrival** | **datetime** | Arrival date and time | [optional] -**departure** | **datetime** | Departure date and time | [optional] -**departure_location** | **str** | The departure location of the leg. | [optional] -**distance** | **float** | The distance for the leg in metres. | [optional] -**duration** | **float** | The duration for the leg in seconds. | [optional] -**feed_id** | **str** | The feed ID this public transport leg based its information from. | [optional] -**geometry** | **str** | The geometry of the leg. This is an encoded polyline. | [optional] -**instructions** | [**list[JSONIndividualRouteResponseInstructions]**](JSONIndividualRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] -**is_in_same_vehicle_as_previous** | **bool** | Whether the legs continues in the same vehicle as the previous one. | [optional] -**route_desc** | **str** | The route description of the leg (if provided in the GTFS data set). | [optional] -**route_id** | **str** | The route ID of this public transport leg. | [optional] -**route_long_name** | **str** | The public transport route name of the leg. | [optional] -**route_short_name** | **str** | The public transport route name (short version) of the leg. | [optional] -**route_type** | **int** | The route type of the leg (if provided in the GTFS data set). | [optional] -**stops** | [**list[JSONIndividualRouteResponseStops]**](JSONIndividualRouteResponseStops.md) | List containing the stops the along the leg. | [optional] -**trip_headsign** | **str** | The headsign of the public transport vehicle of the leg. | [optional] -**trip_id** | **str** | The trip ID of this public transport leg. | [optional] -**type** | **str** | The type of the leg, possible values are currently 'walk' and 'pt'. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONIndividualRouteResponseManeuver.md b/docs/JSONIndividualRouteResponseManeuver.md deleted file mode 100644 index 602b1178..00000000 --- a/docs/JSONIndividualRouteResponseManeuver.md +++ /dev/null @@ -1,11 +0,0 @@ -# JSONIndividualRouteResponseManeuver - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bearing_after** | **int** | The azimuth angle (in degrees) of the direction right after the maneuver. | [optional] -**bearing_before** | **int** | The azimuth angle (in degrees) of the direction right before the maneuver. | [optional] -**location** | **list[float]** | The coordinate of the point where a maneuver takes place. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONIndividualRouteResponseSegments.md b/docs/JSONIndividualRouteResponseSegments.md deleted file mode 100644 index 91d704b1..00000000 --- a/docs/JSONIndividualRouteResponseSegments.md +++ /dev/null @@ -1,16 +0,0 @@ -# JSONIndividualRouteResponseSegments - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ascent** | **float** | Contains ascent of this segment in metres. | [optional] -**avgspeed** | **float** | Contains the average speed of this segment in km/h. | [optional] -**descent** | **float** | Contains descent of this segment in metres. | [optional] -**detourfactor** | **float** | Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. | [optional] -**distance** | **float** | Contains the distance of the segment in specified units. | [optional] -**duration** | **float** | Contains the duration of the segment in seconds. | [optional] -**percentage** | **float** | Contains the proportion of the route in percent. | [optional] -**steps** | [**list[JSONIndividualRouteResponseInstructions]**](JSONIndividualRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONIndividualRouteResponseStops.md b/docs/JSONIndividualRouteResponseStops.md deleted file mode 100644 index 3542ada7..00000000 --- a/docs/JSONIndividualRouteResponseStops.md +++ /dev/null @@ -1,19 +0,0 @@ -# JSONIndividualRouteResponseStops - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**arrival_cancelled** | **bool** | Whether arrival at the stop was cancelled. | [optional] -**arrival_time** | **datetime** | Arrival time of the stop. | [optional] -**departure_cancelled** | **bool** | Whether departure at the stop was cancelled. | [optional] -**departure_time** | **datetime** | Departure time of the stop. | [optional] -**location** | **list[float]** | The location of the stop. | [optional] -**name** | **str** | The name of the stop. | [optional] -**planned_arrival_time** | **datetime** | Planned arrival time of the stop. | [optional] -**planned_departure_time** | **datetime** | Planned departure time of the stop. | [optional] -**predicted_arrival_time** | **datetime** | Predicted arrival time of the stop. | [optional] -**predicted_departure_time** | **datetime** | Predicted departure time of the stop. | [optional] -**stop_id** | **str** | The ID of the stop. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONIndividualRouteResponseSummary.md b/docs/JSONIndividualRouteResponseSummary.md deleted file mode 100644 index 0f724eaf..00000000 --- a/docs/JSONIndividualRouteResponseSummary.md +++ /dev/null @@ -1,14 +0,0 @@ -# JSONIndividualRouteResponseSummary - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ascent** | **float** | Total ascent in meters. | [optional] -**descent** | **float** | Total descent in meters. | [optional] -**distance** | **float** | Total route distance in specified units. | [optional] -**duration** | **float** | Total duration in seconds. | [optional] -**fare** | **int** | | [optional] -**transfers** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONIndividualRouteResponseWarnings.md b/docs/JSONIndividualRouteResponseWarnings.md deleted file mode 100644 index dddc130c..00000000 --- a/docs/JSONIndividualRouteResponseWarnings.md +++ /dev/null @@ -1,10 +0,0 @@ -# JSONIndividualRouteResponseWarnings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | Identification code for the warning | [optional] -**message** | **str** | The message associated with the warning | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONLocation.md b/docs/JSONLocation.md deleted file mode 100644 index cf11ea8e..00000000 --- a/docs/JSONLocation.md +++ /dev/null @@ -1,11 +0,0 @@ -# JSONLocation - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] -**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] -**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONObject.md b/docs/JSONObject.md deleted file mode 100644 index 5c479f6c..00000000 --- a/docs/JSONObject.md +++ /dev/null @@ -1,8 +0,0 @@ -# JSONObject - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponse.md b/docs/JSONRouteResponse.md index 429c9b04..b87f9e1d 100644 --- a/docs/JSONRouteResponse.md +++ b/docs/JSONRouteResponse.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bbox** | **list[float]** | Bounding box that covers all returned routes | [optional] -**metadata** | [**GeoJSONRouteResponseMetadata**](GeoJSONRouteResponseMetadata.md) | | [optional] +**metadata** | [**JSONRouteResponseMetadata**](JSONRouteResponseMetadata.md) | | [optional] **routes** | [**list[JSONRouteResponseRoutes]**](JSONRouteResponseRoutes.md) | A list of routes returned from the request | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/JSONIndividualRouteResponseExtras.md b/docs/JSONRouteResponseExtras.md similarity index 95% rename from docs/JSONIndividualRouteResponseExtras.md rename to docs/JSONRouteResponseExtras.md index 4ef3cdcc..538cf6e8 100644 --- a/docs/JSONIndividualRouteResponseExtras.md +++ b/docs/JSONRouteResponseExtras.md @@ -1,4 +1,4 @@ -# JSONIndividualRouteResponseExtras +# JSONRouteResponseExtras ## Properties Name | Type | Description | Notes diff --git a/docs/JSONIndividualRouteResponseInstructions.md b/docs/JSONRouteResponseInstructions.md similarity index 87% rename from docs/JSONIndividualRouteResponseInstructions.md rename to docs/JSONRouteResponseInstructions.md index 690c9d42..44f5847c 100644 --- a/docs/JSONIndividualRouteResponseInstructions.md +++ b/docs/JSONRouteResponseInstructions.md @@ -1,4 +1,4 @@ -# JSONIndividualRouteResponseInstructions +# JSONRouteResponseInstructions ## Properties Name | Type | Description | Notes @@ -8,7 +8,7 @@ Name | Type | Description | Notes **exit_bearings** | **list[int]** | Contains the bearing of the entrance and all passed exits in a roundabout. | [optional] **exit_number** | **int** | Only for roundabouts. Contains the number of the exit to take. | [optional] **instruction** | **str** | The routing instruction text for the step. | [optional] -**maneuver** | [**JSONIndividualRouteResponseManeuver**](JSONIndividualRouteResponseManeuver.md) | | [optional] +**maneuver** | [**JSONRouteResponseManeuver**](JSONRouteResponseManeuver.md) | | [optional] **name** | **str** | The name of the next street. | [optional] **type** | **int** | The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. | [optional] **way_points** | **list[int]** | List containing the indices of the steps start- and endpoint corresponding to the *geometry*. | [optional] diff --git a/docs/JSONLeg.md b/docs/JSONRouteResponseLegs.md similarity index 83% rename from docs/JSONLeg.md rename to docs/JSONRouteResponseLegs.md index a7f0abdc..373fdff5 100644 --- a/docs/JSONLeg.md +++ b/docs/JSONRouteResponseLegs.md @@ -1,4 +1,4 @@ -# JSONLeg +# JSONRouteResponseLegs ## Properties Name | Type | Description | Notes @@ -10,14 +10,14 @@ Name | Type | Description | Notes **duration** | **float** | The duration for the leg in seconds. | [optional] **feed_id** | **str** | The feed ID this public transport leg based its information from. | [optional] **geometry** | **str** | The geometry of the leg. This is an encoded polyline. | [optional] -**instructions** | [**list[JSONIndividualRouteResponseInstructions]**](JSONIndividualRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] +**instructions** | [**list[JSONRouteResponseInstructions]**](JSONRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] **is_in_same_vehicle_as_previous** | **bool** | Whether the legs continues in the same vehicle as the previous one. | [optional] **route_desc** | **str** | The route description of the leg (if provided in the GTFS data set). | [optional] **route_id** | **str** | The route ID of this public transport leg. | [optional] **route_long_name** | **str** | The public transport route name of the leg. | [optional] **route_short_name** | **str** | The public transport route name (short version) of the leg. | [optional] **route_type** | **int** | The route type of the leg (if provided in the GTFS data set). | [optional] -**stops** | [**list[JSONIndividualRouteResponseStops]**](JSONIndividualRouteResponseStops.md) | List containing the stops the along the leg. | [optional] +**stops** | [**list[JSONRouteResponseStops]**](JSONRouteResponseStops.md) | List containing the stops the along the leg. | [optional] **trip_headsign** | **str** | The headsign of the public transport vehicle of the leg. | [optional] **trip_id** | **str** | The trip ID of this public transport leg. | [optional] **type** | **str** | The type of the leg, possible values are currently 'walk' and 'pt'. | [optional] diff --git a/docs/JSONStepManeuver.md b/docs/JSONRouteResponseManeuver.md similarity index 95% rename from docs/JSONStepManeuver.md rename to docs/JSONRouteResponseManeuver.md index 0662c44b..1085a2de 100644 --- a/docs/JSONStepManeuver.md +++ b/docs/JSONRouteResponseManeuver.md @@ -1,4 +1,4 @@ -# JSONStepManeuver +# JSONRouteResponseManeuver ## Properties Name | Type | Description | Notes diff --git a/docs/RouteResponseInfo.md b/docs/JSONRouteResponseMetadata.md similarity index 85% rename from docs/RouteResponseInfo.md rename to docs/JSONRouteResponseMetadata.md index 5438cb96..0ab05986 100644 --- a/docs/RouteResponseInfo.md +++ b/docs/JSONRouteResponseMetadata.md @@ -1,10 +1,10 @@ -# RouteResponseInfo +# JSONRouteResponseMetadata ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**engine** | [**JSONRouteResponseMetadataEngine**](JSONRouteResponseMetadataEngine.md) | | [optional] **id** | **str** | ID of the request (as passed in by the query) | [optional] **osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] **query** | [**DirectionsService1**](DirectionsService1.md) | | [optional] diff --git a/docs/EngineInfo.md b/docs/JSONRouteResponseMetadataEngine.md similarity index 94% rename from docs/EngineInfo.md rename to docs/JSONRouteResponseMetadataEngine.md index 14afea75..2cbd9c6d 100644 --- a/docs/EngineInfo.md +++ b/docs/JSONRouteResponseMetadataEngine.md @@ -1,4 +1,4 @@ -# EngineInfo +# JSONRouteResponseMetadataEngine ## Properties Name | Type | Description | Notes diff --git a/docs/JSONRouteResponseRoutes.md b/docs/JSONRouteResponseRoutes.md index 5f1d2499..040c78e2 100644 --- a/docs/JSONRouteResponseRoutes.md +++ b/docs/JSONRouteResponseRoutes.md @@ -6,12 +6,12 @@ Name | Type | Description | Notes **arrival** | **datetime** | Arrival date and time | [optional] **bbox** | **list[float]** | A bounding box which contains the entire route | [optional] **departure** | **datetime** | Departure date and time | [optional] -**extras** | [**dict(str, JSONIndividualRouteResponseExtras)**](JSONIndividualRouteResponseExtras.md) | List of extra info objects representing the extra info items that were requested for the route. | [optional] +**extras** | [**dict(str, JSONRouteResponseExtras)**](JSONRouteResponseExtras.md) | List of extra info objects representing the extra info items that were requested for the route. | [optional] **geometry** | **str** | The geometry of the route. For JSON route responses this is an encoded polyline. | [optional] -**legs** | [**list[JSONIndividualRouteResponseLegs]**](JSONIndividualRouteResponseLegs.md) | List containing the legs the route consists of. | [optional] -**segments** | [**list[JSONIndividualRouteResponseSegments]**](JSONIndividualRouteResponseSegments.md) | List containing the segments and its corresponding steps which make up the route. | [optional] -**summary** | [**JSONIndividualRouteResponseSummary**](JSONIndividualRouteResponseSummary.md) | | [optional] -**warnings** | [**list[JSONIndividualRouteResponseWarnings]**](JSONIndividualRouteResponseWarnings.md) | List of warnings that have been generated for the route | [optional] +**legs** | [**list[JSONRouteResponseLegs]**](JSONRouteResponseLegs.md) | List containing the legs the route consists of. | [optional] +**segments** | [**list[JSONRouteResponseSegments]**](JSONRouteResponseSegments.md) | List containing the segments and its corresponding steps which make up the route. | [optional] +**summary** | [**JSONRouteResponseSummary**](JSONRouteResponseSummary.md) | | [optional] +**warnings** | [**list[JSONRouteResponseWarnings]**](JSONRouteResponseWarnings.md) | List of warnings that have been generated for the route | [optional] **way_points** | **list[int]** | List containing the indices of way points corresponding to the *geometry*. | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/JSONSegment.md b/docs/JSONRouteResponseSegments.md similarity index 83% rename from docs/JSONSegment.md rename to docs/JSONRouteResponseSegments.md index f8ae21ea..091b44c8 100644 --- a/docs/JSONSegment.md +++ b/docs/JSONRouteResponseSegments.md @@ -1,4 +1,4 @@ -# JSONSegment +# JSONRouteResponseSegments ## Properties Name | Type | Description | Notes @@ -10,7 +10,7 @@ Name | Type | Description | Notes **distance** | **float** | Contains the distance of the segment in specified units. | [optional] **duration** | **float** | Contains the duration of the segment in seconds. | [optional] **percentage** | **float** | Contains the proportion of the route in percent. | [optional] -**steps** | [**list[JSONIndividualRouteResponseInstructions]**](JSONIndividualRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] +**steps** | [**list[JSONRouteResponseInstructions]**](JSONRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/JSONPtStop.md b/docs/JSONRouteResponseStops.md similarity index 97% rename from docs/JSONPtStop.md rename to docs/JSONRouteResponseStops.md index cc00ed92..d205e8f0 100644 --- a/docs/JSONPtStop.md +++ b/docs/JSONRouteResponseStops.md @@ -1,4 +1,4 @@ -# JSONPtStop +# JSONRouteResponseStops ## Properties Name | Type | Description | Notes diff --git a/docs/JSONSummary.md b/docs/JSONRouteResponseSummary.md similarity index 95% rename from docs/JSONSummary.md rename to docs/JSONRouteResponseSummary.md index ac4b3861..7675c2f2 100644 --- a/docs/JSONSummary.md +++ b/docs/JSONRouteResponseSummary.md @@ -1,4 +1,4 @@ -# JSONSummary +# JSONRouteResponseSummary ## Properties Name | Type | Description | Notes diff --git a/docs/JSONWarning.md b/docs/JSONRouteResponseWarnings.md similarity index 93% rename from docs/JSONWarning.md rename to docs/JSONRouteResponseWarnings.md index 6871b8b0..f74260fb 100644 --- a/docs/JSONWarning.md +++ b/docs/JSONRouteResponseWarnings.md @@ -1,4 +1,4 @@ -# JSONWarning +# JSONRouteResponseWarnings ## Properties Name | Type | Description | Notes diff --git a/docs/JSONStep.md b/docs/JSONStep.md index 776f1de9..0ec9d45a 100644 --- a/docs/JSONStep.md +++ b/docs/JSONStep.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **exit_bearings** | **list[int]** | Contains the bearing of the entrance and all passed exits in a roundabout. | [optional] **exit_number** | **int** | Only for roundabouts. Contains the number of the exit to take. | [optional] **instruction** | **str** | The routing instruction text for the step. | [optional] -**maneuver** | [**JSONIndividualRouteResponseManeuver**](JSONIndividualRouteResponseManeuver.md) | | [optional] +**maneuver** | [**JSONRouteResponseManeuver**](JSONRouteResponseManeuver.md) | | [optional] **name** | **str** | The name of the next street. | [optional] **type** | **int** | The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. | [optional] **way_points** | **list[int]** | List containing the indices of the steps start- and endpoint corresponding to the *geometry*. | [optional] diff --git a/docs/JsonEdgeExtra.md b/docs/JsonEdgeExtra.md deleted file mode 100644 index fa635449..00000000 --- a/docs/JsonEdgeExtra.md +++ /dev/null @@ -1,10 +0,0 @@ -# JsonEdgeExtra - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**edge_id** | **str** | Id of the corresponding edge in the graph | [optional] -**extra** | **object** | Extra info stored on the edge | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JsonExportResponse.md b/docs/JsonExportResponse.md deleted file mode 100644 index e89fd3b1..00000000 --- a/docs/JsonExportResponse.md +++ /dev/null @@ -1,14 +0,0 @@ -# JsonExportResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**edges** | [**list[JsonExportResponseEdges]**](JsonExportResponseEdges.md) | | [optional] -**edges_count** | **int** | | [optional] -**edges_extra** | [**list[JsonExportResponseEdgesExtra]**](JsonExportResponseEdgesExtra.md) | | [optional] -**nodes** | [**list[JsonExportResponseNodes]**](JsonExportResponseNodes.md) | | [optional] -**nodes_count** | **int** | | [optional] -**warning** | [**JSONIndividualRouteResponseWarnings**](JSONIndividualRouteResponseWarnings.md) | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JsonExportResponseEdges.md b/docs/JsonExportResponseEdges.md deleted file mode 100644 index d76eedaa..00000000 --- a/docs/JsonExportResponseEdges.md +++ /dev/null @@ -1,11 +0,0 @@ -# JsonExportResponseEdges - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**from_id** | **int** | Id of the start point of the edge | [optional] -**to_id** | **int** | Id of the end point of the edge | [optional] -**weight** | **float** | Weight of the corresponding edge in the given bounding box | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JsonExportResponseEdgesExtra.md b/docs/JsonExportResponseEdgesExtra.md deleted file mode 100644 index 5a6d6bf1..00000000 --- a/docs/JsonExportResponseEdgesExtra.md +++ /dev/null @@ -1,10 +0,0 @@ -# JsonExportResponseEdgesExtra - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**edge_id** | **str** | Id of the corresponding edge in the graph | [optional] -**extra** | **object** | Extra info stored on the edge | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JsonExportResponseNodes.md b/docs/JsonExportResponseNodes.md deleted file mode 100644 index 436a2375..00000000 --- a/docs/JsonExportResponseNodes.md +++ /dev/null @@ -1,10 +0,0 @@ -# JsonExportResponseNodes - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] -**node_id** | **int** | Id of the corresponding node in the graph | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JsonNode.md b/docs/JsonNode.md deleted file mode 100644 index 733122fd..00000000 --- a/docs/JsonNode.md +++ /dev/null @@ -1,10 +0,0 @@ -# JsonNode - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] -**node_id** | **int** | Id of the corresponding node in the graph | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/MatrixRequest.md b/docs/MatrixRequest.md deleted file mode 100644 index cad8737a..00000000 --- a/docs/MatrixRequest.md +++ /dev/null @@ -1,15 +0,0 @@ -# MatrixRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**destinations** | **list[str]** | A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). `[0,3]` for the first and fourth locations | [optional] -**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] -**locations** | **list[list[float]]** | List of comma separated lists of `longitude,latitude` coordinates in WGS 84 (EPSG:4326) | -**metrics** | **list[str]** | Specifies a list of returned metrics. \"* `distance` - Returns distance matrix for specified points in defined `units`. * `duration` - Returns duration matrix for specified points in **seconds**. | [optional] -**resolve_locations** | **bool** | Specifies whether given locations are resolved or not. If the parameter value set to `true`, every element in `destinations` and `sources` will contain a `name` element that identifies the name of the closest street. Default is `false`. | [optional] [default to False] -**sources** | **list[str]** | A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). example `[0,3]` for the first and fourth locations | [optional] -**units** | **str** | Specifies the distance unit. Default: m. | [optional] [default to 'm'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/MatrixResponseInfo.md b/docs/MatrixResponseInfo.md deleted file mode 100644 index 17174ca6..00000000 --- a/docs/MatrixResponseInfo.md +++ /dev/null @@ -1,16 +0,0 @@ -# MatrixResponseInfo - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] -**id** | **str** | ID of the request (as passed in by the query) | [optional] -**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] -**query** | [**MatrixProfileBody**](MatrixProfileBody.md) | | [optional] -**service** | **str** | The service that was requested | [optional] -**system_message** | **str** | System message | [optional] -**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/MatrixResponseMetadata.md b/docs/MatrixResponseMetadata.md index eac5caab..d3e92503 100644 --- a/docs/MatrixResponseMetadata.md +++ b/docs/MatrixResponseMetadata.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**engine** | [**JSONRouteResponseMetadataEngine**](JSONRouteResponseMetadataEngine.md) | | [optional] **id** | **str** | ID of the request (as passed in by the query) | [optional] **osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] **query** | [**MatrixProfileBody**](MatrixProfileBody.md) | | [optional] diff --git a/docs/SnappingRequest.md b/docs/SnappingRequest.md deleted file mode 100644 index 1c6a92d9..00000000 --- a/docs/SnappingRequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# SnappingRequest - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] -**locations** | **list[list[float]]** | The locations to be snapped as array of `longitude/latitude` pairs. | -**radius** | **float** | Maximum radius in meters around given coordinates to search for graph edges. | - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/SnappingResponse.md b/docs/SnappingResponse.md index a8333ce9..4499848c 100644 --- a/docs/SnappingResponse.md +++ b/docs/SnappingResponse.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **locations** | [**list[SnappingResponseLocations]**](SnappingResponseLocations.md) | The snapped locations as coordinates and snapping distance. | [optional] -**metadata** | [**GeoJSONSnappingResponseMetadata**](GeoJSONSnappingResponseMetadata.md) | | [optional] +**metadata** | [**SnappingResponseMetadata**](SnappingResponseMetadata.md) | | [optional] [[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) diff --git a/docs/SnappingResponseInfo.md b/docs/SnappingResponseMetadata.md similarity index 84% rename from docs/SnappingResponseInfo.md rename to docs/SnappingResponseMetadata.md index 12699deb..73c0555a 100644 --- a/docs/SnappingResponseInfo.md +++ b/docs/SnappingResponseMetadata.md @@ -1,10 +1,10 @@ -# SnappingResponseInfo +# SnappingResponseMetadata ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**GeoJSONIsochronesResponseMetadataEngine**](GeoJSONIsochronesResponseMetadataEngine.md) | | [optional] +**engine** | [**JSONRouteResponseMetadataEngine**](JSONRouteResponseMetadataEngine.md) | | [optional] **osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] **query** | [**ProfileJsonBody**](ProfileJsonBody.md) | | [optional] **service** | **str** | The service that was requested | [optional] diff --git a/docs/V2directionsprofilegeojsonScheduleDuration.md b/docs/V2directionsprofilegeojsonScheduleDuration.md deleted file mode 100644 index 86b08589..00000000 --- a/docs/V2directionsprofilegeojsonScheduleDuration.md +++ /dev/null @@ -1,13 +0,0 @@ -# V2directionsprofilegeojsonScheduleDuration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nano** | **int** | | [optional] -**negative** | **bool** | | [optional] -**seconds** | **int** | | [optional] -**units** | [**list[V2directionsprofilegeojsonScheduleDurationUnits]**](V2directionsprofilegeojsonScheduleDurationUnits.md) | | [optional] -**zero** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/V2directionsprofilegeojsonScheduleDurationDuration.md b/docs/V2directionsprofilegeojsonScheduleDurationDuration.md deleted file mode 100644 index bec91c4c..00000000 --- a/docs/V2directionsprofilegeojsonScheduleDurationDuration.md +++ /dev/null @@ -1,12 +0,0 @@ -# V2directionsprofilegeojsonScheduleDurationDuration - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nano** | **int** | | [optional] -**negative** | **bool** | | [optional] -**seconds** | **int** | | [optional] -**zero** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/V2directionsprofilegeojsonScheduleDurationUnits.md b/docs/V2directionsprofilegeojsonScheduleDurationUnits.md deleted file mode 100644 index 4adc80ba..00000000 --- a/docs/V2directionsprofilegeojsonScheduleDurationUnits.md +++ /dev/null @@ -1,12 +0,0 @@ -# V2directionsprofilegeojsonScheduleDurationUnits - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**date_based** | **bool** | | [optional] -**duration** | [**V2directionsprofilegeojsonScheduleDurationDuration**](V2directionsprofilegeojsonScheduleDurationDuration.md) | | [optional] -**duration_estimated** | **bool** | | [optional] -**time_based** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/V2directionsprofilegeojsonWalkingTime.md b/docs/V2directionsprofilegeojsonWalkingTime.md deleted file mode 100644 index 19074826..00000000 --- a/docs/V2directionsprofilegeojsonWalkingTime.md +++ /dev/null @@ -1,13 +0,0 @@ -# V2directionsprofilegeojsonWalkingTime - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**nano** | **int** | | [optional] -**negative** | **bool** | | [optional] -**seconds** | **int** | | [optional] -**units** | [**list[V2directionsprofilegeojsonScheduleDurationUnits]**](V2directionsprofilegeojsonScheduleDurationUnits.md) | | [optional] -**zero** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/openrouteservice/__init__.py b/openrouteservice/__init__.py index c6e1729a..19fd174b 100644 --- a/openrouteservice/__init__.py +++ b/openrouteservice/__init__.py @@ -32,31 +32,13 @@ from openrouteservice.models.directions_service1 import DirectionsService1 from openrouteservice.models.elevation_line_body import ElevationLineBody from openrouteservice.models.elevation_point_body import ElevationPointBody -from openrouteservice.models.engine_info import EngineInfo -from openrouteservice.models.geo_json_feature import GeoJSONFeature -from openrouteservice.models.geo_json_feature_geometry import GeoJSONFeatureGeometry -from openrouteservice.models.geo_json_feature_properties import GeoJSONFeatureProperties from openrouteservice.models.geo_json_features_object import GeoJSONFeaturesObject from openrouteservice.models.geo_json_geometry_object import GeoJSONGeometryObject -from openrouteservice.models.geo_json_isochrone_base import GeoJSONIsochroneBase -from openrouteservice.models.geo_json_isochrone_base_geometry import GeoJSONIsochroneBaseGeometry -from openrouteservice.models.geo_json_isochrones_response import GeoJSONIsochronesResponse -from openrouteservice.models.geo_json_isochrones_response_features import GeoJSONIsochronesResponseFeatures -from openrouteservice.models.geo_json_isochrones_response_metadata import GeoJSONIsochronesResponseMetadata -from openrouteservice.models.geo_json_isochrones_response_metadata_engine import GeoJSONIsochronesResponseMetadataEngine -from openrouteservice.models.geo_json_point_geometry import GeoJSONPointGeometry from openrouteservice.models.geo_json_properties_object import GeoJSONPropertiesObject from openrouteservice.models.geo_json_properties_object_category_ids import GeoJSONPropertiesObjectCategoryIds from openrouteservice.models.geo_json_properties_object_category_ids_category_id import GeoJSONPropertiesObjectCategoryIdsCategoryId from openrouteservice.models.geo_json_properties_object_osm_tags import GeoJSONPropertiesObjectOsmTags -from openrouteservice.models.geo_json_route_response import GeoJSONRouteResponse -from openrouteservice.models.geo_json_route_response_metadata import GeoJSONRouteResponseMetadata -from openrouteservice.models.geo_json_snapping_response import GeoJSONSnappingResponse -from openrouteservice.models.geo_json_snapping_response_features import GeoJSONSnappingResponseFeatures -from openrouteservice.models.geo_json_snapping_response_metadata import GeoJSONSnappingResponseMetadata from openrouteservice.models.geocode_response import GeocodeResponse -from openrouteservice.models.gpx import Gpx -from openrouteservice.models.graph_export_service import GraphExportService from openrouteservice.models.inline_response200 import InlineResponse200 from openrouteservice.models.inline_response2001 import InlineResponse2001 from openrouteservice.models.inline_response2001_geometry import InlineResponse2001Geometry @@ -67,53 +49,37 @@ from openrouteservice.models.inline_response2002_unassigned import InlineResponse2002Unassigned from openrouteservice.models.inline_response2002_violations import InlineResponse2002Violations from openrouteservice.models.inline_response2003 import InlineResponse2003 +from openrouteservice.models.inline_response2003_metadata import InlineResponse2003Metadata from openrouteservice.models.inline_response2004 import InlineResponse2004 +from openrouteservice.models.inline_response2004_extras import InlineResponse2004Extras +from openrouteservice.models.inline_response2004_instructions import InlineResponse2004Instructions +from openrouteservice.models.inline_response2004_legs import InlineResponse2004Legs +from openrouteservice.models.inline_response2004_maneuver import InlineResponse2004Maneuver +from openrouteservice.models.inline_response2004_routes import InlineResponse2004Routes +from openrouteservice.models.inline_response2004_segments import InlineResponse2004Segments +from openrouteservice.models.inline_response2004_stops import InlineResponse2004Stops +from openrouteservice.models.inline_response2004_summary import InlineResponse2004Summary +from openrouteservice.models.inline_response2004_summary1 import InlineResponse2004Summary1 +from openrouteservice.models.inline_response2004_warnings import InlineResponse2004Warnings from openrouteservice.models.inline_response2005 import InlineResponse2005 +from openrouteservice.models.inline_response2005_features import InlineResponse2005Features +from openrouteservice.models.inline_response2005_geometry import InlineResponse2005Geometry +from openrouteservice.models.inline_response2005_metadata import InlineResponse2005Metadata +from openrouteservice.models.inline_response2005_metadata_engine import InlineResponse2005MetadataEngine from openrouteservice.models.inline_response2006 import InlineResponse2006 +from openrouteservice.models.inline_response2006_destinations import InlineResponse2006Destinations +from openrouteservice.models.inline_response2006_metadata import InlineResponse2006Metadata +from openrouteservice.models.inline_response2006_sources import InlineResponse2006Sources from openrouteservice.models.inline_response2007 import InlineResponse2007 +from openrouteservice.models.inline_response2007_locations import InlineResponse2007Locations +from openrouteservice.models.inline_response2007_metadata import InlineResponse2007Metadata from openrouteservice.models.inline_response2008 import InlineResponse2008 +from openrouteservice.models.inline_response2008_features import InlineResponse2008Features +from openrouteservice.models.inline_response2008_geometry import InlineResponse2008Geometry +from openrouteservice.models.inline_response2008_properties import InlineResponse2008Properties from openrouteservice.models.inline_response200_geometry import InlineResponse200Geometry from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody -from openrouteservice.models.isochrones_request import IsochronesRequest -from openrouteservice.models.isochrones_response_info import IsochronesResponseInfo -from openrouteservice.models.json2_d_destinations import JSON2DDestinations -from openrouteservice.models.json2_d_sources import JSON2DSources -from openrouteservice.models.json_extra import JSONExtra -from openrouteservice.models.json_extra_summary import JSONExtraSummary -from openrouteservice.models.json_individual_route_response import JSONIndividualRouteResponse -from openrouteservice.models.json_individual_route_response_extras import JSONIndividualRouteResponseExtras -from openrouteservice.models.json_individual_route_response_instructions import JSONIndividualRouteResponseInstructions -from openrouteservice.models.json_individual_route_response_legs import JSONIndividualRouteResponseLegs -from openrouteservice.models.json_individual_route_response_maneuver import JSONIndividualRouteResponseManeuver -from openrouteservice.models.json_individual_route_response_segments import JSONIndividualRouteResponseSegments -from openrouteservice.models.json_individual_route_response_stops import JSONIndividualRouteResponseStops -from openrouteservice.models.json_individual_route_response_summary import JSONIndividualRouteResponseSummary -from openrouteservice.models.json_individual_route_response_warnings import JSONIndividualRouteResponseWarnings -from openrouteservice.models.json_leg import JSONLeg -from openrouteservice.models.json_location import JSONLocation -from openrouteservice.models.json_object import JSONObject -from openrouteservice.models.jsonpt_stop import JSONPtStop -from openrouteservice.models.json_route_response import JSONRouteResponse -from openrouteservice.models.json_route_response_routes import JSONRouteResponseRoutes -from openrouteservice.models.json_segment import JSONSegment -from openrouteservice.models.json_step import JSONStep -from openrouteservice.models.json_step_maneuver import JSONStepManeuver -from openrouteservice.models.json_summary import JSONSummary -from openrouteservice.models.json_warning import JSONWarning -from openrouteservice.models.json_edge import JsonEdge -from openrouteservice.models.json_edge_extra import JsonEdgeExtra -from openrouteservice.models.json_export_response import JsonExportResponse -from openrouteservice.models.json_export_response_edges import JsonExportResponseEdges -from openrouteservice.models.json_export_response_edges_extra import JsonExportResponseEdgesExtra -from openrouteservice.models.json_export_response_nodes import JsonExportResponseNodes -from openrouteservice.models.json_node import JsonNode from openrouteservice.models.matrix_profile_body import MatrixProfileBody -from openrouteservice.models.matrix_request import MatrixRequest -from openrouteservice.models.matrix_response import MatrixResponse -from openrouteservice.models.matrix_response_destinations import MatrixResponseDestinations -from openrouteservice.models.matrix_response_info import MatrixResponseInfo -from openrouteservice.models.matrix_response_metadata import MatrixResponseMetadata -from openrouteservice.models.matrix_response_sources import MatrixResponseSources from openrouteservice.models.openpoiservice_poi_request import OpenpoiservicePoiRequest from openrouteservice.models.openpoiservice_poi_response import OpenpoiservicePoiResponse from openrouteservice.models.optimization_body import OptimizationBody @@ -132,15 +98,8 @@ from openrouteservice.models.profile_parameters import ProfileParameters from openrouteservice.models.profile_parameters_restrictions import ProfileParametersRestrictions from openrouteservice.models.profile_weightings import ProfileWeightings -from openrouteservice.models.restrictions import Restrictions from openrouteservice.models.round_trip_route_options import RoundTripRouteOptions from openrouteservice.models.route_options import RouteOptions from openrouteservice.models.route_options_avoid_polygons import RouteOptionsAvoidPolygons -from openrouteservice.models.route_response_info import RouteResponseInfo -from openrouteservice.models.rte import Rte from openrouteservice.models.snap_profile_body import SnapProfileBody -from openrouteservice.models.snapping_request import SnappingRequest -from openrouteservice.models.snapping_response import SnappingResponse -from openrouteservice.models.snapping_response_info import SnappingResponseInfo -from openrouteservice.models.snapping_response_locations import SnappingResponseLocations from openrouteservice.utility import * diff --git a/openrouteservice/models/__init__.py b/openrouteservice/models/__init__.py index f678dd09..884132fd 100644 --- a/openrouteservice/models/__init__.py +++ b/openrouteservice/models/__init__.py @@ -19,31 +19,13 @@ from openrouteservice.models.directions_service1 import DirectionsService1 from openrouteservice.models.elevation_line_body import ElevationLineBody from openrouteservice.models.elevation_point_body import ElevationPointBody -from openrouteservice.models.engine_info import EngineInfo -from openrouteservice.models.geo_json_feature import GeoJSONFeature -from openrouteservice.models.geo_json_feature_geometry import GeoJSONFeatureGeometry -from openrouteservice.models.geo_json_feature_properties import GeoJSONFeatureProperties from openrouteservice.models.geo_json_features_object import GeoJSONFeaturesObject from openrouteservice.models.geo_json_geometry_object import GeoJSONGeometryObject -from openrouteservice.models.geo_json_isochrone_base import GeoJSONIsochroneBase -from openrouteservice.models.geo_json_isochrone_base_geometry import GeoJSONIsochroneBaseGeometry -from openrouteservice.models.geo_json_isochrones_response import GeoJSONIsochronesResponse -from openrouteservice.models.geo_json_isochrones_response_features import GeoJSONIsochronesResponseFeatures -from openrouteservice.models.geo_json_isochrones_response_metadata import GeoJSONIsochronesResponseMetadata -from openrouteservice.models.geo_json_isochrones_response_metadata_engine import GeoJSONIsochronesResponseMetadataEngine -from openrouteservice.models.geo_json_point_geometry import GeoJSONPointGeometry from openrouteservice.models.geo_json_properties_object import GeoJSONPropertiesObject from openrouteservice.models.geo_json_properties_object_category_ids import GeoJSONPropertiesObjectCategoryIds from openrouteservice.models.geo_json_properties_object_category_ids_category_id import GeoJSONPropertiesObjectCategoryIdsCategoryId from openrouteservice.models.geo_json_properties_object_osm_tags import GeoJSONPropertiesObjectOsmTags -from openrouteservice.models.geo_json_route_response import GeoJSONRouteResponse -from openrouteservice.models.geo_json_route_response_metadata import GeoJSONRouteResponseMetadata -from openrouteservice.models.geo_json_snapping_response import GeoJSONSnappingResponse -from openrouteservice.models.geo_json_snapping_response_features import GeoJSONSnappingResponseFeatures -from openrouteservice.models.geo_json_snapping_response_metadata import GeoJSONSnappingResponseMetadata from openrouteservice.models.geocode_response import GeocodeResponse -from openrouteservice.models.gpx import Gpx -from openrouteservice.models.graph_export_service import GraphExportService from openrouteservice.models.inline_response200 import InlineResponse200 from openrouteservice.models.inline_response2001 import InlineResponse2001 from openrouteservice.models.inline_response2001_geometry import InlineResponse2001Geometry @@ -54,53 +36,37 @@ from openrouteservice.models.inline_response2002_unassigned import InlineResponse2002Unassigned from openrouteservice.models.inline_response2002_violations import InlineResponse2002Violations from openrouteservice.models.inline_response2003 import InlineResponse2003 +from openrouteservice.models.inline_response2003_metadata import InlineResponse2003Metadata from openrouteservice.models.inline_response2004 import InlineResponse2004 +from openrouteservice.models.inline_response2004_extras import InlineResponse2004Extras +from openrouteservice.models.inline_response2004_instructions import InlineResponse2004Instructions +from openrouteservice.models.inline_response2004_legs import InlineResponse2004Legs +from openrouteservice.models.inline_response2004_maneuver import InlineResponse2004Maneuver +from openrouteservice.models.inline_response2004_routes import InlineResponse2004Routes +from openrouteservice.models.inline_response2004_segments import InlineResponse2004Segments +from openrouteservice.models.inline_response2004_stops import InlineResponse2004Stops +from openrouteservice.models.inline_response2004_summary import InlineResponse2004Summary +from openrouteservice.models.inline_response2004_summary1 import InlineResponse2004Summary1 +from openrouteservice.models.inline_response2004_warnings import InlineResponse2004Warnings from openrouteservice.models.inline_response2005 import InlineResponse2005 +from openrouteservice.models.inline_response2005_features import InlineResponse2005Features +from openrouteservice.models.inline_response2005_geometry import InlineResponse2005Geometry +from openrouteservice.models.inline_response2005_metadata import InlineResponse2005Metadata +from openrouteservice.models.inline_response2005_metadata_engine import InlineResponse2005MetadataEngine from openrouteservice.models.inline_response2006 import InlineResponse2006 +from openrouteservice.models.inline_response2006_destinations import InlineResponse2006Destinations +from openrouteservice.models.inline_response2006_metadata import InlineResponse2006Metadata +from openrouteservice.models.inline_response2006_sources import InlineResponse2006Sources from openrouteservice.models.inline_response2007 import InlineResponse2007 +from openrouteservice.models.inline_response2007_locations import InlineResponse2007Locations +from openrouteservice.models.inline_response2007_metadata import InlineResponse2007Metadata from openrouteservice.models.inline_response2008 import InlineResponse2008 +from openrouteservice.models.inline_response2008_features import InlineResponse2008Features +from openrouteservice.models.inline_response2008_geometry import InlineResponse2008Geometry +from openrouteservice.models.inline_response2008_properties import InlineResponse2008Properties from openrouteservice.models.inline_response200_geometry import InlineResponse200Geometry from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody -from openrouteservice.models.isochrones_request import IsochronesRequest -from openrouteservice.models.isochrones_response_info import IsochronesResponseInfo -from openrouteservice.models.json2_d_destinations import JSON2DDestinations -from openrouteservice.models.json2_d_sources import JSON2DSources -from openrouteservice.models.json_extra import JSONExtra -from openrouteservice.models.json_extra_summary import JSONExtraSummary -from openrouteservice.models.json_individual_route_response import JSONIndividualRouteResponse -from openrouteservice.models.json_individual_route_response_extras import JSONIndividualRouteResponseExtras -from openrouteservice.models.json_individual_route_response_instructions import JSONIndividualRouteResponseInstructions -from openrouteservice.models.json_individual_route_response_legs import JSONIndividualRouteResponseLegs -from openrouteservice.models.json_individual_route_response_maneuver import JSONIndividualRouteResponseManeuver -from openrouteservice.models.json_individual_route_response_segments import JSONIndividualRouteResponseSegments -from openrouteservice.models.json_individual_route_response_stops import JSONIndividualRouteResponseStops -from openrouteservice.models.json_individual_route_response_summary import JSONIndividualRouteResponseSummary -from openrouteservice.models.json_individual_route_response_warnings import JSONIndividualRouteResponseWarnings -from openrouteservice.models.json_leg import JSONLeg -from openrouteservice.models.json_location import JSONLocation -from openrouteservice.models.json_object import JSONObject -from openrouteservice.models.jsonpt_stop import JSONPtStop -from openrouteservice.models.json_route_response import JSONRouteResponse -from openrouteservice.models.json_route_response_routes import JSONRouteResponseRoutes -from openrouteservice.models.json_segment import JSONSegment -from openrouteservice.models.json_step import JSONStep -from openrouteservice.models.json_step_maneuver import JSONStepManeuver -from openrouteservice.models.json_summary import JSONSummary -from openrouteservice.models.json_warning import JSONWarning -from openrouteservice.models.json_edge import JsonEdge -from openrouteservice.models.json_edge_extra import JsonEdgeExtra -from openrouteservice.models.json_export_response import JsonExportResponse -from openrouteservice.models.json_export_response_edges import JsonExportResponseEdges -from openrouteservice.models.json_export_response_edges_extra import JsonExportResponseEdgesExtra -from openrouteservice.models.json_export_response_nodes import JsonExportResponseNodes -from openrouteservice.models.json_node import JsonNode from openrouteservice.models.matrix_profile_body import MatrixProfileBody -from openrouteservice.models.matrix_request import MatrixRequest -from openrouteservice.models.matrix_response import MatrixResponse -from openrouteservice.models.matrix_response_destinations import MatrixResponseDestinations -from openrouteservice.models.matrix_response_info import MatrixResponseInfo -from openrouteservice.models.matrix_response_metadata import MatrixResponseMetadata -from openrouteservice.models.matrix_response_sources import MatrixResponseSources from openrouteservice.models.openpoiservice_poi_request import OpenpoiservicePoiRequest from openrouteservice.models.openpoiservice_poi_response import OpenpoiservicePoiResponse from openrouteservice.models.optimization_body import OptimizationBody @@ -119,14 +85,7 @@ from openrouteservice.models.profile_parameters import ProfileParameters from openrouteservice.models.profile_parameters_restrictions import ProfileParametersRestrictions from openrouteservice.models.profile_weightings import ProfileWeightings -from openrouteservice.models.restrictions import Restrictions from openrouteservice.models.round_trip_route_options import RoundTripRouteOptions from openrouteservice.models.route_options import RouteOptions from openrouteservice.models.route_options_avoid_polygons import RouteOptionsAvoidPolygons -from openrouteservice.models.route_response_info import RouteResponseInfo -from openrouteservice.models.rte import Rte from openrouteservice.models.snap_profile_body import SnapProfileBody -from openrouteservice.models.snapping_request import SnappingRequest -from openrouteservice.models.snapping_response import SnappingResponse -from openrouteservice.models.snapping_response_info import SnappingResponseInfo -from openrouteservice.models.snapping_response_locations import SnappingResponseLocations diff --git a/openrouteservice/models/geo_json_feature_geometry.py b/openrouteservice/models/geo_json_feature_geometry.py deleted file mode 100644 index 45009fb4..00000000 --- a/openrouteservice/models/geo_json_feature_geometry.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONFeatureGeometry(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'coordinates': 'list[float]', - 'type': 'str' - } - - attribute_map = { - 'coordinates': 'coordinates', - 'type': 'type' - } - - def __init__(self, coordinates=None, type='Point'): # noqa: E501 - """GeoJSONFeatureGeometry - a model defined in Swagger""" # noqa: E501 - self._coordinates = None - self._type = None - self.discriminator = None - if coordinates is not None: - self.coordinates = coordinates - if type is not None: - self.type = type - - @property - def coordinates(self): - """Gets the coordinates of this GeoJSONFeatureGeometry. # noqa: E501 - - Lon/Lat coordinates of the snapped location # noqa: E501 - - :return: The coordinates of this GeoJSONFeatureGeometry. # noqa: E501 - :rtype: list[float] - """ - return self._coordinates - - @coordinates.setter - def coordinates(self, coordinates): - """Sets the coordinates of this GeoJSONFeatureGeometry. - - Lon/Lat coordinates of the snapped location # noqa: E501 - - :param coordinates: The coordinates of this GeoJSONFeatureGeometry. # noqa: E501 - :type: list[float] - """ - - self._coordinates = coordinates - - @property - def type(self): - """Gets the type of this GeoJSONFeatureGeometry. # noqa: E501 - - GeoJSON type # noqa: E501 - - :return: The type of this GeoJSONFeatureGeometry. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this GeoJSONFeatureGeometry. - - GeoJSON type # noqa: E501 - - :param type: The type of this GeoJSONFeatureGeometry. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONFeatureGeometry, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONFeatureGeometry): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_isochrones_response.py b/openrouteservice/models/geo_json_isochrones_response.py deleted file mode 100644 index 9ed9c6eb..00000000 --- a/openrouteservice/models/geo_json_isochrones_response.py +++ /dev/null @@ -1,190 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONIsochronesResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bbox': 'list[float]', - 'features': 'list[GeoJSONIsochronesResponseFeatures]', - 'metadata': 'GeoJSONIsochronesResponseMetadata', - 'type': 'str' - } - - attribute_map = { - 'bbox': 'bbox', - 'features': 'features', - 'metadata': 'metadata', - 'type': 'type' - } - - def __init__(self, bbox=None, features=None, metadata=None, type=None): # noqa: E501 - """GeoJSONIsochronesResponse - a model defined in Swagger""" # noqa: E501 - self._bbox = None - self._features = None - self._metadata = None - self._type = None - self.discriminator = None - if bbox is not None: - self.bbox = bbox - if features is not None: - self.features = features - if metadata is not None: - self.metadata = metadata - if type is not None: - self.type = type - - @property - def bbox(self): - """Gets the bbox of this GeoJSONIsochronesResponse. # noqa: E501 - - Bounding box that covers all returned isochrones # noqa: E501 - - :return: The bbox of this GeoJSONIsochronesResponse. # noqa: E501 - :rtype: list[float] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this GeoJSONIsochronesResponse. - - Bounding box that covers all returned isochrones # noqa: E501 - - :param bbox: The bbox of this GeoJSONIsochronesResponse. # noqa: E501 - :type: list[float] - """ - - self._bbox = bbox - - @property - def features(self): - """Gets the features of this GeoJSONIsochronesResponse. # noqa: E501 - - - :return: The features of this GeoJSONIsochronesResponse. # noqa: E501 - :rtype: list[GeoJSONIsochronesResponseFeatures] - """ - return self._features - - @features.setter - def features(self, features): - """Sets the features of this GeoJSONIsochronesResponse. - - - :param features: The features of this GeoJSONIsochronesResponse. # noqa: E501 - :type: list[GeoJSONIsochronesResponseFeatures] - """ - - self._features = features - - @property - def metadata(self): - """Gets the metadata of this GeoJSONIsochronesResponse. # noqa: E501 - - - :return: The metadata of this GeoJSONIsochronesResponse. # noqa: E501 - :rtype: GeoJSONIsochronesResponseMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this GeoJSONIsochronesResponse. - - - :param metadata: The metadata of this GeoJSONIsochronesResponse. # noqa: E501 - :type: GeoJSONIsochronesResponseMetadata - """ - - self._metadata = metadata - - @property - def type(self): - """Gets the type of this GeoJSONIsochronesResponse. # noqa: E501 - - - :return: The type of this GeoJSONIsochronesResponse. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this GeoJSONIsochronesResponse. - - - :param type: The type of this GeoJSONIsochronesResponse. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONIsochronesResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONIsochronesResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_isochrones_response_features.py b/openrouteservice/models/geo_json_isochrones_response_features.py deleted file mode 100644 index e0acd011..00000000 --- a/openrouteservice/models/geo_json_isochrones_response_features.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONIsochronesResponseFeatures(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'geometry': 'GeoJSONIsochroneBaseGeometry', - 'type': 'str' - } - - attribute_map = { - 'geometry': 'geometry', - 'type': 'type' - } - - def __init__(self, geometry=None, type=None): # noqa: E501 - """GeoJSONIsochronesResponseFeatures - a model defined in Swagger""" # noqa: E501 - self._geometry = None - self._type = None - self.discriminator = None - if geometry is not None: - self.geometry = geometry - if type is not None: - self.type = type - - @property - def geometry(self): - """Gets the geometry of this GeoJSONIsochronesResponseFeatures. # noqa: E501 - - - :return: The geometry of this GeoJSONIsochronesResponseFeatures. # noqa: E501 - :rtype: GeoJSONIsochroneBaseGeometry - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this GeoJSONIsochronesResponseFeatures. - - - :param geometry: The geometry of this GeoJSONIsochronesResponseFeatures. # noqa: E501 - :type: GeoJSONIsochroneBaseGeometry - """ - - self._geometry = geometry - - @property - def type(self): - """Gets the type of this GeoJSONIsochronesResponseFeatures. # noqa: E501 - - - :return: The type of this GeoJSONIsochronesResponseFeatures. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this GeoJSONIsochronesResponseFeatures. - - - :param type: The type of this GeoJSONIsochronesResponseFeatures. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONIsochronesResponseFeatures, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONIsochronesResponseFeatures): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_isochrones_response_metadata.py b/openrouteservice/models/geo_json_isochrones_response_metadata.py deleted file mode 100644 index 69ec6644..00000000 --- a/openrouteservice/models/geo_json_isochrones_response_metadata.py +++ /dev/null @@ -1,304 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONIsochronesResponseMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attribution': 'str', - 'engine': 'GeoJSONIsochronesResponseMetadataEngine', - 'id': 'str', - 'osm_file_md5_hash': 'str', - 'query': 'IsochronesProfileBody', - 'service': 'str', - 'system_message': 'str', - 'timestamp': 'int' - } - - attribute_map = { - 'attribution': 'attribution', - 'engine': 'engine', - 'id': 'id', - 'osm_file_md5_hash': 'osm_file_md5_hash', - 'query': 'query', - 'service': 'service', - 'system_message': 'system_message', - 'timestamp': 'timestamp' - } - - def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """GeoJSONIsochronesResponseMetadata - a model defined in Swagger""" # noqa: E501 - self._attribution = None - self._engine = None - self._id = None - self._osm_file_md5_hash = None - self._query = None - self._service = None - self._system_message = None - self._timestamp = None - self.discriminator = None - if attribution is not None: - self.attribution = attribution - if engine is not None: - self.engine = engine - if id is not None: - self.id = id - if osm_file_md5_hash is not None: - self.osm_file_md5_hash = osm_file_md5_hash - if query is not None: - self.query = query - if service is not None: - self.service = service - if system_message is not None: - self.system_message = system_message - if timestamp is not None: - self.timestamp = timestamp - - @property - def attribution(self): - """Gets the attribution of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - - Copyright and attribution information # noqa: E501 - - :return: The attribution of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :rtype: str - """ - return self._attribution - - @attribution.setter - def attribution(self, attribution): - """Sets the attribution of this GeoJSONIsochronesResponseMetadata. - - Copyright and attribution information # noqa: E501 - - :param attribution: The attribution of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :type: str - """ - - self._attribution = attribution - - @property - def engine(self): - """Gets the engine of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - - - :return: The engine of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :rtype: GeoJSONIsochronesResponseMetadataEngine - """ - return self._engine - - @engine.setter - def engine(self, engine): - """Sets the engine of this GeoJSONIsochronesResponseMetadata. - - - :param engine: The engine of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :type: GeoJSONIsochronesResponseMetadataEngine - """ - - self._engine = engine - - @property - def id(self): - """Gets the id of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - - ID of the request (as passed in by the query) # noqa: E501 - - :return: The id of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this GeoJSONIsochronesResponseMetadata. - - ID of the request (as passed in by the query) # noqa: E501 - - :param id: The id of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :return: The osm_file_md5_hash of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :rtype: str - """ - return self._osm_file_md5_hash - - @osm_file_md5_hash.setter - def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this GeoJSONIsochronesResponseMetadata. - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :param osm_file_md5_hash: The osm_file_md5_hash of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :type: str - """ - - self._osm_file_md5_hash = osm_file_md5_hash - - @property - def query(self): - """Gets the query of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - - - :return: The query of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :rtype: IsochronesProfileBody - """ - return self._query - - @query.setter - def query(self, query): - """Sets the query of this GeoJSONIsochronesResponseMetadata. - - - :param query: The query of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :type: IsochronesProfileBody - """ - - self._query = query - - @property - def service(self): - """Gets the service of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - - The service that was requested # noqa: E501 - - :return: The service of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :rtype: str - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this GeoJSONIsochronesResponseMetadata. - - The service that was requested # noqa: E501 - - :param service: The service of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :type: str - """ - - self._service = service - - @property - def system_message(self): - """Gets the system_message of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - - System message # noqa: E501 - - :return: The system_message of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :rtype: str - """ - return self._system_message - - @system_message.setter - def system_message(self, system_message): - """Sets the system_message of this GeoJSONIsochronesResponseMetadata. - - System message # noqa: E501 - - :param system_message: The system_message of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :type: str - """ - - self._system_message = system_message - - @property - def timestamp(self): - """Gets the timestamp of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :return: The timestamp of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this GeoJSONIsochronesResponseMetadata. - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :param timestamp: The timestamp of this GeoJSONIsochronesResponseMetadata. # noqa: E501 - :type: int - """ - - self._timestamp = timestamp - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONIsochronesResponseMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONIsochronesResponseMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_isochrones_response_metadata_engine.py b/openrouteservice/models/geo_json_isochrones_response_metadata_engine.py deleted file mode 100644 index a672418f..00000000 --- a/openrouteservice/models/geo_json_isochrones_response_metadata_engine.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONIsochronesResponseMetadataEngine(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'build_date': 'str', - 'graph_date': 'str', - 'version': 'str' - } - - attribute_map = { - 'build_date': 'build_date', - 'graph_date': 'graph_date', - 'version': 'version' - } - - def __init__(self, build_date=None, graph_date=None, version=None): # noqa: E501 - """GeoJSONIsochronesResponseMetadataEngine - a model defined in Swagger""" # noqa: E501 - self._build_date = None - self._graph_date = None - self._version = None - self.discriminator = None - if build_date is not None: - self.build_date = build_date - if graph_date is not None: - self.graph_date = graph_date - if version is not None: - self.version = version - - @property - def build_date(self): - """Gets the build_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 - - The date that the service was last updated # noqa: E501 - - :return: The build_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 - :rtype: str - """ - return self._build_date - - @build_date.setter - def build_date(self, build_date): - """Sets the build_date of this GeoJSONIsochronesResponseMetadataEngine. - - The date that the service was last updated # noqa: E501 - - :param build_date: The build_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 - :type: str - """ - - self._build_date = build_date - - @property - def graph_date(self): - """Gets the graph_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 - - The date that the graph data was last updated # noqa: E501 - - :return: The graph_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 - :rtype: str - """ - return self._graph_date - - @graph_date.setter - def graph_date(self, graph_date): - """Sets the graph_date of this GeoJSONIsochronesResponseMetadataEngine. - - The date that the graph data was last updated # noqa: E501 - - :param graph_date: The graph_date of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 - :type: str - """ - - self._graph_date = graph_date - - @property - def version(self): - """Gets the version of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 - - The backend version of the openrouteservice that was queried # noqa: E501 - - :return: The version of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this GeoJSONIsochronesResponseMetadataEngine. - - The backend version of the openrouteservice that was queried # noqa: E501 - - :param version: The version of this GeoJSONIsochronesResponseMetadataEngine. # noqa: E501 - :type: str - """ - - self._version = version - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONIsochronesResponseMetadataEngine, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONIsochronesResponseMetadataEngine): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_route_response.py b/openrouteservice/models/geo_json_route_response.py deleted file mode 100644 index 941325ab..00000000 --- a/openrouteservice/models/geo_json_route_response.py +++ /dev/null @@ -1,190 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONRouteResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bbox': 'list[float]', - 'features': 'list[object]', - 'metadata': 'GeoJSONRouteResponseMetadata', - 'type': 'str' - } - - attribute_map = { - 'bbox': 'bbox', - 'features': 'features', - 'metadata': 'metadata', - 'type': 'type' - } - - def __init__(self, bbox=None, features=None, metadata=None, type=None): # noqa: E501 - """GeoJSONRouteResponse - a model defined in Swagger""" # noqa: E501 - self._bbox = None - self._features = None - self._metadata = None - self._type = None - self.discriminator = None - if bbox is not None: - self.bbox = bbox - if features is not None: - self.features = features - if metadata is not None: - self.metadata = metadata - if type is not None: - self.type = type - - @property - def bbox(self): - """Gets the bbox of this GeoJSONRouteResponse. # noqa: E501 - - Bounding box that covers all returned routes # noqa: E501 - - :return: The bbox of this GeoJSONRouteResponse. # noqa: E501 - :rtype: list[float] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this GeoJSONRouteResponse. - - Bounding box that covers all returned routes # noqa: E501 - - :param bbox: The bbox of this GeoJSONRouteResponse. # noqa: E501 - :type: list[float] - """ - - self._bbox = bbox - - @property - def features(self): - """Gets the features of this GeoJSONRouteResponse. # noqa: E501 - - - :return: The features of this GeoJSONRouteResponse. # noqa: E501 - :rtype: list[object] - """ - return self._features - - @features.setter - def features(self, features): - """Sets the features of this GeoJSONRouteResponse. - - - :param features: The features of this GeoJSONRouteResponse. # noqa: E501 - :type: list[object] - """ - - self._features = features - - @property - def metadata(self): - """Gets the metadata of this GeoJSONRouteResponse. # noqa: E501 - - - :return: The metadata of this GeoJSONRouteResponse. # noqa: E501 - :rtype: GeoJSONRouteResponseMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this GeoJSONRouteResponse. - - - :param metadata: The metadata of this GeoJSONRouteResponse. # noqa: E501 - :type: GeoJSONRouteResponseMetadata - """ - - self._metadata = metadata - - @property - def type(self): - """Gets the type of this GeoJSONRouteResponse. # noqa: E501 - - - :return: The type of this GeoJSONRouteResponse. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this GeoJSONRouteResponse. - - - :param type: The type of this GeoJSONRouteResponse. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONRouteResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONRouteResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_snapping_response.py b/openrouteservice/models/geo_json_snapping_response.py deleted file mode 100644 index babeca31..00000000 --- a/openrouteservice/models/geo_json_snapping_response.py +++ /dev/null @@ -1,194 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONSnappingResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bbox': 'list[float]', - 'features': 'list[GeoJSONSnappingResponseFeatures]', - 'metadata': 'GeoJSONSnappingResponseMetadata', - 'type': 'str' - } - - attribute_map = { - 'bbox': 'bbox', - 'features': 'features', - 'metadata': 'metadata', - 'type': 'type' - } - - def __init__(self, bbox=None, features=None, metadata=None, type='FeatureCollection'): # noqa: E501 - """GeoJSONSnappingResponse - a model defined in Swagger""" # noqa: E501 - self._bbox = None - self._features = None - self._metadata = None - self._type = None - self.discriminator = None - if bbox is not None: - self.bbox = bbox - if features is not None: - self.features = features - if metadata is not None: - self.metadata = metadata - if type is not None: - self.type = type - - @property - def bbox(self): - """Gets the bbox of this GeoJSONSnappingResponse. # noqa: E501 - - Bounding box that covers all returned snapping points # noqa: E501 - - :return: The bbox of this GeoJSONSnappingResponse. # noqa: E501 - :rtype: list[float] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this GeoJSONSnappingResponse. - - Bounding box that covers all returned snapping points # noqa: E501 - - :param bbox: The bbox of this GeoJSONSnappingResponse. # noqa: E501 - :type: list[float] - """ - - self._bbox = bbox - - @property - def features(self): - """Gets the features of this GeoJSONSnappingResponse. # noqa: E501 - - Information about the service and request # noqa: E501 - - :return: The features of this GeoJSONSnappingResponse. # noqa: E501 - :rtype: list[GeoJSONSnappingResponseFeatures] - """ - return self._features - - @features.setter - def features(self, features): - """Sets the features of this GeoJSONSnappingResponse. - - Information about the service and request # noqa: E501 - - :param features: The features of this GeoJSONSnappingResponse. # noqa: E501 - :type: list[GeoJSONSnappingResponseFeatures] - """ - - self._features = features - - @property - def metadata(self): - """Gets the metadata of this GeoJSONSnappingResponse. # noqa: E501 - - - :return: The metadata of this GeoJSONSnappingResponse. # noqa: E501 - :rtype: GeoJSONSnappingResponseMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this GeoJSONSnappingResponse. - - - :param metadata: The metadata of this GeoJSONSnappingResponse. # noqa: E501 - :type: GeoJSONSnappingResponseMetadata - """ - - self._metadata = metadata - - @property - def type(self): - """Gets the type of this GeoJSONSnappingResponse. # noqa: E501 - - GeoJSON type # noqa: E501 - - :return: The type of this GeoJSONSnappingResponse. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this GeoJSONSnappingResponse. - - GeoJSON type # noqa: E501 - - :param type: The type of this GeoJSONSnappingResponse. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONSnappingResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONSnappingResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_snapping_response_features.py b/openrouteservice/models/geo_json_snapping_response_features.py deleted file mode 100644 index 9365b332..00000000 --- a/openrouteservice/models/geo_json_snapping_response_features.py +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONSnappingResponseFeatures(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'geometry': 'GeoJSONFeatureGeometry', - 'properties': 'GeoJSONFeatureProperties', - 'type': 'str' - } - - attribute_map = { - 'geometry': 'geometry', - 'properties': 'properties', - 'type': 'type' - } - - def __init__(self, geometry=None, properties=None, type='Feature'): # noqa: E501 - """GeoJSONSnappingResponseFeatures - a model defined in Swagger""" # noqa: E501 - self._geometry = None - self._properties = None - self._type = None - self.discriminator = None - if geometry is not None: - self.geometry = geometry - if properties is not None: - self.properties = properties - if type is not None: - self.type = type - - @property - def geometry(self): - """Gets the geometry of this GeoJSONSnappingResponseFeatures. # noqa: E501 - - - :return: The geometry of this GeoJSONSnappingResponseFeatures. # noqa: E501 - :rtype: GeoJSONFeatureGeometry - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this GeoJSONSnappingResponseFeatures. - - - :param geometry: The geometry of this GeoJSONSnappingResponseFeatures. # noqa: E501 - :type: GeoJSONFeatureGeometry - """ - - self._geometry = geometry - - @property - def properties(self): - """Gets the properties of this GeoJSONSnappingResponseFeatures. # noqa: E501 - - - :return: The properties of this GeoJSONSnappingResponseFeatures. # noqa: E501 - :rtype: GeoJSONFeatureProperties - """ - return self._properties - - @properties.setter - def properties(self, properties): - """Sets the properties of this GeoJSONSnappingResponseFeatures. - - - :param properties: The properties of this GeoJSONSnappingResponseFeatures. # noqa: E501 - :type: GeoJSONFeatureProperties - """ - - self._properties = properties - - @property - def type(self): - """Gets the type of this GeoJSONSnappingResponseFeatures. # noqa: E501 - - GeoJSON type # noqa: E501 - - :return: The type of this GeoJSONSnappingResponseFeatures. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this GeoJSONSnappingResponseFeatures. - - GeoJSON type # noqa: E501 - - :param type: The type of this GeoJSONSnappingResponseFeatures. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONSnappingResponseFeatures, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONSnappingResponseFeatures): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_snapping_response_metadata.py b/openrouteservice/models/geo_json_snapping_response_metadata.py deleted file mode 100644 index 95fc49d8..00000000 --- a/openrouteservice/models/geo_json_snapping_response_metadata.py +++ /dev/null @@ -1,276 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONSnappingResponseMetadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attribution': 'str', - 'engine': 'GeoJSONIsochronesResponseMetadataEngine', - 'osm_file_md5_hash': 'str', - 'query': 'ProfileJsonBody', - 'service': 'str', - 'system_message': 'str', - 'timestamp': 'int' - } - - attribute_map = { - 'attribution': 'attribution', - 'engine': 'engine', - 'osm_file_md5_hash': 'osm_file_md5_hash', - 'query': 'query', - 'service': 'service', - 'system_message': 'system_message', - 'timestamp': 'timestamp' - } - - def __init__(self, attribution=None, engine=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """GeoJSONSnappingResponseMetadata - a model defined in Swagger""" # noqa: E501 - self._attribution = None - self._engine = None - self._osm_file_md5_hash = None - self._query = None - self._service = None - self._system_message = None - self._timestamp = None - self.discriminator = None - if attribution is not None: - self.attribution = attribution - if engine is not None: - self.engine = engine - if osm_file_md5_hash is not None: - self.osm_file_md5_hash = osm_file_md5_hash - if query is not None: - self.query = query - if service is not None: - self.service = service - if system_message is not None: - self.system_message = system_message - if timestamp is not None: - self.timestamp = timestamp - - @property - def attribution(self): - """Gets the attribution of this GeoJSONSnappingResponseMetadata. # noqa: E501 - - Copyright and attribution information # noqa: E501 - - :return: The attribution of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :rtype: str - """ - return self._attribution - - @attribution.setter - def attribution(self, attribution): - """Sets the attribution of this GeoJSONSnappingResponseMetadata. - - Copyright and attribution information # noqa: E501 - - :param attribution: The attribution of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :type: str - """ - - self._attribution = attribution - - @property - def engine(self): - """Gets the engine of this GeoJSONSnappingResponseMetadata. # noqa: E501 - - - :return: The engine of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :rtype: GeoJSONIsochronesResponseMetadataEngine - """ - return self._engine - - @engine.setter - def engine(self, engine): - """Sets the engine of this GeoJSONSnappingResponseMetadata. - - - :param engine: The engine of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :type: GeoJSONIsochronesResponseMetadataEngine - """ - - self._engine = engine - - @property - def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this GeoJSONSnappingResponseMetadata. # noqa: E501 - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :return: The osm_file_md5_hash of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :rtype: str - """ - return self._osm_file_md5_hash - - @osm_file_md5_hash.setter - def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this GeoJSONSnappingResponseMetadata. - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :param osm_file_md5_hash: The osm_file_md5_hash of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :type: str - """ - - self._osm_file_md5_hash = osm_file_md5_hash - - @property - def query(self): - """Gets the query of this GeoJSONSnappingResponseMetadata. # noqa: E501 - - - :return: The query of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :rtype: ProfileJsonBody - """ - return self._query - - @query.setter - def query(self, query): - """Sets the query of this GeoJSONSnappingResponseMetadata. - - - :param query: The query of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :type: ProfileJsonBody - """ - - self._query = query - - @property - def service(self): - """Gets the service of this GeoJSONSnappingResponseMetadata. # noqa: E501 - - The service that was requested # noqa: E501 - - :return: The service of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :rtype: str - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this GeoJSONSnappingResponseMetadata. - - The service that was requested # noqa: E501 - - :param service: The service of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :type: str - """ - - self._service = service - - @property - def system_message(self): - """Gets the system_message of this GeoJSONSnappingResponseMetadata. # noqa: E501 - - System message # noqa: E501 - - :return: The system_message of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :rtype: str - """ - return self._system_message - - @system_message.setter - def system_message(self, system_message): - """Sets the system_message of this GeoJSONSnappingResponseMetadata. - - System message # noqa: E501 - - :param system_message: The system_message of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :type: str - """ - - self._system_message = system_message - - @property - def timestamp(self): - """Gets the timestamp of this GeoJSONSnappingResponseMetadata. # noqa: E501 - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :return: The timestamp of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this GeoJSONSnappingResponseMetadata. - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :param timestamp: The timestamp of this GeoJSONSnappingResponseMetadata. # noqa: E501 - :type: int - """ - - self._timestamp = timestamp - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONSnappingResponseMetadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONSnappingResponseMetadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/gpx.py b/openrouteservice/models/gpx.py deleted file mode 100644 index 8e1083a6..00000000 --- a/openrouteservice/models/gpx.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class Gpx(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'gpx_route_elements': 'list[object]' - } - - attribute_map = { - 'gpx_route_elements': 'gpxRouteElements' - } - - def __init__(self, gpx_route_elements=None): # noqa: E501 - """Gpx - a model defined in Swagger""" # noqa: E501 - self._gpx_route_elements = None - self.discriminator = None - if gpx_route_elements is not None: - self.gpx_route_elements = gpx_route_elements - - @property - def gpx_route_elements(self): - """Gets the gpx_route_elements of this Gpx. # noqa: E501 - - - :return: The gpx_route_elements of this Gpx. # noqa: E501 - :rtype: list[object] - """ - return self._gpx_route_elements - - @gpx_route_elements.setter - def gpx_route_elements(self, gpx_route_elements): - """Sets the gpx_route_elements of this Gpx. - - - :param gpx_route_elements: The gpx_route_elements of this Gpx. # noqa: E501 - :type: list[object] - """ - - self._gpx_route_elements = gpx_route_elements - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Gpx, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Gpx): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/graph_export_service.py b/openrouteservice/models/graph_export_service.py deleted file mode 100644 index fdd5915e..00000000 --- a/openrouteservice/models/graph_export_service.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GraphExportService(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bbox': 'list[list[float]]', - 'id': 'str' - } - - attribute_map = { - 'bbox': 'bbox', - 'id': 'id' - } - - def __init__(self, bbox=None, id=None): # noqa: E501 - """GraphExportService - a model defined in Swagger""" # noqa: E501 - self._bbox = None - self._id = None - self.discriminator = None - self.bbox = bbox - if id is not None: - self.id = id - - @property - def bbox(self): - """Gets the bbox of this GraphExportService. # noqa: E501 - - The bounding box to use for the request as an array of `longitude/latitude` pairs # noqa: E501 - - :return: The bbox of this GraphExportService. # noqa: E501 - :rtype: list[list[float]] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this GraphExportService. - - The bounding box to use for the request as an array of `longitude/latitude` pairs # noqa: E501 - - :param bbox: The bbox of this GraphExportService. # noqa: E501 - :type: list[list[float]] - """ - if bbox is None: - raise ValueError("Invalid value for `bbox`, must not be `None`") # noqa: E501 - - self._bbox = bbox - - @property - def id(self): - """Gets the id of this GraphExportService. # noqa: E501 - - Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - - :return: The id of this GraphExportService. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this GraphExportService. - - Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - - :param id: The id of this GraphExportService. # noqa: E501 - :type: str - """ - - self._id = id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GraphExportService, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GraphExportService): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2003.py b/openrouteservice/models/inline_response2003.py index 4a62703b..fdc3c2f5 100644 --- a/openrouteservice/models/inline_response2003.py +++ b/openrouteservice/models/inline_response2003.py @@ -30,7 +30,7 @@ class InlineResponse2003(object): swagger_types = { 'bbox': 'list[float]', 'features': 'list[object]', - 'metadata': 'GeoJSONRouteResponseMetadata', + 'metadata': 'InlineResponse2003Metadata', 'type': 'str' } @@ -107,7 +107,7 @@ def metadata(self): :return: The metadata of this InlineResponse2003. # noqa: E501 - :rtype: GeoJSONRouteResponseMetadata + :rtype: InlineResponse2003Metadata """ return self._metadata @@ -117,7 +117,7 @@ def metadata(self, metadata): :param metadata: The metadata of this InlineResponse2003. # noqa: E501 - :type: GeoJSONRouteResponseMetadata + :type: InlineResponse2003Metadata """ self._metadata = metadata diff --git a/openrouteservice/models/geo_json_route_response_metadata.py b/openrouteservice/models/inline_response2003_metadata.py similarity index 71% rename from openrouteservice/models/geo_json_route_response_metadata.py rename to openrouteservice/models/inline_response2003_metadata.py index 4059c54d..9d19a48a 100644 --- a/openrouteservice/models/geo_json_route_response_metadata.py +++ b/openrouteservice/models/inline_response2003_metadata.py @@ -15,7 +15,7 @@ import six -class GeoJSONRouteResponseMetadata(object): +class InlineResponse2003Metadata(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -29,7 +29,7 @@ class GeoJSONRouteResponseMetadata(object): """ swagger_types = { 'attribution': 'str', - 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'engine': 'InlineResponse2005MetadataEngine', 'id': 'str', 'osm_file_md5_hash': 'str', 'query': 'DirectionsService1', @@ -50,7 +50,7 @@ class GeoJSONRouteResponseMetadata(object): } def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """GeoJSONRouteResponseMetadata - a model defined in Swagger""" # noqa: E501 + """InlineResponse2003Metadata - a model defined in Swagger""" # noqa: E501 self._attribution = None self._engine = None self._id = None @@ -79,22 +79,22 @@ def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=Non @property def attribution(self): - """Gets the attribution of this GeoJSONRouteResponseMetadata. # noqa: E501 + """Gets the attribution of this InlineResponse2003Metadata. # noqa: E501 Copyright and attribution information # noqa: E501 - :return: The attribution of this GeoJSONRouteResponseMetadata. # noqa: E501 + :return: The attribution of this InlineResponse2003Metadata. # noqa: E501 :rtype: str """ return self._attribution @attribution.setter def attribution(self, attribution): - """Sets the attribution of this GeoJSONRouteResponseMetadata. + """Sets the attribution of this InlineResponse2003Metadata. Copyright and attribution information # noqa: E501 - :param attribution: The attribution of this GeoJSONRouteResponseMetadata. # noqa: E501 + :param attribution: The attribution of this InlineResponse2003Metadata. # noqa: E501 :type: str """ @@ -102,43 +102,43 @@ def attribution(self, attribution): @property def engine(self): - """Gets the engine of this GeoJSONRouteResponseMetadata. # noqa: E501 + """Gets the engine of this InlineResponse2003Metadata. # noqa: E501 - :return: The engine of this GeoJSONRouteResponseMetadata. # noqa: E501 - :rtype: GeoJSONIsochronesResponseMetadataEngine + :return: The engine of this InlineResponse2003Metadata. # noqa: E501 + :rtype: InlineResponse2005MetadataEngine """ return self._engine @engine.setter def engine(self, engine): - """Sets the engine of this GeoJSONRouteResponseMetadata. + """Sets the engine of this InlineResponse2003Metadata. - :param engine: The engine of this GeoJSONRouteResponseMetadata. # noqa: E501 - :type: GeoJSONIsochronesResponseMetadataEngine + :param engine: The engine of this InlineResponse2003Metadata. # noqa: E501 + :type: InlineResponse2005MetadataEngine """ self._engine = engine @property def id(self): - """Gets the id of this GeoJSONRouteResponseMetadata. # noqa: E501 + """Gets the id of this InlineResponse2003Metadata. # noqa: E501 ID of the request (as passed in by the query) # noqa: E501 - :return: The id of this GeoJSONRouteResponseMetadata. # noqa: E501 + :return: The id of this InlineResponse2003Metadata. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): - """Sets the id of this GeoJSONRouteResponseMetadata. + """Sets the id of this InlineResponse2003Metadata. ID of the request (as passed in by the query) # noqa: E501 - :param id: The id of this GeoJSONRouteResponseMetadata. # noqa: E501 + :param id: The id of this InlineResponse2003Metadata. # noqa: E501 :type: str """ @@ -146,22 +146,22 @@ def id(self, id): @property def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this GeoJSONRouteResponseMetadata. # noqa: E501 + """Gets the osm_file_md5_hash of this InlineResponse2003Metadata. # noqa: E501 The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - :return: The osm_file_md5_hash of this GeoJSONRouteResponseMetadata. # noqa: E501 + :return: The osm_file_md5_hash of this InlineResponse2003Metadata. # noqa: E501 :rtype: str """ return self._osm_file_md5_hash @osm_file_md5_hash.setter def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this GeoJSONRouteResponseMetadata. + """Sets the osm_file_md5_hash of this InlineResponse2003Metadata. The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - :param osm_file_md5_hash: The osm_file_md5_hash of this GeoJSONRouteResponseMetadata. # noqa: E501 + :param osm_file_md5_hash: The osm_file_md5_hash of this InlineResponse2003Metadata. # noqa: E501 :type: str """ @@ -169,20 +169,20 @@ def osm_file_md5_hash(self, osm_file_md5_hash): @property def query(self): - """Gets the query of this GeoJSONRouteResponseMetadata. # noqa: E501 + """Gets the query of this InlineResponse2003Metadata. # noqa: E501 - :return: The query of this GeoJSONRouteResponseMetadata. # noqa: E501 + :return: The query of this InlineResponse2003Metadata. # noqa: E501 :rtype: DirectionsService1 """ return self._query @query.setter def query(self, query): - """Sets the query of this GeoJSONRouteResponseMetadata. + """Sets the query of this InlineResponse2003Metadata. - :param query: The query of this GeoJSONRouteResponseMetadata. # noqa: E501 + :param query: The query of this InlineResponse2003Metadata. # noqa: E501 :type: DirectionsService1 """ @@ -190,22 +190,22 @@ def query(self, query): @property def service(self): - """Gets the service of this GeoJSONRouteResponseMetadata. # noqa: E501 + """Gets the service of this InlineResponse2003Metadata. # noqa: E501 The service that was requested # noqa: E501 - :return: The service of this GeoJSONRouteResponseMetadata. # noqa: E501 + :return: The service of this InlineResponse2003Metadata. # noqa: E501 :rtype: str """ return self._service @service.setter def service(self, service): - """Sets the service of this GeoJSONRouteResponseMetadata. + """Sets the service of this InlineResponse2003Metadata. The service that was requested # noqa: E501 - :param service: The service of this GeoJSONRouteResponseMetadata. # noqa: E501 + :param service: The service of this InlineResponse2003Metadata. # noqa: E501 :type: str """ @@ -213,22 +213,22 @@ def service(self, service): @property def system_message(self): - """Gets the system_message of this GeoJSONRouteResponseMetadata. # noqa: E501 + """Gets the system_message of this InlineResponse2003Metadata. # noqa: E501 System message # noqa: E501 - :return: The system_message of this GeoJSONRouteResponseMetadata. # noqa: E501 + :return: The system_message of this InlineResponse2003Metadata. # noqa: E501 :rtype: str """ return self._system_message @system_message.setter def system_message(self, system_message): - """Sets the system_message of this GeoJSONRouteResponseMetadata. + """Sets the system_message of this InlineResponse2003Metadata. System message # noqa: E501 - :param system_message: The system_message of this GeoJSONRouteResponseMetadata. # noqa: E501 + :param system_message: The system_message of this InlineResponse2003Metadata. # noqa: E501 :type: str """ @@ -236,22 +236,22 @@ def system_message(self, system_message): @property def timestamp(self): - """Gets the timestamp of this GeoJSONRouteResponseMetadata. # noqa: E501 + """Gets the timestamp of this InlineResponse2003Metadata. # noqa: E501 Time that the request was made (UNIX Epoch time) # noqa: E501 - :return: The timestamp of this GeoJSONRouteResponseMetadata. # noqa: E501 + :return: The timestamp of this InlineResponse2003Metadata. # noqa: E501 :rtype: int """ return self._timestamp @timestamp.setter def timestamp(self, timestamp): - """Sets the timestamp of this GeoJSONRouteResponseMetadata. + """Sets the timestamp of this InlineResponse2003Metadata. Time that the request was made (UNIX Epoch time) # noqa: E501 - :param timestamp: The timestamp of this GeoJSONRouteResponseMetadata. # noqa: E501 + :param timestamp: The timestamp of this InlineResponse2003Metadata. # noqa: E501 :type: int """ @@ -278,7 +278,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(GeoJSONRouteResponseMetadata, dict): + if issubclass(InlineResponse2003Metadata, dict): for key, value in self.items(): result[key] = value @@ -294,7 +294,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONRouteResponseMetadata): + if not isinstance(other, InlineResponse2003Metadata): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/inline_response2004.py b/openrouteservice/models/inline_response2004.py index b7afce4e..710d8ba3 100644 --- a/openrouteservice/models/inline_response2004.py +++ b/openrouteservice/models/inline_response2004.py @@ -29,8 +29,8 @@ class InlineResponse2004(object): """ swagger_types = { 'bbox': 'list[float]', - 'metadata': 'GeoJSONRouteResponseMetadata', - 'routes': 'list[JSONRouteResponseRoutes]' + 'metadata': 'InlineResponse2003Metadata', + 'routes': 'list[InlineResponse2004Routes]' } attribute_map = { @@ -81,7 +81,7 @@ def metadata(self): :return: The metadata of this InlineResponse2004. # noqa: E501 - :rtype: GeoJSONRouteResponseMetadata + :rtype: InlineResponse2003Metadata """ return self._metadata @@ -91,7 +91,7 @@ def metadata(self, metadata): :param metadata: The metadata of this InlineResponse2004. # noqa: E501 - :type: GeoJSONRouteResponseMetadata + :type: InlineResponse2003Metadata """ self._metadata = metadata @@ -103,7 +103,7 @@ def routes(self): A list of routes returned from the request # noqa: E501 :return: The routes of this InlineResponse2004. # noqa: E501 - :rtype: list[JSONRouteResponseRoutes] + :rtype: list[InlineResponse2004Routes] """ return self._routes @@ -114,7 +114,7 @@ def routes(self, routes): A list of routes returned from the request # noqa: E501 :param routes: The routes of this InlineResponse2004. # noqa: E501 - :type: list[JSONRouteResponseRoutes] + :type: list[InlineResponse2004Routes] """ self._routes = routes diff --git a/openrouteservice/models/json_extra.py b/openrouteservice/models/inline_response2004_extras.py similarity index 80% rename from openrouteservice/models/json_extra.py rename to openrouteservice/models/inline_response2004_extras.py index 1a6c8549..baed8624 100644 --- a/openrouteservice/models/json_extra.py +++ b/openrouteservice/models/inline_response2004_extras.py @@ -15,7 +15,7 @@ import six -class JSONExtra(object): +class InlineResponse2004Extras(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -28,7 +28,7 @@ class JSONExtra(object): and the value is json key in definition. """ swagger_types = { - 'summary': 'list[JSONExtraSummary]', + 'summary': 'list[InlineResponse2004Summary]', 'values': 'list[list[int]]' } @@ -38,7 +38,7 @@ class JSONExtra(object): } def __init__(self, summary=None, values=None): # noqa: E501 - """JSONExtra - a model defined in Swagger""" # noqa: E501 + """InlineResponse2004Extras - a model defined in Swagger""" # noqa: E501 self._summary = None self._values = None self.discriminator = None @@ -49,45 +49,45 @@ def __init__(self, summary=None, values=None): # noqa: E501 @property def summary(self): - """Gets the summary of this JSONExtra. # noqa: E501 + """Gets the summary of this InlineResponse2004Extras. # noqa: E501 List representing the summary of the extra info items. # noqa: E501 - :return: The summary of this JSONExtra. # noqa: E501 - :rtype: list[JSONExtraSummary] + :return: The summary of this InlineResponse2004Extras. # noqa: E501 + :rtype: list[InlineResponse2004Summary] """ return self._summary @summary.setter def summary(self, summary): - """Sets the summary of this JSONExtra. + """Sets the summary of this InlineResponse2004Extras. List representing the summary of the extra info items. # noqa: E501 - :param summary: The summary of this JSONExtra. # noqa: E501 - :type: list[JSONExtraSummary] + :param summary: The summary of this InlineResponse2004Extras. # noqa: E501 + :type: list[InlineResponse2004Summary] """ self._summary = summary @property def values(self): - """Gets the values of this JSONExtra. # noqa: E501 + """Gets the values of this InlineResponse2004Extras. # noqa: E501 A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. # noqa: E501 - :return: The values of this JSONExtra. # noqa: E501 + :return: The values of this InlineResponse2004Extras. # noqa: E501 :rtype: list[list[int]] """ return self._values @values.setter def values(self, values): - """Sets the values of this JSONExtra. + """Sets the values of this InlineResponse2004Extras. A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. # noqa: E501 - :param values: The values of this JSONExtra. # noqa: E501 + :param values: The values of this InlineResponse2004Extras. # noqa: E501 :type: list[list[int]] """ @@ -114,7 +114,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(JSONExtra, dict): + if issubclass(InlineResponse2004Extras, dict): for key, value in self.items(): result[key] = value @@ -130,7 +130,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, JSONExtra): + if not isinstance(other, InlineResponse2004Extras): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/json_step.py b/openrouteservice/models/inline_response2004_instructions.py similarity index 69% rename from openrouteservice/models/json_step.py rename to openrouteservice/models/inline_response2004_instructions.py index 219c5323..46dca263 100644 --- a/openrouteservice/models/json_step.py +++ b/openrouteservice/models/inline_response2004_instructions.py @@ -15,7 +15,7 @@ import six -class JSONStep(object): +class InlineResponse2004Instructions(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -33,7 +33,7 @@ class JSONStep(object): 'exit_bearings': 'list[int]', 'exit_number': 'int', 'instruction': 'str', - 'maneuver': 'JSONIndividualRouteResponseManeuver', + 'maneuver': 'InlineResponse2004Maneuver', 'name': 'str', 'type': 'int', 'way_points': 'list[int]' @@ -52,7 +52,7 @@ class JSONStep(object): } def __init__(self, distance=None, duration=None, exit_bearings=None, exit_number=None, instruction=None, maneuver=None, name=None, type=None, way_points=None): # noqa: E501 - """JSONStep - a model defined in Swagger""" # noqa: E501 + """InlineResponse2004Instructions - a model defined in Swagger""" # noqa: E501 self._distance = None self._duration = None self._exit_bearings = None @@ -84,22 +84,22 @@ def __init__(self, distance=None, duration=None, exit_bearings=None, exit_number @property def distance(self): - """Gets the distance of this JSONStep. # noqa: E501 + """Gets the distance of this InlineResponse2004Instructions. # noqa: E501 The distance for the step in metres. # noqa: E501 - :return: The distance of this JSONStep. # noqa: E501 + :return: The distance of this InlineResponse2004Instructions. # noqa: E501 :rtype: float """ return self._distance @distance.setter def distance(self, distance): - """Sets the distance of this JSONStep. + """Sets the distance of this InlineResponse2004Instructions. The distance for the step in metres. # noqa: E501 - :param distance: The distance of this JSONStep. # noqa: E501 + :param distance: The distance of this InlineResponse2004Instructions. # noqa: E501 :type: float """ @@ -107,22 +107,22 @@ def distance(self, distance): @property def duration(self): - """Gets the duration of this JSONStep. # noqa: E501 + """Gets the duration of this InlineResponse2004Instructions. # noqa: E501 The duration for the step in seconds. # noqa: E501 - :return: The duration of this JSONStep. # noqa: E501 + :return: The duration of this InlineResponse2004Instructions. # noqa: E501 :rtype: float """ return self._duration @duration.setter def duration(self, duration): - """Sets the duration of this JSONStep. + """Sets the duration of this InlineResponse2004Instructions. The duration for the step in seconds. # noqa: E501 - :param duration: The duration of this JSONStep. # noqa: E501 + :param duration: The duration of this InlineResponse2004Instructions. # noqa: E501 :type: float """ @@ -130,22 +130,22 @@ def duration(self, duration): @property def exit_bearings(self): - """Gets the exit_bearings of this JSONStep. # noqa: E501 + """Gets the exit_bearings of this InlineResponse2004Instructions. # noqa: E501 Contains the bearing of the entrance and all passed exits in a roundabout. # noqa: E501 - :return: The exit_bearings of this JSONStep. # noqa: E501 + :return: The exit_bearings of this InlineResponse2004Instructions. # noqa: E501 :rtype: list[int] """ return self._exit_bearings @exit_bearings.setter def exit_bearings(self, exit_bearings): - """Sets the exit_bearings of this JSONStep. + """Sets the exit_bearings of this InlineResponse2004Instructions. Contains the bearing of the entrance and all passed exits in a roundabout. # noqa: E501 - :param exit_bearings: The exit_bearings of this JSONStep. # noqa: E501 + :param exit_bearings: The exit_bearings of this InlineResponse2004Instructions. # noqa: E501 :type: list[int] """ @@ -153,22 +153,22 @@ def exit_bearings(self, exit_bearings): @property def exit_number(self): - """Gets the exit_number of this JSONStep. # noqa: E501 + """Gets the exit_number of this InlineResponse2004Instructions. # noqa: E501 Only for roundabouts. Contains the number of the exit to take. # noqa: E501 - :return: The exit_number of this JSONStep. # noqa: E501 + :return: The exit_number of this InlineResponse2004Instructions. # noqa: E501 :rtype: int """ return self._exit_number @exit_number.setter def exit_number(self, exit_number): - """Sets the exit_number of this JSONStep. + """Sets the exit_number of this InlineResponse2004Instructions. Only for roundabouts. Contains the number of the exit to take. # noqa: E501 - :param exit_number: The exit_number of this JSONStep. # noqa: E501 + :param exit_number: The exit_number of this InlineResponse2004Instructions. # noqa: E501 :type: int """ @@ -176,22 +176,22 @@ def exit_number(self, exit_number): @property def instruction(self): - """Gets the instruction of this JSONStep. # noqa: E501 + """Gets the instruction of this InlineResponse2004Instructions. # noqa: E501 The routing instruction text for the step. # noqa: E501 - :return: The instruction of this JSONStep. # noqa: E501 + :return: The instruction of this InlineResponse2004Instructions. # noqa: E501 :rtype: str """ return self._instruction @instruction.setter def instruction(self, instruction): - """Sets the instruction of this JSONStep. + """Sets the instruction of this InlineResponse2004Instructions. The routing instruction text for the step. # noqa: E501 - :param instruction: The instruction of this JSONStep. # noqa: E501 + :param instruction: The instruction of this InlineResponse2004Instructions. # noqa: E501 :type: str """ @@ -199,43 +199,43 @@ def instruction(self, instruction): @property def maneuver(self): - """Gets the maneuver of this JSONStep. # noqa: E501 + """Gets the maneuver of this InlineResponse2004Instructions. # noqa: E501 - :return: The maneuver of this JSONStep. # noqa: E501 - :rtype: JSONIndividualRouteResponseManeuver + :return: The maneuver of this InlineResponse2004Instructions. # noqa: E501 + :rtype: InlineResponse2004Maneuver """ return self._maneuver @maneuver.setter def maneuver(self, maneuver): - """Sets the maneuver of this JSONStep. + """Sets the maneuver of this InlineResponse2004Instructions. - :param maneuver: The maneuver of this JSONStep. # noqa: E501 - :type: JSONIndividualRouteResponseManeuver + :param maneuver: The maneuver of this InlineResponse2004Instructions. # noqa: E501 + :type: InlineResponse2004Maneuver """ self._maneuver = maneuver @property def name(self): - """Gets the name of this JSONStep. # noqa: E501 + """Gets the name of this InlineResponse2004Instructions. # noqa: E501 The name of the next street. # noqa: E501 - :return: The name of this JSONStep. # noqa: E501 + :return: The name of this InlineResponse2004Instructions. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this JSONStep. + """Sets the name of this InlineResponse2004Instructions. The name of the next street. # noqa: E501 - :param name: The name of this JSONStep. # noqa: E501 + :param name: The name of this InlineResponse2004Instructions. # noqa: E501 :type: str """ @@ -243,22 +243,22 @@ def name(self, name): @property def type(self): - """Gets the type of this JSONStep. # noqa: E501 + """Gets the type of this InlineResponse2004Instructions. # noqa: E501 The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. # noqa: E501 - :return: The type of this JSONStep. # noqa: E501 + :return: The type of this InlineResponse2004Instructions. # noqa: E501 :rtype: int """ return self._type @type.setter def type(self, type): - """Sets the type of this JSONStep. + """Sets the type of this InlineResponse2004Instructions. The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. # noqa: E501 - :param type: The type of this JSONStep. # noqa: E501 + :param type: The type of this InlineResponse2004Instructions. # noqa: E501 :type: int """ @@ -266,22 +266,22 @@ def type(self, type): @property def way_points(self): - """Gets the way_points of this JSONStep. # noqa: E501 + """Gets the way_points of this InlineResponse2004Instructions. # noqa: E501 List containing the indices of the steps start- and endpoint corresponding to the *geometry*. # noqa: E501 - :return: The way_points of this JSONStep. # noqa: E501 + :return: The way_points of this InlineResponse2004Instructions. # noqa: E501 :rtype: list[int] """ return self._way_points @way_points.setter def way_points(self, way_points): - """Sets the way_points of this JSONStep. + """Sets the way_points of this InlineResponse2004Instructions. List containing the indices of the steps start- and endpoint corresponding to the *geometry*. # noqa: E501 - :param way_points: The way_points of this JSONStep. # noqa: E501 + :param way_points: The way_points of this InlineResponse2004Instructions. # noqa: E501 :type: list[int] """ @@ -308,7 +308,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(JSONStep, dict): + if issubclass(InlineResponse2004Instructions, dict): for key, value in self.items(): result[key] = value @@ -324,7 +324,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, JSONStep): + if not isinstance(other, InlineResponse2004Instructions): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/json_leg.py b/openrouteservice/models/inline_response2004_legs.py similarity index 68% rename from openrouteservice/models/json_leg.py rename to openrouteservice/models/inline_response2004_legs.py index b3fc3f88..2984ea70 100644 --- a/openrouteservice/models/json_leg.py +++ b/openrouteservice/models/inline_response2004_legs.py @@ -15,7 +15,7 @@ import six -class JSONLeg(object): +class InlineResponse2004Legs(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -35,14 +35,14 @@ class JSONLeg(object): 'duration': 'float', 'feed_id': 'str', 'geometry': 'str', - 'instructions': 'list[JSONIndividualRouteResponseInstructions]', + 'instructions': 'list[InlineResponse2004Instructions]', 'is_in_same_vehicle_as_previous': 'bool', 'route_desc': 'str', 'route_id': 'str', 'route_long_name': 'str', 'route_short_name': 'str', 'route_type': 'int', - 'stops': 'list[JSONIndividualRouteResponseStops]', + 'stops': 'list[InlineResponse2004Stops]', 'trip_headsign': 'str', 'trip_id': 'str', 'type': 'str' @@ -70,7 +70,7 @@ class JSONLeg(object): } def __init__(self, arrival=None, departure=None, departure_location=None, distance=None, duration=None, feed_id=None, geometry=None, instructions=None, is_in_same_vehicle_as_previous=None, route_desc=None, route_id=None, route_long_name=None, route_short_name=None, route_type=None, stops=None, trip_headsign=None, trip_id=None, type=None): # noqa: E501 - """JSONLeg - a model defined in Swagger""" # noqa: E501 + """InlineResponse2004Legs - a model defined in Swagger""" # noqa: E501 self._arrival = None self._departure = None self._departure_location = None @@ -129,22 +129,22 @@ def __init__(self, arrival=None, departure=None, departure_location=None, distan @property def arrival(self): - """Gets the arrival of this JSONLeg. # noqa: E501 + """Gets the arrival of this InlineResponse2004Legs. # noqa: E501 Arrival date and time # noqa: E501 - :return: The arrival of this JSONLeg. # noqa: E501 + :return: The arrival of this InlineResponse2004Legs. # noqa: E501 :rtype: datetime """ return self._arrival @arrival.setter def arrival(self, arrival): - """Sets the arrival of this JSONLeg. + """Sets the arrival of this InlineResponse2004Legs. Arrival date and time # noqa: E501 - :param arrival: The arrival of this JSONLeg. # noqa: E501 + :param arrival: The arrival of this InlineResponse2004Legs. # noqa: E501 :type: datetime """ @@ -152,22 +152,22 @@ def arrival(self, arrival): @property def departure(self): - """Gets the departure of this JSONLeg. # noqa: E501 + """Gets the departure of this InlineResponse2004Legs. # noqa: E501 Departure date and time # noqa: E501 - :return: The departure of this JSONLeg. # noqa: E501 + :return: The departure of this InlineResponse2004Legs. # noqa: E501 :rtype: datetime """ return self._departure @departure.setter def departure(self, departure): - """Sets the departure of this JSONLeg. + """Sets the departure of this InlineResponse2004Legs. Departure date and time # noqa: E501 - :param departure: The departure of this JSONLeg. # noqa: E501 + :param departure: The departure of this InlineResponse2004Legs. # noqa: E501 :type: datetime """ @@ -175,22 +175,22 @@ def departure(self, departure): @property def departure_location(self): - """Gets the departure_location of this JSONLeg. # noqa: E501 + """Gets the departure_location of this InlineResponse2004Legs. # noqa: E501 The departure location of the leg. # noqa: E501 - :return: The departure_location of this JSONLeg. # noqa: E501 + :return: The departure_location of this InlineResponse2004Legs. # noqa: E501 :rtype: str """ return self._departure_location @departure_location.setter def departure_location(self, departure_location): - """Sets the departure_location of this JSONLeg. + """Sets the departure_location of this InlineResponse2004Legs. The departure location of the leg. # noqa: E501 - :param departure_location: The departure_location of this JSONLeg. # noqa: E501 + :param departure_location: The departure_location of this InlineResponse2004Legs. # noqa: E501 :type: str """ @@ -198,22 +198,22 @@ def departure_location(self, departure_location): @property def distance(self): - """Gets the distance of this JSONLeg. # noqa: E501 + """Gets the distance of this InlineResponse2004Legs. # noqa: E501 The distance for the leg in metres. # noqa: E501 - :return: The distance of this JSONLeg. # noqa: E501 + :return: The distance of this InlineResponse2004Legs. # noqa: E501 :rtype: float """ return self._distance @distance.setter def distance(self, distance): - """Sets the distance of this JSONLeg. + """Sets the distance of this InlineResponse2004Legs. The distance for the leg in metres. # noqa: E501 - :param distance: The distance of this JSONLeg. # noqa: E501 + :param distance: The distance of this InlineResponse2004Legs. # noqa: E501 :type: float """ @@ -221,22 +221,22 @@ def distance(self, distance): @property def duration(self): - """Gets the duration of this JSONLeg. # noqa: E501 + """Gets the duration of this InlineResponse2004Legs. # noqa: E501 The duration for the leg in seconds. # noqa: E501 - :return: The duration of this JSONLeg. # noqa: E501 + :return: The duration of this InlineResponse2004Legs. # noqa: E501 :rtype: float """ return self._duration @duration.setter def duration(self, duration): - """Sets the duration of this JSONLeg. + """Sets the duration of this InlineResponse2004Legs. The duration for the leg in seconds. # noqa: E501 - :param duration: The duration of this JSONLeg. # noqa: E501 + :param duration: The duration of this InlineResponse2004Legs. # noqa: E501 :type: float """ @@ -244,22 +244,22 @@ def duration(self, duration): @property def feed_id(self): - """Gets the feed_id of this JSONLeg. # noqa: E501 + """Gets the feed_id of this InlineResponse2004Legs. # noqa: E501 The feed ID this public transport leg based its information from. # noqa: E501 - :return: The feed_id of this JSONLeg. # noqa: E501 + :return: The feed_id of this InlineResponse2004Legs. # noqa: E501 :rtype: str """ return self._feed_id @feed_id.setter def feed_id(self, feed_id): - """Sets the feed_id of this JSONLeg. + """Sets the feed_id of this InlineResponse2004Legs. The feed ID this public transport leg based its information from. # noqa: E501 - :param feed_id: The feed_id of this JSONLeg. # noqa: E501 + :param feed_id: The feed_id of this InlineResponse2004Legs. # noqa: E501 :type: str """ @@ -267,22 +267,22 @@ def feed_id(self, feed_id): @property def geometry(self): - """Gets the geometry of this JSONLeg. # noqa: E501 + """Gets the geometry of this InlineResponse2004Legs. # noqa: E501 The geometry of the leg. This is an encoded polyline. # noqa: E501 - :return: The geometry of this JSONLeg. # noqa: E501 + :return: The geometry of this InlineResponse2004Legs. # noqa: E501 :rtype: str """ return self._geometry @geometry.setter def geometry(self, geometry): - """Sets the geometry of this JSONLeg. + """Sets the geometry of this InlineResponse2004Legs. The geometry of the leg. This is an encoded polyline. # noqa: E501 - :param geometry: The geometry of this JSONLeg. # noqa: E501 + :param geometry: The geometry of this InlineResponse2004Legs. # noqa: E501 :type: str """ @@ -290,45 +290,45 @@ def geometry(self, geometry): @property def instructions(self): - """Gets the instructions of this JSONLeg. # noqa: E501 + """Gets the instructions of this InlineResponse2004Legs. # noqa: E501 List containing the specific steps the segment consists of. # noqa: E501 - :return: The instructions of this JSONLeg. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseInstructions] + :return: The instructions of this InlineResponse2004Legs. # noqa: E501 + :rtype: list[InlineResponse2004Instructions] """ return self._instructions @instructions.setter def instructions(self, instructions): - """Sets the instructions of this JSONLeg. + """Sets the instructions of this InlineResponse2004Legs. List containing the specific steps the segment consists of. # noqa: E501 - :param instructions: The instructions of this JSONLeg. # noqa: E501 - :type: list[JSONIndividualRouteResponseInstructions] + :param instructions: The instructions of this InlineResponse2004Legs. # noqa: E501 + :type: list[InlineResponse2004Instructions] """ self._instructions = instructions @property def is_in_same_vehicle_as_previous(self): - """Gets the is_in_same_vehicle_as_previous of this JSONLeg. # noqa: E501 + """Gets the is_in_same_vehicle_as_previous of this InlineResponse2004Legs. # noqa: E501 Whether the legs continues in the same vehicle as the previous one. # noqa: E501 - :return: The is_in_same_vehicle_as_previous of this JSONLeg. # noqa: E501 + :return: The is_in_same_vehicle_as_previous of this InlineResponse2004Legs. # noqa: E501 :rtype: bool """ return self._is_in_same_vehicle_as_previous @is_in_same_vehicle_as_previous.setter def is_in_same_vehicle_as_previous(self, is_in_same_vehicle_as_previous): - """Sets the is_in_same_vehicle_as_previous of this JSONLeg. + """Sets the is_in_same_vehicle_as_previous of this InlineResponse2004Legs. Whether the legs continues in the same vehicle as the previous one. # noqa: E501 - :param is_in_same_vehicle_as_previous: The is_in_same_vehicle_as_previous of this JSONLeg. # noqa: E501 + :param is_in_same_vehicle_as_previous: The is_in_same_vehicle_as_previous of this InlineResponse2004Legs. # noqa: E501 :type: bool """ @@ -336,22 +336,22 @@ def is_in_same_vehicle_as_previous(self, is_in_same_vehicle_as_previous): @property def route_desc(self): - """Gets the route_desc of this JSONLeg. # noqa: E501 + """Gets the route_desc of this InlineResponse2004Legs. # noqa: E501 The route description of the leg (if provided in the GTFS data set). # noqa: E501 - :return: The route_desc of this JSONLeg. # noqa: E501 + :return: The route_desc of this InlineResponse2004Legs. # noqa: E501 :rtype: str """ return self._route_desc @route_desc.setter def route_desc(self, route_desc): - """Sets the route_desc of this JSONLeg. + """Sets the route_desc of this InlineResponse2004Legs. The route description of the leg (if provided in the GTFS data set). # noqa: E501 - :param route_desc: The route_desc of this JSONLeg. # noqa: E501 + :param route_desc: The route_desc of this InlineResponse2004Legs. # noqa: E501 :type: str """ @@ -359,22 +359,22 @@ def route_desc(self, route_desc): @property def route_id(self): - """Gets the route_id of this JSONLeg. # noqa: E501 + """Gets the route_id of this InlineResponse2004Legs. # noqa: E501 The route ID of this public transport leg. # noqa: E501 - :return: The route_id of this JSONLeg. # noqa: E501 + :return: The route_id of this InlineResponse2004Legs. # noqa: E501 :rtype: str """ return self._route_id @route_id.setter def route_id(self, route_id): - """Sets the route_id of this JSONLeg. + """Sets the route_id of this InlineResponse2004Legs. The route ID of this public transport leg. # noqa: E501 - :param route_id: The route_id of this JSONLeg. # noqa: E501 + :param route_id: The route_id of this InlineResponse2004Legs. # noqa: E501 :type: str """ @@ -382,22 +382,22 @@ def route_id(self, route_id): @property def route_long_name(self): - """Gets the route_long_name of this JSONLeg. # noqa: E501 + """Gets the route_long_name of this InlineResponse2004Legs. # noqa: E501 The public transport route name of the leg. # noqa: E501 - :return: The route_long_name of this JSONLeg. # noqa: E501 + :return: The route_long_name of this InlineResponse2004Legs. # noqa: E501 :rtype: str """ return self._route_long_name @route_long_name.setter def route_long_name(self, route_long_name): - """Sets the route_long_name of this JSONLeg. + """Sets the route_long_name of this InlineResponse2004Legs. The public transport route name of the leg. # noqa: E501 - :param route_long_name: The route_long_name of this JSONLeg. # noqa: E501 + :param route_long_name: The route_long_name of this InlineResponse2004Legs. # noqa: E501 :type: str """ @@ -405,22 +405,22 @@ def route_long_name(self, route_long_name): @property def route_short_name(self): - """Gets the route_short_name of this JSONLeg. # noqa: E501 + """Gets the route_short_name of this InlineResponse2004Legs. # noqa: E501 The public transport route name (short version) of the leg. # noqa: E501 - :return: The route_short_name of this JSONLeg. # noqa: E501 + :return: The route_short_name of this InlineResponse2004Legs. # noqa: E501 :rtype: str """ return self._route_short_name @route_short_name.setter def route_short_name(self, route_short_name): - """Sets the route_short_name of this JSONLeg. + """Sets the route_short_name of this InlineResponse2004Legs. The public transport route name (short version) of the leg. # noqa: E501 - :param route_short_name: The route_short_name of this JSONLeg. # noqa: E501 + :param route_short_name: The route_short_name of this InlineResponse2004Legs. # noqa: E501 :type: str """ @@ -428,22 +428,22 @@ def route_short_name(self, route_short_name): @property def route_type(self): - """Gets the route_type of this JSONLeg. # noqa: E501 + """Gets the route_type of this InlineResponse2004Legs. # noqa: E501 The route type of the leg (if provided in the GTFS data set). # noqa: E501 - :return: The route_type of this JSONLeg. # noqa: E501 + :return: The route_type of this InlineResponse2004Legs. # noqa: E501 :rtype: int """ return self._route_type @route_type.setter def route_type(self, route_type): - """Sets the route_type of this JSONLeg. + """Sets the route_type of this InlineResponse2004Legs. The route type of the leg (if provided in the GTFS data set). # noqa: E501 - :param route_type: The route_type of this JSONLeg. # noqa: E501 + :param route_type: The route_type of this InlineResponse2004Legs. # noqa: E501 :type: int """ @@ -451,45 +451,45 @@ def route_type(self, route_type): @property def stops(self): - """Gets the stops of this JSONLeg. # noqa: E501 + """Gets the stops of this InlineResponse2004Legs. # noqa: E501 List containing the stops the along the leg. # noqa: E501 - :return: The stops of this JSONLeg. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseStops] + :return: The stops of this InlineResponse2004Legs. # noqa: E501 + :rtype: list[InlineResponse2004Stops] """ return self._stops @stops.setter def stops(self, stops): - """Sets the stops of this JSONLeg. + """Sets the stops of this InlineResponse2004Legs. List containing the stops the along the leg. # noqa: E501 - :param stops: The stops of this JSONLeg. # noqa: E501 - :type: list[JSONIndividualRouteResponseStops] + :param stops: The stops of this InlineResponse2004Legs. # noqa: E501 + :type: list[InlineResponse2004Stops] """ self._stops = stops @property def trip_headsign(self): - """Gets the trip_headsign of this JSONLeg. # noqa: E501 + """Gets the trip_headsign of this InlineResponse2004Legs. # noqa: E501 The headsign of the public transport vehicle of the leg. # noqa: E501 - :return: The trip_headsign of this JSONLeg. # noqa: E501 + :return: The trip_headsign of this InlineResponse2004Legs. # noqa: E501 :rtype: str """ return self._trip_headsign @trip_headsign.setter def trip_headsign(self, trip_headsign): - """Sets the trip_headsign of this JSONLeg. + """Sets the trip_headsign of this InlineResponse2004Legs. The headsign of the public transport vehicle of the leg. # noqa: E501 - :param trip_headsign: The trip_headsign of this JSONLeg. # noqa: E501 + :param trip_headsign: The trip_headsign of this InlineResponse2004Legs. # noqa: E501 :type: str """ @@ -497,22 +497,22 @@ def trip_headsign(self, trip_headsign): @property def trip_id(self): - """Gets the trip_id of this JSONLeg. # noqa: E501 + """Gets the trip_id of this InlineResponse2004Legs. # noqa: E501 The trip ID of this public transport leg. # noqa: E501 - :return: The trip_id of this JSONLeg. # noqa: E501 + :return: The trip_id of this InlineResponse2004Legs. # noqa: E501 :rtype: str """ return self._trip_id @trip_id.setter def trip_id(self, trip_id): - """Sets the trip_id of this JSONLeg. + """Sets the trip_id of this InlineResponse2004Legs. The trip ID of this public transport leg. # noqa: E501 - :param trip_id: The trip_id of this JSONLeg. # noqa: E501 + :param trip_id: The trip_id of this InlineResponse2004Legs. # noqa: E501 :type: str """ @@ -520,22 +520,22 @@ def trip_id(self, trip_id): @property def type(self): - """Gets the type of this JSONLeg. # noqa: E501 + """Gets the type of this InlineResponse2004Legs. # noqa: E501 The type of the leg, possible values are currently 'walk' and 'pt'. # noqa: E501 - :return: The type of this JSONLeg. # noqa: E501 + :return: The type of this InlineResponse2004Legs. # noqa: E501 :rtype: str """ return self._type @type.setter def type(self, type): - """Sets the type of this JSONLeg. + """Sets the type of this InlineResponse2004Legs. The type of the leg, possible values are currently 'walk' and 'pt'. # noqa: E501 - :param type: The type of this JSONLeg. # noqa: E501 + :param type: The type of this InlineResponse2004Legs. # noqa: E501 :type: str """ @@ -562,7 +562,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(JSONLeg, dict): + if issubclass(InlineResponse2004Legs, dict): for key, value in self.items(): result[key] = value @@ -578,7 +578,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, JSONLeg): + if not isinstance(other, InlineResponse2004Legs): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/json_step_maneuver.py b/openrouteservice/models/inline_response2004_maneuver.py similarity index 78% rename from openrouteservice/models/json_step_maneuver.py rename to openrouteservice/models/inline_response2004_maneuver.py index be41dcae..385b342f 100644 --- a/openrouteservice/models/json_step_maneuver.py +++ b/openrouteservice/models/inline_response2004_maneuver.py @@ -15,7 +15,7 @@ import six -class JSONStepManeuver(object): +class InlineResponse2004Maneuver(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -40,7 +40,7 @@ class JSONStepManeuver(object): } def __init__(self, bearing_after=None, bearing_before=None, location=None): # noqa: E501 - """JSONStepManeuver - a model defined in Swagger""" # noqa: E501 + """InlineResponse2004Maneuver - a model defined in Swagger""" # noqa: E501 self._bearing_after = None self._bearing_before = None self._location = None @@ -54,22 +54,22 @@ def __init__(self, bearing_after=None, bearing_before=None, location=None): # n @property def bearing_after(self): - """Gets the bearing_after of this JSONStepManeuver. # noqa: E501 + """Gets the bearing_after of this InlineResponse2004Maneuver. # noqa: E501 The azimuth angle (in degrees) of the direction right after the maneuver. # noqa: E501 - :return: The bearing_after of this JSONStepManeuver. # noqa: E501 + :return: The bearing_after of this InlineResponse2004Maneuver. # noqa: E501 :rtype: int """ return self._bearing_after @bearing_after.setter def bearing_after(self, bearing_after): - """Sets the bearing_after of this JSONStepManeuver. + """Sets the bearing_after of this InlineResponse2004Maneuver. The azimuth angle (in degrees) of the direction right after the maneuver. # noqa: E501 - :param bearing_after: The bearing_after of this JSONStepManeuver. # noqa: E501 + :param bearing_after: The bearing_after of this InlineResponse2004Maneuver. # noqa: E501 :type: int """ @@ -77,22 +77,22 @@ def bearing_after(self, bearing_after): @property def bearing_before(self): - """Gets the bearing_before of this JSONStepManeuver. # noqa: E501 + """Gets the bearing_before of this InlineResponse2004Maneuver. # noqa: E501 The azimuth angle (in degrees) of the direction right before the maneuver. # noqa: E501 - :return: The bearing_before of this JSONStepManeuver. # noqa: E501 + :return: The bearing_before of this InlineResponse2004Maneuver. # noqa: E501 :rtype: int """ return self._bearing_before @bearing_before.setter def bearing_before(self, bearing_before): - """Sets the bearing_before of this JSONStepManeuver. + """Sets the bearing_before of this InlineResponse2004Maneuver. The azimuth angle (in degrees) of the direction right before the maneuver. # noqa: E501 - :param bearing_before: The bearing_before of this JSONStepManeuver. # noqa: E501 + :param bearing_before: The bearing_before of this InlineResponse2004Maneuver. # noqa: E501 :type: int """ @@ -100,22 +100,22 @@ def bearing_before(self, bearing_before): @property def location(self): - """Gets the location of this JSONStepManeuver. # noqa: E501 + """Gets the location of this InlineResponse2004Maneuver. # noqa: E501 The coordinate of the point where a maneuver takes place. # noqa: E501 - :return: The location of this JSONStepManeuver. # noqa: E501 + :return: The location of this InlineResponse2004Maneuver. # noqa: E501 :rtype: list[float] """ return self._location @location.setter def location(self, location): - """Sets the location of this JSONStepManeuver. + """Sets the location of this InlineResponse2004Maneuver. The coordinate of the point where a maneuver takes place. # noqa: E501 - :param location: The location of this JSONStepManeuver. # noqa: E501 + :param location: The location of this InlineResponse2004Maneuver. # noqa: E501 :type: list[float] """ @@ -142,7 +142,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(JSONStepManeuver, dict): + if issubclass(InlineResponse2004Maneuver, dict): for key, value in self.items(): result[key] = value @@ -158,7 +158,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, JSONStepManeuver): + if not isinstance(other, InlineResponse2004Maneuver): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/json_route_response_routes.py b/openrouteservice/models/inline_response2004_routes.py similarity index 66% rename from openrouteservice/models/json_route_response_routes.py rename to openrouteservice/models/inline_response2004_routes.py index d8c62104..4612af42 100644 --- a/openrouteservice/models/json_route_response_routes.py +++ b/openrouteservice/models/inline_response2004_routes.py @@ -15,7 +15,7 @@ import six -class JSONRouteResponseRoutes(object): +class InlineResponse2004Routes(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -31,12 +31,12 @@ class JSONRouteResponseRoutes(object): 'arrival': 'datetime', 'bbox': 'list[float]', 'departure': 'datetime', - 'extras': 'dict(str, JSONIndividualRouteResponseExtras)', + 'extras': 'dict(str, InlineResponse2004Extras)', 'geometry': 'str', - 'legs': 'list[JSONIndividualRouteResponseLegs]', - 'segments': 'list[JSONIndividualRouteResponseSegments]', - 'summary': 'JSONIndividualRouteResponseSummary', - 'warnings': 'list[JSONIndividualRouteResponseWarnings]', + 'legs': 'list[InlineResponse2004Legs]', + 'segments': 'list[InlineResponse2004Segments]', + 'summary': 'InlineResponse2004Summary1', + 'warnings': 'list[InlineResponse2004Warnings]', 'way_points': 'list[int]' } @@ -54,7 +54,7 @@ class JSONRouteResponseRoutes(object): } def __init__(self, arrival=None, bbox=None, departure=None, extras=None, geometry=None, legs=None, segments=None, summary=None, warnings=None, way_points=None): # noqa: E501 - """JSONRouteResponseRoutes - a model defined in Swagger""" # noqa: E501 + """InlineResponse2004Routes - a model defined in Swagger""" # noqa: E501 self._arrival = None self._bbox = None self._departure = None @@ -89,22 +89,22 @@ def __init__(self, arrival=None, bbox=None, departure=None, extras=None, geometr @property def arrival(self): - """Gets the arrival of this JSONRouteResponseRoutes. # noqa: E501 + """Gets the arrival of this InlineResponse2004Routes. # noqa: E501 Arrival date and time # noqa: E501 - :return: The arrival of this JSONRouteResponseRoutes. # noqa: E501 + :return: The arrival of this InlineResponse2004Routes. # noqa: E501 :rtype: datetime """ return self._arrival @arrival.setter def arrival(self, arrival): - """Sets the arrival of this JSONRouteResponseRoutes. + """Sets the arrival of this InlineResponse2004Routes. Arrival date and time # noqa: E501 - :param arrival: The arrival of this JSONRouteResponseRoutes. # noqa: E501 + :param arrival: The arrival of this InlineResponse2004Routes. # noqa: E501 :type: datetime """ @@ -112,22 +112,22 @@ def arrival(self, arrival): @property def bbox(self): - """Gets the bbox of this JSONRouteResponseRoutes. # noqa: E501 + """Gets the bbox of this InlineResponse2004Routes. # noqa: E501 A bounding box which contains the entire route # noqa: E501 - :return: The bbox of this JSONRouteResponseRoutes. # noqa: E501 + :return: The bbox of this InlineResponse2004Routes. # noqa: E501 :rtype: list[float] """ return self._bbox @bbox.setter def bbox(self, bbox): - """Sets the bbox of this JSONRouteResponseRoutes. + """Sets the bbox of this InlineResponse2004Routes. A bounding box which contains the entire route # noqa: E501 - :param bbox: The bbox of this JSONRouteResponseRoutes. # noqa: E501 + :param bbox: The bbox of this InlineResponse2004Routes. # noqa: E501 :type: list[float] """ @@ -135,22 +135,22 @@ def bbox(self, bbox): @property def departure(self): - """Gets the departure of this JSONRouteResponseRoutes. # noqa: E501 + """Gets the departure of this InlineResponse2004Routes. # noqa: E501 Departure date and time # noqa: E501 - :return: The departure of this JSONRouteResponseRoutes. # noqa: E501 + :return: The departure of this InlineResponse2004Routes. # noqa: E501 :rtype: datetime """ return self._departure @departure.setter def departure(self, departure): - """Sets the departure of this JSONRouteResponseRoutes. + """Sets the departure of this InlineResponse2004Routes. Departure date and time # noqa: E501 - :param departure: The departure of this JSONRouteResponseRoutes. # noqa: E501 + :param departure: The departure of this InlineResponse2004Routes. # noqa: E501 :type: datetime """ @@ -158,45 +158,45 @@ def departure(self, departure): @property def extras(self): - """Gets the extras of this JSONRouteResponseRoutes. # noqa: E501 + """Gets the extras of this InlineResponse2004Routes. # noqa: E501 List of extra info objects representing the extra info items that were requested for the route. # noqa: E501 - :return: The extras of this JSONRouteResponseRoutes. # noqa: E501 - :rtype: dict(str, JSONIndividualRouteResponseExtras) + :return: The extras of this InlineResponse2004Routes. # noqa: E501 + :rtype: dict(str, InlineResponse2004Extras) """ return self._extras @extras.setter def extras(self, extras): - """Sets the extras of this JSONRouteResponseRoutes. + """Sets the extras of this InlineResponse2004Routes. List of extra info objects representing the extra info items that were requested for the route. # noqa: E501 - :param extras: The extras of this JSONRouteResponseRoutes. # noqa: E501 - :type: dict(str, JSONIndividualRouteResponseExtras) + :param extras: The extras of this InlineResponse2004Routes. # noqa: E501 + :type: dict(str, InlineResponse2004Extras) """ self._extras = extras @property def geometry(self): - """Gets the geometry of this JSONRouteResponseRoutes. # noqa: E501 + """Gets the geometry of this InlineResponse2004Routes. # noqa: E501 The geometry of the route. For JSON route responses this is an encoded polyline. # noqa: E501 - :return: The geometry of this JSONRouteResponseRoutes. # noqa: E501 + :return: The geometry of this InlineResponse2004Routes. # noqa: E501 :rtype: str """ return self._geometry @geometry.setter def geometry(self, geometry): - """Sets the geometry of this JSONRouteResponseRoutes. + """Sets the geometry of this InlineResponse2004Routes. The geometry of the route. For JSON route responses this is an encoded polyline. # noqa: E501 - :param geometry: The geometry of this JSONRouteResponseRoutes. # noqa: E501 + :param geometry: The geometry of this InlineResponse2004Routes. # noqa: E501 :type: str """ @@ -204,112 +204,112 @@ def geometry(self, geometry): @property def legs(self): - """Gets the legs of this JSONRouteResponseRoutes. # noqa: E501 + """Gets the legs of this InlineResponse2004Routes. # noqa: E501 List containing the legs the route consists of. # noqa: E501 - :return: The legs of this JSONRouteResponseRoutes. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseLegs] + :return: The legs of this InlineResponse2004Routes. # noqa: E501 + :rtype: list[InlineResponse2004Legs] """ return self._legs @legs.setter def legs(self, legs): - """Sets the legs of this JSONRouteResponseRoutes. + """Sets the legs of this InlineResponse2004Routes. List containing the legs the route consists of. # noqa: E501 - :param legs: The legs of this JSONRouteResponseRoutes. # noqa: E501 - :type: list[JSONIndividualRouteResponseLegs] + :param legs: The legs of this InlineResponse2004Routes. # noqa: E501 + :type: list[InlineResponse2004Legs] """ self._legs = legs @property def segments(self): - """Gets the segments of this JSONRouteResponseRoutes. # noqa: E501 + """Gets the segments of this InlineResponse2004Routes. # noqa: E501 List containing the segments and its corresponding steps which make up the route. # noqa: E501 - :return: The segments of this JSONRouteResponseRoutes. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseSegments] + :return: The segments of this InlineResponse2004Routes. # noqa: E501 + :rtype: list[InlineResponse2004Segments] """ return self._segments @segments.setter def segments(self, segments): - """Sets the segments of this JSONRouteResponseRoutes. + """Sets the segments of this InlineResponse2004Routes. List containing the segments and its corresponding steps which make up the route. # noqa: E501 - :param segments: The segments of this JSONRouteResponseRoutes. # noqa: E501 - :type: list[JSONIndividualRouteResponseSegments] + :param segments: The segments of this InlineResponse2004Routes. # noqa: E501 + :type: list[InlineResponse2004Segments] """ self._segments = segments @property def summary(self): - """Gets the summary of this JSONRouteResponseRoutes. # noqa: E501 + """Gets the summary of this InlineResponse2004Routes. # noqa: E501 - :return: The summary of this JSONRouteResponseRoutes. # noqa: E501 - :rtype: JSONIndividualRouteResponseSummary + :return: The summary of this InlineResponse2004Routes. # noqa: E501 + :rtype: InlineResponse2004Summary1 """ return self._summary @summary.setter def summary(self, summary): - """Sets the summary of this JSONRouteResponseRoutes. + """Sets the summary of this InlineResponse2004Routes. - :param summary: The summary of this JSONRouteResponseRoutes. # noqa: E501 - :type: JSONIndividualRouteResponseSummary + :param summary: The summary of this InlineResponse2004Routes. # noqa: E501 + :type: InlineResponse2004Summary1 """ self._summary = summary @property def warnings(self): - """Gets the warnings of this JSONRouteResponseRoutes. # noqa: E501 + """Gets the warnings of this InlineResponse2004Routes. # noqa: E501 List of warnings that have been generated for the route # noqa: E501 - :return: The warnings of this JSONRouteResponseRoutes. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseWarnings] + :return: The warnings of this InlineResponse2004Routes. # noqa: E501 + :rtype: list[InlineResponse2004Warnings] """ return self._warnings @warnings.setter def warnings(self, warnings): - """Sets the warnings of this JSONRouteResponseRoutes. + """Sets the warnings of this InlineResponse2004Routes. List of warnings that have been generated for the route # noqa: E501 - :param warnings: The warnings of this JSONRouteResponseRoutes. # noqa: E501 - :type: list[JSONIndividualRouteResponseWarnings] + :param warnings: The warnings of this InlineResponse2004Routes. # noqa: E501 + :type: list[InlineResponse2004Warnings] """ self._warnings = warnings @property def way_points(self): - """Gets the way_points of this JSONRouteResponseRoutes. # noqa: E501 + """Gets the way_points of this InlineResponse2004Routes. # noqa: E501 List containing the indices of way points corresponding to the *geometry*. # noqa: E501 - :return: The way_points of this JSONRouteResponseRoutes. # noqa: E501 + :return: The way_points of this InlineResponse2004Routes. # noqa: E501 :rtype: list[int] """ return self._way_points @way_points.setter def way_points(self, way_points): - """Sets the way_points of this JSONRouteResponseRoutes. + """Sets the way_points of this InlineResponse2004Routes. List containing the indices of way points corresponding to the *geometry*. # noqa: E501 - :param way_points: The way_points of this JSONRouteResponseRoutes. # noqa: E501 + :param way_points: The way_points of this InlineResponse2004Routes. # noqa: E501 :type: list[int] """ @@ -336,7 +336,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(JSONRouteResponseRoutes, dict): + if issubclass(InlineResponse2004Routes, dict): for key, value in self.items(): result[key] = value @@ -352,7 +352,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, JSONRouteResponseRoutes): + if not isinstance(other, InlineResponse2004Routes): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/json_segment.py b/openrouteservice/models/inline_response2004_segments.py similarity index 70% rename from openrouteservice/models/json_segment.py rename to openrouteservice/models/inline_response2004_segments.py index 55704ffc..88c3a458 100644 --- a/openrouteservice/models/json_segment.py +++ b/openrouteservice/models/inline_response2004_segments.py @@ -15,7 +15,7 @@ import six -class JSONSegment(object): +class InlineResponse2004Segments(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -35,7 +35,7 @@ class JSONSegment(object): 'distance': 'float', 'duration': 'float', 'percentage': 'float', - 'steps': 'list[JSONIndividualRouteResponseInstructions]' + 'steps': 'list[InlineResponse2004Instructions]' } attribute_map = { @@ -50,7 +50,7 @@ class JSONSegment(object): } def __init__(self, ascent=None, avgspeed=None, descent=None, detourfactor=None, distance=None, duration=None, percentage=None, steps=None): # noqa: E501 - """JSONSegment - a model defined in Swagger""" # noqa: E501 + """InlineResponse2004Segments - a model defined in Swagger""" # noqa: E501 self._ascent = None self._avgspeed = None self._descent = None @@ -79,22 +79,22 @@ def __init__(self, ascent=None, avgspeed=None, descent=None, detourfactor=None, @property def ascent(self): - """Gets the ascent of this JSONSegment. # noqa: E501 + """Gets the ascent of this InlineResponse2004Segments. # noqa: E501 Contains ascent of this segment in metres. # noqa: E501 - :return: The ascent of this JSONSegment. # noqa: E501 + :return: The ascent of this InlineResponse2004Segments. # noqa: E501 :rtype: float """ return self._ascent @ascent.setter def ascent(self, ascent): - """Sets the ascent of this JSONSegment. + """Sets the ascent of this InlineResponse2004Segments. Contains ascent of this segment in metres. # noqa: E501 - :param ascent: The ascent of this JSONSegment. # noqa: E501 + :param ascent: The ascent of this InlineResponse2004Segments. # noqa: E501 :type: float """ @@ -102,22 +102,22 @@ def ascent(self, ascent): @property def avgspeed(self): - """Gets the avgspeed of this JSONSegment. # noqa: E501 + """Gets the avgspeed of this InlineResponse2004Segments. # noqa: E501 Contains the average speed of this segment in km/h. # noqa: E501 - :return: The avgspeed of this JSONSegment. # noqa: E501 + :return: The avgspeed of this InlineResponse2004Segments. # noqa: E501 :rtype: float """ return self._avgspeed @avgspeed.setter def avgspeed(self, avgspeed): - """Sets the avgspeed of this JSONSegment. + """Sets the avgspeed of this InlineResponse2004Segments. Contains the average speed of this segment in km/h. # noqa: E501 - :param avgspeed: The avgspeed of this JSONSegment. # noqa: E501 + :param avgspeed: The avgspeed of this InlineResponse2004Segments. # noqa: E501 :type: float """ @@ -125,22 +125,22 @@ def avgspeed(self, avgspeed): @property def descent(self): - """Gets the descent of this JSONSegment. # noqa: E501 + """Gets the descent of this InlineResponse2004Segments. # noqa: E501 Contains descent of this segment in metres. # noqa: E501 - :return: The descent of this JSONSegment. # noqa: E501 + :return: The descent of this InlineResponse2004Segments. # noqa: E501 :rtype: float """ return self._descent @descent.setter def descent(self, descent): - """Sets the descent of this JSONSegment. + """Sets the descent of this InlineResponse2004Segments. Contains descent of this segment in metres. # noqa: E501 - :param descent: The descent of this JSONSegment. # noqa: E501 + :param descent: The descent of this InlineResponse2004Segments. # noqa: E501 :type: float """ @@ -148,22 +148,22 @@ def descent(self, descent): @property def detourfactor(self): - """Gets the detourfactor of this JSONSegment. # noqa: E501 + """Gets the detourfactor of this InlineResponse2004Segments. # noqa: E501 Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. # noqa: E501 - :return: The detourfactor of this JSONSegment. # noqa: E501 + :return: The detourfactor of this InlineResponse2004Segments. # noqa: E501 :rtype: float """ return self._detourfactor @detourfactor.setter def detourfactor(self, detourfactor): - """Sets the detourfactor of this JSONSegment. + """Sets the detourfactor of this InlineResponse2004Segments. Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. # noqa: E501 - :param detourfactor: The detourfactor of this JSONSegment. # noqa: E501 + :param detourfactor: The detourfactor of this InlineResponse2004Segments. # noqa: E501 :type: float """ @@ -171,22 +171,22 @@ def detourfactor(self, detourfactor): @property def distance(self): - """Gets the distance of this JSONSegment. # noqa: E501 + """Gets the distance of this InlineResponse2004Segments. # noqa: E501 Contains the distance of the segment in specified units. # noqa: E501 - :return: The distance of this JSONSegment. # noqa: E501 + :return: The distance of this InlineResponse2004Segments. # noqa: E501 :rtype: float """ return self._distance @distance.setter def distance(self, distance): - """Sets the distance of this JSONSegment. + """Sets the distance of this InlineResponse2004Segments. Contains the distance of the segment in specified units. # noqa: E501 - :param distance: The distance of this JSONSegment. # noqa: E501 + :param distance: The distance of this InlineResponse2004Segments. # noqa: E501 :type: float """ @@ -194,22 +194,22 @@ def distance(self, distance): @property def duration(self): - """Gets the duration of this JSONSegment. # noqa: E501 + """Gets the duration of this InlineResponse2004Segments. # noqa: E501 Contains the duration of the segment in seconds. # noqa: E501 - :return: The duration of this JSONSegment. # noqa: E501 + :return: The duration of this InlineResponse2004Segments. # noqa: E501 :rtype: float """ return self._duration @duration.setter def duration(self, duration): - """Sets the duration of this JSONSegment. + """Sets the duration of this InlineResponse2004Segments. Contains the duration of the segment in seconds. # noqa: E501 - :param duration: The duration of this JSONSegment. # noqa: E501 + :param duration: The duration of this InlineResponse2004Segments. # noqa: E501 :type: float """ @@ -217,22 +217,22 @@ def duration(self, duration): @property def percentage(self): - """Gets the percentage of this JSONSegment. # noqa: E501 + """Gets the percentage of this InlineResponse2004Segments. # noqa: E501 Contains the proportion of the route in percent. # noqa: E501 - :return: The percentage of this JSONSegment. # noqa: E501 + :return: The percentage of this InlineResponse2004Segments. # noqa: E501 :rtype: float """ return self._percentage @percentage.setter def percentage(self, percentage): - """Sets the percentage of this JSONSegment. + """Sets the percentage of this InlineResponse2004Segments. Contains the proportion of the route in percent. # noqa: E501 - :param percentage: The percentage of this JSONSegment. # noqa: E501 + :param percentage: The percentage of this InlineResponse2004Segments. # noqa: E501 :type: float """ @@ -240,23 +240,23 @@ def percentage(self, percentage): @property def steps(self): - """Gets the steps of this JSONSegment. # noqa: E501 + """Gets the steps of this InlineResponse2004Segments. # noqa: E501 List containing the specific steps the segment consists of. # noqa: E501 - :return: The steps of this JSONSegment. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseInstructions] + :return: The steps of this InlineResponse2004Segments. # noqa: E501 + :rtype: list[InlineResponse2004Instructions] """ return self._steps @steps.setter def steps(self, steps): - """Sets the steps of this JSONSegment. + """Sets the steps of this InlineResponse2004Segments. List containing the specific steps the segment consists of. # noqa: E501 - :param steps: The steps of this JSONSegment. # noqa: E501 - :type: list[JSONIndividualRouteResponseInstructions] + :param steps: The steps of this InlineResponse2004Segments. # noqa: E501 + :type: list[InlineResponse2004Instructions] """ self._steps = steps @@ -282,7 +282,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(JSONSegment, dict): + if issubclass(InlineResponse2004Segments, dict): for key, value in self.items(): result[key] = value @@ -298,7 +298,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, JSONSegment): + if not isinstance(other, InlineResponse2004Segments): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/jsonpt_stop.py b/openrouteservice/models/inline_response2004_stops.py similarity index 73% rename from openrouteservice/models/jsonpt_stop.py rename to openrouteservice/models/inline_response2004_stops.py index 0b856bf7..de33a8d7 100644 --- a/openrouteservice/models/jsonpt_stop.py +++ b/openrouteservice/models/inline_response2004_stops.py @@ -15,7 +15,7 @@ import six -class JSONPtStop(object): +class InlineResponse2004Stops(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -56,7 +56,7 @@ class JSONPtStop(object): } def __init__(self, arrival_cancelled=None, arrival_time=None, departure_cancelled=None, departure_time=None, location=None, name=None, planned_arrival_time=None, planned_departure_time=None, predicted_arrival_time=None, predicted_departure_time=None, stop_id=None): # noqa: E501 - """JSONPtStop - a model defined in Swagger""" # noqa: E501 + """InlineResponse2004Stops - a model defined in Swagger""" # noqa: E501 self._arrival_cancelled = None self._arrival_time = None self._departure_cancelled = None @@ -94,22 +94,22 @@ def __init__(self, arrival_cancelled=None, arrival_time=None, departure_cancelle @property def arrival_cancelled(self): - """Gets the arrival_cancelled of this JSONPtStop. # noqa: E501 + """Gets the arrival_cancelled of this InlineResponse2004Stops. # noqa: E501 Whether arrival at the stop was cancelled. # noqa: E501 - :return: The arrival_cancelled of this JSONPtStop. # noqa: E501 + :return: The arrival_cancelled of this InlineResponse2004Stops. # noqa: E501 :rtype: bool """ return self._arrival_cancelled @arrival_cancelled.setter def arrival_cancelled(self, arrival_cancelled): - """Sets the arrival_cancelled of this JSONPtStop. + """Sets the arrival_cancelled of this InlineResponse2004Stops. Whether arrival at the stop was cancelled. # noqa: E501 - :param arrival_cancelled: The arrival_cancelled of this JSONPtStop. # noqa: E501 + :param arrival_cancelled: The arrival_cancelled of this InlineResponse2004Stops. # noqa: E501 :type: bool """ @@ -117,22 +117,22 @@ def arrival_cancelled(self, arrival_cancelled): @property def arrival_time(self): - """Gets the arrival_time of this JSONPtStop. # noqa: E501 + """Gets the arrival_time of this InlineResponse2004Stops. # noqa: E501 Arrival time of the stop. # noqa: E501 - :return: The arrival_time of this JSONPtStop. # noqa: E501 + :return: The arrival_time of this InlineResponse2004Stops. # noqa: E501 :rtype: datetime """ return self._arrival_time @arrival_time.setter def arrival_time(self, arrival_time): - """Sets the arrival_time of this JSONPtStop. + """Sets the arrival_time of this InlineResponse2004Stops. Arrival time of the stop. # noqa: E501 - :param arrival_time: The arrival_time of this JSONPtStop. # noqa: E501 + :param arrival_time: The arrival_time of this InlineResponse2004Stops. # noqa: E501 :type: datetime """ @@ -140,22 +140,22 @@ def arrival_time(self, arrival_time): @property def departure_cancelled(self): - """Gets the departure_cancelled of this JSONPtStop. # noqa: E501 + """Gets the departure_cancelled of this InlineResponse2004Stops. # noqa: E501 Whether departure at the stop was cancelled. # noqa: E501 - :return: The departure_cancelled of this JSONPtStop. # noqa: E501 + :return: The departure_cancelled of this InlineResponse2004Stops. # noqa: E501 :rtype: bool """ return self._departure_cancelled @departure_cancelled.setter def departure_cancelled(self, departure_cancelled): - """Sets the departure_cancelled of this JSONPtStop. + """Sets the departure_cancelled of this InlineResponse2004Stops. Whether departure at the stop was cancelled. # noqa: E501 - :param departure_cancelled: The departure_cancelled of this JSONPtStop. # noqa: E501 + :param departure_cancelled: The departure_cancelled of this InlineResponse2004Stops. # noqa: E501 :type: bool """ @@ -163,22 +163,22 @@ def departure_cancelled(self, departure_cancelled): @property def departure_time(self): - """Gets the departure_time of this JSONPtStop. # noqa: E501 + """Gets the departure_time of this InlineResponse2004Stops. # noqa: E501 Departure time of the stop. # noqa: E501 - :return: The departure_time of this JSONPtStop. # noqa: E501 + :return: The departure_time of this InlineResponse2004Stops. # noqa: E501 :rtype: datetime """ return self._departure_time @departure_time.setter def departure_time(self, departure_time): - """Sets the departure_time of this JSONPtStop. + """Sets the departure_time of this InlineResponse2004Stops. Departure time of the stop. # noqa: E501 - :param departure_time: The departure_time of this JSONPtStop. # noqa: E501 + :param departure_time: The departure_time of this InlineResponse2004Stops. # noqa: E501 :type: datetime """ @@ -186,22 +186,22 @@ def departure_time(self, departure_time): @property def location(self): - """Gets the location of this JSONPtStop. # noqa: E501 + """Gets the location of this InlineResponse2004Stops. # noqa: E501 The location of the stop. # noqa: E501 - :return: The location of this JSONPtStop. # noqa: E501 + :return: The location of this InlineResponse2004Stops. # noqa: E501 :rtype: list[float] """ return self._location @location.setter def location(self, location): - """Sets the location of this JSONPtStop. + """Sets the location of this InlineResponse2004Stops. The location of the stop. # noqa: E501 - :param location: The location of this JSONPtStop. # noqa: E501 + :param location: The location of this InlineResponse2004Stops. # noqa: E501 :type: list[float] """ @@ -209,22 +209,22 @@ def location(self, location): @property def name(self): - """Gets the name of this JSONPtStop. # noqa: E501 + """Gets the name of this InlineResponse2004Stops. # noqa: E501 The name of the stop. # noqa: E501 - :return: The name of this JSONPtStop. # noqa: E501 + :return: The name of this InlineResponse2004Stops. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this JSONPtStop. + """Sets the name of this InlineResponse2004Stops. The name of the stop. # noqa: E501 - :param name: The name of this JSONPtStop. # noqa: E501 + :param name: The name of this InlineResponse2004Stops. # noqa: E501 :type: str """ @@ -232,22 +232,22 @@ def name(self, name): @property def planned_arrival_time(self): - """Gets the planned_arrival_time of this JSONPtStop. # noqa: E501 + """Gets the planned_arrival_time of this InlineResponse2004Stops. # noqa: E501 Planned arrival time of the stop. # noqa: E501 - :return: The planned_arrival_time of this JSONPtStop. # noqa: E501 + :return: The planned_arrival_time of this InlineResponse2004Stops. # noqa: E501 :rtype: datetime """ return self._planned_arrival_time @planned_arrival_time.setter def planned_arrival_time(self, planned_arrival_time): - """Sets the planned_arrival_time of this JSONPtStop. + """Sets the planned_arrival_time of this InlineResponse2004Stops. Planned arrival time of the stop. # noqa: E501 - :param planned_arrival_time: The planned_arrival_time of this JSONPtStop. # noqa: E501 + :param planned_arrival_time: The planned_arrival_time of this InlineResponse2004Stops. # noqa: E501 :type: datetime """ @@ -255,22 +255,22 @@ def planned_arrival_time(self, planned_arrival_time): @property def planned_departure_time(self): - """Gets the planned_departure_time of this JSONPtStop. # noqa: E501 + """Gets the planned_departure_time of this InlineResponse2004Stops. # noqa: E501 Planned departure time of the stop. # noqa: E501 - :return: The planned_departure_time of this JSONPtStop. # noqa: E501 + :return: The planned_departure_time of this InlineResponse2004Stops. # noqa: E501 :rtype: datetime """ return self._planned_departure_time @planned_departure_time.setter def planned_departure_time(self, planned_departure_time): - """Sets the planned_departure_time of this JSONPtStop. + """Sets the planned_departure_time of this InlineResponse2004Stops. Planned departure time of the stop. # noqa: E501 - :param planned_departure_time: The planned_departure_time of this JSONPtStop. # noqa: E501 + :param planned_departure_time: The planned_departure_time of this InlineResponse2004Stops. # noqa: E501 :type: datetime """ @@ -278,22 +278,22 @@ def planned_departure_time(self, planned_departure_time): @property def predicted_arrival_time(self): - """Gets the predicted_arrival_time of this JSONPtStop. # noqa: E501 + """Gets the predicted_arrival_time of this InlineResponse2004Stops. # noqa: E501 Predicted arrival time of the stop. # noqa: E501 - :return: The predicted_arrival_time of this JSONPtStop. # noqa: E501 + :return: The predicted_arrival_time of this InlineResponse2004Stops. # noqa: E501 :rtype: datetime """ return self._predicted_arrival_time @predicted_arrival_time.setter def predicted_arrival_time(self, predicted_arrival_time): - """Sets the predicted_arrival_time of this JSONPtStop. + """Sets the predicted_arrival_time of this InlineResponse2004Stops. Predicted arrival time of the stop. # noqa: E501 - :param predicted_arrival_time: The predicted_arrival_time of this JSONPtStop. # noqa: E501 + :param predicted_arrival_time: The predicted_arrival_time of this InlineResponse2004Stops. # noqa: E501 :type: datetime """ @@ -301,22 +301,22 @@ def predicted_arrival_time(self, predicted_arrival_time): @property def predicted_departure_time(self): - """Gets the predicted_departure_time of this JSONPtStop. # noqa: E501 + """Gets the predicted_departure_time of this InlineResponse2004Stops. # noqa: E501 Predicted departure time of the stop. # noqa: E501 - :return: The predicted_departure_time of this JSONPtStop. # noqa: E501 + :return: The predicted_departure_time of this InlineResponse2004Stops. # noqa: E501 :rtype: datetime """ return self._predicted_departure_time @predicted_departure_time.setter def predicted_departure_time(self, predicted_departure_time): - """Sets the predicted_departure_time of this JSONPtStop. + """Sets the predicted_departure_time of this InlineResponse2004Stops. Predicted departure time of the stop. # noqa: E501 - :param predicted_departure_time: The predicted_departure_time of this JSONPtStop. # noqa: E501 + :param predicted_departure_time: The predicted_departure_time of this InlineResponse2004Stops. # noqa: E501 :type: datetime """ @@ -324,22 +324,22 @@ def predicted_departure_time(self, predicted_departure_time): @property def stop_id(self): - """Gets the stop_id of this JSONPtStop. # noqa: E501 + """Gets the stop_id of this InlineResponse2004Stops. # noqa: E501 The ID of the stop. # noqa: E501 - :return: The stop_id of this JSONPtStop. # noqa: E501 + :return: The stop_id of this InlineResponse2004Stops. # noqa: E501 :rtype: str """ return self._stop_id @stop_id.setter def stop_id(self, stop_id): - """Sets the stop_id of this JSONPtStop. + """Sets the stop_id of this InlineResponse2004Stops. The ID of the stop. # noqa: E501 - :param stop_id: The stop_id of this JSONPtStop. # noqa: E501 + :param stop_id: The stop_id of this InlineResponse2004Stops. # noqa: E501 :type: str """ @@ -366,7 +366,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(JSONPtStop, dict): + if issubclass(InlineResponse2004Stops, dict): for key, value in self.items(): result[key] = value @@ -382,7 +382,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, JSONPtStop): + if not isinstance(other, InlineResponse2004Stops): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/json_extra_summary.py b/openrouteservice/models/inline_response2004_summary.py similarity index 78% rename from openrouteservice/models/json_extra_summary.py rename to openrouteservice/models/inline_response2004_summary.py index 4253e8bd..a556bc58 100644 --- a/openrouteservice/models/json_extra_summary.py +++ b/openrouteservice/models/inline_response2004_summary.py @@ -15,7 +15,7 @@ import six -class JSONExtraSummary(object): +class InlineResponse2004Summary(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -40,7 +40,7 @@ class JSONExtraSummary(object): } def __init__(self, amount=None, distance=None, value=None): # noqa: E501 - """JSONExtraSummary - a model defined in Swagger""" # noqa: E501 + """InlineResponse2004Summary - a model defined in Swagger""" # noqa: E501 self._amount = None self._distance = None self._value = None @@ -54,22 +54,22 @@ def __init__(self, amount=None, distance=None, value=None): # noqa: E501 @property def amount(self): - """Gets the amount of this JSONExtraSummary. # noqa: E501 + """Gets the amount of this InlineResponse2004Summary. # noqa: E501 Category percentage of the entire route. # noqa: E501 - :return: The amount of this JSONExtraSummary. # noqa: E501 + :return: The amount of this InlineResponse2004Summary. # noqa: E501 :rtype: float """ return self._amount @amount.setter def amount(self, amount): - """Sets the amount of this JSONExtraSummary. + """Sets the amount of this InlineResponse2004Summary. Category percentage of the entire route. # noqa: E501 - :param amount: The amount of this JSONExtraSummary. # noqa: E501 + :param amount: The amount of this InlineResponse2004Summary. # noqa: E501 :type: float """ @@ -77,22 +77,22 @@ def amount(self, amount): @property def distance(self): - """Gets the distance of this JSONExtraSummary. # noqa: E501 + """Gets the distance of this InlineResponse2004Summary. # noqa: E501 Cumulative distance of this value. # noqa: E501 - :return: The distance of this JSONExtraSummary. # noqa: E501 + :return: The distance of this InlineResponse2004Summary. # noqa: E501 :rtype: float """ return self._distance @distance.setter def distance(self, distance): - """Sets the distance of this JSONExtraSummary. + """Sets the distance of this InlineResponse2004Summary. Cumulative distance of this value. # noqa: E501 - :param distance: The distance of this JSONExtraSummary. # noqa: E501 + :param distance: The distance of this InlineResponse2004Summary. # noqa: E501 :type: float """ @@ -100,22 +100,22 @@ def distance(self, distance): @property def value(self): - """Gets the value of this JSONExtraSummary. # noqa: E501 + """Gets the value of this InlineResponse2004Summary. # noqa: E501 [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) of a info category. # noqa: E501 - :return: The value of this JSONExtraSummary. # noqa: E501 + :return: The value of this InlineResponse2004Summary. # noqa: E501 :rtype: float """ return self._value @value.setter def value(self, value): - """Sets the value of this JSONExtraSummary. + """Sets the value of this InlineResponse2004Summary. [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) of a info category. # noqa: E501 - :param value: The value of this JSONExtraSummary. # noqa: E501 + :param value: The value of this InlineResponse2004Summary. # noqa: E501 :type: float """ @@ -142,7 +142,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(JSONExtraSummary, dict): + if issubclass(InlineResponse2004Summary, dict): for key, value in self.items(): result[key] = value @@ -158,7 +158,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, JSONExtraSummary): + if not isinstance(other, InlineResponse2004Summary): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/json_summary.py b/openrouteservice/models/inline_response2004_summary1.py similarity index 71% rename from openrouteservice/models/json_summary.py rename to openrouteservice/models/inline_response2004_summary1.py index a1d9de65..42553d66 100644 --- a/openrouteservice/models/json_summary.py +++ b/openrouteservice/models/inline_response2004_summary1.py @@ -15,7 +15,7 @@ import six -class JSONSummary(object): +class InlineResponse2004Summary1(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -46,7 +46,7 @@ class JSONSummary(object): } def __init__(self, ascent=None, descent=None, distance=None, duration=None, fare=None, transfers=None): # noqa: E501 - """JSONSummary - a model defined in Swagger""" # noqa: E501 + """InlineResponse2004Summary1 - a model defined in Swagger""" # noqa: E501 self._ascent = None self._descent = None self._distance = None @@ -69,22 +69,22 @@ def __init__(self, ascent=None, descent=None, distance=None, duration=None, fare @property def ascent(self): - """Gets the ascent of this JSONSummary. # noqa: E501 + """Gets the ascent of this InlineResponse2004Summary1. # noqa: E501 Total ascent in meters. # noqa: E501 - :return: The ascent of this JSONSummary. # noqa: E501 + :return: The ascent of this InlineResponse2004Summary1. # noqa: E501 :rtype: float """ return self._ascent @ascent.setter def ascent(self, ascent): - """Sets the ascent of this JSONSummary. + """Sets the ascent of this InlineResponse2004Summary1. Total ascent in meters. # noqa: E501 - :param ascent: The ascent of this JSONSummary. # noqa: E501 + :param ascent: The ascent of this InlineResponse2004Summary1. # noqa: E501 :type: float """ @@ -92,22 +92,22 @@ def ascent(self, ascent): @property def descent(self): - """Gets the descent of this JSONSummary. # noqa: E501 + """Gets the descent of this InlineResponse2004Summary1. # noqa: E501 Total descent in meters. # noqa: E501 - :return: The descent of this JSONSummary. # noqa: E501 + :return: The descent of this InlineResponse2004Summary1. # noqa: E501 :rtype: float """ return self._descent @descent.setter def descent(self, descent): - """Sets the descent of this JSONSummary. + """Sets the descent of this InlineResponse2004Summary1. Total descent in meters. # noqa: E501 - :param descent: The descent of this JSONSummary. # noqa: E501 + :param descent: The descent of this InlineResponse2004Summary1. # noqa: E501 :type: float """ @@ -115,22 +115,22 @@ def descent(self, descent): @property def distance(self): - """Gets the distance of this JSONSummary. # noqa: E501 + """Gets the distance of this InlineResponse2004Summary1. # noqa: E501 Total route distance in specified units. # noqa: E501 - :return: The distance of this JSONSummary. # noqa: E501 + :return: The distance of this InlineResponse2004Summary1. # noqa: E501 :rtype: float """ return self._distance @distance.setter def distance(self, distance): - """Sets the distance of this JSONSummary. + """Sets the distance of this InlineResponse2004Summary1. Total route distance in specified units. # noqa: E501 - :param distance: The distance of this JSONSummary. # noqa: E501 + :param distance: The distance of this InlineResponse2004Summary1. # noqa: E501 :type: float """ @@ -138,22 +138,22 @@ def distance(self, distance): @property def duration(self): - """Gets the duration of this JSONSummary. # noqa: E501 + """Gets the duration of this InlineResponse2004Summary1. # noqa: E501 Total duration in seconds. # noqa: E501 - :return: The duration of this JSONSummary. # noqa: E501 + :return: The duration of this InlineResponse2004Summary1. # noqa: E501 :rtype: float """ return self._duration @duration.setter def duration(self, duration): - """Sets the duration of this JSONSummary. + """Sets the duration of this InlineResponse2004Summary1. Total duration in seconds. # noqa: E501 - :param duration: The duration of this JSONSummary. # noqa: E501 + :param duration: The duration of this InlineResponse2004Summary1. # noqa: E501 :type: float """ @@ -161,20 +161,20 @@ def duration(self, duration): @property def fare(self): - """Gets the fare of this JSONSummary. # noqa: E501 + """Gets the fare of this InlineResponse2004Summary1. # noqa: E501 - :return: The fare of this JSONSummary. # noqa: E501 + :return: The fare of this InlineResponse2004Summary1. # noqa: E501 :rtype: int """ return self._fare @fare.setter def fare(self, fare): - """Sets the fare of this JSONSummary. + """Sets the fare of this InlineResponse2004Summary1. - :param fare: The fare of this JSONSummary. # noqa: E501 + :param fare: The fare of this InlineResponse2004Summary1. # noqa: E501 :type: int """ @@ -182,20 +182,20 @@ def fare(self, fare): @property def transfers(self): - """Gets the transfers of this JSONSummary. # noqa: E501 + """Gets the transfers of this InlineResponse2004Summary1. # noqa: E501 - :return: The transfers of this JSONSummary. # noqa: E501 + :return: The transfers of this InlineResponse2004Summary1. # noqa: E501 :rtype: int """ return self._transfers @transfers.setter def transfers(self, transfers): - """Sets the transfers of this JSONSummary. + """Sets the transfers of this InlineResponse2004Summary1. - :param transfers: The transfers of this JSONSummary. # noqa: E501 + :param transfers: The transfers of this InlineResponse2004Summary1. # noqa: E501 :type: int """ @@ -222,7 +222,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(JSONSummary, dict): + if issubclass(InlineResponse2004Summary1, dict): for key, value in self.items(): result[key] = value @@ -238,7 +238,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, JSONSummary): + if not isinstance(other, InlineResponse2004Summary1): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/json_warning.py b/openrouteservice/models/inline_response2004_warnings.py similarity index 80% rename from openrouteservice/models/json_warning.py rename to openrouteservice/models/inline_response2004_warnings.py index 5d61f0a4..c0214c33 100644 --- a/openrouteservice/models/json_warning.py +++ b/openrouteservice/models/inline_response2004_warnings.py @@ -15,7 +15,7 @@ import six -class JSONWarning(object): +class InlineResponse2004Warnings(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -38,7 +38,7 @@ class JSONWarning(object): } def __init__(self, code=None, message=None): # noqa: E501 - """JSONWarning - a model defined in Swagger""" # noqa: E501 + """InlineResponse2004Warnings - a model defined in Swagger""" # noqa: E501 self._code = None self._message = None self.discriminator = None @@ -49,22 +49,22 @@ def __init__(self, code=None, message=None): # noqa: E501 @property def code(self): - """Gets the code of this JSONWarning. # noqa: E501 + """Gets the code of this InlineResponse2004Warnings. # noqa: E501 Identification code for the warning # noqa: E501 - :return: The code of this JSONWarning. # noqa: E501 + :return: The code of this InlineResponse2004Warnings. # noqa: E501 :rtype: int """ return self._code @code.setter def code(self, code): - """Sets the code of this JSONWarning. + """Sets the code of this InlineResponse2004Warnings. Identification code for the warning # noqa: E501 - :param code: The code of this JSONWarning. # noqa: E501 + :param code: The code of this InlineResponse2004Warnings. # noqa: E501 :type: int """ @@ -72,22 +72,22 @@ def code(self, code): @property def message(self): - """Gets the message of this JSONWarning. # noqa: E501 + """Gets the message of this InlineResponse2004Warnings. # noqa: E501 The message associated with the warning # noqa: E501 - :return: The message of this JSONWarning. # noqa: E501 + :return: The message of this InlineResponse2004Warnings. # noqa: E501 :rtype: str """ return self._message @message.setter def message(self, message): - """Sets the message of this JSONWarning. + """Sets the message of this InlineResponse2004Warnings. The message associated with the warning # noqa: E501 - :param message: The message of this JSONWarning. # noqa: E501 + :param message: The message of this InlineResponse2004Warnings. # noqa: E501 :type: str """ @@ -114,7 +114,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(JSONWarning, dict): + if issubclass(InlineResponse2004Warnings, dict): for key, value in self.items(): result[key] = value @@ -130,7 +130,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, JSONWarning): + if not isinstance(other, InlineResponse2004Warnings): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/inline_response2005.py b/openrouteservice/models/inline_response2005.py index 381e330e..be33215f 100644 --- a/openrouteservice/models/inline_response2005.py +++ b/openrouteservice/models/inline_response2005.py @@ -29,8 +29,8 @@ class InlineResponse2005(object): """ swagger_types = { 'bbox': 'list[float]', - 'features': 'list[GeoJSONIsochronesResponseFeatures]', - 'metadata': 'GeoJSONIsochronesResponseMetadata', + 'features': 'list[InlineResponse2005Features]', + 'metadata': 'InlineResponse2005Metadata', 'type': 'str' } @@ -86,7 +86,7 @@ def features(self): :return: The features of this InlineResponse2005. # noqa: E501 - :rtype: list[GeoJSONIsochronesResponseFeatures] + :rtype: list[InlineResponse2005Features] """ return self._features @@ -96,7 +96,7 @@ def features(self, features): :param features: The features of this InlineResponse2005. # noqa: E501 - :type: list[GeoJSONIsochronesResponseFeatures] + :type: list[InlineResponse2005Features] """ self._features = features @@ -107,7 +107,7 @@ def metadata(self): :return: The metadata of this InlineResponse2005. # noqa: E501 - :rtype: GeoJSONIsochronesResponseMetadata + :rtype: InlineResponse2005Metadata """ return self._metadata @@ -117,7 +117,7 @@ def metadata(self, metadata): :param metadata: The metadata of this InlineResponse2005. # noqa: E501 - :type: GeoJSONIsochronesResponseMetadata + :type: InlineResponse2005Metadata """ self._metadata = metadata diff --git a/openrouteservice/models/geo_json_isochrone_base.py b/openrouteservice/models/inline_response2005_features.py similarity index 76% rename from openrouteservice/models/geo_json_isochrone_base.py rename to openrouteservice/models/inline_response2005_features.py index 3ba0e3f1..1b439f6f 100644 --- a/openrouteservice/models/geo_json_isochrone_base.py +++ b/openrouteservice/models/inline_response2005_features.py @@ -15,7 +15,7 @@ import six -class GeoJSONIsochroneBase(object): +class InlineResponse2005Features(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -28,7 +28,7 @@ class GeoJSONIsochroneBase(object): and the value is json key in definition. """ swagger_types = { - 'geometry': 'GeoJSONIsochroneBaseGeometry', + 'geometry': 'InlineResponse2005Geometry', 'type': 'str' } @@ -38,7 +38,7 @@ class GeoJSONIsochroneBase(object): } def __init__(self, geometry=None, type=None): # noqa: E501 - """GeoJSONIsochroneBase - a model defined in Swagger""" # noqa: E501 + """InlineResponse2005Features - a model defined in Swagger""" # noqa: E501 self._geometry = None self._type = None self.discriminator = None @@ -49,41 +49,41 @@ def __init__(self, geometry=None, type=None): # noqa: E501 @property def geometry(self): - """Gets the geometry of this GeoJSONIsochroneBase. # noqa: E501 + """Gets the geometry of this InlineResponse2005Features. # noqa: E501 - :return: The geometry of this GeoJSONIsochroneBase. # noqa: E501 - :rtype: GeoJSONIsochroneBaseGeometry + :return: The geometry of this InlineResponse2005Features. # noqa: E501 + :rtype: InlineResponse2005Geometry """ return self._geometry @geometry.setter def geometry(self, geometry): - """Sets the geometry of this GeoJSONIsochroneBase. + """Sets the geometry of this InlineResponse2005Features. - :param geometry: The geometry of this GeoJSONIsochroneBase. # noqa: E501 - :type: GeoJSONIsochroneBaseGeometry + :param geometry: The geometry of this InlineResponse2005Features. # noqa: E501 + :type: InlineResponse2005Geometry """ self._geometry = geometry @property def type(self): - """Gets the type of this GeoJSONIsochroneBase. # noqa: E501 + """Gets the type of this InlineResponse2005Features. # noqa: E501 - :return: The type of this GeoJSONIsochroneBase. # noqa: E501 + :return: The type of this InlineResponse2005Features. # noqa: E501 :rtype: str """ return self._type @type.setter def type(self, type): - """Sets the type of this GeoJSONIsochroneBase. + """Sets the type of this InlineResponse2005Features. - :param type: The type of this GeoJSONIsochroneBase. # noqa: E501 + :param type: The type of this InlineResponse2005Features. # noqa: E501 :type: str """ @@ -110,7 +110,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(GeoJSONIsochroneBase, dict): + if issubclass(InlineResponse2005Features, dict): for key, value in self.items(): result[key] = value @@ -126,7 +126,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONIsochroneBase): + if not isinstance(other, InlineResponse2005Features): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/geo_json_isochrone_base_geometry.py b/openrouteservice/models/inline_response2005_geometry.py similarity index 83% rename from openrouteservice/models/geo_json_isochrone_base_geometry.py rename to openrouteservice/models/inline_response2005_geometry.py index bf95a1e7..dd3bd304 100644 --- a/openrouteservice/models/geo_json_isochrone_base_geometry.py +++ b/openrouteservice/models/inline_response2005_geometry.py @@ -15,7 +15,7 @@ import six -class GeoJSONIsochroneBaseGeometry(object): +class InlineResponse2005Geometry(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -36,7 +36,7 @@ class GeoJSONIsochroneBaseGeometry(object): } def __init__(self, empty=None): # noqa: E501 - """GeoJSONIsochroneBaseGeometry - a model defined in Swagger""" # noqa: E501 + """InlineResponse2005Geometry - a model defined in Swagger""" # noqa: E501 self._empty = None self.discriminator = None if empty is not None: @@ -44,20 +44,20 @@ def __init__(self, empty=None): # noqa: E501 @property def empty(self): - """Gets the empty of this GeoJSONIsochroneBaseGeometry. # noqa: E501 + """Gets the empty of this InlineResponse2005Geometry. # noqa: E501 - :return: The empty of this GeoJSONIsochroneBaseGeometry. # noqa: E501 + :return: The empty of this InlineResponse2005Geometry. # noqa: E501 :rtype: bool """ return self._empty @empty.setter def empty(self, empty): - """Sets the empty of this GeoJSONIsochroneBaseGeometry. + """Sets the empty of this InlineResponse2005Geometry. - :param empty: The empty of this GeoJSONIsochroneBaseGeometry. # noqa: E501 + :param empty: The empty of this InlineResponse2005Geometry. # noqa: E501 :type: bool """ @@ -84,7 +84,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(GeoJSONIsochroneBaseGeometry, dict): + if issubclass(InlineResponse2005Geometry, dict): for key, value in self.items(): result[key] = value @@ -100,7 +100,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONIsochroneBaseGeometry): + if not isinstance(other, InlineResponse2005Geometry): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/isochrones_response_info.py b/openrouteservice/models/inline_response2005_metadata.py similarity index 70% rename from openrouteservice/models/isochrones_response_info.py rename to openrouteservice/models/inline_response2005_metadata.py index a8649e3c..04a4d31a 100644 --- a/openrouteservice/models/isochrones_response_info.py +++ b/openrouteservice/models/inline_response2005_metadata.py @@ -15,7 +15,7 @@ import six -class IsochronesResponseInfo(object): +class InlineResponse2005Metadata(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -29,7 +29,7 @@ class IsochronesResponseInfo(object): """ swagger_types = { 'attribution': 'str', - 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'engine': 'InlineResponse2005MetadataEngine', 'id': 'str', 'osm_file_md5_hash': 'str', 'query': 'IsochronesProfileBody', @@ -50,7 +50,7 @@ class IsochronesResponseInfo(object): } def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """IsochronesResponseInfo - a model defined in Swagger""" # noqa: E501 + """InlineResponse2005Metadata - a model defined in Swagger""" # noqa: E501 self._attribution = None self._engine = None self._id = None @@ -79,22 +79,22 @@ def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=Non @property def attribution(self): - """Gets the attribution of this IsochronesResponseInfo. # noqa: E501 + """Gets the attribution of this InlineResponse2005Metadata. # noqa: E501 Copyright and attribution information # noqa: E501 - :return: The attribution of this IsochronesResponseInfo. # noqa: E501 + :return: The attribution of this InlineResponse2005Metadata. # noqa: E501 :rtype: str """ return self._attribution @attribution.setter def attribution(self, attribution): - """Sets the attribution of this IsochronesResponseInfo. + """Sets the attribution of this InlineResponse2005Metadata. Copyright and attribution information # noqa: E501 - :param attribution: The attribution of this IsochronesResponseInfo. # noqa: E501 + :param attribution: The attribution of this InlineResponse2005Metadata. # noqa: E501 :type: str """ @@ -102,43 +102,43 @@ def attribution(self, attribution): @property def engine(self): - """Gets the engine of this IsochronesResponseInfo. # noqa: E501 + """Gets the engine of this InlineResponse2005Metadata. # noqa: E501 - :return: The engine of this IsochronesResponseInfo. # noqa: E501 - :rtype: GeoJSONIsochronesResponseMetadataEngine + :return: The engine of this InlineResponse2005Metadata. # noqa: E501 + :rtype: InlineResponse2005MetadataEngine """ return self._engine @engine.setter def engine(self, engine): - """Sets the engine of this IsochronesResponseInfo. + """Sets the engine of this InlineResponse2005Metadata. - :param engine: The engine of this IsochronesResponseInfo. # noqa: E501 - :type: GeoJSONIsochronesResponseMetadataEngine + :param engine: The engine of this InlineResponse2005Metadata. # noqa: E501 + :type: InlineResponse2005MetadataEngine """ self._engine = engine @property def id(self): - """Gets the id of this IsochronesResponseInfo. # noqa: E501 + """Gets the id of this InlineResponse2005Metadata. # noqa: E501 ID of the request (as passed in by the query) # noqa: E501 - :return: The id of this IsochronesResponseInfo. # noqa: E501 + :return: The id of this InlineResponse2005Metadata. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): - """Sets the id of this IsochronesResponseInfo. + """Sets the id of this InlineResponse2005Metadata. ID of the request (as passed in by the query) # noqa: E501 - :param id: The id of this IsochronesResponseInfo. # noqa: E501 + :param id: The id of this InlineResponse2005Metadata. # noqa: E501 :type: str """ @@ -146,22 +146,22 @@ def id(self, id): @property def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this IsochronesResponseInfo. # noqa: E501 + """Gets the osm_file_md5_hash of this InlineResponse2005Metadata. # noqa: E501 The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - :return: The osm_file_md5_hash of this IsochronesResponseInfo. # noqa: E501 + :return: The osm_file_md5_hash of this InlineResponse2005Metadata. # noqa: E501 :rtype: str """ return self._osm_file_md5_hash @osm_file_md5_hash.setter def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this IsochronesResponseInfo. + """Sets the osm_file_md5_hash of this InlineResponse2005Metadata. The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - :param osm_file_md5_hash: The osm_file_md5_hash of this IsochronesResponseInfo. # noqa: E501 + :param osm_file_md5_hash: The osm_file_md5_hash of this InlineResponse2005Metadata. # noqa: E501 :type: str """ @@ -169,20 +169,20 @@ def osm_file_md5_hash(self, osm_file_md5_hash): @property def query(self): - """Gets the query of this IsochronesResponseInfo. # noqa: E501 + """Gets the query of this InlineResponse2005Metadata. # noqa: E501 - :return: The query of this IsochronesResponseInfo. # noqa: E501 + :return: The query of this InlineResponse2005Metadata. # noqa: E501 :rtype: IsochronesProfileBody """ return self._query @query.setter def query(self, query): - """Sets the query of this IsochronesResponseInfo. + """Sets the query of this InlineResponse2005Metadata. - :param query: The query of this IsochronesResponseInfo. # noqa: E501 + :param query: The query of this InlineResponse2005Metadata. # noqa: E501 :type: IsochronesProfileBody """ @@ -190,22 +190,22 @@ def query(self, query): @property def service(self): - """Gets the service of this IsochronesResponseInfo. # noqa: E501 + """Gets the service of this InlineResponse2005Metadata. # noqa: E501 The service that was requested # noqa: E501 - :return: The service of this IsochronesResponseInfo. # noqa: E501 + :return: The service of this InlineResponse2005Metadata. # noqa: E501 :rtype: str """ return self._service @service.setter def service(self, service): - """Sets the service of this IsochronesResponseInfo. + """Sets the service of this InlineResponse2005Metadata. The service that was requested # noqa: E501 - :param service: The service of this IsochronesResponseInfo. # noqa: E501 + :param service: The service of this InlineResponse2005Metadata. # noqa: E501 :type: str """ @@ -213,22 +213,22 @@ def service(self, service): @property def system_message(self): - """Gets the system_message of this IsochronesResponseInfo. # noqa: E501 + """Gets the system_message of this InlineResponse2005Metadata. # noqa: E501 System message # noqa: E501 - :return: The system_message of this IsochronesResponseInfo. # noqa: E501 + :return: The system_message of this InlineResponse2005Metadata. # noqa: E501 :rtype: str """ return self._system_message @system_message.setter def system_message(self, system_message): - """Sets the system_message of this IsochronesResponseInfo. + """Sets the system_message of this InlineResponse2005Metadata. System message # noqa: E501 - :param system_message: The system_message of this IsochronesResponseInfo. # noqa: E501 + :param system_message: The system_message of this InlineResponse2005Metadata. # noqa: E501 :type: str """ @@ -236,22 +236,22 @@ def system_message(self, system_message): @property def timestamp(self): - """Gets the timestamp of this IsochronesResponseInfo. # noqa: E501 + """Gets the timestamp of this InlineResponse2005Metadata. # noqa: E501 Time that the request was made (UNIX Epoch time) # noqa: E501 - :return: The timestamp of this IsochronesResponseInfo. # noqa: E501 + :return: The timestamp of this InlineResponse2005Metadata. # noqa: E501 :rtype: int """ return self._timestamp @timestamp.setter def timestamp(self, timestamp): - """Sets the timestamp of this IsochronesResponseInfo. + """Sets the timestamp of this InlineResponse2005Metadata. Time that the request was made (UNIX Epoch time) # noqa: E501 - :param timestamp: The timestamp of this IsochronesResponseInfo. # noqa: E501 + :param timestamp: The timestamp of this InlineResponse2005Metadata. # noqa: E501 :type: int """ @@ -278,7 +278,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(IsochronesResponseInfo, dict): + if issubclass(InlineResponse2005Metadata, dict): for key, value in self.items(): result[key] = value @@ -294,7 +294,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, IsochronesResponseInfo): + if not isinstance(other, InlineResponse2005Metadata): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/engine_info.py b/openrouteservice/models/inline_response2005_metadata_engine.py similarity index 76% rename from openrouteservice/models/engine_info.py rename to openrouteservice/models/inline_response2005_metadata_engine.py index b472eff2..e405cef1 100644 --- a/openrouteservice/models/engine_info.py +++ b/openrouteservice/models/inline_response2005_metadata_engine.py @@ -15,7 +15,7 @@ import six -class EngineInfo(object): +class InlineResponse2005MetadataEngine(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -40,7 +40,7 @@ class EngineInfo(object): } def __init__(self, build_date=None, graph_date=None, version=None): # noqa: E501 - """EngineInfo - a model defined in Swagger""" # noqa: E501 + """InlineResponse2005MetadataEngine - a model defined in Swagger""" # noqa: E501 self._build_date = None self._graph_date = None self._version = None @@ -54,22 +54,22 @@ def __init__(self, build_date=None, graph_date=None, version=None): # noqa: E50 @property def build_date(self): - """Gets the build_date of this EngineInfo. # noqa: E501 + """Gets the build_date of this InlineResponse2005MetadataEngine. # noqa: E501 The date that the service was last updated # noqa: E501 - :return: The build_date of this EngineInfo. # noqa: E501 + :return: The build_date of this InlineResponse2005MetadataEngine. # noqa: E501 :rtype: str """ return self._build_date @build_date.setter def build_date(self, build_date): - """Sets the build_date of this EngineInfo. + """Sets the build_date of this InlineResponse2005MetadataEngine. The date that the service was last updated # noqa: E501 - :param build_date: The build_date of this EngineInfo. # noqa: E501 + :param build_date: The build_date of this InlineResponse2005MetadataEngine. # noqa: E501 :type: str """ @@ -77,22 +77,22 @@ def build_date(self, build_date): @property def graph_date(self): - """Gets the graph_date of this EngineInfo. # noqa: E501 + """Gets the graph_date of this InlineResponse2005MetadataEngine. # noqa: E501 The date that the graph data was last updated # noqa: E501 - :return: The graph_date of this EngineInfo. # noqa: E501 + :return: The graph_date of this InlineResponse2005MetadataEngine. # noqa: E501 :rtype: str """ return self._graph_date @graph_date.setter def graph_date(self, graph_date): - """Sets the graph_date of this EngineInfo. + """Sets the graph_date of this InlineResponse2005MetadataEngine. The date that the graph data was last updated # noqa: E501 - :param graph_date: The graph_date of this EngineInfo. # noqa: E501 + :param graph_date: The graph_date of this InlineResponse2005MetadataEngine. # noqa: E501 :type: str """ @@ -100,22 +100,22 @@ def graph_date(self, graph_date): @property def version(self): - """Gets the version of this EngineInfo. # noqa: E501 + """Gets the version of this InlineResponse2005MetadataEngine. # noqa: E501 The backend version of the openrouteservice that was queried # noqa: E501 - :return: The version of this EngineInfo. # noqa: E501 + :return: The version of this InlineResponse2005MetadataEngine. # noqa: E501 :rtype: str """ return self._version @version.setter def version(self, version): - """Sets the version of this EngineInfo. + """Sets the version of this InlineResponse2005MetadataEngine. The backend version of the openrouteservice that was queried # noqa: E501 - :param version: The version of this EngineInfo. # noqa: E501 + :param version: The version of this InlineResponse2005MetadataEngine. # noqa: E501 :type: str """ @@ -142,7 +142,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(EngineInfo, dict): + if issubclass(InlineResponse2005MetadataEngine, dict): for key, value in self.items(): result[key] = value @@ -158,7 +158,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, EngineInfo): + if not isinstance(other, InlineResponse2005MetadataEngine): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/inline_response2006.py b/openrouteservice/models/inline_response2006.py index 92b3f18d..7e0d9c17 100644 --- a/openrouteservice/models/inline_response2006.py +++ b/openrouteservice/models/inline_response2006.py @@ -28,11 +28,11 @@ class InlineResponse2006(object): and the value is json key in definition. """ swagger_types = { - 'destinations': 'list[MatrixResponseDestinations]', + 'destinations': 'list[InlineResponse2006Destinations]', 'distances': 'list[list[float]]', 'durations': 'list[list[float]]', - 'metadata': 'MatrixResponseMetadata', - 'sources': 'list[MatrixResponseSources]' + 'metadata': 'InlineResponse2006Metadata', + 'sources': 'list[InlineResponse2006Sources]' } attribute_map = { @@ -69,7 +69,7 @@ def destinations(self): The individual destinations of the matrix calculations. # noqa: E501 :return: The destinations of this InlineResponse2006. # noqa: E501 - :rtype: list[MatrixResponseDestinations] + :rtype: list[InlineResponse2006Destinations] """ return self._destinations @@ -80,7 +80,7 @@ def destinations(self, destinations): The individual destinations of the matrix calculations. # noqa: E501 :param destinations: The destinations of this InlineResponse2006. # noqa: E501 - :type: list[MatrixResponseDestinations] + :type: list[InlineResponse2006Destinations] """ self._destinations = destinations @@ -137,7 +137,7 @@ def metadata(self): :return: The metadata of this InlineResponse2006. # noqa: E501 - :rtype: MatrixResponseMetadata + :rtype: InlineResponse2006Metadata """ return self._metadata @@ -147,7 +147,7 @@ def metadata(self, metadata): :param metadata: The metadata of this InlineResponse2006. # noqa: E501 - :type: MatrixResponseMetadata + :type: InlineResponse2006Metadata """ self._metadata = metadata @@ -159,7 +159,7 @@ def sources(self): The individual sources of the matrix calculations. # noqa: E501 :return: The sources of this InlineResponse2006. # noqa: E501 - :rtype: list[MatrixResponseSources] + :rtype: list[InlineResponse2006Sources] """ return self._sources @@ -170,7 +170,7 @@ def sources(self, sources): The individual sources of the matrix calculations. # noqa: E501 :param sources: The sources of this InlineResponse2006. # noqa: E501 - :type: list[MatrixResponseSources] + :type: list[InlineResponse2006Sources] """ self._sources = sources diff --git a/openrouteservice/models/matrix_response_destinations.py b/openrouteservice/models/inline_response2006_destinations.py similarity index 78% rename from openrouteservice/models/matrix_response_destinations.py rename to openrouteservice/models/inline_response2006_destinations.py index ee6f4115..228044f9 100644 --- a/openrouteservice/models/matrix_response_destinations.py +++ b/openrouteservice/models/inline_response2006_destinations.py @@ -15,7 +15,7 @@ import six -class MatrixResponseDestinations(object): +class InlineResponse2006Destinations(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -40,7 +40,7 @@ class MatrixResponseDestinations(object): } def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 - """MatrixResponseDestinations - a model defined in Swagger""" # noqa: E501 + """InlineResponse2006Destinations - a model defined in Swagger""" # noqa: E501 self._location = None self._name = None self._snapped_distance = None @@ -54,22 +54,22 @@ def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E5 @property def location(self): - """Gets the location of this MatrixResponseDestinations. # noqa: E501 + """Gets the location of this InlineResponse2006Destinations. # noqa: E501 {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - :return: The location of this MatrixResponseDestinations. # noqa: E501 + :return: The location of this InlineResponse2006Destinations. # noqa: E501 :rtype: list[float] """ return self._location @location.setter def location(self, location): - """Sets the location of this MatrixResponseDestinations. + """Sets the location of this InlineResponse2006Destinations. {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - :param location: The location of this MatrixResponseDestinations. # noqa: E501 + :param location: The location of this InlineResponse2006Destinations. # noqa: E501 :type: list[float] """ @@ -77,22 +77,22 @@ def location(self, location): @property def name(self): - """Gets the name of this MatrixResponseDestinations. # noqa: E501 + """Gets the name of this InlineResponse2006Destinations. # noqa: E501 Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - :return: The name of this MatrixResponseDestinations. # noqa: E501 + :return: The name of this InlineResponse2006Destinations. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this MatrixResponseDestinations. + """Sets the name of this InlineResponse2006Destinations. Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - :param name: The name of this MatrixResponseDestinations. # noqa: E501 + :param name: The name of this InlineResponse2006Destinations. # noqa: E501 :type: str """ @@ -100,22 +100,22 @@ def name(self, name): @property def snapped_distance(self): - """Gets the snapped_distance of this MatrixResponseDestinations. # noqa: E501 + """Gets the snapped_distance of this InlineResponse2006Destinations. # noqa: E501 Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - :return: The snapped_distance of this MatrixResponseDestinations. # noqa: E501 + :return: The snapped_distance of this InlineResponse2006Destinations. # noqa: E501 :rtype: float """ return self._snapped_distance @snapped_distance.setter def snapped_distance(self, snapped_distance): - """Sets the snapped_distance of this MatrixResponseDestinations. + """Sets the snapped_distance of this InlineResponse2006Destinations. Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - :param snapped_distance: The snapped_distance of this MatrixResponseDestinations. # noqa: E501 + :param snapped_distance: The snapped_distance of this InlineResponse2006Destinations. # noqa: E501 :type: float """ @@ -142,7 +142,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(MatrixResponseDestinations, dict): + if issubclass(InlineResponse2006Destinations, dict): for key, value in self.items(): result[key] = value @@ -158,7 +158,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, MatrixResponseDestinations): + if not isinstance(other, InlineResponse2006Destinations): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/matrix_response_metadata.py b/openrouteservice/models/inline_response2006_metadata.py similarity index 71% rename from openrouteservice/models/matrix_response_metadata.py rename to openrouteservice/models/inline_response2006_metadata.py index f2503eb9..10c64e96 100644 --- a/openrouteservice/models/matrix_response_metadata.py +++ b/openrouteservice/models/inline_response2006_metadata.py @@ -15,7 +15,7 @@ import six -class MatrixResponseMetadata(object): +class InlineResponse2006Metadata(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -29,7 +29,7 @@ class MatrixResponseMetadata(object): """ swagger_types = { 'attribution': 'str', - 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'engine': 'InlineResponse2005MetadataEngine', 'id': 'str', 'osm_file_md5_hash': 'str', 'query': 'MatrixProfileBody', @@ -50,7 +50,7 @@ class MatrixResponseMetadata(object): } def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """MatrixResponseMetadata - a model defined in Swagger""" # noqa: E501 + """InlineResponse2006Metadata - a model defined in Swagger""" # noqa: E501 self._attribution = None self._engine = None self._id = None @@ -79,22 +79,22 @@ def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=Non @property def attribution(self): - """Gets the attribution of this MatrixResponseMetadata. # noqa: E501 + """Gets the attribution of this InlineResponse2006Metadata. # noqa: E501 Copyright and attribution information # noqa: E501 - :return: The attribution of this MatrixResponseMetadata. # noqa: E501 + :return: The attribution of this InlineResponse2006Metadata. # noqa: E501 :rtype: str """ return self._attribution @attribution.setter def attribution(self, attribution): - """Sets the attribution of this MatrixResponseMetadata. + """Sets the attribution of this InlineResponse2006Metadata. Copyright and attribution information # noqa: E501 - :param attribution: The attribution of this MatrixResponseMetadata. # noqa: E501 + :param attribution: The attribution of this InlineResponse2006Metadata. # noqa: E501 :type: str """ @@ -102,43 +102,43 @@ def attribution(self, attribution): @property def engine(self): - """Gets the engine of this MatrixResponseMetadata. # noqa: E501 + """Gets the engine of this InlineResponse2006Metadata. # noqa: E501 - :return: The engine of this MatrixResponseMetadata. # noqa: E501 - :rtype: GeoJSONIsochronesResponseMetadataEngine + :return: The engine of this InlineResponse2006Metadata. # noqa: E501 + :rtype: InlineResponse2005MetadataEngine """ return self._engine @engine.setter def engine(self, engine): - """Sets the engine of this MatrixResponseMetadata. + """Sets the engine of this InlineResponse2006Metadata. - :param engine: The engine of this MatrixResponseMetadata. # noqa: E501 - :type: GeoJSONIsochronesResponseMetadataEngine + :param engine: The engine of this InlineResponse2006Metadata. # noqa: E501 + :type: InlineResponse2005MetadataEngine """ self._engine = engine @property def id(self): - """Gets the id of this MatrixResponseMetadata. # noqa: E501 + """Gets the id of this InlineResponse2006Metadata. # noqa: E501 ID of the request (as passed in by the query) # noqa: E501 - :return: The id of this MatrixResponseMetadata. # noqa: E501 + :return: The id of this InlineResponse2006Metadata. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): - """Sets the id of this MatrixResponseMetadata. + """Sets the id of this InlineResponse2006Metadata. ID of the request (as passed in by the query) # noqa: E501 - :param id: The id of this MatrixResponseMetadata. # noqa: E501 + :param id: The id of this InlineResponse2006Metadata. # noqa: E501 :type: str """ @@ -146,22 +146,22 @@ def id(self, id): @property def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this MatrixResponseMetadata. # noqa: E501 + """Gets the osm_file_md5_hash of this InlineResponse2006Metadata. # noqa: E501 The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - :return: The osm_file_md5_hash of this MatrixResponseMetadata. # noqa: E501 + :return: The osm_file_md5_hash of this InlineResponse2006Metadata. # noqa: E501 :rtype: str """ return self._osm_file_md5_hash @osm_file_md5_hash.setter def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this MatrixResponseMetadata. + """Sets the osm_file_md5_hash of this InlineResponse2006Metadata. The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - :param osm_file_md5_hash: The osm_file_md5_hash of this MatrixResponseMetadata. # noqa: E501 + :param osm_file_md5_hash: The osm_file_md5_hash of this InlineResponse2006Metadata. # noqa: E501 :type: str """ @@ -169,20 +169,20 @@ def osm_file_md5_hash(self, osm_file_md5_hash): @property def query(self): - """Gets the query of this MatrixResponseMetadata. # noqa: E501 + """Gets the query of this InlineResponse2006Metadata. # noqa: E501 - :return: The query of this MatrixResponseMetadata. # noqa: E501 + :return: The query of this InlineResponse2006Metadata. # noqa: E501 :rtype: MatrixProfileBody """ return self._query @query.setter def query(self, query): - """Sets the query of this MatrixResponseMetadata. + """Sets the query of this InlineResponse2006Metadata. - :param query: The query of this MatrixResponseMetadata. # noqa: E501 + :param query: The query of this InlineResponse2006Metadata. # noqa: E501 :type: MatrixProfileBody """ @@ -190,22 +190,22 @@ def query(self, query): @property def service(self): - """Gets the service of this MatrixResponseMetadata. # noqa: E501 + """Gets the service of this InlineResponse2006Metadata. # noqa: E501 The service that was requested # noqa: E501 - :return: The service of this MatrixResponseMetadata. # noqa: E501 + :return: The service of this InlineResponse2006Metadata. # noqa: E501 :rtype: str """ return self._service @service.setter def service(self, service): - """Sets the service of this MatrixResponseMetadata. + """Sets the service of this InlineResponse2006Metadata. The service that was requested # noqa: E501 - :param service: The service of this MatrixResponseMetadata. # noqa: E501 + :param service: The service of this InlineResponse2006Metadata. # noqa: E501 :type: str """ @@ -213,22 +213,22 @@ def service(self, service): @property def system_message(self): - """Gets the system_message of this MatrixResponseMetadata. # noqa: E501 + """Gets the system_message of this InlineResponse2006Metadata. # noqa: E501 System message # noqa: E501 - :return: The system_message of this MatrixResponseMetadata. # noqa: E501 + :return: The system_message of this InlineResponse2006Metadata. # noqa: E501 :rtype: str """ return self._system_message @system_message.setter def system_message(self, system_message): - """Sets the system_message of this MatrixResponseMetadata. + """Sets the system_message of this InlineResponse2006Metadata. System message # noqa: E501 - :param system_message: The system_message of this MatrixResponseMetadata. # noqa: E501 + :param system_message: The system_message of this InlineResponse2006Metadata. # noqa: E501 :type: str """ @@ -236,22 +236,22 @@ def system_message(self, system_message): @property def timestamp(self): - """Gets the timestamp of this MatrixResponseMetadata. # noqa: E501 + """Gets the timestamp of this InlineResponse2006Metadata. # noqa: E501 Time that the request was made (UNIX Epoch time) # noqa: E501 - :return: The timestamp of this MatrixResponseMetadata. # noqa: E501 + :return: The timestamp of this InlineResponse2006Metadata. # noqa: E501 :rtype: int """ return self._timestamp @timestamp.setter def timestamp(self, timestamp): - """Sets the timestamp of this MatrixResponseMetadata. + """Sets the timestamp of this InlineResponse2006Metadata. Time that the request was made (UNIX Epoch time) # noqa: E501 - :param timestamp: The timestamp of this MatrixResponseMetadata. # noqa: E501 + :param timestamp: The timestamp of this InlineResponse2006Metadata. # noqa: E501 :type: int """ @@ -278,7 +278,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(MatrixResponseMetadata, dict): + if issubclass(InlineResponse2006Metadata, dict): for key, value in self.items(): result[key] = value @@ -294,7 +294,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, MatrixResponseMetadata): + if not isinstance(other, InlineResponse2006Metadata): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/snapping_response_locations.py b/openrouteservice/models/inline_response2006_sources.py similarity index 80% rename from openrouteservice/models/snapping_response_locations.py rename to openrouteservice/models/inline_response2006_sources.py index cb7ecdeb..a7a4a3e0 100644 --- a/openrouteservice/models/snapping_response_locations.py +++ b/openrouteservice/models/inline_response2006_sources.py @@ -15,7 +15,7 @@ import six -class SnappingResponseLocations(object): +class InlineResponse2006Sources(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -40,7 +40,7 @@ class SnappingResponseLocations(object): } def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 - """SnappingResponseLocations - a model defined in Swagger""" # noqa: E501 + """InlineResponse2006Sources - a model defined in Swagger""" # noqa: E501 self._location = None self._name = None self._snapped_distance = None @@ -54,22 +54,22 @@ def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E5 @property def location(self): - """Gets the location of this SnappingResponseLocations. # noqa: E501 + """Gets the location of this InlineResponse2006Sources. # noqa: E501 {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - :return: The location of this SnappingResponseLocations. # noqa: E501 + :return: The location of this InlineResponse2006Sources. # noqa: E501 :rtype: list[float] """ return self._location @location.setter def location(self, location): - """Sets the location of this SnappingResponseLocations. + """Sets the location of this InlineResponse2006Sources. {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - :param location: The location of this SnappingResponseLocations. # noqa: E501 + :param location: The location of this InlineResponse2006Sources. # noqa: E501 :type: list[float] """ @@ -77,22 +77,22 @@ def location(self, location): @property def name(self): - """Gets the name of this SnappingResponseLocations. # noqa: E501 + """Gets the name of this InlineResponse2006Sources. # noqa: E501 Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - :return: The name of this SnappingResponseLocations. # noqa: E501 + :return: The name of this InlineResponse2006Sources. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this SnappingResponseLocations. + """Sets the name of this InlineResponse2006Sources. Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - :param name: The name of this SnappingResponseLocations. # noqa: E501 + :param name: The name of this InlineResponse2006Sources. # noqa: E501 :type: str """ @@ -100,22 +100,22 @@ def name(self, name): @property def snapped_distance(self): - """Gets the snapped_distance of this SnappingResponseLocations. # noqa: E501 + """Gets the snapped_distance of this InlineResponse2006Sources. # noqa: E501 Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - :return: The snapped_distance of this SnappingResponseLocations. # noqa: E501 + :return: The snapped_distance of this InlineResponse2006Sources. # noqa: E501 :rtype: float """ return self._snapped_distance @snapped_distance.setter def snapped_distance(self, snapped_distance): - """Sets the snapped_distance of this SnappingResponseLocations. + """Sets the snapped_distance of this InlineResponse2006Sources. Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - :param snapped_distance: The snapped_distance of this SnappingResponseLocations. # noqa: E501 + :param snapped_distance: The snapped_distance of this InlineResponse2006Sources. # noqa: E501 :type: float """ @@ -142,7 +142,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(SnappingResponseLocations, dict): + if issubclass(InlineResponse2006Sources, dict): for key, value in self.items(): result[key] = value @@ -158,7 +158,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, SnappingResponseLocations): + if not isinstance(other, InlineResponse2006Sources): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/inline_response2007.py b/openrouteservice/models/inline_response2007.py index a6fdc92e..25217860 100644 --- a/openrouteservice/models/inline_response2007.py +++ b/openrouteservice/models/inline_response2007.py @@ -28,8 +28,8 @@ class InlineResponse2007(object): and the value is json key in definition. """ swagger_types = { - 'locations': 'list[SnappingResponseLocations]', - 'metadata': 'GeoJSONSnappingResponseMetadata' + 'locations': 'list[InlineResponse2007Locations]', + 'metadata': 'InlineResponse2007Metadata' } attribute_map = { @@ -54,7 +54,7 @@ def locations(self): The snapped locations as coordinates and snapping distance. # noqa: E501 :return: The locations of this InlineResponse2007. # noqa: E501 - :rtype: list[SnappingResponseLocations] + :rtype: list[InlineResponse2007Locations] """ return self._locations @@ -65,7 +65,7 @@ def locations(self, locations): The snapped locations as coordinates and snapping distance. # noqa: E501 :param locations: The locations of this InlineResponse2007. # noqa: E501 - :type: list[SnappingResponseLocations] + :type: list[InlineResponse2007Locations] """ self._locations = locations @@ -76,7 +76,7 @@ def metadata(self): :return: The metadata of this InlineResponse2007. # noqa: E501 - :rtype: GeoJSONSnappingResponseMetadata + :rtype: InlineResponse2007Metadata """ return self._metadata @@ -86,7 +86,7 @@ def metadata(self, metadata): :param metadata: The metadata of this InlineResponse2007. # noqa: E501 - :type: GeoJSONSnappingResponseMetadata + :type: InlineResponse2007Metadata """ self._metadata = metadata diff --git a/openrouteservice/models/json2_d_destinations.py b/openrouteservice/models/inline_response2007_locations.py similarity index 79% rename from openrouteservice/models/json2_d_destinations.py rename to openrouteservice/models/inline_response2007_locations.py index 3fbed49a..d67d7adf 100644 --- a/openrouteservice/models/json2_d_destinations.py +++ b/openrouteservice/models/inline_response2007_locations.py @@ -15,7 +15,7 @@ import six -class JSON2DDestinations(object): +class InlineResponse2007Locations(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -40,7 +40,7 @@ class JSON2DDestinations(object): } def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 - """JSON2DDestinations - a model defined in Swagger""" # noqa: E501 + """InlineResponse2007Locations - a model defined in Swagger""" # noqa: E501 self._location = None self._name = None self._snapped_distance = None @@ -54,22 +54,22 @@ def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E5 @property def location(self): - """Gets the location of this JSON2DDestinations. # noqa: E501 + """Gets the location of this InlineResponse2007Locations. # noqa: E501 {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - :return: The location of this JSON2DDestinations. # noqa: E501 + :return: The location of this InlineResponse2007Locations. # noqa: E501 :rtype: list[float] """ return self._location @location.setter def location(self, location): - """Sets the location of this JSON2DDestinations. + """Sets the location of this InlineResponse2007Locations. {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - :param location: The location of this JSON2DDestinations. # noqa: E501 + :param location: The location of this InlineResponse2007Locations. # noqa: E501 :type: list[float] """ @@ -77,22 +77,22 @@ def location(self, location): @property def name(self): - """Gets the name of this JSON2DDestinations. # noqa: E501 + """Gets the name of this InlineResponse2007Locations. # noqa: E501 Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - :return: The name of this JSON2DDestinations. # noqa: E501 + :return: The name of this InlineResponse2007Locations. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this JSON2DDestinations. + """Sets the name of this InlineResponse2007Locations. Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - :param name: The name of this JSON2DDestinations. # noqa: E501 + :param name: The name of this InlineResponse2007Locations. # noqa: E501 :type: str """ @@ -100,22 +100,22 @@ def name(self, name): @property def snapped_distance(self): - """Gets the snapped_distance of this JSON2DDestinations. # noqa: E501 + """Gets the snapped_distance of this InlineResponse2007Locations. # noqa: E501 Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - :return: The snapped_distance of this JSON2DDestinations. # noqa: E501 + :return: The snapped_distance of this InlineResponse2007Locations. # noqa: E501 :rtype: float """ return self._snapped_distance @snapped_distance.setter def snapped_distance(self, snapped_distance): - """Sets the snapped_distance of this JSON2DDestinations. + """Sets the snapped_distance of this InlineResponse2007Locations. Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - :param snapped_distance: The snapped_distance of this JSON2DDestinations. # noqa: E501 + :param snapped_distance: The snapped_distance of this InlineResponse2007Locations. # noqa: E501 :type: float """ @@ -142,7 +142,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(JSON2DDestinations, dict): + if issubclass(InlineResponse2007Locations, dict): for key, value in self.items(): result[key] = value @@ -158,7 +158,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, JSON2DDestinations): + if not isinstance(other, InlineResponse2007Locations): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/snapping_response_info.py b/openrouteservice/models/inline_response2007_metadata.py similarity index 71% rename from openrouteservice/models/snapping_response_info.py rename to openrouteservice/models/inline_response2007_metadata.py index cdc45a44..bde57dfd 100644 --- a/openrouteservice/models/snapping_response_info.py +++ b/openrouteservice/models/inline_response2007_metadata.py @@ -15,7 +15,7 @@ import six -class SnappingResponseInfo(object): +class InlineResponse2007Metadata(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -29,7 +29,7 @@ class SnappingResponseInfo(object): """ swagger_types = { 'attribution': 'str', - 'engine': 'GeoJSONIsochronesResponseMetadataEngine', + 'engine': 'InlineResponse2005MetadataEngine', 'osm_file_md5_hash': 'str', 'query': 'ProfileJsonBody', 'service': 'str', @@ -48,7 +48,7 @@ class SnappingResponseInfo(object): } def __init__(self, attribution=None, engine=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """SnappingResponseInfo - a model defined in Swagger""" # noqa: E501 + """InlineResponse2007Metadata - a model defined in Swagger""" # noqa: E501 self._attribution = None self._engine = None self._osm_file_md5_hash = None @@ -74,22 +74,22 @@ def __init__(self, attribution=None, engine=None, osm_file_md5_hash=None, query= @property def attribution(self): - """Gets the attribution of this SnappingResponseInfo. # noqa: E501 + """Gets the attribution of this InlineResponse2007Metadata. # noqa: E501 Copyright and attribution information # noqa: E501 - :return: The attribution of this SnappingResponseInfo. # noqa: E501 + :return: The attribution of this InlineResponse2007Metadata. # noqa: E501 :rtype: str """ return self._attribution @attribution.setter def attribution(self, attribution): - """Sets the attribution of this SnappingResponseInfo. + """Sets the attribution of this InlineResponse2007Metadata. Copyright and attribution information # noqa: E501 - :param attribution: The attribution of this SnappingResponseInfo. # noqa: E501 + :param attribution: The attribution of this InlineResponse2007Metadata. # noqa: E501 :type: str """ @@ -97,43 +97,43 @@ def attribution(self, attribution): @property def engine(self): - """Gets the engine of this SnappingResponseInfo. # noqa: E501 + """Gets the engine of this InlineResponse2007Metadata. # noqa: E501 - :return: The engine of this SnappingResponseInfo. # noqa: E501 - :rtype: GeoJSONIsochronesResponseMetadataEngine + :return: The engine of this InlineResponse2007Metadata. # noqa: E501 + :rtype: InlineResponse2005MetadataEngine """ return self._engine @engine.setter def engine(self, engine): - """Sets the engine of this SnappingResponseInfo. + """Sets the engine of this InlineResponse2007Metadata. - :param engine: The engine of this SnappingResponseInfo. # noqa: E501 - :type: GeoJSONIsochronesResponseMetadataEngine + :param engine: The engine of this InlineResponse2007Metadata. # noqa: E501 + :type: InlineResponse2005MetadataEngine """ self._engine = engine @property def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this SnappingResponseInfo. # noqa: E501 + """Gets the osm_file_md5_hash of this InlineResponse2007Metadata. # noqa: E501 The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - :return: The osm_file_md5_hash of this SnappingResponseInfo. # noqa: E501 + :return: The osm_file_md5_hash of this InlineResponse2007Metadata. # noqa: E501 :rtype: str """ return self._osm_file_md5_hash @osm_file_md5_hash.setter def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this SnappingResponseInfo. + """Sets the osm_file_md5_hash of this InlineResponse2007Metadata. The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - :param osm_file_md5_hash: The osm_file_md5_hash of this SnappingResponseInfo. # noqa: E501 + :param osm_file_md5_hash: The osm_file_md5_hash of this InlineResponse2007Metadata. # noqa: E501 :type: str """ @@ -141,20 +141,20 @@ def osm_file_md5_hash(self, osm_file_md5_hash): @property def query(self): - """Gets the query of this SnappingResponseInfo. # noqa: E501 + """Gets the query of this InlineResponse2007Metadata. # noqa: E501 - :return: The query of this SnappingResponseInfo. # noqa: E501 + :return: The query of this InlineResponse2007Metadata. # noqa: E501 :rtype: ProfileJsonBody """ return self._query @query.setter def query(self, query): - """Sets the query of this SnappingResponseInfo. + """Sets the query of this InlineResponse2007Metadata. - :param query: The query of this SnappingResponseInfo. # noqa: E501 + :param query: The query of this InlineResponse2007Metadata. # noqa: E501 :type: ProfileJsonBody """ @@ -162,22 +162,22 @@ def query(self, query): @property def service(self): - """Gets the service of this SnappingResponseInfo. # noqa: E501 + """Gets the service of this InlineResponse2007Metadata. # noqa: E501 The service that was requested # noqa: E501 - :return: The service of this SnappingResponseInfo. # noqa: E501 + :return: The service of this InlineResponse2007Metadata. # noqa: E501 :rtype: str """ return self._service @service.setter def service(self, service): - """Sets the service of this SnappingResponseInfo. + """Sets the service of this InlineResponse2007Metadata. The service that was requested # noqa: E501 - :param service: The service of this SnappingResponseInfo. # noqa: E501 + :param service: The service of this InlineResponse2007Metadata. # noqa: E501 :type: str """ @@ -185,22 +185,22 @@ def service(self, service): @property def system_message(self): - """Gets the system_message of this SnappingResponseInfo. # noqa: E501 + """Gets the system_message of this InlineResponse2007Metadata. # noqa: E501 System message # noqa: E501 - :return: The system_message of this SnappingResponseInfo. # noqa: E501 + :return: The system_message of this InlineResponse2007Metadata. # noqa: E501 :rtype: str """ return self._system_message @system_message.setter def system_message(self, system_message): - """Sets the system_message of this SnappingResponseInfo. + """Sets the system_message of this InlineResponse2007Metadata. System message # noqa: E501 - :param system_message: The system_message of this SnappingResponseInfo. # noqa: E501 + :param system_message: The system_message of this InlineResponse2007Metadata. # noqa: E501 :type: str """ @@ -208,22 +208,22 @@ def system_message(self, system_message): @property def timestamp(self): - """Gets the timestamp of this SnappingResponseInfo. # noqa: E501 + """Gets the timestamp of this InlineResponse2007Metadata. # noqa: E501 Time that the request was made (UNIX Epoch time) # noqa: E501 - :return: The timestamp of this SnappingResponseInfo. # noqa: E501 + :return: The timestamp of this InlineResponse2007Metadata. # noqa: E501 :rtype: int """ return self._timestamp @timestamp.setter def timestamp(self, timestamp): - """Sets the timestamp of this SnappingResponseInfo. + """Sets the timestamp of this InlineResponse2007Metadata. Time that the request was made (UNIX Epoch time) # noqa: E501 - :param timestamp: The timestamp of this SnappingResponseInfo. # noqa: E501 + :param timestamp: The timestamp of this InlineResponse2007Metadata. # noqa: E501 :type: int """ @@ -250,7 +250,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(SnappingResponseInfo, dict): + if issubclass(InlineResponse2007Metadata, dict): for key, value in self.items(): result[key] = value @@ -266,7 +266,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, SnappingResponseInfo): + if not isinstance(other, InlineResponse2007Metadata): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/inline_response2008.py b/openrouteservice/models/inline_response2008.py index cb315b72..ea5818aa 100644 --- a/openrouteservice/models/inline_response2008.py +++ b/openrouteservice/models/inline_response2008.py @@ -29,8 +29,8 @@ class InlineResponse2008(object): """ swagger_types = { 'bbox': 'list[float]', - 'features': 'list[GeoJSONSnappingResponseFeatures]', - 'metadata': 'GeoJSONSnappingResponseMetadata', + 'features': 'list[InlineResponse2008Features]', + 'metadata': 'InlineResponse2007Metadata', 'type': 'str' } @@ -87,7 +87,7 @@ def features(self): Information about the service and request # noqa: E501 :return: The features of this InlineResponse2008. # noqa: E501 - :rtype: list[GeoJSONSnappingResponseFeatures] + :rtype: list[InlineResponse2008Features] """ return self._features @@ -98,7 +98,7 @@ def features(self, features): Information about the service and request # noqa: E501 :param features: The features of this InlineResponse2008. # noqa: E501 - :type: list[GeoJSONSnappingResponseFeatures] + :type: list[InlineResponse2008Features] """ self._features = features @@ -109,7 +109,7 @@ def metadata(self): :return: The metadata of this InlineResponse2008. # noqa: E501 - :rtype: GeoJSONSnappingResponseMetadata + :rtype: InlineResponse2007Metadata """ return self._metadata @@ -119,7 +119,7 @@ def metadata(self, metadata): :param metadata: The metadata of this InlineResponse2008. # noqa: E501 - :type: GeoJSONSnappingResponseMetadata + :type: InlineResponse2007Metadata """ self._metadata = metadata diff --git a/openrouteservice/models/geo_json_feature.py b/openrouteservice/models/inline_response2008_features.py similarity index 71% rename from openrouteservice/models/geo_json_feature.py rename to openrouteservice/models/inline_response2008_features.py index e5c4e1b8..04b1e203 100644 --- a/openrouteservice/models/geo_json_feature.py +++ b/openrouteservice/models/inline_response2008_features.py @@ -15,7 +15,7 @@ import six -class GeoJSONFeature(object): +class InlineResponse2008Features(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -28,8 +28,8 @@ class GeoJSONFeature(object): and the value is json key in definition. """ swagger_types = { - 'geometry': 'GeoJSONFeatureGeometry', - 'properties': 'GeoJSONFeatureProperties', + 'geometry': 'InlineResponse2008Geometry', + 'properties': 'InlineResponse2008Properties', 'type': 'str' } @@ -40,7 +40,7 @@ class GeoJSONFeature(object): } def __init__(self, geometry=None, properties=None, type='Feature'): # noqa: E501 - """GeoJSONFeature - a model defined in Swagger""" # noqa: E501 + """InlineResponse2008Features - a model defined in Swagger""" # noqa: E501 self._geometry = None self._properties = None self._type = None @@ -54,64 +54,64 @@ def __init__(self, geometry=None, properties=None, type='Feature'): # noqa: E50 @property def geometry(self): - """Gets the geometry of this GeoJSONFeature. # noqa: E501 + """Gets the geometry of this InlineResponse2008Features. # noqa: E501 - :return: The geometry of this GeoJSONFeature. # noqa: E501 - :rtype: GeoJSONFeatureGeometry + :return: The geometry of this InlineResponse2008Features. # noqa: E501 + :rtype: InlineResponse2008Geometry """ return self._geometry @geometry.setter def geometry(self, geometry): - """Sets the geometry of this GeoJSONFeature. + """Sets the geometry of this InlineResponse2008Features. - :param geometry: The geometry of this GeoJSONFeature. # noqa: E501 - :type: GeoJSONFeatureGeometry + :param geometry: The geometry of this InlineResponse2008Features. # noqa: E501 + :type: InlineResponse2008Geometry """ self._geometry = geometry @property def properties(self): - """Gets the properties of this GeoJSONFeature. # noqa: E501 + """Gets the properties of this InlineResponse2008Features. # noqa: E501 - :return: The properties of this GeoJSONFeature. # noqa: E501 - :rtype: GeoJSONFeatureProperties + :return: The properties of this InlineResponse2008Features. # noqa: E501 + :rtype: InlineResponse2008Properties """ return self._properties @properties.setter def properties(self, properties): - """Sets the properties of this GeoJSONFeature. + """Sets the properties of this InlineResponse2008Features. - :param properties: The properties of this GeoJSONFeature. # noqa: E501 - :type: GeoJSONFeatureProperties + :param properties: The properties of this InlineResponse2008Features. # noqa: E501 + :type: InlineResponse2008Properties """ self._properties = properties @property def type(self): - """Gets the type of this GeoJSONFeature. # noqa: E501 + """Gets the type of this InlineResponse2008Features. # noqa: E501 GeoJSON type # noqa: E501 - :return: The type of this GeoJSONFeature. # noqa: E501 + :return: The type of this InlineResponse2008Features. # noqa: E501 :rtype: str """ return self._type @type.setter def type(self, type): - """Sets the type of this GeoJSONFeature. + """Sets the type of this InlineResponse2008Features. GeoJSON type # noqa: E501 - :param type: The type of this GeoJSONFeature. # noqa: E501 + :param type: The type of this InlineResponse2008Features. # noqa: E501 :type: str """ @@ -138,7 +138,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(GeoJSONFeature, dict): + if issubclass(InlineResponse2008Features, dict): for key, value in self.items(): result[key] = value @@ -154,7 +154,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONFeature): + if not isinstance(other, InlineResponse2008Features): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/geo_json_point_geometry.py b/openrouteservice/models/inline_response2008_geometry.py similarity index 80% rename from openrouteservice/models/geo_json_point_geometry.py rename to openrouteservice/models/inline_response2008_geometry.py index 4b50df42..19a58619 100644 --- a/openrouteservice/models/geo_json_point_geometry.py +++ b/openrouteservice/models/inline_response2008_geometry.py @@ -15,7 +15,7 @@ import six -class GeoJSONPointGeometry(object): +class InlineResponse2008Geometry(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -38,7 +38,7 @@ class GeoJSONPointGeometry(object): } def __init__(self, coordinates=None, type='Point'): # noqa: E501 - """GeoJSONPointGeometry - a model defined in Swagger""" # noqa: E501 + """InlineResponse2008Geometry - a model defined in Swagger""" # noqa: E501 self._coordinates = None self._type = None self.discriminator = None @@ -49,22 +49,22 @@ def __init__(self, coordinates=None, type='Point'): # noqa: E501 @property def coordinates(self): - """Gets the coordinates of this GeoJSONPointGeometry. # noqa: E501 + """Gets the coordinates of this InlineResponse2008Geometry. # noqa: E501 Lon/Lat coordinates of the snapped location # noqa: E501 - :return: The coordinates of this GeoJSONPointGeometry. # noqa: E501 + :return: The coordinates of this InlineResponse2008Geometry. # noqa: E501 :rtype: list[float] """ return self._coordinates @coordinates.setter def coordinates(self, coordinates): - """Sets the coordinates of this GeoJSONPointGeometry. + """Sets the coordinates of this InlineResponse2008Geometry. Lon/Lat coordinates of the snapped location # noqa: E501 - :param coordinates: The coordinates of this GeoJSONPointGeometry. # noqa: E501 + :param coordinates: The coordinates of this InlineResponse2008Geometry. # noqa: E501 :type: list[float] """ @@ -72,22 +72,22 @@ def coordinates(self, coordinates): @property def type(self): - """Gets the type of this GeoJSONPointGeometry. # noqa: E501 + """Gets the type of this InlineResponse2008Geometry. # noqa: E501 GeoJSON type # noqa: E501 - :return: The type of this GeoJSONPointGeometry. # noqa: E501 + :return: The type of this InlineResponse2008Geometry. # noqa: E501 :rtype: str """ return self._type @type.setter def type(self, type): - """Sets the type of this GeoJSONPointGeometry. + """Sets the type of this InlineResponse2008Geometry. GeoJSON type # noqa: E501 - :param type: The type of this GeoJSONPointGeometry. # noqa: E501 + :param type: The type of this InlineResponse2008Geometry. # noqa: E501 :type: str """ @@ -114,7 +114,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(GeoJSONPointGeometry, dict): + if issubclass(InlineResponse2008Geometry, dict): for key, value in self.items(): result[key] = value @@ -130,7 +130,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONPointGeometry): + if not isinstance(other, InlineResponse2008Geometry): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/geo_json_feature_properties.py b/openrouteservice/models/inline_response2008_properties.py similarity index 78% rename from openrouteservice/models/geo_json_feature_properties.py rename to openrouteservice/models/inline_response2008_properties.py index 6c1c2d27..1f52e0c7 100644 --- a/openrouteservice/models/geo_json_feature_properties.py +++ b/openrouteservice/models/inline_response2008_properties.py @@ -15,7 +15,7 @@ import six -class GeoJSONFeatureProperties(object): +class InlineResponse2008Properties(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -40,7 +40,7 @@ class GeoJSONFeatureProperties(object): } def __init__(self, name=None, snapped_distance=None, source_id=None): # noqa: E501 - """GeoJSONFeatureProperties - a model defined in Swagger""" # noqa: E501 + """InlineResponse2008Properties - a model defined in Swagger""" # noqa: E501 self._name = None self._snapped_distance = None self._source_id = None @@ -54,22 +54,22 @@ def __init__(self, name=None, snapped_distance=None, source_id=None): # noqa: E @property def name(self): - """Gets the name of this GeoJSONFeatureProperties. # noqa: E501 + """Gets the name of this InlineResponse2008Properties. # noqa: E501 \"Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - :return: The name of this GeoJSONFeatureProperties. # noqa: E501 + :return: The name of this InlineResponse2008Properties. # noqa: E501 :rtype: str """ return self._name @name.setter def name(self, name): - """Sets the name of this GeoJSONFeatureProperties. + """Sets the name of this InlineResponse2008Properties. \"Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - :param name: The name of this GeoJSONFeatureProperties. # noqa: E501 + :param name: The name of this InlineResponse2008Properties. # noqa: E501 :type: str """ @@ -77,22 +77,22 @@ def name(self, name): @property def snapped_distance(self): - """Gets the snapped_distance of this GeoJSONFeatureProperties. # noqa: E501 + """Gets the snapped_distance of this InlineResponse2008Properties. # noqa: E501 Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - :return: The snapped_distance of this GeoJSONFeatureProperties. # noqa: E501 + :return: The snapped_distance of this InlineResponse2008Properties. # noqa: E501 :rtype: float """ return self._snapped_distance @snapped_distance.setter def snapped_distance(self, snapped_distance): - """Sets the snapped_distance of this GeoJSONFeatureProperties. + """Sets the snapped_distance of this InlineResponse2008Properties. Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - :param snapped_distance: The snapped_distance of this GeoJSONFeatureProperties. # noqa: E501 + :param snapped_distance: The snapped_distance of this InlineResponse2008Properties. # noqa: E501 :type: float """ @@ -100,22 +100,22 @@ def snapped_distance(self, snapped_distance): @property def source_id(self): - """Gets the source_id of this GeoJSONFeatureProperties. # noqa: E501 + """Gets the source_id of this InlineResponse2008Properties. # noqa: E501 Index of the requested location # noqa: E501 - :return: The source_id of this GeoJSONFeatureProperties. # noqa: E501 + :return: The source_id of this InlineResponse2008Properties. # noqa: E501 :rtype: int """ return self._source_id @source_id.setter def source_id(self, source_id): - """Sets the source_id of this GeoJSONFeatureProperties. + """Sets the source_id of this InlineResponse2008Properties. Index of the requested location # noqa: E501 - :param source_id: The source_id of this GeoJSONFeatureProperties. # noqa: E501 + :param source_id: The source_id of this InlineResponse2008Properties. # noqa: E501 :type: int """ @@ -142,7 +142,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(GeoJSONFeatureProperties, dict): + if issubclass(InlineResponse2008Properties, dict): for key, value in self.items(): result[key] = value @@ -158,7 +158,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONFeatureProperties): + if not isinstance(other, InlineResponse2008Properties): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/isochrones_request.py b/openrouteservice/models/isochrones_request.py deleted file mode 100644 index 05e921db..00000000 --- a/openrouteservice/models/isochrones_request.py +++ /dev/null @@ -1,451 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class IsochronesRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'area_units': 'str', - 'attributes': 'list[str]', - 'id': 'str', - 'intersections': 'bool', - 'interval': 'float', - 'location_type': 'str', - 'locations': 'list[list[float]]', - 'options': 'RouteOptions', - 'range': 'list[float]', - 'range_type': 'str', - 'smoothing': 'float', - 'units': 'str' - } - - attribute_map = { - 'area_units': 'area_units', - 'attributes': 'attributes', - 'id': 'id', - 'intersections': 'intersections', - 'interval': 'interval', - 'location_type': 'location_type', - 'locations': 'locations', - 'options': 'options', - 'range': 'range', - 'range_type': 'range_type', - 'smoothing': 'smoothing', - 'units': 'units' - } - - def __init__(self, area_units='m', attributes=None, id=None, intersections=False, interval=None, location_type='start', locations=None, options=None, range=None, range_type='time', smoothing=None, units='m'): # noqa: E501 - """IsochronesRequest - a model defined in Swagger""" # noqa: E501 - self._area_units = None - self._attributes = None - self._id = None - self._intersections = None - self._interval = None - self._location_type = None - self._locations = None - self._options = None - self._range = None - self._range_type = None - self._smoothing = None - self._units = None - self.discriminator = None - if area_units is not None: - self.area_units = area_units - if attributes is not None: - self.attributes = attributes - if id is not None: - self.id = id - if intersections is not None: - self.intersections = intersections - if interval is not None: - self.interval = interval - if location_type is not None: - self.location_type = location_type - self.locations = locations - if options is not None: - self.options = options - self.range = range - if range_type is not None: - self.range_type = range_type - if smoothing is not None: - self.smoothing = smoothing - if units is not None: - self.units = units - - @property - def area_units(self): - """Gets the area_units of this IsochronesRequest. # noqa: E501 - - Specifies the area unit. Default: m. # noqa: E501 - - :return: The area_units of this IsochronesRequest. # noqa: E501 - :rtype: str - """ - return self._area_units - - @area_units.setter - def area_units(self, area_units): - """Sets the area_units of this IsochronesRequest. - - Specifies the area unit. Default: m. # noqa: E501 - - :param area_units: The area_units of this IsochronesRequest. # noqa: E501 - :type: str - """ - allowed_values = ["m", "km", "mi"] # noqa: E501 - if area_units not in allowed_values: - raise ValueError( - "Invalid value for `area_units` ({0}), must be one of {1}" # noqa: E501 - .format(area_units, allowed_values) - ) - - self._area_units = area_units - - @property - def attributes(self): - """Gets the attributes of this IsochronesRequest. # noqa: E501 - - List of isochrones attributes # noqa: E501 - - :return: The attributes of this IsochronesRequest. # noqa: E501 - :rtype: list[str] - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this IsochronesRequest. - - List of isochrones attributes # noqa: E501 - - :param attributes: The attributes of this IsochronesRequest. # noqa: E501 - :type: list[str] - """ - allowed_values = ["area", "reachfactor", "total_pop"] # noqa: E501 - if not set(attributes).issubset(set(allowed_values)): - raise ValueError( - "Invalid values for `attributes` [{0}], must be a subset of [{1}]" # noqa: E501 - .format(", ".join(map(str, set(attributes) - set(allowed_values))), # noqa: E501 - ", ".join(map(str, allowed_values))) - ) - - self._attributes = attributes - - @property - def id(self): - """Gets the id of this IsochronesRequest. # noqa: E501 - - Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - - :return: The id of this IsochronesRequest. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this IsochronesRequest. - - Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - - :param id: The id of this IsochronesRequest. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def intersections(self): - """Gets the intersections of this IsochronesRequest. # noqa: E501 - - Specifies whether to return intersecting polygons. # noqa: E501 - - :return: The intersections of this IsochronesRequest. # noqa: E501 - :rtype: bool - """ - return self._intersections - - @intersections.setter - def intersections(self, intersections): - """Sets the intersections of this IsochronesRequest. - - Specifies whether to return intersecting polygons. # noqa: E501 - - :param intersections: The intersections of this IsochronesRequest. # noqa: E501 - :type: bool - """ - - self._intersections = intersections - - @property - def interval(self): - """Gets the interval of this IsochronesRequest. # noqa: E501 - - Interval of isochrones or equidistants. This is only used if a single range value is given. Value in **seconds** for time and **meters** for distance. # noqa: E501 - - :return: The interval of this IsochronesRequest. # noqa: E501 - :rtype: float - """ - return self._interval - - @interval.setter - def interval(self, interval): - """Sets the interval of this IsochronesRequest. - - Interval of isochrones or equidistants. This is only used if a single range value is given. Value in **seconds** for time and **meters** for distance. # noqa: E501 - - :param interval: The interval of this IsochronesRequest. # noqa: E501 - :type: float - """ - - self._interval = interval - - @property - def location_type(self): - """Gets the location_type of this IsochronesRequest. # noqa: E501 - - `start` treats the location(s) as starting point, `destination` as goal. # noqa: E501 - - :return: The location_type of this IsochronesRequest. # noqa: E501 - :rtype: str - """ - return self._location_type - - @location_type.setter - def location_type(self, location_type): - """Sets the location_type of this IsochronesRequest. - - `start` treats the location(s) as starting point, `destination` as goal. # noqa: E501 - - :param location_type: The location_type of this IsochronesRequest. # noqa: E501 - :type: str - """ - allowed_values = ["start", "destination"] # noqa: E501 - if location_type not in allowed_values: - raise ValueError( - "Invalid value for `location_type` ({0}), must be one of {1}" # noqa: E501 - .format(location_type, allowed_values) - ) - - self._location_type = location_type - - @property - def locations(self): - """Gets the locations of this IsochronesRequest. # noqa: E501 - - The locations to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 - - :return: The locations of this IsochronesRequest. # noqa: E501 - :rtype: list[list[float]] - """ - return self._locations - - @locations.setter - def locations(self, locations): - """Sets the locations of this IsochronesRequest. - - The locations to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 - - :param locations: The locations of this IsochronesRequest. # noqa: E501 - :type: list[list[float]] - """ - if locations is None: - raise ValueError("Invalid value for `locations`, must not be `None`") # noqa: E501 - - self._locations = locations - - @property - def options(self): - """Gets the options of this IsochronesRequest. # noqa: E501 - - - :return: The options of this IsochronesRequest. # noqa: E501 - :rtype: RouteOptions - """ - return self._options - - @options.setter - def options(self, options): - """Sets the options of this IsochronesRequest. - - - :param options: The options of this IsochronesRequest. # noqa: E501 - :type: RouteOptions - """ - - self._options = options - - @property - def range(self): - """Gets the range of this IsochronesRequest. # noqa: E501 - - Maximum range value of the analysis in **seconds** for time and **metres** for distance.Alternatively a comma separated list of specific range values. Ranges will be the same for all locations. # noqa: E501 - - :return: The range of this IsochronesRequest. # noqa: E501 - :rtype: list[float] - """ - return self._range - - @range.setter - def range(self, range): - """Sets the range of this IsochronesRequest. - - Maximum range value of the analysis in **seconds** for time and **metres** for distance.Alternatively a comma separated list of specific range values. Ranges will be the same for all locations. # noqa: E501 - - :param range: The range of this IsochronesRequest. # noqa: E501 - :type: list[float] - """ - if range is None: - raise ValueError("Invalid value for `range`, must not be `None`") # noqa: E501 - - self._range = range - - @property - def range_type(self): - """Gets the range_type of this IsochronesRequest. # noqa: E501 - - Specifies the isochrones reachability type. # noqa: E501 - - :return: The range_type of this IsochronesRequest. # noqa: E501 - :rtype: str - """ - return self._range_type - - @range_type.setter - def range_type(self, range_type): - """Sets the range_type of this IsochronesRequest. - - Specifies the isochrones reachability type. # noqa: E501 - - :param range_type: The range_type of this IsochronesRequest. # noqa: E501 - :type: str - """ - allowed_values = ["time", "distance"] # noqa: E501 - if range_type not in allowed_values: - raise ValueError( - "Invalid value for `range_type` ({0}), must be one of {1}" # noqa: E501 - .format(range_type, allowed_values) - ) - - self._range_type = range_type - - @property - def smoothing(self): - """Gets the smoothing of this IsochronesRequest. # noqa: E501 - - Applies a level of generalisation to the isochrone polygons generated as a `smoothing_factor` between `0` and `100.0`. Generalisation is produced by determining a maximum length of a connecting line between two points found on the outside of a containing polygon. If the distance is larger than a threshold value, the line between the two points is removed and a smaller connecting line between other points is used. Note that the minimum length of this connecting line is ~1333m, and so when the `smoothing_factor` results in a distance smaller than this, the minimum value is used. The threshold value is determined as `(maximum_radius_of_isochrone / 100) * smoothing_factor`. Therefore, a value closer to 100 will result in a more generalised shape. The polygon generation algorithm is based on Duckham and al. (2008) `\"Efficient generation of simple polygons for characterizing the shape of a set of points in the plane.\"` # noqa: E501 - - :return: The smoothing of this IsochronesRequest. # noqa: E501 - :rtype: float - """ - return self._smoothing - - @smoothing.setter - def smoothing(self, smoothing): - """Sets the smoothing of this IsochronesRequest. - - Applies a level of generalisation to the isochrone polygons generated as a `smoothing_factor` between `0` and `100.0`. Generalisation is produced by determining a maximum length of a connecting line between two points found on the outside of a containing polygon. If the distance is larger than a threshold value, the line between the two points is removed and a smaller connecting line between other points is used. Note that the minimum length of this connecting line is ~1333m, and so when the `smoothing_factor` results in a distance smaller than this, the minimum value is used. The threshold value is determined as `(maximum_radius_of_isochrone / 100) * smoothing_factor`. Therefore, a value closer to 100 will result in a more generalised shape. The polygon generation algorithm is based on Duckham and al. (2008) `\"Efficient generation of simple polygons for characterizing the shape of a set of points in the plane.\"` # noqa: E501 - - :param smoothing: The smoothing of this IsochronesRequest. # noqa: E501 - :type: float - """ - - self._smoothing = smoothing - - @property - def units(self): - """Gets the units of this IsochronesRequest. # noqa: E501 - - Specifies the distance units only if `range_type` is set to distance. Default: m. # noqa: E501 - - :return: The units of this IsochronesRequest. # noqa: E501 - :rtype: str - """ - return self._units - - @units.setter - def units(self, units): - """Sets the units of this IsochronesRequest. - - Specifies the distance units only if `range_type` is set to distance. Default: m. # noqa: E501 - - :param units: The units of this IsochronesRequest. # noqa: E501 - :type: str - """ - allowed_values = ["m", "km", "mi"] # noqa: E501 - if units not in allowed_values: - raise ValueError( - "Invalid value for `units` ({0}), must be one of {1}" # noqa: E501 - .format(units, allowed_values) - ) - - self._units = units - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(IsochronesRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, IsochronesRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json2_d_sources.py b/openrouteservice/models/json2_d_sources.py deleted file mode 100644 index cfd4b7a6..00000000 --- a/openrouteservice/models/json2_d_sources.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSON2DSources(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'location': 'list[float]', - 'name': 'str', - 'snapped_distance': 'float' - } - - attribute_map = { - 'location': 'location', - 'name': 'name', - 'snapped_distance': 'snapped_distance' - } - - def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 - """JSON2DSources - a model defined in Swagger""" # noqa: E501 - self._location = None - self._name = None - self._snapped_distance = None - self.discriminator = None - if location is not None: - self.location = location - if name is not None: - self.name = name - if snapped_distance is not None: - self.snapped_distance = snapped_distance - - @property - def location(self): - """Gets the location of this JSON2DSources. # noqa: E501 - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :return: The location of this JSON2DSources. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this JSON2DSources. - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :param location: The location of this JSON2DSources. # noqa: E501 - :type: list[float] - """ - - self._location = location - - @property - def name(self): - """Gets the name of this JSON2DSources. # noqa: E501 - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :return: The name of this JSON2DSources. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this JSON2DSources. - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :param name: The name of this JSON2DSources. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def snapped_distance(self): - """Gets the snapped_distance of this JSON2DSources. # noqa: E501 - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :return: The snapped_distance of this JSON2DSources. # noqa: E501 - :rtype: float - """ - return self._snapped_distance - - @snapped_distance.setter - def snapped_distance(self, snapped_distance): - """Sets the snapped_distance of this JSON2DSources. - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :param snapped_distance: The snapped_distance of this JSON2DSources. # noqa: E501 - :type: float - """ - - self._snapped_distance = snapped_distance - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSON2DSources, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSON2DSources): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_edge.py b/openrouteservice/models/json_edge.py deleted file mode 100644 index 0dec9bc8..00000000 --- a/openrouteservice/models/json_edge.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JsonEdge(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'from_id': 'int', - 'to_id': 'int', - 'weight': 'float' - } - - attribute_map = { - 'from_id': 'fromId', - 'to_id': 'toId', - 'weight': 'weight' - } - - def __init__(self, from_id=None, to_id=None, weight=None): # noqa: E501 - """JsonEdge - a model defined in Swagger""" # noqa: E501 - self._from_id = None - self._to_id = None - self._weight = None - self.discriminator = None - if from_id is not None: - self.from_id = from_id - if to_id is not None: - self.to_id = to_id - if weight is not None: - self.weight = weight - - @property - def from_id(self): - """Gets the from_id of this JsonEdge. # noqa: E501 - - Id of the start point of the edge # noqa: E501 - - :return: The from_id of this JsonEdge. # noqa: E501 - :rtype: int - """ - return self._from_id - - @from_id.setter - def from_id(self, from_id): - """Sets the from_id of this JsonEdge. - - Id of the start point of the edge # noqa: E501 - - :param from_id: The from_id of this JsonEdge. # noqa: E501 - :type: int - """ - - self._from_id = from_id - - @property - def to_id(self): - """Gets the to_id of this JsonEdge. # noqa: E501 - - Id of the end point of the edge # noqa: E501 - - :return: The to_id of this JsonEdge. # noqa: E501 - :rtype: int - """ - return self._to_id - - @to_id.setter - def to_id(self, to_id): - """Sets the to_id of this JsonEdge. - - Id of the end point of the edge # noqa: E501 - - :param to_id: The to_id of this JsonEdge. # noqa: E501 - :type: int - """ - - self._to_id = to_id - - @property - def weight(self): - """Gets the weight of this JsonEdge. # noqa: E501 - - Weight of the corresponding edge in the given bounding box # noqa: E501 - - :return: The weight of this JsonEdge. # noqa: E501 - :rtype: float - """ - return self._weight - - @weight.setter - def weight(self, weight): - """Sets the weight of this JsonEdge. - - Weight of the corresponding edge in the given bounding box # noqa: E501 - - :param weight: The weight of this JsonEdge. # noqa: E501 - :type: float - """ - - self._weight = weight - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JsonEdge, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JsonEdge): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_edge_extra.py b/openrouteservice/models/json_edge_extra.py deleted file mode 100644 index fa493ed9..00000000 --- a/openrouteservice/models/json_edge_extra.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JsonEdgeExtra(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'edge_id': 'str', - 'extra': 'object' - } - - attribute_map = { - 'edge_id': 'edgeId', - 'extra': 'extra' - } - - def __init__(self, edge_id=None, extra=None): # noqa: E501 - """JsonEdgeExtra - a model defined in Swagger""" # noqa: E501 - self._edge_id = None - self._extra = None - self.discriminator = None - if edge_id is not None: - self.edge_id = edge_id - if extra is not None: - self.extra = extra - - @property - def edge_id(self): - """Gets the edge_id of this JsonEdgeExtra. # noqa: E501 - - Id of the corresponding edge in the graph # noqa: E501 - - :return: The edge_id of this JsonEdgeExtra. # noqa: E501 - :rtype: str - """ - return self._edge_id - - @edge_id.setter - def edge_id(self, edge_id): - """Sets the edge_id of this JsonEdgeExtra. - - Id of the corresponding edge in the graph # noqa: E501 - - :param edge_id: The edge_id of this JsonEdgeExtra. # noqa: E501 - :type: str - """ - - self._edge_id = edge_id - - @property - def extra(self): - """Gets the extra of this JsonEdgeExtra. # noqa: E501 - - Extra info stored on the edge # noqa: E501 - - :return: The extra of this JsonEdgeExtra. # noqa: E501 - :rtype: object - """ - return self._extra - - @extra.setter - def extra(self, extra): - """Sets the extra of this JsonEdgeExtra. - - Extra info stored on the edge # noqa: E501 - - :param extra: The extra of this JsonEdgeExtra. # noqa: E501 - :type: object - """ - - self._extra = extra - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JsonEdgeExtra, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JsonEdgeExtra): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_export_response.py b/openrouteservice/models/json_export_response.py deleted file mode 100644 index e533e54d..00000000 --- a/openrouteservice/models/json_export_response.py +++ /dev/null @@ -1,240 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JsonExportResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'edges': 'list[JsonExportResponseEdges]', - 'edges_count': 'int', - 'edges_extra': 'list[JsonExportResponseEdgesExtra]', - 'nodes': 'list[JsonExportResponseNodes]', - 'nodes_count': 'int', - 'warning': 'JSONIndividualRouteResponseWarnings' - } - - attribute_map = { - 'edges': 'edges', - 'edges_count': 'edges_count', - 'edges_extra': 'edges_extra', - 'nodes': 'nodes', - 'nodes_count': 'nodes_count', - 'warning': 'warning' - } - - def __init__(self, edges=None, edges_count=None, edges_extra=None, nodes=None, nodes_count=None, warning=None): # noqa: E501 - """JsonExportResponse - a model defined in Swagger""" # noqa: E501 - self._edges = None - self._edges_count = None - self._edges_extra = None - self._nodes = None - self._nodes_count = None - self._warning = None - self.discriminator = None - if edges is not None: - self.edges = edges - if edges_count is not None: - self.edges_count = edges_count - if edges_extra is not None: - self.edges_extra = edges_extra - if nodes is not None: - self.nodes = nodes - if nodes_count is not None: - self.nodes_count = nodes_count - if warning is not None: - self.warning = warning - - @property - def edges(self): - """Gets the edges of this JsonExportResponse. # noqa: E501 - - - :return: The edges of this JsonExportResponse. # noqa: E501 - :rtype: list[JsonExportResponseEdges] - """ - return self._edges - - @edges.setter - def edges(self, edges): - """Sets the edges of this JsonExportResponse. - - - :param edges: The edges of this JsonExportResponse. # noqa: E501 - :type: list[JsonExportResponseEdges] - """ - - self._edges = edges - - @property - def edges_count(self): - """Gets the edges_count of this JsonExportResponse. # noqa: E501 - - - :return: The edges_count of this JsonExportResponse. # noqa: E501 - :rtype: int - """ - return self._edges_count - - @edges_count.setter - def edges_count(self, edges_count): - """Sets the edges_count of this JsonExportResponse. - - - :param edges_count: The edges_count of this JsonExportResponse. # noqa: E501 - :type: int - """ - - self._edges_count = edges_count - - @property - def edges_extra(self): - """Gets the edges_extra of this JsonExportResponse. # noqa: E501 - - - :return: The edges_extra of this JsonExportResponse. # noqa: E501 - :rtype: list[JsonExportResponseEdgesExtra] - """ - return self._edges_extra - - @edges_extra.setter - def edges_extra(self, edges_extra): - """Sets the edges_extra of this JsonExportResponse. - - - :param edges_extra: The edges_extra of this JsonExportResponse. # noqa: E501 - :type: list[JsonExportResponseEdgesExtra] - """ - - self._edges_extra = edges_extra - - @property - def nodes(self): - """Gets the nodes of this JsonExportResponse. # noqa: E501 - - - :return: The nodes of this JsonExportResponse. # noqa: E501 - :rtype: list[JsonExportResponseNodes] - """ - return self._nodes - - @nodes.setter - def nodes(self, nodes): - """Sets the nodes of this JsonExportResponse. - - - :param nodes: The nodes of this JsonExportResponse. # noqa: E501 - :type: list[JsonExportResponseNodes] - """ - - self._nodes = nodes - - @property - def nodes_count(self): - """Gets the nodes_count of this JsonExportResponse. # noqa: E501 - - - :return: The nodes_count of this JsonExportResponse. # noqa: E501 - :rtype: int - """ - return self._nodes_count - - @nodes_count.setter - def nodes_count(self, nodes_count): - """Sets the nodes_count of this JsonExportResponse. - - - :param nodes_count: The nodes_count of this JsonExportResponse. # noqa: E501 - :type: int - """ - - self._nodes_count = nodes_count - - @property - def warning(self): - """Gets the warning of this JsonExportResponse. # noqa: E501 - - - :return: The warning of this JsonExportResponse. # noqa: E501 - :rtype: JSONIndividualRouteResponseWarnings - """ - return self._warning - - @warning.setter - def warning(self, warning): - """Sets the warning of this JsonExportResponse. - - - :param warning: The warning of this JsonExportResponse. # noqa: E501 - :type: JSONIndividualRouteResponseWarnings - """ - - self._warning = warning - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JsonExportResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JsonExportResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_export_response_edges.py b/openrouteservice/models/json_export_response_edges.py deleted file mode 100644 index a56a3e02..00000000 --- a/openrouteservice/models/json_export_response_edges.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JsonExportResponseEdges(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'from_id': 'int', - 'to_id': 'int', - 'weight': 'float' - } - - attribute_map = { - 'from_id': 'fromId', - 'to_id': 'toId', - 'weight': 'weight' - } - - def __init__(self, from_id=None, to_id=None, weight=None): # noqa: E501 - """JsonExportResponseEdges - a model defined in Swagger""" # noqa: E501 - self._from_id = None - self._to_id = None - self._weight = None - self.discriminator = None - if from_id is not None: - self.from_id = from_id - if to_id is not None: - self.to_id = to_id - if weight is not None: - self.weight = weight - - @property - def from_id(self): - """Gets the from_id of this JsonExportResponseEdges. # noqa: E501 - - Id of the start point of the edge # noqa: E501 - - :return: The from_id of this JsonExportResponseEdges. # noqa: E501 - :rtype: int - """ - return self._from_id - - @from_id.setter - def from_id(self, from_id): - """Sets the from_id of this JsonExportResponseEdges. - - Id of the start point of the edge # noqa: E501 - - :param from_id: The from_id of this JsonExportResponseEdges. # noqa: E501 - :type: int - """ - - self._from_id = from_id - - @property - def to_id(self): - """Gets the to_id of this JsonExportResponseEdges. # noqa: E501 - - Id of the end point of the edge # noqa: E501 - - :return: The to_id of this JsonExportResponseEdges. # noqa: E501 - :rtype: int - """ - return self._to_id - - @to_id.setter - def to_id(self, to_id): - """Sets the to_id of this JsonExportResponseEdges. - - Id of the end point of the edge # noqa: E501 - - :param to_id: The to_id of this JsonExportResponseEdges. # noqa: E501 - :type: int - """ - - self._to_id = to_id - - @property - def weight(self): - """Gets the weight of this JsonExportResponseEdges. # noqa: E501 - - Weight of the corresponding edge in the given bounding box # noqa: E501 - - :return: The weight of this JsonExportResponseEdges. # noqa: E501 - :rtype: float - """ - return self._weight - - @weight.setter - def weight(self, weight): - """Sets the weight of this JsonExportResponseEdges. - - Weight of the corresponding edge in the given bounding box # noqa: E501 - - :param weight: The weight of this JsonExportResponseEdges. # noqa: E501 - :type: float - """ - - self._weight = weight - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JsonExportResponseEdges, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JsonExportResponseEdges): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_export_response_edges_extra.py b/openrouteservice/models/json_export_response_edges_extra.py deleted file mode 100644 index 8aa35be1..00000000 --- a/openrouteservice/models/json_export_response_edges_extra.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JsonExportResponseEdgesExtra(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'edge_id': 'str', - 'extra': 'object' - } - - attribute_map = { - 'edge_id': 'edgeId', - 'extra': 'extra' - } - - def __init__(self, edge_id=None, extra=None): # noqa: E501 - """JsonExportResponseEdgesExtra - a model defined in Swagger""" # noqa: E501 - self._edge_id = None - self._extra = None - self.discriminator = None - if edge_id is not None: - self.edge_id = edge_id - if extra is not None: - self.extra = extra - - @property - def edge_id(self): - """Gets the edge_id of this JsonExportResponseEdgesExtra. # noqa: E501 - - Id of the corresponding edge in the graph # noqa: E501 - - :return: The edge_id of this JsonExportResponseEdgesExtra. # noqa: E501 - :rtype: str - """ - return self._edge_id - - @edge_id.setter - def edge_id(self, edge_id): - """Sets the edge_id of this JsonExportResponseEdgesExtra. - - Id of the corresponding edge in the graph # noqa: E501 - - :param edge_id: The edge_id of this JsonExportResponseEdgesExtra. # noqa: E501 - :type: str - """ - - self._edge_id = edge_id - - @property - def extra(self): - """Gets the extra of this JsonExportResponseEdgesExtra. # noqa: E501 - - Extra info stored on the edge # noqa: E501 - - :return: The extra of this JsonExportResponseEdgesExtra. # noqa: E501 - :rtype: object - """ - return self._extra - - @extra.setter - def extra(self, extra): - """Sets the extra of this JsonExportResponseEdgesExtra. - - Extra info stored on the edge # noqa: E501 - - :param extra: The extra of this JsonExportResponseEdgesExtra. # noqa: E501 - :type: object - """ - - self._extra = extra - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JsonExportResponseEdgesExtra, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JsonExportResponseEdgesExtra): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_export_response_nodes.py b/openrouteservice/models/json_export_response_nodes.py deleted file mode 100644 index d5bda9d4..00000000 --- a/openrouteservice/models/json_export_response_nodes.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JsonExportResponseNodes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'location': 'list[float]', - 'node_id': 'int' - } - - attribute_map = { - 'location': 'location', - 'node_id': 'nodeId' - } - - def __init__(self, location=None, node_id=None): # noqa: E501 - """JsonExportResponseNodes - a model defined in Swagger""" # noqa: E501 - self._location = None - self._node_id = None - self.discriminator = None - if location is not None: - self.location = location - if node_id is not None: - self.node_id = node_id - - @property - def location(self): - """Gets the location of this JsonExportResponseNodes. # noqa: E501 - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :return: The location of this JsonExportResponseNodes. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this JsonExportResponseNodes. - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :param location: The location of this JsonExportResponseNodes. # noqa: E501 - :type: list[float] - """ - - self._location = location - - @property - def node_id(self): - """Gets the node_id of this JsonExportResponseNodes. # noqa: E501 - - Id of the corresponding node in the graph # noqa: E501 - - :return: The node_id of this JsonExportResponseNodes. # noqa: E501 - :rtype: int - """ - return self._node_id - - @node_id.setter - def node_id(self, node_id): - """Sets the node_id of this JsonExportResponseNodes. - - Id of the corresponding node in the graph # noqa: E501 - - :param node_id: The node_id of this JsonExportResponseNodes. # noqa: E501 - :type: int - """ - - self._node_id = node_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JsonExportResponseNodes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JsonExportResponseNodes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_individual_route_response.py b/openrouteservice/models/json_individual_route_response.py deleted file mode 100644 index e705b6ed..00000000 --- a/openrouteservice/models/json_individual_route_response.py +++ /dev/null @@ -1,362 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONIndividualRouteResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'arrival': 'datetime', - 'bbox': 'list[float]', - 'departure': 'datetime', - 'extras': 'dict(str, JSONIndividualRouteResponseExtras)', - 'geometry': 'str', - 'legs': 'list[JSONIndividualRouteResponseLegs]', - 'segments': 'list[JSONIndividualRouteResponseSegments]', - 'summary': 'JSONIndividualRouteResponseSummary', - 'warnings': 'list[JSONIndividualRouteResponseWarnings]', - 'way_points': 'list[int]' - } - - attribute_map = { - 'arrival': 'arrival', - 'bbox': 'bbox', - 'departure': 'departure', - 'extras': 'extras', - 'geometry': 'geometry', - 'legs': 'legs', - 'segments': 'segments', - 'summary': 'summary', - 'warnings': 'warnings', - 'way_points': 'way_points' - } - - def __init__(self, arrival=None, bbox=None, departure=None, extras=None, geometry=None, legs=None, segments=None, summary=None, warnings=None, way_points=None): # noqa: E501 - """JSONIndividualRouteResponse - a model defined in Swagger""" # noqa: E501 - self._arrival = None - self._bbox = None - self._departure = None - self._extras = None - self._geometry = None - self._legs = None - self._segments = None - self._summary = None - self._warnings = None - self._way_points = None - self.discriminator = None - if arrival is not None: - self.arrival = arrival - if bbox is not None: - self.bbox = bbox - if departure is not None: - self.departure = departure - if extras is not None: - self.extras = extras - if geometry is not None: - self.geometry = geometry - if legs is not None: - self.legs = legs - if segments is not None: - self.segments = segments - if summary is not None: - self.summary = summary - if warnings is not None: - self.warnings = warnings - if way_points is not None: - self.way_points = way_points - - @property - def arrival(self): - """Gets the arrival of this JSONIndividualRouteResponse. # noqa: E501 - - Arrival date and time # noqa: E501 - - :return: The arrival of this JSONIndividualRouteResponse. # noqa: E501 - :rtype: datetime - """ - return self._arrival - - @arrival.setter - def arrival(self, arrival): - """Sets the arrival of this JSONIndividualRouteResponse. - - Arrival date and time # noqa: E501 - - :param arrival: The arrival of this JSONIndividualRouteResponse. # noqa: E501 - :type: datetime - """ - - self._arrival = arrival - - @property - def bbox(self): - """Gets the bbox of this JSONIndividualRouteResponse. # noqa: E501 - - A bounding box which contains the entire route # noqa: E501 - - :return: The bbox of this JSONIndividualRouteResponse. # noqa: E501 - :rtype: list[float] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this JSONIndividualRouteResponse. - - A bounding box which contains the entire route # noqa: E501 - - :param bbox: The bbox of this JSONIndividualRouteResponse. # noqa: E501 - :type: list[float] - """ - - self._bbox = bbox - - @property - def departure(self): - """Gets the departure of this JSONIndividualRouteResponse. # noqa: E501 - - Departure date and time # noqa: E501 - - :return: The departure of this JSONIndividualRouteResponse. # noqa: E501 - :rtype: datetime - """ - return self._departure - - @departure.setter - def departure(self, departure): - """Sets the departure of this JSONIndividualRouteResponse. - - Departure date and time # noqa: E501 - - :param departure: The departure of this JSONIndividualRouteResponse. # noqa: E501 - :type: datetime - """ - - self._departure = departure - - @property - def extras(self): - """Gets the extras of this JSONIndividualRouteResponse. # noqa: E501 - - List of extra info objects representing the extra info items that were requested for the route. # noqa: E501 - - :return: The extras of this JSONIndividualRouteResponse. # noqa: E501 - :rtype: dict(str, JSONIndividualRouteResponseExtras) - """ - return self._extras - - @extras.setter - def extras(self, extras): - """Sets the extras of this JSONIndividualRouteResponse. - - List of extra info objects representing the extra info items that were requested for the route. # noqa: E501 - - :param extras: The extras of this JSONIndividualRouteResponse. # noqa: E501 - :type: dict(str, JSONIndividualRouteResponseExtras) - """ - - self._extras = extras - - @property - def geometry(self): - """Gets the geometry of this JSONIndividualRouteResponse. # noqa: E501 - - The geometry of the route. For JSON route responses this is an encoded polyline. # noqa: E501 - - :return: The geometry of this JSONIndividualRouteResponse. # noqa: E501 - :rtype: str - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this JSONIndividualRouteResponse. - - The geometry of the route. For JSON route responses this is an encoded polyline. # noqa: E501 - - :param geometry: The geometry of this JSONIndividualRouteResponse. # noqa: E501 - :type: str - """ - - self._geometry = geometry - - @property - def legs(self): - """Gets the legs of this JSONIndividualRouteResponse. # noqa: E501 - - List containing the legs the route consists of. # noqa: E501 - - :return: The legs of this JSONIndividualRouteResponse. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseLegs] - """ - return self._legs - - @legs.setter - def legs(self, legs): - """Sets the legs of this JSONIndividualRouteResponse. - - List containing the legs the route consists of. # noqa: E501 - - :param legs: The legs of this JSONIndividualRouteResponse. # noqa: E501 - :type: list[JSONIndividualRouteResponseLegs] - """ - - self._legs = legs - - @property - def segments(self): - """Gets the segments of this JSONIndividualRouteResponse. # noqa: E501 - - List containing the segments and its corresponding steps which make up the route. # noqa: E501 - - :return: The segments of this JSONIndividualRouteResponse. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseSegments] - """ - return self._segments - - @segments.setter - def segments(self, segments): - """Sets the segments of this JSONIndividualRouteResponse. - - List containing the segments and its corresponding steps which make up the route. # noqa: E501 - - :param segments: The segments of this JSONIndividualRouteResponse. # noqa: E501 - :type: list[JSONIndividualRouteResponseSegments] - """ - - self._segments = segments - - @property - def summary(self): - """Gets the summary of this JSONIndividualRouteResponse. # noqa: E501 - - - :return: The summary of this JSONIndividualRouteResponse. # noqa: E501 - :rtype: JSONIndividualRouteResponseSummary - """ - return self._summary - - @summary.setter - def summary(self, summary): - """Sets the summary of this JSONIndividualRouteResponse. - - - :param summary: The summary of this JSONIndividualRouteResponse. # noqa: E501 - :type: JSONIndividualRouteResponseSummary - """ - - self._summary = summary - - @property - def warnings(self): - """Gets the warnings of this JSONIndividualRouteResponse. # noqa: E501 - - List of warnings that have been generated for the route # noqa: E501 - - :return: The warnings of this JSONIndividualRouteResponse. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseWarnings] - """ - return self._warnings - - @warnings.setter - def warnings(self, warnings): - """Sets the warnings of this JSONIndividualRouteResponse. - - List of warnings that have been generated for the route # noqa: E501 - - :param warnings: The warnings of this JSONIndividualRouteResponse. # noqa: E501 - :type: list[JSONIndividualRouteResponseWarnings] - """ - - self._warnings = warnings - - @property - def way_points(self): - """Gets the way_points of this JSONIndividualRouteResponse. # noqa: E501 - - List containing the indices of way points corresponding to the *geometry*. # noqa: E501 - - :return: The way_points of this JSONIndividualRouteResponse. # noqa: E501 - :rtype: list[int] - """ - return self._way_points - - @way_points.setter - def way_points(self, way_points): - """Sets the way_points of this JSONIndividualRouteResponse. - - List containing the indices of way points corresponding to the *geometry*. # noqa: E501 - - :param way_points: The way_points of this JSONIndividualRouteResponse. # noqa: E501 - :type: list[int] - """ - - self._way_points = way_points - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONIndividualRouteResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONIndividualRouteResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_individual_route_response_extras.py b/openrouteservice/models/json_individual_route_response_extras.py deleted file mode 100644 index 38a2b7df..00000000 --- a/openrouteservice/models/json_individual_route_response_extras.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONIndividualRouteResponseExtras(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'summary': 'list[JSONExtraSummary]', - 'values': 'list[list[int]]' - } - - attribute_map = { - 'summary': 'summary', - 'values': 'values' - } - - def __init__(self, summary=None, values=None): # noqa: E501 - """JSONIndividualRouteResponseExtras - a model defined in Swagger""" # noqa: E501 - self._summary = None - self._values = None - self.discriminator = None - if summary is not None: - self.summary = summary - if values is not None: - self.values = values - - @property - def summary(self): - """Gets the summary of this JSONIndividualRouteResponseExtras. # noqa: E501 - - List representing the summary of the extra info items. # noqa: E501 - - :return: The summary of this JSONIndividualRouteResponseExtras. # noqa: E501 - :rtype: list[JSONExtraSummary] - """ - return self._summary - - @summary.setter - def summary(self, summary): - """Sets the summary of this JSONIndividualRouteResponseExtras. - - List representing the summary of the extra info items. # noqa: E501 - - :param summary: The summary of this JSONIndividualRouteResponseExtras. # noqa: E501 - :type: list[JSONExtraSummary] - """ - - self._summary = summary - - @property - def values(self): - """Gets the values of this JSONIndividualRouteResponseExtras. # noqa: E501 - - A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. # noqa: E501 - - :return: The values of this JSONIndividualRouteResponseExtras. # noqa: E501 - :rtype: list[list[int]] - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this JSONIndividualRouteResponseExtras. - - A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. # noqa: E501 - - :param values: The values of this JSONIndividualRouteResponseExtras. # noqa: E501 - :type: list[list[int]] - """ - - self._values = values - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONIndividualRouteResponseExtras, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONIndividualRouteResponseExtras): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_individual_route_response_instructions.py b/openrouteservice/models/json_individual_route_response_instructions.py deleted file mode 100644 index 2ff93d0f..00000000 --- a/openrouteservice/models/json_individual_route_response_instructions.py +++ /dev/null @@ -1,334 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONIndividualRouteResponseInstructions(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'distance': 'float', - 'duration': 'float', - 'exit_bearings': 'list[int]', - 'exit_number': 'int', - 'instruction': 'str', - 'maneuver': 'JSONIndividualRouteResponseManeuver', - 'name': 'str', - 'type': 'int', - 'way_points': 'list[int]' - } - - attribute_map = { - 'distance': 'distance', - 'duration': 'duration', - 'exit_bearings': 'exit_bearings', - 'exit_number': 'exit_number', - 'instruction': 'instruction', - 'maneuver': 'maneuver', - 'name': 'name', - 'type': 'type', - 'way_points': 'way_points' - } - - def __init__(self, distance=None, duration=None, exit_bearings=None, exit_number=None, instruction=None, maneuver=None, name=None, type=None, way_points=None): # noqa: E501 - """JSONIndividualRouteResponseInstructions - a model defined in Swagger""" # noqa: E501 - self._distance = None - self._duration = None - self._exit_bearings = None - self._exit_number = None - self._instruction = None - self._maneuver = None - self._name = None - self._type = None - self._way_points = None - self.discriminator = None - if distance is not None: - self.distance = distance - if duration is not None: - self.duration = duration - if exit_bearings is not None: - self.exit_bearings = exit_bearings - if exit_number is not None: - self.exit_number = exit_number - if instruction is not None: - self.instruction = instruction - if maneuver is not None: - self.maneuver = maneuver - if name is not None: - self.name = name - if type is not None: - self.type = type - if way_points is not None: - self.way_points = way_points - - @property - def distance(self): - """Gets the distance of this JSONIndividualRouteResponseInstructions. # noqa: E501 - - The distance for the step in metres. # noqa: E501 - - :return: The distance of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this JSONIndividualRouteResponseInstructions. - - The distance for the step in metres. # noqa: E501 - - :param distance: The distance of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def duration(self): - """Gets the duration of this JSONIndividualRouteResponseInstructions. # noqa: E501 - - The duration for the step in seconds. # noqa: E501 - - :return: The duration of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this JSONIndividualRouteResponseInstructions. - - The duration for the step in seconds. # noqa: E501 - - :param duration: The duration of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :type: float - """ - - self._duration = duration - - @property - def exit_bearings(self): - """Gets the exit_bearings of this JSONIndividualRouteResponseInstructions. # noqa: E501 - - Contains the bearing of the entrance and all passed exits in a roundabout. # noqa: E501 - - :return: The exit_bearings of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :rtype: list[int] - """ - return self._exit_bearings - - @exit_bearings.setter - def exit_bearings(self, exit_bearings): - """Sets the exit_bearings of this JSONIndividualRouteResponseInstructions. - - Contains the bearing of the entrance and all passed exits in a roundabout. # noqa: E501 - - :param exit_bearings: The exit_bearings of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :type: list[int] - """ - - self._exit_bearings = exit_bearings - - @property - def exit_number(self): - """Gets the exit_number of this JSONIndividualRouteResponseInstructions. # noqa: E501 - - Only for roundabouts. Contains the number of the exit to take. # noqa: E501 - - :return: The exit_number of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :rtype: int - """ - return self._exit_number - - @exit_number.setter - def exit_number(self, exit_number): - """Sets the exit_number of this JSONIndividualRouteResponseInstructions. - - Only for roundabouts. Contains the number of the exit to take. # noqa: E501 - - :param exit_number: The exit_number of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :type: int - """ - - self._exit_number = exit_number - - @property - def instruction(self): - """Gets the instruction of this JSONIndividualRouteResponseInstructions. # noqa: E501 - - The routing instruction text for the step. # noqa: E501 - - :return: The instruction of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :rtype: str - """ - return self._instruction - - @instruction.setter - def instruction(self, instruction): - """Sets the instruction of this JSONIndividualRouteResponseInstructions. - - The routing instruction text for the step. # noqa: E501 - - :param instruction: The instruction of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :type: str - """ - - self._instruction = instruction - - @property - def maneuver(self): - """Gets the maneuver of this JSONIndividualRouteResponseInstructions. # noqa: E501 - - - :return: The maneuver of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :rtype: JSONIndividualRouteResponseManeuver - """ - return self._maneuver - - @maneuver.setter - def maneuver(self, maneuver): - """Sets the maneuver of this JSONIndividualRouteResponseInstructions. - - - :param maneuver: The maneuver of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :type: JSONIndividualRouteResponseManeuver - """ - - self._maneuver = maneuver - - @property - def name(self): - """Gets the name of this JSONIndividualRouteResponseInstructions. # noqa: E501 - - The name of the next street. # noqa: E501 - - :return: The name of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this JSONIndividualRouteResponseInstructions. - - The name of the next street. # noqa: E501 - - :param name: The name of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def type(self): - """Gets the type of this JSONIndividualRouteResponseInstructions. # noqa: E501 - - The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. # noqa: E501 - - :return: The type of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :rtype: int - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this JSONIndividualRouteResponseInstructions. - - The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. # noqa: E501 - - :param type: The type of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :type: int - """ - - self._type = type - - @property - def way_points(self): - """Gets the way_points of this JSONIndividualRouteResponseInstructions. # noqa: E501 - - List containing the indices of the steps start- and endpoint corresponding to the *geometry*. # noqa: E501 - - :return: The way_points of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :rtype: list[int] - """ - return self._way_points - - @way_points.setter - def way_points(self, way_points): - """Sets the way_points of this JSONIndividualRouteResponseInstructions. - - List containing the indices of the steps start- and endpoint corresponding to the *geometry*. # noqa: E501 - - :param way_points: The way_points of this JSONIndividualRouteResponseInstructions. # noqa: E501 - :type: list[int] - """ - - self._way_points = way_points - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONIndividualRouteResponseInstructions, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONIndividualRouteResponseInstructions): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_individual_route_response_legs.py b/openrouteservice/models/json_individual_route_response_legs.py deleted file mode 100644 index 7f115a60..00000000 --- a/openrouteservice/models/json_individual_route_response_legs.py +++ /dev/null @@ -1,588 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONIndividualRouteResponseLegs(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'arrival': 'datetime', - 'departure': 'datetime', - 'departure_location': 'str', - 'distance': 'float', - 'duration': 'float', - 'feed_id': 'str', - 'geometry': 'str', - 'instructions': 'list[JSONIndividualRouteResponseInstructions]', - 'is_in_same_vehicle_as_previous': 'bool', - 'route_desc': 'str', - 'route_id': 'str', - 'route_long_name': 'str', - 'route_short_name': 'str', - 'route_type': 'int', - 'stops': 'list[JSONIndividualRouteResponseStops]', - 'trip_headsign': 'str', - 'trip_id': 'str', - 'type': 'str' - } - - attribute_map = { - 'arrival': 'arrival', - 'departure': 'departure', - 'departure_location': 'departure_location', - 'distance': 'distance', - 'duration': 'duration', - 'feed_id': 'feed_id', - 'geometry': 'geometry', - 'instructions': 'instructions', - 'is_in_same_vehicle_as_previous': 'is_in_same_vehicle_as_previous', - 'route_desc': 'route_desc', - 'route_id': 'route_id', - 'route_long_name': 'route_long_name', - 'route_short_name': 'route_short_name', - 'route_type': 'route_type', - 'stops': 'stops', - 'trip_headsign': 'trip_headsign', - 'trip_id': 'trip_id', - 'type': 'type' - } - - def __init__(self, arrival=None, departure=None, departure_location=None, distance=None, duration=None, feed_id=None, geometry=None, instructions=None, is_in_same_vehicle_as_previous=None, route_desc=None, route_id=None, route_long_name=None, route_short_name=None, route_type=None, stops=None, trip_headsign=None, trip_id=None, type=None): # noqa: E501 - """JSONIndividualRouteResponseLegs - a model defined in Swagger""" # noqa: E501 - self._arrival = None - self._departure = None - self._departure_location = None - self._distance = None - self._duration = None - self._feed_id = None - self._geometry = None - self._instructions = None - self._is_in_same_vehicle_as_previous = None - self._route_desc = None - self._route_id = None - self._route_long_name = None - self._route_short_name = None - self._route_type = None - self._stops = None - self._trip_headsign = None - self._trip_id = None - self._type = None - self.discriminator = None - if arrival is not None: - self.arrival = arrival - if departure is not None: - self.departure = departure - if departure_location is not None: - self.departure_location = departure_location - if distance is not None: - self.distance = distance - if duration is not None: - self.duration = duration - if feed_id is not None: - self.feed_id = feed_id - if geometry is not None: - self.geometry = geometry - if instructions is not None: - self.instructions = instructions - if is_in_same_vehicle_as_previous is not None: - self.is_in_same_vehicle_as_previous = is_in_same_vehicle_as_previous - if route_desc is not None: - self.route_desc = route_desc - if route_id is not None: - self.route_id = route_id - if route_long_name is not None: - self.route_long_name = route_long_name - if route_short_name is not None: - self.route_short_name = route_short_name - if route_type is not None: - self.route_type = route_type - if stops is not None: - self.stops = stops - if trip_headsign is not None: - self.trip_headsign = trip_headsign - if trip_id is not None: - self.trip_id = trip_id - if type is not None: - self.type = type - - @property - def arrival(self): - """Gets the arrival of this JSONIndividualRouteResponseLegs. # noqa: E501 - - Arrival date and time # noqa: E501 - - :return: The arrival of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: datetime - """ - return self._arrival - - @arrival.setter - def arrival(self, arrival): - """Sets the arrival of this JSONIndividualRouteResponseLegs. - - Arrival date and time # noqa: E501 - - :param arrival: The arrival of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: datetime - """ - - self._arrival = arrival - - @property - def departure(self): - """Gets the departure of this JSONIndividualRouteResponseLegs. # noqa: E501 - - Departure date and time # noqa: E501 - - :return: The departure of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: datetime - """ - return self._departure - - @departure.setter - def departure(self, departure): - """Sets the departure of this JSONIndividualRouteResponseLegs. - - Departure date and time # noqa: E501 - - :param departure: The departure of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: datetime - """ - - self._departure = departure - - @property - def departure_location(self): - """Gets the departure_location of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The departure location of the leg. # noqa: E501 - - :return: The departure_location of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: str - """ - return self._departure_location - - @departure_location.setter - def departure_location(self, departure_location): - """Sets the departure_location of this JSONIndividualRouteResponseLegs. - - The departure location of the leg. # noqa: E501 - - :param departure_location: The departure_location of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: str - """ - - self._departure_location = departure_location - - @property - def distance(self): - """Gets the distance of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The distance for the leg in metres. # noqa: E501 - - :return: The distance of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this JSONIndividualRouteResponseLegs. - - The distance for the leg in metres. # noqa: E501 - - :param distance: The distance of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def duration(self): - """Gets the duration of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The duration for the leg in seconds. # noqa: E501 - - :return: The duration of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this JSONIndividualRouteResponseLegs. - - The duration for the leg in seconds. # noqa: E501 - - :param duration: The duration of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: float - """ - - self._duration = duration - - @property - def feed_id(self): - """Gets the feed_id of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The feed ID this public transport leg based its information from. # noqa: E501 - - :return: The feed_id of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: str - """ - return self._feed_id - - @feed_id.setter - def feed_id(self, feed_id): - """Sets the feed_id of this JSONIndividualRouteResponseLegs. - - The feed ID this public transport leg based its information from. # noqa: E501 - - :param feed_id: The feed_id of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: str - """ - - self._feed_id = feed_id - - @property - def geometry(self): - """Gets the geometry of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The geometry of the leg. This is an encoded polyline. # noqa: E501 - - :return: The geometry of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: str - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this JSONIndividualRouteResponseLegs. - - The geometry of the leg. This is an encoded polyline. # noqa: E501 - - :param geometry: The geometry of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: str - """ - - self._geometry = geometry - - @property - def instructions(self): - """Gets the instructions of this JSONIndividualRouteResponseLegs. # noqa: E501 - - List containing the specific steps the segment consists of. # noqa: E501 - - :return: The instructions of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseInstructions] - """ - return self._instructions - - @instructions.setter - def instructions(self, instructions): - """Sets the instructions of this JSONIndividualRouteResponseLegs. - - List containing the specific steps the segment consists of. # noqa: E501 - - :param instructions: The instructions of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: list[JSONIndividualRouteResponseInstructions] - """ - - self._instructions = instructions - - @property - def is_in_same_vehicle_as_previous(self): - """Gets the is_in_same_vehicle_as_previous of this JSONIndividualRouteResponseLegs. # noqa: E501 - - Whether the legs continues in the same vehicle as the previous one. # noqa: E501 - - :return: The is_in_same_vehicle_as_previous of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: bool - """ - return self._is_in_same_vehicle_as_previous - - @is_in_same_vehicle_as_previous.setter - def is_in_same_vehicle_as_previous(self, is_in_same_vehicle_as_previous): - """Sets the is_in_same_vehicle_as_previous of this JSONIndividualRouteResponseLegs. - - Whether the legs continues in the same vehicle as the previous one. # noqa: E501 - - :param is_in_same_vehicle_as_previous: The is_in_same_vehicle_as_previous of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: bool - """ - - self._is_in_same_vehicle_as_previous = is_in_same_vehicle_as_previous - - @property - def route_desc(self): - """Gets the route_desc of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The route description of the leg (if provided in the GTFS data set). # noqa: E501 - - :return: The route_desc of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: str - """ - return self._route_desc - - @route_desc.setter - def route_desc(self, route_desc): - """Sets the route_desc of this JSONIndividualRouteResponseLegs. - - The route description of the leg (if provided in the GTFS data set). # noqa: E501 - - :param route_desc: The route_desc of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: str - """ - - self._route_desc = route_desc - - @property - def route_id(self): - """Gets the route_id of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The route ID of this public transport leg. # noqa: E501 - - :return: The route_id of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: str - """ - return self._route_id - - @route_id.setter - def route_id(self, route_id): - """Sets the route_id of this JSONIndividualRouteResponseLegs. - - The route ID of this public transport leg. # noqa: E501 - - :param route_id: The route_id of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: str - """ - - self._route_id = route_id - - @property - def route_long_name(self): - """Gets the route_long_name of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The public transport route name of the leg. # noqa: E501 - - :return: The route_long_name of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: str - """ - return self._route_long_name - - @route_long_name.setter - def route_long_name(self, route_long_name): - """Sets the route_long_name of this JSONIndividualRouteResponseLegs. - - The public transport route name of the leg. # noqa: E501 - - :param route_long_name: The route_long_name of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: str - """ - - self._route_long_name = route_long_name - - @property - def route_short_name(self): - """Gets the route_short_name of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The public transport route name (short version) of the leg. # noqa: E501 - - :return: The route_short_name of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: str - """ - return self._route_short_name - - @route_short_name.setter - def route_short_name(self, route_short_name): - """Sets the route_short_name of this JSONIndividualRouteResponseLegs. - - The public transport route name (short version) of the leg. # noqa: E501 - - :param route_short_name: The route_short_name of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: str - """ - - self._route_short_name = route_short_name - - @property - def route_type(self): - """Gets the route_type of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The route type of the leg (if provided in the GTFS data set). # noqa: E501 - - :return: The route_type of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: int - """ - return self._route_type - - @route_type.setter - def route_type(self, route_type): - """Sets the route_type of this JSONIndividualRouteResponseLegs. - - The route type of the leg (if provided in the GTFS data set). # noqa: E501 - - :param route_type: The route_type of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: int - """ - - self._route_type = route_type - - @property - def stops(self): - """Gets the stops of this JSONIndividualRouteResponseLegs. # noqa: E501 - - List containing the stops the along the leg. # noqa: E501 - - :return: The stops of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseStops] - """ - return self._stops - - @stops.setter - def stops(self, stops): - """Sets the stops of this JSONIndividualRouteResponseLegs. - - List containing the stops the along the leg. # noqa: E501 - - :param stops: The stops of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: list[JSONIndividualRouteResponseStops] - """ - - self._stops = stops - - @property - def trip_headsign(self): - """Gets the trip_headsign of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The headsign of the public transport vehicle of the leg. # noqa: E501 - - :return: The trip_headsign of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: str - """ - return self._trip_headsign - - @trip_headsign.setter - def trip_headsign(self, trip_headsign): - """Sets the trip_headsign of this JSONIndividualRouteResponseLegs. - - The headsign of the public transport vehicle of the leg. # noqa: E501 - - :param trip_headsign: The trip_headsign of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: str - """ - - self._trip_headsign = trip_headsign - - @property - def trip_id(self): - """Gets the trip_id of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The trip ID of this public transport leg. # noqa: E501 - - :return: The trip_id of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: str - """ - return self._trip_id - - @trip_id.setter - def trip_id(self, trip_id): - """Sets the trip_id of this JSONIndividualRouteResponseLegs. - - The trip ID of this public transport leg. # noqa: E501 - - :param trip_id: The trip_id of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: str - """ - - self._trip_id = trip_id - - @property - def type(self): - """Gets the type of this JSONIndividualRouteResponseLegs. # noqa: E501 - - The type of the leg, possible values are currently 'walk' and 'pt'. # noqa: E501 - - :return: The type of this JSONIndividualRouteResponseLegs. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this JSONIndividualRouteResponseLegs. - - The type of the leg, possible values are currently 'walk' and 'pt'. # noqa: E501 - - :param type: The type of this JSONIndividualRouteResponseLegs. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONIndividualRouteResponseLegs, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONIndividualRouteResponseLegs): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_individual_route_response_maneuver.py b/openrouteservice/models/json_individual_route_response_maneuver.py deleted file mode 100644 index 318ced9d..00000000 --- a/openrouteservice/models/json_individual_route_response_maneuver.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONIndividualRouteResponseManeuver(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bearing_after': 'int', - 'bearing_before': 'int', - 'location': 'list[float]' - } - - attribute_map = { - 'bearing_after': 'bearing_after', - 'bearing_before': 'bearing_before', - 'location': 'location' - } - - def __init__(self, bearing_after=None, bearing_before=None, location=None): # noqa: E501 - """JSONIndividualRouteResponseManeuver - a model defined in Swagger""" # noqa: E501 - self._bearing_after = None - self._bearing_before = None - self._location = None - self.discriminator = None - if bearing_after is not None: - self.bearing_after = bearing_after - if bearing_before is not None: - self.bearing_before = bearing_before - if location is not None: - self.location = location - - @property - def bearing_after(self): - """Gets the bearing_after of this JSONIndividualRouteResponseManeuver. # noqa: E501 - - The azimuth angle (in degrees) of the direction right after the maneuver. # noqa: E501 - - :return: The bearing_after of this JSONIndividualRouteResponseManeuver. # noqa: E501 - :rtype: int - """ - return self._bearing_after - - @bearing_after.setter - def bearing_after(self, bearing_after): - """Sets the bearing_after of this JSONIndividualRouteResponseManeuver. - - The azimuth angle (in degrees) of the direction right after the maneuver. # noqa: E501 - - :param bearing_after: The bearing_after of this JSONIndividualRouteResponseManeuver. # noqa: E501 - :type: int - """ - - self._bearing_after = bearing_after - - @property - def bearing_before(self): - """Gets the bearing_before of this JSONIndividualRouteResponseManeuver. # noqa: E501 - - The azimuth angle (in degrees) of the direction right before the maneuver. # noqa: E501 - - :return: The bearing_before of this JSONIndividualRouteResponseManeuver. # noqa: E501 - :rtype: int - """ - return self._bearing_before - - @bearing_before.setter - def bearing_before(self, bearing_before): - """Sets the bearing_before of this JSONIndividualRouteResponseManeuver. - - The azimuth angle (in degrees) of the direction right before the maneuver. # noqa: E501 - - :param bearing_before: The bearing_before of this JSONIndividualRouteResponseManeuver. # noqa: E501 - :type: int - """ - - self._bearing_before = bearing_before - - @property - def location(self): - """Gets the location of this JSONIndividualRouteResponseManeuver. # noqa: E501 - - The coordinate of the point where a maneuver takes place. # noqa: E501 - - :return: The location of this JSONIndividualRouteResponseManeuver. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this JSONIndividualRouteResponseManeuver. - - The coordinate of the point where a maneuver takes place. # noqa: E501 - - :param location: The location of this JSONIndividualRouteResponseManeuver. # noqa: E501 - :type: list[float] - """ - - self._location = location - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONIndividualRouteResponseManeuver, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONIndividualRouteResponseManeuver): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_individual_route_response_segments.py b/openrouteservice/models/json_individual_route_response_segments.py deleted file mode 100644 index 77a9c1a2..00000000 --- a/openrouteservice/models/json_individual_route_response_segments.py +++ /dev/null @@ -1,308 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONIndividualRouteResponseSegments(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ascent': 'float', - 'avgspeed': 'float', - 'descent': 'float', - 'detourfactor': 'float', - 'distance': 'float', - 'duration': 'float', - 'percentage': 'float', - 'steps': 'list[JSONIndividualRouteResponseInstructions]' - } - - attribute_map = { - 'ascent': 'ascent', - 'avgspeed': 'avgspeed', - 'descent': 'descent', - 'detourfactor': 'detourfactor', - 'distance': 'distance', - 'duration': 'duration', - 'percentage': 'percentage', - 'steps': 'steps' - } - - def __init__(self, ascent=None, avgspeed=None, descent=None, detourfactor=None, distance=None, duration=None, percentage=None, steps=None): # noqa: E501 - """JSONIndividualRouteResponseSegments - a model defined in Swagger""" # noqa: E501 - self._ascent = None - self._avgspeed = None - self._descent = None - self._detourfactor = None - self._distance = None - self._duration = None - self._percentage = None - self._steps = None - self.discriminator = None - if ascent is not None: - self.ascent = ascent - if avgspeed is not None: - self.avgspeed = avgspeed - if descent is not None: - self.descent = descent - if detourfactor is not None: - self.detourfactor = detourfactor - if distance is not None: - self.distance = distance - if duration is not None: - self.duration = duration - if percentage is not None: - self.percentage = percentage - if steps is not None: - self.steps = steps - - @property - def ascent(self): - """Gets the ascent of this JSONIndividualRouteResponseSegments. # noqa: E501 - - Contains ascent of this segment in metres. # noqa: E501 - - :return: The ascent of this JSONIndividualRouteResponseSegments. # noqa: E501 - :rtype: float - """ - return self._ascent - - @ascent.setter - def ascent(self, ascent): - """Sets the ascent of this JSONIndividualRouteResponseSegments. - - Contains ascent of this segment in metres. # noqa: E501 - - :param ascent: The ascent of this JSONIndividualRouteResponseSegments. # noqa: E501 - :type: float - """ - - self._ascent = ascent - - @property - def avgspeed(self): - """Gets the avgspeed of this JSONIndividualRouteResponseSegments. # noqa: E501 - - Contains the average speed of this segment in km/h. # noqa: E501 - - :return: The avgspeed of this JSONIndividualRouteResponseSegments. # noqa: E501 - :rtype: float - """ - return self._avgspeed - - @avgspeed.setter - def avgspeed(self, avgspeed): - """Sets the avgspeed of this JSONIndividualRouteResponseSegments. - - Contains the average speed of this segment in km/h. # noqa: E501 - - :param avgspeed: The avgspeed of this JSONIndividualRouteResponseSegments. # noqa: E501 - :type: float - """ - - self._avgspeed = avgspeed - - @property - def descent(self): - """Gets the descent of this JSONIndividualRouteResponseSegments. # noqa: E501 - - Contains descent of this segment in metres. # noqa: E501 - - :return: The descent of this JSONIndividualRouteResponseSegments. # noqa: E501 - :rtype: float - """ - return self._descent - - @descent.setter - def descent(self, descent): - """Sets the descent of this JSONIndividualRouteResponseSegments. - - Contains descent of this segment in metres. # noqa: E501 - - :param descent: The descent of this JSONIndividualRouteResponseSegments. # noqa: E501 - :type: float - """ - - self._descent = descent - - @property - def detourfactor(self): - """Gets the detourfactor of this JSONIndividualRouteResponseSegments. # noqa: E501 - - Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. # noqa: E501 - - :return: The detourfactor of this JSONIndividualRouteResponseSegments. # noqa: E501 - :rtype: float - """ - return self._detourfactor - - @detourfactor.setter - def detourfactor(self, detourfactor): - """Sets the detourfactor of this JSONIndividualRouteResponseSegments. - - Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. # noqa: E501 - - :param detourfactor: The detourfactor of this JSONIndividualRouteResponseSegments. # noqa: E501 - :type: float - """ - - self._detourfactor = detourfactor - - @property - def distance(self): - """Gets the distance of this JSONIndividualRouteResponseSegments. # noqa: E501 - - Contains the distance of the segment in specified units. # noqa: E501 - - :return: The distance of this JSONIndividualRouteResponseSegments. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this JSONIndividualRouteResponseSegments. - - Contains the distance of the segment in specified units. # noqa: E501 - - :param distance: The distance of this JSONIndividualRouteResponseSegments. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def duration(self): - """Gets the duration of this JSONIndividualRouteResponseSegments. # noqa: E501 - - Contains the duration of the segment in seconds. # noqa: E501 - - :return: The duration of this JSONIndividualRouteResponseSegments. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this JSONIndividualRouteResponseSegments. - - Contains the duration of the segment in seconds. # noqa: E501 - - :param duration: The duration of this JSONIndividualRouteResponseSegments. # noqa: E501 - :type: float - """ - - self._duration = duration - - @property - def percentage(self): - """Gets the percentage of this JSONIndividualRouteResponseSegments. # noqa: E501 - - Contains the proportion of the route in percent. # noqa: E501 - - :return: The percentage of this JSONIndividualRouteResponseSegments. # noqa: E501 - :rtype: float - """ - return self._percentage - - @percentage.setter - def percentage(self, percentage): - """Sets the percentage of this JSONIndividualRouteResponseSegments. - - Contains the proportion of the route in percent. # noqa: E501 - - :param percentage: The percentage of this JSONIndividualRouteResponseSegments. # noqa: E501 - :type: float - """ - - self._percentage = percentage - - @property - def steps(self): - """Gets the steps of this JSONIndividualRouteResponseSegments. # noqa: E501 - - List containing the specific steps the segment consists of. # noqa: E501 - - :return: The steps of this JSONIndividualRouteResponseSegments. # noqa: E501 - :rtype: list[JSONIndividualRouteResponseInstructions] - """ - return self._steps - - @steps.setter - def steps(self, steps): - """Sets the steps of this JSONIndividualRouteResponseSegments. - - List containing the specific steps the segment consists of. # noqa: E501 - - :param steps: The steps of this JSONIndividualRouteResponseSegments. # noqa: E501 - :type: list[JSONIndividualRouteResponseInstructions] - """ - - self._steps = steps - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONIndividualRouteResponseSegments, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONIndividualRouteResponseSegments): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_individual_route_response_stops.py b/openrouteservice/models/json_individual_route_response_stops.py deleted file mode 100644 index 1c3457b0..00000000 --- a/openrouteservice/models/json_individual_route_response_stops.py +++ /dev/null @@ -1,392 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONIndividualRouteResponseStops(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'arrival_cancelled': 'bool', - 'arrival_time': 'datetime', - 'departure_cancelled': 'bool', - 'departure_time': 'datetime', - 'location': 'list[float]', - 'name': 'str', - 'planned_arrival_time': 'datetime', - 'planned_departure_time': 'datetime', - 'predicted_arrival_time': 'datetime', - 'predicted_departure_time': 'datetime', - 'stop_id': 'str' - } - - attribute_map = { - 'arrival_cancelled': 'arrival_cancelled', - 'arrival_time': 'arrival_time', - 'departure_cancelled': 'departure_cancelled', - 'departure_time': 'departure_time', - 'location': 'location', - 'name': 'name', - 'planned_arrival_time': 'planned_arrival_time', - 'planned_departure_time': 'planned_departure_time', - 'predicted_arrival_time': 'predicted_arrival_time', - 'predicted_departure_time': 'predicted_departure_time', - 'stop_id': 'stop_id' - } - - def __init__(self, arrival_cancelled=None, arrival_time=None, departure_cancelled=None, departure_time=None, location=None, name=None, planned_arrival_time=None, planned_departure_time=None, predicted_arrival_time=None, predicted_departure_time=None, stop_id=None): # noqa: E501 - """JSONIndividualRouteResponseStops - a model defined in Swagger""" # noqa: E501 - self._arrival_cancelled = None - self._arrival_time = None - self._departure_cancelled = None - self._departure_time = None - self._location = None - self._name = None - self._planned_arrival_time = None - self._planned_departure_time = None - self._predicted_arrival_time = None - self._predicted_departure_time = None - self._stop_id = None - self.discriminator = None - if arrival_cancelled is not None: - self.arrival_cancelled = arrival_cancelled - if arrival_time is not None: - self.arrival_time = arrival_time - if departure_cancelled is not None: - self.departure_cancelled = departure_cancelled - if departure_time is not None: - self.departure_time = departure_time - if location is not None: - self.location = location - if name is not None: - self.name = name - if planned_arrival_time is not None: - self.planned_arrival_time = planned_arrival_time - if planned_departure_time is not None: - self.planned_departure_time = planned_departure_time - if predicted_arrival_time is not None: - self.predicted_arrival_time = predicted_arrival_time - if predicted_departure_time is not None: - self.predicted_departure_time = predicted_departure_time - if stop_id is not None: - self.stop_id = stop_id - - @property - def arrival_cancelled(self): - """Gets the arrival_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 - - Whether arrival at the stop was cancelled. # noqa: E501 - - :return: The arrival_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 - :rtype: bool - """ - return self._arrival_cancelled - - @arrival_cancelled.setter - def arrival_cancelled(self, arrival_cancelled): - """Sets the arrival_cancelled of this JSONIndividualRouteResponseStops. - - Whether arrival at the stop was cancelled. # noqa: E501 - - :param arrival_cancelled: The arrival_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 - :type: bool - """ - - self._arrival_cancelled = arrival_cancelled - - @property - def arrival_time(self): - """Gets the arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 - - Arrival time of the stop. # noqa: E501 - - :return: The arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :rtype: datetime - """ - return self._arrival_time - - @arrival_time.setter - def arrival_time(self, arrival_time): - """Sets the arrival_time of this JSONIndividualRouteResponseStops. - - Arrival time of the stop. # noqa: E501 - - :param arrival_time: The arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :type: datetime - """ - - self._arrival_time = arrival_time - - @property - def departure_cancelled(self): - """Gets the departure_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 - - Whether departure at the stop was cancelled. # noqa: E501 - - :return: The departure_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 - :rtype: bool - """ - return self._departure_cancelled - - @departure_cancelled.setter - def departure_cancelled(self, departure_cancelled): - """Sets the departure_cancelled of this JSONIndividualRouteResponseStops. - - Whether departure at the stop was cancelled. # noqa: E501 - - :param departure_cancelled: The departure_cancelled of this JSONIndividualRouteResponseStops. # noqa: E501 - :type: bool - """ - - self._departure_cancelled = departure_cancelled - - @property - def departure_time(self): - """Gets the departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 - - Departure time of the stop. # noqa: E501 - - :return: The departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :rtype: datetime - """ - return self._departure_time - - @departure_time.setter - def departure_time(self, departure_time): - """Sets the departure_time of this JSONIndividualRouteResponseStops. - - Departure time of the stop. # noqa: E501 - - :param departure_time: The departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :type: datetime - """ - - self._departure_time = departure_time - - @property - def location(self): - """Gets the location of this JSONIndividualRouteResponseStops. # noqa: E501 - - The location of the stop. # noqa: E501 - - :return: The location of this JSONIndividualRouteResponseStops. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this JSONIndividualRouteResponseStops. - - The location of the stop. # noqa: E501 - - :param location: The location of this JSONIndividualRouteResponseStops. # noqa: E501 - :type: list[float] - """ - - self._location = location - - @property - def name(self): - """Gets the name of this JSONIndividualRouteResponseStops. # noqa: E501 - - The name of the stop. # noqa: E501 - - :return: The name of this JSONIndividualRouteResponseStops. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this JSONIndividualRouteResponseStops. - - The name of the stop. # noqa: E501 - - :param name: The name of this JSONIndividualRouteResponseStops. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def planned_arrival_time(self): - """Gets the planned_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 - - Planned arrival time of the stop. # noqa: E501 - - :return: The planned_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :rtype: datetime - """ - return self._planned_arrival_time - - @planned_arrival_time.setter - def planned_arrival_time(self, planned_arrival_time): - """Sets the planned_arrival_time of this JSONIndividualRouteResponseStops. - - Planned arrival time of the stop. # noqa: E501 - - :param planned_arrival_time: The planned_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :type: datetime - """ - - self._planned_arrival_time = planned_arrival_time - - @property - def planned_departure_time(self): - """Gets the planned_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 - - Planned departure time of the stop. # noqa: E501 - - :return: The planned_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :rtype: datetime - """ - return self._planned_departure_time - - @planned_departure_time.setter - def planned_departure_time(self, planned_departure_time): - """Sets the planned_departure_time of this JSONIndividualRouteResponseStops. - - Planned departure time of the stop. # noqa: E501 - - :param planned_departure_time: The planned_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :type: datetime - """ - - self._planned_departure_time = planned_departure_time - - @property - def predicted_arrival_time(self): - """Gets the predicted_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 - - Predicted arrival time of the stop. # noqa: E501 - - :return: The predicted_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :rtype: datetime - """ - return self._predicted_arrival_time - - @predicted_arrival_time.setter - def predicted_arrival_time(self, predicted_arrival_time): - """Sets the predicted_arrival_time of this JSONIndividualRouteResponseStops. - - Predicted arrival time of the stop. # noqa: E501 - - :param predicted_arrival_time: The predicted_arrival_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :type: datetime - """ - - self._predicted_arrival_time = predicted_arrival_time - - @property - def predicted_departure_time(self): - """Gets the predicted_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 - - Predicted departure time of the stop. # noqa: E501 - - :return: The predicted_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :rtype: datetime - """ - return self._predicted_departure_time - - @predicted_departure_time.setter - def predicted_departure_time(self, predicted_departure_time): - """Sets the predicted_departure_time of this JSONIndividualRouteResponseStops. - - Predicted departure time of the stop. # noqa: E501 - - :param predicted_departure_time: The predicted_departure_time of this JSONIndividualRouteResponseStops. # noqa: E501 - :type: datetime - """ - - self._predicted_departure_time = predicted_departure_time - - @property - def stop_id(self): - """Gets the stop_id of this JSONIndividualRouteResponseStops. # noqa: E501 - - The ID of the stop. # noqa: E501 - - :return: The stop_id of this JSONIndividualRouteResponseStops. # noqa: E501 - :rtype: str - """ - return self._stop_id - - @stop_id.setter - def stop_id(self, stop_id): - """Sets the stop_id of this JSONIndividualRouteResponseStops. - - The ID of the stop. # noqa: E501 - - :param stop_id: The stop_id of this JSONIndividualRouteResponseStops. # noqa: E501 - :type: str - """ - - self._stop_id = stop_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONIndividualRouteResponseStops, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONIndividualRouteResponseStops): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_individual_route_response_summary.py b/openrouteservice/models/json_individual_route_response_summary.py deleted file mode 100644 index 136b6553..00000000 --- a/openrouteservice/models/json_individual_route_response_summary.py +++ /dev/null @@ -1,248 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONIndividualRouteResponseSummary(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ascent': 'float', - 'descent': 'float', - 'distance': 'float', - 'duration': 'float', - 'fare': 'int', - 'transfers': 'int' - } - - attribute_map = { - 'ascent': 'ascent', - 'descent': 'descent', - 'distance': 'distance', - 'duration': 'duration', - 'fare': 'fare', - 'transfers': 'transfers' - } - - def __init__(self, ascent=None, descent=None, distance=None, duration=None, fare=None, transfers=None): # noqa: E501 - """JSONIndividualRouteResponseSummary - a model defined in Swagger""" # noqa: E501 - self._ascent = None - self._descent = None - self._distance = None - self._duration = None - self._fare = None - self._transfers = None - self.discriminator = None - if ascent is not None: - self.ascent = ascent - if descent is not None: - self.descent = descent - if distance is not None: - self.distance = distance - if duration is not None: - self.duration = duration - if fare is not None: - self.fare = fare - if transfers is not None: - self.transfers = transfers - - @property - def ascent(self): - """Gets the ascent of this JSONIndividualRouteResponseSummary. # noqa: E501 - - Total ascent in meters. # noqa: E501 - - :return: The ascent of this JSONIndividualRouteResponseSummary. # noqa: E501 - :rtype: float - """ - return self._ascent - - @ascent.setter - def ascent(self, ascent): - """Sets the ascent of this JSONIndividualRouteResponseSummary. - - Total ascent in meters. # noqa: E501 - - :param ascent: The ascent of this JSONIndividualRouteResponseSummary. # noqa: E501 - :type: float - """ - - self._ascent = ascent - - @property - def descent(self): - """Gets the descent of this JSONIndividualRouteResponseSummary. # noqa: E501 - - Total descent in meters. # noqa: E501 - - :return: The descent of this JSONIndividualRouteResponseSummary. # noqa: E501 - :rtype: float - """ - return self._descent - - @descent.setter - def descent(self, descent): - """Sets the descent of this JSONIndividualRouteResponseSummary. - - Total descent in meters. # noqa: E501 - - :param descent: The descent of this JSONIndividualRouteResponseSummary. # noqa: E501 - :type: float - """ - - self._descent = descent - - @property - def distance(self): - """Gets the distance of this JSONIndividualRouteResponseSummary. # noqa: E501 - - Total route distance in specified units. # noqa: E501 - - :return: The distance of this JSONIndividualRouteResponseSummary. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this JSONIndividualRouteResponseSummary. - - Total route distance in specified units. # noqa: E501 - - :param distance: The distance of this JSONIndividualRouteResponseSummary. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def duration(self): - """Gets the duration of this JSONIndividualRouteResponseSummary. # noqa: E501 - - Total duration in seconds. # noqa: E501 - - :return: The duration of this JSONIndividualRouteResponseSummary. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this JSONIndividualRouteResponseSummary. - - Total duration in seconds. # noqa: E501 - - :param duration: The duration of this JSONIndividualRouteResponseSummary. # noqa: E501 - :type: float - """ - - self._duration = duration - - @property - def fare(self): - """Gets the fare of this JSONIndividualRouteResponseSummary. # noqa: E501 - - - :return: The fare of this JSONIndividualRouteResponseSummary. # noqa: E501 - :rtype: int - """ - return self._fare - - @fare.setter - def fare(self, fare): - """Sets the fare of this JSONIndividualRouteResponseSummary. - - - :param fare: The fare of this JSONIndividualRouteResponseSummary. # noqa: E501 - :type: int - """ - - self._fare = fare - - @property - def transfers(self): - """Gets the transfers of this JSONIndividualRouteResponseSummary. # noqa: E501 - - - :return: The transfers of this JSONIndividualRouteResponseSummary. # noqa: E501 - :rtype: int - """ - return self._transfers - - @transfers.setter - def transfers(self, transfers): - """Sets the transfers of this JSONIndividualRouteResponseSummary. - - - :param transfers: The transfers of this JSONIndividualRouteResponseSummary. # noqa: E501 - :type: int - """ - - self._transfers = transfers - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONIndividualRouteResponseSummary, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONIndividualRouteResponseSummary): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_individual_route_response_warnings.py b/openrouteservice/models/json_individual_route_response_warnings.py deleted file mode 100644 index fe591ade..00000000 --- a/openrouteservice/models/json_individual_route_response_warnings.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONIndividualRouteResponseWarnings(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'int', - 'message': 'str' - } - - attribute_map = { - 'code': 'code', - 'message': 'message' - } - - def __init__(self, code=None, message=None): # noqa: E501 - """JSONIndividualRouteResponseWarnings - a model defined in Swagger""" # noqa: E501 - self._code = None - self._message = None - self.discriminator = None - if code is not None: - self.code = code - if message is not None: - self.message = message - - @property - def code(self): - """Gets the code of this JSONIndividualRouteResponseWarnings. # noqa: E501 - - Identification code for the warning # noqa: E501 - - :return: The code of this JSONIndividualRouteResponseWarnings. # noqa: E501 - :rtype: int - """ - return self._code - - @code.setter - def code(self, code): - """Sets the code of this JSONIndividualRouteResponseWarnings. - - Identification code for the warning # noqa: E501 - - :param code: The code of this JSONIndividualRouteResponseWarnings. # noqa: E501 - :type: int - """ - - self._code = code - - @property - def message(self): - """Gets the message of this JSONIndividualRouteResponseWarnings. # noqa: E501 - - The message associated with the warning # noqa: E501 - - :return: The message of this JSONIndividualRouteResponseWarnings. # noqa: E501 - :rtype: str - """ - return self._message - - @message.setter - def message(self, message): - """Sets the message of this JSONIndividualRouteResponseWarnings. - - The message associated with the warning # noqa: E501 - - :param message: The message of this JSONIndividualRouteResponseWarnings. # noqa: E501 - :type: str - """ - - self._message = message - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONIndividualRouteResponseWarnings, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONIndividualRouteResponseWarnings): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_location.py b/openrouteservice/models/json_location.py deleted file mode 100644 index 73f38809..00000000 --- a/openrouteservice/models/json_location.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONLocation(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'location': 'list[float]', - 'name': 'str', - 'snapped_distance': 'float' - } - - attribute_map = { - 'location': 'location', - 'name': 'name', - 'snapped_distance': 'snapped_distance' - } - - def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 - """JSONLocation - a model defined in Swagger""" # noqa: E501 - self._location = None - self._name = None - self._snapped_distance = None - self.discriminator = None - if location is not None: - self.location = location - if name is not None: - self.name = name - if snapped_distance is not None: - self.snapped_distance = snapped_distance - - @property - def location(self): - """Gets the location of this JSONLocation. # noqa: E501 - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :return: The location of this JSONLocation. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this JSONLocation. - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :param location: The location of this JSONLocation. # noqa: E501 - :type: list[float] - """ - - self._location = location - - @property - def name(self): - """Gets the name of this JSONLocation. # noqa: E501 - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :return: The name of this JSONLocation. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this JSONLocation. - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :param name: The name of this JSONLocation. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def snapped_distance(self): - """Gets the snapped_distance of this JSONLocation. # noqa: E501 - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :return: The snapped_distance of this JSONLocation. # noqa: E501 - :rtype: float - """ - return self._snapped_distance - - @snapped_distance.setter - def snapped_distance(self, snapped_distance): - """Sets the snapped_distance of this JSONLocation. - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :param snapped_distance: The snapped_distance of this JSONLocation. # noqa: E501 - :type: float - """ - - self._snapped_distance = snapped_distance - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONLocation, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONLocation): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_node.py b/openrouteservice/models/json_node.py deleted file mode 100644 index 30e490ca..00000000 --- a/openrouteservice/models/json_node.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JsonNode(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'location': 'list[float]', - 'node_id': 'int' - } - - attribute_map = { - 'location': 'location', - 'node_id': 'nodeId' - } - - def __init__(self, location=None, node_id=None): # noqa: E501 - """JsonNode - a model defined in Swagger""" # noqa: E501 - self._location = None - self._node_id = None - self.discriminator = None - if location is not None: - self.location = location - if node_id is not None: - self.node_id = node_id - - @property - def location(self): - """Gets the location of this JsonNode. # noqa: E501 - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :return: The location of this JsonNode. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this JsonNode. - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :param location: The location of this JsonNode. # noqa: E501 - :type: list[float] - """ - - self._location = location - - @property - def node_id(self): - """Gets the node_id of this JsonNode. # noqa: E501 - - Id of the corresponding node in the graph # noqa: E501 - - :return: The node_id of this JsonNode. # noqa: E501 - :rtype: int - """ - return self._node_id - - @node_id.setter - def node_id(self, node_id): - """Sets the node_id of this JsonNode. - - Id of the corresponding node in the graph # noqa: E501 - - :param node_id: The node_id of this JsonNode. # noqa: E501 - :type: int - """ - - self._node_id = node_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JsonNode, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JsonNode): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_object.py b/openrouteservice/models/json_object.py deleted file mode 100644 index fe8beb10..00000000 --- a/openrouteservice/models/json_object.py +++ /dev/null @@ -1,89 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONObject(dict): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - if hasattr(dict, "swagger_types"): - swagger_types.update(dict.swagger_types) - - attribute_map = { - } - if hasattr(dict, "attribute_map"): - attribute_map.update(dict.attribute_map) - - def __init__(self, *args, **kwargs): # noqa: E501 - """JSONObject - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - dict.__init__(self, *args, **kwargs) - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONObject, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONObject): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/json_route_response.py b/openrouteservice/models/json_route_response.py deleted file mode 100644 index 123a1636..00000000 --- a/openrouteservice/models/json_route_response.py +++ /dev/null @@ -1,166 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class JSONRouteResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bbox': 'list[float]', - 'metadata': 'GeoJSONRouteResponseMetadata', - 'routes': 'list[JSONRouteResponseRoutes]' - } - - attribute_map = { - 'bbox': 'bbox', - 'metadata': 'metadata', - 'routes': 'routes' - } - - def __init__(self, bbox=None, metadata=None, routes=None): # noqa: E501 - """JSONRouteResponse - a model defined in Swagger""" # noqa: E501 - self._bbox = None - self._metadata = None - self._routes = None - self.discriminator = None - if bbox is not None: - self.bbox = bbox - if metadata is not None: - self.metadata = metadata - if routes is not None: - self.routes = routes - - @property - def bbox(self): - """Gets the bbox of this JSONRouteResponse. # noqa: E501 - - Bounding box that covers all returned routes # noqa: E501 - - :return: The bbox of this JSONRouteResponse. # noqa: E501 - :rtype: list[float] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this JSONRouteResponse. - - Bounding box that covers all returned routes # noqa: E501 - - :param bbox: The bbox of this JSONRouteResponse. # noqa: E501 - :type: list[float] - """ - - self._bbox = bbox - - @property - def metadata(self): - """Gets the metadata of this JSONRouteResponse. # noqa: E501 - - - :return: The metadata of this JSONRouteResponse. # noqa: E501 - :rtype: GeoJSONRouteResponseMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this JSONRouteResponse. - - - :param metadata: The metadata of this JSONRouteResponse. # noqa: E501 - :type: GeoJSONRouteResponseMetadata - """ - - self._metadata = metadata - - @property - def routes(self): - """Gets the routes of this JSONRouteResponse. # noqa: E501 - - A list of routes returned from the request # noqa: E501 - - :return: The routes of this JSONRouteResponse. # noqa: E501 - :rtype: list[JSONRouteResponseRoutes] - """ - return self._routes - - @routes.setter - def routes(self, routes): - """Sets the routes of this JSONRouteResponse. - - A list of routes returned from the request # noqa: E501 - - :param routes: The routes of this JSONRouteResponse. # noqa: E501 - :type: list[JSONRouteResponseRoutes] - """ - - self._routes = routes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(JSONRouteResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, JSONRouteResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/matrix_request.py b/openrouteservice/models/matrix_request.py deleted file mode 100644 index 1b60f1e1..00000000 --- a/openrouteservice/models/matrix_request.py +++ /dev/null @@ -1,294 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MatrixRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'destinations': 'list[str]', - 'id': 'str', - 'locations': 'list[list[float]]', - 'metrics': 'list[str]', - 'resolve_locations': 'bool', - 'sources': 'list[str]', - 'units': 'str' - } - - attribute_map = { - 'destinations': 'destinations', - 'id': 'id', - 'locations': 'locations', - 'metrics': 'metrics', - 'resolve_locations': 'resolve_locations', - 'sources': 'sources', - 'units': 'units' - } - - def __init__(self, destinations=None, id=None, locations=None, metrics=None, resolve_locations=False, sources=None, units='m'): # noqa: E501 - """MatrixRequest - a model defined in Swagger""" # noqa: E501 - self._destinations = None - self._id = None - self._locations = None - self._metrics = None - self._resolve_locations = None - self._sources = None - self._units = None - self.discriminator = None - if destinations is not None: - self.destinations = destinations - if id is not None: - self.id = id - self.locations = locations - if metrics is not None: - self.metrics = metrics - if resolve_locations is not None: - self.resolve_locations = resolve_locations - if sources is not None: - self.sources = sources - if units is not None: - self.units = units - - @property - def destinations(self): - """Gets the destinations of this MatrixRequest. # noqa: E501 - - A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). `[0,3]` for the first and fourth locations # noqa: E501 - - :return: The destinations of this MatrixRequest. # noqa: E501 - :rtype: list[str] - """ - return self._destinations - - @destinations.setter - def destinations(self, destinations): - """Sets the destinations of this MatrixRequest. - - A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). `[0,3]` for the first and fourth locations # noqa: E501 - - :param destinations: The destinations of this MatrixRequest. # noqa: E501 - :type: list[str] - """ - - self._destinations = destinations - - @property - def id(self): - """Gets the id of this MatrixRequest. # noqa: E501 - - Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - - :return: The id of this MatrixRequest. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this MatrixRequest. - - Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - - :param id: The id of this MatrixRequest. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def locations(self): - """Gets the locations of this MatrixRequest. # noqa: E501 - - List of comma separated lists of `longitude,latitude` coordinates in WGS 84 (EPSG:4326) # noqa: E501 - - :return: The locations of this MatrixRequest. # noqa: E501 - :rtype: list[list[float]] - """ - return self._locations - - @locations.setter - def locations(self, locations): - """Sets the locations of this MatrixRequest. - - List of comma separated lists of `longitude,latitude` coordinates in WGS 84 (EPSG:4326) # noqa: E501 - - :param locations: The locations of this MatrixRequest. # noqa: E501 - :type: list[list[float]] - """ - if locations is None: - raise ValueError("Invalid value for `locations`, must not be `None`") # noqa: E501 - - self._locations = locations - - @property - def metrics(self): - """Gets the metrics of this MatrixRequest. # noqa: E501 - - Specifies a list of returned metrics. \"* `distance` - Returns distance matrix for specified points in defined `units`. * `duration` - Returns duration matrix for specified points in **seconds**. # noqa: E501 - - :return: The metrics of this MatrixRequest. # noqa: E501 - :rtype: list[str] - """ - return self._metrics - - @metrics.setter - def metrics(self, metrics): - """Sets the metrics of this MatrixRequest. - - Specifies a list of returned metrics. \"* `distance` - Returns distance matrix for specified points in defined `units`. * `duration` - Returns duration matrix for specified points in **seconds**. # noqa: E501 - - :param metrics: The metrics of this MatrixRequest. # noqa: E501 - :type: list[str] - """ - allowed_values = ["distance", "duration"] # noqa: E501 - if not set(metrics).issubset(set(allowed_values)): - raise ValueError( - "Invalid values for `metrics` [{0}], must be a subset of [{1}]" # noqa: E501 - .format(", ".join(map(str, set(metrics) - set(allowed_values))), # noqa: E501 - ", ".join(map(str, allowed_values))) - ) - - self._metrics = metrics - - @property - def resolve_locations(self): - """Gets the resolve_locations of this MatrixRequest. # noqa: E501 - - Specifies whether given locations are resolved or not. If the parameter value set to `true`, every element in `destinations` and `sources` will contain a `name` element that identifies the name of the closest street. Default is `false`. # noqa: E501 - - :return: The resolve_locations of this MatrixRequest. # noqa: E501 - :rtype: bool - """ - return self._resolve_locations - - @resolve_locations.setter - def resolve_locations(self, resolve_locations): - """Sets the resolve_locations of this MatrixRequest. - - Specifies whether given locations are resolved or not. If the parameter value set to `true`, every element in `destinations` and `sources` will contain a `name` element that identifies the name of the closest street. Default is `false`. # noqa: E501 - - :param resolve_locations: The resolve_locations of this MatrixRequest. # noqa: E501 - :type: bool - """ - - self._resolve_locations = resolve_locations - - @property - def sources(self): - """Gets the sources of this MatrixRequest. # noqa: E501 - - A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). example `[0,3]` for the first and fourth locations # noqa: E501 - - :return: The sources of this MatrixRequest. # noqa: E501 - :rtype: list[str] - """ - return self._sources - - @sources.setter - def sources(self, sources): - """Sets the sources of this MatrixRequest. - - A list of indices that refers to the list of locations (starting with `0`). `{index_1},{index_2}[,{index_N} ...]` or `all` (default). example `[0,3]` for the first and fourth locations # noqa: E501 - - :param sources: The sources of this MatrixRequest. # noqa: E501 - :type: list[str] - """ - - self._sources = sources - - @property - def units(self): - """Gets the units of this MatrixRequest. # noqa: E501 - - Specifies the distance unit. Default: m. # noqa: E501 - - :return: The units of this MatrixRequest. # noqa: E501 - :rtype: str - """ - return self._units - - @units.setter - def units(self, units): - """Sets the units of this MatrixRequest. - - Specifies the distance unit. Default: m. # noqa: E501 - - :param units: The units of this MatrixRequest. # noqa: E501 - :type: str - """ - allowed_values = ["m", "km", "mi"] # noqa: E501 - if units not in allowed_values: - raise ValueError( - "Invalid value for `units` ({0}), must be one of {1}" # noqa: E501 - .format(units, allowed_values) - ) - - self._units = units - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(MatrixRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, MatrixRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/matrix_response.py b/openrouteservice/models/matrix_response.py deleted file mode 100644 index bb40c6ad..00000000 --- a/openrouteservice/models/matrix_response.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MatrixResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'destinations': 'list[MatrixResponseDestinations]', - 'distances': 'list[list[float]]', - 'durations': 'list[list[float]]', - 'metadata': 'MatrixResponseMetadata', - 'sources': 'list[MatrixResponseSources]' - } - - attribute_map = { - 'destinations': 'destinations', - 'distances': 'distances', - 'durations': 'durations', - 'metadata': 'metadata', - 'sources': 'sources' - } - - def __init__(self, destinations=None, distances=None, durations=None, metadata=None, sources=None): # noqa: E501 - """MatrixResponse - a model defined in Swagger""" # noqa: E501 - self._destinations = None - self._distances = None - self._durations = None - self._metadata = None - self._sources = None - self.discriminator = None - if destinations is not None: - self.destinations = destinations - if distances is not None: - self.distances = distances - if durations is not None: - self.durations = durations - if metadata is not None: - self.metadata = metadata - if sources is not None: - self.sources = sources - - @property - def destinations(self): - """Gets the destinations of this MatrixResponse. # noqa: E501 - - The individual destinations of the matrix calculations. # noqa: E501 - - :return: The destinations of this MatrixResponse. # noqa: E501 - :rtype: list[MatrixResponseDestinations] - """ - return self._destinations - - @destinations.setter - def destinations(self, destinations): - """Sets the destinations of this MatrixResponse. - - The individual destinations of the matrix calculations. # noqa: E501 - - :param destinations: The destinations of this MatrixResponse. # noqa: E501 - :type: list[MatrixResponseDestinations] - """ - - self._destinations = destinations - - @property - def distances(self): - """Gets the distances of this MatrixResponse. # noqa: E501 - - The distances of the matrix calculations. # noqa: E501 - - :return: The distances of this MatrixResponse. # noqa: E501 - :rtype: list[list[float]] - """ - return self._distances - - @distances.setter - def distances(self, distances): - """Sets the distances of this MatrixResponse. - - The distances of the matrix calculations. # noqa: E501 - - :param distances: The distances of this MatrixResponse. # noqa: E501 - :type: list[list[float]] - """ - - self._distances = distances - - @property - def durations(self): - """Gets the durations of this MatrixResponse. # noqa: E501 - - The durations of the matrix calculations. # noqa: E501 - - :return: The durations of this MatrixResponse. # noqa: E501 - :rtype: list[list[float]] - """ - return self._durations - - @durations.setter - def durations(self, durations): - """Sets the durations of this MatrixResponse. - - The durations of the matrix calculations. # noqa: E501 - - :param durations: The durations of this MatrixResponse. # noqa: E501 - :type: list[list[float]] - """ - - self._durations = durations - - @property - def metadata(self): - """Gets the metadata of this MatrixResponse. # noqa: E501 - - - :return: The metadata of this MatrixResponse. # noqa: E501 - :rtype: MatrixResponseMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this MatrixResponse. - - - :param metadata: The metadata of this MatrixResponse. # noqa: E501 - :type: MatrixResponseMetadata - """ - - self._metadata = metadata - - @property - def sources(self): - """Gets the sources of this MatrixResponse. # noqa: E501 - - The individual sources of the matrix calculations. # noqa: E501 - - :return: The sources of this MatrixResponse. # noqa: E501 - :rtype: list[MatrixResponseSources] - """ - return self._sources - - @sources.setter - def sources(self, sources): - """Sets the sources of this MatrixResponse. - - The individual sources of the matrix calculations. # noqa: E501 - - :param sources: The sources of this MatrixResponse. # noqa: E501 - :type: list[MatrixResponseSources] - """ - - self._sources = sources - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(MatrixResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, MatrixResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/matrix_response_info.py b/openrouteservice/models/matrix_response_info.py deleted file mode 100644 index 0d2963dd..00000000 --- a/openrouteservice/models/matrix_response_info.py +++ /dev/null @@ -1,304 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MatrixResponseInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attribution': 'str', - 'engine': 'GeoJSONIsochronesResponseMetadataEngine', - 'id': 'str', - 'osm_file_md5_hash': 'str', - 'query': 'MatrixProfileBody', - 'service': 'str', - 'system_message': 'str', - 'timestamp': 'int' - } - - attribute_map = { - 'attribution': 'attribution', - 'engine': 'engine', - 'id': 'id', - 'osm_file_md5_hash': 'osm_file_md5_hash', - 'query': 'query', - 'service': 'service', - 'system_message': 'system_message', - 'timestamp': 'timestamp' - } - - def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """MatrixResponseInfo - a model defined in Swagger""" # noqa: E501 - self._attribution = None - self._engine = None - self._id = None - self._osm_file_md5_hash = None - self._query = None - self._service = None - self._system_message = None - self._timestamp = None - self.discriminator = None - if attribution is not None: - self.attribution = attribution - if engine is not None: - self.engine = engine - if id is not None: - self.id = id - if osm_file_md5_hash is not None: - self.osm_file_md5_hash = osm_file_md5_hash - if query is not None: - self.query = query - if service is not None: - self.service = service - if system_message is not None: - self.system_message = system_message - if timestamp is not None: - self.timestamp = timestamp - - @property - def attribution(self): - """Gets the attribution of this MatrixResponseInfo. # noqa: E501 - - Copyright and attribution information # noqa: E501 - - :return: The attribution of this MatrixResponseInfo. # noqa: E501 - :rtype: str - """ - return self._attribution - - @attribution.setter - def attribution(self, attribution): - """Sets the attribution of this MatrixResponseInfo. - - Copyright and attribution information # noqa: E501 - - :param attribution: The attribution of this MatrixResponseInfo. # noqa: E501 - :type: str - """ - - self._attribution = attribution - - @property - def engine(self): - """Gets the engine of this MatrixResponseInfo. # noqa: E501 - - - :return: The engine of this MatrixResponseInfo. # noqa: E501 - :rtype: GeoJSONIsochronesResponseMetadataEngine - """ - return self._engine - - @engine.setter - def engine(self, engine): - """Sets the engine of this MatrixResponseInfo. - - - :param engine: The engine of this MatrixResponseInfo. # noqa: E501 - :type: GeoJSONIsochronesResponseMetadataEngine - """ - - self._engine = engine - - @property - def id(self): - """Gets the id of this MatrixResponseInfo. # noqa: E501 - - ID of the request (as passed in by the query) # noqa: E501 - - :return: The id of this MatrixResponseInfo. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this MatrixResponseInfo. - - ID of the request (as passed in by the query) # noqa: E501 - - :param id: The id of this MatrixResponseInfo. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this MatrixResponseInfo. # noqa: E501 - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :return: The osm_file_md5_hash of this MatrixResponseInfo. # noqa: E501 - :rtype: str - """ - return self._osm_file_md5_hash - - @osm_file_md5_hash.setter - def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this MatrixResponseInfo. - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :param osm_file_md5_hash: The osm_file_md5_hash of this MatrixResponseInfo. # noqa: E501 - :type: str - """ - - self._osm_file_md5_hash = osm_file_md5_hash - - @property - def query(self): - """Gets the query of this MatrixResponseInfo. # noqa: E501 - - - :return: The query of this MatrixResponseInfo. # noqa: E501 - :rtype: MatrixProfileBody - """ - return self._query - - @query.setter - def query(self, query): - """Sets the query of this MatrixResponseInfo. - - - :param query: The query of this MatrixResponseInfo. # noqa: E501 - :type: MatrixProfileBody - """ - - self._query = query - - @property - def service(self): - """Gets the service of this MatrixResponseInfo. # noqa: E501 - - The service that was requested # noqa: E501 - - :return: The service of this MatrixResponseInfo. # noqa: E501 - :rtype: str - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this MatrixResponseInfo. - - The service that was requested # noqa: E501 - - :param service: The service of this MatrixResponseInfo. # noqa: E501 - :type: str - """ - - self._service = service - - @property - def system_message(self): - """Gets the system_message of this MatrixResponseInfo. # noqa: E501 - - System message # noqa: E501 - - :return: The system_message of this MatrixResponseInfo. # noqa: E501 - :rtype: str - """ - return self._system_message - - @system_message.setter - def system_message(self, system_message): - """Sets the system_message of this MatrixResponseInfo. - - System message # noqa: E501 - - :param system_message: The system_message of this MatrixResponseInfo. # noqa: E501 - :type: str - """ - - self._system_message = system_message - - @property - def timestamp(self): - """Gets the timestamp of this MatrixResponseInfo. # noqa: E501 - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :return: The timestamp of this MatrixResponseInfo. # noqa: E501 - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this MatrixResponseInfo. - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :param timestamp: The timestamp of this MatrixResponseInfo. # noqa: E501 - :type: int - """ - - self._timestamp = timestamp - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(MatrixResponseInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, MatrixResponseInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/matrix_response_sources.py b/openrouteservice/models/matrix_response_sources.py deleted file mode 100644 index 174a1b85..00000000 --- a/openrouteservice/models/matrix_response_sources.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class MatrixResponseSources(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'location': 'list[float]', - 'name': 'str', - 'snapped_distance': 'float' - } - - attribute_map = { - 'location': 'location', - 'name': 'name', - 'snapped_distance': 'snapped_distance' - } - - def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 - """MatrixResponseSources - a model defined in Swagger""" # noqa: E501 - self._location = None - self._name = None - self._snapped_distance = None - self.discriminator = None - if location is not None: - self.location = location - if name is not None: - self.name = name - if snapped_distance is not None: - self.snapped_distance = snapped_distance - - @property - def location(self): - """Gets the location of this MatrixResponseSources. # noqa: E501 - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :return: The location of this MatrixResponseSources. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this MatrixResponseSources. - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :param location: The location of this MatrixResponseSources. # noqa: E501 - :type: list[float] - """ - - self._location = location - - @property - def name(self): - """Gets the name of this MatrixResponseSources. # noqa: E501 - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :return: The name of this MatrixResponseSources. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this MatrixResponseSources. - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :param name: The name of this MatrixResponseSources. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def snapped_distance(self): - """Gets the snapped_distance of this MatrixResponseSources. # noqa: E501 - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :return: The snapped_distance of this MatrixResponseSources. # noqa: E501 - :rtype: float - """ - return self._snapped_distance - - @snapped_distance.setter - def snapped_distance(self, snapped_distance): - """Sets the snapped_distance of this MatrixResponseSources. - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :param snapped_distance: The snapped_distance of this MatrixResponseSources. # noqa: E501 - :type: float - """ - - self._snapped_distance = snapped_distance - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(MatrixResponseSources, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, MatrixResponseSources): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/restrictions.py b/openrouteservice/models/restrictions.py deleted file mode 100644 index 0a3f4158..00000000 --- a/openrouteservice/models/restrictions.py +++ /dev/null @@ -1,426 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class Restrictions(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'axleload': 'float', - 'hazmat': 'bool', - 'height': 'float', - 'length': 'float', - 'maximum_incline': 'int', - 'maximum_sloped_kerb': 'float', - 'minimum_width': 'float', - 'smoothness_type': 'str', - 'surface_type': 'str', - 'track_type': 'str', - 'weight': 'float', - 'width': 'float' - } - - attribute_map = { - 'axleload': 'axleload', - 'hazmat': 'hazmat', - 'height': 'height', - 'length': 'length', - 'maximum_incline': 'maximum_incline', - 'maximum_sloped_kerb': 'maximum_sloped_kerb', - 'minimum_width': 'minimum_width', - 'smoothness_type': 'smoothness_type', - 'surface_type': 'surface_type', - 'track_type': 'track_type', - 'weight': 'weight', - 'width': 'width' - } - - def __init__(self, axleload=None, hazmat=False, height=None, length=None, maximum_incline=6, maximum_sloped_kerb=0.6, minimum_width=None, smoothness_type='good', surface_type='sett', track_type='grade1', weight=None, width=None): # noqa: E501 - """Restrictions - a model defined in Swagger""" # noqa: E501 - self._axleload = None - self._hazmat = None - self._height = None - self._length = None - self._maximum_incline = None - self._maximum_sloped_kerb = None - self._minimum_width = None - self._smoothness_type = None - self._surface_type = None - self._track_type = None - self._weight = None - self._width = None - self.discriminator = None - if axleload is not None: - self.axleload = axleload - if hazmat is not None: - self.hazmat = hazmat - if height is not None: - self.height = height - if length is not None: - self.length = length - if maximum_incline is not None: - self.maximum_incline = maximum_incline - if maximum_sloped_kerb is not None: - self.maximum_sloped_kerb = maximum_sloped_kerb - if minimum_width is not None: - self.minimum_width = minimum_width - if smoothness_type is not None: - self.smoothness_type = smoothness_type - if surface_type is not None: - self.surface_type = surface_type - if track_type is not None: - self.track_type = track_type - if weight is not None: - self.weight = weight - if width is not None: - self.width = width - - @property - def axleload(self): - """Gets the axleload of this Restrictions. # noqa: E501 - - Axleload restriction in tons. # noqa: E501 - - :return: The axleload of this Restrictions. # noqa: E501 - :rtype: float - """ - return self._axleload - - @axleload.setter - def axleload(self, axleload): - """Sets the axleload of this Restrictions. - - Axleload restriction in tons. # noqa: E501 - - :param axleload: The axleload of this Restrictions. # noqa: E501 - :type: float - """ - - self._axleload = axleload - - @property - def hazmat(self): - """Gets the hazmat of this Restrictions. # noqa: E501 - - Specifies whether to use appropriate routing for delivering hazardous goods and avoiding water protected areas. Default is `false`. # noqa: E501 - - :return: The hazmat of this Restrictions. # noqa: E501 - :rtype: bool - """ - return self._hazmat - - @hazmat.setter - def hazmat(self, hazmat): - """Sets the hazmat of this Restrictions. - - Specifies whether to use appropriate routing for delivering hazardous goods and avoiding water protected areas. Default is `false`. # noqa: E501 - - :param hazmat: The hazmat of this Restrictions. # noqa: E501 - :type: bool - """ - - self._hazmat = hazmat - - @property - def height(self): - """Gets the height of this Restrictions. # noqa: E501 - - Height restriction in metres. # noqa: E501 - - :return: The height of this Restrictions. # noqa: E501 - :rtype: float - """ - return self._height - - @height.setter - def height(self, height): - """Sets the height of this Restrictions. - - Height restriction in metres. # noqa: E501 - - :param height: The height of this Restrictions. # noqa: E501 - :type: float - """ - - self._height = height - - @property - def length(self): - """Gets the length of this Restrictions. # noqa: E501 - - Length restriction in metres. # noqa: E501 - - :return: The length of this Restrictions. # noqa: E501 - :rtype: float - """ - return self._length - - @length.setter - def length(self, length): - """Sets the length of this Restrictions. - - Length restriction in metres. # noqa: E501 - - :param length: The length of this Restrictions. # noqa: E501 - :type: float - """ - - self._length = length - - @property - def maximum_incline(self): - """Gets the maximum_incline of this Restrictions. # noqa: E501 - - Specifies the maximum incline as a percentage. `3`, `6` (default), `10`, `15. # noqa: E501 - - :return: The maximum_incline of this Restrictions. # noqa: E501 - :rtype: int - """ - return self._maximum_incline - - @maximum_incline.setter - def maximum_incline(self, maximum_incline): - """Sets the maximum_incline of this Restrictions. - - Specifies the maximum incline as a percentage. `3`, `6` (default), `10`, `15. # noqa: E501 - - :param maximum_incline: The maximum_incline of this Restrictions. # noqa: E501 - :type: int - """ - - self._maximum_incline = maximum_incline - - @property - def maximum_sloped_kerb(self): - """Gets the maximum_sloped_kerb of this Restrictions. # noqa: E501 - - Specifies the maximum height of the sloped curb in metres. Values are `0.03`, `0.06` (default), `0.1`. # noqa: E501 - - :return: The maximum_sloped_kerb of this Restrictions. # noqa: E501 - :rtype: float - """ - return self._maximum_sloped_kerb - - @maximum_sloped_kerb.setter - def maximum_sloped_kerb(self, maximum_sloped_kerb): - """Sets the maximum_sloped_kerb of this Restrictions. - - Specifies the maximum height of the sloped curb in metres. Values are `0.03`, `0.06` (default), `0.1`. # noqa: E501 - - :param maximum_sloped_kerb: The maximum_sloped_kerb of this Restrictions. # noqa: E501 - :type: float - """ - - self._maximum_sloped_kerb = maximum_sloped_kerb - - @property - def minimum_width(self): - """Gets the minimum_width of this Restrictions. # noqa: E501 - - Specifies the minimum width of the footway in metres. # noqa: E501 - - :return: The minimum_width of this Restrictions. # noqa: E501 - :rtype: float - """ - return self._minimum_width - - @minimum_width.setter - def minimum_width(self, minimum_width): - """Sets the minimum_width of this Restrictions. - - Specifies the minimum width of the footway in metres. # noqa: E501 - - :param minimum_width: The minimum_width of this Restrictions. # noqa: E501 - :type: float - """ - - self._minimum_width = minimum_width - - @property - def smoothness_type(self): - """Gets the smoothness_type of this Restrictions. # noqa: E501 - - Specifies the minimum smoothness of the route. Default is `good`. # noqa: E501 - - :return: The smoothness_type of this Restrictions. # noqa: E501 - :rtype: str - """ - return self._smoothness_type - - @smoothness_type.setter - def smoothness_type(self, smoothness_type): - """Sets the smoothness_type of this Restrictions. - - Specifies the minimum smoothness of the route. Default is `good`. # noqa: E501 - - :param smoothness_type: The smoothness_type of this Restrictions. # noqa: E501 - :type: str - """ - allowed_values = ["excellent", "good", "intermediate", "bad", "very_bad", "horrible", "very_horrible", "impassable"] # noqa: E501 - if smoothness_type not in allowed_values: - raise ValueError( - "Invalid value for `smoothness_type` ({0}), must be one of {1}" # noqa: E501 - .format(smoothness_type, allowed_values) - ) - - self._smoothness_type = smoothness_type - - @property - def surface_type(self): - """Gets the surface_type of this Restrictions. # noqa: E501 - - Specifies the minimum surface type. Default is `sett`. # noqa: E501 - - :return: The surface_type of this Restrictions. # noqa: E501 - :rtype: str - """ - return self._surface_type - - @surface_type.setter - def surface_type(self, surface_type): - """Sets the surface_type of this Restrictions. - - Specifies the minimum surface type. Default is `sett`. # noqa: E501 - - :param surface_type: The surface_type of this Restrictions. # noqa: E501 - :type: str - """ - - self._surface_type = surface_type - - @property - def track_type(self): - """Gets the track_type of this Restrictions. # noqa: E501 - - Specifies the minimum grade of the route. Default is `grade1`. # noqa: E501 - - :return: The track_type of this Restrictions. # noqa: E501 - :rtype: str - """ - return self._track_type - - @track_type.setter - def track_type(self, track_type): - """Sets the track_type of this Restrictions. - - Specifies the minimum grade of the route. Default is `grade1`. # noqa: E501 - - :param track_type: The track_type of this Restrictions. # noqa: E501 - :type: str - """ - - self._track_type = track_type - - @property - def weight(self): - """Gets the weight of this Restrictions. # noqa: E501 - - Weight restriction in tons. # noqa: E501 - - :return: The weight of this Restrictions. # noqa: E501 - :rtype: float - """ - return self._weight - - @weight.setter - def weight(self, weight): - """Sets the weight of this Restrictions. - - Weight restriction in tons. # noqa: E501 - - :param weight: The weight of this Restrictions. # noqa: E501 - :type: float - """ - - self._weight = weight - - @property - def width(self): - """Gets the width of this Restrictions. # noqa: E501 - - Width restriction in metres. # noqa: E501 - - :return: The width of this Restrictions. # noqa: E501 - :rtype: float - """ - return self._width - - @width.setter - def width(self, width): - """Sets the width of this Restrictions. - - Width restriction in metres. # noqa: E501 - - :param width: The width of this Restrictions. # noqa: E501 - :type: float - """ - - self._width = width - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Restrictions, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Restrictions): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/route_response_info.py b/openrouteservice/models/route_response_info.py deleted file mode 100644 index 33603a81..00000000 --- a/openrouteservice/models/route_response_info.py +++ /dev/null @@ -1,304 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class RouteResponseInfo(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attribution': 'str', - 'engine': 'GeoJSONIsochronesResponseMetadataEngine', - 'id': 'str', - 'osm_file_md5_hash': 'str', - 'query': 'DirectionsService1', - 'service': 'str', - 'system_message': 'str', - 'timestamp': 'int' - } - - attribute_map = { - 'attribution': 'attribution', - 'engine': 'engine', - 'id': 'id', - 'osm_file_md5_hash': 'osm_file_md5_hash', - 'query': 'query', - 'service': 'service', - 'system_message': 'system_message', - 'timestamp': 'timestamp' - } - - def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """RouteResponseInfo - a model defined in Swagger""" # noqa: E501 - self._attribution = None - self._engine = None - self._id = None - self._osm_file_md5_hash = None - self._query = None - self._service = None - self._system_message = None - self._timestamp = None - self.discriminator = None - if attribution is not None: - self.attribution = attribution - if engine is not None: - self.engine = engine - if id is not None: - self.id = id - if osm_file_md5_hash is not None: - self.osm_file_md5_hash = osm_file_md5_hash - if query is not None: - self.query = query - if service is not None: - self.service = service - if system_message is not None: - self.system_message = system_message - if timestamp is not None: - self.timestamp = timestamp - - @property - def attribution(self): - """Gets the attribution of this RouteResponseInfo. # noqa: E501 - - Copyright and attribution information # noqa: E501 - - :return: The attribution of this RouteResponseInfo. # noqa: E501 - :rtype: str - """ - return self._attribution - - @attribution.setter - def attribution(self, attribution): - """Sets the attribution of this RouteResponseInfo. - - Copyright and attribution information # noqa: E501 - - :param attribution: The attribution of this RouteResponseInfo. # noqa: E501 - :type: str - """ - - self._attribution = attribution - - @property - def engine(self): - """Gets the engine of this RouteResponseInfo. # noqa: E501 - - - :return: The engine of this RouteResponseInfo. # noqa: E501 - :rtype: GeoJSONIsochronesResponseMetadataEngine - """ - return self._engine - - @engine.setter - def engine(self, engine): - """Sets the engine of this RouteResponseInfo. - - - :param engine: The engine of this RouteResponseInfo. # noqa: E501 - :type: GeoJSONIsochronesResponseMetadataEngine - """ - - self._engine = engine - - @property - def id(self): - """Gets the id of this RouteResponseInfo. # noqa: E501 - - ID of the request (as passed in by the query) # noqa: E501 - - :return: The id of this RouteResponseInfo. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this RouteResponseInfo. - - ID of the request (as passed in by the query) # noqa: E501 - - :param id: The id of this RouteResponseInfo. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this RouteResponseInfo. # noqa: E501 - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :return: The osm_file_md5_hash of this RouteResponseInfo. # noqa: E501 - :rtype: str - """ - return self._osm_file_md5_hash - - @osm_file_md5_hash.setter - def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this RouteResponseInfo. - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :param osm_file_md5_hash: The osm_file_md5_hash of this RouteResponseInfo. # noqa: E501 - :type: str - """ - - self._osm_file_md5_hash = osm_file_md5_hash - - @property - def query(self): - """Gets the query of this RouteResponseInfo. # noqa: E501 - - - :return: The query of this RouteResponseInfo. # noqa: E501 - :rtype: DirectionsService1 - """ - return self._query - - @query.setter - def query(self, query): - """Sets the query of this RouteResponseInfo. - - - :param query: The query of this RouteResponseInfo. # noqa: E501 - :type: DirectionsService1 - """ - - self._query = query - - @property - def service(self): - """Gets the service of this RouteResponseInfo. # noqa: E501 - - The service that was requested # noqa: E501 - - :return: The service of this RouteResponseInfo. # noqa: E501 - :rtype: str - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this RouteResponseInfo. - - The service that was requested # noqa: E501 - - :param service: The service of this RouteResponseInfo. # noqa: E501 - :type: str - """ - - self._service = service - - @property - def system_message(self): - """Gets the system_message of this RouteResponseInfo. # noqa: E501 - - System message # noqa: E501 - - :return: The system_message of this RouteResponseInfo. # noqa: E501 - :rtype: str - """ - return self._system_message - - @system_message.setter - def system_message(self, system_message): - """Sets the system_message of this RouteResponseInfo. - - System message # noqa: E501 - - :param system_message: The system_message of this RouteResponseInfo. # noqa: E501 - :type: str - """ - - self._system_message = system_message - - @property - def timestamp(self): - """Gets the timestamp of this RouteResponseInfo. # noqa: E501 - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :return: The timestamp of this RouteResponseInfo. # noqa: E501 - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this RouteResponseInfo. - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :param timestamp: The timestamp of this RouteResponseInfo. # noqa: E501 - :type: int - """ - - self._timestamp = timestamp - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(RouteResponseInfo, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, RouteResponseInfo): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/rte.py b/openrouteservice/models/rte.py deleted file mode 100644 index 40d8d5cc..00000000 --- a/openrouteservice/models/rte.py +++ /dev/null @@ -1,84 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class Rte(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - } - - attribute_map = { - } - - def __init__(self): # noqa: E501 - """Rte - a model defined in Swagger""" # noqa: E501 - self.discriminator = None - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(Rte, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, Rte): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/snapping_request.py b/openrouteservice/models/snapping_request.py deleted file mode 100644 index 9fc9e494..00000000 --- a/openrouteservice/models/snapping_request.py +++ /dev/null @@ -1,170 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SnappingRequest(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'str', - 'locations': 'list[list[float]]', - 'radius': 'float' - } - - attribute_map = { - 'id': 'id', - 'locations': 'locations', - 'radius': 'radius' - } - - def __init__(self, id=None, locations=None, radius=None): # noqa: E501 - """SnappingRequest - a model defined in Swagger""" # noqa: E501 - self._id = None - self._locations = None - self._radius = None - self.discriminator = None - if id is not None: - self.id = id - self.locations = locations - self.radius = radius - - @property - def id(self): - """Gets the id of this SnappingRequest. # noqa: E501 - - Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - - :return: The id of this SnappingRequest. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this SnappingRequest. - - Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - - :param id: The id of this SnappingRequest. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def locations(self): - """Gets the locations of this SnappingRequest. # noqa: E501 - - The locations to be snapped as array of `longitude/latitude` pairs. # noqa: E501 - - :return: The locations of this SnappingRequest. # noqa: E501 - :rtype: list[list[float]] - """ - return self._locations - - @locations.setter - def locations(self, locations): - """Sets the locations of this SnappingRequest. - - The locations to be snapped as array of `longitude/latitude` pairs. # noqa: E501 - - :param locations: The locations of this SnappingRequest. # noqa: E501 - :type: list[list[float]] - """ - if locations is None: - raise ValueError("Invalid value for `locations`, must not be `None`") # noqa: E501 - - self._locations = locations - - @property - def radius(self): - """Gets the radius of this SnappingRequest. # noqa: E501 - - Maximum radius in meters around given coordinates to search for graph edges. # noqa: E501 - - :return: The radius of this SnappingRequest. # noqa: E501 - :rtype: float - """ - return self._radius - - @radius.setter - def radius(self, radius): - """Sets the radius of this SnappingRequest. - - Maximum radius in meters around given coordinates to search for graph edges. # noqa: E501 - - :param radius: The radius of this SnappingRequest. # noqa: E501 - :type: float - """ - if radius is None: - raise ValueError("Invalid value for `radius`, must not be `None`") # noqa: E501 - - self._radius = radius - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SnappingRequest, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SnappingRequest): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/snapping_response.py b/openrouteservice/models/snapping_response.py deleted file mode 100644 index c78d100a..00000000 --- a/openrouteservice/models/snapping_response.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class SnappingResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'locations': 'list[SnappingResponseLocations]', - 'metadata': 'GeoJSONSnappingResponseMetadata' - } - - attribute_map = { - 'locations': 'locations', - 'metadata': 'metadata' - } - - def __init__(self, locations=None, metadata=None): # noqa: E501 - """SnappingResponse - a model defined in Swagger""" # noqa: E501 - self._locations = None - self._metadata = None - self.discriminator = None - if locations is not None: - self.locations = locations - if metadata is not None: - self.metadata = metadata - - @property - def locations(self): - """Gets the locations of this SnappingResponse. # noqa: E501 - - The snapped locations as coordinates and snapping distance. # noqa: E501 - - :return: The locations of this SnappingResponse. # noqa: E501 - :rtype: list[SnappingResponseLocations] - """ - return self._locations - - @locations.setter - def locations(self, locations): - """Sets the locations of this SnappingResponse. - - The snapped locations as coordinates and snapping distance. # noqa: E501 - - :param locations: The locations of this SnappingResponse. # noqa: E501 - :type: list[SnappingResponseLocations] - """ - - self._locations = locations - - @property - def metadata(self): - """Gets the metadata of this SnappingResponse. # noqa: E501 - - - :return: The metadata of this SnappingResponse. # noqa: E501 - :rtype: GeoJSONSnappingResponseMetadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this SnappingResponse. - - - :param metadata: The metadata of this SnappingResponse. # noqa: E501 - :type: GeoJSONSnappingResponseMetadata - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(SnappingResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, SnappingResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/v2directionsprofilegeojson_schedule_duration.py b/openrouteservice/models/v2directionsprofilegeojson_schedule_duration.py deleted file mode 100644 index d27e674f..00000000 --- a/openrouteservice/models/v2directionsprofilegeojson_schedule_duration.py +++ /dev/null @@ -1,214 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class V2directionsprofilegeojsonScheduleDuration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'nano': 'int', - 'negative': 'bool', - 'seconds': 'int', - 'units': 'list[V2directionsprofilegeojsonScheduleDurationUnits]', - 'zero': 'bool' - } - - attribute_map = { - 'nano': 'nano', - 'negative': 'negative', - 'seconds': 'seconds', - 'units': 'units', - 'zero': 'zero' - } - - def __init__(self, nano=None, negative=None, seconds=None, units=None, zero=None): # noqa: E501 - """V2directionsprofilegeojsonScheduleDuration - a model defined in Swagger""" # noqa: E501 - self._nano = None - self._negative = None - self._seconds = None - self._units = None - self._zero = None - self.discriminator = None - if nano is not None: - self.nano = nano - if negative is not None: - self.negative = negative - if seconds is not None: - self.seconds = seconds - if units is not None: - self.units = units - if zero is not None: - self.zero = zero - - @property - def nano(self): - """Gets the nano of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - - - :return: The nano of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - :rtype: int - """ - return self._nano - - @nano.setter - def nano(self, nano): - """Sets the nano of this V2directionsprofilegeojsonScheduleDuration. - - - :param nano: The nano of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - :type: int - """ - - self._nano = nano - - @property - def negative(self): - """Gets the negative of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - - - :return: The negative of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - :rtype: bool - """ - return self._negative - - @negative.setter - def negative(self, negative): - """Sets the negative of this V2directionsprofilegeojsonScheduleDuration. - - - :param negative: The negative of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - :type: bool - """ - - self._negative = negative - - @property - def seconds(self): - """Gets the seconds of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - - - :return: The seconds of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - :rtype: int - """ - return self._seconds - - @seconds.setter - def seconds(self, seconds): - """Sets the seconds of this V2directionsprofilegeojsonScheduleDuration. - - - :param seconds: The seconds of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - :type: int - """ - - self._seconds = seconds - - @property - def units(self): - """Gets the units of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - - - :return: The units of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - :rtype: list[V2directionsprofilegeojsonScheduleDurationUnits] - """ - return self._units - - @units.setter - def units(self, units): - """Sets the units of this V2directionsprofilegeojsonScheduleDuration. - - - :param units: The units of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - :type: list[V2directionsprofilegeojsonScheduleDurationUnits] - """ - - self._units = units - - @property - def zero(self): - """Gets the zero of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - - - :return: The zero of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - :rtype: bool - """ - return self._zero - - @zero.setter - def zero(self, zero): - """Sets the zero of this V2directionsprofilegeojsonScheduleDuration. - - - :param zero: The zero of this V2directionsprofilegeojsonScheduleDuration. # noqa: E501 - :type: bool - """ - - self._zero = zero - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(V2directionsprofilegeojsonScheduleDuration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V2directionsprofilegeojsonScheduleDuration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_duration.py b/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_duration.py deleted file mode 100644 index a4df1d7f..00000000 --- a/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_duration.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class V2directionsprofilegeojsonScheduleDurationDuration(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'nano': 'int', - 'negative': 'bool', - 'seconds': 'int', - 'zero': 'bool' - } - - attribute_map = { - 'nano': 'nano', - 'negative': 'negative', - 'seconds': 'seconds', - 'zero': 'zero' - } - - def __init__(self, nano=None, negative=None, seconds=None, zero=None): # noqa: E501 - """V2directionsprofilegeojsonScheduleDurationDuration - a model defined in Swagger""" # noqa: E501 - self._nano = None - self._negative = None - self._seconds = None - self._zero = None - self.discriminator = None - if nano is not None: - self.nano = nano - if negative is not None: - self.negative = negative - if seconds is not None: - self.seconds = seconds - if zero is not None: - self.zero = zero - - @property - def nano(self): - """Gets the nano of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - - - :return: The nano of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - :rtype: int - """ - return self._nano - - @nano.setter - def nano(self, nano): - """Sets the nano of this V2directionsprofilegeojsonScheduleDurationDuration. - - - :param nano: The nano of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - :type: int - """ - - self._nano = nano - - @property - def negative(self): - """Gets the negative of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - - - :return: The negative of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - :rtype: bool - """ - return self._negative - - @negative.setter - def negative(self, negative): - """Sets the negative of this V2directionsprofilegeojsonScheduleDurationDuration. - - - :param negative: The negative of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - :type: bool - """ - - self._negative = negative - - @property - def seconds(self): - """Gets the seconds of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - - - :return: The seconds of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - :rtype: int - """ - return self._seconds - - @seconds.setter - def seconds(self, seconds): - """Sets the seconds of this V2directionsprofilegeojsonScheduleDurationDuration. - - - :param seconds: The seconds of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - :type: int - """ - - self._seconds = seconds - - @property - def zero(self): - """Gets the zero of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - - - :return: The zero of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - :rtype: bool - """ - return self._zero - - @zero.setter - def zero(self, zero): - """Sets the zero of this V2directionsprofilegeojsonScheduleDurationDuration. - - - :param zero: The zero of this V2directionsprofilegeojsonScheduleDurationDuration. # noqa: E501 - :type: bool - """ - - self._zero = zero - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(V2directionsprofilegeojsonScheduleDurationDuration, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V2directionsprofilegeojsonScheduleDurationDuration): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_units.py b/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_units.py deleted file mode 100644 index 31799769..00000000 --- a/openrouteservice/models/v2directionsprofilegeojson_schedule_duration_units.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class V2directionsprofilegeojsonScheduleDurationUnits(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'date_based': 'bool', - 'duration': 'V2directionsprofilegeojsonScheduleDurationDuration', - 'duration_estimated': 'bool', - 'time_based': 'bool' - } - - attribute_map = { - 'date_based': 'dateBased', - 'duration': 'duration', - 'duration_estimated': 'durationEstimated', - 'time_based': 'timeBased' - } - - def __init__(self, date_based=None, duration=None, duration_estimated=None, time_based=None): # noqa: E501 - """V2directionsprofilegeojsonScheduleDurationUnits - a model defined in Swagger""" # noqa: E501 - self._date_based = None - self._duration = None - self._duration_estimated = None - self._time_based = None - self.discriminator = None - if date_based is not None: - self.date_based = date_based - if duration is not None: - self.duration = duration - if duration_estimated is not None: - self.duration_estimated = duration_estimated - if time_based is not None: - self.time_based = time_based - - @property - def date_based(self): - """Gets the date_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - - - :return: The date_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - :rtype: bool - """ - return self._date_based - - @date_based.setter - def date_based(self, date_based): - """Sets the date_based of this V2directionsprofilegeojsonScheduleDurationUnits. - - - :param date_based: The date_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - :type: bool - """ - - self._date_based = date_based - - @property - def duration(self): - """Gets the duration of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - - - :return: The duration of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - :rtype: V2directionsprofilegeojsonScheduleDurationDuration - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this V2directionsprofilegeojsonScheduleDurationUnits. - - - :param duration: The duration of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - :type: V2directionsprofilegeojsonScheduleDurationDuration - """ - - self._duration = duration - - @property - def duration_estimated(self): - """Gets the duration_estimated of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - - - :return: The duration_estimated of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - :rtype: bool - """ - return self._duration_estimated - - @duration_estimated.setter - def duration_estimated(self, duration_estimated): - """Sets the duration_estimated of this V2directionsprofilegeojsonScheduleDurationUnits. - - - :param duration_estimated: The duration_estimated of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - :type: bool - """ - - self._duration_estimated = duration_estimated - - @property - def time_based(self): - """Gets the time_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - - - :return: The time_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - :rtype: bool - """ - return self._time_based - - @time_based.setter - def time_based(self, time_based): - """Sets the time_based of this V2directionsprofilegeojsonScheduleDurationUnits. - - - :param time_based: The time_based of this V2directionsprofilegeojsonScheduleDurationUnits. # noqa: E501 - :type: bool - """ - - self._time_based = time_based - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(V2directionsprofilegeojsonScheduleDurationUnits, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V2directionsprofilegeojsonScheduleDurationUnits): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/v2directionsprofilegeojson_walking_time.py b/openrouteservice/models/v2directionsprofilegeojson_walking_time.py deleted file mode 100644 index 493352f5..00000000 --- a/openrouteservice/models/v2directionsprofilegeojson_walking_time.py +++ /dev/null @@ -1,214 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.0 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class V2directionsprofilegeojsonWalkingTime(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'nano': 'int', - 'negative': 'bool', - 'seconds': 'int', - 'units': 'list[V2directionsprofilegeojsonScheduleDurationUnits]', - 'zero': 'bool' - } - - attribute_map = { - 'nano': 'nano', - 'negative': 'negative', - 'seconds': 'seconds', - 'units': 'units', - 'zero': 'zero' - } - - def __init__(self, nano=None, negative=None, seconds=None, units=None, zero=None): # noqa: E501 - """V2directionsprofilegeojsonWalkingTime - a model defined in Swagger""" # noqa: E501 - self._nano = None - self._negative = None - self._seconds = None - self._units = None - self._zero = None - self.discriminator = None - if nano is not None: - self.nano = nano - if negative is not None: - self.negative = negative - if seconds is not None: - self.seconds = seconds - if units is not None: - self.units = units - if zero is not None: - self.zero = zero - - @property - def nano(self): - """Gets the nano of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - - - :return: The nano of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - :rtype: int - """ - return self._nano - - @nano.setter - def nano(self, nano): - """Sets the nano of this V2directionsprofilegeojsonWalkingTime. - - - :param nano: The nano of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - :type: int - """ - - self._nano = nano - - @property - def negative(self): - """Gets the negative of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - - - :return: The negative of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - :rtype: bool - """ - return self._negative - - @negative.setter - def negative(self, negative): - """Sets the negative of this V2directionsprofilegeojsonWalkingTime. - - - :param negative: The negative of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - :type: bool - """ - - self._negative = negative - - @property - def seconds(self): - """Gets the seconds of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - - - :return: The seconds of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - :rtype: int - """ - return self._seconds - - @seconds.setter - def seconds(self, seconds): - """Sets the seconds of this V2directionsprofilegeojsonWalkingTime. - - - :param seconds: The seconds of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - :type: int - """ - - self._seconds = seconds - - @property - def units(self): - """Gets the units of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - - - :return: The units of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - :rtype: list[V2directionsprofilegeojsonScheduleDurationUnits] - """ - return self._units - - @units.setter - def units(self, units): - """Sets the units of this V2directionsprofilegeojsonWalkingTime. - - - :param units: The units of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - :type: list[V2directionsprofilegeojsonScheduleDurationUnits] - """ - - self._units = units - - @property - def zero(self): - """Gets the zero of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - - - :return: The zero of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - :rtype: bool - """ - return self._zero - - @zero.setter - def zero(self, zero): - """Sets the zero of this V2directionsprofilegeojsonWalkingTime. - - - :param zero: The zero of this V2directionsprofilegeojsonWalkingTime. # noqa: E501 - :type: bool - """ - - self._zero = zero - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(V2directionsprofilegeojsonWalkingTime, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, V2directionsprofilegeojsonWalkingTime): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other From c8f343f970b135252942b3f883cb678848b5fd90 Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Mon, 11 Mar 2024 15:01:40 +0100 Subject: [PATCH 06/38] feat: remove InlineResponse classes --- README.md | 48 +- docs/DirectionsServiceApi.md | 8 +- docs/ElevationApi.md | 12 +- docs/GeoJSONFeature.md | 11 - docs/GeoJSONFeatureGeometry.md | 10 - docs/GeoJSONFeatureProperties.md | 11 - docs/GeoJSONFeaturesObject.md | 11 - docs/GeoJSONGeometryObject.md | 10 - docs/GeoJSONPropertiesObject.md | 13 - docs/GeoJSONPropertiesObjectCategoryIds.md | 9 - ...ONPropertiesObjectCategoryIdsCategoryId.md | 10 - docs/GeoJSONPropertiesObjectOsmTags.md | 15 - docs/GeocodeApi.md | 16 +- docs/GeocodeResponse.md | 12 - docs/Gpx.md | 9 - docs/InlineResponse200.md | 12 - docs/InlineResponse2001.md | 12 - docs/InlineResponse2001Geometry.md | 10 - docs/InlineResponse2002.md | 13 - docs/InlineResponse2002Routes.md | 19 - docs/InlineResponse2002Steps.md | 20 - docs/InlineResponse2002Summary.md | 20 - docs/InlineResponse2002Unassigned.md | 10 - docs/InlineResponse2002Violations.md | 10 - docs/InlineResponse2003.md | 12 - docs/InlineResponse2004.md | 11 - docs/InlineResponse2005.md | 12 - docs/InlineResponse2005Features.md | 10 - docs/InlineResponse2005Geometry.md | 9 - docs/InlineResponse2005Metadata.md | 16 - docs/InlineResponse2006.md | 13 - docs/InlineResponse2007.md | 10 - docs/InlineResponse2008.md | 12 - docs/InlineResponse2008Features.md | 11 - docs/InlineResponse200Geometry.md | 10 - docs/IsochronesServiceApi.md | 4 +- docs/JSONExtra.md | 10 - docs/JSONExtraSummary.md | 11 - docs/{Rte.md => JSONResponse.md} | 2 +- docs/JSONRouteResponse.md | 11 - docs/JSONRouteResponseExtras.md | 10 - docs/JSONRouteResponseInstructions.md | 17 - docs/JSONRouteResponseLegs.md | 26 - docs/JSONRouteResponseManeuver.md | 11 - docs/JSONRouteResponseMetadata.md | 16 - docs/JSONRouteResponseMetadataEngine.md | 11 - docs/JSONRouteResponseRoutes.md | 18 - docs/JSONRouteResponseSegments.md | 16 - docs/JSONRouteResponseStops.md | 19 - docs/JSONRouteResponseSummary.md | 14 - docs/JSONRouteResponseWarnings.md | 10 - docs/JSONStep.md | 17 - docs/JsonEdge.md | 11 - docs/MatrixResponse.md | 13 - docs/MatrixResponseDestinations.md | 11 - docs/MatrixResponseMetadata.md | 16 - docs/MatrixResponseSources.md | 11 - docs/MatrixServiceApi.md | 4 +- docs/OpenpoiservicePoiResponse.md | 10 - docs/OptimizationApi.md | 4 +- docs/PoisApi.md | 4 +- docs/Restrictions.md | 20 - docs/SnappingResponse.md | 10 - docs/SnappingResponseLocations.md | 11 - docs/SnappingResponseMetadata.md | 15 - docs/SnappingServiceApi.md | 12 +- openrouteservice/__init__.py | 48 +- .../api/directions_service_api.py | 12 +- openrouteservice/api/elevation_api.py | 18 +- openrouteservice/api/geocode_api.py | 24 +- .../api/isochrones_service_api.py | 6 +- openrouteservice/api/matrix_service_api.py | 6 +- openrouteservice/api/optimization_api.py | 6 +- openrouteservice/api/pois_api.py | 6 +- openrouteservice/api/snapping_service_api.py | 18 +- openrouteservice/models/__init__.py | 48 +- .../models/geo_json_features_object.py | 162 ----- .../models/geo_json_geometry_object.py | 136 ---- .../models/geo_json_properties_object.py | 214 ------- ...geo_json_properties_object_category_ids.py | 110 ---- ...perties_object_category_ids_category_id.py | 136 ---- .../geo_json_properties_object_osm_tags.py | 266 -------- openrouteservice/models/geocode_response.py | 188 ------ openrouteservice/models/inline_response200.py | 188 ------ .../models/inline_response2001.py | 188 ------ .../models/inline_response2001_geometry.py | 136 ---- .../models/inline_response2002.py | 222 ------- .../models/inline_response2002_routes.py | 392 ------------ .../models/inline_response2002_steps.py | 420 ------------- .../models/inline_response2002_summary.py | 420 ------------- .../models/inline_response2002_unassigned.py | 140 ----- .../models/inline_response2002_violations.py | 140 ----- .../models/inline_response2003.py | 190 ------ .../models/inline_response2003_metadata.py | 304 --------- .../models/inline_response2004.py | 166 ----- .../models/inline_response2004_extras.py | 140 ----- .../inline_response2004_instructions.py | 334 ---------- .../models/inline_response2004_legs.py | 588 ------------------ .../models/inline_response2004_maneuver.py | 168 ----- .../models/inline_response2004_routes.py | 362 ----------- .../models/inline_response2004_segments.py | 308 --------- .../models/inline_response2004_stops.py | 392 ------------ .../models/inline_response2004_summary.py | 168 ----- .../models/inline_response2004_summary1.py | 248 -------- .../models/inline_response2004_warnings.py | 140 ----- .../models/inline_response2005.py | 190 ------ .../models/inline_response2005_features.py | 136 ---- .../models/inline_response2005_metadata.py | 304 --------- .../inline_response2005_metadata_engine.py | 168 ----- .../models/inline_response2006.py | 222 ------- .../inline_response2006_destinations.py | 168 ----- .../models/inline_response2006_metadata.py | 304 --------- .../models/inline_response2006_sources.py | 168 ----- .../models/inline_response2007.py | 138 ---- .../models/inline_response2007_locations.py | 168 ----- .../models/inline_response2007_metadata.py | 276 -------- .../models/inline_response2008.py | 194 ------ .../models/inline_response2008_features.py | 164 ----- .../models/inline_response2008_geometry.py | 140 ----- .../models/inline_response2008_properties.py | 168 ----- .../models/inline_response200_geometry.py | 136 ---- ...ponse2005_geometry.py => json_response.py} | 36 +- .../models/openpoiservice_poi_response.py | 136 ---- 123 files changed, 89 insertions(+), 11117 deletions(-) delete mode 100644 docs/GeoJSONFeature.md delete mode 100644 docs/GeoJSONFeatureGeometry.md delete mode 100644 docs/GeoJSONFeatureProperties.md delete mode 100644 docs/GeoJSONFeaturesObject.md delete mode 100644 docs/GeoJSONGeometryObject.md delete mode 100644 docs/GeoJSONPropertiesObject.md delete mode 100644 docs/GeoJSONPropertiesObjectCategoryIds.md delete mode 100644 docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md delete mode 100644 docs/GeoJSONPropertiesObjectOsmTags.md delete mode 100644 docs/GeocodeResponse.md delete mode 100644 docs/Gpx.md delete mode 100644 docs/InlineResponse200.md delete mode 100644 docs/InlineResponse2001.md delete mode 100644 docs/InlineResponse2001Geometry.md delete mode 100644 docs/InlineResponse2002.md delete mode 100644 docs/InlineResponse2002Routes.md delete mode 100644 docs/InlineResponse2002Steps.md delete mode 100644 docs/InlineResponse2002Summary.md delete mode 100644 docs/InlineResponse2002Unassigned.md delete mode 100644 docs/InlineResponse2002Violations.md delete mode 100644 docs/InlineResponse2003.md delete mode 100644 docs/InlineResponse2004.md delete mode 100644 docs/InlineResponse2005.md delete mode 100644 docs/InlineResponse2005Features.md delete mode 100644 docs/InlineResponse2005Geometry.md delete mode 100644 docs/InlineResponse2005Metadata.md delete mode 100644 docs/InlineResponse2006.md delete mode 100644 docs/InlineResponse2007.md delete mode 100644 docs/InlineResponse2008.md delete mode 100644 docs/InlineResponse2008Features.md delete mode 100644 docs/InlineResponse200Geometry.md delete mode 100644 docs/JSONExtra.md delete mode 100644 docs/JSONExtraSummary.md rename docs/{Rte.md => JSONResponse.md} (94%) delete mode 100644 docs/JSONRouteResponse.md delete mode 100644 docs/JSONRouteResponseExtras.md delete mode 100644 docs/JSONRouteResponseInstructions.md delete mode 100644 docs/JSONRouteResponseLegs.md delete mode 100644 docs/JSONRouteResponseManeuver.md delete mode 100644 docs/JSONRouteResponseMetadata.md delete mode 100644 docs/JSONRouteResponseMetadataEngine.md delete mode 100644 docs/JSONRouteResponseRoutes.md delete mode 100644 docs/JSONRouteResponseSegments.md delete mode 100644 docs/JSONRouteResponseStops.md delete mode 100644 docs/JSONRouteResponseSummary.md delete mode 100644 docs/JSONRouteResponseWarnings.md delete mode 100644 docs/JSONStep.md delete mode 100644 docs/JsonEdge.md delete mode 100644 docs/MatrixResponse.md delete mode 100644 docs/MatrixResponseDestinations.md delete mode 100644 docs/MatrixResponseMetadata.md delete mode 100644 docs/MatrixResponseSources.md delete mode 100644 docs/OpenpoiservicePoiResponse.md delete mode 100644 docs/Restrictions.md delete mode 100644 docs/SnappingResponse.md delete mode 100644 docs/SnappingResponseLocations.md delete mode 100644 docs/SnappingResponseMetadata.md delete mode 100644 openrouteservice/models/geo_json_features_object.py delete mode 100644 openrouteservice/models/geo_json_geometry_object.py delete mode 100644 openrouteservice/models/geo_json_properties_object.py delete mode 100644 openrouteservice/models/geo_json_properties_object_category_ids.py delete mode 100644 openrouteservice/models/geo_json_properties_object_category_ids_category_id.py delete mode 100644 openrouteservice/models/geo_json_properties_object_osm_tags.py delete mode 100644 openrouteservice/models/geocode_response.py delete mode 100644 openrouteservice/models/inline_response200.py delete mode 100644 openrouteservice/models/inline_response2001.py delete mode 100644 openrouteservice/models/inline_response2001_geometry.py delete mode 100644 openrouteservice/models/inline_response2002.py delete mode 100644 openrouteservice/models/inline_response2002_routes.py delete mode 100644 openrouteservice/models/inline_response2002_steps.py delete mode 100644 openrouteservice/models/inline_response2002_summary.py delete mode 100644 openrouteservice/models/inline_response2002_unassigned.py delete mode 100644 openrouteservice/models/inline_response2002_violations.py delete mode 100644 openrouteservice/models/inline_response2003.py delete mode 100644 openrouteservice/models/inline_response2003_metadata.py delete mode 100644 openrouteservice/models/inline_response2004.py delete mode 100644 openrouteservice/models/inline_response2004_extras.py delete mode 100644 openrouteservice/models/inline_response2004_instructions.py delete mode 100644 openrouteservice/models/inline_response2004_legs.py delete mode 100644 openrouteservice/models/inline_response2004_maneuver.py delete mode 100644 openrouteservice/models/inline_response2004_routes.py delete mode 100644 openrouteservice/models/inline_response2004_segments.py delete mode 100644 openrouteservice/models/inline_response2004_stops.py delete mode 100644 openrouteservice/models/inline_response2004_summary.py delete mode 100644 openrouteservice/models/inline_response2004_summary1.py delete mode 100644 openrouteservice/models/inline_response2004_warnings.py delete mode 100644 openrouteservice/models/inline_response2005.py delete mode 100644 openrouteservice/models/inline_response2005_features.py delete mode 100644 openrouteservice/models/inline_response2005_metadata.py delete mode 100644 openrouteservice/models/inline_response2005_metadata_engine.py delete mode 100644 openrouteservice/models/inline_response2006.py delete mode 100644 openrouteservice/models/inline_response2006_destinations.py delete mode 100644 openrouteservice/models/inline_response2006_metadata.py delete mode 100644 openrouteservice/models/inline_response2006_sources.py delete mode 100644 openrouteservice/models/inline_response2007.py delete mode 100644 openrouteservice/models/inline_response2007_locations.py delete mode 100644 openrouteservice/models/inline_response2007_metadata.py delete mode 100644 openrouteservice/models/inline_response2008.py delete mode 100644 openrouteservice/models/inline_response2008_features.py delete mode 100644 openrouteservice/models/inline_response2008_geometry.py delete mode 100644 openrouteservice/models/inline_response2008_properties.py delete mode 100644 openrouteservice/models/inline_response200_geometry.py rename openrouteservice/models/{inline_response2005_geometry.py => json_response.py} (72%) delete mode 100644 openrouteservice/models/openpoiservice_poi_response.py diff --git a/README.md b/README.md index b4f7a82f..b06852fb 100644 --- a/README.md +++ b/README.md @@ -133,56 +133,10 @@ Class | Method | HTTP request | Description - [DirectionsService1](docs/DirectionsService1.md) - [ElevationLineBody](docs/ElevationLineBody.md) - [ElevationPointBody](docs/ElevationPointBody.md) - - [GeoJSONFeaturesObject](docs/GeoJSONFeaturesObject.md) - - [GeoJSONGeometryObject](docs/GeoJSONGeometryObject.md) - - [GeoJSONPropertiesObject](docs/GeoJSONPropertiesObject.md) - - [GeoJSONPropertiesObjectCategoryIds](docs/GeoJSONPropertiesObjectCategoryIds.md) - - [GeoJSONPropertiesObjectCategoryIdsCategoryId](docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md) - - [GeoJSONPropertiesObjectOsmTags](docs/GeoJSONPropertiesObjectOsmTags.md) - - [GeocodeResponse](docs/GeocodeResponse.md) - - [InlineResponse200](docs/InlineResponse200.md) - - [InlineResponse2001](docs/InlineResponse2001.md) - - [InlineResponse2001Geometry](docs/InlineResponse2001Geometry.md) - - [InlineResponse2002](docs/InlineResponse2002.md) - - [InlineResponse2002Routes](docs/InlineResponse2002Routes.md) - - [InlineResponse2002Steps](docs/InlineResponse2002Steps.md) - - [InlineResponse2002Summary](docs/InlineResponse2002Summary.md) - - [InlineResponse2002Unassigned](docs/InlineResponse2002Unassigned.md) - - [InlineResponse2002Violations](docs/InlineResponse2002Violations.md) - - [InlineResponse2003](docs/InlineResponse2003.md) - - [InlineResponse2003Metadata](docs/InlineResponse2003Metadata.md) - - [InlineResponse2004](docs/InlineResponse2004.md) - - [InlineResponse2004Extras](docs/InlineResponse2004Extras.md) - - [InlineResponse2004Instructions](docs/InlineResponse2004Instructions.md) - - [InlineResponse2004Legs](docs/InlineResponse2004Legs.md) - - [InlineResponse2004Maneuver](docs/InlineResponse2004Maneuver.md) - - [InlineResponse2004Routes](docs/InlineResponse2004Routes.md) - - [InlineResponse2004Segments](docs/InlineResponse2004Segments.md) - - [InlineResponse2004Stops](docs/InlineResponse2004Stops.md) - - [InlineResponse2004Summary](docs/InlineResponse2004Summary.md) - - [InlineResponse2004Summary1](docs/InlineResponse2004Summary1.md) - - [InlineResponse2004Warnings](docs/InlineResponse2004Warnings.md) - - [InlineResponse2005](docs/InlineResponse2005.md) - - [InlineResponse2005Features](docs/InlineResponse2005Features.md) - - [InlineResponse2005Geometry](docs/InlineResponse2005Geometry.md) - - [InlineResponse2005Metadata](docs/InlineResponse2005Metadata.md) - - [InlineResponse2005MetadataEngine](docs/InlineResponse2005MetadataEngine.md) - - [InlineResponse2006](docs/InlineResponse2006.md) - - [InlineResponse2006Destinations](docs/InlineResponse2006Destinations.md) - - [InlineResponse2006Metadata](docs/InlineResponse2006Metadata.md) - - [InlineResponse2006Sources](docs/InlineResponse2006Sources.md) - - [InlineResponse2007](docs/InlineResponse2007.md) - - [InlineResponse2007Locations](docs/InlineResponse2007Locations.md) - - [InlineResponse2007Metadata](docs/InlineResponse2007Metadata.md) - - [InlineResponse2008](docs/InlineResponse2008.md) - - [InlineResponse2008Features](docs/InlineResponse2008Features.md) - - [InlineResponse2008Geometry](docs/InlineResponse2008Geometry.md) - - [InlineResponse2008Properties](docs/InlineResponse2008Properties.md) - - [InlineResponse200Geometry](docs/InlineResponse200Geometry.md) - [IsochronesProfileBody](docs/IsochronesProfileBody.md) + - [JSONResponse](docs/JSONResponse.md) - [MatrixProfileBody](docs/MatrixProfileBody.md) - [OpenpoiservicePoiRequest](docs/OpenpoiservicePoiRequest.md) - - [OpenpoiservicePoiResponse](docs/OpenpoiservicePoiResponse.md) - [OptimizationBody](docs/OptimizationBody.md) - [OptimizationBreaks](docs/OptimizationBreaks.md) - [OptimizationCosts](docs/OptimizationCosts.md) diff --git a/docs/DirectionsServiceApi.md b/docs/DirectionsServiceApi.md index 9ac21848..bc220177 100644 --- a/docs/DirectionsServiceApi.md +++ b/docs/DirectionsServiceApi.md @@ -8,7 +8,7 @@ Method | HTTP request | Description [**get_json_route**](DirectionsServiceApi.md#get_json_route) | **POST** /v2/directions/{profile}/json | Directions Service JSON # **get_geo_json_route** -> InlineResponse2003 get_geo_json_route(body, profile) +> JSONResponse get_geo_json_route(body, profile) Directions Service GeoJSON @@ -50,7 +50,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2003**](InlineResponse2003.md) +[**JSONResponse**](JSONResponse.md) ### Authorization @@ -64,7 +64,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) # **get_json_route** -> InlineResponse2004 get_json_route(body, profile) +> JSONResponse get_json_route(body, profile) Directions Service JSON @@ -106,7 +106,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2004**](InlineResponse2004.md) +[**JSONResponse**](JSONResponse.md) ### Authorization diff --git a/docs/ElevationApi.md b/docs/ElevationApi.md index b3d6ccb2..7515c32d 100644 --- a/docs/ElevationApi.md +++ b/docs/ElevationApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description [**elevation_point_post**](ElevationApi.md#elevation_point_post) | **POST** /elevation/point | Elevation Point Service # **elevation_line_post** -> InlineResponse200 elevation_line_post(body) +> JSONResponse elevation_line_post(body) Elevation Line Service @@ -49,7 +49,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse200**](InlineResponse200.md) +[**JSONResponse**](JSONResponse.md) ### Authorization @@ -63,7 +63,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) # **elevation_point_get** -> InlineResponse2001 elevation_point_get(geometry, format_out=format_out, dataset=dataset) +> JSONResponse elevation_point_get(geometry, format_out=format_out, dataset=dataset) Elevation Point Service @@ -107,7 +107,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2001**](InlineResponse2001.md) +[**JSONResponse**](JSONResponse.md) ### Authorization @@ -121,7 +121,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) # **elevation_point_post** -> InlineResponse2001 elevation_point_post(body) +> JSONResponse elevation_point_post(body) Elevation Point Service @@ -161,7 +161,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2001**](InlineResponse2001.md) +[**JSONResponse**](JSONResponse.md) ### Authorization diff --git a/docs/GeoJSONFeature.md b/docs/GeoJSONFeature.md deleted file mode 100644 index a8960275..00000000 --- a/docs/GeoJSONFeature.md +++ /dev/null @@ -1,11 +0,0 @@ -# GeoJSONFeature - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**geometry** | [**GeoJSONFeatureGeometry**](GeoJSONFeatureGeometry.md) | | [optional] -**properties** | [**GeoJSONFeatureProperties**](GeoJSONFeatureProperties.md) | | [optional] -**type** | **str** | GeoJSON type | [optional] [default to 'Feature'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONFeatureGeometry.md b/docs/GeoJSONFeatureGeometry.md deleted file mode 100644 index cbe20895..00000000 --- a/docs/GeoJSONFeatureGeometry.md +++ /dev/null @@ -1,10 +0,0 @@ -# GeoJSONFeatureGeometry - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**coordinates** | **list[float]** | Lon/Lat coordinates of the snapped location | [optional] -**type** | **str** | GeoJSON type | [optional] [default to 'Point'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONFeatureProperties.md b/docs/GeoJSONFeatureProperties.md deleted file mode 100644 index df691fac..00000000 --- a/docs/GeoJSONFeatureProperties.md +++ /dev/null @@ -1,11 +0,0 @@ -# GeoJSONFeatureProperties - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **str** | \"Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] -**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] -**source_id** | **int** | Index of the requested location | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONFeaturesObject.md b/docs/GeoJSONFeaturesObject.md deleted file mode 100644 index 32f4087f..00000000 --- a/docs/GeoJSONFeaturesObject.md +++ /dev/null @@ -1,11 +0,0 @@ -# GeoJSONFeaturesObject - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**feature_properties** | [**GeoJSONPropertiesObject**](GeoJSONPropertiesObject.md) | | [optional] -**geometry** | [**GeoJSONGeometryObject**](GeoJSONGeometryObject.md) | | [optional] -**type** | **str** | | [optional] [default to 'Feature'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONGeometryObject.md b/docs/GeoJSONGeometryObject.md deleted file mode 100644 index c20f9d63..00000000 --- a/docs/GeoJSONGeometryObject.md +++ /dev/null @@ -1,10 +0,0 @@ -# GeoJSONGeometryObject - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**coordinates** | **list[float]** | | [optional] -**type** | **str** | | [optional] [default to 'Point'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONPropertiesObject.md b/docs/GeoJSONPropertiesObject.md deleted file mode 100644 index b3643f07..00000000 --- a/docs/GeoJSONPropertiesObject.md +++ /dev/null @@ -1,13 +0,0 @@ -# GeoJSONPropertiesObject - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**category_ids** | [**GeoJSONPropertiesObjectCategoryIds**](GeoJSONPropertiesObjectCategoryIds.md) | | [optional] -**distance** | **float** | | [optional] -**osm_id** | **float** | | [optional] -**osm_tags** | [**GeoJSONPropertiesObjectOsmTags**](GeoJSONPropertiesObjectOsmTags.md) | | [optional] -**osm_type** | **float** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONPropertiesObjectCategoryIds.md b/docs/GeoJSONPropertiesObjectCategoryIds.md deleted file mode 100644 index 4f873c68..00000000 --- a/docs/GeoJSONPropertiesObjectCategoryIds.md +++ /dev/null @@ -1,9 +0,0 @@ -# GeoJSONPropertiesObjectCategoryIds - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**category_id** | [**GeoJSONPropertiesObjectCategoryIdsCategoryId**](GeoJSONPropertiesObjectCategoryIdsCategoryId.md) | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md b/docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md deleted file mode 100644 index 53de8f0d..00000000 --- a/docs/GeoJSONPropertiesObjectCategoryIdsCategoryId.md +++ /dev/null @@ -1,10 +0,0 @@ -# GeoJSONPropertiesObjectCategoryIdsCategoryId - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**category_group** | **float** | | [optional] -**category_name** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeoJSONPropertiesObjectOsmTags.md b/docs/GeoJSONPropertiesObjectOsmTags.md deleted file mode 100644 index 2bbadb10..00000000 --- a/docs/GeoJSONPropertiesObjectOsmTags.md +++ /dev/null @@ -1,15 +0,0 @@ -# GeoJSONPropertiesObjectOsmTags - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**address** | **str** | | [optional] -**distance** | **str** | | [optional] -**fee** | **str** | | [optional] -**name** | **str** | | [optional] -**opening_hours** | **str** | | [optional] -**website** | **str** | | [optional] -**wheelchair** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/GeocodeApi.md b/docs/GeocodeApi.md index f3db47c5..d8cf1907 100644 --- a/docs/GeocodeApi.md +++ b/docs/GeocodeApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description [**geocode_search_structured_get**](GeocodeApi.md#geocode_search_structured_get) | **GET** /geocode/search/structured | Structured Forward Geocode Service (beta) # **geocode_autocomplete_get** -> GeocodeResponse geocode_autocomplete_get(text, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_country=boundary_country, sources=sources, layers=layers) +> JSONResponse geocode_autocomplete_get(text, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_country=boundary_country, sources=sources, layers=layers) Geocode Autocomplete Service @@ -68,7 +68,7 @@ Name | Type | Description | Notes ### Return type -[**GeocodeResponse**](GeocodeResponse.md) +[**JSONResponse**](JSONResponse.md) ### Authorization @@ -82,7 +82,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) # **geocode_reverse_get** -> GeocodeResponse geocode_reverse_get(point_lon, point_lat, boundary_circle_radius=boundary_circle_radius, size=size, layers=layers, sources=sources, boundary_country=boundary_country) +> JSONResponse geocode_reverse_get(point_lon, point_lat, boundary_circle_radius=boundary_circle_radius, size=size, layers=layers, sources=sources, boundary_country=boundary_country) Reverse Geocode Service @@ -134,7 +134,7 @@ Name | Type | Description | Notes ### Return type -[**GeocodeResponse**](GeocodeResponse.md) +[**JSONResponse**](JSONResponse.md) ### Authorization @@ -148,7 +148,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) # **geocode_search_get** -> GeocodeResponse geocode_search_get(text, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_circle_lon=boundary_circle_lon, boundary_circle_lat=boundary_circle_lat, boundary_circle_radius=boundary_circle_radius, boundary_gid=boundary_gid, boundary_country=boundary_country, sources=sources, layers=layers, size=size) +> JSONResponse geocode_search_get(text, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_circle_lon=boundary_circle_lon, boundary_circle_lat=boundary_circle_lat, boundary_circle_radius=boundary_circle_radius, boundary_gid=boundary_gid, boundary_country=boundary_country, sources=sources, layers=layers, size=size) Forward Geocode Service @@ -216,7 +216,7 @@ Name | Type | Description | Notes ### Return type -[**GeocodeResponse**](GeocodeResponse.md) +[**JSONResponse**](JSONResponse.md) ### Authorization @@ -230,7 +230,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) # **geocode_search_structured_get** -> GeocodeResponse geocode_search_structured_get(address=address, neighbourhood=neighbourhood, country=country, postalcode=postalcode, region=region, county=county, locality=locality, borough=borough, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_circle_lon=boundary_circle_lon, boundary_circle_lat=boundary_circle_lat, boundary_circle_radius=boundary_circle_radius, boundary_country=boundary_country, layers=layers, sources=sources, size=size) +> JSONResponse geocode_search_structured_get(address=address, neighbourhood=neighbourhood, country=country, postalcode=postalcode, region=region, county=county, locality=locality, borough=borough, focus_point_lon=focus_point_lon, focus_point_lat=focus_point_lat, boundary_rect_min_lon=boundary_rect_min_lon, boundary_rect_min_lat=boundary_rect_min_lat, boundary_rect_max_lon=boundary_rect_max_lon, boundary_rect_max_lat=boundary_rect_max_lat, boundary_circle_lon=boundary_circle_lon, boundary_circle_lat=boundary_circle_lat, boundary_circle_radius=boundary_circle_radius, boundary_country=boundary_country, layers=layers, sources=sources, size=size) Structured Forward Geocode Service (beta) @@ -310,7 +310,7 @@ Name | Type | Description | Notes ### Return type -[**GeocodeResponse**](GeocodeResponse.md) +[**JSONResponse**](JSONResponse.md) ### Authorization diff --git a/docs/GeocodeResponse.md b/docs/GeocodeResponse.md deleted file mode 100644 index 673d1673..00000000 --- a/docs/GeocodeResponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# GeocodeResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bbox** | **list[float]** | | [optional] -**features** | **list[object]** | | [optional] -**geocoding** | **object** | | [optional] -**type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/Gpx.md b/docs/Gpx.md deleted file mode 100644 index 14495e48..00000000 --- a/docs/Gpx.md +++ /dev/null @@ -1,9 +0,0 @@ -# Gpx - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**gpx_route_elements** | **list[object]** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse200.md b/docs/InlineResponse200.md deleted file mode 100644 index 4d9bbd35..00000000 --- a/docs/InlineResponse200.md +++ /dev/null @@ -1,12 +0,0 @@ -# InlineResponse200 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attribution** | **str** | | [optional] -**geometry** | [**InlineResponse200Geometry**](InlineResponse200Geometry.md) | | [optional] -**timestamp** | **int** | | [optional] -**version** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2001.md b/docs/InlineResponse2001.md deleted file mode 100644 index 328a92ab..00000000 --- a/docs/InlineResponse2001.md +++ /dev/null @@ -1,12 +0,0 @@ -# InlineResponse2001 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attribution** | **str** | | [optional] -**geometry** | [**InlineResponse2001Geometry**](InlineResponse2001Geometry.md) | | [optional] -**timestamp** | **int** | | [optional] -**version** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2001Geometry.md b/docs/InlineResponse2001Geometry.md deleted file mode 100644 index 3f000bb1..00000000 --- a/docs/InlineResponse2001Geometry.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2001Geometry - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**coordinates** | **list[float]** | | [optional] -**type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2002.md b/docs/InlineResponse2002.md deleted file mode 100644 index dd873bf4..00000000 --- a/docs/InlineResponse2002.md +++ /dev/null @@ -1,13 +0,0 @@ -# InlineResponse2002 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | status code. Possible values: Value | Status | :-----------: | :-----------: | `0` | no error raised | `1` | internal error | `2` | input error | `3` | routing error | | [optional] -**error** | **str** | error message (present if `code` is different from `0`) | [optional] -**routes** | [**list[InlineResponse2002Routes]**](InlineResponse2002Routes.md) | array of `route` objects | [optional] -**summary** | [**InlineResponse2002Summary**](InlineResponse2002Summary.md) | | [optional] -**unassigned** | [**list[InlineResponse2002Unassigned]**](InlineResponse2002Unassigned.md) | array of objects describing unassigned jobs with their `id` and `location` (if provided) | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2002Routes.md b/docs/InlineResponse2002Routes.md deleted file mode 100644 index d1421151..00000000 --- a/docs/InlineResponse2002Routes.md +++ /dev/null @@ -1,19 +0,0 @@ -# InlineResponse2002Routes - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cost** | **float** | cost for this route | [optional] -**delivery** | **list[int]** | Total delivery for tasks in this route | [optional] -**description** | **str** | vehicle description, if provided in input | [optional] -**distance** | **float** | total route distance. Only provided when using the `-g` flag | [optional] -**duration** | **float** | total travel time for this route | [optional] -**geometry** | **str** | polyline encoded route geometry. Only provided when using the `-g` flag | [optional] -**pickup** | **list[int]** | total pickup for tasks in this route | [optional] -**service** | **float** | total service time for this route | [optional] -**steps** | [**list[InlineResponse2002Steps]**](InlineResponse2002Steps.md) | array of `step` objects | [optional] -**vehicle** | **int** | id of the vehicle assigned to this route | [optional] -**waiting_time** | **float** | total waiting time for this route | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2002Steps.md b/docs/InlineResponse2002Steps.md deleted file mode 100644 index 8ee61c15..00000000 --- a/docs/InlineResponse2002Steps.md +++ /dev/null @@ -1,20 +0,0 @@ -# InlineResponse2002Steps - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**arrival** | **float** | estimated time of arrival at this step in seconds | [optional] -**description** | **str** | step description, if provided in input | [optional] -**distance** | **float** | traveled distance upon arrival at this step. Only provided when using the `-g` flag | [optional] -**duration** | **float** | cumulated travel time upon arrival at this step in seconds | [optional] -**id** | **int** | id of the task performed at this step, only provided if type value is `job`, `pickup`, `delivery` or `break` | [optional] -**load** | **int** | vehicle load after step completion (with capacity constraints) | [optional] -**location** | **list[float]** | coordinates array for this step (if provided in input) | [optional] -**service** | **float** | service time at this step | [optional] -**setup** | **float** | setup time at this step | [optional] -**type** | **str** | string that is either `start`, `job` or `end` | [optional] -**violations** | [**list[InlineResponse2002Violations]**](InlineResponse2002Violations.md) | array of violation objects for this step | [optional] -**waiting_time** | **float** | waiting time upon arrival at this step, only provided if `type` value is `job` | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2002Summary.md b/docs/InlineResponse2002Summary.md deleted file mode 100644 index b14c542e..00000000 --- a/docs/InlineResponse2002Summary.md +++ /dev/null @@ -1,20 +0,0 @@ -# InlineResponse2002Summary - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cost** | **float** | total cost for all routes | [optional] -**delivery** | **float** | Total delivery for all routes | [optional] -**distance** | **float** | total distance for all routes. Only provided when using the `-g` flag with `OSRM` | [optional] -**duration** | **float** | total travel time for all routes | [optional] -**pickup** | **float** | Total pickup for all routes | [optional] -**priority** | **float** | total priority sum for all assigned tasks | [optional] -**routes** | **float** | Number of routes in the solution | [optional] -**service** | **float** | total service time for all routes | [optional] -**setup** | **float** | Total setup time for all routes | [optional] -**unassigned** | **int** | number of jobs that could not be served | [optional] -**violations** | [**list[InlineResponse2002Violations]**](InlineResponse2002Violations.md) | array of violation objects for all routes | [optional] -**waiting_time** | **float** | total waiting time for all routes | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2002Unassigned.md b/docs/InlineResponse2002Unassigned.md deleted file mode 100644 index 54606878..00000000 --- a/docs/InlineResponse2002Unassigned.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2002Unassigned - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **int** | The `id` of the unassigned job\" | [optional] -**location** | **list[float]** | The `location` of the unassigned job | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2002Violations.md b/docs/InlineResponse2002Violations.md deleted file mode 100644 index 8a828f55..00000000 --- a/docs/InlineResponse2002Violations.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2002Violations - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**cause** | **str** | string describing the cause of violation. Possible violation causes are: - \"delay\" if actual service start does not meet a task time window and is late on a time window end - \"lead_time\" if actual service start does not meet a task time window and is early on a time window start - \"load\" if the vehicle load goes over its capacity - \"max_tasks\" if the vehicle has more tasks than its max_tasks value - \"skills\" if the vehicle does not hold all required skills for a task - \"precedence\" if a shipment precedence constraint is not met (pickup without matching delivery, delivery before/without matching pickup) - \"missing_break\" if a vehicle break has been omitted in its custom route - \"max_travel_time\" if the vehicle has more travel time than its max_travel_time value - \"max_load\" if the load during a break exceed its max_load value | [optional] -**duration** | **float** | Earliness (resp. lateness) if `cause` is \"lead_time\" (resp \"delay\") | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2003.md b/docs/InlineResponse2003.md deleted file mode 100644 index 8e6022ca..00000000 --- a/docs/InlineResponse2003.md +++ /dev/null @@ -1,12 +0,0 @@ -# InlineResponse2003 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bbox** | **list[float]** | Bounding box that covers all returned routes | [optional] -**features** | **list[object]** | | [optional] -**metadata** | [**JSONRouteResponseMetadata**](JSONRouteResponseMetadata.md) | | [optional] -**type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2004.md b/docs/InlineResponse2004.md deleted file mode 100644 index af4cefce..00000000 --- a/docs/InlineResponse2004.md +++ /dev/null @@ -1,11 +0,0 @@ -# InlineResponse2004 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bbox** | **list[float]** | Bounding box that covers all returned routes | [optional] -**metadata** | [**JSONRouteResponseMetadata**](JSONRouteResponseMetadata.md) | | [optional] -**routes** | [**list[JSONRouteResponseRoutes]**](JSONRouteResponseRoutes.md) | A list of routes returned from the request | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2005.md b/docs/InlineResponse2005.md deleted file mode 100644 index 94e906dc..00000000 --- a/docs/InlineResponse2005.md +++ /dev/null @@ -1,12 +0,0 @@ -# InlineResponse2005 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bbox** | **list[float]** | Bounding box that covers all returned isochrones | [optional] -**features** | [**list[InlineResponse2005Features]**](InlineResponse2005Features.md) | | [optional] -**metadata** | [**InlineResponse2005Metadata**](InlineResponse2005Metadata.md) | | [optional] -**type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2005Features.md b/docs/InlineResponse2005Features.md deleted file mode 100644 index efda05e3..00000000 --- a/docs/InlineResponse2005Features.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2005Features - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**geometry** | [**InlineResponse2005Geometry**](InlineResponse2005Geometry.md) | | [optional] -**type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2005Geometry.md b/docs/InlineResponse2005Geometry.md deleted file mode 100644 index 09a1e005..00000000 --- a/docs/InlineResponse2005Geometry.md +++ /dev/null @@ -1,9 +0,0 @@ -# InlineResponse2005Geometry - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**empty** | **bool** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2005Metadata.md b/docs/InlineResponse2005Metadata.md deleted file mode 100644 index 97214124..00000000 --- a/docs/InlineResponse2005Metadata.md +++ /dev/null @@ -1,16 +0,0 @@ -# InlineResponse2005Metadata - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**JSONRouteResponseMetadataEngine**](JSONRouteResponseMetadataEngine.md) | | [optional] -**id** | **str** | ID of the request (as passed in by the query) | [optional] -**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] -**query** | [**IsochronesProfileBody**](IsochronesProfileBody.md) | | [optional] -**service** | **str** | The service that was requested | [optional] -**system_message** | **str** | System message | [optional] -**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2006.md b/docs/InlineResponse2006.md deleted file mode 100644 index 38f5b84b..00000000 --- a/docs/InlineResponse2006.md +++ /dev/null @@ -1,13 +0,0 @@ -# InlineResponse2006 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**destinations** | [**list[MatrixResponseDestinations]**](MatrixResponseDestinations.md) | The individual destinations of the matrix calculations. | [optional] -**distances** | **list[list[float]]** | The distances of the matrix calculations. | [optional] -**durations** | **list[list[float]]** | The durations of the matrix calculations. | [optional] -**metadata** | [**MatrixResponseMetadata**](MatrixResponseMetadata.md) | | [optional] -**sources** | [**list[MatrixResponseSources]**](MatrixResponseSources.md) | The individual sources of the matrix calculations. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2007.md b/docs/InlineResponse2007.md deleted file mode 100644 index 97f695da..00000000 --- a/docs/InlineResponse2007.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse2007 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**locations** | [**list[SnappingResponseLocations]**](SnappingResponseLocations.md) | The snapped locations as coordinates and snapping distance. | [optional] -**metadata** | [**SnappingResponseMetadata**](SnappingResponseMetadata.md) | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2008.md b/docs/InlineResponse2008.md deleted file mode 100644 index 03a29dca..00000000 --- a/docs/InlineResponse2008.md +++ /dev/null @@ -1,12 +0,0 @@ -# InlineResponse2008 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bbox** | **list[float]** | Bounding box that covers all returned snapping points | [optional] -**features** | [**list[InlineResponse2008Features]**](InlineResponse2008Features.md) | Information about the service and request | [optional] -**metadata** | [**SnappingResponseMetadata**](SnappingResponseMetadata.md) | | [optional] -**type** | **str** | GeoJSON type | [optional] [default to 'FeatureCollection'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse2008Features.md b/docs/InlineResponse2008Features.md deleted file mode 100644 index b1e2cbe1..00000000 --- a/docs/InlineResponse2008Features.md +++ /dev/null @@ -1,11 +0,0 @@ -# InlineResponse2008Features - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**geometry** | [**GeoJSONFeatureGeometry**](GeoJSONFeatureGeometry.md) | | [optional] -**properties** | [**GeoJSONFeatureProperties**](GeoJSONFeatureProperties.md) | | [optional] -**type** | **str** | GeoJSON type | [optional] [default to 'Feature'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/InlineResponse200Geometry.md b/docs/InlineResponse200Geometry.md deleted file mode 100644 index 2909a198..00000000 --- a/docs/InlineResponse200Geometry.md +++ /dev/null @@ -1,10 +0,0 @@ -# InlineResponse200Geometry - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**coordinates** | **list[list[float]]** | | [optional] -**type** | **str** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/IsochronesServiceApi.md b/docs/IsochronesServiceApi.md index 599e4c46..806423e4 100644 --- a/docs/IsochronesServiceApi.md +++ b/docs/IsochronesServiceApi.md @@ -7,7 +7,7 @@ Method | HTTP request | Description [**get_default_isochrones**](IsochronesServiceApi.md#get_default_isochrones) | **POST** /v2/isochrones/{profile} | Isochrones Service # **get_default_isochrones** -> InlineResponse2005 get_default_isochrones(body, profile) +> JSONResponse get_default_isochrones(body, profile) Isochrones Service @@ -49,7 +49,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2005**](InlineResponse2005.md) +[**JSONResponse**](JSONResponse.md) ### Authorization diff --git a/docs/JSONExtra.md b/docs/JSONExtra.md deleted file mode 100644 index dda54d8e..00000000 --- a/docs/JSONExtra.md +++ /dev/null @@ -1,10 +0,0 @@ -# JSONExtra - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**summary** | [**list[JSONExtraSummary]**](JSONExtraSummary.md) | List representing the summary of the extra info items. | [optional] -**values** | **list[list[int]]** | A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONExtraSummary.md b/docs/JSONExtraSummary.md deleted file mode 100644 index 117f5af0..00000000 --- a/docs/JSONExtraSummary.md +++ /dev/null @@ -1,11 +0,0 @@ -# JSONExtraSummary - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**amount** | **float** | Category percentage of the entire route. | [optional] -**distance** | **float** | Cumulative distance of this value. | [optional] -**value** | **float** | [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) of a info category. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/Rte.md b/docs/JSONResponse.md similarity index 94% rename from docs/Rte.md rename to docs/JSONResponse.md index 2aa77d19..e32ee419 100644 --- a/docs/Rte.md +++ b/docs/JSONResponse.md @@ -1,4 +1,4 @@ -# Rte +# JSONResponse ## Properties Name | Type | Description | Notes diff --git a/docs/JSONRouteResponse.md b/docs/JSONRouteResponse.md deleted file mode 100644 index b87f9e1d..00000000 --- a/docs/JSONRouteResponse.md +++ /dev/null @@ -1,11 +0,0 @@ -# JSONRouteResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bbox** | **list[float]** | Bounding box that covers all returned routes | [optional] -**metadata** | [**JSONRouteResponseMetadata**](JSONRouteResponseMetadata.md) | | [optional] -**routes** | [**list[JSONRouteResponseRoutes]**](JSONRouteResponseRoutes.md) | A list of routes returned from the request | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponseExtras.md b/docs/JSONRouteResponseExtras.md deleted file mode 100644 index 538cf6e8..00000000 --- a/docs/JSONRouteResponseExtras.md +++ /dev/null @@ -1,10 +0,0 @@ -# JSONRouteResponseExtras - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**summary** | [**list[JSONExtraSummary]**](JSONExtraSummary.md) | List representing the summary of the extra info items. | [optional] -**values** | **list[list[int]]** | A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponseInstructions.md b/docs/JSONRouteResponseInstructions.md deleted file mode 100644 index 44f5847c..00000000 --- a/docs/JSONRouteResponseInstructions.md +++ /dev/null @@ -1,17 +0,0 @@ -# JSONRouteResponseInstructions - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**distance** | **float** | The distance for the step in metres. | [optional] -**duration** | **float** | The duration for the step in seconds. | [optional] -**exit_bearings** | **list[int]** | Contains the bearing of the entrance and all passed exits in a roundabout. | [optional] -**exit_number** | **int** | Only for roundabouts. Contains the number of the exit to take. | [optional] -**instruction** | **str** | The routing instruction text for the step. | [optional] -**maneuver** | [**JSONRouteResponseManeuver**](JSONRouteResponseManeuver.md) | | [optional] -**name** | **str** | The name of the next street. | [optional] -**type** | **int** | The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. | [optional] -**way_points** | **list[int]** | List containing the indices of the steps start- and endpoint corresponding to the *geometry*. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponseLegs.md b/docs/JSONRouteResponseLegs.md deleted file mode 100644 index 373fdff5..00000000 --- a/docs/JSONRouteResponseLegs.md +++ /dev/null @@ -1,26 +0,0 @@ -# JSONRouteResponseLegs - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**arrival** | **datetime** | Arrival date and time | [optional] -**departure** | **datetime** | Departure date and time | [optional] -**departure_location** | **str** | The departure location of the leg. | [optional] -**distance** | **float** | The distance for the leg in metres. | [optional] -**duration** | **float** | The duration for the leg in seconds. | [optional] -**feed_id** | **str** | The feed ID this public transport leg based its information from. | [optional] -**geometry** | **str** | The geometry of the leg. This is an encoded polyline. | [optional] -**instructions** | [**list[JSONRouteResponseInstructions]**](JSONRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] -**is_in_same_vehicle_as_previous** | **bool** | Whether the legs continues in the same vehicle as the previous one. | [optional] -**route_desc** | **str** | The route description of the leg (if provided in the GTFS data set). | [optional] -**route_id** | **str** | The route ID of this public transport leg. | [optional] -**route_long_name** | **str** | The public transport route name of the leg. | [optional] -**route_short_name** | **str** | The public transport route name (short version) of the leg. | [optional] -**route_type** | **int** | The route type of the leg (if provided in the GTFS data set). | [optional] -**stops** | [**list[JSONRouteResponseStops]**](JSONRouteResponseStops.md) | List containing the stops the along the leg. | [optional] -**trip_headsign** | **str** | The headsign of the public transport vehicle of the leg. | [optional] -**trip_id** | **str** | The trip ID of this public transport leg. | [optional] -**type** | **str** | The type of the leg, possible values are currently 'walk' and 'pt'. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponseManeuver.md b/docs/JSONRouteResponseManeuver.md deleted file mode 100644 index 1085a2de..00000000 --- a/docs/JSONRouteResponseManeuver.md +++ /dev/null @@ -1,11 +0,0 @@ -# JSONRouteResponseManeuver - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**bearing_after** | **int** | The azimuth angle (in degrees) of the direction right after the maneuver. | [optional] -**bearing_before** | **int** | The azimuth angle (in degrees) of the direction right before the maneuver. | [optional] -**location** | **list[float]** | The coordinate of the point where a maneuver takes place. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponseMetadata.md b/docs/JSONRouteResponseMetadata.md deleted file mode 100644 index 0ab05986..00000000 --- a/docs/JSONRouteResponseMetadata.md +++ /dev/null @@ -1,16 +0,0 @@ -# JSONRouteResponseMetadata - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**JSONRouteResponseMetadataEngine**](JSONRouteResponseMetadataEngine.md) | | [optional] -**id** | **str** | ID of the request (as passed in by the query) | [optional] -**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] -**query** | [**DirectionsService1**](DirectionsService1.md) | | [optional] -**service** | **str** | The service that was requested | [optional] -**system_message** | **str** | System message | [optional] -**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponseMetadataEngine.md b/docs/JSONRouteResponseMetadataEngine.md deleted file mode 100644 index 2cbd9c6d..00000000 --- a/docs/JSONRouteResponseMetadataEngine.md +++ /dev/null @@ -1,11 +0,0 @@ -# JSONRouteResponseMetadataEngine - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**build_date** | **str** | The date that the service was last updated | [optional] -**graph_date** | **str** | The date that the graph data was last updated | [optional] -**version** | **str** | The backend version of the openrouteservice that was queried | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponseRoutes.md b/docs/JSONRouteResponseRoutes.md deleted file mode 100644 index 040c78e2..00000000 --- a/docs/JSONRouteResponseRoutes.md +++ /dev/null @@ -1,18 +0,0 @@ -# JSONRouteResponseRoutes - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**arrival** | **datetime** | Arrival date and time | [optional] -**bbox** | **list[float]** | A bounding box which contains the entire route | [optional] -**departure** | **datetime** | Departure date and time | [optional] -**extras** | [**dict(str, JSONRouteResponseExtras)**](JSONRouteResponseExtras.md) | List of extra info objects representing the extra info items that were requested for the route. | [optional] -**geometry** | **str** | The geometry of the route. For JSON route responses this is an encoded polyline. | [optional] -**legs** | [**list[JSONRouteResponseLegs]**](JSONRouteResponseLegs.md) | List containing the legs the route consists of. | [optional] -**segments** | [**list[JSONRouteResponseSegments]**](JSONRouteResponseSegments.md) | List containing the segments and its corresponding steps which make up the route. | [optional] -**summary** | [**JSONRouteResponseSummary**](JSONRouteResponseSummary.md) | | [optional] -**warnings** | [**list[JSONRouteResponseWarnings]**](JSONRouteResponseWarnings.md) | List of warnings that have been generated for the route | [optional] -**way_points** | **list[int]** | List containing the indices of way points corresponding to the *geometry*. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponseSegments.md b/docs/JSONRouteResponseSegments.md deleted file mode 100644 index 091b44c8..00000000 --- a/docs/JSONRouteResponseSegments.md +++ /dev/null @@ -1,16 +0,0 @@ -# JSONRouteResponseSegments - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ascent** | **float** | Contains ascent of this segment in metres. | [optional] -**avgspeed** | **float** | Contains the average speed of this segment in km/h. | [optional] -**descent** | **float** | Contains descent of this segment in metres. | [optional] -**detourfactor** | **float** | Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. | [optional] -**distance** | **float** | Contains the distance of the segment in specified units. | [optional] -**duration** | **float** | Contains the duration of the segment in seconds. | [optional] -**percentage** | **float** | Contains the proportion of the route in percent. | [optional] -**steps** | [**list[JSONRouteResponseInstructions]**](JSONRouteResponseInstructions.md) | List containing the specific steps the segment consists of. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponseStops.md b/docs/JSONRouteResponseStops.md deleted file mode 100644 index d205e8f0..00000000 --- a/docs/JSONRouteResponseStops.md +++ /dev/null @@ -1,19 +0,0 @@ -# JSONRouteResponseStops - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**arrival_cancelled** | **bool** | Whether arrival at the stop was cancelled. | [optional] -**arrival_time** | **datetime** | Arrival time of the stop. | [optional] -**departure_cancelled** | **bool** | Whether departure at the stop was cancelled. | [optional] -**departure_time** | **datetime** | Departure time of the stop. | [optional] -**location** | **list[float]** | The location of the stop. | [optional] -**name** | **str** | The name of the stop. | [optional] -**planned_arrival_time** | **datetime** | Planned arrival time of the stop. | [optional] -**planned_departure_time** | **datetime** | Planned departure time of the stop. | [optional] -**predicted_arrival_time** | **datetime** | Predicted arrival time of the stop. | [optional] -**predicted_departure_time** | **datetime** | Predicted departure time of the stop. | [optional] -**stop_id** | **str** | The ID of the stop. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponseSummary.md b/docs/JSONRouteResponseSummary.md deleted file mode 100644 index 7675c2f2..00000000 --- a/docs/JSONRouteResponseSummary.md +++ /dev/null @@ -1,14 +0,0 @@ -# JSONRouteResponseSummary - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**ascent** | **float** | Total ascent in meters. | [optional] -**descent** | **float** | Total descent in meters. | [optional] -**distance** | **float** | Total route distance in specified units. | [optional] -**duration** | **float** | Total duration in seconds. | [optional] -**fare** | **int** | | [optional] -**transfers** | **int** | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONRouteResponseWarnings.md b/docs/JSONRouteResponseWarnings.md deleted file mode 100644 index f74260fb..00000000 --- a/docs/JSONRouteResponseWarnings.md +++ /dev/null @@ -1,10 +0,0 @@ -# JSONRouteResponseWarnings - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**code** | **int** | Identification code for the warning | [optional] -**message** | **str** | The message associated with the warning | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JSONStep.md b/docs/JSONStep.md deleted file mode 100644 index 0ec9d45a..00000000 --- a/docs/JSONStep.md +++ /dev/null @@ -1,17 +0,0 @@ -# JSONStep - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**distance** | **float** | The distance for the step in metres. | [optional] -**duration** | **float** | The duration for the step in seconds. | [optional] -**exit_bearings** | **list[int]** | Contains the bearing of the entrance and all passed exits in a roundabout. | [optional] -**exit_number** | **int** | Only for roundabouts. Contains the number of the exit to take. | [optional] -**instruction** | **str** | The routing instruction text for the step. | [optional] -**maneuver** | [**JSONRouteResponseManeuver**](JSONRouteResponseManeuver.md) | | [optional] -**name** | **str** | The name of the next street. | [optional] -**type** | **int** | The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. | [optional] -**way_points** | **list[int]** | List containing the indices of the steps start- and endpoint corresponding to the *geometry*. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/JsonEdge.md b/docs/JsonEdge.md deleted file mode 100644 index 31c8993d..00000000 --- a/docs/JsonEdge.md +++ /dev/null @@ -1,11 +0,0 @@ -# JsonEdge - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**from_id** | **int** | Id of the start point of the edge | [optional] -**to_id** | **int** | Id of the end point of the edge | [optional] -**weight** | **float** | Weight of the corresponding edge in the given bounding box | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/MatrixResponse.md b/docs/MatrixResponse.md deleted file mode 100644 index 5ca1c20f..00000000 --- a/docs/MatrixResponse.md +++ /dev/null @@ -1,13 +0,0 @@ -# MatrixResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**destinations** | [**list[MatrixResponseDestinations]**](MatrixResponseDestinations.md) | The individual destinations of the matrix calculations. | [optional] -**distances** | **list[list[float]]** | The distances of the matrix calculations. | [optional] -**durations** | **list[list[float]]** | The durations of the matrix calculations. | [optional] -**metadata** | [**MatrixResponseMetadata**](MatrixResponseMetadata.md) | | [optional] -**sources** | [**list[MatrixResponseSources]**](MatrixResponseSources.md) | The individual sources of the matrix calculations. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/MatrixResponseDestinations.md b/docs/MatrixResponseDestinations.md deleted file mode 100644 index 26caf9b5..00000000 --- a/docs/MatrixResponseDestinations.md +++ /dev/null @@ -1,11 +0,0 @@ -# MatrixResponseDestinations - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] -**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] -**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/MatrixResponseMetadata.md b/docs/MatrixResponseMetadata.md deleted file mode 100644 index d3e92503..00000000 --- a/docs/MatrixResponseMetadata.md +++ /dev/null @@ -1,16 +0,0 @@ -# MatrixResponseMetadata - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**JSONRouteResponseMetadataEngine**](JSONRouteResponseMetadataEngine.md) | | [optional] -**id** | **str** | ID of the request (as passed in by the query) | [optional] -**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] -**query** | [**MatrixProfileBody**](MatrixProfileBody.md) | | [optional] -**service** | **str** | The service that was requested | [optional] -**system_message** | **str** | System message | [optional] -**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/MatrixResponseSources.md b/docs/MatrixResponseSources.md deleted file mode 100644 index 818dc08d..00000000 --- a/docs/MatrixResponseSources.md +++ /dev/null @@ -1,11 +0,0 @@ -# MatrixResponseSources - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] -**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] -**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/MatrixServiceApi.md b/docs/MatrixServiceApi.md index f2699615..0941359b 100644 --- a/docs/MatrixServiceApi.md +++ b/docs/MatrixServiceApi.md @@ -7,7 +7,7 @@ Method | HTTP request | Description [**get_default1**](MatrixServiceApi.md#get_default1) | **POST** /v2/matrix/{profile} | Matrix Service # **get_default1** -> InlineResponse2006 get_default1(body, profile) +> JSONResponse get_default1(body, profile) Matrix Service @@ -49,7 +49,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2006**](InlineResponse2006.md) +[**JSONResponse**](JSONResponse.md) ### Authorization diff --git a/docs/OpenpoiservicePoiResponse.md b/docs/OpenpoiservicePoiResponse.md deleted file mode 100644 index 7863f7cc..00000000 --- a/docs/OpenpoiservicePoiResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# OpenpoiservicePoiResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**features** | [**list[GeoJSONFeaturesObject]**](GeoJSONFeaturesObject.md) | | [optional] -**type** | **str** | | [optional] [default to 'FeatureCollection'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/OptimizationApi.md b/docs/OptimizationApi.md index 4dab79f7..1e29871e 100644 --- a/docs/OptimizationApi.md +++ b/docs/OptimizationApi.md @@ -7,7 +7,7 @@ Method | HTTP request | Description [**optimization_post**](OptimizationApi.md#optimization_post) | **POST** /optimization | Optimization Service # **optimization_post** -> InlineResponse2002 optimization_post(body) +> JSONResponse optimization_post(body) Optimization Service @@ -47,7 +47,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2002**](InlineResponse2002.md) +[**JSONResponse**](JSONResponse.md) ### Authorization diff --git a/docs/PoisApi.md b/docs/PoisApi.md index 47280d3e..4dd3a87b 100644 --- a/docs/PoisApi.md +++ b/docs/PoisApi.md @@ -7,7 +7,7 @@ Method | HTTP request | Description [**pois_post**](PoisApi.md#pois_post) | **POST** /pois | Pois Service # **pois_post** -> OpenpoiservicePoiResponse pois_post(body) +> JSONResponse pois_post(body) Pois Service @@ -47,7 +47,7 @@ Name | Type | Description | Notes ### Return type -[**OpenpoiservicePoiResponse**](OpenpoiservicePoiResponse.md) +[**JSONResponse**](JSONResponse.md) ### Authorization diff --git a/docs/Restrictions.md b/docs/Restrictions.md deleted file mode 100644 index f194b3a1..00000000 --- a/docs/Restrictions.md +++ /dev/null @@ -1,20 +0,0 @@ -# Restrictions - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**axleload** | **float** | Axleload restriction in tons. | [optional] -**hazmat** | **bool** | Specifies whether to use appropriate routing for delivering hazardous goods and avoiding water protected areas. Default is `false`. | [optional] [default to False] -**height** | **float** | Height restriction in metres. | [optional] -**length** | **float** | Length restriction in metres. | [optional] -**maximum_incline** | **int** | Specifies the maximum incline as a percentage. `3`, `6` (default), `10`, `15. | [optional] [default to 6] -**maximum_sloped_kerb** | **float** | Specifies the maximum height of the sloped curb in metres. Values are `0.03`, `0.06` (default), `0.1`. | [optional] [default to 0.6] -**minimum_width** | **float** | Specifies the minimum width of the footway in metres. | [optional] -**smoothness_type** | **str** | Specifies the minimum smoothness of the route. Default is `good`. | [optional] [default to 'good'] -**surface_type** | **str** | Specifies the minimum surface type. Default is `sett`. | [optional] [default to 'sett'] -**track_type** | **str** | Specifies the minimum grade of the route. Default is `grade1`. | [optional] [default to 'grade1'] -**weight** | **float** | Weight restriction in tons. | [optional] -**width** | **float** | Width restriction in metres. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/SnappingResponse.md b/docs/SnappingResponse.md deleted file mode 100644 index 4499848c..00000000 --- a/docs/SnappingResponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# SnappingResponse - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**locations** | [**list[SnappingResponseLocations]**](SnappingResponseLocations.md) | The snapped locations as coordinates and snapping distance. | [optional] -**metadata** | [**SnappingResponseMetadata**](SnappingResponseMetadata.md) | | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/SnappingResponseLocations.md b/docs/SnappingResponseLocations.md deleted file mode 100644 index 05073e1e..00000000 --- a/docs/SnappingResponseLocations.md +++ /dev/null @@ -1,11 +0,0 @@ -# SnappingResponseLocations - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **list[float]** | {longitude},{latitude} coordinates of the closest accessible point on the routing graph | [optional] -**name** | **str** | Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. | [optional] -**snapped_distance** | **float** | Distance between the `source/destination` Location and the used point on the routing graph in meters. | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/SnappingResponseMetadata.md b/docs/SnappingResponseMetadata.md deleted file mode 100644 index 73c0555a..00000000 --- a/docs/SnappingResponseMetadata.md +++ /dev/null @@ -1,15 +0,0 @@ -# SnappingResponseMetadata - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**attribution** | **str** | Copyright and attribution information | [optional] -**engine** | [**JSONRouteResponseMetadataEngine**](JSONRouteResponseMetadataEngine.md) | | [optional] -**osm_file_md5_hash** | **str** | The MD5 hash of the OSM planet file that was used for generating graphs | [optional] -**query** | [**ProfileJsonBody**](ProfileJsonBody.md) | | [optional] -**service** | **str** | The service that was requested | [optional] -**system_message** | **str** | System message | [optional] -**timestamp** | **int** | Time that the request was made (UNIX Epoch time) | [optional] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/SnappingServiceApi.md b/docs/SnappingServiceApi.md index dcfa19d7..5480f0da 100644 --- a/docs/SnappingServiceApi.md +++ b/docs/SnappingServiceApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description [**get_json_snapping**](SnappingServiceApi.md#get_json_snapping) | **POST** /v2/snap/{profile}/json | Snapping Service JSON # **get_default** -> InlineResponse2007 get_default(body, profile) +> JSONResponse get_default(body, profile) Snapping Service @@ -51,7 +51,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2007**](InlineResponse2007.md) +[**JSONResponse**](JSONResponse.md) ### Authorization @@ -65,7 +65,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) # **get_geo_json_snapping** -> InlineResponse2008 get_geo_json_snapping(body, profile) +> JSONResponse get_geo_json_snapping(body, profile) Snapping Service GeoJSON @@ -107,7 +107,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2008**](InlineResponse2008.md) +[**JSONResponse**](JSONResponse.md) ### Authorization @@ -121,7 +121,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to Model list]](../README.md#documentation_for_models) [[Back to README]](../README.md) # **get_json_snapping** -> InlineResponse2007 get_json_snapping(body, profile) +> JSONResponse get_json_snapping(body, profile) Snapping Service JSON @@ -163,7 +163,7 @@ Name | Type | Description | Notes ### Return type -[**InlineResponse2007**](InlineResponse2007.md) +[**JSONResponse**](JSONResponse.md) ### Authorization diff --git a/openrouteservice/__init__.py b/openrouteservice/__init__.py index 19fd174b..aac52036 100644 --- a/openrouteservice/__init__.py +++ b/openrouteservice/__init__.py @@ -32,56 +32,10 @@ from openrouteservice.models.directions_service1 import DirectionsService1 from openrouteservice.models.elevation_line_body import ElevationLineBody from openrouteservice.models.elevation_point_body import ElevationPointBody -from openrouteservice.models.geo_json_features_object import GeoJSONFeaturesObject -from openrouteservice.models.geo_json_geometry_object import GeoJSONGeometryObject -from openrouteservice.models.geo_json_properties_object import GeoJSONPropertiesObject -from openrouteservice.models.geo_json_properties_object_category_ids import GeoJSONPropertiesObjectCategoryIds -from openrouteservice.models.geo_json_properties_object_category_ids_category_id import GeoJSONPropertiesObjectCategoryIdsCategoryId -from openrouteservice.models.geo_json_properties_object_osm_tags import GeoJSONPropertiesObjectOsmTags -from openrouteservice.models.geocode_response import GeocodeResponse -from openrouteservice.models.inline_response200 import InlineResponse200 -from openrouteservice.models.inline_response2001 import InlineResponse2001 -from openrouteservice.models.inline_response2001_geometry import InlineResponse2001Geometry -from openrouteservice.models.inline_response2002 import InlineResponse2002 -from openrouteservice.models.inline_response2002_routes import InlineResponse2002Routes -from openrouteservice.models.inline_response2002_steps import InlineResponse2002Steps -from openrouteservice.models.inline_response2002_summary import InlineResponse2002Summary -from openrouteservice.models.inline_response2002_unassigned import InlineResponse2002Unassigned -from openrouteservice.models.inline_response2002_violations import InlineResponse2002Violations -from openrouteservice.models.inline_response2003 import InlineResponse2003 -from openrouteservice.models.inline_response2003_metadata import InlineResponse2003Metadata -from openrouteservice.models.inline_response2004 import InlineResponse2004 -from openrouteservice.models.inline_response2004_extras import InlineResponse2004Extras -from openrouteservice.models.inline_response2004_instructions import InlineResponse2004Instructions -from openrouteservice.models.inline_response2004_legs import InlineResponse2004Legs -from openrouteservice.models.inline_response2004_maneuver import InlineResponse2004Maneuver -from openrouteservice.models.inline_response2004_routes import InlineResponse2004Routes -from openrouteservice.models.inline_response2004_segments import InlineResponse2004Segments -from openrouteservice.models.inline_response2004_stops import InlineResponse2004Stops -from openrouteservice.models.inline_response2004_summary import InlineResponse2004Summary -from openrouteservice.models.inline_response2004_summary1 import InlineResponse2004Summary1 -from openrouteservice.models.inline_response2004_warnings import InlineResponse2004Warnings -from openrouteservice.models.inline_response2005 import InlineResponse2005 -from openrouteservice.models.inline_response2005_features import InlineResponse2005Features -from openrouteservice.models.inline_response2005_geometry import InlineResponse2005Geometry -from openrouteservice.models.inline_response2005_metadata import InlineResponse2005Metadata -from openrouteservice.models.inline_response2005_metadata_engine import InlineResponse2005MetadataEngine -from openrouteservice.models.inline_response2006 import InlineResponse2006 -from openrouteservice.models.inline_response2006_destinations import InlineResponse2006Destinations -from openrouteservice.models.inline_response2006_metadata import InlineResponse2006Metadata -from openrouteservice.models.inline_response2006_sources import InlineResponse2006Sources -from openrouteservice.models.inline_response2007 import InlineResponse2007 -from openrouteservice.models.inline_response2007_locations import InlineResponse2007Locations -from openrouteservice.models.inline_response2007_metadata import InlineResponse2007Metadata -from openrouteservice.models.inline_response2008 import InlineResponse2008 -from openrouteservice.models.inline_response2008_features import InlineResponse2008Features -from openrouteservice.models.inline_response2008_geometry import InlineResponse2008Geometry -from openrouteservice.models.inline_response2008_properties import InlineResponse2008Properties -from openrouteservice.models.inline_response200_geometry import InlineResponse200Geometry from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody +from openrouteservice.models.json_response import JSONResponse from openrouteservice.models.matrix_profile_body import MatrixProfileBody from openrouteservice.models.openpoiservice_poi_request import OpenpoiservicePoiRequest -from openrouteservice.models.openpoiservice_poi_response import OpenpoiservicePoiResponse from openrouteservice.models.optimization_body import OptimizationBody from openrouteservice.models.optimization_breaks import OptimizationBreaks from openrouteservice.models.optimization_costs import OptimizationCosts diff --git a/openrouteservice/api/directions_service_api.py b/openrouteservice/api/directions_service_api.py index 21ce063e..eab71948 100644 --- a/openrouteservice/api/directions_service_api.py +++ b/openrouteservice/api/directions_service_api.py @@ -44,7 +44,7 @@ def get_geo_json_route(self, body, profile, **kwargs): # noqa: E501 :param async_req bool :param DirectionsService body: (required) :param str profile: Specifies the route profile. (required) - :return: InlineResponse2003 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -67,7 +67,7 @@ def get_geo_json_route_with_http_info(self, body, profile, **kwargs): # noqa: E :param async_req bool :param DirectionsService body: (required) :param str profile: Specifies the route profile. (required) - :return: InlineResponse2003 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -131,7 +131,7 @@ def get_geo_json_route_with_http_info(self, body, profile, **kwargs): # noqa: E body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2003', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -151,7 +151,7 @@ def get_json_route(self, body, profile, **kwargs): # noqa: E501 :param async_req bool :param DirectionsService1 body: (required) :param str profile: Specifies the route profile. (required) - :return: InlineResponse2004 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -174,7 +174,7 @@ def get_json_route_with_http_info(self, body, profile, **kwargs): # noqa: E501 :param async_req bool :param DirectionsService1 body: (required) :param str profile: Specifies the route profile. (required) - :return: InlineResponse2004 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -238,7 +238,7 @@ def get_json_route_with_http_info(self, body, profile, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2004', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openrouteservice/api/elevation_api.py b/openrouteservice/api/elevation_api.py index d73aabc8..6afc06d1 100644 --- a/openrouteservice/api/elevation_api.py +++ b/openrouteservice/api/elevation_api.py @@ -43,7 +43,7 @@ def elevation_line_post(self, body, **kwargs): # noqa: E501 :param async_req bool :param ElevationLineBody body: Query the elevation of a line in various formats. (required) - :return: InlineResponse200 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -65,7 +65,7 @@ def elevation_line_post_with_http_info(self, body, **kwargs): # noqa: E501 :param async_req bool :param ElevationLineBody body: Query the elevation of a line in various formats. (required) - :return: InlineResponse200 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -123,7 +123,7 @@ def elevation_line_post_with_http_info(self, body, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse200', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -144,7 +144,7 @@ def elevation_point_get(self, geometry, **kwargs): # noqa: E501 :param list[float] geometry: The point to be queried, in comma-separated lon,lat values, e.g. [13.349762, 38.11295] (required) :param str format_out: The output format to be returned. :param str dataset: The elevation dataset to be used. - :return: InlineResponse2001 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -168,7 +168,7 @@ def elevation_point_get_with_http_info(self, geometry, **kwargs): # noqa: E501 :param list[float] geometry: The point to be queried, in comma-separated lon,lat values, e.g. [13.349762, 38.11295] (required) :param str format_out: The output format to be returned. :param str dataset: The elevation dataset to be used. - :return: InlineResponse2001 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -227,7 +227,7 @@ def elevation_point_get_with_http_info(self, geometry, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2001', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -246,7 +246,7 @@ def elevation_point_post(self, body, **kwargs): # noqa: E501 :param async_req bool :param ElevationPointBody body: Query the elevation of a point in various formats. (required) - :return: InlineResponse2001 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -268,7 +268,7 @@ def elevation_point_post_with_http_info(self, body, **kwargs): # noqa: E501 :param async_req bool :param ElevationPointBody body: Query the elevation of a point in various formats. (required) - :return: InlineResponse2001 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -326,7 +326,7 @@ def elevation_point_post_with_http_info(self, body, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2001', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openrouteservice/api/geocode_api.py b/openrouteservice/api/geocode_api.py index 9cb19afc..c03b1b7c 100644 --- a/openrouteservice/api/geocode_api.py +++ b/openrouteservice/api/geocode_api.py @@ -52,7 +52,7 @@ def geocode_autocomplete_get(self, text, **kwargs): # noqa: E501 :param str boundary_country: Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| - :return: GeocodeResponse + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -83,7 +83,7 @@ def geocode_autocomplete_get_with_http_info(self, text, **kwargs): # noqa: E501 :param str boundary_country: Restrict results to single country. Possible values are [alpha-2 and alpha-3 country codes](https://en.wikipedia.org/wiki/ISO_3166-1). Example: `DEU` or `DE` for Germany. :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| - :return: GeocodeResponse + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -157,7 +157,7 @@ def geocode_autocomplete_get_with_http_info(self, text, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='GeocodeResponse', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -182,7 +182,7 @@ def geocode_reverse_get(self, point_lon, point_lat, **kwargs): # noqa: E501 :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `locality`|towns, hamlets, cities| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). :param str boundary_country: Restrict search to country by [alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) or [alpha 3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) codes. - :return: GeocodeResponse + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -210,7 +210,7 @@ def geocode_reverse_get_with_http_info(self, point_lon, point_lat, **kwargs): # :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `locality`|towns, hamlets, cities| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). :param str boundary_country: Restrict search to country by [alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) or [alpha 3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) codes. - :return: GeocodeResponse + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -282,7 +282,7 @@ def geocode_reverse_get_with_http_info(self, point_lon, point_lat, **kwargs): # body=body_params, post_params=form_params, files=local_var_files, - response_type='GeocodeResponse', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -315,7 +315,7 @@ def geocode_search_get(self, text, **kwargs): # noqa: E501 :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| :param int size: Set the number of returned results. - :return: GeocodeResponse + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -351,7 +351,7 @@ def geocode_search_get_with_http_info(self, text, **kwargs): # noqa: E501 :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| :param int size: Set the number of returned results. - :return: GeocodeResponse + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -435,7 +435,7 @@ def geocode_search_get_with_http_info(self, text, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='GeocodeResponse', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -474,7 +474,7 @@ def geocode_search_structured_get(self, **kwargs): # noqa: E501 :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). :param int size: Set the number of returned results. - :return: GeocodeResponse + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -516,7 +516,7 @@ def geocode_search_structured_get_with_http_info(self, **kwargs): # noqa: E501 :param list[str] layers: Restrict search to layers (place type). By default all layers are searched. layer|description| ----|----| `venue`|points of interest, businesses, things with walls| `address`|places with a street address| `street`|streets,roads,highways| `neighbourhood`|social communities, neighbourhoods| `borough`|a local administrative boundary, currently only used for New York City| `localadmin`|local administrative boundaries| `locality`|towns, hamlets, cities| `county`|official governmental area; usually bigger than a locality, almost always smaller than a region| `macrocounty`|a related group of counties. Mostly in Europe.| `region`|states and provinces| `macroregion`|a related group of regions. Mostly in Europe| `country`|places that issue passports, nations, nation-states| `coarse`|alias for simultaneously using all administrative layers (everything except `venue` and `address`)| :param list[str] sources: Restrict your search to specific sources. Searches all sources by default. You can either use the normal or short name. Sources are [`openstreetmap(osm)`](http://www.openstreetmap.org/), [`openaddresses(oa)`](http://openaddresses.io/), [`whosonfirst(wof)`](https://whosonfirst.org/), [`geonames(gn)`](http://www.geonames.org/). :param int size: Set the number of returned results. - :return: GeocodeResponse + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -608,7 +608,7 @@ def geocode_search_structured_get_with_http_info(self, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='GeocodeResponse', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openrouteservice/api/isochrones_service_api.py b/openrouteservice/api/isochrones_service_api.py index 4526e634..3d54309f 100644 --- a/openrouteservice/api/isochrones_service_api.py +++ b/openrouteservice/api/isochrones_service_api.py @@ -44,7 +44,7 @@ def get_default_isochrones(self, body, profile, **kwargs): # noqa: E501 :param async_req bool :param IsochronesProfileBody body: (required) :param str profile: Specifies the route profile. (required) - :return: InlineResponse2005 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -67,7 +67,7 @@ def get_default_isochrones_with_http_info(self, body, profile, **kwargs): # noq :param async_req bool :param IsochronesProfileBody body: (required) :param str profile: Specifies the route profile. (required) - :return: InlineResponse2005 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -131,7 +131,7 @@ def get_default_isochrones_with_http_info(self, body, profile, **kwargs): # noq body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2005', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openrouteservice/api/matrix_service_api.py b/openrouteservice/api/matrix_service_api.py index 5e3d1b69..a943a212 100644 --- a/openrouteservice/api/matrix_service_api.py +++ b/openrouteservice/api/matrix_service_api.py @@ -44,7 +44,7 @@ def get_default1(self, body, profile, **kwargs): # noqa: E501 :param async_req bool :param MatrixProfileBody body: (required) :param str profile: Specifies the matrix profile. (required) - :return: InlineResponse2006 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -67,7 +67,7 @@ def get_default1_with_http_info(self, body, profile, **kwargs): # noqa: E501 :param async_req bool :param MatrixProfileBody body: (required) :param str profile: Specifies the matrix profile. (required) - :return: InlineResponse2006 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -131,7 +131,7 @@ def get_default1_with_http_info(self, body, profile, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2006', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openrouteservice/api/optimization_api.py b/openrouteservice/api/optimization_api.py index c82581ed..aaf57e42 100644 --- a/openrouteservice/api/optimization_api.py +++ b/openrouteservice/api/optimization_api.py @@ -43,7 +43,7 @@ def optimization_post(self, body, **kwargs): # noqa: E501 :param async_req bool :param OptimizationBody body: The request body of the optimization request. (required) - :return: InlineResponse2002 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -65,7 +65,7 @@ def optimization_post_with_http_info(self, body, **kwargs): # noqa: E501 :param async_req bool :param OptimizationBody body: The request body of the optimization request. (required) - :return: InlineResponse2002 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -123,7 +123,7 @@ def optimization_post_with_http_info(self, body, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2002', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openrouteservice/api/pois_api.py b/openrouteservice/api/pois_api.py index e69f847e..1f46ce5a 100644 --- a/openrouteservice/api/pois_api.py +++ b/openrouteservice/api/pois_api.py @@ -43,7 +43,7 @@ def pois_post(self, body, **kwargs): # noqa: E501 :param async_req bool :param OpenpoiservicePoiRequest body: body for a post request (required) - :return: OpenpoiservicePoiResponse + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -65,7 +65,7 @@ def pois_post_with_http_info(self, body, **kwargs): # noqa: E501 :param async_req bool :param OpenpoiservicePoiRequest body: body for a post request (required) - :return: OpenpoiservicePoiResponse + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -123,7 +123,7 @@ def pois_post_with_http_info(self, body, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='OpenpoiservicePoiResponse', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openrouteservice/api/snapping_service_api.py b/openrouteservice/api/snapping_service_api.py index 3a2b683c..32f5f3b6 100644 --- a/openrouteservice/api/snapping_service_api.py +++ b/openrouteservice/api/snapping_service_api.py @@ -44,7 +44,7 @@ def get_default(self, body, profile, **kwargs): # noqa: E501 :param async_req bool :param SnapProfileBody body: (required) :param str profile: Specifies the route profile. (required) - :return: InlineResponse2007 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -67,7 +67,7 @@ def get_default_with_http_info(self, body, profile, **kwargs): # noqa: E501 :param async_req bool :param SnapProfileBody body: (required) :param str profile: Specifies the route profile. (required) - :return: InlineResponse2007 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -131,7 +131,7 @@ def get_default_with_http_info(self, body, profile, **kwargs): # noqa: E501 body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2007', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -151,7 +151,7 @@ def get_geo_json_snapping(self, body, profile, **kwargs): # noqa: E501 :param async_req bool :param ProfileGeojsonBody body: (required) :param str profile: Specifies the profile. (required) - :return: InlineResponse2008 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -174,7 +174,7 @@ def get_geo_json_snapping_with_http_info(self, body, profile, **kwargs): # noqa :param async_req bool :param ProfileGeojsonBody body: (required) :param str profile: Specifies the profile. (required) - :return: InlineResponse2008 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -238,7 +238,7 @@ def get_geo_json_snapping_with_http_info(self, body, profile, **kwargs): # noqa body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2008', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), @@ -258,7 +258,7 @@ def get_json_snapping(self, body, profile, **kwargs): # noqa: E501 :param async_req bool :param ProfileJsonBody body: (required) :param str profile: Specifies the profile. (required) - :return: InlineResponse2007 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -281,7 +281,7 @@ def get_json_snapping_with_http_info(self, body, profile, **kwargs): # noqa: E5 :param async_req bool :param ProfileJsonBody body: (required) :param str profile: Specifies the profile. (required) - :return: InlineResponse2007 + :return: JSONResponse If the method is called asynchronously, returns the request thread. """ @@ -345,7 +345,7 @@ def get_json_snapping_with_http_info(self, body, profile, **kwargs): # noqa: E5 body=body_params, post_params=form_params, files=local_var_files, - response_type='InlineResponse2007', # noqa: E501 + response_type='JSONResponse', # noqa: E501 auth_settings=auth_settings, async_req=params.get('async_req'), _return_http_data_only=params.get('_return_http_data_only'), diff --git a/openrouteservice/models/__init__.py b/openrouteservice/models/__init__.py index 884132fd..d3d8fd03 100644 --- a/openrouteservice/models/__init__.py +++ b/openrouteservice/models/__init__.py @@ -19,56 +19,10 @@ from openrouteservice.models.directions_service1 import DirectionsService1 from openrouteservice.models.elevation_line_body import ElevationLineBody from openrouteservice.models.elevation_point_body import ElevationPointBody -from openrouteservice.models.geo_json_features_object import GeoJSONFeaturesObject -from openrouteservice.models.geo_json_geometry_object import GeoJSONGeometryObject -from openrouteservice.models.geo_json_properties_object import GeoJSONPropertiesObject -from openrouteservice.models.geo_json_properties_object_category_ids import GeoJSONPropertiesObjectCategoryIds -from openrouteservice.models.geo_json_properties_object_category_ids_category_id import GeoJSONPropertiesObjectCategoryIdsCategoryId -from openrouteservice.models.geo_json_properties_object_osm_tags import GeoJSONPropertiesObjectOsmTags -from openrouteservice.models.geocode_response import GeocodeResponse -from openrouteservice.models.inline_response200 import InlineResponse200 -from openrouteservice.models.inline_response2001 import InlineResponse2001 -from openrouteservice.models.inline_response2001_geometry import InlineResponse2001Geometry -from openrouteservice.models.inline_response2002 import InlineResponse2002 -from openrouteservice.models.inline_response2002_routes import InlineResponse2002Routes -from openrouteservice.models.inline_response2002_steps import InlineResponse2002Steps -from openrouteservice.models.inline_response2002_summary import InlineResponse2002Summary -from openrouteservice.models.inline_response2002_unassigned import InlineResponse2002Unassigned -from openrouteservice.models.inline_response2002_violations import InlineResponse2002Violations -from openrouteservice.models.inline_response2003 import InlineResponse2003 -from openrouteservice.models.inline_response2003_metadata import InlineResponse2003Metadata -from openrouteservice.models.inline_response2004 import InlineResponse2004 -from openrouteservice.models.inline_response2004_extras import InlineResponse2004Extras -from openrouteservice.models.inline_response2004_instructions import InlineResponse2004Instructions -from openrouteservice.models.inline_response2004_legs import InlineResponse2004Legs -from openrouteservice.models.inline_response2004_maneuver import InlineResponse2004Maneuver -from openrouteservice.models.inline_response2004_routes import InlineResponse2004Routes -from openrouteservice.models.inline_response2004_segments import InlineResponse2004Segments -from openrouteservice.models.inline_response2004_stops import InlineResponse2004Stops -from openrouteservice.models.inline_response2004_summary import InlineResponse2004Summary -from openrouteservice.models.inline_response2004_summary1 import InlineResponse2004Summary1 -from openrouteservice.models.inline_response2004_warnings import InlineResponse2004Warnings -from openrouteservice.models.inline_response2005 import InlineResponse2005 -from openrouteservice.models.inline_response2005_features import InlineResponse2005Features -from openrouteservice.models.inline_response2005_geometry import InlineResponse2005Geometry -from openrouteservice.models.inline_response2005_metadata import InlineResponse2005Metadata -from openrouteservice.models.inline_response2005_metadata_engine import InlineResponse2005MetadataEngine -from openrouteservice.models.inline_response2006 import InlineResponse2006 -from openrouteservice.models.inline_response2006_destinations import InlineResponse2006Destinations -from openrouteservice.models.inline_response2006_metadata import InlineResponse2006Metadata -from openrouteservice.models.inline_response2006_sources import InlineResponse2006Sources -from openrouteservice.models.inline_response2007 import InlineResponse2007 -from openrouteservice.models.inline_response2007_locations import InlineResponse2007Locations -from openrouteservice.models.inline_response2007_metadata import InlineResponse2007Metadata -from openrouteservice.models.inline_response2008 import InlineResponse2008 -from openrouteservice.models.inline_response2008_features import InlineResponse2008Features -from openrouteservice.models.inline_response2008_geometry import InlineResponse2008Geometry -from openrouteservice.models.inline_response2008_properties import InlineResponse2008Properties -from openrouteservice.models.inline_response200_geometry import InlineResponse200Geometry from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody +from openrouteservice.models.json_response import JSONResponse from openrouteservice.models.matrix_profile_body import MatrixProfileBody from openrouteservice.models.openpoiservice_poi_request import OpenpoiservicePoiRequest -from openrouteservice.models.openpoiservice_poi_response import OpenpoiservicePoiResponse from openrouteservice.models.optimization_body import OptimizationBody from openrouteservice.models.optimization_breaks import OptimizationBreaks from openrouteservice.models.optimization_costs import OptimizationCosts diff --git a/openrouteservice/models/geo_json_features_object.py b/openrouteservice/models/geo_json_features_object.py deleted file mode 100644 index 5d603134..00000000 --- a/openrouteservice/models/geo_json_features_object.py +++ /dev/null @@ -1,162 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONFeaturesObject(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'feature_properties': 'GeoJSONPropertiesObject', - 'geometry': 'GeoJSONGeometryObject', - 'type': 'str' - } - - attribute_map = { - 'feature_properties': 'feature_properties', - 'geometry': 'geometry', - 'type': 'type' - } - - def __init__(self, feature_properties=None, geometry=None, type='Feature'): # noqa: E501 - """GeoJSONFeaturesObject - a model defined in Swagger""" # noqa: E501 - self._feature_properties = None - self._geometry = None - self._type = None - self.discriminator = None - if feature_properties is not None: - self.feature_properties = feature_properties - if geometry is not None: - self.geometry = geometry - if type is not None: - self.type = type - - @property - def feature_properties(self): - """Gets the feature_properties of this GeoJSONFeaturesObject. # noqa: E501 - - - :return: The feature_properties of this GeoJSONFeaturesObject. # noqa: E501 - :rtype: GeoJSONPropertiesObject - """ - return self._feature_properties - - @feature_properties.setter - def feature_properties(self, feature_properties): - """Sets the feature_properties of this GeoJSONFeaturesObject. - - - :param feature_properties: The feature_properties of this GeoJSONFeaturesObject. # noqa: E501 - :type: GeoJSONPropertiesObject - """ - - self._feature_properties = feature_properties - - @property - def geometry(self): - """Gets the geometry of this GeoJSONFeaturesObject. # noqa: E501 - - - :return: The geometry of this GeoJSONFeaturesObject. # noqa: E501 - :rtype: GeoJSONGeometryObject - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this GeoJSONFeaturesObject. - - - :param geometry: The geometry of this GeoJSONFeaturesObject. # noqa: E501 - :type: GeoJSONGeometryObject - """ - - self._geometry = geometry - - @property - def type(self): - """Gets the type of this GeoJSONFeaturesObject. # noqa: E501 - - - :return: The type of this GeoJSONFeaturesObject. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this GeoJSONFeaturesObject. - - - :param type: The type of this GeoJSONFeaturesObject. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONFeaturesObject, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONFeaturesObject): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_geometry_object.py b/openrouteservice/models/geo_json_geometry_object.py deleted file mode 100644 index 61db4fbd..00000000 --- a/openrouteservice/models/geo_json_geometry_object.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONGeometryObject(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'coordinates': 'list[float]', - 'type': 'str' - } - - attribute_map = { - 'coordinates': 'coordinates', - 'type': 'type' - } - - def __init__(self, coordinates=None, type='Point'): # noqa: E501 - """GeoJSONGeometryObject - a model defined in Swagger""" # noqa: E501 - self._coordinates = None - self._type = None - self.discriminator = None - if coordinates is not None: - self.coordinates = coordinates - if type is not None: - self.type = type - - @property - def coordinates(self): - """Gets the coordinates of this GeoJSONGeometryObject. # noqa: E501 - - - :return: The coordinates of this GeoJSONGeometryObject. # noqa: E501 - :rtype: list[float] - """ - return self._coordinates - - @coordinates.setter - def coordinates(self, coordinates): - """Sets the coordinates of this GeoJSONGeometryObject. - - - :param coordinates: The coordinates of this GeoJSONGeometryObject. # noqa: E501 - :type: list[float] - """ - - self._coordinates = coordinates - - @property - def type(self): - """Gets the type of this GeoJSONGeometryObject. # noqa: E501 - - - :return: The type of this GeoJSONGeometryObject. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this GeoJSONGeometryObject. - - - :param type: The type of this GeoJSONGeometryObject. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONGeometryObject, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONGeometryObject): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_properties_object.py b/openrouteservice/models/geo_json_properties_object.py deleted file mode 100644 index d8b357ff..00000000 --- a/openrouteservice/models/geo_json_properties_object.py +++ /dev/null @@ -1,214 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONPropertiesObject(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'category_ids': 'GeoJSONPropertiesObjectCategoryIds', - 'distance': 'float', - 'osm_id': 'float', - 'osm_tags': 'GeoJSONPropertiesObjectOsmTags', - 'osm_type': 'float' - } - - attribute_map = { - 'category_ids': 'category_ids', - 'distance': 'distance', - 'osm_id': 'osm_id', - 'osm_tags': 'osm_tags', - 'osm_type': 'osm_type' - } - - def __init__(self, category_ids=None, distance=None, osm_id=None, osm_tags=None, osm_type=None): # noqa: E501 - """GeoJSONPropertiesObject - a model defined in Swagger""" # noqa: E501 - self._category_ids = None - self._distance = None - self._osm_id = None - self._osm_tags = None - self._osm_type = None - self.discriminator = None - if category_ids is not None: - self.category_ids = category_ids - if distance is not None: - self.distance = distance - if osm_id is not None: - self.osm_id = osm_id - if osm_tags is not None: - self.osm_tags = osm_tags - if osm_type is not None: - self.osm_type = osm_type - - @property - def category_ids(self): - """Gets the category_ids of this GeoJSONPropertiesObject. # noqa: E501 - - - :return: The category_ids of this GeoJSONPropertiesObject. # noqa: E501 - :rtype: GeoJSONPropertiesObjectCategoryIds - """ - return self._category_ids - - @category_ids.setter - def category_ids(self, category_ids): - """Sets the category_ids of this GeoJSONPropertiesObject. - - - :param category_ids: The category_ids of this GeoJSONPropertiesObject. # noqa: E501 - :type: GeoJSONPropertiesObjectCategoryIds - """ - - self._category_ids = category_ids - - @property - def distance(self): - """Gets the distance of this GeoJSONPropertiesObject. # noqa: E501 - - - :return: The distance of this GeoJSONPropertiesObject. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this GeoJSONPropertiesObject. - - - :param distance: The distance of this GeoJSONPropertiesObject. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def osm_id(self): - """Gets the osm_id of this GeoJSONPropertiesObject. # noqa: E501 - - - :return: The osm_id of this GeoJSONPropertiesObject. # noqa: E501 - :rtype: float - """ - return self._osm_id - - @osm_id.setter - def osm_id(self, osm_id): - """Sets the osm_id of this GeoJSONPropertiesObject. - - - :param osm_id: The osm_id of this GeoJSONPropertiesObject. # noqa: E501 - :type: float - """ - - self._osm_id = osm_id - - @property - def osm_tags(self): - """Gets the osm_tags of this GeoJSONPropertiesObject. # noqa: E501 - - - :return: The osm_tags of this GeoJSONPropertiesObject. # noqa: E501 - :rtype: GeoJSONPropertiesObjectOsmTags - """ - return self._osm_tags - - @osm_tags.setter - def osm_tags(self, osm_tags): - """Sets the osm_tags of this GeoJSONPropertiesObject. - - - :param osm_tags: The osm_tags of this GeoJSONPropertiesObject. # noqa: E501 - :type: GeoJSONPropertiesObjectOsmTags - """ - - self._osm_tags = osm_tags - - @property - def osm_type(self): - """Gets the osm_type of this GeoJSONPropertiesObject. # noqa: E501 - - - :return: The osm_type of this GeoJSONPropertiesObject. # noqa: E501 - :rtype: float - """ - return self._osm_type - - @osm_type.setter - def osm_type(self, osm_type): - """Sets the osm_type of this GeoJSONPropertiesObject. - - - :param osm_type: The osm_type of this GeoJSONPropertiesObject. # noqa: E501 - :type: float - """ - - self._osm_type = osm_type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONPropertiesObject, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONPropertiesObject): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_properties_object_category_ids.py b/openrouteservice/models/geo_json_properties_object_category_ids.py deleted file mode 100644 index 407e8461..00000000 --- a/openrouteservice/models/geo_json_properties_object_category_ids.py +++ /dev/null @@ -1,110 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONPropertiesObjectCategoryIds(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'category_id': 'GeoJSONPropertiesObjectCategoryIdsCategoryId' - } - - attribute_map = { - 'category_id': 'category_id' - } - - def __init__(self, category_id=None): # noqa: E501 - """GeoJSONPropertiesObjectCategoryIds - a model defined in Swagger""" # noqa: E501 - self._category_id = None - self.discriminator = None - if category_id is not None: - self.category_id = category_id - - @property - def category_id(self): - """Gets the category_id of this GeoJSONPropertiesObjectCategoryIds. # noqa: E501 - - - :return: The category_id of this GeoJSONPropertiesObjectCategoryIds. # noqa: E501 - :rtype: GeoJSONPropertiesObjectCategoryIdsCategoryId - """ - return self._category_id - - @category_id.setter - def category_id(self, category_id): - """Sets the category_id of this GeoJSONPropertiesObjectCategoryIds. - - - :param category_id: The category_id of this GeoJSONPropertiesObjectCategoryIds. # noqa: E501 - :type: GeoJSONPropertiesObjectCategoryIdsCategoryId - """ - - self._category_id = category_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONPropertiesObjectCategoryIds, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONPropertiesObjectCategoryIds): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_properties_object_category_ids_category_id.py b/openrouteservice/models/geo_json_properties_object_category_ids_category_id.py deleted file mode 100644 index 027219d1..00000000 --- a/openrouteservice/models/geo_json_properties_object_category_ids_category_id.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONPropertiesObjectCategoryIdsCategoryId(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'category_group': 'float', - 'category_name': 'str' - } - - attribute_map = { - 'category_group': 'category_group', - 'category_name': 'category_name' - } - - def __init__(self, category_group=None, category_name=None): # noqa: E501 - """GeoJSONPropertiesObjectCategoryIdsCategoryId - a model defined in Swagger""" # noqa: E501 - self._category_group = None - self._category_name = None - self.discriminator = None - if category_group is not None: - self.category_group = category_group - if category_name is not None: - self.category_name = category_name - - @property - def category_group(self): - """Gets the category_group of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 - - - :return: The category_group of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 - :rtype: float - """ - return self._category_group - - @category_group.setter - def category_group(self, category_group): - """Sets the category_group of this GeoJSONPropertiesObjectCategoryIdsCategoryId. - - - :param category_group: The category_group of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 - :type: float - """ - - self._category_group = category_group - - @property - def category_name(self): - """Gets the category_name of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 - - - :return: The category_name of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 - :rtype: str - """ - return self._category_name - - @category_name.setter - def category_name(self, category_name): - """Sets the category_name of this GeoJSONPropertiesObjectCategoryIdsCategoryId. - - - :param category_name: The category_name of this GeoJSONPropertiesObjectCategoryIdsCategoryId. # noqa: E501 - :type: str - """ - - self._category_name = category_name - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONPropertiesObjectCategoryIdsCategoryId, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONPropertiesObjectCategoryIdsCategoryId): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geo_json_properties_object_osm_tags.py b/openrouteservice/models/geo_json_properties_object_osm_tags.py deleted file mode 100644 index bce8a2b6..00000000 --- a/openrouteservice/models/geo_json_properties_object_osm_tags.py +++ /dev/null @@ -1,266 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeoJSONPropertiesObjectOsmTags(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'address': 'str', - 'distance': 'str', - 'fee': 'str', - 'name': 'str', - 'opening_hours': 'str', - 'website': 'str', - 'wheelchair': 'str' - } - - attribute_map = { - 'address': 'address', - 'distance': 'distance', - 'fee': 'fee', - 'name': 'name', - 'opening_hours': 'opening_hours', - 'website': 'website', - 'wheelchair': 'wheelchair' - } - - def __init__(self, address=None, distance=None, fee=None, name=None, opening_hours=None, website=None, wheelchair=None): # noqa: E501 - """GeoJSONPropertiesObjectOsmTags - a model defined in Swagger""" # noqa: E501 - self._address = None - self._distance = None - self._fee = None - self._name = None - self._opening_hours = None - self._website = None - self._wheelchair = None - self.discriminator = None - if address is not None: - self.address = address - if distance is not None: - self.distance = distance - if fee is not None: - self.fee = fee - if name is not None: - self.name = name - if opening_hours is not None: - self.opening_hours = opening_hours - if website is not None: - self.website = website - if wheelchair is not None: - self.wheelchair = wheelchair - - @property - def address(self): - """Gets the address of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - - - :return: The address of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :rtype: str - """ - return self._address - - @address.setter - def address(self, address): - """Sets the address of this GeoJSONPropertiesObjectOsmTags. - - - :param address: The address of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :type: str - """ - - self._address = address - - @property - def distance(self): - """Gets the distance of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - - - :return: The distance of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :rtype: str - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this GeoJSONPropertiesObjectOsmTags. - - - :param distance: The distance of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :type: str - """ - - self._distance = distance - - @property - def fee(self): - """Gets the fee of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - - - :return: The fee of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :rtype: str - """ - return self._fee - - @fee.setter - def fee(self, fee): - """Sets the fee of this GeoJSONPropertiesObjectOsmTags. - - - :param fee: The fee of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :type: str - """ - - self._fee = fee - - @property - def name(self): - """Gets the name of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - - - :return: The name of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this GeoJSONPropertiesObjectOsmTags. - - - :param name: The name of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def opening_hours(self): - """Gets the opening_hours of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - - - :return: The opening_hours of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :rtype: str - """ - return self._opening_hours - - @opening_hours.setter - def opening_hours(self, opening_hours): - """Sets the opening_hours of this GeoJSONPropertiesObjectOsmTags. - - - :param opening_hours: The opening_hours of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :type: str - """ - - self._opening_hours = opening_hours - - @property - def website(self): - """Gets the website of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - - - :return: The website of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :rtype: str - """ - return self._website - - @website.setter - def website(self, website): - """Sets the website of this GeoJSONPropertiesObjectOsmTags. - - - :param website: The website of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :type: str - """ - - self._website = website - - @property - def wheelchair(self): - """Gets the wheelchair of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - - - :return: The wheelchair of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :rtype: str - """ - return self._wheelchair - - @wheelchair.setter - def wheelchair(self, wheelchair): - """Sets the wheelchair of this GeoJSONPropertiesObjectOsmTags. - - - :param wheelchair: The wheelchair of this GeoJSONPropertiesObjectOsmTags. # noqa: E501 - :type: str - """ - - self._wheelchair = wheelchair - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeoJSONPropertiesObjectOsmTags, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeoJSONPropertiesObjectOsmTags): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/geocode_response.py b/openrouteservice/models/geocode_response.py deleted file mode 100644 index 0960a166..00000000 --- a/openrouteservice/models/geocode_response.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class GeocodeResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bbox': 'list[float]', - 'features': 'list[object]', - 'geocoding': 'object', - 'type': 'str' - } - - attribute_map = { - 'bbox': 'bbox', - 'features': 'features', - 'geocoding': 'geocoding', - 'type': 'type' - } - - def __init__(self, bbox=None, features=None, geocoding=None, type=None): # noqa: E501 - """GeocodeResponse - a model defined in Swagger""" # noqa: E501 - self._bbox = None - self._features = None - self._geocoding = None - self._type = None - self.discriminator = None - if bbox is not None: - self.bbox = bbox - if features is not None: - self.features = features - if geocoding is not None: - self.geocoding = geocoding - if type is not None: - self.type = type - - @property - def bbox(self): - """Gets the bbox of this GeocodeResponse. # noqa: E501 - - - :return: The bbox of this GeocodeResponse. # noqa: E501 - :rtype: list[float] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this GeocodeResponse. - - - :param bbox: The bbox of this GeocodeResponse. # noqa: E501 - :type: list[float] - """ - - self._bbox = bbox - - @property - def features(self): - """Gets the features of this GeocodeResponse. # noqa: E501 - - - :return: The features of this GeocodeResponse. # noqa: E501 - :rtype: list[object] - """ - return self._features - - @features.setter - def features(self, features): - """Sets the features of this GeocodeResponse. - - - :param features: The features of this GeocodeResponse. # noqa: E501 - :type: list[object] - """ - - self._features = features - - @property - def geocoding(self): - """Gets the geocoding of this GeocodeResponse. # noqa: E501 - - - :return: The geocoding of this GeocodeResponse. # noqa: E501 - :rtype: object - """ - return self._geocoding - - @geocoding.setter - def geocoding(self, geocoding): - """Sets the geocoding of this GeocodeResponse. - - - :param geocoding: The geocoding of this GeocodeResponse. # noqa: E501 - :type: object - """ - - self._geocoding = geocoding - - @property - def type(self): - """Gets the type of this GeocodeResponse. # noqa: E501 - - - :return: The type of this GeocodeResponse. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this GeocodeResponse. - - - :param type: The type of this GeocodeResponse. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(GeocodeResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, GeocodeResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response200.py b/openrouteservice/models/inline_response200.py deleted file mode 100644 index e0eaa441..00000000 --- a/openrouteservice/models/inline_response200.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse200(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attribution': 'str', - 'geometry': 'InlineResponse200Geometry', - 'timestamp': 'int', - 'version': 'str' - } - - attribute_map = { - 'attribution': 'attribution', - 'geometry': 'geometry', - 'timestamp': 'timestamp', - 'version': 'version' - } - - def __init__(self, attribution=None, geometry=None, timestamp=None, version=None): # noqa: E501 - """InlineResponse200 - a model defined in Swagger""" # noqa: E501 - self._attribution = None - self._geometry = None - self._timestamp = None - self._version = None - self.discriminator = None - if attribution is not None: - self.attribution = attribution - if geometry is not None: - self.geometry = geometry - if timestamp is not None: - self.timestamp = timestamp - if version is not None: - self.version = version - - @property - def attribution(self): - """Gets the attribution of this InlineResponse200. # noqa: E501 - - - :return: The attribution of this InlineResponse200. # noqa: E501 - :rtype: str - """ - return self._attribution - - @attribution.setter - def attribution(self, attribution): - """Sets the attribution of this InlineResponse200. - - - :param attribution: The attribution of this InlineResponse200. # noqa: E501 - :type: str - """ - - self._attribution = attribution - - @property - def geometry(self): - """Gets the geometry of this InlineResponse200. # noqa: E501 - - - :return: The geometry of this InlineResponse200. # noqa: E501 - :rtype: InlineResponse200Geometry - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this InlineResponse200. - - - :param geometry: The geometry of this InlineResponse200. # noqa: E501 - :type: InlineResponse200Geometry - """ - - self._geometry = geometry - - @property - def timestamp(self): - """Gets the timestamp of this InlineResponse200. # noqa: E501 - - - :return: The timestamp of this InlineResponse200. # noqa: E501 - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this InlineResponse200. - - - :param timestamp: The timestamp of this InlineResponse200. # noqa: E501 - :type: int - """ - - self._timestamp = timestamp - - @property - def version(self): - """Gets the version of this InlineResponse200. # noqa: E501 - - - :return: The version of this InlineResponse200. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this InlineResponse200. - - - :param version: The version of this InlineResponse200. # noqa: E501 - :type: str - """ - - self._version = version - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse200, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse200): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2001.py b/openrouteservice/models/inline_response2001.py deleted file mode 100644 index 95673a1e..00000000 --- a/openrouteservice/models/inline_response2001.py +++ /dev/null @@ -1,188 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2001(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attribution': 'str', - 'geometry': 'InlineResponse2001Geometry', - 'timestamp': 'int', - 'version': 'str' - } - - attribute_map = { - 'attribution': 'attribution', - 'geometry': 'geometry', - 'timestamp': 'timestamp', - 'version': 'version' - } - - def __init__(self, attribution=None, geometry=None, timestamp=None, version=None): # noqa: E501 - """InlineResponse2001 - a model defined in Swagger""" # noqa: E501 - self._attribution = None - self._geometry = None - self._timestamp = None - self._version = None - self.discriminator = None - if attribution is not None: - self.attribution = attribution - if geometry is not None: - self.geometry = geometry - if timestamp is not None: - self.timestamp = timestamp - if version is not None: - self.version = version - - @property - def attribution(self): - """Gets the attribution of this InlineResponse2001. # noqa: E501 - - - :return: The attribution of this InlineResponse2001. # noqa: E501 - :rtype: str - """ - return self._attribution - - @attribution.setter - def attribution(self, attribution): - """Sets the attribution of this InlineResponse2001. - - - :param attribution: The attribution of this InlineResponse2001. # noqa: E501 - :type: str - """ - - self._attribution = attribution - - @property - def geometry(self): - """Gets the geometry of this InlineResponse2001. # noqa: E501 - - - :return: The geometry of this InlineResponse2001. # noqa: E501 - :rtype: InlineResponse2001Geometry - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this InlineResponse2001. - - - :param geometry: The geometry of this InlineResponse2001. # noqa: E501 - :type: InlineResponse2001Geometry - """ - - self._geometry = geometry - - @property - def timestamp(self): - """Gets the timestamp of this InlineResponse2001. # noqa: E501 - - - :return: The timestamp of this InlineResponse2001. # noqa: E501 - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this InlineResponse2001. - - - :param timestamp: The timestamp of this InlineResponse2001. # noqa: E501 - :type: int - """ - - self._timestamp = timestamp - - @property - def version(self): - """Gets the version of this InlineResponse2001. # noqa: E501 - - - :return: The version of this InlineResponse2001. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this InlineResponse2001. - - - :param version: The version of this InlineResponse2001. # noqa: E501 - :type: str - """ - - self._version = version - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2001, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2001): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2001_geometry.py b/openrouteservice/models/inline_response2001_geometry.py deleted file mode 100644 index 865b972b..00000000 --- a/openrouteservice/models/inline_response2001_geometry.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2001Geometry(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'coordinates': 'list[float]', - 'type': 'str' - } - - attribute_map = { - 'coordinates': 'coordinates', - 'type': 'type' - } - - def __init__(self, coordinates=None, type=None): # noqa: E501 - """InlineResponse2001Geometry - a model defined in Swagger""" # noqa: E501 - self._coordinates = None - self._type = None - self.discriminator = None - if coordinates is not None: - self.coordinates = coordinates - if type is not None: - self.type = type - - @property - def coordinates(self): - """Gets the coordinates of this InlineResponse2001Geometry. # noqa: E501 - - - :return: The coordinates of this InlineResponse2001Geometry. # noqa: E501 - :rtype: list[float] - """ - return self._coordinates - - @coordinates.setter - def coordinates(self, coordinates): - """Sets the coordinates of this InlineResponse2001Geometry. - - - :param coordinates: The coordinates of this InlineResponse2001Geometry. # noqa: E501 - :type: list[float] - """ - - self._coordinates = coordinates - - @property - def type(self): - """Gets the type of this InlineResponse2001Geometry. # noqa: E501 - - - :return: The type of this InlineResponse2001Geometry. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this InlineResponse2001Geometry. - - - :param type: The type of this InlineResponse2001Geometry. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2001Geometry, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2001Geometry): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2002.py b/openrouteservice/models/inline_response2002.py deleted file mode 100644 index 720859eb..00000000 --- a/openrouteservice/models/inline_response2002.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2002(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'int', - 'error': 'str', - 'routes': 'list[InlineResponse2002Routes]', - 'summary': 'InlineResponse2002Summary', - 'unassigned': 'list[InlineResponse2002Unassigned]' - } - - attribute_map = { - 'code': 'code', - 'error': 'error', - 'routes': 'routes', - 'summary': 'summary', - 'unassigned': 'unassigned' - } - - def __init__(self, code=None, error=None, routes=None, summary=None, unassigned=None): # noqa: E501 - """InlineResponse2002 - a model defined in Swagger""" # noqa: E501 - self._code = None - self._error = None - self._routes = None - self._summary = None - self._unassigned = None - self.discriminator = None - if code is not None: - self.code = code - if error is not None: - self.error = error - if routes is not None: - self.routes = routes - if summary is not None: - self.summary = summary - if unassigned is not None: - self.unassigned = unassigned - - @property - def code(self): - """Gets the code of this InlineResponse2002. # noqa: E501 - - status code. Possible values: Value | Status | :-----------: | :-----------: | `0` | no error raised | `1` | internal error | `2` | input error | `3` | routing error | # noqa: E501 - - :return: The code of this InlineResponse2002. # noqa: E501 - :rtype: int - """ - return self._code - - @code.setter - def code(self, code): - """Sets the code of this InlineResponse2002. - - status code. Possible values: Value | Status | :-----------: | :-----------: | `0` | no error raised | `1` | internal error | `2` | input error | `3` | routing error | # noqa: E501 - - :param code: The code of this InlineResponse2002. # noqa: E501 - :type: int - """ - - self._code = code - - @property - def error(self): - """Gets the error of this InlineResponse2002. # noqa: E501 - - error message (present if `code` is different from `0`) # noqa: E501 - - :return: The error of this InlineResponse2002. # noqa: E501 - :rtype: str - """ - return self._error - - @error.setter - def error(self, error): - """Sets the error of this InlineResponse2002. - - error message (present if `code` is different from `0`) # noqa: E501 - - :param error: The error of this InlineResponse2002. # noqa: E501 - :type: str - """ - - self._error = error - - @property - def routes(self): - """Gets the routes of this InlineResponse2002. # noqa: E501 - - array of `route` objects # noqa: E501 - - :return: The routes of this InlineResponse2002. # noqa: E501 - :rtype: list[InlineResponse2002Routes] - """ - return self._routes - - @routes.setter - def routes(self, routes): - """Sets the routes of this InlineResponse2002. - - array of `route` objects # noqa: E501 - - :param routes: The routes of this InlineResponse2002. # noqa: E501 - :type: list[InlineResponse2002Routes] - """ - - self._routes = routes - - @property - def summary(self): - """Gets the summary of this InlineResponse2002. # noqa: E501 - - - :return: The summary of this InlineResponse2002. # noqa: E501 - :rtype: InlineResponse2002Summary - """ - return self._summary - - @summary.setter - def summary(self, summary): - """Sets the summary of this InlineResponse2002. - - - :param summary: The summary of this InlineResponse2002. # noqa: E501 - :type: InlineResponse2002Summary - """ - - self._summary = summary - - @property - def unassigned(self): - """Gets the unassigned of this InlineResponse2002. # noqa: E501 - - array of objects describing unassigned jobs with their `id` and `location` (if provided) # noqa: E501 - - :return: The unassigned of this InlineResponse2002. # noqa: E501 - :rtype: list[InlineResponse2002Unassigned] - """ - return self._unassigned - - @unassigned.setter - def unassigned(self, unassigned): - """Sets the unassigned of this InlineResponse2002. - - array of objects describing unassigned jobs with their `id` and `location` (if provided) # noqa: E501 - - :param unassigned: The unassigned of this InlineResponse2002. # noqa: E501 - :type: list[InlineResponse2002Unassigned] - """ - - self._unassigned = unassigned - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2002, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2002): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2002_routes.py b/openrouteservice/models/inline_response2002_routes.py deleted file mode 100644 index 03688fe7..00000000 --- a/openrouteservice/models/inline_response2002_routes.py +++ /dev/null @@ -1,392 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2002Routes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cost': 'float', - 'delivery': 'list[int]', - 'description': 'str', - 'distance': 'float', - 'duration': 'float', - 'geometry': 'str', - 'pickup': 'list[int]', - 'service': 'float', - 'steps': 'list[InlineResponse2002Steps]', - 'vehicle': 'int', - 'waiting_time': 'float' - } - - attribute_map = { - 'cost': 'cost', - 'delivery': 'delivery', - 'description': 'description', - 'distance': 'distance', - 'duration': 'duration', - 'geometry': 'geometry', - 'pickup': 'pickup', - 'service': 'service', - 'steps': 'steps', - 'vehicle': 'vehicle', - 'waiting_time': 'waiting_time' - } - - def __init__(self, cost=None, delivery=None, description=None, distance=None, duration=None, geometry=None, pickup=None, service=None, steps=None, vehicle=None, waiting_time=None): # noqa: E501 - """InlineResponse2002Routes - a model defined in Swagger""" # noqa: E501 - self._cost = None - self._delivery = None - self._description = None - self._distance = None - self._duration = None - self._geometry = None - self._pickup = None - self._service = None - self._steps = None - self._vehicle = None - self._waiting_time = None - self.discriminator = None - if cost is not None: - self.cost = cost - if delivery is not None: - self.delivery = delivery - if description is not None: - self.description = description - if distance is not None: - self.distance = distance - if duration is not None: - self.duration = duration - if geometry is not None: - self.geometry = geometry - if pickup is not None: - self.pickup = pickup - if service is not None: - self.service = service - if steps is not None: - self.steps = steps - if vehicle is not None: - self.vehicle = vehicle - if waiting_time is not None: - self.waiting_time = waiting_time - - @property - def cost(self): - """Gets the cost of this InlineResponse2002Routes. # noqa: E501 - - cost for this route # noqa: E501 - - :return: The cost of this InlineResponse2002Routes. # noqa: E501 - :rtype: float - """ - return self._cost - - @cost.setter - def cost(self, cost): - """Sets the cost of this InlineResponse2002Routes. - - cost for this route # noqa: E501 - - :param cost: The cost of this InlineResponse2002Routes. # noqa: E501 - :type: float - """ - - self._cost = cost - - @property - def delivery(self): - """Gets the delivery of this InlineResponse2002Routes. # noqa: E501 - - Total delivery for tasks in this route # noqa: E501 - - :return: The delivery of this InlineResponse2002Routes. # noqa: E501 - :rtype: list[int] - """ - return self._delivery - - @delivery.setter - def delivery(self, delivery): - """Sets the delivery of this InlineResponse2002Routes. - - Total delivery for tasks in this route # noqa: E501 - - :param delivery: The delivery of this InlineResponse2002Routes. # noqa: E501 - :type: list[int] - """ - - self._delivery = delivery - - @property - def description(self): - """Gets the description of this InlineResponse2002Routes. # noqa: E501 - - vehicle description, if provided in input # noqa: E501 - - :return: The description of this InlineResponse2002Routes. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this InlineResponse2002Routes. - - vehicle description, if provided in input # noqa: E501 - - :param description: The description of this InlineResponse2002Routes. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def distance(self): - """Gets the distance of this InlineResponse2002Routes. # noqa: E501 - - total route distance. Only provided when using the `-g` flag # noqa: E501 - - :return: The distance of this InlineResponse2002Routes. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this InlineResponse2002Routes. - - total route distance. Only provided when using the `-g` flag # noqa: E501 - - :param distance: The distance of this InlineResponse2002Routes. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def duration(self): - """Gets the duration of this InlineResponse2002Routes. # noqa: E501 - - total travel time for this route # noqa: E501 - - :return: The duration of this InlineResponse2002Routes. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this InlineResponse2002Routes. - - total travel time for this route # noqa: E501 - - :param duration: The duration of this InlineResponse2002Routes. # noqa: E501 - :type: float - """ - - self._duration = duration - - @property - def geometry(self): - """Gets the geometry of this InlineResponse2002Routes. # noqa: E501 - - polyline encoded route geometry. Only provided when using the `-g` flag # noqa: E501 - - :return: The geometry of this InlineResponse2002Routes. # noqa: E501 - :rtype: str - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this InlineResponse2002Routes. - - polyline encoded route geometry. Only provided when using the `-g` flag # noqa: E501 - - :param geometry: The geometry of this InlineResponse2002Routes. # noqa: E501 - :type: str - """ - - self._geometry = geometry - - @property - def pickup(self): - """Gets the pickup of this InlineResponse2002Routes. # noqa: E501 - - total pickup for tasks in this route # noqa: E501 - - :return: The pickup of this InlineResponse2002Routes. # noqa: E501 - :rtype: list[int] - """ - return self._pickup - - @pickup.setter - def pickup(self, pickup): - """Sets the pickup of this InlineResponse2002Routes. - - total pickup for tasks in this route # noqa: E501 - - :param pickup: The pickup of this InlineResponse2002Routes. # noqa: E501 - :type: list[int] - """ - - self._pickup = pickup - - @property - def service(self): - """Gets the service of this InlineResponse2002Routes. # noqa: E501 - - total service time for this route # noqa: E501 - - :return: The service of this InlineResponse2002Routes. # noqa: E501 - :rtype: float - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this InlineResponse2002Routes. - - total service time for this route # noqa: E501 - - :param service: The service of this InlineResponse2002Routes. # noqa: E501 - :type: float - """ - - self._service = service - - @property - def steps(self): - """Gets the steps of this InlineResponse2002Routes. # noqa: E501 - - array of `step` objects # noqa: E501 - - :return: The steps of this InlineResponse2002Routes. # noqa: E501 - :rtype: list[InlineResponse2002Steps] - """ - return self._steps - - @steps.setter - def steps(self, steps): - """Sets the steps of this InlineResponse2002Routes. - - array of `step` objects # noqa: E501 - - :param steps: The steps of this InlineResponse2002Routes. # noqa: E501 - :type: list[InlineResponse2002Steps] - """ - - self._steps = steps - - @property - def vehicle(self): - """Gets the vehicle of this InlineResponse2002Routes. # noqa: E501 - - id of the vehicle assigned to this route # noqa: E501 - - :return: The vehicle of this InlineResponse2002Routes. # noqa: E501 - :rtype: int - """ - return self._vehicle - - @vehicle.setter - def vehicle(self, vehicle): - """Sets the vehicle of this InlineResponse2002Routes. - - id of the vehicle assigned to this route # noqa: E501 - - :param vehicle: The vehicle of this InlineResponse2002Routes. # noqa: E501 - :type: int - """ - - self._vehicle = vehicle - - @property - def waiting_time(self): - """Gets the waiting_time of this InlineResponse2002Routes. # noqa: E501 - - total waiting time for this route # noqa: E501 - - :return: The waiting_time of this InlineResponse2002Routes. # noqa: E501 - :rtype: float - """ - return self._waiting_time - - @waiting_time.setter - def waiting_time(self, waiting_time): - """Sets the waiting_time of this InlineResponse2002Routes. - - total waiting time for this route # noqa: E501 - - :param waiting_time: The waiting_time of this InlineResponse2002Routes. # noqa: E501 - :type: float - """ - - self._waiting_time = waiting_time - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2002Routes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2002Routes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2002_steps.py b/openrouteservice/models/inline_response2002_steps.py deleted file mode 100644 index 0e2ed5b2..00000000 --- a/openrouteservice/models/inline_response2002_steps.py +++ /dev/null @@ -1,420 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2002Steps(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'arrival': 'float', - 'description': 'str', - 'distance': 'float', - 'duration': 'float', - 'id': 'int', - 'load': 'int', - 'location': 'list[float]', - 'service': 'float', - 'setup': 'float', - 'type': 'str', - 'violations': 'list[InlineResponse2002Violations]', - 'waiting_time': 'float' - } - - attribute_map = { - 'arrival': 'arrival', - 'description': 'description', - 'distance': 'distance', - 'duration': 'duration', - 'id': 'id', - 'load': 'load', - 'location': 'location', - 'service': 'service', - 'setup': 'setup', - 'type': 'type', - 'violations': 'violations', - 'waiting_time': 'waiting_time' - } - - def __init__(self, arrival=None, description=None, distance=None, duration=None, id=None, load=None, location=None, service=None, setup=None, type=None, violations=None, waiting_time=None): # noqa: E501 - """InlineResponse2002Steps - a model defined in Swagger""" # noqa: E501 - self._arrival = None - self._description = None - self._distance = None - self._duration = None - self._id = None - self._load = None - self._location = None - self._service = None - self._setup = None - self._type = None - self._violations = None - self._waiting_time = None - self.discriminator = None - if arrival is not None: - self.arrival = arrival - if description is not None: - self.description = description - if distance is not None: - self.distance = distance - if duration is not None: - self.duration = duration - if id is not None: - self.id = id - if load is not None: - self.load = load - if location is not None: - self.location = location - if service is not None: - self.service = service - if setup is not None: - self.setup = setup - if type is not None: - self.type = type - if violations is not None: - self.violations = violations - if waiting_time is not None: - self.waiting_time = waiting_time - - @property - def arrival(self): - """Gets the arrival of this InlineResponse2002Steps. # noqa: E501 - - estimated time of arrival at this step in seconds # noqa: E501 - - :return: The arrival of this InlineResponse2002Steps. # noqa: E501 - :rtype: float - """ - return self._arrival - - @arrival.setter - def arrival(self, arrival): - """Sets the arrival of this InlineResponse2002Steps. - - estimated time of arrival at this step in seconds # noqa: E501 - - :param arrival: The arrival of this InlineResponse2002Steps. # noqa: E501 - :type: float - """ - - self._arrival = arrival - - @property - def description(self): - """Gets the description of this InlineResponse2002Steps. # noqa: E501 - - step description, if provided in input # noqa: E501 - - :return: The description of this InlineResponse2002Steps. # noqa: E501 - :rtype: str - """ - return self._description - - @description.setter - def description(self, description): - """Sets the description of this InlineResponse2002Steps. - - step description, if provided in input # noqa: E501 - - :param description: The description of this InlineResponse2002Steps. # noqa: E501 - :type: str - """ - - self._description = description - - @property - def distance(self): - """Gets the distance of this InlineResponse2002Steps. # noqa: E501 - - traveled distance upon arrival at this step. Only provided when using the `-g` flag # noqa: E501 - - :return: The distance of this InlineResponse2002Steps. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this InlineResponse2002Steps. - - traveled distance upon arrival at this step. Only provided when using the `-g` flag # noqa: E501 - - :param distance: The distance of this InlineResponse2002Steps. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def duration(self): - """Gets the duration of this InlineResponse2002Steps. # noqa: E501 - - cumulated travel time upon arrival at this step in seconds # noqa: E501 - - :return: The duration of this InlineResponse2002Steps. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this InlineResponse2002Steps. - - cumulated travel time upon arrival at this step in seconds # noqa: E501 - - :param duration: The duration of this InlineResponse2002Steps. # noqa: E501 - :type: float - """ - - self._duration = duration - - @property - def id(self): - """Gets the id of this InlineResponse2002Steps. # noqa: E501 - - id of the task performed at this step, only provided if type value is `job`, `pickup`, `delivery` or `break` # noqa: E501 - - :return: The id of this InlineResponse2002Steps. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this InlineResponse2002Steps. - - id of the task performed at this step, only provided if type value is `job`, `pickup`, `delivery` or `break` # noqa: E501 - - :param id: The id of this InlineResponse2002Steps. # noqa: E501 - :type: int - """ - - self._id = id - - @property - def load(self): - """Gets the load of this InlineResponse2002Steps. # noqa: E501 - - vehicle load after step completion (with capacity constraints) # noqa: E501 - - :return: The load of this InlineResponse2002Steps. # noqa: E501 - :rtype: int - """ - return self._load - - @load.setter - def load(self, load): - """Sets the load of this InlineResponse2002Steps. - - vehicle load after step completion (with capacity constraints) # noqa: E501 - - :param load: The load of this InlineResponse2002Steps. # noqa: E501 - :type: int - """ - - self._load = load - - @property - def location(self): - """Gets the location of this InlineResponse2002Steps. # noqa: E501 - - coordinates array for this step (if provided in input) # noqa: E501 - - :return: The location of this InlineResponse2002Steps. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this InlineResponse2002Steps. - - coordinates array for this step (if provided in input) # noqa: E501 - - :param location: The location of this InlineResponse2002Steps. # noqa: E501 - :type: list[float] - """ - - self._location = location - - @property - def service(self): - """Gets the service of this InlineResponse2002Steps. # noqa: E501 - - service time at this step # noqa: E501 - - :return: The service of this InlineResponse2002Steps. # noqa: E501 - :rtype: float - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this InlineResponse2002Steps. - - service time at this step # noqa: E501 - - :param service: The service of this InlineResponse2002Steps. # noqa: E501 - :type: float - """ - - self._service = service - - @property - def setup(self): - """Gets the setup of this InlineResponse2002Steps. # noqa: E501 - - setup time at this step # noqa: E501 - - :return: The setup of this InlineResponse2002Steps. # noqa: E501 - :rtype: float - """ - return self._setup - - @setup.setter - def setup(self, setup): - """Sets the setup of this InlineResponse2002Steps. - - setup time at this step # noqa: E501 - - :param setup: The setup of this InlineResponse2002Steps. # noqa: E501 - :type: float - """ - - self._setup = setup - - @property - def type(self): - """Gets the type of this InlineResponse2002Steps. # noqa: E501 - - string that is either `start`, `job` or `end` # noqa: E501 - - :return: The type of this InlineResponse2002Steps. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this InlineResponse2002Steps. - - string that is either `start`, `job` or `end` # noqa: E501 - - :param type: The type of this InlineResponse2002Steps. # noqa: E501 - :type: str - """ - - self._type = type - - @property - def violations(self): - """Gets the violations of this InlineResponse2002Steps. # noqa: E501 - - array of violation objects for this step # noqa: E501 - - :return: The violations of this InlineResponse2002Steps. # noqa: E501 - :rtype: list[InlineResponse2002Violations] - """ - return self._violations - - @violations.setter - def violations(self, violations): - """Sets the violations of this InlineResponse2002Steps. - - array of violation objects for this step # noqa: E501 - - :param violations: The violations of this InlineResponse2002Steps. # noqa: E501 - :type: list[InlineResponse2002Violations] - """ - - self._violations = violations - - @property - def waiting_time(self): - """Gets the waiting_time of this InlineResponse2002Steps. # noqa: E501 - - waiting time upon arrival at this step, only provided if `type` value is `job` # noqa: E501 - - :return: The waiting_time of this InlineResponse2002Steps. # noqa: E501 - :rtype: float - """ - return self._waiting_time - - @waiting_time.setter - def waiting_time(self, waiting_time): - """Sets the waiting_time of this InlineResponse2002Steps. - - waiting time upon arrival at this step, only provided if `type` value is `job` # noqa: E501 - - :param waiting_time: The waiting_time of this InlineResponse2002Steps. # noqa: E501 - :type: float - """ - - self._waiting_time = waiting_time - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2002Steps, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2002Steps): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2002_summary.py b/openrouteservice/models/inline_response2002_summary.py deleted file mode 100644 index f936282c..00000000 --- a/openrouteservice/models/inline_response2002_summary.py +++ /dev/null @@ -1,420 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2002Summary(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cost': 'float', - 'delivery': 'float', - 'distance': 'float', - 'duration': 'float', - 'pickup': 'float', - 'priority': 'float', - 'routes': 'float', - 'service': 'float', - 'setup': 'float', - 'unassigned': 'int', - 'violations': 'list[InlineResponse2002Violations]', - 'waiting_time': 'float' - } - - attribute_map = { - 'cost': 'cost', - 'delivery': 'delivery', - 'distance': 'distance', - 'duration': 'duration', - 'pickup': 'pickup', - 'priority': 'priority', - 'routes': 'routes', - 'service': 'service', - 'setup': 'setup', - 'unassigned': 'unassigned', - 'violations': 'violations', - 'waiting_time': 'waiting_time' - } - - def __init__(self, cost=None, delivery=None, distance=None, duration=None, pickup=None, priority=None, routes=None, service=None, setup=None, unassigned=None, violations=None, waiting_time=None): # noqa: E501 - """InlineResponse2002Summary - a model defined in Swagger""" # noqa: E501 - self._cost = None - self._delivery = None - self._distance = None - self._duration = None - self._pickup = None - self._priority = None - self._routes = None - self._service = None - self._setup = None - self._unassigned = None - self._violations = None - self._waiting_time = None - self.discriminator = None - if cost is not None: - self.cost = cost - if delivery is not None: - self.delivery = delivery - if distance is not None: - self.distance = distance - if duration is not None: - self.duration = duration - if pickup is not None: - self.pickup = pickup - if priority is not None: - self.priority = priority - if routes is not None: - self.routes = routes - if service is not None: - self.service = service - if setup is not None: - self.setup = setup - if unassigned is not None: - self.unassigned = unassigned - if violations is not None: - self.violations = violations - if waiting_time is not None: - self.waiting_time = waiting_time - - @property - def cost(self): - """Gets the cost of this InlineResponse2002Summary. # noqa: E501 - - total cost for all routes # noqa: E501 - - :return: The cost of this InlineResponse2002Summary. # noqa: E501 - :rtype: float - """ - return self._cost - - @cost.setter - def cost(self, cost): - """Sets the cost of this InlineResponse2002Summary. - - total cost for all routes # noqa: E501 - - :param cost: The cost of this InlineResponse2002Summary. # noqa: E501 - :type: float - """ - - self._cost = cost - - @property - def delivery(self): - """Gets the delivery of this InlineResponse2002Summary. # noqa: E501 - - Total delivery for all routes # noqa: E501 - - :return: The delivery of this InlineResponse2002Summary. # noqa: E501 - :rtype: float - """ - return self._delivery - - @delivery.setter - def delivery(self, delivery): - """Sets the delivery of this InlineResponse2002Summary. - - Total delivery for all routes # noqa: E501 - - :param delivery: The delivery of this InlineResponse2002Summary. # noqa: E501 - :type: float - """ - - self._delivery = delivery - - @property - def distance(self): - """Gets the distance of this InlineResponse2002Summary. # noqa: E501 - - total distance for all routes. Only provided when using the `-g` flag with `OSRM` # noqa: E501 - - :return: The distance of this InlineResponse2002Summary. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this InlineResponse2002Summary. - - total distance for all routes. Only provided when using the `-g` flag with `OSRM` # noqa: E501 - - :param distance: The distance of this InlineResponse2002Summary. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def duration(self): - """Gets the duration of this InlineResponse2002Summary. # noqa: E501 - - total travel time for all routes # noqa: E501 - - :return: The duration of this InlineResponse2002Summary. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this InlineResponse2002Summary. - - total travel time for all routes # noqa: E501 - - :param duration: The duration of this InlineResponse2002Summary. # noqa: E501 - :type: float - """ - - self._duration = duration - - @property - def pickup(self): - """Gets the pickup of this InlineResponse2002Summary. # noqa: E501 - - Total pickup for all routes # noqa: E501 - - :return: The pickup of this InlineResponse2002Summary. # noqa: E501 - :rtype: float - """ - return self._pickup - - @pickup.setter - def pickup(self, pickup): - """Sets the pickup of this InlineResponse2002Summary. - - Total pickup for all routes # noqa: E501 - - :param pickup: The pickup of this InlineResponse2002Summary. # noqa: E501 - :type: float - """ - - self._pickup = pickup - - @property - def priority(self): - """Gets the priority of this InlineResponse2002Summary. # noqa: E501 - - total priority sum for all assigned tasks # noqa: E501 - - :return: The priority of this InlineResponse2002Summary. # noqa: E501 - :rtype: float - """ - return self._priority - - @priority.setter - def priority(self, priority): - """Sets the priority of this InlineResponse2002Summary. - - total priority sum for all assigned tasks # noqa: E501 - - :param priority: The priority of this InlineResponse2002Summary. # noqa: E501 - :type: float - """ - - self._priority = priority - - @property - def routes(self): - """Gets the routes of this InlineResponse2002Summary. # noqa: E501 - - Number of routes in the solution # noqa: E501 - - :return: The routes of this InlineResponse2002Summary. # noqa: E501 - :rtype: float - """ - return self._routes - - @routes.setter - def routes(self, routes): - """Sets the routes of this InlineResponse2002Summary. - - Number of routes in the solution # noqa: E501 - - :param routes: The routes of this InlineResponse2002Summary. # noqa: E501 - :type: float - """ - - self._routes = routes - - @property - def service(self): - """Gets the service of this InlineResponse2002Summary. # noqa: E501 - - total service time for all routes # noqa: E501 - - :return: The service of this InlineResponse2002Summary. # noqa: E501 - :rtype: float - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this InlineResponse2002Summary. - - total service time for all routes # noqa: E501 - - :param service: The service of this InlineResponse2002Summary. # noqa: E501 - :type: float - """ - - self._service = service - - @property - def setup(self): - """Gets the setup of this InlineResponse2002Summary. # noqa: E501 - - Total setup time for all routes # noqa: E501 - - :return: The setup of this InlineResponse2002Summary. # noqa: E501 - :rtype: float - """ - return self._setup - - @setup.setter - def setup(self, setup): - """Sets the setup of this InlineResponse2002Summary. - - Total setup time for all routes # noqa: E501 - - :param setup: The setup of this InlineResponse2002Summary. # noqa: E501 - :type: float - """ - - self._setup = setup - - @property - def unassigned(self): - """Gets the unassigned of this InlineResponse2002Summary. # noqa: E501 - - number of jobs that could not be served # noqa: E501 - - :return: The unassigned of this InlineResponse2002Summary. # noqa: E501 - :rtype: int - """ - return self._unassigned - - @unassigned.setter - def unassigned(self, unassigned): - """Sets the unassigned of this InlineResponse2002Summary. - - number of jobs that could not be served # noqa: E501 - - :param unassigned: The unassigned of this InlineResponse2002Summary. # noqa: E501 - :type: int - """ - - self._unassigned = unassigned - - @property - def violations(self): - """Gets the violations of this InlineResponse2002Summary. # noqa: E501 - - array of violation objects for all routes # noqa: E501 - - :return: The violations of this InlineResponse2002Summary. # noqa: E501 - :rtype: list[InlineResponse2002Violations] - """ - return self._violations - - @violations.setter - def violations(self, violations): - """Sets the violations of this InlineResponse2002Summary. - - array of violation objects for all routes # noqa: E501 - - :param violations: The violations of this InlineResponse2002Summary. # noqa: E501 - :type: list[InlineResponse2002Violations] - """ - - self._violations = violations - - @property - def waiting_time(self): - """Gets the waiting_time of this InlineResponse2002Summary. # noqa: E501 - - total waiting time for all routes # noqa: E501 - - :return: The waiting_time of this InlineResponse2002Summary. # noqa: E501 - :rtype: float - """ - return self._waiting_time - - @waiting_time.setter - def waiting_time(self, waiting_time): - """Sets the waiting_time of this InlineResponse2002Summary. - - total waiting time for all routes # noqa: E501 - - :param waiting_time: The waiting_time of this InlineResponse2002Summary. # noqa: E501 - :type: float - """ - - self._waiting_time = waiting_time - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2002Summary, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2002Summary): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2002_unassigned.py b/openrouteservice/models/inline_response2002_unassigned.py deleted file mode 100644 index a0ca920d..00000000 --- a/openrouteservice/models/inline_response2002_unassigned.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2002Unassigned(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'id': 'int', - 'location': 'list[float]' - } - - attribute_map = { - 'id': 'id', - 'location': 'location' - } - - def __init__(self, id=None, location=None): # noqa: E501 - """InlineResponse2002Unassigned - a model defined in Swagger""" # noqa: E501 - self._id = None - self._location = None - self.discriminator = None - if id is not None: - self.id = id - if location is not None: - self.location = location - - @property - def id(self): - """Gets the id of this InlineResponse2002Unassigned. # noqa: E501 - - The `id` of the unassigned job\" # noqa: E501 - - :return: The id of this InlineResponse2002Unassigned. # noqa: E501 - :rtype: int - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this InlineResponse2002Unassigned. - - The `id` of the unassigned job\" # noqa: E501 - - :param id: The id of this InlineResponse2002Unassigned. # noqa: E501 - :type: int - """ - - self._id = id - - @property - def location(self): - """Gets the location of this InlineResponse2002Unassigned. # noqa: E501 - - The `location` of the unassigned job # noqa: E501 - - :return: The location of this InlineResponse2002Unassigned. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this InlineResponse2002Unassigned. - - The `location` of the unassigned job # noqa: E501 - - :param location: The location of this InlineResponse2002Unassigned. # noqa: E501 - :type: list[float] - """ - - self._location = location - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2002Unassigned, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2002Unassigned): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2002_violations.py b/openrouteservice/models/inline_response2002_violations.py deleted file mode 100644 index cff17577..00000000 --- a/openrouteservice/models/inline_response2002_violations.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2002Violations(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'cause': 'str', - 'duration': 'float' - } - - attribute_map = { - 'cause': 'cause', - 'duration': 'duration' - } - - def __init__(self, cause=None, duration=None): # noqa: E501 - """InlineResponse2002Violations - a model defined in Swagger""" # noqa: E501 - self._cause = None - self._duration = None - self.discriminator = None - if cause is not None: - self.cause = cause - if duration is not None: - self.duration = duration - - @property - def cause(self): - """Gets the cause of this InlineResponse2002Violations. # noqa: E501 - - string describing the cause of violation. Possible violation causes are: - \"delay\" if actual service start does not meet a task time window and is late on a time window end - \"lead_time\" if actual service start does not meet a task time window and is early on a time window start - \"load\" if the vehicle load goes over its capacity - \"max_tasks\" if the vehicle has more tasks than its max_tasks value - \"skills\" if the vehicle does not hold all required skills for a task - \"precedence\" if a shipment precedence constraint is not met (pickup without matching delivery, delivery before/without matching pickup) - \"missing_break\" if a vehicle break has been omitted in its custom route - \"max_travel_time\" if the vehicle has more travel time than its max_travel_time value - \"max_load\" if the load during a break exceed its max_load value # noqa: E501 - - :return: The cause of this InlineResponse2002Violations. # noqa: E501 - :rtype: str - """ - return self._cause - - @cause.setter - def cause(self, cause): - """Sets the cause of this InlineResponse2002Violations. - - string describing the cause of violation. Possible violation causes are: - \"delay\" if actual service start does not meet a task time window and is late on a time window end - \"lead_time\" if actual service start does not meet a task time window and is early on a time window start - \"load\" if the vehicle load goes over its capacity - \"max_tasks\" if the vehicle has more tasks than its max_tasks value - \"skills\" if the vehicle does not hold all required skills for a task - \"precedence\" if a shipment precedence constraint is not met (pickup without matching delivery, delivery before/without matching pickup) - \"missing_break\" if a vehicle break has been omitted in its custom route - \"max_travel_time\" if the vehicle has more travel time than its max_travel_time value - \"max_load\" if the load during a break exceed its max_load value # noqa: E501 - - :param cause: The cause of this InlineResponse2002Violations. # noqa: E501 - :type: str - """ - - self._cause = cause - - @property - def duration(self): - """Gets the duration of this InlineResponse2002Violations. # noqa: E501 - - Earliness (resp. lateness) if `cause` is \"lead_time\" (resp \"delay\") # noqa: E501 - - :return: The duration of this InlineResponse2002Violations. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this InlineResponse2002Violations. - - Earliness (resp. lateness) if `cause` is \"lead_time\" (resp \"delay\") # noqa: E501 - - :param duration: The duration of this InlineResponse2002Violations. # noqa: E501 - :type: float - """ - - self._duration = duration - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2002Violations, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2002Violations): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2003.py b/openrouteservice/models/inline_response2003.py deleted file mode 100644 index fdc3c2f5..00000000 --- a/openrouteservice/models/inline_response2003.py +++ /dev/null @@ -1,190 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2003(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bbox': 'list[float]', - 'features': 'list[object]', - 'metadata': 'InlineResponse2003Metadata', - 'type': 'str' - } - - attribute_map = { - 'bbox': 'bbox', - 'features': 'features', - 'metadata': 'metadata', - 'type': 'type' - } - - def __init__(self, bbox=None, features=None, metadata=None, type=None): # noqa: E501 - """InlineResponse2003 - a model defined in Swagger""" # noqa: E501 - self._bbox = None - self._features = None - self._metadata = None - self._type = None - self.discriminator = None - if bbox is not None: - self.bbox = bbox - if features is not None: - self.features = features - if metadata is not None: - self.metadata = metadata - if type is not None: - self.type = type - - @property - def bbox(self): - """Gets the bbox of this InlineResponse2003. # noqa: E501 - - Bounding box that covers all returned routes # noqa: E501 - - :return: The bbox of this InlineResponse2003. # noqa: E501 - :rtype: list[float] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this InlineResponse2003. - - Bounding box that covers all returned routes # noqa: E501 - - :param bbox: The bbox of this InlineResponse2003. # noqa: E501 - :type: list[float] - """ - - self._bbox = bbox - - @property - def features(self): - """Gets the features of this InlineResponse2003. # noqa: E501 - - - :return: The features of this InlineResponse2003. # noqa: E501 - :rtype: list[object] - """ - return self._features - - @features.setter - def features(self, features): - """Sets the features of this InlineResponse2003. - - - :param features: The features of this InlineResponse2003. # noqa: E501 - :type: list[object] - """ - - self._features = features - - @property - def metadata(self): - """Gets the metadata of this InlineResponse2003. # noqa: E501 - - - :return: The metadata of this InlineResponse2003. # noqa: E501 - :rtype: InlineResponse2003Metadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this InlineResponse2003. - - - :param metadata: The metadata of this InlineResponse2003. # noqa: E501 - :type: InlineResponse2003Metadata - """ - - self._metadata = metadata - - @property - def type(self): - """Gets the type of this InlineResponse2003. # noqa: E501 - - - :return: The type of this InlineResponse2003. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this InlineResponse2003. - - - :param type: The type of this InlineResponse2003. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2003, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2003): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2003_metadata.py b/openrouteservice/models/inline_response2003_metadata.py deleted file mode 100644 index 9d19a48a..00000000 --- a/openrouteservice/models/inline_response2003_metadata.py +++ /dev/null @@ -1,304 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2003Metadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attribution': 'str', - 'engine': 'InlineResponse2005MetadataEngine', - 'id': 'str', - 'osm_file_md5_hash': 'str', - 'query': 'DirectionsService1', - 'service': 'str', - 'system_message': 'str', - 'timestamp': 'int' - } - - attribute_map = { - 'attribution': 'attribution', - 'engine': 'engine', - 'id': 'id', - 'osm_file_md5_hash': 'osm_file_md5_hash', - 'query': 'query', - 'service': 'service', - 'system_message': 'system_message', - 'timestamp': 'timestamp' - } - - def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """InlineResponse2003Metadata - a model defined in Swagger""" # noqa: E501 - self._attribution = None - self._engine = None - self._id = None - self._osm_file_md5_hash = None - self._query = None - self._service = None - self._system_message = None - self._timestamp = None - self.discriminator = None - if attribution is not None: - self.attribution = attribution - if engine is not None: - self.engine = engine - if id is not None: - self.id = id - if osm_file_md5_hash is not None: - self.osm_file_md5_hash = osm_file_md5_hash - if query is not None: - self.query = query - if service is not None: - self.service = service - if system_message is not None: - self.system_message = system_message - if timestamp is not None: - self.timestamp = timestamp - - @property - def attribution(self): - """Gets the attribution of this InlineResponse2003Metadata. # noqa: E501 - - Copyright and attribution information # noqa: E501 - - :return: The attribution of this InlineResponse2003Metadata. # noqa: E501 - :rtype: str - """ - return self._attribution - - @attribution.setter - def attribution(self, attribution): - """Sets the attribution of this InlineResponse2003Metadata. - - Copyright and attribution information # noqa: E501 - - :param attribution: The attribution of this InlineResponse2003Metadata. # noqa: E501 - :type: str - """ - - self._attribution = attribution - - @property - def engine(self): - """Gets the engine of this InlineResponse2003Metadata. # noqa: E501 - - - :return: The engine of this InlineResponse2003Metadata. # noqa: E501 - :rtype: InlineResponse2005MetadataEngine - """ - return self._engine - - @engine.setter - def engine(self, engine): - """Sets the engine of this InlineResponse2003Metadata. - - - :param engine: The engine of this InlineResponse2003Metadata. # noqa: E501 - :type: InlineResponse2005MetadataEngine - """ - - self._engine = engine - - @property - def id(self): - """Gets the id of this InlineResponse2003Metadata. # noqa: E501 - - ID of the request (as passed in by the query) # noqa: E501 - - :return: The id of this InlineResponse2003Metadata. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this InlineResponse2003Metadata. - - ID of the request (as passed in by the query) # noqa: E501 - - :param id: The id of this InlineResponse2003Metadata. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this InlineResponse2003Metadata. # noqa: E501 - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :return: The osm_file_md5_hash of this InlineResponse2003Metadata. # noqa: E501 - :rtype: str - """ - return self._osm_file_md5_hash - - @osm_file_md5_hash.setter - def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this InlineResponse2003Metadata. - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :param osm_file_md5_hash: The osm_file_md5_hash of this InlineResponse2003Metadata. # noqa: E501 - :type: str - """ - - self._osm_file_md5_hash = osm_file_md5_hash - - @property - def query(self): - """Gets the query of this InlineResponse2003Metadata. # noqa: E501 - - - :return: The query of this InlineResponse2003Metadata. # noqa: E501 - :rtype: DirectionsService1 - """ - return self._query - - @query.setter - def query(self, query): - """Sets the query of this InlineResponse2003Metadata. - - - :param query: The query of this InlineResponse2003Metadata. # noqa: E501 - :type: DirectionsService1 - """ - - self._query = query - - @property - def service(self): - """Gets the service of this InlineResponse2003Metadata. # noqa: E501 - - The service that was requested # noqa: E501 - - :return: The service of this InlineResponse2003Metadata. # noqa: E501 - :rtype: str - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this InlineResponse2003Metadata. - - The service that was requested # noqa: E501 - - :param service: The service of this InlineResponse2003Metadata. # noqa: E501 - :type: str - """ - - self._service = service - - @property - def system_message(self): - """Gets the system_message of this InlineResponse2003Metadata. # noqa: E501 - - System message # noqa: E501 - - :return: The system_message of this InlineResponse2003Metadata. # noqa: E501 - :rtype: str - """ - return self._system_message - - @system_message.setter - def system_message(self, system_message): - """Sets the system_message of this InlineResponse2003Metadata. - - System message # noqa: E501 - - :param system_message: The system_message of this InlineResponse2003Metadata. # noqa: E501 - :type: str - """ - - self._system_message = system_message - - @property - def timestamp(self): - """Gets the timestamp of this InlineResponse2003Metadata. # noqa: E501 - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :return: The timestamp of this InlineResponse2003Metadata. # noqa: E501 - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this InlineResponse2003Metadata. - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :param timestamp: The timestamp of this InlineResponse2003Metadata. # noqa: E501 - :type: int - """ - - self._timestamp = timestamp - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2003Metadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2003Metadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2004.py b/openrouteservice/models/inline_response2004.py deleted file mode 100644 index 710d8ba3..00000000 --- a/openrouteservice/models/inline_response2004.py +++ /dev/null @@ -1,166 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2004(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bbox': 'list[float]', - 'metadata': 'InlineResponse2003Metadata', - 'routes': 'list[InlineResponse2004Routes]' - } - - attribute_map = { - 'bbox': 'bbox', - 'metadata': 'metadata', - 'routes': 'routes' - } - - def __init__(self, bbox=None, metadata=None, routes=None): # noqa: E501 - """InlineResponse2004 - a model defined in Swagger""" # noqa: E501 - self._bbox = None - self._metadata = None - self._routes = None - self.discriminator = None - if bbox is not None: - self.bbox = bbox - if metadata is not None: - self.metadata = metadata - if routes is not None: - self.routes = routes - - @property - def bbox(self): - """Gets the bbox of this InlineResponse2004. # noqa: E501 - - Bounding box that covers all returned routes # noqa: E501 - - :return: The bbox of this InlineResponse2004. # noqa: E501 - :rtype: list[float] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this InlineResponse2004. - - Bounding box that covers all returned routes # noqa: E501 - - :param bbox: The bbox of this InlineResponse2004. # noqa: E501 - :type: list[float] - """ - - self._bbox = bbox - - @property - def metadata(self): - """Gets the metadata of this InlineResponse2004. # noqa: E501 - - - :return: The metadata of this InlineResponse2004. # noqa: E501 - :rtype: InlineResponse2003Metadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this InlineResponse2004. - - - :param metadata: The metadata of this InlineResponse2004. # noqa: E501 - :type: InlineResponse2003Metadata - """ - - self._metadata = metadata - - @property - def routes(self): - """Gets the routes of this InlineResponse2004. # noqa: E501 - - A list of routes returned from the request # noqa: E501 - - :return: The routes of this InlineResponse2004. # noqa: E501 - :rtype: list[InlineResponse2004Routes] - """ - return self._routes - - @routes.setter - def routes(self, routes): - """Sets the routes of this InlineResponse2004. - - A list of routes returned from the request # noqa: E501 - - :param routes: The routes of this InlineResponse2004. # noqa: E501 - :type: list[InlineResponse2004Routes] - """ - - self._routes = routes - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2004, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2004): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2004_extras.py b/openrouteservice/models/inline_response2004_extras.py deleted file mode 100644 index baed8624..00000000 --- a/openrouteservice/models/inline_response2004_extras.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2004Extras(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'summary': 'list[InlineResponse2004Summary]', - 'values': 'list[list[int]]' - } - - attribute_map = { - 'summary': 'summary', - 'values': 'values' - } - - def __init__(self, summary=None, values=None): # noqa: E501 - """InlineResponse2004Extras - a model defined in Swagger""" # noqa: E501 - self._summary = None - self._values = None - self.discriminator = None - if summary is not None: - self.summary = summary - if values is not None: - self.values = values - - @property - def summary(self): - """Gets the summary of this InlineResponse2004Extras. # noqa: E501 - - List representing the summary of the extra info items. # noqa: E501 - - :return: The summary of this InlineResponse2004Extras. # noqa: E501 - :rtype: list[InlineResponse2004Summary] - """ - return self._summary - - @summary.setter - def summary(self, summary): - """Sets the summary of this InlineResponse2004Extras. - - List representing the summary of the extra info items. # noqa: E501 - - :param summary: The summary of this InlineResponse2004Extras. # noqa: E501 - :type: list[InlineResponse2004Summary] - """ - - self._summary = summary - - @property - def values(self): - """Gets the values of this InlineResponse2004Extras. # noqa: E501 - - A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. # noqa: E501 - - :return: The values of this InlineResponse2004Extras. # noqa: E501 - :rtype: list[list[int]] - """ - return self._values - - @values.setter - def values(self, values): - """Sets the values of this InlineResponse2004Extras. - - A list of values representing a section of the route. The individual values are: Value 1: Indice of the staring point of the geometry for this section, Value 2: Indice of the end point of the geoemetry for this sections, Value 3: [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) assigned to this section. # noqa: E501 - - :param values: The values of this InlineResponse2004Extras. # noqa: E501 - :type: list[list[int]] - """ - - self._values = values - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2004Extras, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2004Extras): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2004_instructions.py b/openrouteservice/models/inline_response2004_instructions.py deleted file mode 100644 index 46dca263..00000000 --- a/openrouteservice/models/inline_response2004_instructions.py +++ /dev/null @@ -1,334 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2004Instructions(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'distance': 'float', - 'duration': 'float', - 'exit_bearings': 'list[int]', - 'exit_number': 'int', - 'instruction': 'str', - 'maneuver': 'InlineResponse2004Maneuver', - 'name': 'str', - 'type': 'int', - 'way_points': 'list[int]' - } - - attribute_map = { - 'distance': 'distance', - 'duration': 'duration', - 'exit_bearings': 'exit_bearings', - 'exit_number': 'exit_number', - 'instruction': 'instruction', - 'maneuver': 'maneuver', - 'name': 'name', - 'type': 'type', - 'way_points': 'way_points' - } - - def __init__(self, distance=None, duration=None, exit_bearings=None, exit_number=None, instruction=None, maneuver=None, name=None, type=None, way_points=None): # noqa: E501 - """InlineResponse2004Instructions - a model defined in Swagger""" # noqa: E501 - self._distance = None - self._duration = None - self._exit_bearings = None - self._exit_number = None - self._instruction = None - self._maneuver = None - self._name = None - self._type = None - self._way_points = None - self.discriminator = None - if distance is not None: - self.distance = distance - if duration is not None: - self.duration = duration - if exit_bearings is not None: - self.exit_bearings = exit_bearings - if exit_number is not None: - self.exit_number = exit_number - if instruction is not None: - self.instruction = instruction - if maneuver is not None: - self.maneuver = maneuver - if name is not None: - self.name = name - if type is not None: - self.type = type - if way_points is not None: - self.way_points = way_points - - @property - def distance(self): - """Gets the distance of this InlineResponse2004Instructions. # noqa: E501 - - The distance for the step in metres. # noqa: E501 - - :return: The distance of this InlineResponse2004Instructions. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this InlineResponse2004Instructions. - - The distance for the step in metres. # noqa: E501 - - :param distance: The distance of this InlineResponse2004Instructions. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def duration(self): - """Gets the duration of this InlineResponse2004Instructions. # noqa: E501 - - The duration for the step in seconds. # noqa: E501 - - :return: The duration of this InlineResponse2004Instructions. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this InlineResponse2004Instructions. - - The duration for the step in seconds. # noqa: E501 - - :param duration: The duration of this InlineResponse2004Instructions. # noqa: E501 - :type: float - """ - - self._duration = duration - - @property - def exit_bearings(self): - """Gets the exit_bearings of this InlineResponse2004Instructions. # noqa: E501 - - Contains the bearing of the entrance and all passed exits in a roundabout. # noqa: E501 - - :return: The exit_bearings of this InlineResponse2004Instructions. # noqa: E501 - :rtype: list[int] - """ - return self._exit_bearings - - @exit_bearings.setter - def exit_bearings(self, exit_bearings): - """Sets the exit_bearings of this InlineResponse2004Instructions. - - Contains the bearing of the entrance and all passed exits in a roundabout. # noqa: E501 - - :param exit_bearings: The exit_bearings of this InlineResponse2004Instructions. # noqa: E501 - :type: list[int] - """ - - self._exit_bearings = exit_bearings - - @property - def exit_number(self): - """Gets the exit_number of this InlineResponse2004Instructions. # noqa: E501 - - Only for roundabouts. Contains the number of the exit to take. # noqa: E501 - - :return: The exit_number of this InlineResponse2004Instructions. # noqa: E501 - :rtype: int - """ - return self._exit_number - - @exit_number.setter - def exit_number(self, exit_number): - """Sets the exit_number of this InlineResponse2004Instructions. - - Only for roundabouts. Contains the number of the exit to take. # noqa: E501 - - :param exit_number: The exit_number of this InlineResponse2004Instructions. # noqa: E501 - :type: int - """ - - self._exit_number = exit_number - - @property - def instruction(self): - """Gets the instruction of this InlineResponse2004Instructions. # noqa: E501 - - The routing instruction text for the step. # noqa: E501 - - :return: The instruction of this InlineResponse2004Instructions. # noqa: E501 - :rtype: str - """ - return self._instruction - - @instruction.setter - def instruction(self, instruction): - """Sets the instruction of this InlineResponse2004Instructions. - - The routing instruction text for the step. # noqa: E501 - - :param instruction: The instruction of this InlineResponse2004Instructions. # noqa: E501 - :type: str - """ - - self._instruction = instruction - - @property - def maneuver(self): - """Gets the maneuver of this InlineResponse2004Instructions. # noqa: E501 - - - :return: The maneuver of this InlineResponse2004Instructions. # noqa: E501 - :rtype: InlineResponse2004Maneuver - """ - return self._maneuver - - @maneuver.setter - def maneuver(self, maneuver): - """Sets the maneuver of this InlineResponse2004Instructions. - - - :param maneuver: The maneuver of this InlineResponse2004Instructions. # noqa: E501 - :type: InlineResponse2004Maneuver - """ - - self._maneuver = maneuver - - @property - def name(self): - """Gets the name of this InlineResponse2004Instructions. # noqa: E501 - - The name of the next street. # noqa: E501 - - :return: The name of this InlineResponse2004Instructions. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this InlineResponse2004Instructions. - - The name of the next street. # noqa: E501 - - :param name: The name of this InlineResponse2004Instructions. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def type(self): - """Gets the type of this InlineResponse2004Instructions. # noqa: E501 - - The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. # noqa: E501 - - :return: The type of this InlineResponse2004Instructions. # noqa: E501 - :rtype: int - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this InlineResponse2004Instructions. - - The [instruction](https://GIScience.github.io/openrouteservice/documentation/Instruction-Types.html) action for symbolisation purposes. # noqa: E501 - - :param type: The type of this InlineResponse2004Instructions. # noqa: E501 - :type: int - """ - - self._type = type - - @property - def way_points(self): - """Gets the way_points of this InlineResponse2004Instructions. # noqa: E501 - - List containing the indices of the steps start- and endpoint corresponding to the *geometry*. # noqa: E501 - - :return: The way_points of this InlineResponse2004Instructions. # noqa: E501 - :rtype: list[int] - """ - return self._way_points - - @way_points.setter - def way_points(self, way_points): - """Sets the way_points of this InlineResponse2004Instructions. - - List containing the indices of the steps start- and endpoint corresponding to the *geometry*. # noqa: E501 - - :param way_points: The way_points of this InlineResponse2004Instructions. # noqa: E501 - :type: list[int] - """ - - self._way_points = way_points - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2004Instructions, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2004Instructions): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2004_legs.py b/openrouteservice/models/inline_response2004_legs.py deleted file mode 100644 index 2984ea70..00000000 --- a/openrouteservice/models/inline_response2004_legs.py +++ /dev/null @@ -1,588 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2004Legs(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'arrival': 'datetime', - 'departure': 'datetime', - 'departure_location': 'str', - 'distance': 'float', - 'duration': 'float', - 'feed_id': 'str', - 'geometry': 'str', - 'instructions': 'list[InlineResponse2004Instructions]', - 'is_in_same_vehicle_as_previous': 'bool', - 'route_desc': 'str', - 'route_id': 'str', - 'route_long_name': 'str', - 'route_short_name': 'str', - 'route_type': 'int', - 'stops': 'list[InlineResponse2004Stops]', - 'trip_headsign': 'str', - 'trip_id': 'str', - 'type': 'str' - } - - attribute_map = { - 'arrival': 'arrival', - 'departure': 'departure', - 'departure_location': 'departure_location', - 'distance': 'distance', - 'duration': 'duration', - 'feed_id': 'feed_id', - 'geometry': 'geometry', - 'instructions': 'instructions', - 'is_in_same_vehicle_as_previous': 'is_in_same_vehicle_as_previous', - 'route_desc': 'route_desc', - 'route_id': 'route_id', - 'route_long_name': 'route_long_name', - 'route_short_name': 'route_short_name', - 'route_type': 'route_type', - 'stops': 'stops', - 'trip_headsign': 'trip_headsign', - 'trip_id': 'trip_id', - 'type': 'type' - } - - def __init__(self, arrival=None, departure=None, departure_location=None, distance=None, duration=None, feed_id=None, geometry=None, instructions=None, is_in_same_vehicle_as_previous=None, route_desc=None, route_id=None, route_long_name=None, route_short_name=None, route_type=None, stops=None, trip_headsign=None, trip_id=None, type=None): # noqa: E501 - """InlineResponse2004Legs - a model defined in Swagger""" # noqa: E501 - self._arrival = None - self._departure = None - self._departure_location = None - self._distance = None - self._duration = None - self._feed_id = None - self._geometry = None - self._instructions = None - self._is_in_same_vehicle_as_previous = None - self._route_desc = None - self._route_id = None - self._route_long_name = None - self._route_short_name = None - self._route_type = None - self._stops = None - self._trip_headsign = None - self._trip_id = None - self._type = None - self.discriminator = None - if arrival is not None: - self.arrival = arrival - if departure is not None: - self.departure = departure - if departure_location is not None: - self.departure_location = departure_location - if distance is not None: - self.distance = distance - if duration is not None: - self.duration = duration - if feed_id is not None: - self.feed_id = feed_id - if geometry is not None: - self.geometry = geometry - if instructions is not None: - self.instructions = instructions - if is_in_same_vehicle_as_previous is not None: - self.is_in_same_vehicle_as_previous = is_in_same_vehicle_as_previous - if route_desc is not None: - self.route_desc = route_desc - if route_id is not None: - self.route_id = route_id - if route_long_name is not None: - self.route_long_name = route_long_name - if route_short_name is not None: - self.route_short_name = route_short_name - if route_type is not None: - self.route_type = route_type - if stops is not None: - self.stops = stops - if trip_headsign is not None: - self.trip_headsign = trip_headsign - if trip_id is not None: - self.trip_id = trip_id - if type is not None: - self.type = type - - @property - def arrival(self): - """Gets the arrival of this InlineResponse2004Legs. # noqa: E501 - - Arrival date and time # noqa: E501 - - :return: The arrival of this InlineResponse2004Legs. # noqa: E501 - :rtype: datetime - """ - return self._arrival - - @arrival.setter - def arrival(self, arrival): - """Sets the arrival of this InlineResponse2004Legs. - - Arrival date and time # noqa: E501 - - :param arrival: The arrival of this InlineResponse2004Legs. # noqa: E501 - :type: datetime - """ - - self._arrival = arrival - - @property - def departure(self): - """Gets the departure of this InlineResponse2004Legs. # noqa: E501 - - Departure date and time # noqa: E501 - - :return: The departure of this InlineResponse2004Legs. # noqa: E501 - :rtype: datetime - """ - return self._departure - - @departure.setter - def departure(self, departure): - """Sets the departure of this InlineResponse2004Legs. - - Departure date and time # noqa: E501 - - :param departure: The departure of this InlineResponse2004Legs. # noqa: E501 - :type: datetime - """ - - self._departure = departure - - @property - def departure_location(self): - """Gets the departure_location of this InlineResponse2004Legs. # noqa: E501 - - The departure location of the leg. # noqa: E501 - - :return: The departure_location of this InlineResponse2004Legs. # noqa: E501 - :rtype: str - """ - return self._departure_location - - @departure_location.setter - def departure_location(self, departure_location): - """Sets the departure_location of this InlineResponse2004Legs. - - The departure location of the leg. # noqa: E501 - - :param departure_location: The departure_location of this InlineResponse2004Legs. # noqa: E501 - :type: str - """ - - self._departure_location = departure_location - - @property - def distance(self): - """Gets the distance of this InlineResponse2004Legs. # noqa: E501 - - The distance for the leg in metres. # noqa: E501 - - :return: The distance of this InlineResponse2004Legs. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this InlineResponse2004Legs. - - The distance for the leg in metres. # noqa: E501 - - :param distance: The distance of this InlineResponse2004Legs. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def duration(self): - """Gets the duration of this InlineResponse2004Legs. # noqa: E501 - - The duration for the leg in seconds. # noqa: E501 - - :return: The duration of this InlineResponse2004Legs. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this InlineResponse2004Legs. - - The duration for the leg in seconds. # noqa: E501 - - :param duration: The duration of this InlineResponse2004Legs. # noqa: E501 - :type: float - """ - - self._duration = duration - - @property - def feed_id(self): - """Gets the feed_id of this InlineResponse2004Legs. # noqa: E501 - - The feed ID this public transport leg based its information from. # noqa: E501 - - :return: The feed_id of this InlineResponse2004Legs. # noqa: E501 - :rtype: str - """ - return self._feed_id - - @feed_id.setter - def feed_id(self, feed_id): - """Sets the feed_id of this InlineResponse2004Legs. - - The feed ID this public transport leg based its information from. # noqa: E501 - - :param feed_id: The feed_id of this InlineResponse2004Legs. # noqa: E501 - :type: str - """ - - self._feed_id = feed_id - - @property - def geometry(self): - """Gets the geometry of this InlineResponse2004Legs. # noqa: E501 - - The geometry of the leg. This is an encoded polyline. # noqa: E501 - - :return: The geometry of this InlineResponse2004Legs. # noqa: E501 - :rtype: str - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this InlineResponse2004Legs. - - The geometry of the leg. This is an encoded polyline. # noqa: E501 - - :param geometry: The geometry of this InlineResponse2004Legs. # noqa: E501 - :type: str - """ - - self._geometry = geometry - - @property - def instructions(self): - """Gets the instructions of this InlineResponse2004Legs. # noqa: E501 - - List containing the specific steps the segment consists of. # noqa: E501 - - :return: The instructions of this InlineResponse2004Legs. # noqa: E501 - :rtype: list[InlineResponse2004Instructions] - """ - return self._instructions - - @instructions.setter - def instructions(self, instructions): - """Sets the instructions of this InlineResponse2004Legs. - - List containing the specific steps the segment consists of. # noqa: E501 - - :param instructions: The instructions of this InlineResponse2004Legs. # noqa: E501 - :type: list[InlineResponse2004Instructions] - """ - - self._instructions = instructions - - @property - def is_in_same_vehicle_as_previous(self): - """Gets the is_in_same_vehicle_as_previous of this InlineResponse2004Legs. # noqa: E501 - - Whether the legs continues in the same vehicle as the previous one. # noqa: E501 - - :return: The is_in_same_vehicle_as_previous of this InlineResponse2004Legs. # noqa: E501 - :rtype: bool - """ - return self._is_in_same_vehicle_as_previous - - @is_in_same_vehicle_as_previous.setter - def is_in_same_vehicle_as_previous(self, is_in_same_vehicle_as_previous): - """Sets the is_in_same_vehicle_as_previous of this InlineResponse2004Legs. - - Whether the legs continues in the same vehicle as the previous one. # noqa: E501 - - :param is_in_same_vehicle_as_previous: The is_in_same_vehicle_as_previous of this InlineResponse2004Legs. # noqa: E501 - :type: bool - """ - - self._is_in_same_vehicle_as_previous = is_in_same_vehicle_as_previous - - @property - def route_desc(self): - """Gets the route_desc of this InlineResponse2004Legs. # noqa: E501 - - The route description of the leg (if provided in the GTFS data set). # noqa: E501 - - :return: The route_desc of this InlineResponse2004Legs. # noqa: E501 - :rtype: str - """ - return self._route_desc - - @route_desc.setter - def route_desc(self, route_desc): - """Sets the route_desc of this InlineResponse2004Legs. - - The route description of the leg (if provided in the GTFS data set). # noqa: E501 - - :param route_desc: The route_desc of this InlineResponse2004Legs. # noqa: E501 - :type: str - """ - - self._route_desc = route_desc - - @property - def route_id(self): - """Gets the route_id of this InlineResponse2004Legs. # noqa: E501 - - The route ID of this public transport leg. # noqa: E501 - - :return: The route_id of this InlineResponse2004Legs. # noqa: E501 - :rtype: str - """ - return self._route_id - - @route_id.setter - def route_id(self, route_id): - """Sets the route_id of this InlineResponse2004Legs. - - The route ID of this public transport leg. # noqa: E501 - - :param route_id: The route_id of this InlineResponse2004Legs. # noqa: E501 - :type: str - """ - - self._route_id = route_id - - @property - def route_long_name(self): - """Gets the route_long_name of this InlineResponse2004Legs. # noqa: E501 - - The public transport route name of the leg. # noqa: E501 - - :return: The route_long_name of this InlineResponse2004Legs. # noqa: E501 - :rtype: str - """ - return self._route_long_name - - @route_long_name.setter - def route_long_name(self, route_long_name): - """Sets the route_long_name of this InlineResponse2004Legs. - - The public transport route name of the leg. # noqa: E501 - - :param route_long_name: The route_long_name of this InlineResponse2004Legs. # noqa: E501 - :type: str - """ - - self._route_long_name = route_long_name - - @property - def route_short_name(self): - """Gets the route_short_name of this InlineResponse2004Legs. # noqa: E501 - - The public transport route name (short version) of the leg. # noqa: E501 - - :return: The route_short_name of this InlineResponse2004Legs. # noqa: E501 - :rtype: str - """ - return self._route_short_name - - @route_short_name.setter - def route_short_name(self, route_short_name): - """Sets the route_short_name of this InlineResponse2004Legs. - - The public transport route name (short version) of the leg. # noqa: E501 - - :param route_short_name: The route_short_name of this InlineResponse2004Legs. # noqa: E501 - :type: str - """ - - self._route_short_name = route_short_name - - @property - def route_type(self): - """Gets the route_type of this InlineResponse2004Legs. # noqa: E501 - - The route type of the leg (if provided in the GTFS data set). # noqa: E501 - - :return: The route_type of this InlineResponse2004Legs. # noqa: E501 - :rtype: int - """ - return self._route_type - - @route_type.setter - def route_type(self, route_type): - """Sets the route_type of this InlineResponse2004Legs. - - The route type of the leg (if provided in the GTFS data set). # noqa: E501 - - :param route_type: The route_type of this InlineResponse2004Legs. # noqa: E501 - :type: int - """ - - self._route_type = route_type - - @property - def stops(self): - """Gets the stops of this InlineResponse2004Legs. # noqa: E501 - - List containing the stops the along the leg. # noqa: E501 - - :return: The stops of this InlineResponse2004Legs. # noqa: E501 - :rtype: list[InlineResponse2004Stops] - """ - return self._stops - - @stops.setter - def stops(self, stops): - """Sets the stops of this InlineResponse2004Legs. - - List containing the stops the along the leg. # noqa: E501 - - :param stops: The stops of this InlineResponse2004Legs. # noqa: E501 - :type: list[InlineResponse2004Stops] - """ - - self._stops = stops - - @property - def trip_headsign(self): - """Gets the trip_headsign of this InlineResponse2004Legs. # noqa: E501 - - The headsign of the public transport vehicle of the leg. # noqa: E501 - - :return: The trip_headsign of this InlineResponse2004Legs. # noqa: E501 - :rtype: str - """ - return self._trip_headsign - - @trip_headsign.setter - def trip_headsign(self, trip_headsign): - """Sets the trip_headsign of this InlineResponse2004Legs. - - The headsign of the public transport vehicle of the leg. # noqa: E501 - - :param trip_headsign: The trip_headsign of this InlineResponse2004Legs. # noqa: E501 - :type: str - """ - - self._trip_headsign = trip_headsign - - @property - def trip_id(self): - """Gets the trip_id of this InlineResponse2004Legs. # noqa: E501 - - The trip ID of this public transport leg. # noqa: E501 - - :return: The trip_id of this InlineResponse2004Legs. # noqa: E501 - :rtype: str - """ - return self._trip_id - - @trip_id.setter - def trip_id(self, trip_id): - """Sets the trip_id of this InlineResponse2004Legs. - - The trip ID of this public transport leg. # noqa: E501 - - :param trip_id: The trip_id of this InlineResponse2004Legs. # noqa: E501 - :type: str - """ - - self._trip_id = trip_id - - @property - def type(self): - """Gets the type of this InlineResponse2004Legs. # noqa: E501 - - The type of the leg, possible values are currently 'walk' and 'pt'. # noqa: E501 - - :return: The type of this InlineResponse2004Legs. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this InlineResponse2004Legs. - - The type of the leg, possible values are currently 'walk' and 'pt'. # noqa: E501 - - :param type: The type of this InlineResponse2004Legs. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2004Legs, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2004Legs): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2004_maneuver.py b/openrouteservice/models/inline_response2004_maneuver.py deleted file mode 100644 index 385b342f..00000000 --- a/openrouteservice/models/inline_response2004_maneuver.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2004Maneuver(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bearing_after': 'int', - 'bearing_before': 'int', - 'location': 'list[float]' - } - - attribute_map = { - 'bearing_after': 'bearing_after', - 'bearing_before': 'bearing_before', - 'location': 'location' - } - - def __init__(self, bearing_after=None, bearing_before=None, location=None): # noqa: E501 - """InlineResponse2004Maneuver - a model defined in Swagger""" # noqa: E501 - self._bearing_after = None - self._bearing_before = None - self._location = None - self.discriminator = None - if bearing_after is not None: - self.bearing_after = bearing_after - if bearing_before is not None: - self.bearing_before = bearing_before - if location is not None: - self.location = location - - @property - def bearing_after(self): - """Gets the bearing_after of this InlineResponse2004Maneuver. # noqa: E501 - - The azimuth angle (in degrees) of the direction right after the maneuver. # noqa: E501 - - :return: The bearing_after of this InlineResponse2004Maneuver. # noqa: E501 - :rtype: int - """ - return self._bearing_after - - @bearing_after.setter - def bearing_after(self, bearing_after): - """Sets the bearing_after of this InlineResponse2004Maneuver. - - The azimuth angle (in degrees) of the direction right after the maneuver. # noqa: E501 - - :param bearing_after: The bearing_after of this InlineResponse2004Maneuver. # noqa: E501 - :type: int - """ - - self._bearing_after = bearing_after - - @property - def bearing_before(self): - """Gets the bearing_before of this InlineResponse2004Maneuver. # noqa: E501 - - The azimuth angle (in degrees) of the direction right before the maneuver. # noqa: E501 - - :return: The bearing_before of this InlineResponse2004Maneuver. # noqa: E501 - :rtype: int - """ - return self._bearing_before - - @bearing_before.setter - def bearing_before(self, bearing_before): - """Sets the bearing_before of this InlineResponse2004Maneuver. - - The azimuth angle (in degrees) of the direction right before the maneuver. # noqa: E501 - - :param bearing_before: The bearing_before of this InlineResponse2004Maneuver. # noqa: E501 - :type: int - """ - - self._bearing_before = bearing_before - - @property - def location(self): - """Gets the location of this InlineResponse2004Maneuver. # noqa: E501 - - The coordinate of the point where a maneuver takes place. # noqa: E501 - - :return: The location of this InlineResponse2004Maneuver. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this InlineResponse2004Maneuver. - - The coordinate of the point where a maneuver takes place. # noqa: E501 - - :param location: The location of this InlineResponse2004Maneuver. # noqa: E501 - :type: list[float] - """ - - self._location = location - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2004Maneuver, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2004Maneuver): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2004_routes.py b/openrouteservice/models/inline_response2004_routes.py deleted file mode 100644 index 4612af42..00000000 --- a/openrouteservice/models/inline_response2004_routes.py +++ /dev/null @@ -1,362 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2004Routes(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'arrival': 'datetime', - 'bbox': 'list[float]', - 'departure': 'datetime', - 'extras': 'dict(str, InlineResponse2004Extras)', - 'geometry': 'str', - 'legs': 'list[InlineResponse2004Legs]', - 'segments': 'list[InlineResponse2004Segments]', - 'summary': 'InlineResponse2004Summary1', - 'warnings': 'list[InlineResponse2004Warnings]', - 'way_points': 'list[int]' - } - - attribute_map = { - 'arrival': 'arrival', - 'bbox': 'bbox', - 'departure': 'departure', - 'extras': 'extras', - 'geometry': 'geometry', - 'legs': 'legs', - 'segments': 'segments', - 'summary': 'summary', - 'warnings': 'warnings', - 'way_points': 'way_points' - } - - def __init__(self, arrival=None, bbox=None, departure=None, extras=None, geometry=None, legs=None, segments=None, summary=None, warnings=None, way_points=None): # noqa: E501 - """InlineResponse2004Routes - a model defined in Swagger""" # noqa: E501 - self._arrival = None - self._bbox = None - self._departure = None - self._extras = None - self._geometry = None - self._legs = None - self._segments = None - self._summary = None - self._warnings = None - self._way_points = None - self.discriminator = None - if arrival is not None: - self.arrival = arrival - if bbox is not None: - self.bbox = bbox - if departure is not None: - self.departure = departure - if extras is not None: - self.extras = extras - if geometry is not None: - self.geometry = geometry - if legs is not None: - self.legs = legs - if segments is not None: - self.segments = segments - if summary is not None: - self.summary = summary - if warnings is not None: - self.warnings = warnings - if way_points is not None: - self.way_points = way_points - - @property - def arrival(self): - """Gets the arrival of this InlineResponse2004Routes. # noqa: E501 - - Arrival date and time # noqa: E501 - - :return: The arrival of this InlineResponse2004Routes. # noqa: E501 - :rtype: datetime - """ - return self._arrival - - @arrival.setter - def arrival(self, arrival): - """Sets the arrival of this InlineResponse2004Routes. - - Arrival date and time # noqa: E501 - - :param arrival: The arrival of this InlineResponse2004Routes. # noqa: E501 - :type: datetime - """ - - self._arrival = arrival - - @property - def bbox(self): - """Gets the bbox of this InlineResponse2004Routes. # noqa: E501 - - A bounding box which contains the entire route # noqa: E501 - - :return: The bbox of this InlineResponse2004Routes. # noqa: E501 - :rtype: list[float] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this InlineResponse2004Routes. - - A bounding box which contains the entire route # noqa: E501 - - :param bbox: The bbox of this InlineResponse2004Routes. # noqa: E501 - :type: list[float] - """ - - self._bbox = bbox - - @property - def departure(self): - """Gets the departure of this InlineResponse2004Routes. # noqa: E501 - - Departure date and time # noqa: E501 - - :return: The departure of this InlineResponse2004Routes. # noqa: E501 - :rtype: datetime - """ - return self._departure - - @departure.setter - def departure(self, departure): - """Sets the departure of this InlineResponse2004Routes. - - Departure date and time # noqa: E501 - - :param departure: The departure of this InlineResponse2004Routes. # noqa: E501 - :type: datetime - """ - - self._departure = departure - - @property - def extras(self): - """Gets the extras of this InlineResponse2004Routes. # noqa: E501 - - List of extra info objects representing the extra info items that were requested for the route. # noqa: E501 - - :return: The extras of this InlineResponse2004Routes. # noqa: E501 - :rtype: dict(str, InlineResponse2004Extras) - """ - return self._extras - - @extras.setter - def extras(self, extras): - """Sets the extras of this InlineResponse2004Routes. - - List of extra info objects representing the extra info items that were requested for the route. # noqa: E501 - - :param extras: The extras of this InlineResponse2004Routes. # noqa: E501 - :type: dict(str, InlineResponse2004Extras) - """ - - self._extras = extras - - @property - def geometry(self): - """Gets the geometry of this InlineResponse2004Routes. # noqa: E501 - - The geometry of the route. For JSON route responses this is an encoded polyline. # noqa: E501 - - :return: The geometry of this InlineResponse2004Routes. # noqa: E501 - :rtype: str - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this InlineResponse2004Routes. - - The geometry of the route. For JSON route responses this is an encoded polyline. # noqa: E501 - - :param geometry: The geometry of this InlineResponse2004Routes. # noqa: E501 - :type: str - """ - - self._geometry = geometry - - @property - def legs(self): - """Gets the legs of this InlineResponse2004Routes. # noqa: E501 - - List containing the legs the route consists of. # noqa: E501 - - :return: The legs of this InlineResponse2004Routes. # noqa: E501 - :rtype: list[InlineResponse2004Legs] - """ - return self._legs - - @legs.setter - def legs(self, legs): - """Sets the legs of this InlineResponse2004Routes. - - List containing the legs the route consists of. # noqa: E501 - - :param legs: The legs of this InlineResponse2004Routes. # noqa: E501 - :type: list[InlineResponse2004Legs] - """ - - self._legs = legs - - @property - def segments(self): - """Gets the segments of this InlineResponse2004Routes. # noqa: E501 - - List containing the segments and its corresponding steps which make up the route. # noqa: E501 - - :return: The segments of this InlineResponse2004Routes. # noqa: E501 - :rtype: list[InlineResponse2004Segments] - """ - return self._segments - - @segments.setter - def segments(self, segments): - """Sets the segments of this InlineResponse2004Routes. - - List containing the segments and its corresponding steps which make up the route. # noqa: E501 - - :param segments: The segments of this InlineResponse2004Routes. # noqa: E501 - :type: list[InlineResponse2004Segments] - """ - - self._segments = segments - - @property - def summary(self): - """Gets the summary of this InlineResponse2004Routes. # noqa: E501 - - - :return: The summary of this InlineResponse2004Routes. # noqa: E501 - :rtype: InlineResponse2004Summary1 - """ - return self._summary - - @summary.setter - def summary(self, summary): - """Sets the summary of this InlineResponse2004Routes. - - - :param summary: The summary of this InlineResponse2004Routes. # noqa: E501 - :type: InlineResponse2004Summary1 - """ - - self._summary = summary - - @property - def warnings(self): - """Gets the warnings of this InlineResponse2004Routes. # noqa: E501 - - List of warnings that have been generated for the route # noqa: E501 - - :return: The warnings of this InlineResponse2004Routes. # noqa: E501 - :rtype: list[InlineResponse2004Warnings] - """ - return self._warnings - - @warnings.setter - def warnings(self, warnings): - """Sets the warnings of this InlineResponse2004Routes. - - List of warnings that have been generated for the route # noqa: E501 - - :param warnings: The warnings of this InlineResponse2004Routes. # noqa: E501 - :type: list[InlineResponse2004Warnings] - """ - - self._warnings = warnings - - @property - def way_points(self): - """Gets the way_points of this InlineResponse2004Routes. # noqa: E501 - - List containing the indices of way points corresponding to the *geometry*. # noqa: E501 - - :return: The way_points of this InlineResponse2004Routes. # noqa: E501 - :rtype: list[int] - """ - return self._way_points - - @way_points.setter - def way_points(self, way_points): - """Sets the way_points of this InlineResponse2004Routes. - - List containing the indices of way points corresponding to the *geometry*. # noqa: E501 - - :param way_points: The way_points of this InlineResponse2004Routes. # noqa: E501 - :type: list[int] - """ - - self._way_points = way_points - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2004Routes, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2004Routes): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2004_segments.py b/openrouteservice/models/inline_response2004_segments.py deleted file mode 100644 index 88c3a458..00000000 --- a/openrouteservice/models/inline_response2004_segments.py +++ /dev/null @@ -1,308 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2004Segments(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ascent': 'float', - 'avgspeed': 'float', - 'descent': 'float', - 'detourfactor': 'float', - 'distance': 'float', - 'duration': 'float', - 'percentage': 'float', - 'steps': 'list[InlineResponse2004Instructions]' - } - - attribute_map = { - 'ascent': 'ascent', - 'avgspeed': 'avgspeed', - 'descent': 'descent', - 'detourfactor': 'detourfactor', - 'distance': 'distance', - 'duration': 'duration', - 'percentage': 'percentage', - 'steps': 'steps' - } - - def __init__(self, ascent=None, avgspeed=None, descent=None, detourfactor=None, distance=None, duration=None, percentage=None, steps=None): # noqa: E501 - """InlineResponse2004Segments - a model defined in Swagger""" # noqa: E501 - self._ascent = None - self._avgspeed = None - self._descent = None - self._detourfactor = None - self._distance = None - self._duration = None - self._percentage = None - self._steps = None - self.discriminator = None - if ascent is not None: - self.ascent = ascent - if avgspeed is not None: - self.avgspeed = avgspeed - if descent is not None: - self.descent = descent - if detourfactor is not None: - self.detourfactor = detourfactor - if distance is not None: - self.distance = distance - if duration is not None: - self.duration = duration - if percentage is not None: - self.percentage = percentage - if steps is not None: - self.steps = steps - - @property - def ascent(self): - """Gets the ascent of this InlineResponse2004Segments. # noqa: E501 - - Contains ascent of this segment in metres. # noqa: E501 - - :return: The ascent of this InlineResponse2004Segments. # noqa: E501 - :rtype: float - """ - return self._ascent - - @ascent.setter - def ascent(self, ascent): - """Sets the ascent of this InlineResponse2004Segments. - - Contains ascent of this segment in metres. # noqa: E501 - - :param ascent: The ascent of this InlineResponse2004Segments. # noqa: E501 - :type: float - """ - - self._ascent = ascent - - @property - def avgspeed(self): - """Gets the avgspeed of this InlineResponse2004Segments. # noqa: E501 - - Contains the average speed of this segment in km/h. # noqa: E501 - - :return: The avgspeed of this InlineResponse2004Segments. # noqa: E501 - :rtype: float - """ - return self._avgspeed - - @avgspeed.setter - def avgspeed(self, avgspeed): - """Sets the avgspeed of this InlineResponse2004Segments. - - Contains the average speed of this segment in km/h. # noqa: E501 - - :param avgspeed: The avgspeed of this InlineResponse2004Segments. # noqa: E501 - :type: float - """ - - self._avgspeed = avgspeed - - @property - def descent(self): - """Gets the descent of this InlineResponse2004Segments. # noqa: E501 - - Contains descent of this segment in metres. # noqa: E501 - - :return: The descent of this InlineResponse2004Segments. # noqa: E501 - :rtype: float - """ - return self._descent - - @descent.setter - def descent(self, descent): - """Sets the descent of this InlineResponse2004Segments. - - Contains descent of this segment in metres. # noqa: E501 - - :param descent: The descent of this InlineResponse2004Segments. # noqa: E501 - :type: float - """ - - self._descent = descent - - @property - def detourfactor(self): - """Gets the detourfactor of this InlineResponse2004Segments. # noqa: E501 - - Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. # noqa: E501 - - :return: The detourfactor of this InlineResponse2004Segments. # noqa: E501 - :rtype: float - """ - return self._detourfactor - - @detourfactor.setter - def detourfactor(self, detourfactor): - """Sets the detourfactor of this InlineResponse2004Segments. - - Contains the deviation compared to a straight line that would have the factor `1`. Double the Distance would be a `2`. # noqa: E501 - - :param detourfactor: The detourfactor of this InlineResponse2004Segments. # noqa: E501 - :type: float - """ - - self._detourfactor = detourfactor - - @property - def distance(self): - """Gets the distance of this InlineResponse2004Segments. # noqa: E501 - - Contains the distance of the segment in specified units. # noqa: E501 - - :return: The distance of this InlineResponse2004Segments. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this InlineResponse2004Segments. - - Contains the distance of the segment in specified units. # noqa: E501 - - :param distance: The distance of this InlineResponse2004Segments. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def duration(self): - """Gets the duration of this InlineResponse2004Segments. # noqa: E501 - - Contains the duration of the segment in seconds. # noqa: E501 - - :return: The duration of this InlineResponse2004Segments. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this InlineResponse2004Segments. - - Contains the duration of the segment in seconds. # noqa: E501 - - :param duration: The duration of this InlineResponse2004Segments. # noqa: E501 - :type: float - """ - - self._duration = duration - - @property - def percentage(self): - """Gets the percentage of this InlineResponse2004Segments. # noqa: E501 - - Contains the proportion of the route in percent. # noqa: E501 - - :return: The percentage of this InlineResponse2004Segments. # noqa: E501 - :rtype: float - """ - return self._percentage - - @percentage.setter - def percentage(self, percentage): - """Sets the percentage of this InlineResponse2004Segments. - - Contains the proportion of the route in percent. # noqa: E501 - - :param percentage: The percentage of this InlineResponse2004Segments. # noqa: E501 - :type: float - """ - - self._percentage = percentage - - @property - def steps(self): - """Gets the steps of this InlineResponse2004Segments. # noqa: E501 - - List containing the specific steps the segment consists of. # noqa: E501 - - :return: The steps of this InlineResponse2004Segments. # noqa: E501 - :rtype: list[InlineResponse2004Instructions] - """ - return self._steps - - @steps.setter - def steps(self, steps): - """Sets the steps of this InlineResponse2004Segments. - - List containing the specific steps the segment consists of. # noqa: E501 - - :param steps: The steps of this InlineResponse2004Segments. # noqa: E501 - :type: list[InlineResponse2004Instructions] - """ - - self._steps = steps - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2004Segments, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2004Segments): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2004_stops.py b/openrouteservice/models/inline_response2004_stops.py deleted file mode 100644 index de33a8d7..00000000 --- a/openrouteservice/models/inline_response2004_stops.py +++ /dev/null @@ -1,392 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2004Stops(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'arrival_cancelled': 'bool', - 'arrival_time': 'datetime', - 'departure_cancelled': 'bool', - 'departure_time': 'datetime', - 'location': 'list[float]', - 'name': 'str', - 'planned_arrival_time': 'datetime', - 'planned_departure_time': 'datetime', - 'predicted_arrival_time': 'datetime', - 'predicted_departure_time': 'datetime', - 'stop_id': 'str' - } - - attribute_map = { - 'arrival_cancelled': 'arrival_cancelled', - 'arrival_time': 'arrival_time', - 'departure_cancelled': 'departure_cancelled', - 'departure_time': 'departure_time', - 'location': 'location', - 'name': 'name', - 'planned_arrival_time': 'planned_arrival_time', - 'planned_departure_time': 'planned_departure_time', - 'predicted_arrival_time': 'predicted_arrival_time', - 'predicted_departure_time': 'predicted_departure_time', - 'stop_id': 'stop_id' - } - - def __init__(self, arrival_cancelled=None, arrival_time=None, departure_cancelled=None, departure_time=None, location=None, name=None, planned_arrival_time=None, planned_departure_time=None, predicted_arrival_time=None, predicted_departure_time=None, stop_id=None): # noqa: E501 - """InlineResponse2004Stops - a model defined in Swagger""" # noqa: E501 - self._arrival_cancelled = None - self._arrival_time = None - self._departure_cancelled = None - self._departure_time = None - self._location = None - self._name = None - self._planned_arrival_time = None - self._planned_departure_time = None - self._predicted_arrival_time = None - self._predicted_departure_time = None - self._stop_id = None - self.discriminator = None - if arrival_cancelled is not None: - self.arrival_cancelled = arrival_cancelled - if arrival_time is not None: - self.arrival_time = arrival_time - if departure_cancelled is not None: - self.departure_cancelled = departure_cancelled - if departure_time is not None: - self.departure_time = departure_time - if location is not None: - self.location = location - if name is not None: - self.name = name - if planned_arrival_time is not None: - self.planned_arrival_time = planned_arrival_time - if planned_departure_time is not None: - self.planned_departure_time = planned_departure_time - if predicted_arrival_time is not None: - self.predicted_arrival_time = predicted_arrival_time - if predicted_departure_time is not None: - self.predicted_departure_time = predicted_departure_time - if stop_id is not None: - self.stop_id = stop_id - - @property - def arrival_cancelled(self): - """Gets the arrival_cancelled of this InlineResponse2004Stops. # noqa: E501 - - Whether arrival at the stop was cancelled. # noqa: E501 - - :return: The arrival_cancelled of this InlineResponse2004Stops. # noqa: E501 - :rtype: bool - """ - return self._arrival_cancelled - - @arrival_cancelled.setter - def arrival_cancelled(self, arrival_cancelled): - """Sets the arrival_cancelled of this InlineResponse2004Stops. - - Whether arrival at the stop was cancelled. # noqa: E501 - - :param arrival_cancelled: The arrival_cancelled of this InlineResponse2004Stops. # noqa: E501 - :type: bool - """ - - self._arrival_cancelled = arrival_cancelled - - @property - def arrival_time(self): - """Gets the arrival_time of this InlineResponse2004Stops. # noqa: E501 - - Arrival time of the stop. # noqa: E501 - - :return: The arrival_time of this InlineResponse2004Stops. # noqa: E501 - :rtype: datetime - """ - return self._arrival_time - - @arrival_time.setter - def arrival_time(self, arrival_time): - """Sets the arrival_time of this InlineResponse2004Stops. - - Arrival time of the stop. # noqa: E501 - - :param arrival_time: The arrival_time of this InlineResponse2004Stops. # noqa: E501 - :type: datetime - """ - - self._arrival_time = arrival_time - - @property - def departure_cancelled(self): - """Gets the departure_cancelled of this InlineResponse2004Stops. # noqa: E501 - - Whether departure at the stop was cancelled. # noqa: E501 - - :return: The departure_cancelled of this InlineResponse2004Stops. # noqa: E501 - :rtype: bool - """ - return self._departure_cancelled - - @departure_cancelled.setter - def departure_cancelled(self, departure_cancelled): - """Sets the departure_cancelled of this InlineResponse2004Stops. - - Whether departure at the stop was cancelled. # noqa: E501 - - :param departure_cancelled: The departure_cancelled of this InlineResponse2004Stops. # noqa: E501 - :type: bool - """ - - self._departure_cancelled = departure_cancelled - - @property - def departure_time(self): - """Gets the departure_time of this InlineResponse2004Stops. # noqa: E501 - - Departure time of the stop. # noqa: E501 - - :return: The departure_time of this InlineResponse2004Stops. # noqa: E501 - :rtype: datetime - """ - return self._departure_time - - @departure_time.setter - def departure_time(self, departure_time): - """Sets the departure_time of this InlineResponse2004Stops. - - Departure time of the stop. # noqa: E501 - - :param departure_time: The departure_time of this InlineResponse2004Stops. # noqa: E501 - :type: datetime - """ - - self._departure_time = departure_time - - @property - def location(self): - """Gets the location of this InlineResponse2004Stops. # noqa: E501 - - The location of the stop. # noqa: E501 - - :return: The location of this InlineResponse2004Stops. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this InlineResponse2004Stops. - - The location of the stop. # noqa: E501 - - :param location: The location of this InlineResponse2004Stops. # noqa: E501 - :type: list[float] - """ - - self._location = location - - @property - def name(self): - """Gets the name of this InlineResponse2004Stops. # noqa: E501 - - The name of the stop. # noqa: E501 - - :return: The name of this InlineResponse2004Stops. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this InlineResponse2004Stops. - - The name of the stop. # noqa: E501 - - :param name: The name of this InlineResponse2004Stops. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def planned_arrival_time(self): - """Gets the planned_arrival_time of this InlineResponse2004Stops. # noqa: E501 - - Planned arrival time of the stop. # noqa: E501 - - :return: The planned_arrival_time of this InlineResponse2004Stops. # noqa: E501 - :rtype: datetime - """ - return self._planned_arrival_time - - @planned_arrival_time.setter - def planned_arrival_time(self, planned_arrival_time): - """Sets the planned_arrival_time of this InlineResponse2004Stops. - - Planned arrival time of the stop. # noqa: E501 - - :param planned_arrival_time: The planned_arrival_time of this InlineResponse2004Stops. # noqa: E501 - :type: datetime - """ - - self._planned_arrival_time = planned_arrival_time - - @property - def planned_departure_time(self): - """Gets the planned_departure_time of this InlineResponse2004Stops. # noqa: E501 - - Planned departure time of the stop. # noqa: E501 - - :return: The planned_departure_time of this InlineResponse2004Stops. # noqa: E501 - :rtype: datetime - """ - return self._planned_departure_time - - @planned_departure_time.setter - def planned_departure_time(self, planned_departure_time): - """Sets the planned_departure_time of this InlineResponse2004Stops. - - Planned departure time of the stop. # noqa: E501 - - :param planned_departure_time: The planned_departure_time of this InlineResponse2004Stops. # noqa: E501 - :type: datetime - """ - - self._planned_departure_time = planned_departure_time - - @property - def predicted_arrival_time(self): - """Gets the predicted_arrival_time of this InlineResponse2004Stops. # noqa: E501 - - Predicted arrival time of the stop. # noqa: E501 - - :return: The predicted_arrival_time of this InlineResponse2004Stops. # noqa: E501 - :rtype: datetime - """ - return self._predicted_arrival_time - - @predicted_arrival_time.setter - def predicted_arrival_time(self, predicted_arrival_time): - """Sets the predicted_arrival_time of this InlineResponse2004Stops. - - Predicted arrival time of the stop. # noqa: E501 - - :param predicted_arrival_time: The predicted_arrival_time of this InlineResponse2004Stops. # noqa: E501 - :type: datetime - """ - - self._predicted_arrival_time = predicted_arrival_time - - @property - def predicted_departure_time(self): - """Gets the predicted_departure_time of this InlineResponse2004Stops. # noqa: E501 - - Predicted departure time of the stop. # noqa: E501 - - :return: The predicted_departure_time of this InlineResponse2004Stops. # noqa: E501 - :rtype: datetime - """ - return self._predicted_departure_time - - @predicted_departure_time.setter - def predicted_departure_time(self, predicted_departure_time): - """Sets the predicted_departure_time of this InlineResponse2004Stops. - - Predicted departure time of the stop. # noqa: E501 - - :param predicted_departure_time: The predicted_departure_time of this InlineResponse2004Stops. # noqa: E501 - :type: datetime - """ - - self._predicted_departure_time = predicted_departure_time - - @property - def stop_id(self): - """Gets the stop_id of this InlineResponse2004Stops. # noqa: E501 - - The ID of the stop. # noqa: E501 - - :return: The stop_id of this InlineResponse2004Stops. # noqa: E501 - :rtype: str - """ - return self._stop_id - - @stop_id.setter - def stop_id(self, stop_id): - """Sets the stop_id of this InlineResponse2004Stops. - - The ID of the stop. # noqa: E501 - - :param stop_id: The stop_id of this InlineResponse2004Stops. # noqa: E501 - :type: str - """ - - self._stop_id = stop_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2004Stops, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2004Stops): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2004_summary.py b/openrouteservice/models/inline_response2004_summary.py deleted file mode 100644 index a556bc58..00000000 --- a/openrouteservice/models/inline_response2004_summary.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2004Summary(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'amount': 'float', - 'distance': 'float', - 'value': 'float' - } - - attribute_map = { - 'amount': 'amount', - 'distance': 'distance', - 'value': 'value' - } - - def __init__(self, amount=None, distance=None, value=None): # noqa: E501 - """InlineResponse2004Summary - a model defined in Swagger""" # noqa: E501 - self._amount = None - self._distance = None - self._value = None - self.discriminator = None - if amount is not None: - self.amount = amount - if distance is not None: - self.distance = distance - if value is not None: - self.value = value - - @property - def amount(self): - """Gets the amount of this InlineResponse2004Summary. # noqa: E501 - - Category percentage of the entire route. # noqa: E501 - - :return: The amount of this InlineResponse2004Summary. # noqa: E501 - :rtype: float - """ - return self._amount - - @amount.setter - def amount(self, amount): - """Sets the amount of this InlineResponse2004Summary. - - Category percentage of the entire route. # noqa: E501 - - :param amount: The amount of this InlineResponse2004Summary. # noqa: E501 - :type: float - """ - - self._amount = amount - - @property - def distance(self): - """Gets the distance of this InlineResponse2004Summary. # noqa: E501 - - Cumulative distance of this value. # noqa: E501 - - :return: The distance of this InlineResponse2004Summary. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this InlineResponse2004Summary. - - Cumulative distance of this value. # noqa: E501 - - :param distance: The distance of this InlineResponse2004Summary. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def value(self): - """Gets the value of this InlineResponse2004Summary. # noqa: E501 - - [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) of a info category. # noqa: E501 - - :return: The value of this InlineResponse2004Summary. # noqa: E501 - :rtype: float - """ - return self._value - - @value.setter - def value(self, value): - """Sets the value of this InlineResponse2004Summary. - - [Value](https://GIScience.github.io/openrouteservice/documentation/extra-info/Extra-Info.html) of a info category. # noqa: E501 - - :param value: The value of this InlineResponse2004Summary. # noqa: E501 - :type: float - """ - - self._value = value - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2004Summary, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2004Summary): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2004_summary1.py b/openrouteservice/models/inline_response2004_summary1.py deleted file mode 100644 index 42553d66..00000000 --- a/openrouteservice/models/inline_response2004_summary1.py +++ /dev/null @@ -1,248 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2004Summary1(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'ascent': 'float', - 'descent': 'float', - 'distance': 'float', - 'duration': 'float', - 'fare': 'int', - 'transfers': 'int' - } - - attribute_map = { - 'ascent': 'ascent', - 'descent': 'descent', - 'distance': 'distance', - 'duration': 'duration', - 'fare': 'fare', - 'transfers': 'transfers' - } - - def __init__(self, ascent=None, descent=None, distance=None, duration=None, fare=None, transfers=None): # noqa: E501 - """InlineResponse2004Summary1 - a model defined in Swagger""" # noqa: E501 - self._ascent = None - self._descent = None - self._distance = None - self._duration = None - self._fare = None - self._transfers = None - self.discriminator = None - if ascent is not None: - self.ascent = ascent - if descent is not None: - self.descent = descent - if distance is not None: - self.distance = distance - if duration is not None: - self.duration = duration - if fare is not None: - self.fare = fare - if transfers is not None: - self.transfers = transfers - - @property - def ascent(self): - """Gets the ascent of this InlineResponse2004Summary1. # noqa: E501 - - Total ascent in meters. # noqa: E501 - - :return: The ascent of this InlineResponse2004Summary1. # noqa: E501 - :rtype: float - """ - return self._ascent - - @ascent.setter - def ascent(self, ascent): - """Sets the ascent of this InlineResponse2004Summary1. - - Total ascent in meters. # noqa: E501 - - :param ascent: The ascent of this InlineResponse2004Summary1. # noqa: E501 - :type: float - """ - - self._ascent = ascent - - @property - def descent(self): - """Gets the descent of this InlineResponse2004Summary1. # noqa: E501 - - Total descent in meters. # noqa: E501 - - :return: The descent of this InlineResponse2004Summary1. # noqa: E501 - :rtype: float - """ - return self._descent - - @descent.setter - def descent(self, descent): - """Sets the descent of this InlineResponse2004Summary1. - - Total descent in meters. # noqa: E501 - - :param descent: The descent of this InlineResponse2004Summary1. # noqa: E501 - :type: float - """ - - self._descent = descent - - @property - def distance(self): - """Gets the distance of this InlineResponse2004Summary1. # noqa: E501 - - Total route distance in specified units. # noqa: E501 - - :return: The distance of this InlineResponse2004Summary1. # noqa: E501 - :rtype: float - """ - return self._distance - - @distance.setter - def distance(self, distance): - """Sets the distance of this InlineResponse2004Summary1. - - Total route distance in specified units. # noqa: E501 - - :param distance: The distance of this InlineResponse2004Summary1. # noqa: E501 - :type: float - """ - - self._distance = distance - - @property - def duration(self): - """Gets the duration of this InlineResponse2004Summary1. # noqa: E501 - - Total duration in seconds. # noqa: E501 - - :return: The duration of this InlineResponse2004Summary1. # noqa: E501 - :rtype: float - """ - return self._duration - - @duration.setter - def duration(self, duration): - """Sets the duration of this InlineResponse2004Summary1. - - Total duration in seconds. # noqa: E501 - - :param duration: The duration of this InlineResponse2004Summary1. # noqa: E501 - :type: float - """ - - self._duration = duration - - @property - def fare(self): - """Gets the fare of this InlineResponse2004Summary1. # noqa: E501 - - - :return: The fare of this InlineResponse2004Summary1. # noqa: E501 - :rtype: int - """ - return self._fare - - @fare.setter - def fare(self, fare): - """Sets the fare of this InlineResponse2004Summary1. - - - :param fare: The fare of this InlineResponse2004Summary1. # noqa: E501 - :type: int - """ - - self._fare = fare - - @property - def transfers(self): - """Gets the transfers of this InlineResponse2004Summary1. # noqa: E501 - - - :return: The transfers of this InlineResponse2004Summary1. # noqa: E501 - :rtype: int - """ - return self._transfers - - @transfers.setter - def transfers(self, transfers): - """Sets the transfers of this InlineResponse2004Summary1. - - - :param transfers: The transfers of this InlineResponse2004Summary1. # noqa: E501 - :type: int - """ - - self._transfers = transfers - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2004Summary1, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2004Summary1): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2004_warnings.py b/openrouteservice/models/inline_response2004_warnings.py deleted file mode 100644 index c0214c33..00000000 --- a/openrouteservice/models/inline_response2004_warnings.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2004Warnings(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'code': 'int', - 'message': 'str' - } - - attribute_map = { - 'code': 'code', - 'message': 'message' - } - - def __init__(self, code=None, message=None): # noqa: E501 - """InlineResponse2004Warnings - a model defined in Swagger""" # noqa: E501 - self._code = None - self._message = None - self.discriminator = None - if code is not None: - self.code = code - if message is not None: - self.message = message - - @property - def code(self): - """Gets the code of this InlineResponse2004Warnings. # noqa: E501 - - Identification code for the warning # noqa: E501 - - :return: The code of this InlineResponse2004Warnings. # noqa: E501 - :rtype: int - """ - return self._code - - @code.setter - def code(self, code): - """Sets the code of this InlineResponse2004Warnings. - - Identification code for the warning # noqa: E501 - - :param code: The code of this InlineResponse2004Warnings. # noqa: E501 - :type: int - """ - - self._code = code - - @property - def message(self): - """Gets the message of this InlineResponse2004Warnings. # noqa: E501 - - The message associated with the warning # noqa: E501 - - :return: The message of this InlineResponse2004Warnings. # noqa: E501 - :rtype: str - """ - return self._message - - @message.setter - def message(self, message): - """Sets the message of this InlineResponse2004Warnings. - - The message associated with the warning # noqa: E501 - - :param message: The message of this InlineResponse2004Warnings. # noqa: E501 - :type: str - """ - - self._message = message - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2004Warnings, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2004Warnings): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2005.py b/openrouteservice/models/inline_response2005.py deleted file mode 100644 index be33215f..00000000 --- a/openrouteservice/models/inline_response2005.py +++ /dev/null @@ -1,190 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2005(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bbox': 'list[float]', - 'features': 'list[InlineResponse2005Features]', - 'metadata': 'InlineResponse2005Metadata', - 'type': 'str' - } - - attribute_map = { - 'bbox': 'bbox', - 'features': 'features', - 'metadata': 'metadata', - 'type': 'type' - } - - def __init__(self, bbox=None, features=None, metadata=None, type=None): # noqa: E501 - """InlineResponse2005 - a model defined in Swagger""" # noqa: E501 - self._bbox = None - self._features = None - self._metadata = None - self._type = None - self.discriminator = None - if bbox is not None: - self.bbox = bbox - if features is not None: - self.features = features - if metadata is not None: - self.metadata = metadata - if type is not None: - self.type = type - - @property - def bbox(self): - """Gets the bbox of this InlineResponse2005. # noqa: E501 - - Bounding box that covers all returned isochrones # noqa: E501 - - :return: The bbox of this InlineResponse2005. # noqa: E501 - :rtype: list[float] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this InlineResponse2005. - - Bounding box that covers all returned isochrones # noqa: E501 - - :param bbox: The bbox of this InlineResponse2005. # noqa: E501 - :type: list[float] - """ - - self._bbox = bbox - - @property - def features(self): - """Gets the features of this InlineResponse2005. # noqa: E501 - - - :return: The features of this InlineResponse2005. # noqa: E501 - :rtype: list[InlineResponse2005Features] - """ - return self._features - - @features.setter - def features(self, features): - """Sets the features of this InlineResponse2005. - - - :param features: The features of this InlineResponse2005. # noqa: E501 - :type: list[InlineResponse2005Features] - """ - - self._features = features - - @property - def metadata(self): - """Gets the metadata of this InlineResponse2005. # noqa: E501 - - - :return: The metadata of this InlineResponse2005. # noqa: E501 - :rtype: InlineResponse2005Metadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this InlineResponse2005. - - - :param metadata: The metadata of this InlineResponse2005. # noqa: E501 - :type: InlineResponse2005Metadata - """ - - self._metadata = metadata - - @property - def type(self): - """Gets the type of this InlineResponse2005. # noqa: E501 - - - :return: The type of this InlineResponse2005. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this InlineResponse2005. - - - :param type: The type of this InlineResponse2005. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2005, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2005): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2005_features.py b/openrouteservice/models/inline_response2005_features.py deleted file mode 100644 index 1b439f6f..00000000 --- a/openrouteservice/models/inline_response2005_features.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2005Features(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'geometry': 'InlineResponse2005Geometry', - 'type': 'str' - } - - attribute_map = { - 'geometry': 'geometry', - 'type': 'type' - } - - def __init__(self, geometry=None, type=None): # noqa: E501 - """InlineResponse2005Features - a model defined in Swagger""" # noqa: E501 - self._geometry = None - self._type = None - self.discriminator = None - if geometry is not None: - self.geometry = geometry - if type is not None: - self.type = type - - @property - def geometry(self): - """Gets the geometry of this InlineResponse2005Features. # noqa: E501 - - - :return: The geometry of this InlineResponse2005Features. # noqa: E501 - :rtype: InlineResponse2005Geometry - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this InlineResponse2005Features. - - - :param geometry: The geometry of this InlineResponse2005Features. # noqa: E501 - :type: InlineResponse2005Geometry - """ - - self._geometry = geometry - - @property - def type(self): - """Gets the type of this InlineResponse2005Features. # noqa: E501 - - - :return: The type of this InlineResponse2005Features. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this InlineResponse2005Features. - - - :param type: The type of this InlineResponse2005Features. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2005Features, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2005Features): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2005_metadata.py b/openrouteservice/models/inline_response2005_metadata.py deleted file mode 100644 index 04a4d31a..00000000 --- a/openrouteservice/models/inline_response2005_metadata.py +++ /dev/null @@ -1,304 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2005Metadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attribution': 'str', - 'engine': 'InlineResponse2005MetadataEngine', - 'id': 'str', - 'osm_file_md5_hash': 'str', - 'query': 'IsochronesProfileBody', - 'service': 'str', - 'system_message': 'str', - 'timestamp': 'int' - } - - attribute_map = { - 'attribution': 'attribution', - 'engine': 'engine', - 'id': 'id', - 'osm_file_md5_hash': 'osm_file_md5_hash', - 'query': 'query', - 'service': 'service', - 'system_message': 'system_message', - 'timestamp': 'timestamp' - } - - def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """InlineResponse2005Metadata - a model defined in Swagger""" # noqa: E501 - self._attribution = None - self._engine = None - self._id = None - self._osm_file_md5_hash = None - self._query = None - self._service = None - self._system_message = None - self._timestamp = None - self.discriminator = None - if attribution is not None: - self.attribution = attribution - if engine is not None: - self.engine = engine - if id is not None: - self.id = id - if osm_file_md5_hash is not None: - self.osm_file_md5_hash = osm_file_md5_hash - if query is not None: - self.query = query - if service is not None: - self.service = service - if system_message is not None: - self.system_message = system_message - if timestamp is not None: - self.timestamp = timestamp - - @property - def attribution(self): - """Gets the attribution of this InlineResponse2005Metadata. # noqa: E501 - - Copyright and attribution information # noqa: E501 - - :return: The attribution of this InlineResponse2005Metadata. # noqa: E501 - :rtype: str - """ - return self._attribution - - @attribution.setter - def attribution(self, attribution): - """Sets the attribution of this InlineResponse2005Metadata. - - Copyright and attribution information # noqa: E501 - - :param attribution: The attribution of this InlineResponse2005Metadata. # noqa: E501 - :type: str - """ - - self._attribution = attribution - - @property - def engine(self): - """Gets the engine of this InlineResponse2005Metadata. # noqa: E501 - - - :return: The engine of this InlineResponse2005Metadata. # noqa: E501 - :rtype: InlineResponse2005MetadataEngine - """ - return self._engine - - @engine.setter - def engine(self, engine): - """Sets the engine of this InlineResponse2005Metadata. - - - :param engine: The engine of this InlineResponse2005Metadata. # noqa: E501 - :type: InlineResponse2005MetadataEngine - """ - - self._engine = engine - - @property - def id(self): - """Gets the id of this InlineResponse2005Metadata. # noqa: E501 - - ID of the request (as passed in by the query) # noqa: E501 - - :return: The id of this InlineResponse2005Metadata. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this InlineResponse2005Metadata. - - ID of the request (as passed in by the query) # noqa: E501 - - :param id: The id of this InlineResponse2005Metadata. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this InlineResponse2005Metadata. # noqa: E501 - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :return: The osm_file_md5_hash of this InlineResponse2005Metadata. # noqa: E501 - :rtype: str - """ - return self._osm_file_md5_hash - - @osm_file_md5_hash.setter - def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this InlineResponse2005Metadata. - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :param osm_file_md5_hash: The osm_file_md5_hash of this InlineResponse2005Metadata. # noqa: E501 - :type: str - """ - - self._osm_file_md5_hash = osm_file_md5_hash - - @property - def query(self): - """Gets the query of this InlineResponse2005Metadata. # noqa: E501 - - - :return: The query of this InlineResponse2005Metadata. # noqa: E501 - :rtype: IsochronesProfileBody - """ - return self._query - - @query.setter - def query(self, query): - """Sets the query of this InlineResponse2005Metadata. - - - :param query: The query of this InlineResponse2005Metadata. # noqa: E501 - :type: IsochronesProfileBody - """ - - self._query = query - - @property - def service(self): - """Gets the service of this InlineResponse2005Metadata. # noqa: E501 - - The service that was requested # noqa: E501 - - :return: The service of this InlineResponse2005Metadata. # noqa: E501 - :rtype: str - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this InlineResponse2005Metadata. - - The service that was requested # noqa: E501 - - :param service: The service of this InlineResponse2005Metadata. # noqa: E501 - :type: str - """ - - self._service = service - - @property - def system_message(self): - """Gets the system_message of this InlineResponse2005Metadata. # noqa: E501 - - System message # noqa: E501 - - :return: The system_message of this InlineResponse2005Metadata. # noqa: E501 - :rtype: str - """ - return self._system_message - - @system_message.setter - def system_message(self, system_message): - """Sets the system_message of this InlineResponse2005Metadata. - - System message # noqa: E501 - - :param system_message: The system_message of this InlineResponse2005Metadata. # noqa: E501 - :type: str - """ - - self._system_message = system_message - - @property - def timestamp(self): - """Gets the timestamp of this InlineResponse2005Metadata. # noqa: E501 - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :return: The timestamp of this InlineResponse2005Metadata. # noqa: E501 - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this InlineResponse2005Metadata. - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :param timestamp: The timestamp of this InlineResponse2005Metadata. # noqa: E501 - :type: int - """ - - self._timestamp = timestamp - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2005Metadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2005Metadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2005_metadata_engine.py b/openrouteservice/models/inline_response2005_metadata_engine.py deleted file mode 100644 index e405cef1..00000000 --- a/openrouteservice/models/inline_response2005_metadata_engine.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2005MetadataEngine(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'build_date': 'str', - 'graph_date': 'str', - 'version': 'str' - } - - attribute_map = { - 'build_date': 'build_date', - 'graph_date': 'graph_date', - 'version': 'version' - } - - def __init__(self, build_date=None, graph_date=None, version=None): # noqa: E501 - """InlineResponse2005MetadataEngine - a model defined in Swagger""" # noqa: E501 - self._build_date = None - self._graph_date = None - self._version = None - self.discriminator = None - if build_date is not None: - self.build_date = build_date - if graph_date is not None: - self.graph_date = graph_date - if version is not None: - self.version = version - - @property - def build_date(self): - """Gets the build_date of this InlineResponse2005MetadataEngine. # noqa: E501 - - The date that the service was last updated # noqa: E501 - - :return: The build_date of this InlineResponse2005MetadataEngine. # noqa: E501 - :rtype: str - """ - return self._build_date - - @build_date.setter - def build_date(self, build_date): - """Sets the build_date of this InlineResponse2005MetadataEngine. - - The date that the service was last updated # noqa: E501 - - :param build_date: The build_date of this InlineResponse2005MetadataEngine. # noqa: E501 - :type: str - """ - - self._build_date = build_date - - @property - def graph_date(self): - """Gets the graph_date of this InlineResponse2005MetadataEngine. # noqa: E501 - - The date that the graph data was last updated # noqa: E501 - - :return: The graph_date of this InlineResponse2005MetadataEngine. # noqa: E501 - :rtype: str - """ - return self._graph_date - - @graph_date.setter - def graph_date(self, graph_date): - """Sets the graph_date of this InlineResponse2005MetadataEngine. - - The date that the graph data was last updated # noqa: E501 - - :param graph_date: The graph_date of this InlineResponse2005MetadataEngine. # noqa: E501 - :type: str - """ - - self._graph_date = graph_date - - @property - def version(self): - """Gets the version of this InlineResponse2005MetadataEngine. # noqa: E501 - - The backend version of the openrouteservice that was queried # noqa: E501 - - :return: The version of this InlineResponse2005MetadataEngine. # noqa: E501 - :rtype: str - """ - return self._version - - @version.setter - def version(self, version): - """Sets the version of this InlineResponse2005MetadataEngine. - - The backend version of the openrouteservice that was queried # noqa: E501 - - :param version: The version of this InlineResponse2005MetadataEngine. # noqa: E501 - :type: str - """ - - self._version = version - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2005MetadataEngine, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2005MetadataEngine): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2006.py b/openrouteservice/models/inline_response2006.py deleted file mode 100644 index 7e0d9c17..00000000 --- a/openrouteservice/models/inline_response2006.py +++ /dev/null @@ -1,222 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2006(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'destinations': 'list[InlineResponse2006Destinations]', - 'distances': 'list[list[float]]', - 'durations': 'list[list[float]]', - 'metadata': 'InlineResponse2006Metadata', - 'sources': 'list[InlineResponse2006Sources]' - } - - attribute_map = { - 'destinations': 'destinations', - 'distances': 'distances', - 'durations': 'durations', - 'metadata': 'metadata', - 'sources': 'sources' - } - - def __init__(self, destinations=None, distances=None, durations=None, metadata=None, sources=None): # noqa: E501 - """InlineResponse2006 - a model defined in Swagger""" # noqa: E501 - self._destinations = None - self._distances = None - self._durations = None - self._metadata = None - self._sources = None - self.discriminator = None - if destinations is not None: - self.destinations = destinations - if distances is not None: - self.distances = distances - if durations is not None: - self.durations = durations - if metadata is not None: - self.metadata = metadata - if sources is not None: - self.sources = sources - - @property - def destinations(self): - """Gets the destinations of this InlineResponse2006. # noqa: E501 - - The individual destinations of the matrix calculations. # noqa: E501 - - :return: The destinations of this InlineResponse2006. # noqa: E501 - :rtype: list[InlineResponse2006Destinations] - """ - return self._destinations - - @destinations.setter - def destinations(self, destinations): - """Sets the destinations of this InlineResponse2006. - - The individual destinations of the matrix calculations. # noqa: E501 - - :param destinations: The destinations of this InlineResponse2006. # noqa: E501 - :type: list[InlineResponse2006Destinations] - """ - - self._destinations = destinations - - @property - def distances(self): - """Gets the distances of this InlineResponse2006. # noqa: E501 - - The distances of the matrix calculations. # noqa: E501 - - :return: The distances of this InlineResponse2006. # noqa: E501 - :rtype: list[list[float]] - """ - return self._distances - - @distances.setter - def distances(self, distances): - """Sets the distances of this InlineResponse2006. - - The distances of the matrix calculations. # noqa: E501 - - :param distances: The distances of this InlineResponse2006. # noqa: E501 - :type: list[list[float]] - """ - - self._distances = distances - - @property - def durations(self): - """Gets the durations of this InlineResponse2006. # noqa: E501 - - The durations of the matrix calculations. # noqa: E501 - - :return: The durations of this InlineResponse2006. # noqa: E501 - :rtype: list[list[float]] - """ - return self._durations - - @durations.setter - def durations(self, durations): - """Sets the durations of this InlineResponse2006. - - The durations of the matrix calculations. # noqa: E501 - - :param durations: The durations of this InlineResponse2006. # noqa: E501 - :type: list[list[float]] - """ - - self._durations = durations - - @property - def metadata(self): - """Gets the metadata of this InlineResponse2006. # noqa: E501 - - - :return: The metadata of this InlineResponse2006. # noqa: E501 - :rtype: InlineResponse2006Metadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this InlineResponse2006. - - - :param metadata: The metadata of this InlineResponse2006. # noqa: E501 - :type: InlineResponse2006Metadata - """ - - self._metadata = metadata - - @property - def sources(self): - """Gets the sources of this InlineResponse2006. # noqa: E501 - - The individual sources of the matrix calculations. # noqa: E501 - - :return: The sources of this InlineResponse2006. # noqa: E501 - :rtype: list[InlineResponse2006Sources] - """ - return self._sources - - @sources.setter - def sources(self, sources): - """Sets the sources of this InlineResponse2006. - - The individual sources of the matrix calculations. # noqa: E501 - - :param sources: The sources of this InlineResponse2006. # noqa: E501 - :type: list[InlineResponse2006Sources] - """ - - self._sources = sources - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2006, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2006): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2006_destinations.py b/openrouteservice/models/inline_response2006_destinations.py deleted file mode 100644 index 228044f9..00000000 --- a/openrouteservice/models/inline_response2006_destinations.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2006Destinations(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'location': 'list[float]', - 'name': 'str', - 'snapped_distance': 'float' - } - - attribute_map = { - 'location': 'location', - 'name': 'name', - 'snapped_distance': 'snapped_distance' - } - - def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 - """InlineResponse2006Destinations - a model defined in Swagger""" # noqa: E501 - self._location = None - self._name = None - self._snapped_distance = None - self.discriminator = None - if location is not None: - self.location = location - if name is not None: - self.name = name - if snapped_distance is not None: - self.snapped_distance = snapped_distance - - @property - def location(self): - """Gets the location of this InlineResponse2006Destinations. # noqa: E501 - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :return: The location of this InlineResponse2006Destinations. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this InlineResponse2006Destinations. - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :param location: The location of this InlineResponse2006Destinations. # noqa: E501 - :type: list[float] - """ - - self._location = location - - @property - def name(self): - """Gets the name of this InlineResponse2006Destinations. # noqa: E501 - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :return: The name of this InlineResponse2006Destinations. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this InlineResponse2006Destinations. - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :param name: The name of this InlineResponse2006Destinations. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def snapped_distance(self): - """Gets the snapped_distance of this InlineResponse2006Destinations. # noqa: E501 - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :return: The snapped_distance of this InlineResponse2006Destinations. # noqa: E501 - :rtype: float - """ - return self._snapped_distance - - @snapped_distance.setter - def snapped_distance(self, snapped_distance): - """Sets the snapped_distance of this InlineResponse2006Destinations. - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :param snapped_distance: The snapped_distance of this InlineResponse2006Destinations. # noqa: E501 - :type: float - """ - - self._snapped_distance = snapped_distance - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2006Destinations, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2006Destinations): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2006_metadata.py b/openrouteservice/models/inline_response2006_metadata.py deleted file mode 100644 index 10c64e96..00000000 --- a/openrouteservice/models/inline_response2006_metadata.py +++ /dev/null @@ -1,304 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2006Metadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attribution': 'str', - 'engine': 'InlineResponse2005MetadataEngine', - 'id': 'str', - 'osm_file_md5_hash': 'str', - 'query': 'MatrixProfileBody', - 'service': 'str', - 'system_message': 'str', - 'timestamp': 'int' - } - - attribute_map = { - 'attribution': 'attribution', - 'engine': 'engine', - 'id': 'id', - 'osm_file_md5_hash': 'osm_file_md5_hash', - 'query': 'query', - 'service': 'service', - 'system_message': 'system_message', - 'timestamp': 'timestamp' - } - - def __init__(self, attribution=None, engine=None, id=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """InlineResponse2006Metadata - a model defined in Swagger""" # noqa: E501 - self._attribution = None - self._engine = None - self._id = None - self._osm_file_md5_hash = None - self._query = None - self._service = None - self._system_message = None - self._timestamp = None - self.discriminator = None - if attribution is not None: - self.attribution = attribution - if engine is not None: - self.engine = engine - if id is not None: - self.id = id - if osm_file_md5_hash is not None: - self.osm_file_md5_hash = osm_file_md5_hash - if query is not None: - self.query = query - if service is not None: - self.service = service - if system_message is not None: - self.system_message = system_message - if timestamp is not None: - self.timestamp = timestamp - - @property - def attribution(self): - """Gets the attribution of this InlineResponse2006Metadata. # noqa: E501 - - Copyright and attribution information # noqa: E501 - - :return: The attribution of this InlineResponse2006Metadata. # noqa: E501 - :rtype: str - """ - return self._attribution - - @attribution.setter - def attribution(self, attribution): - """Sets the attribution of this InlineResponse2006Metadata. - - Copyright and attribution information # noqa: E501 - - :param attribution: The attribution of this InlineResponse2006Metadata. # noqa: E501 - :type: str - """ - - self._attribution = attribution - - @property - def engine(self): - """Gets the engine of this InlineResponse2006Metadata. # noqa: E501 - - - :return: The engine of this InlineResponse2006Metadata. # noqa: E501 - :rtype: InlineResponse2005MetadataEngine - """ - return self._engine - - @engine.setter - def engine(self, engine): - """Sets the engine of this InlineResponse2006Metadata. - - - :param engine: The engine of this InlineResponse2006Metadata. # noqa: E501 - :type: InlineResponse2005MetadataEngine - """ - - self._engine = engine - - @property - def id(self): - """Gets the id of this InlineResponse2006Metadata. # noqa: E501 - - ID of the request (as passed in by the query) # noqa: E501 - - :return: The id of this InlineResponse2006Metadata. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this InlineResponse2006Metadata. - - ID of the request (as passed in by the query) # noqa: E501 - - :param id: The id of this InlineResponse2006Metadata. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this InlineResponse2006Metadata. # noqa: E501 - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :return: The osm_file_md5_hash of this InlineResponse2006Metadata. # noqa: E501 - :rtype: str - """ - return self._osm_file_md5_hash - - @osm_file_md5_hash.setter - def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this InlineResponse2006Metadata. - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :param osm_file_md5_hash: The osm_file_md5_hash of this InlineResponse2006Metadata. # noqa: E501 - :type: str - """ - - self._osm_file_md5_hash = osm_file_md5_hash - - @property - def query(self): - """Gets the query of this InlineResponse2006Metadata. # noqa: E501 - - - :return: The query of this InlineResponse2006Metadata. # noqa: E501 - :rtype: MatrixProfileBody - """ - return self._query - - @query.setter - def query(self, query): - """Sets the query of this InlineResponse2006Metadata. - - - :param query: The query of this InlineResponse2006Metadata. # noqa: E501 - :type: MatrixProfileBody - """ - - self._query = query - - @property - def service(self): - """Gets the service of this InlineResponse2006Metadata. # noqa: E501 - - The service that was requested # noqa: E501 - - :return: The service of this InlineResponse2006Metadata. # noqa: E501 - :rtype: str - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this InlineResponse2006Metadata. - - The service that was requested # noqa: E501 - - :param service: The service of this InlineResponse2006Metadata. # noqa: E501 - :type: str - """ - - self._service = service - - @property - def system_message(self): - """Gets the system_message of this InlineResponse2006Metadata. # noqa: E501 - - System message # noqa: E501 - - :return: The system_message of this InlineResponse2006Metadata. # noqa: E501 - :rtype: str - """ - return self._system_message - - @system_message.setter - def system_message(self, system_message): - """Sets the system_message of this InlineResponse2006Metadata. - - System message # noqa: E501 - - :param system_message: The system_message of this InlineResponse2006Metadata. # noqa: E501 - :type: str - """ - - self._system_message = system_message - - @property - def timestamp(self): - """Gets the timestamp of this InlineResponse2006Metadata. # noqa: E501 - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :return: The timestamp of this InlineResponse2006Metadata. # noqa: E501 - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this InlineResponse2006Metadata. - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :param timestamp: The timestamp of this InlineResponse2006Metadata. # noqa: E501 - :type: int - """ - - self._timestamp = timestamp - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2006Metadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2006Metadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2006_sources.py b/openrouteservice/models/inline_response2006_sources.py deleted file mode 100644 index a7a4a3e0..00000000 --- a/openrouteservice/models/inline_response2006_sources.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2006Sources(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'location': 'list[float]', - 'name': 'str', - 'snapped_distance': 'float' - } - - attribute_map = { - 'location': 'location', - 'name': 'name', - 'snapped_distance': 'snapped_distance' - } - - def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 - """InlineResponse2006Sources - a model defined in Swagger""" # noqa: E501 - self._location = None - self._name = None - self._snapped_distance = None - self.discriminator = None - if location is not None: - self.location = location - if name is not None: - self.name = name - if snapped_distance is not None: - self.snapped_distance = snapped_distance - - @property - def location(self): - """Gets the location of this InlineResponse2006Sources. # noqa: E501 - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :return: The location of this InlineResponse2006Sources. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this InlineResponse2006Sources. - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :param location: The location of this InlineResponse2006Sources. # noqa: E501 - :type: list[float] - """ - - self._location = location - - @property - def name(self): - """Gets the name of this InlineResponse2006Sources. # noqa: E501 - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :return: The name of this InlineResponse2006Sources. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this InlineResponse2006Sources. - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :param name: The name of this InlineResponse2006Sources. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def snapped_distance(self): - """Gets the snapped_distance of this InlineResponse2006Sources. # noqa: E501 - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :return: The snapped_distance of this InlineResponse2006Sources. # noqa: E501 - :rtype: float - """ - return self._snapped_distance - - @snapped_distance.setter - def snapped_distance(self, snapped_distance): - """Sets the snapped_distance of this InlineResponse2006Sources. - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :param snapped_distance: The snapped_distance of this InlineResponse2006Sources. # noqa: E501 - :type: float - """ - - self._snapped_distance = snapped_distance - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2006Sources, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2006Sources): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2007.py b/openrouteservice/models/inline_response2007.py deleted file mode 100644 index 25217860..00000000 --- a/openrouteservice/models/inline_response2007.py +++ /dev/null @@ -1,138 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2007(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'locations': 'list[InlineResponse2007Locations]', - 'metadata': 'InlineResponse2007Metadata' - } - - attribute_map = { - 'locations': 'locations', - 'metadata': 'metadata' - } - - def __init__(self, locations=None, metadata=None): # noqa: E501 - """InlineResponse2007 - a model defined in Swagger""" # noqa: E501 - self._locations = None - self._metadata = None - self.discriminator = None - if locations is not None: - self.locations = locations - if metadata is not None: - self.metadata = metadata - - @property - def locations(self): - """Gets the locations of this InlineResponse2007. # noqa: E501 - - The snapped locations as coordinates and snapping distance. # noqa: E501 - - :return: The locations of this InlineResponse2007. # noqa: E501 - :rtype: list[InlineResponse2007Locations] - """ - return self._locations - - @locations.setter - def locations(self, locations): - """Sets the locations of this InlineResponse2007. - - The snapped locations as coordinates and snapping distance. # noqa: E501 - - :param locations: The locations of this InlineResponse2007. # noqa: E501 - :type: list[InlineResponse2007Locations] - """ - - self._locations = locations - - @property - def metadata(self): - """Gets the metadata of this InlineResponse2007. # noqa: E501 - - - :return: The metadata of this InlineResponse2007. # noqa: E501 - :rtype: InlineResponse2007Metadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this InlineResponse2007. - - - :param metadata: The metadata of this InlineResponse2007. # noqa: E501 - :type: InlineResponse2007Metadata - """ - - self._metadata = metadata - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2007, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2007): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2007_locations.py b/openrouteservice/models/inline_response2007_locations.py deleted file mode 100644 index d67d7adf..00000000 --- a/openrouteservice/models/inline_response2007_locations.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2007Locations(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'location': 'list[float]', - 'name': 'str', - 'snapped_distance': 'float' - } - - attribute_map = { - 'location': 'location', - 'name': 'name', - 'snapped_distance': 'snapped_distance' - } - - def __init__(self, location=None, name=None, snapped_distance=None): # noqa: E501 - """InlineResponse2007Locations - a model defined in Swagger""" # noqa: E501 - self._location = None - self._name = None - self._snapped_distance = None - self.discriminator = None - if location is not None: - self.location = location - if name is not None: - self.name = name - if snapped_distance is not None: - self.snapped_distance = snapped_distance - - @property - def location(self): - """Gets the location of this InlineResponse2007Locations. # noqa: E501 - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :return: The location of this InlineResponse2007Locations. # noqa: E501 - :rtype: list[float] - """ - return self._location - - @location.setter - def location(self, location): - """Sets the location of this InlineResponse2007Locations. - - {longitude},{latitude} coordinates of the closest accessible point on the routing graph # noqa: E501 - - :param location: The location of this InlineResponse2007Locations. # noqa: E501 - :type: list[float] - """ - - self._location = location - - @property - def name(self): - """Gets the name of this InlineResponse2007Locations. # noqa: E501 - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :return: The name of this InlineResponse2007Locations. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this InlineResponse2007Locations. - - Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :param name: The name of this InlineResponse2007Locations. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def snapped_distance(self): - """Gets the snapped_distance of this InlineResponse2007Locations. # noqa: E501 - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :return: The snapped_distance of this InlineResponse2007Locations. # noqa: E501 - :rtype: float - """ - return self._snapped_distance - - @snapped_distance.setter - def snapped_distance(self, snapped_distance): - """Sets the snapped_distance of this InlineResponse2007Locations. - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :param snapped_distance: The snapped_distance of this InlineResponse2007Locations. # noqa: E501 - :type: float - """ - - self._snapped_distance = snapped_distance - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2007Locations, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2007Locations): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2007_metadata.py b/openrouteservice/models/inline_response2007_metadata.py deleted file mode 100644 index bde57dfd..00000000 --- a/openrouteservice/models/inline_response2007_metadata.py +++ /dev/null @@ -1,276 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2007Metadata(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'attribution': 'str', - 'engine': 'InlineResponse2005MetadataEngine', - 'osm_file_md5_hash': 'str', - 'query': 'ProfileJsonBody', - 'service': 'str', - 'system_message': 'str', - 'timestamp': 'int' - } - - attribute_map = { - 'attribution': 'attribution', - 'engine': 'engine', - 'osm_file_md5_hash': 'osm_file_md5_hash', - 'query': 'query', - 'service': 'service', - 'system_message': 'system_message', - 'timestamp': 'timestamp' - } - - def __init__(self, attribution=None, engine=None, osm_file_md5_hash=None, query=None, service=None, system_message=None, timestamp=None): # noqa: E501 - """InlineResponse2007Metadata - a model defined in Swagger""" # noqa: E501 - self._attribution = None - self._engine = None - self._osm_file_md5_hash = None - self._query = None - self._service = None - self._system_message = None - self._timestamp = None - self.discriminator = None - if attribution is not None: - self.attribution = attribution - if engine is not None: - self.engine = engine - if osm_file_md5_hash is not None: - self.osm_file_md5_hash = osm_file_md5_hash - if query is not None: - self.query = query - if service is not None: - self.service = service - if system_message is not None: - self.system_message = system_message - if timestamp is not None: - self.timestamp = timestamp - - @property - def attribution(self): - """Gets the attribution of this InlineResponse2007Metadata. # noqa: E501 - - Copyright and attribution information # noqa: E501 - - :return: The attribution of this InlineResponse2007Metadata. # noqa: E501 - :rtype: str - """ - return self._attribution - - @attribution.setter - def attribution(self, attribution): - """Sets the attribution of this InlineResponse2007Metadata. - - Copyright and attribution information # noqa: E501 - - :param attribution: The attribution of this InlineResponse2007Metadata. # noqa: E501 - :type: str - """ - - self._attribution = attribution - - @property - def engine(self): - """Gets the engine of this InlineResponse2007Metadata. # noqa: E501 - - - :return: The engine of this InlineResponse2007Metadata. # noqa: E501 - :rtype: InlineResponse2005MetadataEngine - """ - return self._engine - - @engine.setter - def engine(self, engine): - """Sets the engine of this InlineResponse2007Metadata. - - - :param engine: The engine of this InlineResponse2007Metadata. # noqa: E501 - :type: InlineResponse2005MetadataEngine - """ - - self._engine = engine - - @property - def osm_file_md5_hash(self): - """Gets the osm_file_md5_hash of this InlineResponse2007Metadata. # noqa: E501 - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :return: The osm_file_md5_hash of this InlineResponse2007Metadata. # noqa: E501 - :rtype: str - """ - return self._osm_file_md5_hash - - @osm_file_md5_hash.setter - def osm_file_md5_hash(self, osm_file_md5_hash): - """Sets the osm_file_md5_hash of this InlineResponse2007Metadata. - - The MD5 hash of the OSM planet file that was used for generating graphs # noqa: E501 - - :param osm_file_md5_hash: The osm_file_md5_hash of this InlineResponse2007Metadata. # noqa: E501 - :type: str - """ - - self._osm_file_md5_hash = osm_file_md5_hash - - @property - def query(self): - """Gets the query of this InlineResponse2007Metadata. # noqa: E501 - - - :return: The query of this InlineResponse2007Metadata. # noqa: E501 - :rtype: ProfileJsonBody - """ - return self._query - - @query.setter - def query(self, query): - """Sets the query of this InlineResponse2007Metadata. - - - :param query: The query of this InlineResponse2007Metadata. # noqa: E501 - :type: ProfileJsonBody - """ - - self._query = query - - @property - def service(self): - """Gets the service of this InlineResponse2007Metadata. # noqa: E501 - - The service that was requested # noqa: E501 - - :return: The service of this InlineResponse2007Metadata. # noqa: E501 - :rtype: str - """ - return self._service - - @service.setter - def service(self, service): - """Sets the service of this InlineResponse2007Metadata. - - The service that was requested # noqa: E501 - - :param service: The service of this InlineResponse2007Metadata. # noqa: E501 - :type: str - """ - - self._service = service - - @property - def system_message(self): - """Gets the system_message of this InlineResponse2007Metadata. # noqa: E501 - - System message # noqa: E501 - - :return: The system_message of this InlineResponse2007Metadata. # noqa: E501 - :rtype: str - """ - return self._system_message - - @system_message.setter - def system_message(self, system_message): - """Sets the system_message of this InlineResponse2007Metadata. - - System message # noqa: E501 - - :param system_message: The system_message of this InlineResponse2007Metadata. # noqa: E501 - :type: str - """ - - self._system_message = system_message - - @property - def timestamp(self): - """Gets the timestamp of this InlineResponse2007Metadata. # noqa: E501 - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :return: The timestamp of this InlineResponse2007Metadata. # noqa: E501 - :rtype: int - """ - return self._timestamp - - @timestamp.setter - def timestamp(self, timestamp): - """Sets the timestamp of this InlineResponse2007Metadata. - - Time that the request was made (UNIX Epoch time) # noqa: E501 - - :param timestamp: The timestamp of this InlineResponse2007Metadata. # noqa: E501 - :type: int - """ - - self._timestamp = timestamp - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2007Metadata, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2007Metadata): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2008.py b/openrouteservice/models/inline_response2008.py deleted file mode 100644 index ea5818aa..00000000 --- a/openrouteservice/models/inline_response2008.py +++ /dev/null @@ -1,194 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2008(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'bbox': 'list[float]', - 'features': 'list[InlineResponse2008Features]', - 'metadata': 'InlineResponse2007Metadata', - 'type': 'str' - } - - attribute_map = { - 'bbox': 'bbox', - 'features': 'features', - 'metadata': 'metadata', - 'type': 'type' - } - - def __init__(self, bbox=None, features=None, metadata=None, type='FeatureCollection'): # noqa: E501 - """InlineResponse2008 - a model defined in Swagger""" # noqa: E501 - self._bbox = None - self._features = None - self._metadata = None - self._type = None - self.discriminator = None - if bbox is not None: - self.bbox = bbox - if features is not None: - self.features = features - if metadata is not None: - self.metadata = metadata - if type is not None: - self.type = type - - @property - def bbox(self): - """Gets the bbox of this InlineResponse2008. # noqa: E501 - - Bounding box that covers all returned snapping points # noqa: E501 - - :return: The bbox of this InlineResponse2008. # noqa: E501 - :rtype: list[float] - """ - return self._bbox - - @bbox.setter - def bbox(self, bbox): - """Sets the bbox of this InlineResponse2008. - - Bounding box that covers all returned snapping points # noqa: E501 - - :param bbox: The bbox of this InlineResponse2008. # noqa: E501 - :type: list[float] - """ - - self._bbox = bbox - - @property - def features(self): - """Gets the features of this InlineResponse2008. # noqa: E501 - - Information about the service and request # noqa: E501 - - :return: The features of this InlineResponse2008. # noqa: E501 - :rtype: list[InlineResponse2008Features] - """ - return self._features - - @features.setter - def features(self, features): - """Sets the features of this InlineResponse2008. - - Information about the service and request # noqa: E501 - - :param features: The features of this InlineResponse2008. # noqa: E501 - :type: list[InlineResponse2008Features] - """ - - self._features = features - - @property - def metadata(self): - """Gets the metadata of this InlineResponse2008. # noqa: E501 - - - :return: The metadata of this InlineResponse2008. # noqa: E501 - :rtype: InlineResponse2007Metadata - """ - return self._metadata - - @metadata.setter - def metadata(self, metadata): - """Sets the metadata of this InlineResponse2008. - - - :param metadata: The metadata of this InlineResponse2008. # noqa: E501 - :type: InlineResponse2007Metadata - """ - - self._metadata = metadata - - @property - def type(self): - """Gets the type of this InlineResponse2008. # noqa: E501 - - GeoJSON type # noqa: E501 - - :return: The type of this InlineResponse2008. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this InlineResponse2008. - - GeoJSON type # noqa: E501 - - :param type: The type of this InlineResponse2008. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2008, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2008): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2008_features.py b/openrouteservice/models/inline_response2008_features.py deleted file mode 100644 index 04b1e203..00000000 --- a/openrouteservice/models/inline_response2008_features.py +++ /dev/null @@ -1,164 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2008Features(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'geometry': 'InlineResponse2008Geometry', - 'properties': 'InlineResponse2008Properties', - 'type': 'str' - } - - attribute_map = { - 'geometry': 'geometry', - 'properties': 'properties', - 'type': 'type' - } - - def __init__(self, geometry=None, properties=None, type='Feature'): # noqa: E501 - """InlineResponse2008Features - a model defined in Swagger""" # noqa: E501 - self._geometry = None - self._properties = None - self._type = None - self.discriminator = None - if geometry is not None: - self.geometry = geometry - if properties is not None: - self.properties = properties - if type is not None: - self.type = type - - @property - def geometry(self): - """Gets the geometry of this InlineResponse2008Features. # noqa: E501 - - - :return: The geometry of this InlineResponse2008Features. # noqa: E501 - :rtype: InlineResponse2008Geometry - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this InlineResponse2008Features. - - - :param geometry: The geometry of this InlineResponse2008Features. # noqa: E501 - :type: InlineResponse2008Geometry - """ - - self._geometry = geometry - - @property - def properties(self): - """Gets the properties of this InlineResponse2008Features. # noqa: E501 - - - :return: The properties of this InlineResponse2008Features. # noqa: E501 - :rtype: InlineResponse2008Properties - """ - return self._properties - - @properties.setter - def properties(self, properties): - """Sets the properties of this InlineResponse2008Features. - - - :param properties: The properties of this InlineResponse2008Features. # noqa: E501 - :type: InlineResponse2008Properties - """ - - self._properties = properties - - @property - def type(self): - """Gets the type of this InlineResponse2008Features. # noqa: E501 - - GeoJSON type # noqa: E501 - - :return: The type of this InlineResponse2008Features. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this InlineResponse2008Features. - - GeoJSON type # noqa: E501 - - :param type: The type of this InlineResponse2008Features. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2008Features, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2008Features): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2008_geometry.py b/openrouteservice/models/inline_response2008_geometry.py deleted file mode 100644 index 19a58619..00000000 --- a/openrouteservice/models/inline_response2008_geometry.py +++ /dev/null @@ -1,140 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2008Geometry(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'coordinates': 'list[float]', - 'type': 'str' - } - - attribute_map = { - 'coordinates': 'coordinates', - 'type': 'type' - } - - def __init__(self, coordinates=None, type='Point'): # noqa: E501 - """InlineResponse2008Geometry - a model defined in Swagger""" # noqa: E501 - self._coordinates = None - self._type = None - self.discriminator = None - if coordinates is not None: - self.coordinates = coordinates - if type is not None: - self.type = type - - @property - def coordinates(self): - """Gets the coordinates of this InlineResponse2008Geometry. # noqa: E501 - - Lon/Lat coordinates of the snapped location # noqa: E501 - - :return: The coordinates of this InlineResponse2008Geometry. # noqa: E501 - :rtype: list[float] - """ - return self._coordinates - - @coordinates.setter - def coordinates(self, coordinates): - """Sets the coordinates of this InlineResponse2008Geometry. - - Lon/Lat coordinates of the snapped location # noqa: E501 - - :param coordinates: The coordinates of this InlineResponse2008Geometry. # noqa: E501 - :type: list[float] - """ - - self._coordinates = coordinates - - @property - def type(self): - """Gets the type of this InlineResponse2008Geometry. # noqa: E501 - - GeoJSON type # noqa: E501 - - :return: The type of this InlineResponse2008Geometry. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this InlineResponse2008Geometry. - - GeoJSON type # noqa: E501 - - :param type: The type of this InlineResponse2008Geometry. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2008Geometry, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2008Geometry): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2008_properties.py b/openrouteservice/models/inline_response2008_properties.py deleted file mode 100644 index 1f52e0c7..00000000 --- a/openrouteservice/models/inline_response2008_properties.py +++ /dev/null @@ -1,168 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse2008Properties(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'name': 'str', - 'snapped_distance': 'float', - 'source_id': 'int' - } - - attribute_map = { - 'name': 'name', - 'snapped_distance': 'snapped_distance', - 'source_id': 'source_id' - } - - def __init__(self, name=None, snapped_distance=None, source_id=None): # noqa: E501 - """InlineResponse2008Properties - a model defined in Swagger""" # noqa: E501 - self._name = None - self._snapped_distance = None - self._source_id = None - self.discriminator = None - if name is not None: - self.name = name - if snapped_distance is not None: - self.snapped_distance = snapped_distance - if source_id is not None: - self.source_id = source_id - - @property - def name(self): - """Gets the name of this InlineResponse2008Properties. # noqa: E501 - - \"Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :return: The name of this InlineResponse2008Properties. # noqa: E501 - :rtype: str - """ - return self._name - - @name.setter - def name(self, name): - """Sets the name of this InlineResponse2008Properties. - - \"Name of the street the closest accessible point is situated on. Only for `resolve_locations=true` and only if name is available. # noqa: E501 - - :param name: The name of this InlineResponse2008Properties. # noqa: E501 - :type: str - """ - - self._name = name - - @property - def snapped_distance(self): - """Gets the snapped_distance of this InlineResponse2008Properties. # noqa: E501 - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :return: The snapped_distance of this InlineResponse2008Properties. # noqa: E501 - :rtype: float - """ - return self._snapped_distance - - @snapped_distance.setter - def snapped_distance(self, snapped_distance): - """Sets the snapped_distance of this InlineResponse2008Properties. - - Distance between the `source/destination` Location and the used point on the routing graph in meters. # noqa: E501 - - :param snapped_distance: The snapped_distance of this InlineResponse2008Properties. # noqa: E501 - :type: float - """ - - self._snapped_distance = snapped_distance - - @property - def source_id(self): - """Gets the source_id of this InlineResponse2008Properties. # noqa: E501 - - Index of the requested location # noqa: E501 - - :return: The source_id of this InlineResponse2008Properties. # noqa: E501 - :rtype: int - """ - return self._source_id - - @source_id.setter - def source_id(self, source_id): - """Sets the source_id of this InlineResponse2008Properties. - - Index of the requested location # noqa: E501 - - :param source_id: The source_id of this InlineResponse2008Properties. # noqa: E501 - :type: int - """ - - self._source_id = source_id - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse2008Properties, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2008Properties): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response200_geometry.py b/openrouteservice/models/inline_response200_geometry.py deleted file mode 100644 index 7f8561e1..00000000 --- a/openrouteservice/models/inline_response200_geometry.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class InlineResponse200Geometry(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'coordinates': 'list[list[float]]', - 'type': 'str' - } - - attribute_map = { - 'coordinates': 'coordinates', - 'type': 'type' - } - - def __init__(self, coordinates=None, type=None): # noqa: E501 - """InlineResponse200Geometry - a model defined in Swagger""" # noqa: E501 - self._coordinates = None - self._type = None - self.discriminator = None - if coordinates is not None: - self.coordinates = coordinates - if type is not None: - self.type = type - - @property - def coordinates(self): - """Gets the coordinates of this InlineResponse200Geometry. # noqa: E501 - - - :return: The coordinates of this InlineResponse200Geometry. # noqa: E501 - :rtype: list[list[float]] - """ - return self._coordinates - - @coordinates.setter - def coordinates(self, coordinates): - """Sets the coordinates of this InlineResponse200Geometry. - - - :param coordinates: The coordinates of this InlineResponse200Geometry. # noqa: E501 - :type: list[list[float]] - """ - - self._coordinates = coordinates - - @property - def type(self): - """Gets the type of this InlineResponse200Geometry. # noqa: E501 - - - :return: The type of this InlineResponse200Geometry. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this InlineResponse200Geometry. - - - :param type: The type of this InlineResponse200Geometry. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(InlineResponse200Geometry, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse200Geometry): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/inline_response2005_geometry.py b/openrouteservice/models/json_response.py similarity index 72% rename from openrouteservice/models/inline_response2005_geometry.py rename to openrouteservice/models/json_response.py index dd3bd304..3bea3522 100644 --- a/openrouteservice/models/inline_response2005_geometry.py +++ b/openrouteservice/models/json_response.py @@ -15,7 +15,7 @@ import six -class InlineResponse2005Geometry(object): +class JSONResponse(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -28,40 +28,14 @@ class InlineResponse2005Geometry(object): and the value is json key in definition. """ swagger_types = { - 'empty': 'bool' } attribute_map = { - 'empty': 'empty' } - def __init__(self, empty=None): # noqa: E501 - """InlineResponse2005Geometry - a model defined in Swagger""" # noqa: E501 - self._empty = None + def __init__(self): # noqa: E501 + """JSONResponse - a model defined in Swagger""" # noqa: E501 self.discriminator = None - if empty is not None: - self.empty = empty - - @property - def empty(self): - """Gets the empty of this InlineResponse2005Geometry. # noqa: E501 - - - :return: The empty of this InlineResponse2005Geometry. # noqa: E501 - :rtype: bool - """ - return self._empty - - @empty.setter - def empty(self, empty): - """Sets the empty of this InlineResponse2005Geometry. - - - :param empty: The empty of this InlineResponse2005Geometry. # noqa: E501 - :type: bool - """ - - self._empty = empty def to_dict(self): """Returns the model properties as a dict""" @@ -84,7 +58,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(InlineResponse2005Geometry, dict): + if issubclass(JSONResponse, dict): for key, value in self.items(): result[key] = value @@ -100,7 +74,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, InlineResponse2005Geometry): + if not isinstance(other, JSONResponse): return False return self.__dict__ == other.__dict__ diff --git a/openrouteservice/models/openpoiservice_poi_response.py b/openrouteservice/models/openpoiservice_poi_response.py deleted file mode 100644 index 3a11919b..00000000 --- a/openrouteservice/models/openpoiservice_poi_response.py +++ /dev/null @@ -1,136 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class OpenpoiservicePoiResponse(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'features': 'list[GeoJSONFeaturesObject]', - 'type': 'str' - } - - attribute_map = { - 'features': 'features', - 'type': 'type' - } - - def __init__(self, features=None, type='FeatureCollection'): # noqa: E501 - """OpenpoiservicePoiResponse - a model defined in Swagger""" # noqa: E501 - self._features = None - self._type = None - self.discriminator = None - if features is not None: - self.features = features - if type is not None: - self.type = type - - @property - def features(self): - """Gets the features of this OpenpoiservicePoiResponse. # noqa: E501 - - - :return: The features of this OpenpoiservicePoiResponse. # noqa: E501 - :rtype: list[GeoJSONFeaturesObject] - """ - return self._features - - @features.setter - def features(self, features): - """Sets the features of this OpenpoiservicePoiResponse. - - - :param features: The features of this OpenpoiservicePoiResponse. # noqa: E501 - :type: list[GeoJSONFeaturesObject] - """ - - self._features = features - - @property - def type(self): - """Gets the type of this OpenpoiservicePoiResponse. # noqa: E501 - - - :return: The type of this OpenpoiservicePoiResponse. # noqa: E501 - :rtype: str - """ - return self._type - - @type.setter - def type(self, type): - """Sets the type of this OpenpoiservicePoiResponse. - - - :param type: The type of this OpenpoiservicePoiResponse. # noqa: E501 - :type: str - """ - - self._type = type - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(OpenpoiservicePoiResponse, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, OpenpoiservicePoiResponse): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other From 643c790b5b4db45b97c28ab71721fa7a0b2ca01f Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Mon, 11 Mar 2024 15:02:21 +0100 Subject: [PATCH 07/38] test: update tests to not use InlineResponse classes --- test/test_directions_service_api.py | 2 +- test/test_elevation_api.py | 6 +++--- test/test_geocode_api.py | 6 +++--- test/test_isochrones_service_api.py | 2 +- test/test_matrix_service_api.py | 2 +- test/test_optimization_api.py | 2 +- test/test_pois_api.py | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/test/test_directions_service_api.py b/test/test_directions_service_api.py index 50043dad..35d1a4a7 100644 --- a/test/test_directions_service_api.py +++ b/test/test_directions_service_api.py @@ -43,7 +43,7 @@ def test_get_geo_json_route(self): ) profile = 'driving-car' response = self.api.get_geo_json_route(body, profile) - self.assertEqual(response.bbox, [8.681423, 49.414599, 8.690123, 49.420514]) + self.assertEqual(response["bbox"], [8.681423, 49.414599, 8.690123, 49.420514]) #def test_get_gpx_route(self): # """Test case for get_gpx_route diff --git a/test/test_elevation_api.py b/test/test_elevation_api.py index 8aa84390..39caf814 100644 --- a/test/test_elevation_api.py +++ b/test/test_elevation_api.py @@ -43,7 +43,7 @@ def test_elevation_line_post(self): geometry="u`rgFswjpAKD" ) response = self.api.elevation_line_post(body) - self.assertEqual(response.geometry.coordinates[0], [13.3313, 38.10843, 72.0]) + self.assertEqual(response["geometry"]["coordinates"][0], [13.3313, 38.10843, 72.0]) def test_elevation_point_get(self): """Test case for elevation_point_get @@ -51,7 +51,7 @@ def test_elevation_point_get(self): Elevation Point Service # noqa: E501 """ response = self.api.elevation_point_get(geometry=[13.331273, 38.10849]) - self.assertEqual(response.geometry.coordinates, [13.331273,38.10849,72]) + self.assertEqual(response["geometry"]["coordinates"], [13.331273,38.10849,72]) def test_elevation_point_post(self): """Test case for elevation_point_post @@ -64,7 +64,7 @@ def test_elevation_point_post(self): ) response = self.api.elevation_point_post(body) - self.assertEqual(response.geometry.coordinates, [13.331273,38.10849,72]) + self.assertEqual(response["geometry"]["coordinates"], [13.331273,38.10849,72]) if __name__ == '__main__': diff --git a/test/test_geocode_api.py b/test/test_geocode_api.py index c67602a7..e6471373 100644 --- a/test/test_geocode_api.py +++ b/test/test_geocode_api.py @@ -41,7 +41,7 @@ def test_geocode_autocomplete_get(self): text = "Toky" response = self.api.geocode_autocomplete_get(text) self.assertIsNotNone(response) - self.assertEqual(len(response.features), 10) + self.assertEqual(len(response["features"]), 10) def test_geocode_reverse_get(self): """Test case for geocode_reverse_get @@ -52,7 +52,7 @@ def test_geocode_reverse_get(self): lat = 48.858268 response = self.api.geocode_reverse_get(lon, lat) self.assertIsNotNone(response) - self.assertEqual(len(response.features), 10) + self.assertEqual(len(response["features"]), 10) def test_geocode_search_get(self): """Test case for geocode_search_get @@ -62,7 +62,7 @@ def test_geocode_search_get(self): text = "Namibian Brewery" response = self.api.geocode_search_get(text) self.assertIsNotNone(response) - self.assertEqual(len(response.features), 10) + self.assertEqual(len(response["features"]), 10) def test_geocode_search_structured_get(self): """Test case for geocode_search_structured_get diff --git a/test/test_isochrones_service_api.py b/test/test_isochrones_service_api.py index 966524c6..8414d1ee 100644 --- a/test/test_isochrones_service_api.py +++ b/test/test_isochrones_service_api.py @@ -44,7 +44,7 @@ def test_get_default_isochrones(self): ) profile = 'driving-car' response = self.api.get_default_isochrones(body, profile) - self.assertEqual(len(response.features), 4) + self.assertEqual(len(response["features"]), 4) if __name__ == '__main__': diff --git a/test/test_matrix_service_api.py b/test/test_matrix_service_api.py index 69944e48..90b047cc 100644 --- a/test/test_matrix_service_api.py +++ b/test/test_matrix_service_api.py @@ -44,7 +44,7 @@ def test_get_default(self): profile = 'driving-car' # str | Specifies the matrix profile. response = self.api.get_default1(body, profile) - self.assertEqual(len(response.destinations), 4) + self.assertEqual(len(response["destinations"]), 4) if __name__ == '__main__': diff --git a/test/test_optimization_api.py b/test/test_optimization_api.py index f88c92cc..24cc9c24 100644 --- a/test/test_optimization_api.py +++ b/test/test_optimization_api.py @@ -43,7 +43,7 @@ def test_optimization_post(self): vehicles=[{"id":1,"profile":"driving-car","start":[2.35044,48.71764],"end":[2.35044,48.71764],"capacity":[4],"skills":[1,14],"time_window":[28800,43200]},{"id":2,"profile":"driving-car","start":[2.35044,48.71764],"end":[2.35044,48.71764],"capacity":[4],"skills":[2,14],"time_window":[28800,43200]}] ) response = self.api.optimization_post(body) - self.assertEqual(response.code, 0) + self.assertEqual(response["code"], 0) if __name__ == '__main__': diff --git a/test/test_pois_api.py b/test/test_pois_api.py index d8cf61dd..77aaef9a 100644 --- a/test/test_pois_api.py +++ b/test/test_pois_api.py @@ -51,7 +51,7 @@ def test_pois_post(self): response = self.api.pois_post(body) self.assertIsNotNone(response) - self.assertEqual(response.type, "FeatureCollection") + self.assertEqual(response["type"], "FeatureCollection") body.filters = ors.PoisFilters( smoking=['yes'] @@ -59,7 +59,7 @@ def test_pois_post(self): response2 = self.api.pois_post(body) self.assertIsNotNone(response2) - self.assertGreaterEqual(len(response.features), len(response2.features)) + self.assertGreaterEqual(len(response["features"]), len(response2["features"])) if __name__ == '__main__': unittest.main() From 337ac145c973bf839d0400eefe92f619aa531388 Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Fri, 15 Mar 2024 12:46:05 +0100 Subject: [PATCH 08/38] feat: add apiClient utility function This function simlifies the creation of the generic ApiClient which is used by the Service Apis. --- openrouteservice/utility.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/openrouteservice/utility.py b/openrouteservice/utility.py index b672ca29..5af22875 100644 --- a/openrouteservice/utility.py +++ b/openrouteservice/utility.py @@ -1,3 +1,16 @@ +from openrouteservice.configuration import Configuration +from openrouteservice.api_client import ApiClient + +def apiClient(apiKey: str, host: str = None) -> ApiClient: + configuration = Configuration() + configuration.api_key['Authorization'] = apiKey + + if(host): + configuration.host = host + + return ApiClient(configuration) + + def decode_polyline(polyline, is3d=False): """Decodes a Polyline string into a GeoJSON geometry. :param polyline: An encoded polyline, only the geometry. From f1033fdafe23275e7568205ef78b43833d4b1d9e Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Fri, 15 Mar 2024 12:51:12 +0100 Subject: [PATCH 09/38] refactor: use apiClient method to configure client The apiClient mehtod simplifies the creation of the ApiClient class. --- test/test_directions_service_api.py | 6 ++---- test/test_elevation_api.py | 6 ++---- test/test_geocode_api.py | 6 ++---- test/test_isochrones_service_api.py | 5 ++--- test/test_matrix_service_api.py | 6 ++---- test/test_optimization_api.py | 5 ++--- test/test_pois_api.py | 5 ++--- test/test_snapping_service_api.py | 5 ++--- 8 files changed, 16 insertions(+), 28 deletions(-) diff --git a/test/test_directions_service_api.py b/test/test_directions_service_api.py index 35d1a4a7..e781f65b 100644 --- a/test/test_directions_service_api.py +++ b/test/test_directions_service_api.py @@ -18,7 +18,7 @@ import openrouteservice from openrouteservice.api.directions_service_api import DirectionsServiceApi # noqa: E501 from openrouteservice.rest import ApiException - +from openrouteservice import apiClient class TestDirectionsServiceApi(unittest.TestCase): """DirectionsServiceApi unit test stubs""" @@ -26,9 +26,7 @@ class TestDirectionsServiceApi(unittest.TestCase): def setUp(self): cfg = configparser.ConfigParser() cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - self.api = DirectionsServiceApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + self.api = DirectionsServiceApi(apiClient(cfg['ORS']['apiKey'])) # noqa: E501 def tearDown(self): pass diff --git a/test/test_elevation_api.py b/test/test_elevation_api.py index 39caf814..8e3d9cb2 100644 --- a/test/test_elevation_api.py +++ b/test/test_elevation_api.py @@ -18,7 +18,7 @@ import openrouteservice from openrouteservice.api.elevation_api import ElevationApi # noqa: E501 from openrouteservice.rest import ApiException - +from openrouteservice import apiClient class TestElevationApi(unittest.TestCase): """ElevationApi unit test stubs""" @@ -26,9 +26,7 @@ class TestElevationApi(unittest.TestCase): def setUp(self): cfg = configparser.ConfigParser() cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - self.api = ElevationApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + self.api = ElevationApi(apiClient(cfg['ORS']['apiKey'])) # noqa: E501 def tearDown(self): pass diff --git a/test/test_geocode_api.py b/test/test_geocode_api.py index e6471373..f180286c 100644 --- a/test/test_geocode_api.py +++ b/test/test_geocode_api.py @@ -18,7 +18,7 @@ import openrouteservice from openrouteservice.api.geocode_api import GeocodeApi # noqa: E501 from openrouteservice.rest import ApiException - +from openrouteservice import apiClient class TestGeocodeApi(unittest.TestCase): """GeocodeApi unit test stubs""" @@ -26,9 +26,7 @@ class TestGeocodeApi(unittest.TestCase): def setUp(self): cfg = configparser.ConfigParser() cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - self.api = GeocodeApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + self.api = GeocodeApi(apiClient(cfg['ORS']['apiKey'])) # noqa: E501 def tearDown(self): pass diff --git a/test/test_isochrones_service_api.py b/test/test_isochrones_service_api.py index 8414d1ee..8c200df3 100644 --- a/test/test_isochrones_service_api.py +++ b/test/test_isochrones_service_api.py @@ -18,6 +18,7 @@ import openrouteservice from openrouteservice.api.isochrones_service_api import IsochronesServiceApi # noqa: E501 from openrouteservice.rest import ApiException +from openrouteservice import apiClient class TestIsochronesServiceApi(unittest.TestCase): @@ -26,9 +27,7 @@ class TestIsochronesServiceApi(unittest.TestCase): def setUp(self): cfg = configparser.ConfigParser() cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - self.api = IsochronesServiceApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + self.api = IsochronesServiceApi(apiClient(cfg['ORS']['apiKey'])) # noqa: E501 def tearDown(self): pass diff --git a/test/test_matrix_service_api.py b/test/test_matrix_service_api.py index 90b047cc..740330fd 100644 --- a/test/test_matrix_service_api.py +++ b/test/test_matrix_service_api.py @@ -18,7 +18,7 @@ import openrouteservice from openrouteservice.api.matrix_service_api import MatrixServiceApi # noqa: E501 from openrouteservice.rest import ApiException - +from openrouteservice import apiClient class TestMatrixServiceApi(unittest.TestCase): """MatrixServiceApi unit test stubs""" @@ -26,9 +26,7 @@ class TestMatrixServiceApi(unittest.TestCase): def setUp(self): cfg = configparser.ConfigParser() cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - self.api = MatrixServiceApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + self.api = MatrixServiceApi(apiClient(cfg['ORS']['apiKey'])) # noqa: E501 def tearDown(self): pass diff --git a/test/test_optimization_api.py b/test/test_optimization_api.py index 24cc9c24..2e4d3c9a 100644 --- a/test/test_optimization_api.py +++ b/test/test_optimization_api.py @@ -18,6 +18,7 @@ import openrouteservice from openrouteservice.api.optimization_api import OptimizationApi # noqa: E501 from openrouteservice.rest import ApiException +from openrouteservice import apiClient class TestOptimizationApi(unittest.TestCase): @@ -26,9 +27,7 @@ class TestOptimizationApi(unittest.TestCase): def setUp(self): cfg = configparser.ConfigParser() cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - self.api = OptimizationApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + self.api = OptimizationApi(apiClient(cfg['ORS']['apiKey'])) # noqa: E501 def tearDown(self): pass diff --git a/test/test_pois_api.py b/test/test_pois_api.py index 77aaef9a..2732d76b 100644 --- a/test/test_pois_api.py +++ b/test/test_pois_api.py @@ -18,6 +18,7 @@ import openrouteservice as ors from openrouteservice.api.pois_api import PoisApi # noqa: E501 from openrouteservice.rest import ApiException +from openrouteservice import apiClient class TestPoisApi(unittest.TestCase): @@ -26,9 +27,7 @@ class TestPoisApi(unittest.TestCase): def setUp(self): cfg = configparser.ConfigParser() cfg.read('tests-config.ini') - configuration = ors.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - self.api = PoisApi(ors.ApiClient(configuration)) # noqa: E501 + self.api = PoisApi(apiClient(cfg['ORS']['apiKey'])) # noqa: E501 def tearDown(self): pass diff --git a/test/test_snapping_service_api.py b/test/test_snapping_service_api.py index ebdfcee5..8b67510d 100644 --- a/test/test_snapping_service_api.py +++ b/test/test_snapping_service_api.py @@ -18,6 +18,7 @@ import openrouteservice from openrouteservice.api.snapping_service_api import SnappingServiceApi # noqa: E501 from openrouteservice.rest import ApiException +from openrouteservice import apiClient class TestSnappingServiceApi(unittest.TestCase): @@ -26,9 +27,7 @@ class TestSnappingServiceApi(unittest.TestCase): def setUp(self): cfg = configparser.ConfigParser() cfg.read('tests-config.ini') - configuration = openrouteservice.Configuration() - configuration.api_key['Authorization'] = cfg['ORS']['apiKey'] - self.api = SnappingServiceApi(openrouteservice.ApiClient(configuration)) # noqa: E501 + self.api = SnappingServiceApi(apiClient(cfg['ORS']['apiKey'])) # noqa: E501 def tearDown(self): pass From 10cc5cb3798dfa9134a8781a254ee7f07c8ad354 Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Mon, 18 Mar 2024 13:14:10 +0100 Subject: [PATCH 10/38] feat: make apiKey optional in apiClient helper --- openrouteservice/utility.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/openrouteservice/utility.py b/openrouteservice/utility.py index 5af22875..6c8fa6ba 100644 --- a/openrouteservice/utility.py +++ b/openrouteservice/utility.py @@ -1,12 +1,17 @@ from openrouteservice.configuration import Configuration from openrouteservice.api_client import ApiClient -def apiClient(apiKey: str, host: str = None) -> ApiClient: +def apiClient(apiKey: str = None, host: str = None) -> ApiClient: configuration = Configuration() - configuration.api_key['Authorization'] = apiKey + + if(apiKey): + configuration.api_key['Authorization'] = apiKey if(host): configuration.host = host + + if not(host or apiKey): + raise ValueError('apiKey is required when using api.openrouteservice.org as a host. Please specify an apiKey or use a different host.') return ApiClient(configuration) From a49120a6effb5f139c7195cf50366470b161816b Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Tue, 19 Mar 2024 14:32:11 +0100 Subject: [PATCH 11/38] refactor: examples to use most recent client --- README.md | 15 +- examples/Avoid_ConstructionSites.html | 12828 --------------------- examples/Avoid_ConstructionSites.ipynb | 4577 +++++--- examples/Dieselgate_Routing.html | 8445 -------------- examples/Dieselgate_Routing.ipynb | 389 +- examples/Routing_Optimization_Idai.html | 9291 --------------- examples/Routing_Optimization_Idai.ipynb | 790 +- examples/ortools_pubcrawl.html | 9826 ---------------- examples/ortools_pubcrawl.ipynb | 1682 +-- 9 files changed, 3354 insertions(+), 44489 deletions(-) delete mode 100644 examples/Avoid_ConstructionSites.html delete mode 100644 examples/Dieselgate_Routing.html delete mode 100644 examples/Routing_Optimization_Idai.html delete mode 100644 examples/ortools_pubcrawl.html diff --git a/README.md b/README.md index b06852fb..2d64b0ca 100644 --- a/README.md +++ b/README.md @@ -59,12 +59,10 @@ These examples show common usages of this library. import openrouteservice as ors from pprint import pprint -# Configure API key authorization: -configuration = ors.Configuration() -configuration.api_key['Authorization'] = "YOUR_API_KEY" - # create an instance of the API class -directionsApi = ors.DirectionsServiceApi(ors.ApiClient(configuration)) +directionsApi = ors.DirectionsServiceApi( + ors.apiClient(apiKey="YOUR_API_KEY") # set your api key here +) # create request body body = ors.DirectionsService( @@ -85,11 +83,10 @@ except ors.rest.ApiException as e: import openrouteservice as ors from pprint import pprint -# Configure host -configuration = ors.Configuration() -configuration.host = "http://localhost:8080/ors" +isochronesApi = ors.IsochronesServiceApi( + ors.apiClient(host="http://localhost:8080/ors") # set host to your local instance +) -isochronesApi = ors.IsochronesServiceApi(ors.ApiClient(configuration)) body = ors.IsochronesProfileBody( locations=[[8.681495,49.41461],[8.686507,49.41943]], range=[300] diff --git a/examples/Avoid_ConstructionSites.html b/examples/Avoid_ConstructionSites.html deleted file mode 100644 index 1d642a98..00000000 --- a/examples/Avoid_ConstructionSites.html +++ /dev/null @@ -1,12828 +0,0 @@ - - - - - -Avoid_ConstructionSites - - - - - - - - - - - - -
- - - - - - - - -
- - diff --git a/examples/Avoid_ConstructionSites.ipynb b/examples/Avoid_ConstructionSites.ipynb index f4d82d92..04e47851 100644 --- a/examples/Avoid_ConstructionSites.ipynb +++ b/examples/Avoid_ConstructionSites.ipynb @@ -126,7 +126,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_30dc9c13698d98b71ca191daf74471a8 {\n", + " #map_9ee36c5d95208753478a9a73a16abacf {\n", " position: relative;\n", " width: 100.0%;\n", " height: 100.0%;\n", @@ -140,14 +140,14 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_30dc9c13698d98b71ca191daf74471a8" ></div>\n", + " <div class="folium-map" id="map_9ee36c5d95208753478a9a73a16abacf" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_30dc9c13698d98b71ca191daf74471a8 = L.map(\n", - " "map_30dc9c13698d98b71ca191daf74471a8",\n", + " var map_9ee36c5d95208753478a9a73a16abacf = L.map(\n", + " "map_9ee36c5d95208753478a9a73a16abacf",\n", " {\n", " center: [54.13207, 12.101612],\n", " crs: L.CRS.EPSG3857,\n", @@ -161,4309 +161,5146 @@ "\n", " \n", " \n", - " var tile_layer_edab4abf487abe2b4aef60d95a97c22b = L.tileLayer(\n", + " var tile_layer_101076dbe5052e959db9690bd8091145 = L.tileLayer(\n", " "https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png",\n", " {"attribution": "Map tiles by \\u003ca target=\\"_blank\\" href=\\"http://stamen.com\\"\\u003eStamen Design\\u003c/a\\u003e, under \\u003ca target=\\"_blank\\" href=\\"http://creativecommons.org/licenses/by/3.0\\"\\u003eCC BY 3.0\\u003c/a\\u003e. Data by \\u0026copy; \\u003ca target=\\"_blank\\" href=\\"http://openstreetmap.org\\"\\u003eOpenStreetMap\\u003c/a\\u003e, under \\u003ca target=\\"_blank\\" href=\\"http://www.openstreetmap.org/copyright\\"\\u003eODbL\\u003c/a\\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_5f4dea129a982f4187fa5ce7534193db = L.marker(\n", - " [54.0897095, 12.1019865],\n", + " var marker_cfc695b3b4e433f54755bb9064f1d3f8 = L.marker(\n", + " [54.1071422, 12.1144814],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_c6e4fe18cd40bf7c8ed1fa04b5c77bc1 = L.popup({"maxWidth": "100%"});\n", + " var popup_3c92918dfc195cb8a028386b8fa9d853 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_2c1f287866f3eff8cbfe6d8e1a221196 = $(`<div id="html_2c1f287866f3eff8cbfe6d8e1a221196" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1019865, 54.0897095]</div>`)[0];\n", - " popup_c6e4fe18cd40bf7c8ed1fa04b5c77bc1.setContent(html_2c1f287866f3eff8cbfe6d8e1a221196);\n", + " var html_c29266627135861aa0e1c3b44406b34b = $(`<div id="html_c29266627135861aa0e1c3b44406b34b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1144814, 54.1071422]</div>`)[0];\n", + " popup_3c92918dfc195cb8a028386b8fa9d853.setContent(html_c29266627135861aa0e1c3b44406b34b);\n", " \n", " \n", "\n", - " marker_5f4dea129a982f4187fa5ce7534193db.bindPopup(popup_c6e4fe18cd40bf7c8ed1fa04b5c77bc1)\n", + " marker_cfc695b3b4e433f54755bb9064f1d3f8.bindPopup(popup_3c92918dfc195cb8a028386b8fa9d853)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_7f24fdb62af1784a70864111b0bbda36 = L.polygon(\n", - " [[54.089774185842266, 12.101973032037188], [54.0897455624351, 12.101931965278899], [54.089695814142495, 12.101922844166745], [54.089654082784904, 12.101951011781333], [54.08964481408041, 12.101999967962358], [54.089673437565054, 12.102041034786136], [54.08972318593496, 12.102050155817956], [54.089764917215064, 12.102021988137881], [54.089774185842266, 12.101973032037188]],\n", + " var polygon_df968921610d110397fb73205c149b3a = L.polygon(\n", + " [[54.10720686893053, 12.114467914226957], [54.10717823722002, 12.114426866585317], [54.107128495394704, 12.114417763824532], [54.1070867814866, 12.11444593827524], [54.107077530992136, 12.114494885772613], [54.10710616278017, 12.114535933479718], [54.10715590468278, 12.114545036160147], [54.107197618513354, 12.114516861643976], [54.10720686893053, 12.114467914226957]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_6aa7cad053ff600472b393115445300e = L.marker(\n", - " [54.1291892, 12.2974457],\n", + " var marker_249b04c55f9eccec5084ebebbd3dd20c = L.marker(\n", + " [54.1756386, 12.0785784],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_a9870581526dc120cf2100c11c7d5dd4 = L.popup({"maxWidth": "100%"});\n", + " var popup_0a2188ca238cb56c497fcff2f4c7d0f3 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_1c16817ddda04b34c9bad1bdc14f937d = $(`<div id="html_1c16817ddda04b34c9bad1bdc14f937d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.2974457, 54.1291892]</div>`)[0];\n", - " popup_a9870581526dc120cf2100c11c7d5dd4.setContent(html_1c16817ddda04b34c9bad1bdc14f937d);\n", + " var html_5f2f9aa2ae8e8333bc50170828fbccf4 = $(`<div id="html_5f2f9aa2ae8e8333bc50170828fbccf4" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0785784, 54.1756386]</div>`)[0];\n", + " popup_0a2188ca238cb56c497fcff2f4c7d0f3.setContent(html_5f2f9aa2ae8e8333bc50170828fbccf4);\n", " \n", " \n", "\n", - " marker_6aa7cad053ff600472b393115445300e.bindPopup(popup_a9870581526dc120cf2100c11c7d5dd4)\n", + " marker_249b04c55f9eccec5084ebebbd3dd20c.bindPopup(popup_0a2188ca238cb56c497fcff2f4c7d0f3)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_4f190ea117cb09b62cd938761ae4fe73 = L.polygon(\n", - " [[54.12925388883558, 12.29743200871008], [54.12922509672878, 12.297391038891968], [54.129175276805015, 12.297382088755674], [54.12913361284518, 12.29741040122659], [54.12912451108686, 12.29745939128948], [54.1291533032714, 12.297500361172984], [54.12920312327263, 12.29750931122875], [54.12924478715473, 12.297480998692441], [54.12925388883558, 12.29743200871008]],\n", + " var polygon_9f29f1507ae1de8cf3cde134c3b16048 = L.polygon(\n", + " [[54.17570318162486, 12.078564937338552], [54.17567459340893, 12.078523937563604], [54.175624920742074, 12.078514841091417], [54.175583261144325, 12.078542976568857], [54.17557401829785, 12.078591862661094], [54.17560260659135, 12.07863286250146], [54.17565227933537, 12.07864195889327], [54.175693938855574, 12.078613823350402], [54.17570318162486, 12.078564937338552]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_c3f52c579ac0ee52e346b1187275a32d = L.marker(\n", - " [54.0941536, 12.1011193],\n", + " var marker_216db431a3031f92eaa470e728e91fe4 = L.marker(\n", + " [54.0892824, 12.1119944],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_8db8c84669c51c2a0ed0d2f532c4cad9 = L.popup({"maxWidth": "100%"});\n", + " var popup_2986661b9e5b712081bed114f2cb7e10 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_920ce3bebff36220a8ae0202445a1e76 = $(`<div id="html_920ce3bebff36220a8ae0202445a1e76" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1011193, 54.0941536]</div>`)[0];\n", - " popup_8db8c84669c51c2a0ed0d2f532c4cad9.setContent(html_920ce3bebff36220a8ae0202445a1e76);\n", + " var html_c094c2498613431e5fd6000bd7229b69 = $(`<div id="html_c094c2498613431e5fd6000bd7229b69" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1119944, 54.0892824]</div>`)[0];\n", + " popup_2986661b9e5b712081bed114f2cb7e10.setContent(html_c094c2498613431e5fd6000bd7229b69);\n", " \n", " \n", "\n", - " marker_c3f52c579ac0ee52e346b1187275a32d.bindPopup(popup_8db8c84669c51c2a0ed0d2f532c4cad9)\n", + " marker_216db431a3031f92eaa470e728e91fe4.bindPopup(popup_2986661b9e5b712081bed114f2cb7e10)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_b44070a5456f274af67615e93fc161ee = L.polygon(\n", - " [[54.09421828053933, 12.101105831932848], [54.094189658642186, 12.101064768747218], [54.094139914081445, 12.101055649176029], [54.094098186491465, 12.101083815397217], [54.09408891938334, 12.101132768066709], [54.09411754135797, 12.101173831317826], [54.094167285996015, 12.101182950808674], [54.0942090135085, 12.101154784522006], [54.09421828053933, 12.101105831932848]],\n", + " var polygon_69dbed28d6abfa3adba0b80cb9e35fe4 = L.polygon(\n", + " [[54.08934708878247, 12.111980921186124], [54.089318456349574, 12.111939857268249], [54.089268702596065, 12.111930743689044], [54.08922697254131, 12.111958919116411], [54.08921771114021, 12.112007878813428], [54.0892463436506, 12.112048942796779], [54.08929609748142, 12.11205805629564], [54.08933782745868, 12.112029880802796], [54.08934708878247, 12.111980921186124]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_38cd9753780e8bb922e8a47b81753839 = L.marker(\n", - " [54.0928117, 12.1499806],\n", + " var marker_69d13d2fb0ba3373623a124b25cc5298 = L.marker(\n", + " [54.0682097, 12.0782637],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_57223bc3154bcd67be1af80797755a81 = L.popup({"maxWidth": "100%"});\n", + " var popup_de0c2b6df755dc2a04257a42e81d313f = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_c14abf1ae1401c2436c23b6c56312c6b = $(`<div id="html_c14abf1ae1401c2436c23b6c56312c6b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1499806, 54.0928117]</div>`)[0];\n", - " popup_57223bc3154bcd67be1af80797755a81.setContent(html_c14abf1ae1401c2436c23b6c56312c6b);\n", + " var html_b75589157f4659ba01ad61666c65a939 = $(`<div id="html_b75589157f4659ba01ad61666c65a939" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0782637, 54.0682097]</div>`)[0];\n", + " popup_de0c2b6df755dc2a04257a42e81d313f.setContent(html_b75589157f4659ba01ad61666c65a939);\n", " \n", " \n", "\n", - " marker_38cd9753780e8bb922e8a47b81753839.bindPopup(popup_57223bc3154bcd67be1af80797755a81)\n", + " marker_69d13d2fb0ba3373623a124b25cc5298.bindPopup(popup_de0c2b6df755dc2a04257a42e81d313f)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_614d58624224a4ad161a697ac620784f = L.polygon(\n", - " [[54.09287639406181, 12.149967078779522], [54.09284772820784, 12.149926030105398], [54.0927979575183, 12.14991694768156], [54.092756236933404, 12.149945151925543], [54.09274700586081, 12.149994121220033], [54.09277567179231, 12.150035169959612], [54.092825442559196, 12.15004425230307], [54.09286716306654, 12.150016047993624], [54.09287639406181, 12.149967078779522]],\n", + " var polygon_0ecab6b5037816dd479935241b87531f = L.polygon(\n", + " [[54.06827440466133, 12.078250263088501], [54.068245798921275, 12.07820917009587], [54.0681960469227, 12.078200019927664], [54.068154292656956, 12.078228172685108], [54.068144995261385, 12.078277136911028], [54.068173601078875, 12.078318229969168], [54.06822335315474, 12.078327380057074], [54.06826510734306, 12.078299227234123], [54.06827440466133, 12.078250263088501]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_e894afae3789def4399a7cd4aa1984a0 = L.marker(\n", + " var marker_831627ff998f8094a59e3e1a785a5bfd = L.marker(\n", + " [54.174303, 12.0819276],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_99b346ef026dffdaa351dac7c54e0065 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_d684c1a99958b018af0d39c3cc86e551 = $(`<div id="html_d684c1a99958b018af0d39c3cc86e551" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0819276, 54.174303]</div>`)[0];\n", + " popup_99b346ef026dffdaa351dac7c54e0065.setContent(html_d684c1a99958b018af0d39c3cc86e551);\n", + " \n", + " \n", + "\n", + " marker_831627ff998f8094a59e3e1a785a5bfd.bindPopup(popup_99b346ef026dffdaa351dac7c54e0065)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_4eb852309ea017af20484ac7dd67472a = L.polygon(\n", + " [[54.174367583974046, 12.081914133983018], [54.174338992536555, 12.081873134125543], [54.174289317159186, 12.081864039584792], [54.17424765694971, 12.081892177876238], [54.17423841594867, 12.081941066016633], [54.17426700746372, 12.081982065939535], [54.17431668291827, 12.081991160399893], [54.17435834305019, 12.08196302204303], [54.174367583974046, 12.081914133983018]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_2e9a4e371ce2294dd6799594bc268ae7 = L.marker(\n", + " [54.0826276, 12.1265418],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_d2ffeecbf788173bf93fb046811f578e = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_906d3c22fa7f2cbcee360b0f2db23f65 = $(`<div id="html_906d3c22fa7f2cbcee360b0f2db23f65" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1265418, 54.0826276]</div>`)[0];\n", + " popup_d2ffeecbf788173bf93fb046811f578e.setContent(html_906d3c22fa7f2cbcee360b0f2db23f65);\n", + " \n", + " \n", + "\n", + " marker_2e9a4e371ce2294dd6799594bc268ae7.bindPopup(popup_d2ffeecbf788173bf93fb046811f578e)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_e24cb461a49637f1e89d34c2ffd4d216 = L.polygon(\n", + " [[54.0826922999719, 12.126528306847549], [54.08266365342295, 12.126487241829354], [54.082613887267755, 12.126478136193713], [54.08257215379041, 12.126506323955306], [54.08256289995075, 12.126555293151984], [54.08259154657721, 12.126596358235663], [54.08264131280974, 12.126605463790948], [54.082683046209574, 12.126577275963879], [54.0826922999719, 12.126528306847549]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_03e719aa360e58bcc03a4c478e4da289 = L.marker(\n", " [54.0741728, 12.1238605],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_6843582d5d837924f11fc39465416eba = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_9ffda0e178c44f0e8baf821ead56f937 = $(`<div id="html_9ffda0e178c44f0e8baf821ead56f937" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1238605, 54.0741728]</div>`)[0];\n", + " popup_6843582d5d837924f11fc39465416eba.setContent(html_9ffda0e178c44f0e8baf821ead56f937);\n", + " \n", + " \n", + "\n", + " marker_03e719aa360e58bcc03a4c478e4da289.bindPopup(popup_6843582d5d837924f11fc39465416eba)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_875a87c28f89b0c06da10ee4dfd52465 = L.polygon(\n", + " [[54.07423750899742, 12.123847011789524], [54.07420886345503, 12.123805938585596], [54.07415909242973, 12.123796826664378], [54.074117351058476, 12.12382501372254], [54.07410809092522, 12.123873988210006], [54.074136736545114, 12.123915061479416], [54.07418650764774, 12.123924173320297], [54.074228248941495, 12.123895986196645], [54.07423750899742, 12.123847011789524]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_fd8444d495b1e0871a7262a18e4c0b91 = L.marker(\n", + " [54.1474655, 12.0655871],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_7f18968ddea455c752f701c9ff9ba3a3 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_042fefb38cdd737bbecf6a829630a2d1 = $(`<div id="html_042fefb38cdd737bbecf6a829630a2d1" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0655871, 54.1474655]</div>`)[0];\n", + " popup_7f18968ddea455c752f701c9ff9ba3a3.setContent(html_042fefb38cdd737bbecf6a829630a2d1);\n", + " \n", + " \n", + "\n", + " marker_fd8444d495b1e0871a7262a18e4c0b91.bindPopup(popup_7f18968ddea455c752f701c9ff9ba3a3)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_91affd86840b9e8389b8cd569ddfa200 = L.polygon(\n", + " [[54.14753011076477, 12.065573658230685], [54.14750152949895, 12.065532629849468], [54.147451842641196, 12.065523509289852], [54.14741015602434, 12.065551639308769], [54.14740088915796, 12.065600541768932], [54.14742947050129, 12.065641570215595], [54.14747915743622, 12.065650690694861], [54.14752084397559, 12.065622560610496], [54.14753011076477, 12.065573658230685]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_fe6bf20ad853181af5da9ca47c1574f9 = L.marker(\n", + " [54.0892834, 12.1179995],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_11f501f6b272e4d6dc17aab9ec4abd78 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_9e2dfc0f5ba92b9fbb7acccad4fc57a4 = $(`<div id="html_9e2dfc0f5ba92b9fbb7acccad4fc57a4" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1179995, 54.0892834]</div>`)[0];\n", + " popup_11f501f6b272e4d6dc17aab9ec4abd78.setContent(html_9e2dfc0f5ba92b9fbb7acccad4fc57a4);\n", + " \n", + " \n", + "\n", + " marker_fe6bf20ad853181af5da9ca47c1574f9.bindPopup(popup_11f501f6b272e4d6dc17aab9ec4abd78)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_ddfc45ba7da71b132ef537c884bfabd7 = L.polygon(\n", + " [[54.08934809025302, 12.117986014614319], [54.08931945244627, 12.117944952623667], [54.089269695605395, 12.11793584369241], [54.0892279665583, 12.117964023765763], [54.08921870966963, 12.118012985385231], [54.08924734755389, 12.118054047441364], [54.08929710447207, 12.118063156292264], [54.089338833441666, 12.118034976153446], [54.08934809025302, 12.117986014614319]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_63a573b30f039dcfd629dd829d248a94 = L.marker(\n", + " [54.0863584, 12.1026313],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_05f5a7cfe2df9f321f4ab4c3be8199ef = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_f7673c52222f7b0ee32e760c6c4397e3 = $(`<div id="html_f7673c52222f7b0ee32e760c6c4397e3" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1026313, 54.0863584]</div>`)[0];\n", + " popup_05f5a7cfe2df9f321f4ab4c3be8199ef.setContent(html_f7673c52222f7b0ee32e760c6c4397e3);\n", + " \n", + " \n", + "\n", + " marker_63a573b30f039dcfd629dd829d248a94.bindPopup(popup_05f5a7cfe2df9f321f4ab4c3be8199ef)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_08236de50917acd41d275f0f583f9218 = L.polygon(\n", + " [[54.08642308983851, 12.102617832126], [54.08639446530104, 12.102576762670935], [54.0863447141993, 12.102567640389717], [54.08630297999931, 12.102595809047772], [54.08629371008418, 12.102644767873544], [54.08632233469914, 12.102685837394093], [54.08637208587817, 12.102694959594979], [54.08641382000069, 12.102666790871437], [54.08642308983851, 12.102617832126]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_934f3b81408ad00829b2971361e6600b = L.marker(\n", + " [54.1351781, 12.0934629],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_0c57df8ff7d159d88e97cd3266edf99a = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_18f6e7d90c9f87474d25a102a7684f09 = $(`<div id="html_18f6e7d90c9f87474d25a102a7684f09" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0934629, 54.1351781]</div>`)[0];\n", + " popup_0c57df8ff7d159d88e97cd3266edf99a.setContent(html_18f6e7d90c9f87474d25a102a7684f09);\n", + " \n", + " \n", + "\n", + " marker_934f3b81408ad00829b2971361e6600b.bindPopup(popup_0c57df8ff7d159d88e97cd3266edf99a)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_1fd76c7c72aa7cd8d1ceeac001a231e0 = L.polygon(\n", + " [[54.135242731655545, 12.093449430598172], [54.13521412339785, 12.093408400514582], [54.135164413122176, 12.093399295436555], [54.13512272037921, 12.093427449052147], [54.13511346826715, 12.09347636940144], [54.135142076602364, 12.093517399550482], [54.13519178695528, 12.093526504548139], [54.13523347962072, 12.093498350867105], [54.135242731655545, 12.093449430598172]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_3183f10548f253ae1342a89d3da411b8 = L.marker(\n", + " [54.0612803, 12.1043676],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_fbad00af73a0a2d4ab4744613f0961ed = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_b2d10e2a06ca53233e09bae1c73d0e8c = $(`<div id="html_b2d10e2a06ca53233e09bae1c73d0e8c" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1043676, 54.0612803]</div>`)[0];\n", + " popup_fbad00af73a0a2d4ab4744613f0961ed.setContent(html_b2d10e2a06ca53233e09bae1c73d0e8c);\n", + " \n", + " \n", + "\n", + " marker_3183f10548f253ae1342a89d3da411b8.bindPopup(popup_fbad00af73a0a2d4ab4744613f0961ed)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_8222fcec9b9c831d43a5e8f793bef4cd = L.polygon(\n", + " [[54.061345018981434, 12.10435413617361], [54.06131638875293, 12.104313045550477], [54.061266618222376, 12.104303912130124], [54.06122486223691, 12.104332086203108], [54.06121558094126, 12.10438106382591], [54.06124421124722, 12.104422154514545], [54.061293981855094, 12.104431287854585], [54.061335737763116, 12.104403113716096], [54.061345018981434, 12.10435413617361]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_81a2a5e9662a43ef03e7c596803c3a17 = L.marker(\n", + " [54.1055911, 12.1640395],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_39c2008bf27e5cd8e7245a35fefc82ac = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_da9211d359c4210475e452f007afd4eb = $(`<div id="html_da9211d359c4210475e452f007afd4eb" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1640395, 54.1055911]</div>`)[0];\n", + " popup_39c2008bf27e5cd8e7245a35fefc82ac.setContent(html_da9211d359c4210475e452f007afd4eb);\n", + " \n", + " \n", + "\n", + " marker_81a2a5e9662a43ef03e7c596803c3a17.bindPopup(popup_39c2008bf27e5cd8e7245a35fefc82ac)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_205d67767774aa88f7ac6031d641fd29 = L.polygon(\n", + " [[54.10565578287626, 12.164025960351934], [54.105627106533994, 12.163984927266226], [54.10557733805239, 12.163975862093944], [54.10553563107828, 12.164004075146917], [54.105526417046335, 12.164053039647623], [54.10555509346617, 12.164094072798784], [54.10560486202514, 12.164103137890663], [54.10564656892167, 12.164074924772244], [54.10565578287626, 12.164025960351934]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_26f40c5c6c4c6def8fddad0034ebef0b = L.marker(\n", + " [54.0893033, 12.1089907],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_d5fbc12dfaefea26967f60b7176277c6 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_afd6dabb63a1b7a90a1a875fffb2f420 = $(`<div id="html_afd6dabb63a1b7a90a1a875fffb2f420" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1089907, 54.0893033]</div>`)[0];\n", + " popup_d5fbc12dfaefea26967f60b7176277c6.setContent(html_afd6dabb63a1b7a90a1a875fffb2f420);\n", + " \n", + " \n", + "\n", + " marker_26f40c5c6c4c6def8fddad0034ebef0b.bindPopup(popup_d5fbc12dfaefea26967f60b7176277c6)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_46c60e94f2e0f306633892cf29a48add = L.polygon(\n", + " [[54.089367988022666, 12.108977224468267], [54.0893393582811, 12.10893615960494], [54.08928960608746, 12.108927043711477], [54.08924787554735, 12.108955216811443], [54.0892386119, 12.109004175531282], [54.089267241719064, 12.109045240460086], [54.08931699399002, 12.109054356273203], [54.08935872445263, 12.109026183107757], [54.089367988022666, 12.108977224468267]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_2f4f6e4c482923eb8f9005569803052f = L.marker(\n", + " [54.1457066, 12.0605207],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_9295d32adb4a33ab8a46582ff318d0ff = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_6abb2dd6beea2082fcfcc09a15f860ec = $(`<div id="html_6abb2dd6beea2082fcfcc09a15f860ec" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0605207, 54.1457066]</div>`)[0];\n", + " popup_9295d32adb4a33ab8a46582ff318d0ff.setContent(html_6abb2dd6beea2082fcfcc09a15f860ec);\n", + " \n", + " \n", + "\n", + " marker_2f4f6e4c482923eb8f9005569803052f.bindPopup(popup_9295d32adb4a33ab8a46582ff318d0ff)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_3e765919f7977c6091d6cc4af8a3dbed = L.polygon(\n", + " [[54.14577121154641, 12.060507264197028], [54.145742634522925, 12.060466232663725], [54.14569294896452, 12.060457107303455], [54.14565125994291, 12.06048523368533], [54.14564198837631, 12.06053413580258], [54.1456705654773, 12.06057516740134], [54.1457202511129, 12.06058429268126], [54.145761940057014, 12.060556166233935], [54.14577121154641, 12.060507264197028]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_276189985792d9bdf4f52459118bd469 = L.marker(\n", + " [54.0906133, 12.1109215],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_d5fe5133310a9d02f13bcb8f4353b07f = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_079a594d4104ef97f77cbe0b96ee7855 = $(`<div id="html_079a594d4104ef97f77cbe0b96ee7855" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1109215, 54.0906133]</div>`)[0];\n", + " popup_d5fe5133310a9d02f13bcb8f4353b07f.setContent(html_079a594d4104ef97f77cbe0b96ee7855);\n", + " \n", + " \n", + "\n", + " marker_276189985792d9bdf4f52459118bd469.bindPopup(popup_d5fe5133310a9d02f13bcb8f4353b07f)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_69c4a26cae8063d1108d964c477b0104 = L.polygon(\n", + " [[54.09067798699508, 12.11090802204452], [54.09064935574194, 12.110866958935745], [54.09059960352413, 12.11085784518884], [54.09055787446142, 12.110886019569953], [54.0905486129276, 12.110934977955038], [54.09057724425824, 12.110976041129287], [54.09062699655336, 12.110985154795843], [54.09066872553857, 12.110956980349258], [54.09067798699508, 12.11090802204452]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_f7d0d29cb0e02f228caf5eec705704ec = L.marker(\n", + " [54.1420427, 12.1691088],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_5e01d7f5e185b1bed73e28b0cc32637e = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_d56f447144f175db450b8a57a82b4e91 = $(`<div id="html_d56f447144f175db450b8a57a82b4e91" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1691088, 54.1420427]</div>`)[0];\n", + " popup_5e01d7f5e185b1bed73e28b0cc32637e.setContent(html_d56f447144f175db450b8a57a82b4e91);\n", + " \n", + " \n", + "\n", + " marker_f7d0d29cb0e02f228caf5eec705704ec.bindPopup(popup_5e01d7f5e185b1bed73e28b0cc32637e)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_4ebe9262727f30be714aba235bb17e0b = L.polygon(\n", + " [[54.142107342336026, 12.169095246120685], [54.14207866745127, 12.16905424627514], [54.14202892332126, 12.169045203207862], [54.141987249328075, 12.169073414281877], [54.14197805758658, 12.169122353878908], [54.14200673254895, 12.169163353789866], [54.14205647675626, 12.169172396776723], [54.14209815067184, 12.169144185637277], [54.142107342336026, 12.169095246120685]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_eed46f0f0aeb9392afd174a58b872644 = L.marker(\n", + " [54.1251777, 12.0446383],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_48f0744aa79a4e44d7a9f22fd1e480c0 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_10cee741f2f9831788a2850ece739a58 = $(`<div id="html_10cee741f2f9831788a2850ece739a58" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0446383, 54.1251777]</div>`)[0];\n", + " popup_48f0744aa79a4e44d7a9f22fd1e480c0.setContent(html_10cee741f2f9831788a2850ece739a58);\n", + " \n", + " \n", + "\n", + " marker_eed46f0f0aeb9392afd174a58b872644.bindPopup(popup_48f0744aa79a4e44d7a9f22fd1e480c0)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_b6c277dd76995929f3f39903792e930b = L.polygon(\n", + " [[54.1252423312079, 12.044624886439733], [54.1252137649833, 12.044583832011744], [54.12516407238053, 12.044574684138725], [54.125122362597764, 12.044602801577419], [54.12511306871484, 12.044651713559869], [54.1251416350169, 12.044692768053332], [54.12519132769687, 12.044701915846034], [54.125233037402175, 12.044673798341869], [54.1252423312079, 12.044624886439733]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_b40c8e414459b2447019b28d3422d0c2 = L.marker(\n", + " [54.129286, 12.0826637],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_6ded553969436c143fc10593835d86ca = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_4d42cf14050a51cbc2d619274054ab4d = $(`<div id="html_4d42cf14050a51cbc2d619274054ab4d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0826637, 54.129286]</div>`)[0];\n", + " popup_6ded553969436c143fc10593835d86ca.setContent(html_4d42cf14050a51cbc2d619274054ab4d);\n", + " \n", + " \n", + "\n", + " marker_b40c8e414459b2447019b28d3422d0c2.bindPopup(popup_6ded553969436c143fc10593835d86ca)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_131667042cb5c0d3f3aaceaa383c0f0c = L.polygon(\n", + " [[54.1293506357708, 12.08265024382053], [54.129322036203654, 12.082609205161653], [54.12927232711706, 12.082600088786151], [54.12923062736517, 12.082628234999968], [54.129221364151896, 12.082677156179066], [54.12924996379655, 12.082718194903403], [54.129299672960386, 12.082727311198553], [54.12934137263477, 12.082699164919278], [54.1293506357708, 12.08265024382053]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_1e9e9e5307d9835cfba010cab127ce5e = L.marker(\n", + " [54.1512084, 12.0120277],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_c4fb2fea60f290835013f00fb99ac13f = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_22dc1422210c8b277429bd222f23fc75 = $(`<div id="html_22dc1422210c8b277429bd222f23fc75" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0120277, 54.1512084]</div>`)[0];\n", + " popup_c4fb2fea60f290835013f00fb99ac13f.setContent(html_22dc1422210c8b277429bd222f23fc75);\n", + " \n", + " \n", + "\n", + " marker_1e9e9e5307d9835cfba010cab127ce5e.bindPopup(popup_c4fb2fea60f290835013f00fb99ac13f)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_8f148fa9bb6fb6933da9fb3568556398 = L.polygon(\n", + " [[54.15127299344872, 12.01201431604065], [54.151244460729515, 12.0119732737008], [54.151194804123925, 12.011964113495052], [54.15115311174352, 12.011992201404485], [54.151143806474046, 12.012041083958986], [54.15117233927071, 12.012082126364298], [54.15122199595343, 12.012091286489735], [54.15126368825639, 12.01206319851484], [54.15127299344872, 12.01201431604065]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_0311c45cdb26b47a881fbe1a7929c1e8 = L.marker(\n", + " [54.0828123, 12.1263262],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_21f71fdf00e5088c24c82d8e66643022 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_a870b3fa38c8d1f54a6545d5ada37f4f = $(`<div id="html_a870b3fa38c8d1f54a6545d5ada37f4f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1263262, 54.0828123]</div>`)[0];\n", + " popup_21f71fdf00e5088c24c82d8e66643022.setContent(html_a870b3fa38c8d1f54a6545d5ada37f4f);\n", + " \n", + " \n", + "\n", + " marker_0311c45cdb26b47a881fbe1a7929c1e8.bindPopup(popup_21f71fdf00e5088c24c82d8e66643022)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_affcc479ce3653445cf12a04c7b3c47b = L.polygon(\n", + " [[54.082876999707445, 12.126312707039572], [54.08284835338187, 12.126271642112275], [54.08279858747412, 12.126262536401802], [54.08275685412334, 12.126290723966664], [54.0827476002152, 12.126339692959965], [54.08277624661829, 12.126380757952738], [54.08282601260336, 12.126389863582865], [54.08286774587664, 12.126361675952522], [54.082876999707445, 12.126312707039572]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_1930f81f0970517e2fe446b5a0d55f8b = L.marker(\n", + " [54.0887144, 12.0977156],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_c7254e5563e2027f632a2461318a4823 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_ef9a09ade53a18d63a73348e7c945e2a = $(`<div id="html_ef9a09ade53a18d63a73348e7c945e2a" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0977156, 54.0887144]</div>`)[0];\n", + " popup_c7254e5563e2027f632a2461318a4823.setContent(html_ef9a09ade53a18d63a73348e7c945e2a);\n", + " \n", + " \n", + "\n", + " marker_1930f81f0970517e2fe446b5a0d55f8b.bindPopup(popup_c7254e5563e2027f632a2461318a4823)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_ee90175385f1b9a84fe4bf1990760d09 = L.polygon(\n", + " [[54.08877908593677, 12.097702136947122], [54.08875046618651, 12.097661067956478], [54.08870071935329, 12.097651943043488], [54.08865898640267, 12.09768010751523], [54.088649713985916, 12.097729063052435], [54.08867833381364, 12.097770132108565], [54.08872808072417, 12.097779256941221], [54.0887698135973, 12.097751092403998], [54.08877908593677, 12.097702136947122]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_decd0fca4293efc459e97d1d7d2d614e = L.marker(\n", + " [54.0863178, 12.1044347],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_6c0ed0722ed1363d767e061062eb0e52 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_bd0e085c4104c17d2c9578418a1b5485 = $(`<div id="html_bd0e085c4104c17d2c9578418a1b5485" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1044347, 54.0863178]</div>`)[0];\n", + " popup_6c0ed0722ed1363d767e061062eb0e52.setContent(html_bd0e085c4104c17d2c9578418a1b5485);\n", + " \n", + " \n", + "\n", + " marker_decd0fca4293efc459e97d1d7d2d614e.bindPopup(popup_6c0ed0722ed1363d767e061062eb0e52)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_c64fe5151181d936f2d0614029a498ac = L.polygon(\n", + " [[54.08638249032657, 12.104421230162123], [54.08635386416883, 12.104380161250383], [54.08630411211007, 12.104371040344633], [54.0862623781769, 12.104399210404564], [54.08625310959613, 12.104448169837433], [54.086281735831356, 12.104489238814653], [54.08633148796742, 12.104498359640065], [54.08637322182311, 12.104470189514648], [54.08638249032657, 12.104421230162123]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_3fa6fa5c356d05006198c9c66d21b233 = L.marker(\n", + " [54.1016171, 12.1557835],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_ba347e17139a1e3b80127248a5cb53af = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_4f14ff31acc4bc63d41f9763829db03a = $(`<div id="html_4f14ff31acc4bc63d41f9763829db03a" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1557835, 54.1016171]</div>`)[0];\n", + " popup_ba347e17139a1e3b80127248a5cb53af.setContent(html_4f14ff31acc4bc63d41f9763829db03a);\n", + " \n", + " \n", + "\n", + " marker_3fa6fa5c356d05006198c9c66d21b233.bindPopup(popup_ba347e17139a1e3b80127248a5cb53af)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_6ac27b914716cde1df569d568c46640d = L.polygon(\n", + " [[54.10168178539935, 12.155769970333592], [54.10165311579786, 12.155728931153945], [54.101603348630384, 12.155719857610352], [54.10156163677397, 12.155748064918438], [54.10155241452326, 12.155797029665965], [54.10158108420231, 12.155838068911063], [54.101630851447126, 12.155847142374267], [54.10167256322597, 12.155818935000726], [54.10168178539935, 12.155769970333592]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_2611e275dbccb673e5e081d9e3e8977d = L.marker(\n", + " [54.0835221, 12.1258076],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_986e4514072ee939f1cb624c05e19ab4 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_393f1d7011c4daa98c0557cb6d0b73c9 = $(`<div id="html_393f1d7011c4daa98c0557cb6d0b73c9" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1258076, 54.0835221]</div>`)[0];\n", + " popup_986e4514072ee939f1cb624c05e19ab4.setContent(html_393f1d7011c4daa98c0557cb6d0b73c9);\n", + " \n", + " \n", + "\n", + " marker_2611e275dbccb673e5e081d9e3e8977d.bindPopup(popup_986e4514072ee939f1cb624c05e19ab4)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_295d176c65ce9f586008594e50191e95 = L.polygon(\n", + " [[54.08358679876721, 12.125794107438397], [54.08355815302272, 12.12575304295983], [54.083508387906456, 12.125743937201598], [54.08346665509389, 12.125772124250199], [54.083457401155464, 12.125821092561146], [54.083486046977455, 12.125862157105196], [54.08353581217105, 12.12587126278307], [54.083577544906106, 12.125843075668989], [54.08358679876721, 12.125794107438397]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_5cab769124bf77821026665a9337b132 = L.marker(\n", + " [54.086933, 12.1099089],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_4b65093c96501ad5c8c54a6ef957ac26 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_303366a6628a591a13cd91def5c4efaf = $(`<div id="html_303366a6628a591a13cd91def5c4efaf" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1099089, 54.086933]</div>`)[0];\n", + " popup_4b65093c96501ad5c8c54a6ef957ac26.setContent(html_303366a6628a591a13cd91def5c4efaf);\n", + " \n", + " \n", + "\n", + " marker_5cab769124bf77821026665a9337b132.bindPopup(popup_4b65093c96501ad5c8c54a6ef957ac26)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_1dedaf2d383b05e68399d47bf4739d39 = L.polygon(\n", + " [[54.08699769096263, 12.109895424025712], [54.08696906000825, 12.10985435740305], [54.086919305590044, 12.109845241040091], [54.08687757311675, 12.109873415235429], [54.08686830896004, 12.10992237597384], [54.086896939991924, 12.10996344266198], [54.08694669448744, 12.109972558944596], [54.08698842688323, 12.10994438468378], [54.08699769096263, 12.109895424025712]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_e16b7c18fb3d5c7863331869203e120f = L.marker(\n", + " [54.1353326, 12.0837188],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_64cb355218994a6aca75d1a664567ba1 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_5d669fd4d0b7d70ae1461638b3d30e66 = $(`<div id="html_5d669fd4d0b7d70ae1461638b3d30e66" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0837188, 54.1353326]</div>`)[0];\n", + " popup_64cb355218994a6aca75d1a664567ba1.setContent(html_5d669fd4d0b7d70ae1461638b3d30e66);\n", + " \n", + " \n", + "\n", + " marker_e16b7c18fb3d5c7863331869203e120f.bindPopup(popup_64cb355218994a6aca75d1a664567ba1)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_167a3ce5dc530319b287210837d0d97e = L.polygon(\n", + " [[54.13539722909772, 12.083705341234632], [54.1353686295885, 12.083664308156505], [54.1353189244349, 12.083655195607404], [54.13527723018718, 12.083683341651827], [54.135267970824984, 12.083732258764964], [54.13529657041171, 12.083773291908543], [54.135346275642526, 12.083782404377287], [54.13538796981275, 12.08375425826741], [54.13539722909772, 12.083705341234632]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_7b98377cc835fde940abf7b47f1e037c = L.marker(\n", + " [54.1249878, 12.0584246],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_401a65bf1881a2222e6af93710f13f73 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_9d0cb748bdef8d3be5d4c083444fd7d7 = $(`<div id="html_9d0cb748bdef8d3be5d4c083444fd7d7" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0584246, 54.1249878]</div>`)[0];\n", + " popup_401a65bf1881a2222e6af93710f13f73.setContent(html_9d0cb748bdef8d3be5d4c083444fd7d7);\n", + " \n", + " \n", + "\n", + " marker_7b98377cc835fde940abf7b47f1e037c.bindPopup(popup_401a65bf1881a2222e6af93710f13f73)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_c9bf79f33939ab596a10e5f37a845b08 = L.polygon(\n", + " [[54.12505243478335, 12.058411171384336], [54.12502385619389, 12.058370121217958], [54.124974156374996, 12.058360983929395], [54.124932448751906, 12.058389112075174], [54.12492316513938, 12.058438028615264], [54.12495174380631, 12.058479078847116], [54.125001443702416, 12.058488216055347], [54.125043151248015, 12.058460087844107], [54.12505243478335, 12.058411171384336]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_c2176b2c74ad3fc2cb34b29ea4c6b3b6 = L.marker(\n", + " [54.1360469, 12.0691392],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_5c6acf4afb6997408345a59a9897a23c = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_493266797cef8173a5f649f6d476ce01 = $(`<div id="html_493266797cef8173a5f649f6d476ce01" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0691392, 54.1360469]</div>`)[0];\n", + " popup_5c6acf4afb6997408345a59a9897a23c.setContent(html_493266797cef8173a5f649f6d476ce01);\n", + " \n", + " \n", + "\n", + " marker_c2176b2c74ad3fc2cb34b29ea4c6b3b6.bindPopup(popup_5c6acf4afb6997408345a59a9897a23c)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_f4add5f0902cd243ed24e30232ebaa97 = L.polygon(\n", + " [[54.13611152472065, 12.069125757036215], [54.13608293837943, 12.069084719896082], [54.13603324124422, 12.069075596408105], [54.135991545168224, 12.06910373104461], [54.13598227520206, 12.069152642963395], [54.13601086162079, 12.06919368016898], [54.13606055883321, 12.069202803576614], [54.136102254831705, 12.069174668874652], [54.13611152472065, 12.069125757036215]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_f64f0c74ab834243d7c3ecb37bf5f0b4 = L.marker(\n", + " [54.083896, 12.1413815],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_649f7dde5e1c9987fae8aedccb200676 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_0c5d268e66f0442050bea40f7391edf7 = $(`<div id="html_0c5d268e66f0442050bea40f7391edf7" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1413815, 54.083896]</div>`)[0];\n", + " popup_649f7dde5e1c9987fae8aedccb200676.setContent(html_0c5d268e66f0442050bea40f7391edf7);\n", + " \n", + " \n", + "\n", + " marker_f64f0c74ab834243d7c3ecb37bf5f0b4.bindPopup(popup_649f7dde5e1c9987fae8aedccb200676)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_13eb160d5745e0b5090c6e9f796288ee = L.polygon(\n", + " [[54.083960702162365, 12.141367990309499], [54.08393204253978, 12.141326931150019], [54.08388226968619, 12.141317837628888], [54.083840539809465, 12.141346036664295], [54.083831297760284, 12.141395009690035], [54.08385995746039, 12.141436068914995], [54.083909730391326, 12.14144516235576], [54.08395146019052, 12.141416963254882], [54.083960702162365, 12.141367990309499]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_06d84370617ec71f5fc85594ec0df1e7 = L.marker(\n", + " [54.0955498, 12.0875865],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_ebcbcf95cb305d4cb55e4c9b4ba6af03 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_33ef005afbad82e50109e5f5ed2ef726 = $(`<div id="html_33ef005afbad82e50109e5f5ed2ef726" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0875865, 54.0955498]</div>`)[0];\n", + " popup_ebcbcf95cb305d4cb55e4c9b4ba6af03.setContent(html_33ef005afbad82e50109e5f5ed2ef726);\n", + " \n", + " \n", + "\n", + " marker_06d84370617ec71f5fc85594ec0df1e7.bindPopup(popup_ebcbcf95cb305d4cb55e4c9b4ba6af03)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_d32210ffc0d3c0c0acaf22b60ed946d0 = L.polygon(\n", + " [[54.09561447562974, 12.087573046414171], [54.095585866071595, 12.087531980096466], [54.09553612949781, 12.087522850744977], [54.09549440086412, 12.087551006266791], [54.095485124292985, 12.087599953585386], [54.0955137339286, 12.087641019968567], [54.09556347057966, 12.087650149239723], [54.095605199135875, 12.087621993652432], [54.09561447562974, 12.087573046414171]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_b0395508ee39826772ae11fcd706c1b5 = L.marker(\n", + " [54.0826883, 12.1247161],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_35c2b3be5368a7ce666fc1552f42e3a7 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_0c93df60157a11f46c455d86e65c62de = $(`<div id="html_0c93df60157a11f46c455d86e65c62de" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1247161, 54.0826883]</div>`)[0];\n", + " popup_35c2b3be5368a7ce666fc1552f42e3a7.setContent(html_0c93df60157a11f46c455d86e65c62de);\n", + " \n", + " \n", + "\n", + " marker_b0395508ee39826772ae11fcd706c1b5.bindPopup(popup_35c2b3be5368a7ce666fc1552f42e3a7)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_ab037694247e3154574546cc683c38f3 = L.polygon(\n", + " [[54.08275299945447, 12.12470260883073], [54.08272435454943, 12.124661543279563], [54.08267458937827, 12.124652436261437], [54.08263285564866, 12.124680622600875], [54.082623600468196, 12.124729591168803], [54.08265224545074, 12.124770656785453], [54.08270201069922, 12.124779763723229], [54.082743744351326, 12.124751577318314], [54.08275299945447, 12.12470260883073]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_40c35b491517d2c5e9f666bc0af18d13 = L.marker(\n", + " [54.0856268, 12.1050139],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_1c92d4cdb3c721f9269b0e5d18208d58 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_9f87ce577b21b290b2d50ea743fff397 = $(`<div id="html_9f87ce577b21b290b2d50ea743fff397" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1050139, 54.0856268]</div>`)[0];\n", + " popup_1c92d4cdb3c721f9269b0e5d18208d58.setContent(html_9f87ce577b21b290b2d50ea743fff397);\n", + " \n", + " \n", + "\n", + " marker_40c35b491517d2c5e9f666bc0af18d13.bindPopup(popup_1c92d4cdb3c721f9269b0e5d18208d58)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_f21e266ab327045dd71504187576fa6f = L.polygon(\n", + " [[54.08569149125985, 12.105000429692147], [54.085662864469796, 12.104959360367479], [54.08561311160243, 12.104950239565996], [54.085571377158, 12.104978410186307], [54.08556210866285, 12.105027370307397], [54.085590735530374, 12.105068439697542], [54.08564048847505, 12.10507756041869], [54.085682222841996, 12.105049389732898], [54.08569149125985, 12.105000429692147]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_db74f736a6a73d502f05474f36a19c8d = L.marker(\n", + " [54.0839857, 12.1323702],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_8fd1634ae5d15514d88e7364c7b1c93c = L.popup({"maxWidth": "100%"});\n", + " var popup_b17ede8ba3dfa3f25cbe03f2461bd782 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_1b5310da83c38790c3c8f9437697f1be = $(`<div id="html_1b5310da83c38790c3c8f9437697f1be" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1238605, 54.0741728]</div>`)[0];\n", - " popup_8fd1634ae5d15514d88e7364c7b1c93c.setContent(html_1b5310da83c38790c3c8f9437697f1be);\n", + " var html_be562c658f404bb55e04abe8e08f5f88 = $(`<div id="html_be562c658f404bb55e04abe8e08f5f88" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1323702, 54.0839857]</div>`)[0];\n", + " popup_b17ede8ba3dfa3f25cbe03f2461bd782.setContent(html_be562c658f404bb55e04abe8e08f5f88);\n", " \n", " \n", "\n", - " marker_e894afae3789def4399a7cd4aa1984a0.bindPopup(popup_8fd1634ae5d15514d88e7364c7b1c93c)\n", + " marker_db74f736a6a73d502f05474f36a19c8d.bindPopup(popup_b17ede8ba3dfa3f25cbe03f2461bd782)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_65eb27af9ec7f34197c3ce6121ceaa5e = L.polygon(\n", - " [[54.07423750899742, 12.123847011789524], [54.07420886345503, 12.123805938585596], [54.07415909242973, 12.123796826664378], [54.074117351058476, 12.12382501372254], [54.07410809092522, 12.123873988210006], [54.074136736545114, 12.123915061479416], [54.07418650764774, 12.123924173320297], [54.074228248941495, 12.123895986196645], [54.07423750899742, 12.123847011789524]],\n", + " var polygon_9c8e13988295249b23ab585b34bc30bc = L.polygon(\n", + " [[54.08405039984668, 12.132356700147701], [54.08402174830496, 12.132315638175752], [54.08397198015507, 12.132306537726585], [54.083930248849526, 12.132334729776716], [54.08392100007597, 12.132383699851838], [54.083949651695185, 12.132424761889265], [54.083999419922435, 12.132433862258074], [54.08404115115045, 12.132405670142463], [54.08405039984668, 12.132356700147701]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_8c2d095172efd6889ac61d5ad6def596 = L.marker(\n", - " [54.1784183, 12.0789375],\n", + " var marker_b96d0e0f517d4fa7130fc8b0c7a43348 = L.marker(\n", + " [54.0870861, 12.1506278],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_dbbdf4ffa1e294d0a122a2fc16dcacb5 = L.popup({"maxWidth": "100%"});\n", + " var popup_de368128e774f89640f5c24fbc0c871d = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_694c2b242078b065e88cfe4244adf942 = $(`<div id="html_694c2b242078b065e88cfe4244adf942" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0789375, 54.1784183]</div>`)[0];\n", - " popup_dbbdf4ffa1e294d0a122a2fc16dcacb5.setContent(html_694c2b242078b065e88cfe4244adf942);\n", + " var html_b04674461c5604a19b53d6ceedf12f64 = $(`<div id="html_b04674461c5604a19b53d6ceedf12f64" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1506278, 54.0870861]</div>`)[0];\n", + " popup_de368128e774f89640f5c24fbc0c871d.setContent(html_b04674461c5604a19b53d6ceedf12f64);\n", " \n", " \n", "\n", - " marker_8c2d095172efd6889ac61d5ad6def596.bindPopup(popup_dbbdf4ffa1e294d0a122a2fc16dcacb5)\n", + " marker_b96d0e0f517d4fa7130fc8b0c7a43348.bindPopup(popup_de368128e774f89640f5c24fbc0c871d)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_38b9fa079896eae10da998754bd45720 = L.polygon(\n", - " [[54.178482878523845, 12.07892403628813], [54.178454290448315, 12.07888303903991], [54.178404619656156, 12.078873944229649], [54.1783629625692, 12.07890207953069], [54.17835372139885, 12.078950963711529], [54.17838230955194, 12.07899196102517], [54.178431980421266, 12.079001055755043], [54.17847363743068, 12.078972920388582], [54.178482878523845, 12.07892403628813]],\n", + " var polygon_51fed62d2a2ea42faac1fae3af9b5dde = L.polygon(\n", + " [[54.087150800780414, 12.150614279433977], [54.087122133405025, 12.15057322600479], [54.08707235814963, 12.150564141227965], [54.08703063262908, 12.150592346899387], [54.08702139914222, 12.150641320565567], [54.08705006659514, 12.150682374060223], [54.087099841927895, 12.150691458756674], [54.087141567370914, 12.150663253019784], [54.087150800780414, 12.150614279433977]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_5f72eceed5d8b80259a1aa136647d300 = L.marker(\n", - " [54.0902598, 12.1156688],\n", + " var marker_89f5fa7851dc4c5318a9470ea22d3476 = L.marker(\n", + " [54.077593, 12.1167316],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_9b7334902a7096bb8e91c00eb48bcc20 = L.popup({"maxWidth": "100%"});\n", + " var popup_487e1fe6c454bae4a3f39ab37e4dc106 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_d41387cec5d6c18fdc20abff5629cc9f = $(`<div id="html_d41387cec5d6c18fdc20abff5629cc9f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1156688, 54.0902598]</div>`)[0];\n", - " popup_9b7334902a7096bb8e91c00eb48bcc20.setContent(html_d41387cec5d6c18fdc20abff5629cc9f);\n", + " var html_f73046fa7f12a7a89cd75972e5bf51a6 = $(`<div id="html_f73046fa7f12a7a89cd75972e5bf51a6" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1167316, 54.077593]</div>`)[0];\n", + " popup_487e1fe6c454bae4a3f39ab37e4dc106.setContent(html_f73046fa7f12a7a89cd75972e5bf51a6);\n", " \n", " \n", "\n", - " marker_5f72eceed5d8b80259a1aa136647d300.bindPopup(popup_9b7334902a7096bb8e91c00eb48bcc20)\n", + " marker_89f5fa7851dc4c5318a9470ea22d3476.bindPopup(popup_487e1fe6c454bae4a3f39ab37e4dc106)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_75ec3819e29d972544ecfa52cbaa48e9 = L.polygon(\n", - " [[54.090324488563276, 12.115655316933134], [54.09029585300342, 12.11561425504094], [54.09024609808308, 12.115605144792136], [54.09020436950513, 12.115633322903735], [54.0901951113594, 12.115682283066413], [54.090223746996756, 12.115723345024087], [54.0902735019944, 12.115732455192541], [54.090315230494845, 12.115704277015467], [54.090324488563276, 12.115655316933134]],\n", + " var polygon_a5f8c4f4d06d232a660baf0bf08f7452 = L.polygon(\n", + " [[54.07765770333215, 12.116718118776722], [54.07762906473229, 12.116677046249789], [54.077579299901345, 12.116667930515979], [54.07753756034767, 12.116696111505343], [54.077528296590515, 12.116745081222815], [54.07755693526786, 12.116786153815234], [54.07760670017614, 12.1167952694687], [54.07764843965232, 12.11676708841385], [54.07765770333215, 12.116718118776722]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_0a65ceed223bd2043174315da62d55c8 = L.marker(\n", - " [54.0887332, 12.1504842],\n", + " var marker_29487672eac3662e4dee10d2dfd6d07e = L.marker(\n", + " [54.1126475, 12.1113437],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_57998e3fac85d8181c4e6b7f468dc806 = L.popup({"maxWidth": "100%"});\n", + " var popup_2981410d128c7c808476e426ada7f118 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_d7ae6e68fe437d419c101cef1ac598d0 = $(`<div id="html_d7ae6e68fe437d419c101cef1ac598d0" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1504842, 54.0887332]</div>`)[0];\n", - " popup_57998e3fac85d8181c4e6b7f468dc806.setContent(html_d7ae6e68fe437d419c101cef1ac598d0);\n", + " var html_db56acc039d6190d904f13edd8953b0a = $(`<div id="html_db56acc039d6190d904f13edd8953b0a" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1113437, 54.1126475]</div>`)[0];\n", + " popup_2981410d128c7c808476e426ada7f118.setContent(html_db56acc039d6190d904f13edd8953b0a);\n", " \n", " \n", "\n", - " marker_0a65ceed223bd2043174315da62d55c8.bindPopup(popup_57998e3fac85d8181c4e6b7f468dc806)\n", + " marker_29487672eac3662e4dee10d2dfd6d07e.bindPopup(popup_2981410d128c7c808476e426ada7f118)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_847bf392c59c95a165de69d1ad8c057d = L.polygon(\n", - " [[54.088797898858175, 12.15047067919909], [54.088769231882296, 12.150429627151421], [54.08871945791841, 12.15042054308444], [54.08867773382478, 12.150448748378205], [54.08866850106444, 12.150497720800459], [54.08869716811785, 12.150538772913588], [54.0887469421591, 12.150547856900197], [54.088788666175176, 12.150519651540963], [54.088797898858175, 12.15047067919909]],\n", + " var polygon_9a0c63df838562d57aa74d22d9c39014 = L.polygon(\n", + " [[54.11271216185346, 12.111330216356098], [54.11268353386106, 12.111289172479589], [54.11263379772149, 12.111280070031157], [54.112592088136125, 12.111308241158461], [54.1125828380692, 12.111357183643484], [54.11261146613912, 12.11139822758545], [54.11266120235597, 12.11140732995352], [54.11270291186382, 12.111379158760759], [54.11271216185346, 12.111330216356098]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_7b1b94726314a27d9c0890f5ebb2a33f = L.marker(\n", - " [54.0891985, 12.1119212],\n", + " var marker_aebeb637be7c372f67be627d4d85d834 = L.marker(\n", + " [54.0782723, 12.099503],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_a088b4ffa7b31c624e346b0ac9093795 = L.popup({"maxWidth": "100%"});\n", + " var popup_8245b8c2e683d737d9645dc92a0fedfa = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_a09a8c7f7da7c5efb1bdd4c1329adf19 = $(`<div id="html_a09a8c7f7da7c5efb1bdd4c1329adf19" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1119212, 54.0891985]</div>`)[0];\n", - " popup_a088b4ffa7b31c624e346b0ac9093795.setContent(html_a09a8c7f7da7c5efb1bdd4c1329adf19);\n", + " var html_a80d3cb8e708246fb5e037426a5c31f8 = $(`<div id="html_a80d3cb8e708246fb5e037426a5c31f8" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.099503, 54.0782723]</div>`)[0];\n", + " popup_8245b8c2e683d737d9645dc92a0fedfa.setContent(html_a80d3cb8e708246fb5e037426a5c31f8);\n", " \n", " \n", "\n", - " marker_7b1b94726314a27d9c0890f5ebb2a33f.bindPopup(popup_a088b4ffa7b31c624e346b0ac9093795)\n", + " marker_aebeb637be7c372f67be627d4d85d834.bindPopup(popup_8245b8c2e683d737d9645dc92a0fedfa)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_1b1dc8fe29b456c9b3380087d03b27b0 = L.polygon(\n", - " [[54.08926318886064, 12.111907721286135], [54.089234556479404, 12.111866657272078], [54.08918480270151, 12.111857543594443], [54.08914307256059, 12.111885718978801], [54.08913381106205, 12.111934678713416], [54.08916244352078, 12.11197574279295], [54.089212197375986, 12.11198485639024], [54.0892539274394, 12.111956680940406], [54.08926318886064, 12.111907721286135]],\n", + " var polygon_d941b679bca45b74f1cd471c423a930a = L.polygon(\n", + " [[54.07833699833364, 12.099489537466154], [54.07830837525985, 12.09944846000194], [54.07825861978808, 12.099439331275038], [54.07821687794421, 12.099467498826654], [54.07820760158905, 12.099516462533384], [54.07823622474031, 12.099557540063087], [54.078285980289394, 12.099566668709661], [54.07832772205579, 12.099538501092557], [54.07833699833364, 12.099489537466154]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_382d8de22faf0f800953412073745d76 = L.marker(\n", - " [54.0931965, 12.1132518],\n", + " var marker_9ddb7dde1e50df06740ad71f458beacf = L.marker(\n", + " [54.0872169, 12.1355191],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_01ce231c189648439bed16054fb05f86 = L.popup({"maxWidth": "100%"});\n", + " var popup_a86a76767027e444d808853063a592ca = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_005202376c8e333f7f6c9b0437622d73 = $(`<div id="html_005202376c8e333f7f6c9b0437622d73" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1132518, 54.0931965]</div>`)[0];\n", - " popup_01ce231c189648439bed16054fb05f86.setContent(html_005202376c8e333f7f6c9b0437622d73);\n", + " var html_a0d4e0c29685cd8451cdb684d5b2ebf0 = $(`<div id="html_a0d4e0c29685cd8451cdb684d5b2ebf0" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1355191, 54.0872169]</div>`)[0];\n", + " popup_a86a76767027e444d808853063a592ca.setContent(html_a0d4e0c29685cd8451cdb684d5b2ebf0);\n", " \n", " \n", "\n", - " marker_382d8de22faf0f800953412073745d76.bindPopup(popup_01ce231c189648439bed16054fb05f86)\n", + " marker_9ddb7dde1e50df06740ad71f458beacf.bindPopup(popup_a86a76767027e444d808853063a592ca)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_f030ab756ca0224095bdefd2e1e363fc = L.polygon(\n", - " [[54.093261184606874, 12.113238318881399], [54.093232551694655, 12.113197258758715], [54.0931828001886, 12.113188148101603], [54.09314107379155, 12.113216323866252], [54.09313181531579, 12.113265281118156], [54.09316044830551, 12.113306341306316], [54.09321019988887, 12.113315451883077], [54.09325192620842, 12.11328727605295], [54.093261184606874, 12.113238318881399]],\n", + " var polygon_76e4fc2a79a5af4eb5d2f5049932bdbc = L.polygon(\n", + " [[54.08728159691845, 12.135505595934237], [54.087252943090334, 12.135464537772446], [54.08720317570869, 12.135455441369691], [54.08716144777604, 12.135483635332156], [54.087152203004216, 12.135532604065306], [54.08718085690985, 12.135573662292568], [54.08723062436883, 12.135582758614959], [54.08727235222396, 12.135554564587025], [54.08728159691845, 12.135505595934237]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_cc6d384f8df6dc6f76a0fc7eadb25d42 = L.marker(\n", - " [54.0814079, 12.1148604],\n", + " var marker_c737f7ef0dadd151c219a40832a5757e = L.marker(\n", + " [54.1141001, 12.0576963],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_b57c6d1c4f25ae2623362e4dae10f5c0 = L.popup({"maxWidth": "100%"});\n", + " var popup_0a6424cc3a20691d9b25cb833851d664 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_d34bae07f6c98f6da7f3eea43c95a96b = $(`<div id="html_d34bae07f6c98f6da7f3eea43c95a96b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1148604, 54.0814079]</div>`)[0];\n", - " popup_b57c6d1c4f25ae2623362e4dae10f5c0.setContent(html_d34bae07f6c98f6da7f3eea43c95a96b);\n", + " var html_26be41319a4be2d4d8be24c8f5c2284f = $(`<div id="html_26be41319a4be2d4d8be24c8f5c2284f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0576963, 54.1141001]</div>`)[0];\n", + " popup_0a6424cc3a20691d9b25cb833851d664.setContent(html_26be41319a4be2d4d8be24c8f5c2284f);\n", " \n", " \n", "\n", - " marker_cc6d384f8df6dc6f76a0fc7eadb25d42.bindPopup(popup_b57c6d1c4f25ae2623362e4dae10f5c0)\n", + " marker_c737f7ef0dadd151c219a40832a5757e.bindPopup(popup_0a6424cc3a20691d9b25cb833851d664)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_cd2a4f563d25092d05a209964b2af532 = L.polygon(\n", - " [[54.08147259850427, 12.114846919918557], [54.08144396220776, 12.114805850096811], [54.08139420115899, 12.114796734814659], [54.081352464650784, 12.114824913737575], [54.0813432014184, 12.114873880080985], [54.0813718377924, 12.114914949968217], [54.08142159891849, 12.114924065170026], [54.081463335349206, 12.114895886181628], [54.08147259850427, 12.114846919918557]],\n", + " var polygon_36cef12e93ac021a1c79715807f1c92d = L.polygon(\n", + " [[54.11416474708173, 12.057682874752572], [54.11413616733653, 12.057641814916725], [54.11408645983468, 12.05763267164987], [54.114044742502024, 12.057660801010526], [54.114035452840994, 12.057709725247014], [54.114064032663656, 12.057750785148338], [54.114113740242715, 12.05775992833487], [54.11415545749792, 12.057731798908742], [54.11416474708173, 12.057682874752572]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_0fc66c513c3a9886c76f7468db65fefe = L.marker(\n", - " [54.1011267, 12.0876076],\n", + " var marker_379bb02119da2917578de7bb25d3570d = L.marker(\n", + " [54.1328981, 12.060309],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_9792c6c48fa7992c8e82e5e1104eb477 = L.popup({"maxWidth": "100%"});\n", + " var popup_1c4ed33b836668ae02042acf28e61a86 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_d37949d8c76d4e55022a4a9e4c71da2a = $(`<div id="html_d37949d8c76d4e55022a4a9e4c71da2a" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0876076, 54.1011267]</div>`)[0];\n", - " popup_9792c6c48fa7992c8e82e5e1104eb477.setContent(html_d37949d8c76d4e55022a4a9e4c71da2a);\n", + " var html_7790add3d968ff00256aa6ee891efe1b = $(`<div id="html_7790add3d968ff00256aa6ee891efe1b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.060309, 54.1328981]</div>`)[0];\n", + " popup_1c4ed33b836668ae02042acf28e61a86.setContent(html_7790add3d968ff00256aa6ee891efe1b);\n", " \n", " \n", "\n", - " marker_0fc66c513c3a9886c76f7468db65fefe.bindPopup(popup_9792c6c48fa7992c8e82e5e1104eb477)\n", + " marker_379bb02119da2917578de7bb25d3570d.bindPopup(popup_1c4ed33b836668ae02042acf28e61a86)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_38b531ca3bff71f24af9aebb55812bfa = L.polygon(\n", - " [[54.1011913692462, 12.087594145070737], [54.10116276059171, 12.08755308359231], [54.10111302813161, 12.087543957032278], [54.101071304411896, 12.087572111662539], [54.101062030676495, 12.087621054928825], [54.10109063940847, 12.087662116472732], [54.101140371945846, 12.087671242952428], [54.10118209558808, 12.087643088256694], [54.1011913692462, 12.087594145070737]],\n", + " var polygon_9acd9b5ee8388833ee1cb78cd6049681 = L.polygon(\n", + " [[54.132962726176906, 12.060295567452705], [54.13293414721494, 12.060254524747704], [54.13288445228328, 12.060245392852842], [54.13284275194431, 12.060273521165088], [54.13283347374583, 12.060322432546903], [54.13286205278527, 12.060363475317368], [54.13291174779414, 12.060372607131892], [54.13295344805563, 12.060344478754184], [54.132962726176906, 12.060295567452705]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_9c61504000feec0d24b43cda0d199742 = L.marker(\n", - " [54.0845393, 12.1245531],\n", + " var marker_70a92f2f7148333bfa6b0263e549e683 = L.marker(\n", + " [54.0844078, 12.1465929],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_4b6700c7e66f8f113302cb787675ae53 = L.popup({"maxWidth": "100%"});\n", + " var popup_3500a9fb3196f2935218249b96370110 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_086d2426abd86258ffe99e8ef827dd4d = $(`<div id="html_086d2426abd86258ffe99e8ef827dd4d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1245531, 54.0845393]</div>`)[0];\n", - " popup_4b6700c7e66f8f113302cb787675ae53.setContent(html_086d2426abd86258ffe99e8ef827dd4d);\n", + " var html_b3dfff2f67a16b7f05eca42cb510ef1f = $(`<div id="html_b3dfff2f67a16b7f05eca42cb510ef1f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1465929, 54.0844078]</div>`)[0];\n", + " popup_3500a9fb3196f2935218249b96370110.setContent(html_b3dfff2f67a16b7f05eca42cb510ef1f);\n", " \n", " \n", "\n", - " marker_9c61504000feec0d24b43cda0d199742.bindPopup(popup_4b6700c7e66f8f113302cb787675ae53)\n", + " marker_70a92f2f7148333bfa6b0263e549e683.bindPopup(popup_3500a9fb3196f2935218249b96370110)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_f33c42348d97230280a444f1b1f066d8 = L.polygon(\n", - " [[54.08460399729434, 12.124539608569435], [54.08457535284021, 12.124498544569938], [54.08452558912122, 12.124489438347595], [54.084483856994346, 12.124517624260777], [54.08447460262833, 12.124566591430103], [54.08450324715996, 12.124607655495083], [54.08455301095628, 12.124616761637077], [54.08459474300565, 12.124588575658418], [54.08460399729434, 12.124539608569435]],\n", + " var polygon_352f1461390f01c62363572a6b2cd777 = L.polygon(\n", + " [[54.08447250285667, 12.146579384485953], [54.08444383865306, 12.14653832744143], [54.08439406349521, 12.146529238207702], [54.08435233494083, 12.146557441191447], [54.084343097065954, 12.146606415513581], [54.08437176134709, 12.146647472623581], [54.08442153658227, 12.146656561776942], [54.08446326505914, 12.146628358727723], [54.08447250285667, 12.146579384485953]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_9ae8b8d76331d8c2a7a74ec3f97fb444 = L.marker(\n", - " [54.086606, 12.1277188],\n", + " var marker_f8cd56bccf1624ed240b650ce5ba294c = L.marker(\n", + " [54.0926559, 12.1375571],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_2b517f9f6ed1aea53ea5a12982de38ac = L.popup({"maxWidth": "100%"});\n", + " var popup_9fc9cdbbccb5edaae2530d88e61e3d99 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_dcc4d04e2b0a5559ad0b5ec59634d7a1 = $(`<div id="html_dcc4d04e2b0a5559ad0b5ec59634d7a1" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1277188, 54.086606]</div>`)[0];\n", - " popup_2b517f9f6ed1aea53ea5a12982de38ac.setContent(html_dcc4d04e2b0a5559ad0b5ec59634d7a1);\n", + " var html_7fe333a7f40118ad5fb5dbace3bd4810 = $(`<div id="html_7fe333a7f40118ad5fb5dbace3bd4810" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1375571, 54.0926559]</div>`)[0];\n", + " popup_9fc9cdbbccb5edaae2530d88e61e3d99.setContent(html_7fe333a7f40118ad5fb5dbace3bd4810);\n", " \n", " \n", "\n", - " marker_9ae8b8d76331d8c2a7a74ec3f97fb444.bindPopup(popup_2b517f9f6ed1aea53ea5a12982de38ac)\n", + " marker_f8cd56bccf1624ed240b650ce5ba294c.bindPopup(popup_9fc9cdbbccb5edaae2530d88e61e3d99)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_d4d2b40516c543b880f21c01c494557f = L.polygon(\n", - " [[54.08667069570366, 12.127705304614574], [54.086642048756836, 12.127664243421409], [54.08659228493711, 12.127655140678188], [54.08655055516049, 12.127683328705265], [54.08654130421899, 12.127732295384966], [54.086569951243334, 12.127773356643612], [54.08661971514038, 12.127782459306475], [54.08666144483948, 12.127754271213925], [54.08667069570366, 12.127705304614574]],\n", + " var polygon_ba9d7cfb810b8eddeaea327116dc964a = L.polygon(\n", + " [[54.09272059118801, 12.1375435924112], [54.092691936431294, 12.13750253961697], [54.09264217202182, 12.137493447501276], [54.092600449221045, 12.137521642159017], [54.09259120873463, 12.137570607588358], [54.09261986356887, 12.137611660448057], [54.09266962805568, 12.137620752483377], [54.09271135077893, 12.13759255776017], [54.09272059118801, 12.1375435924112]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_17d547b0acae03ec605ad36bdd2470f6 = L.marker(\n", - " [54.1000826, 12.1610655],\n", + " var marker_fe55cde72c89a83df54fc14b5cbeac91 = L.marker(\n", + " [54.0833722, 12.1424641],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_add5a30722b3542b859522fbf7980a56 = L.popup({"maxWidth": "100%"});\n", + " var popup_d465f22b7f3fbb72a168eee09832484a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_36868e6c67157f0278c9f378cd75ceb9 = $(`<div id="html_36868e6c67157f0278c9f378cd75ceb9" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1610655, 54.1000826]</div>`)[0];\n", - " popup_add5a30722b3542b859522fbf7980a56.setContent(html_36868e6c67157f0278c9f378cd75ceb9);\n", + " var html_feaac9c9c608e40a470363b1109a5b10 = $(`<div id="html_feaac9c9c608e40a470363b1109a5b10" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1424641, 54.0833722]</div>`)[0];\n", + " popup_d465f22b7f3fbb72a168eee09832484a.setContent(html_feaac9c9c608e40a470363b1109a5b10);\n", " \n", " \n", "\n", - " marker_17d547b0acae03ec605ad36bdd2470f6.bindPopup(popup_add5a30722b3542b859522fbf7980a56)\n", + " marker_fe55cde72c89a83df54fc14b5cbeac91.bindPopup(popup_d465f22b7f3fbb72a168eee09832484a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_f4f20f2eabf38718555f6e4c4efc288b = L.polygon(\n", - " [[54.10014728845697, 12.161051964918567], [54.10011861387249, 12.16101092610305], [54.100068842849886, 12.161001855882326], [54.1000271305245, 12.161030067525536], [54.10001791146565, 12.16107903508098], [54.10004658612769, 12.161120073961957], [54.100096357227635, 12.161129144102285], [54.10013806947548, 12.161100932393623], [54.10014728845697, 12.161051964918567]],\n", + " var polygon_b5a93c3a2a8b35038760e9d81f36fe3e = L.polygon(\n", + " [[54.08343690302834, 12.142450589249616], [54.08340824235045, 12.142409529983405], [54.08335846855244, 12.142400437038944], [54.08331673839546, 12.142428636996591], [54.0833074968943, 12.142477610749925], [54.08333615764972, 12.142518670081605], [54.083385931525065, 12.142527762945706], [54.08342766160453, 12.142499562922586], [54.08343690302834, 12.142450589249616]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_8052984f38da013fea73c45c2691796e = L.marker(\n", - " [54.0824925, 12.1313376],\n", + " var marker_c26b60a50d2656135f2fd73255a03630 = L.marker(\n", + " [54.1748275, 12.0851205],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_bd739c707b322753f88e2e39a217d112 = L.popup({"maxWidth": "100%"});\n", + " var popup_73bd3bb7bb80ec9c85b4cdd1838c2b96 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_6f3cfbeb2989237a76a3c7224a7828c8 = $(`<div id="html_6f3cfbeb2989237a76a3c7224a7828c8" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1313376, 54.0824925]</div>`)[0];\n", - " popup_bd739c707b322753f88e2e39a217d112.setContent(html_6f3cfbeb2989237a76a3c7224a7828c8);\n", + " var html_bf049b7f39e6418bc4c8d436f015e5e6 = $(`<div id="html_bf049b7f39e6418bc4c8d436f015e5e6" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0851205, 54.1748275]</div>`)[0];\n", + " popup_73bd3bb7bb80ec9c85b4cdd1838c2b96.setContent(html_bf049b7f39e6418bc4c8d436f015e5e6);\n", " \n", " \n", "\n", - " marker_8052984f38da013fea73c45c2691796e.bindPopup(popup_bd739c707b322753f88e2e39a217d112)\n", + " marker_c26b60a50d2656135f2fd73255a03630.bindPopup(popup_73bd3bb7bb80ec9c85b4cdd1838c2b96)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_f0abcee991c334779a1c8132afdfbd18 = L.polygon(\n", - " [[54.082557201303565, 12.131324101632384], [54.082528550440145, 12.13128303803529], [54.08247878171777, 12.13127393604326], [54.08243704892435, 12.131302127536603], [54.082427798619086, 12.131351098367162], [54.08245644956001, 12.131392162029732], [54.082506218359725, 12.1314012639414], [54.08254795107565, 12.131373072382585], [54.082557201303565, 12.131324101632384]],\n", + " var polygon_89bb036b30986fc5848485b164350fd4 = L.polygon(\n", + " [[54.17489208415166, 12.085107030359262], [54.174863489941565, 12.085066031982597], [54.1748138133117, 12.085056940177964], [54.17477215410353, 12.08508508085805], [54.17476291577103, 12.085133969640376], [54.17479151005869, 12.08517496808246], [54.17484118676574, 12.085184059806705], [54.17488284589636, 12.085155919061203], [54.17489208415166, 12.085107030359262]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_37fcbb12ac710aedb76aa951dc842bef = L.marker(\n", - " [54.0929394, 12.1095308],\n", + " var marker_5e985af81ede77c7ab33310df81c55c8 = L.marker(\n", + " [54.1239455, 12.048434],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_b5de691787a4be42b785a9289a24891d = L.popup({"maxWidth": "100%"});\n", + " var popup_63a4a93b74ca8e13e901067a9eae55de = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_74f8a966fb86c5088b546035463182a8 = $(`<div id="html_74f8a966fb86c5088b546035463182a8" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1095308, 54.0929394]</div>`)[0];\n", - " popup_b5de691787a4be42b785a9289a24891d.setContent(html_74f8a966fb86c5088b546035463182a8);\n", + " var html_93fa9e2640a5331f1523c3374db1e6cc = $(`<div id="html_93fa9e2640a5331f1523c3374db1e6cc" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.048434, 54.1239455]</div>`)[0];\n", + " popup_63a4a93b74ca8e13e901067a9eae55de.setContent(html_93fa9e2640a5331f1523c3374db1e6cc);\n", " \n", " \n", "\n", - " marker_37fcbb12ac710aedb76aa951dc842bef.bindPopup(popup_b5de691787a4be42b785a9289a24891d)\n", + " marker_5e985af81ede77c7ab33310df81c55c8.bindPopup(popup_63a4a93b74ca8e13e901067a9eae55de)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_1e3a6e14a7159a3caf33c4931b713099 = L.polygon(\n", - " [[54.093004083989804, 12.109517323014723], [54.092975454365124, 12.109476261475507], [54.09292570458229, 12.109467147810397], [54.0928839773347, 12.109495320737635], [54.09287471593286, 12.10954427698483], [54.09290334563503, 12.109585338589518], [54.09295309549517, 12.109594452174282], [54.09299482266527, 12.10956627918157], [54.093004083989804, 12.109517323014723]],\n", + " var polygon_9743b9542892d4a87d5dded6ea181fbb = L.polygon(\n", + " [[54.124010133544004, 12.048420582572863], [54.12398156371923, 12.04837952829565], [54.12393186825676, 12.048370382750242], [54.12389015802995, 12.048398503329896], [54.12388086637874, 12.04844741742673], [54.12390943628098, 12.048488471769415], [54.12395913182065, 12.048497617234505], [54.124000841969995, 12.048469496589377], [54.124010133544004, 12.048420582572863]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_7da53e344c1ab850fb38e97525c69804 = L.marker(\n", - " [54.0906133, 12.1109215],\n", + " var marker_16731f54820a1bd373225ffdd73f9722 = L.marker(\n", + " [54.0818646, 12.1423435],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_6c279628df68ec6d04ecde9ae5094bda = L.popup({"maxWidth": "100%"});\n", + " var popup_84e45b57837475596e0454412dce49bd = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_f19ebc69323904dc6a3214a6c366a885 = $(`<div id="html_f19ebc69323904dc6a3214a6c366a885" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1109215, 54.0906133]</div>`)[0];\n", - " popup_6c279628df68ec6d04ecde9ae5094bda.setContent(html_f19ebc69323904dc6a3214a6c366a885);\n", + " var html_0066a9f11c4624e66b48076c93368eb3 = $(`<div id="html_0066a9f11c4624e66b48076c93368eb3" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1423435, 54.0818646]</div>`)[0];\n", + " popup_84e45b57837475596e0454412dce49bd.setContent(html_0066a9f11c4624e66b48076c93368eb3);\n", " \n", " \n", "\n", - " marker_7da53e344c1ab850fb38e97525c69804.bindPopup(popup_6c279628df68ec6d04ecde9ae5094bda)\n", + " marker_16731f54820a1bd373225ffdd73f9722.bindPopup(popup_84e45b57837475596e0454412dce49bd)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_811d6a8c84b2d607094d55af020768d8 = L.polygon(\n", - " [[54.09067798699508, 12.11090802204452], [54.09064935574194, 12.110866958935745], [54.09059960352413, 12.11085784518884], [54.09055787446142, 12.110886019569953], [54.0905486129276, 12.110934977955038], [54.09057724425824, 12.110976041129287], [54.09062699655336, 12.110985154795843], [54.09066872553857, 12.110956980349258], [54.09067798699508, 12.11090802204452]],\n", + " var polygon_379035fdc203a1d1dd353e071d4a3cbf = L.polygon(\n", + " [[54.08192930472561, 12.142329989740167], [54.081900643907595, 12.142288929128775], [54.081850869057305, 12.142279835339759], [54.081809137552305, 12.142308035448222], [54.08179989519704, 12.142357010259376], [54.08182855609258, 12.142398070936242], [54.0818783310202, 12.142407164644897], [54.08192006244769, 12.142378964470963], [54.08192930472561, 12.142329989740167]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_e37a664b0510a5467dd9fcfda093f6a3 = L.marker(\n", - " [54.1512084, 12.0120277],\n", + " var marker_c2eecb874325cf17bc19485ea003e856 = L.marker(\n", + " [54.1028117, 12.1783348],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_5e297d5d0b0ff6f1eb1236c5a411651b = L.popup({"maxWidth": "100%"});\n", + " var popup_4b6e02522ed0f0e90fd5ae1aa0d8e4bc = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_f22a3c3a6d14dd2a819a1941f79f63fd = $(`<div id="html_f22a3c3a6d14dd2a819a1941f79f63fd" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0120277, 54.1512084]</div>`)[0];\n", - " popup_5e297d5d0b0ff6f1eb1236c5a411651b.setContent(html_f22a3c3a6d14dd2a819a1941f79f63fd);\n", + " var html_1e8b1d7bb9b11ba4fd02f152dd6b7d3e = $(`<div id="html_1e8b1d7bb9b11ba4fd02f152dd6b7d3e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1783348, 54.1028117]</div>`)[0];\n", + " popup_4b6e02522ed0f0e90fd5ae1aa0d8e4bc.setContent(html_1e8b1d7bb9b11ba4fd02f152dd6b7d3e);\n", " \n", " \n", "\n", - " marker_e37a664b0510a5467dd9fcfda093f6a3.bindPopup(popup_5e297d5d0b0ff6f1eb1236c5a411651b)\n", + " marker_c2eecb874325cf17bc19485ea003e856.bindPopup(popup_4b6e02522ed0f0e90fd5ae1aa0d8e4bc)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_067c3713a1737c76949ada9dbc343475 = L.polygon(\n", - " [[54.15127299344872, 12.01201431604065], [54.151244460729515, 12.0119732737008], [54.151194804123925, 12.011964113495052], [54.15115311174352, 12.011992201404485], [54.151143806474046, 12.012041083958986], [54.15117233927071, 12.012082126364298], [54.15122199595343, 12.012091286489735], [54.15126368825639, 12.01206319851484], [54.15127299344872, 12.01201431604065]],\n", + " var polygon_6eaf84f828a3c87779b9d42d9b3ee546 = L.polygon(\n", + " [[54.10287638958152, 12.178321245370128], [54.10284769997667, 12.178280214460433], [54.102797922073684, 12.178271158965613], [54.102756215038305, 12.178299383528586], [54.102747010341076, 12.178348354629426], [54.102775700023514, 12.178389385604568], [54.10282547800388, 12.178398441018976], [54.10286718496167, 12.178370216390556], [54.10287638958152, 12.178321245370128]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_cfe38719c3a4b412bc9477e218d57680 = L.marker(\n", - " [54.0924843, 12.1424017],\n", + " var marker_af29296799c1bef66860e9e284c8bf23 = L.marker(\n", + " [54.0943953, 12.0845639],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_be53b95105855715ffdc271f4ba2c27c = L.popup({"maxWidth": "100%"});\n", + " var popup_1a24e2a1621f5ac2a6e1390098d1064b = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_a50fef09be5fd480c969fb425104a771 = $(`<div id="html_a50fef09be5fd480c969fb425104a771" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1424017, 54.0924843]</div>`)[0];\n", - " popup_be53b95105855715ffdc271f4ba2c27c.setContent(html_a50fef09be5fd480c969fb425104a771);\n", + " var html_f6e34fcbaf91d7117fbc43883529d8ab = $(`<div id="html_f6e34fcbaf91d7117fbc43883529d8ab" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0845639, 54.0943953]</div>`)[0];\n", + " popup_1a24e2a1621f5ac2a6e1390098d1064b.setContent(html_f6e34fcbaf91d7117fbc43883529d8ab);\n", " \n", " \n", "\n", - " marker_cfe38719c3a4b412bc9477e218d57680.bindPopup(popup_be53b95105855715ffdc271f4ba2c27c)\n", + " marker_af29296799c1bef66860e9e284c8bf23.bindPopup(popup_1a24e2a1621f5ac2a6e1390098d1064b)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_ba04ef3a4f30fe84bbb056ab663da67b = L.polygon(\n", - " [[54.09254899257447, 12.142388187150651], [54.092520333452306, 12.142347135761707], [54.09247056642244, 12.142338047309659], [54.09242884428131, 12.14236624574329], [54.09241960734817, 12.142415212848908], [54.092448266547855, 12.142456264303323], [54.092498033655076, 12.142465352674996], [54.09253975571867, 12.142437154175898], [54.09254899257447, 12.142388187150651]],\n", + " var polygon_9114e8eef8b449be96860f70b48f93a0 = L.polygon(\n", + " [[54.09445997621338, 12.084550449995936], [54.094431369168376, 12.084509381708083], [54.09438163329368, 12.084500249442389], [54.0943399031355, 12.084528402813033], [54.094330623709325, 12.084577350003624], [54.09435923083179, 12.08461841835696], [54.09440896678377, 12.08462755054233], [54.09445069686448, 12.084599397106205], [54.09445997621338, 12.084550449995936]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_0436a29412e255b5bb0a9c32d17ae89f = L.marker(\n", - " [54.0926323, 12.1492339],\n", + " var marker_4841c8055edf039e83a53d3b7ccc57e8 = L.marker(\n", + " [54.075519, 12.1113738],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_bbda691bb2f2d426e5317a0882f06a51 = L.popup({"maxWidth": "100%"});\n", + " var popup_4e9b998c8d69704c9619137926e36500 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_34fb8f76f03a900652b11e377dc9f463 = $(`<div id="html_34fb8f76f03a900652b11e377dc9f463" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1492339, 54.0926323]</div>`)[0];\n", - " popup_bbda691bb2f2d426e5317a0882f06a51.setContent(html_34fb8f76f03a900652b11e377dc9f463);\n", + " var html_dd041e8576bd49587a62c16f0227f84d = $(`<div id="html_dd041e8576bd49587a62c16f0227f84d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1113738, 54.075519]</div>`)[0];\n", + " popup_4e9b998c8d69704c9619137926e36500.setContent(html_dd041e8576bd49587a62c16f0227f84d);\n", " \n", " \n", "\n", - " marker_0436a29412e255b5bb0a9c32d17ae89f.bindPopup(popup_bbda691bb2f2d426e5317a0882f06a51)\n", + " marker_4841c8055edf039e83a53d3b7ccc57e8.bindPopup(popup_4e9b998c8d69704c9619137926e36500)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_35a398ebfe53bd9b4184e7f3ca5a874e = L.polygon(\n", - " [[54.092696994083795, 12.149220379639276], [54.092668328868896, 12.149179330570147], [54.09261855843118, 12.149170247479054], [54.09257683756337, 12.149198451174406], [54.092567605838816, 12.149247420360274], [54.092596271131264, 12.149288469494866], [54.092646041646326, 12.149297552505583], [54.0926877624366, 12.149269348744765], [54.092696994083795, 12.149220379639276]],\n", + " var polygon_6b576ca238437462394f045ac6b36ab4 = L.polygon(\n", + " [[54.07558370439411, 12.111360325130892], [54.07555507024607, 12.11131924908873], [54.075505306637055, 12.111310128176683], [54.075463564359616, 12.111338305358133], [54.07545429552856, 12.111387274868648], [54.07548292975406, 12.111428350976297], [54.07553269344041, 12.11143747180801], [54.07557443564036, 12.11140929456107], [54.07558370439411, 12.111360325130892]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b87b15ab79f4e80819a9fd980060b0b3 = L.marker(\n", - " [54.17062, 12.0846455],\n", + " var marker_53c27b5e8f3298d52046d65864e095eb = L.marker(\n", + " [54.0905537, 12.1346402],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_e99c3290b3e4e52f8f2c257696d2617f = L.popup({"maxWidth": "100%"});\n", + " var popup_7e6dc4339412520b5b486de49c2d2525 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_4bc4a890480dd10e56b5f9ad44069b40 = $(`<div id="html_4bc4a890480dd10e56b5f9ad44069b40" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0846455, 54.17062]</div>`)[0];\n", - " popup_e99c3290b3e4e52f8f2c257696d2617f.setContent(html_4bc4a890480dd10e56b5f9ad44069b40);\n", + " var html_7c5d38082fe620328145c9458b89aad6 = $(`<div id="html_7c5d38082fe620328145c9458b89aad6" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1346402, 54.0905537]</div>`)[0];\n", + " popup_7e6dc4339412520b5b486de49c2d2525.setContent(html_7c5d38082fe620328145c9458b89aad6);\n", " \n", " \n", "\n", - " marker_b87b15ab79f4e80819a9fd980060b0b3.bindPopup(popup_e99c3290b3e4e52f8f2c257696d2617f)\n", + " marker_53c27b5e8f3298d52046d65864e095eb.bindPopup(popup_7e6dc4339412520b5b486de49c2d2525)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_db381be035e751e3d1da3b110b249562 = L.polygon(\n", - " [[54.170684588861896, 12.084632031874618], [54.17065599437837, 12.084591029695504], [54.17060631487607, 12.084581935428174], [54.17056465187906, 12.084610076427929], [54.170555411060796, 12.08465896812503], [54.170584005621876, 12.084699970369567], [54.17063368520137, 12.084709064556515], [54.17067534812082, 12.084680923491332], [54.170684588861896, 12.084632031874618]],\n", + " var polygon_c8bc2362fa71f41e685be3c47740298c = L.polygon(\n", + " [[54.09061839288015, 12.134626696102805], [54.09058974038838, 12.134585640550952], [54.09053997592584, 12.13457654513052], [54.09049825078508, 12.134604737872271], [54.09048900704249, 12.13465370389674], [54.090517659611784, 12.134694759514066], [54.09056742415166, 12.13470385485413], [54.09060914921489, 12.134675662046908], [54.09061839288015, 12.134626696102805]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_f26a10e8801af5800a72c3238df39186 = L.marker(\n", - " [54.086933, 12.1099089],\n", + " var marker_9e0aec28407d72056d583eeea236b11a = L.marker(\n", + " [54.0970206, 12.0936613],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_d1f71ded34bf8f34e8b1e8d9f1a45568 = L.popup({"maxWidth": "100%"});\n", + " var popup_a41915850c4544e9e3c35e48f14e57e3 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_5cae5ea03a11102fc63b3a04a765fbfa = $(`<div id="html_5cae5ea03a11102fc63b3a04a765fbfa" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1099089, 54.086933]</div>`)[0];\n", - " popup_d1f71ded34bf8f34e8b1e8d9f1a45568.setContent(html_5cae5ea03a11102fc63b3a04a765fbfa);\n", + " var html_50d8f4e903af72041103b28f0f3b724a = $(`<div id="html_50d8f4e903af72041103b28f0f3b724a" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0936613, 54.0970206]</div>`)[0];\n", + " popup_a41915850c4544e9e3c35e48f14e57e3.setContent(html_50d8f4e903af72041103b28f0f3b724a);\n", " \n", " \n", "\n", - " marker_f26a10e8801af5800a72c3238df39186.bindPopup(popup_d1f71ded34bf8f34e8b1e8d9f1a45568)\n", + " marker_9e0aec28407d72056d583eeea236b11a.bindPopup(popup_a41915850c4544e9e3c35e48f14e57e3)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_2fa6adee3b937c0d9759cf9f4491cb59 = L.polygon(\n", - " [[54.08699769096263, 12.109895424025712], [54.08696906000825, 12.10985435740305], [54.086919305590044, 12.109845241040091], [54.08687757311675, 12.109873415235429], [54.08686830896004, 12.10992237597384], [54.086896939991924, 12.10996344266198], [54.08694669448744, 12.109972558944596], [54.08698842688323, 12.10994438468378], [54.08699769096263, 12.109895424025712]],\n", + " var polygon_d9ebe33513359335a1d9beb5d9797e8b = L.polygon(\n", + " [[54.09708527543029, 12.093647839416537], [54.09705666068021, 12.093606776322424], [54.09700692207269, 12.09359765240531], [54.09696519575476, 12.093625812388906], [54.09695592449239, 12.09367476058303], [54.09698453931995, 12.093715823742624], [54.09703427800476, 12.093724947579402], [54.09707600424518, 12.093696787530332], [54.09708527543029, 12.093647839416537]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_4b1ddd686cd9011c874f5ee056120cf8 = L.marker(\n", - " [54.0823715, 12.1142764],\n", + " var marker_e6448b8d0caa161fdf8a0ffd0ebad4d4 = L.marker(\n", + " [54.0784688, 12.1261956],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_bc1b6c26d3cedcd9edde9ac778363f87 = L.popup({"maxWidth": "100%"});\n", + " var popup_e2ccd6bb00dd663c1bc9e2831b093f9f = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_78551031148e091a675876ec1c5fff1d = $(`<div id="html_78551031148e091a675876ec1c5fff1d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1142764, 54.0823715]</div>`)[0];\n", - " popup_bc1b6c26d3cedcd9edde9ac778363f87.setContent(html_78551031148e091a675876ec1c5fff1d);\n", + " var html_2c39a822234409e0855e7d9a82aa9c5e = $(`<div id="html_2c39a822234409e0855e7d9a82aa9c5e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1261956, 54.0784688]</div>`)[0];\n", + " popup_e2ccd6bb00dd663c1bc9e2831b093f9f.setContent(html_2c39a822234409e0855e7d9a82aa9c5e);\n", " \n", " \n", "\n", - " marker_4b1ddd686cd9011c874f5ee056120cf8.bindPopup(popup_bc1b6c26d3cedcd9edde9ac778363f87)\n", + " marker_e6448b8d0caa161fdf8a0ffd0ebad4d4.bindPopup(popup_e2ccd6bb00dd663c1bc9e2831b093f9f)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_9be591bb1aeb07ce7a90881b589a0c1d = L.polygon(\n", - " [[54.08243619725748, 12.114262920328871], [54.082407561642455, 12.114221851154722], [54.082357801606314, 12.114212735900464], [54.0823160658487, 12.114240914215214], [54.08230680266518, 12.11428987967067], [54.0823354383577, 12.114330948910306], [54.08238519847116, 12.114340064084226], [54.082426934151286, 12.114311885703989], [54.08243619725748, 12.114262920328871]],\n", + " var polygon_b127c3f9cfb4296c54e9412b9d147db4 = L.polygon(\n", + " [[54.078533504650274, 12.126182108214312], [54.07850485772597, 12.126141039481483], [54.07845508867479, 12.126131931506562], [54.07841335147723, 12.126160119674543], [54.07840409527238, 12.126209091785228], [54.07843274227418, 12.12625016058354], [54.078482511402704, 12.12625926847811], [54.07852424852277, 12.126231080244645], [54.078533504650274, 12.126182108214312]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_2a6c2dbbecbe098999d916a8d85851f8 = L.marker(\n", - " [54.1249878, 12.0584246],\n", + " var marker_112c11687d31eeb0f9dc76f66460a498 = L.marker(\n", + " [54.17062, 12.0846455],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_4a6efebed9a4a8b2638fe004a3876842 = L.popup({"maxWidth": "100%"});\n", + " var popup_fed1e85980df1ce205e2c0fc42557671 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_90558fd3cd4069e76414aea3a415c423 = $(`<div id="html_90558fd3cd4069e76414aea3a415c423" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0584246, 54.1249878]</div>`)[0];\n", - " popup_4a6efebed9a4a8b2638fe004a3876842.setContent(html_90558fd3cd4069e76414aea3a415c423);\n", + " var html_60406e4d975936a03fe40a40bdaca7ca = $(`<div id="html_60406e4d975936a03fe40a40bdaca7ca" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0846455, 54.17062]</div>`)[0];\n", + " popup_fed1e85980df1ce205e2c0fc42557671.setContent(html_60406e4d975936a03fe40a40bdaca7ca);\n", " \n", " \n", "\n", - " marker_2a6c2dbbecbe098999d916a8d85851f8.bindPopup(popup_4a6efebed9a4a8b2638fe004a3876842)\n", + " marker_112c11687d31eeb0f9dc76f66460a498.bindPopup(popup_fed1e85980df1ce205e2c0fc42557671)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_34b778c6ef754eb07ff331d62df4d4dc = L.polygon(\n", - " [[54.12505243478335, 12.058411171384336], [54.12502385619389, 12.058370121217958], [54.124974156374996, 12.058360983929395], [54.124932448751906, 12.058389112075174], [54.12492316513938, 12.058438028615264], [54.12495174380631, 12.058479078847116], [54.125001443702416, 12.058488216055347], [54.125043151248015, 12.058460087844107], [54.12505243478335, 12.058411171384336]],\n", + " var polygon_e80f4e32e59bb188db34401c8a3c860b = L.polygon(\n", + " [[54.170684588861896, 12.084632031874618], [54.17065599437837, 12.084591029695504], [54.17060631487607, 12.084581935428174], [54.17056465187906, 12.084610076427929], [54.170555411060796, 12.08465896812503], [54.170584005621876, 12.084699970369567], [54.17063368520137, 12.084709064556515], [54.17067534812082, 12.084680923491332], [54.170684588861896, 12.084632031874618]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_cb0b53b0df3693b802ef044a6f654df5 = L.marker(\n", - " [54.1415127, 12.1101723],\n", + " var marker_bd2ce6f8066326a8b9dbbdfed0cc04d0 = L.marker(\n", + " [54.0871297, 12.1369701],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_f0072c909a1eb5b15b58b5b0d7e787e3 = L.popup({"maxWidth": "100%"});\n", + " var popup_36b1bc6d2a7b8e4bfb465db5af78f8cd = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_33309655627cb22b90f81d631c748d1a = $(`<div id="html_33309655627cb22b90f81d631c748d1a" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1101723, 54.1415127]</div>`)[0];\n", - " popup_f0072c909a1eb5b15b58b5b0d7e787e3.setContent(html_33309655627cb22b90f81d631c748d1a);\n", + " var html_d54d20ba494bbbf23e90c1e5be0871fa = $(`<div id="html_d54d20ba494bbbf23e90c1e5be0871fa" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1369701, 54.0871297]</div>`)[0];\n", + " popup_36b1bc6d2a7b8e4bfb465db5af78f8cd.setContent(html_d54d20ba494bbbf23e90c1e5be0871fa);\n", " \n", " \n", "\n", - " marker_cb0b53b0df3693b802ef044a6f654df5.bindPopup(popup_f0072c909a1eb5b15b58b5b0d7e787e3)\n", + " marker_bd2ce6f8066326a8b9dbbdfed0cc04d0.bindPopup(popup_36b1bc6d2a7b8e4bfb465db5af78f8cd)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_2054ce9ffc1f8d0a79996812d96d47e6 = L.polygon(\n", - " [[54.14157732848052, 12.110158810795353], [54.14154870631011, 12.110117791569369], [54.141498992131474, 12.110108702588926], [54.14145730778161, 12.11013686811234], [54.141448071442156, 12.110185789204253], [54.14147669369013, 12.110226808495678], [54.14152640794601, 12.110235897395738], [54.14156809221833, 12.110207731806888], [54.14157732848052, 12.110158810795353]],\n", + " var polygon_0ca5c932abcb26b1de5fbce29241540a = L.polygon(\n", + " [[54.08719439737461, 12.136956594367298], [54.08716574223328, 12.136915536595339], [54.087115974040465, 12.136906441271952], [54.08707424627385, 12.136934636371047], [54.08706500254802, 12.136983605632256], [54.08709365776687, 12.137024663469681], [54.087143426037024, 12.137033758712704], [54.08718515372611, 12.137005563548144], [54.08719439737461, 12.136956594367298]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_3f0aa32e04fd518936d26f015edc1665 = L.marker(\n", - " [54.0922179, 12.1373858],\n", + " var marker_f55d00071592c53c58cf2877ccccbb08 = L.marker(\n", + " [54.0958825, 12.1558723],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_0186de42ea57a62d6e397cd0d9c61905 = L.popup({"maxWidth": "100%"});\n", + " var popup_280799a99f343a73abaaec7d2a8bf1f2 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_90c91285a535a46a25887bc858dbd4ee = $(`<div id="html_90c91285a535a46a25887bc858dbd4ee" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1373858, 54.0922179]</div>`)[0];\n", - " popup_0186de42ea57a62d6e397cd0d9c61905.setContent(html_90c91285a535a46a25887bc858dbd4ee);\n", + " var html_114089a63d18cea04225be5a80350c8f = $(`<div id="html_114089a63d18cea04225be5a80350c8f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1558723, 54.0958825]</div>`)[0];\n", + " popup_280799a99f343a73abaaec7d2a8bf1f2.setContent(html_114089a63d18cea04225be5a80350c8f);\n", " \n", " \n", "\n", - " marker_3f0aa32e04fd518936d26f015edc1665.bindPopup(popup_0186de42ea57a62d6e397cd0d9c61905)\n", + " marker_f55d00071592c53c58cf2877ccccbb08.bindPopup(popup_280799a99f343a73abaaec7d2a8bf1f2)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_158bda1e1f956a0bed1270002a6149c7 = L.polygon(\n", - " [[54.09228259164774, 12.137372292702773], [54.09225393697224, 12.137331239473978], [54.0922041723271, 12.137322147007477], [54.09216244911183, 12.13735034160367], [54.09215320827491, 12.137399307296779], [54.09218186302794, 12.137440360591045], [54.092231627750415, 12.137449452977172], [54.09227335088814, 12.137421258315513], [54.09228259164774, 12.137372292702773]],\n", + " var polygon_e13e7707cc0f9ec29c5836dfd09fb073 = L.polygon(\n", + " [[54.095947191992124, 12.155858771601586], [54.09591852136768, 12.155817727479148], [54.09586874991452, 12.155808651145414], [54.095827033020214, 12.155836859450426], [54.095817807930494, 12.155885828397968], [54.0958464786325, 12.155926872585864], [54.09589625016301, 12.155935948839208], [54.09593796697976, 12.155907740468738], [54.095947191992124, 12.155858771601586]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_f6bb1b9c6ba2289e9537ccbbf5c8ef05 = L.marker(\n", - " [54.0955498, 12.0875865],\n", + " var marker_6c917838e54e3c2c04441cc9af441e7c = L.marker(\n", + " [54.0923362, 12.1215928],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_1c6844535da97d9caacfe26415f560f6 = L.popup({"maxWidth": "100%"});\n", + " var popup_2cbb377ba6d65a6047e9879a6f580dce = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_9997c7c0e7405789b7f9a1ae909826c4 = $(`<div id="html_9997c7c0e7405789b7f9a1ae909826c4" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0875865, 54.0955498]</div>`)[0];\n", - " popup_1c6844535da97d9caacfe26415f560f6.setContent(html_9997c7c0e7405789b7f9a1ae909826c4);\n", + " var html_03b1c09e0f4372ed495598d02d37ede3 = $(`<div id="html_03b1c09e0f4372ed495598d02d37ede3" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1215928, 54.0923362]</div>`)[0];\n", + " popup_2cbb377ba6d65a6047e9879a6f580dce.setContent(html_03b1c09e0f4372ed495598d02d37ede3);\n", " \n", " \n", "\n", - " marker_f6bb1b9c6ba2289e9537ccbbf5c8ef05.bindPopup(popup_1c6844535da97d9caacfe26415f560f6)\n", + " marker_6c917838e54e3c2c04441cc9af441e7c.bindPopup(popup_2cbb377ba6d65a6047e9879a6f580dce)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_f03a0c7ee354df445ba510be02d56396 = L.polygon(\n", - " [[54.09561447562974, 12.087573046414171], [54.095585866071595, 12.087531980096466], [54.09553612949781, 12.087522850744977], [54.09549440086412, 12.087551006266791], [54.095485124292985, 12.087599953585386], [54.0955137339286, 12.087641019968567], [54.09556347057966, 12.087650149239723], [54.095605199135875, 12.087621993652432], [54.09561447562974, 12.087573046414171]],\n", + " var polygon_654d99230aa5b667e84deb90fa9db6e7 = L.polygon(\n", + " [[54.09240088763692, 12.121579309957303], [54.09237224711768, 12.121538251764886], [54.092322490685746, 12.121529147134925], [54.09228076492944, 12.12155732949299], [54.092271512285734, 12.12160629004225], [54.092300152882466, 12.121647348300135], [54.092349909391736, 12.121656452849743], [54.09239163507053, 12.1216282704262], [54.09240088763692, 12.121579309957303]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_8fef0b2207d5dd08219e8fa31d9f8f49 = L.marker(\n", - " [54.0847379, 12.1424963],\n", + " var marker_c975c1eced28df869cc1e09dd131e495 = L.marker(\n", + " [54.0842834, 12.1337084],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_89ece1a9ca56dc99d9c550ea0a4d12c5 = L.popup({"maxWidth": "100%"});\n", + " var popup_d24825db1c8c27c4700f9fac3fd5a2f5 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_958f488be0fbd83bc119db7690e5e9d6 = $(`<div id="html_958f488be0fbd83bc119db7690e5e9d6" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1424963, 54.0847379]</div>`)[0];\n", - " popup_89ece1a9ca56dc99d9c550ea0a4d12c5.setContent(html_958f488be0fbd83bc119db7690e5e9d6);\n", + " var html_6a99f47cf99433c41d9cc1db10075740 = $(`<div id="html_6a99f47cf99433c41d9cc1db10075740" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1337084, 54.0842834]</div>`)[0];\n", + " popup_d24825db1c8c27c4700f9fac3fd5a2f5.setContent(html_6a99f47cf99433c41d9cc1db10075740);\n", " \n", " \n", "\n", - " marker_8fef0b2207d5dd08219e8fa31d9f8f49.bindPopup(popup_89ece1a9ca56dc99d9c550ea0a4d12c5)\n", + " marker_c975c1eced28df869cc1e09dd131e495.bindPopup(popup_d24825db1c8c27c4700f9fac3fd5a2f5)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_2166339b251559bde4d3b715c0d88757 = L.polygon(\n", - " [[54.08480260147185, 12.142482788889543], [54.0847739409899, 12.142441730817216], [54.084724168184806, 12.142432638578203], [54.0846824392361, 12.142460838339625], [54.084673198450794, 12.142509811109997], [54.08470185901028, 12.142550869247792], [54.0847516318927, 12.142559961406448], [54.084793360763896, 12.142531761579548], [54.08480260147185, 12.142482788889543]],\n", + " var polygon_2de7f1d3c6ae6c03af9ce60313fa930d = L.polygon(\n", + " [[54.08434809983418, 12.133694898612758], [54.08431944714373, 12.133653837327998], [54.08426967852532, 12.133644738062623], [54.08422794770594, 12.133672931099708], [54.08421870008845, 12.133721901386789], [54.08424735285643, 12.133762962737023], [54.084297121552176, 12.133772061922036], [54.08433885229402, 12.133743868819481], [54.08434809983418, 12.133694898612758]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_d5fe825da2840103b04daeb51a22923e = L.marker(\n", - " [54.0839857, 12.1323702],\n", + " var marker_e691ca802d3d776fd8a01ad92d19d1fe = L.marker(\n", + " [54.0914702, 12.1186614],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_38d6d1de353f08e2d5b70f777d06473b = L.popup({"maxWidth": "100%"});\n", + " var popup_17b1ec2da55a207f015b8eb1aa7f4de0 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_57a4ed8648dda1a83b6e9f1a71981a33 = $(`<div id="html_57a4ed8648dda1a83b6e9f1a71981a33" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1323702, 54.0839857]</div>`)[0];\n", - " popup_38d6d1de353f08e2d5b70f777d06473b.setContent(html_57a4ed8648dda1a83b6e9f1a71981a33);\n", + " var html_1ff4e9582d79edc0f06c7b1ff9e91809 = $(`<div id="html_1ff4e9582d79edc0f06c7b1ff9e91809" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1186614, 54.0914702]</div>`)[0];\n", + " popup_17b1ec2da55a207f015b8eb1aa7f4de0.setContent(html_1ff4e9582d79edc0f06c7b1ff9e91809);\n", " \n", " \n", "\n", - " marker_d5fe825da2840103b04daeb51a22923e.bindPopup(popup_38d6d1de353f08e2d5b70f777d06473b)\n", + " marker_e691ca802d3d776fd8a01ad92d19d1fe.bindPopup(popup_17b1ec2da55a207f015b8eb1aa7f4de0)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_8d0c2b0336c37579c49d510341fb45e8 = L.polygon(\n", - " [[54.08405039984668, 12.132356700147701], [54.08402174830496, 12.132315638175752], [54.08397198015507, 12.132306537726585], [54.083930248849526, 12.132334729776716], [54.08392100007597, 12.132383699851838], [54.083949651695185, 12.132424761889265], [54.083999419922435, 12.132433862258074], [54.08404115115045, 12.132405670142463], [54.08405039984668, 12.132356700147701]],\n", + " var polygon_8d010e824bc403a4e986b3cdc2f00dd5 = L.polygon(\n", + " [[54.091534887910264, 12.118647913370893], [54.091506249871834, 12.118606853487615], [54.091456494307344, 12.118597746157642], [54.091414767297024, 12.11862592638818], [54.0914055120124, 12.118674886628655], [54.091434150128336, 12.11871594657741], [54.09148390577013, 12.11872505382703], [54.091525632702954, 12.118696873531022], [54.091534887910264, 12.118647913370893]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_69de1b969c3dbf1d4d250044bb3c146d = L.marker(\n", - " [54.0754879, 12.1112921],\n", + " var marker_90e493ffd5f0e259fb5bde0699f02dfc = L.marker(\n", + " [54.1441783, 12.1089455],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_5c9f77217cb2f1abadb4a21f6db6de7f = L.popup({"maxWidth": "100%"});\n", + " var popup_d6059808fbfd068229b429dbcabb111d = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_b26e21a1d569395ca6c33548e0ba4f92 = $(`<div id="html_b26e21a1d569395ca6c33548e0ba4f92" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1112921, 54.0754879]</div>`)[0];\n", - " popup_5c9f77217cb2f1abadb4a21f6db6de7f.setContent(html_b26e21a1d569395ca6c33548e0ba4f92);\n", + " var html_72121611495455c18355cd8081a23343 = $(`<div id="html_72121611495455c18355cd8081a23343" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1089455, 54.1441783]</div>`)[0];\n", + " popup_d6059808fbfd068229b429dbcabb111d.setContent(html_72121611495455c18355cd8081a23343);\n", " \n", " \n", "\n", - " marker_69de1b969c3dbf1d4d250044bb3c146d.bindPopup(popup_5c9f77217cb2f1abadb4a21f6db6de7f)\n", + " marker_90e493ffd5f0e259fb5bde0699f02dfc.bindPopup(popup_d6059808fbfd068229b429dbcabb111d)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_0a0e8db429365f2c3f0f3e1a3feb1a5f = L.polygon(\n", - " [[54.0755526044097, 12.11127862522766], [54.07552397032963, 12.111237549132351], [54.07547420673964, 12.111228428141604], [54.07543246442112, 12.111256605264908], [54.075423195512954, 12.11130557477188], [54.075451829670506, 12.111346650932678], [54.07550159333783, 12.111355771843087], [54.07554333557886, 12.111327594654295], [54.0755526044097, 12.11127862522766]],\n", + " var polygon_a5fdab6bf0d6569c1d6dce96f8388d5c = L.polygon(\n", + " [[54.14424292512404, 12.108932011507418], [54.14421430449348, 12.108890994199164], [54.14416459291885, 12.108881905595958], [54.14412291071176, 12.108910069735126], [54.14411367479864, 12.10895898849219], [54.144142295506754, 12.109000005865877], [54.14419200715862, 12.109009094388705], [54.14423368928817, 12.108980930184098], [54.14424292512404, 12.108932011507418]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_bd50c73b9022ac3a0ffc4ba4d3e48cfa = L.marker(\n", - " [54.077593, 12.1167316],\n", + " var marker_1ea1716e94731acce58d618b72a82e07 = L.marker(\n", + " [54.0780933, 12.126756],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_f8a5962d5ffc34b111bc47c053ed125d = L.popup({"maxWidth": "100%"});\n", + " var popup_8acbaa62911fe5bf3722d8be4c64addb = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_b26a685e4416eebc4ddd3951446a498b = $(`<div id="html_b26a685e4416eebc4ddd3951446a498b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1167316, 54.077593]</div>`)[0];\n", - " popup_f8a5962d5ffc34b111bc47c053ed125d.setContent(html_b26a685e4416eebc4ddd3951446a498b);\n", + " var html_4560c1f14c600dc10d9b550ddd4e721e = $(`<div id="html_4560c1f14c600dc10d9b550ddd4e721e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.126756, 54.0780933]</div>`)[0];\n", + " popup_8acbaa62911fe5bf3722d8be4c64addb.setContent(html_4560c1f14c600dc10d9b550ddd4e721e);\n", " \n", " \n", "\n", - " marker_bd50c73b9022ac3a0ffc4ba4d3e48cfa.bindPopup(popup_f8a5962d5ffc34b111bc47c053ed125d)\n", + " marker_1ea1716e94731acce58d618b72a82e07.bindPopup(popup_8acbaa62911fe5bf3722d8be4c64addb)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_071da220d8a923114e175168a61e8036 = L.polygon(\n", - " [[54.07765770333215, 12.116718118776722], [54.07762906473229, 12.116677046249789], [54.077579299901345, 12.116667930515979], [54.07753756034767, 12.116696111505343], [54.077528296590515, 12.116745081222815], [54.07755693526786, 12.116786153815234], [54.07760670017614, 12.1167952694687], [54.07764843965232, 12.11676708841385], [54.07765770333215, 12.116718118776722]],\n", + " var polygon_164f836f758cf2697970766492a726af = L.polygon(\n", + " [[54.07815800521784, 12.126742507690409], [54.07812935773017, 12.126701438811942], [54.07807958811316, 12.126692331083593], [54.07803785067877, 12.12672051974592], [54.078028594704804, 12.126769492309135], [54.07805724226996, 12.126810561253079], [54.07810701196431, 12.126819668901076], [54.07814874932121, 12.12679148017327], [54.07815800521784, 12.126742507690409]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b328b11b372d9d492af29dc83d457d77 = L.marker(\n", - " [54.1696803, 12.083927],\n", + " var marker_ce107d12f5a8c1d5c9dd0a2d5b519d57 = L.marker(\n", + " [54.084738, 12.1424973],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_789d6422f607b8a9d13b553eb096a7b3 = L.popup({"maxWidth": "100%"});\n", + " var popup_3eab15da847915c8449a884df0b78b8f = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_29f8a37f4ea28a03d4338f2755bfe303 = $(`<div id="html_29f8a37f4ea28a03d4338f2755bfe303" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.083927, 54.1696803]</div>`)[0];\n", - " popup_789d6422f607b8a9d13b553eb096a7b3.setContent(html_29f8a37f4ea28a03d4338f2755bfe303);\n", + " var html_e1652c2df7140fce019fb4e122b89b43 = $(`<div id="html_e1652c2df7140fce019fb4e122b89b43" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1424973, 54.084738]</div>`)[0];\n", + " popup_3eab15da847915c8449a884df0b78b8f.setContent(html_e1652c2df7140fce019fb4e122b89b43);\n", " \n", " \n", "\n", - " marker_b328b11b372d9d492af29dc83d457d77.bindPopup(popup_789d6422f607b8a9d13b553eb096a7b3)\n", + " marker_ce107d12f5a8c1d5c9dd0a2d5b519d57.bindPopup(popup_3eab15da847915c8449a884df0b78b8f)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_778c176661cd3030b8fdc0dd83f36f83 = L.polygon(\n", - " [[54.16974488976435, 12.083913532884262], [54.16971629576826, 12.083872529659207], [54.1696666159392, 12.083863434367194], [54.1696249519927, 12.083891574963769], [54.16961571015837, 12.083940467115378], [54.16964430423202, 12.083981470405856], [54.16969398413825, 12.083990565617489], [54.16973564800721, 12.083962424955484], [54.16974488976435, 12.083913532884262]],\n", + " var polygon_53cc6fe1216b4e6a073421743e71f4ea = L.polygon(\n", + " [[54.08480270147198, 12.142483788888425], [54.08477404098914, 12.142442730816507], [54.08472426818362, 12.142433638578314], [54.08468253923515, 12.142461838340495], [54.084673298450646, 12.142510811111118], [54.084701959011014, 12.142551869248505], [54.08475173189389, 12.14256096140633], [54.08479346076482, 12.142532761578682], [54.08480270147198, 12.142483788888425]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_f14fac8abf8948b748b19f8c7ef3810c = L.marker(\n", - " [54.0916959, 12.1078634],\n", + " var marker_b291334cc0370688deb4658b46474b50 = L.marker(\n", + " [54.0909664, 12.1462663],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_a60124c71d7233b44974eea831a591dc = L.popup({"maxWidth": "100%"});\n", + " var popup_018e11f939667feb0d78444003a4e89e = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_43788984b8bd29afe353a73ef542b1a0 = $(`<div id="html_43788984b8bd29afe353a73ef542b1a0" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1078634, 54.0916959]</div>`)[0];\n", - " popup_a60124c71d7233b44974eea831a591dc.setContent(html_43788984b8bd29afe353a73ef542b1a0);\n", + " var html_7ea7d1e1e394b3ab5ab4bc373bce5282 = $(`<div id="html_7ea7d1e1e394b3ab5ab4bc373bce5282" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1462663, 54.0909664]</div>`)[0];\n", + " popup_018e11f939667feb0d78444003a4e89e.setContent(html_7ea7d1e1e394b3ab5ab4bc373bce5282);\n", " \n", " \n", "\n", - " marker_f14fac8abf8948b748b19f8c7ef3810c.bindPopup(popup_a60124c71d7233b44974eea831a591dc)\n", + " marker_b291334cc0370688deb4658b46474b50.bindPopup(popup_018e11f939667feb0d78444003a4e89e)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_3fc3fa13adfa759d9b2cc5a2c9617634 = L.polygon(\n", - " [[54.09176058500586, 12.10784992513449], [54.09173195666802, 12.10780886198279], [54.09168220682301, 12.107799746408041], [54.09164047820066, 12.107827918247118], [54.091631214916795, 12.107876874865063], [54.09165984333214, 12.107917938082243], [54.09170959325445, 12.107927053576645], [54.0917513217993, 12.107898881672092], [54.09176058500586, 12.10784992513449]],\n", + " var polygon_b87e186dd157b08c3e510729288f3dbf = L.polygon(\n", + " [[54.091031095263006, 12.146252783282888], [54.091002432431, 12.146211731817937], [54.09095266228955, 12.14620264560009], [54.090910939457835, 12.146230847269361], [54.09090170465964, 12.146279816716666], [54.090930367569186, 12.146320868247082], [54.09098013778798, 12.146329954384552], [54.09102186054216, 12.146301752649816], [54.091031095263006, 12.146252783282888]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_796b27cf3f77309f4580cfdd191bf3f6 = L.marker(\n", - " [54.0782723, 12.099503],\n", + " var marker_0e0b59eb19b1c061aedde6bd78de7b9e = L.marker(\n", + " [54.1196641, 12.1554679],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_2a021484312f261f90dfee1a058eaebf = L.popup({"maxWidth": "100%"});\n", + " var popup_b3545125ff30b7a82ef8b6da9b631a85 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_fbdb9613512cd4b01634956065493ca2 = $(`<div id="html_fbdb9613512cd4b01634956065493ca2" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.099503, 54.0782723]</div>`)[0];\n", - " popup_2a021484312f261f90dfee1a058eaebf.setContent(html_fbdb9613512cd4b01634956065493ca2);\n", + " var html_6e09f8240827083218ac6cec4f8a6465 = $(`<div id="html_6e09f8240827083218ac6cec4f8a6465" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1554679, 54.1196641]</div>`)[0];\n", + " popup_b3545125ff30b7a82ef8b6da9b631a85.setContent(html_6e09f8240827083218ac6cec4f8a6465);\n", " \n", " \n", "\n", - " marker_796b27cf3f77309f4580cfdd191bf3f6.bindPopup(popup_2a021484312f261f90dfee1a058eaebf)\n", + " marker_0e0b59eb19b1c061aedde6bd78de7b9e.bindPopup(popup_b3545125ff30b7a82ef8b6da9b631a85)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_77c75d6053027aade935d81aaf3ad700 = L.polygon(\n", - " [[54.07833699833364, 12.099489537466154], [54.07830837525985, 12.09944846000194], [54.07825861978808, 12.099439331275038], [54.07821687794421, 12.099467498826654], [54.07820760158905, 12.099516462533384], [54.07823622474031, 12.099557540063087], [54.078285980289394, 12.099566668709661], [54.07832772205579, 12.099538501092557], [54.07833699833364, 12.099489537466154]],\n", + " var polygon_6d706c958b6d79181fd68cc4be881517 = L.polygon(\n", + " [[54.1197287646385, 12.155454366383697], [54.119700098290636, 12.155413342750311], [54.11965034463228, 12.155404277959986], [54.11960864862703, 12.155432482100814], [54.119599435284115, 12.155481433615885], [54.11962810170956, 12.15552245731471], [54.11967785544525, 12.155531522024628], [54.11971955137292, 12.15550331781836], [54.1197287646385, 12.155454366383697]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_c1dbb118c6c44ff3321e73f8f4f76cb6 = L.marker(\n", - " [54.0872169, 12.1355191],\n", + " var marker_8eb24dc8ff7ebb041e63f3bf94a1cdc3 = L.marker(\n", + " [54.0760966, 12.1363443],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_bc8d46d0cc88fcb24a06388ca271eb5f = L.popup({"maxWidth": "100%"});\n", + " var popup_c0734afc235bf1220a34bb7dba6c111d = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_ec28b7b853fe7ee1d536d4e8b9b04bdb = $(`<div id="html_ec28b7b853fe7ee1d536d4e8b9b04bdb" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1355191, 54.0872169]</div>`)[0];\n", - " popup_bc8d46d0cc88fcb24a06388ca271eb5f.setContent(html_ec28b7b853fe7ee1d536d4e8b9b04bdb);\n", + " var html_1d16ffaeeab1ae610bc8e88f2c6bb989 = $(`<div id="html_1d16ffaeeab1ae610bc8e88f2c6bb989" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1363443, 54.0760966]</div>`)[0];\n", + " popup_c0734afc235bf1220a34bb7dba6c111d.setContent(html_1d16ffaeeab1ae610bc8e88f2c6bb989);\n", " \n", " \n", "\n", - " marker_c1dbb118c6c44ff3321e73f8f4f76cb6.bindPopup(popup_bc8d46d0cc88fcb24a06388ca271eb5f)\n", + " marker_8eb24dc8ff7ebb041e63f3bf94a1cdc3.bindPopup(popup_c0734afc235bf1220a34bb7dba6c111d)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_b4c74f8980106a87a98db11872810fd0 = L.polygon(\n", - " [[54.08728159691845, 12.135505595934237], [54.087252943090334, 12.135464537772446], [54.08720317570869, 12.135455441369691], [54.08716144777604, 12.135483635332156], [54.087152203004216, 12.135532604065306], [54.08718085690985, 12.135573662292568], [54.08723062436883, 12.135582758614959], [54.08727235222396, 12.135554564587025], [54.08728159691845, 12.135505595934237]],\n", + " var polygon_69954ebcef44106bf62a57dfa44446bf = L.polygon(\n", + " [[54.07616130985846, 12.13633079767516], [54.07613265346096, 12.136289730141565], [54.076082877434956, 12.136280628837069], [54.07604113984673, 12.13630882523923], [54.07603189006418, 12.136357802324376], [54.076060546539196, 12.136398869923452], [54.07611032264254, 12.13640797114759], [54.07615206015326, 12.136379774679952], [54.07616130985846, 12.13633079767516]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_193756f0ad8b5dc31856c7d2b0144204 = L.marker(\n", - " [54.0749472, 12.1311526],\n", + " var marker_5dccd346f4f68b91a8299c7128795b19 = L.marker(\n", + " [54.071622, 12.1201649],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_557afa0bbd9d1847d181063d14b4dcc4 = L.popup({"maxWidth": "100%"});\n", + " var popup_7b81b6d58545e348e92a111e67466f6a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_0898490f0f009f832bab4e40c040d856 = $(`<div id="html_0898490f0f009f832bab4e40c040d856" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1311526, 54.0749472]</div>`)[0];\n", - " popup_557afa0bbd9d1847d181063d14b4dcc4.setContent(html_0898490f0f009f832bab4e40c040d856);\n", + " var html_d11a0d4766c6e9b33785e88dba3edc03 = $(`<div id="html_d11a0d4766c6e9b33785e88dba3edc03" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1201649, 54.071622]</div>`)[0];\n", + " popup_7b81b6d58545e348e92a111e67466f6a.setContent(html_d11a0d4766c6e9b33785e88dba3edc03);\n", " \n", " \n", "\n", - " marker_193756f0ad8b5dc31856c7d2b0144204.bindPopup(popup_557afa0bbd9d1847d181063d14b4dcc4)\n", + " marker_5dccd346f4f68b91a8299c7128795b19.bindPopup(popup_7b81b6d58545e348e92a111e67466f6a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_20cab05d1ede193bb0e8bd5342c58019 = L.polygon(\n", - " [[54.07501190990009, 12.131139103628025], [54.07498325795974, 12.131098033433581], [54.07493348375558, 12.13108892753982], [54.07489174428664, 12.131117120112624], [54.07488249002256, 12.131166096371508], [54.07491114204041, 12.13120716663144], [54.07496091632191, 12.13121627244485], [54.075002655713355, 12.131188079806561], [54.07501190990009, 12.131139103628025]],\n", + " var polygon_c6e54f3596dab50566be1a31dcdde02d = L.polygon(\n", + " [[54.071686711012035, 12.120151416438294], [54.071658068356165, 12.12011033983927], [54.071608297346366, 12.120101223788568], [54.071566553110515, 12.120129408401858], [54.07155728891058, 12.120178383561237], [54.07158593164395, 12.120219460225751], [54.07163570273107, 12.120228576196117], [54.07167744688946, 12.120200391517331], [54.071686711012035, 12.120151416438294]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_0bc75b0b4400fcebe84515e3b5c3fb8a = L.marker(\n", - " [54.0835783, 12.1332427],\n", + " var marker_d13ec8ffb9a80f2168a6adcc3b8ee661 = L.marker(\n", + " [54.0893444, 12.1366318],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_7180a0c6fd532ac0514346d049c0f1d3 = L.popup({"maxWidth": "100%"});\n", + " var popup_aede594ddd367daf0e6bb8d594dea85a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_f194edad76cbb81cb71ce30ab51f9dff = $(`<div id="html_f194edad76cbb81cb71ce30ab51f9dff" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1332427, 54.0835783]</div>`)[0];\n", - " popup_7180a0c6fd532ac0514346d049c0f1d3.setContent(html_f194edad76cbb81cb71ce30ab51f9dff);\n", + " var html_1fe503800f5c10599ba5385f3442d29a = $(`<div id="html_1fe503800f5c10599ba5385f3442d29a" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1366318, 54.0893444]</div>`)[0];\n", + " popup_aede594ddd367daf0e6bb8d594dea85a.setContent(html_1fe503800f5c10599ba5385f3442d29a);\n", " \n", " \n", "\n", - " marker_0bc75b0b4400fcebe84515e3b5c3fb8a.bindPopup(popup_7180a0c6fd532ac0514346d049c0f1d3)\n", + " marker_d13ec8ffb9a80f2168a6adcc3b8ee661.bindPopup(popup_aede594ddd367daf0e6bb8d594dea85a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_ba29ed084537980dbb02664aeaf64b9e = L.polygon(\n", - " [[54.08364300052752, 12.133229199289891], [54.083614348137786, 12.133188137244733], [54.08356457923778, 12.133179037267741], [54.08352284771948, 12.133207230058831], [54.08351359939513, 12.133256200709651], [54.08354225186239, 12.133297262820282], [54.08359202083972, 12.133306362716915], [54.083633752280505, 12.13327816986035], [54.08364300052752, 12.133229199289891]],\n", + " var polygon_06234eab6f580590adb9082e06a23cd0 = L.polygon(\n", + " [[54.08940909475448, 12.136618294210953], [54.0893804402807, 12.136577238249872], [54.08933067389923, 12.136568143768152], [54.089288948026685, 12.136596338246672], [54.089279705168146, 12.136645305788589], [54.089308359719446, 12.136686361815148], [54.089358126178254, 12.1366954562165], [54.08939985197326, 12.13666726167251], [54.08940909475448, 12.136618294210953]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_0e0eaa88343a4d58954fdc75d4c760bb = L.marker(\n", - " [54.1061884, 12.089065],\n", + " var marker_8d27ad2e55b0cab0fb019265267b8128 = L.marker(\n", + " [54.1773726, 12.0857696],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_77ed883b1932609e885ece15fc894382 = L.popup({"maxWidth": "100%"});\n", + " var popup_8bffc88dd2d3e45c8b9eea88f1a86a41 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_bb6a58e215150c3ede5dae00b62636ef = $(`<div id="html_bb6a58e215150c3ede5dae00b62636ef" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.089065, 54.1061884]</div>`)[0];\n", - " popup_77ed883b1932609e885ece15fc894382.setContent(html_bb6a58e215150c3ede5dae00b62636ef);\n", + " var html_5ff77195738506209818284336361f43 = $(`<div id="html_5ff77195738506209818284336361f43" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0857696, 54.1773726]</div>`)[0];\n", + " popup_8bffc88dd2d3e45c8b9eea88f1a86a41.setContent(html_5ff77195738506209818284336361f43);\n", " \n", " \n", "\n", - " marker_0e0eaa88343a4d58954fdc75d4c760bb.bindPopup(popup_77ed883b1932609e885ece15fc894382)\n", + " marker_8d27ad2e55b0cab0fb019265267b8128.bindPopup(popup_8bffc88dd2d3e45c8b9eea88f1a86a41)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_e30d8da1d5e15d5ae6fd0bddaa8480ab = L.polygon(\n", - " [[54.10625306380341, 12.089051542276954], [54.106224454682355, 12.089010485652631], [54.10617472521731, 12.089001362739802], [54.106133006199805, 12.089029517673875], [54.10612373611928, 12.089078457722621], [54.106152345317824, 12.089119514412415], [54.106202074860136, 12.089128637244904], [54.10624379380015, 12.089100482245358], [54.10625306380341, 12.089051542276954]],\n", + " var polygon_24fd66a5b622feaf31f998673a761de5 = L.polygon(\n", + " [[54.17743718139058, 12.085756129046075], [54.17740858702188, 12.085715133085854], [54.1773589119437, 12.08570604305139], [54.17731725508858, 12.085734183818438], [54.17730801853211, 12.085783070953568], [54.17733661297837, 12.085824066979207], [54.177386288133725, 12.085833156933282], [54.17742794491129, 12.085805016100817], [54.17743718139058, 12.085756129046075]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_1afa8fd8cdf387e3a6e0cfbc25af604b = L.marker(\n", - " [54.0671601, 12.1042373],\n", + " var marker_0773944298037d863d27ce660a772222 = L.marker(\n", + " [54.1439914, 12.0605046],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_6cb21c70c059d4c596cfe89b01000c69 = L.popup({"maxWidth": "100%"});\n", + " var popup_0312fa29ef5cda82d0a080a0699ed1dd = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_8305e48299dd40ab6cb1d54538129974 = $(`<div id="html_8305e48299dd40ab6cb1d54538129974" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1042373, 54.0671601]</div>`)[0];\n", - " popup_6cb21c70c059d4c596cfe89b01000c69.setContent(html_8305e48299dd40ab6cb1d54538129974);\n", + " var html_381ee04a31c6d06e9c6c170d4deda5d9 = $(`<div id="html_381ee04a31c6d06e9c6c170d4deda5d9" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0605046, 54.1439914]</div>`)[0];\n", + " popup_0312fa29ef5cda82d0a080a0699ed1dd.setContent(html_381ee04a31c6d06e9c6c170d4deda5d9);\n", " \n", " \n", "\n", - " marker_1afa8fd8cdf387e3a6e0cfbc25af604b.bindPopup(popup_6cb21c70c059d4c596cfe89b01000c69)\n", + " marker_0773944298037d863d27ce660a772222.bindPopup(popup_0312fa29ef5cda82d0a080a0699ed1dd)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_b52c123259950feb3e446454b1b0747f = L.polygon(\n", - " [[54.06722481221749, 12.104223834921441], [54.067196183075126, 12.104182749349446], [54.0671464169567, 12.104173618754839], [54.06710466612477, 12.10420179177291], [54.0670953877052, 12.10425076507808], [54.06712401692504, 12.104291850715573], [54.06717378312078, 12.10430098122986], [54.067215533875256, 12.10427280814629], [54.06722481221749, 12.104223834921441]],\n", + " var polygon_4fab41b18b21ea2e645b8b0651aa6046 = L.polygon(\n", + " [[54.144056013508774, 12.060491164619554], [54.144027436214664, 12.06045013159404], [54.14397774939465, 12.060441005368178], [54.143936058859445, 12.060469132018115], [54.14392678641396, 12.060518035380063], [54.143955363785565, 12.060559068471028], [54.14400505068278, 12.060568194616545], [54.144046741140485, 12.060540067901156], [54.144056013508774, 12.060491164619554]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_8e60bd27a8656d745c5a9476c3cf0ac9 = L.marker(\n", - " [54.1057646, 12.0754757],\n", + " var marker_91b3d6e4d91a5ff1bef86c3ef2f305c1 = L.marker(\n", + " [54.1382531, 12.0465207],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_615ad5253afd2e81ac524a8e5438fb0d = L.popup({"maxWidth": "100%"});\n", + " var popup_7534b3e68344df7adef95900211a59c5 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_f229293cacc8f10094a1c9fd2f1af09d = $(`<div id="html_f229293cacc8f10094a1c9fd2f1af09d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0754757, 54.1057646]</div>`)[0];\n", - " popup_615ad5253afd2e81ac524a8e5438fb0d.setContent(html_f229293cacc8f10094a1c9fd2f1af09d);\n", + " var html_b6ba096ef26b647c81ea09546009595b = $(`<div id="html_b6ba096ef26b647c81ea09546009595b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0465207, 54.1382531]</div>`)[0];\n", + " popup_7534b3e68344df7adef95900211a59c5.setContent(html_b6ba096ef26b647c81ea09546009595b);\n", " \n", " \n", "\n", - " marker_8e60bd27a8656d745c5a9476c3cf0ac9.bindPopup(popup_615ad5253afd2e81ac524a8e5438fb0d)\n", + " marker_91b3d6e4d91a5ff1bef86c3ef2f305c1.bindPopup(popup_7534b3e68344df7adef95900211a59c5)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_be5837e2eb4c3a00f31db135ca33144c = L.polygon(\n", - " [[54.105829260969045, 12.075462257254793], [54.105800663936584, 12.07542119590218], [54.10575094113912, 12.075412062257017], [54.10570921946244, 12.075440206741568], [54.10569993895367, 12.075489142744779], [54.1057285360636, 12.075530204162872], [54.105778258938315, 12.075539337727708], [54.105819980537525, 12.075511193177686], [54.105829260969045, 12.075462257254793]],\n", + " var polygon_9fd516be37761d4ed3c94e2f1d5edcf2 = L.polygon(\n", + " [[54.138317716680845, 12.046507281294227], [54.13828915094618, 12.046466238803454], [54.1382394670561, 12.04645709888916], [54.138197769105005, 12.04648521564598], [54.13818848324192, 12.046534118705386], [54.138217049054056, 12.046575161261622], [54.13826673302132, 12.046584301095589], [54.13830843089493, 12.046556184273305], [54.138317716680845, 12.046507281294227]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b5c5a75be7c4fa2d8ba80c2852367399 = L.marker(\n", - " [54.1209234, 12.1374857],\n", + " var marker_f60bf6005c7e577d62445fea5117cdaf = L.marker(\n", + " [54.0872908, 12.1005975],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_dde0d81c42ce19c15d1ebbf0e3963c0a = L.popup({"maxWidth": "100%"});\n", + " var popup_4eb8e7ec3b87e074fb655bd1aa13914f = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_cd8f24c6367e7d81cbccf147f4a9ac50 = $(`<div id="html_cd8f24c6367e7d81cbccf147f4a9ac50" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1374857, 54.1209234]</div>`)[0];\n", - " popup_dde0d81c42ce19c15d1ebbf0e3963c0a.setContent(html_cd8f24c6367e7d81cbccf147f4a9ac50);\n", + " var html_5d3e6d1c5e26da7546963602aa8c57b2 = $(`<div id="html_5d3e6d1c5e26da7546963602aa8c57b2" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1005975, 54.0872908]</div>`)[0];\n", + " popup_4eb8e7ec3b87e074fb655bd1aa13914f.setContent(html_5d3e6d1c5e26da7546963602aa8c57b2);\n", " \n", " \n", "\n", - " marker_b5c5a75be7c4fa2d8ba80c2852367399.bindPopup(popup_dde0d81c42ce19c15d1ebbf0e3963c0a)\n", + " marker_f60bf6005c7e577d62445fea5117cdaf.bindPopup(popup_4eb8e7ec3b87e074fb655bd1aa13914f)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_423183f3cd3881a4f07377da0e243541 = L.polygon(\n", - " [[54.12098805877797, 12.137472185770832], [54.120959408744504, 12.137431157458694], [54.12090966527682, 12.13742207937365], [54.12086796736897, 12.137450269391646], [54.12085874114469, 12.137499214228741], [54.12088739125571, 12.13754024260633], [54.1209371348007, 12.137549320610981], [54.120978832630996, 12.137521130527539], [54.12098805877797, 12.137472185770832]],\n", + " var polygon_25aba2b8efdda217394fd51f36f2da17 = L.polygon(\n", + " [[54.08735548827268, 12.100584034130636], [54.087326865708846, 12.100542964831027], [54.08727711634186, 12.10053384143991], [54.08723538262153, 12.100562008372876], [54.08722611165, 12.100610965868906], [54.08725473429132, 12.100652035234], [54.08730448373561, 12.100661158544785], [54.08734621737846, 12.100632991546334], [54.08735548827268, 12.100584034130636]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_9bebe23d8c22c05dcf8e288739f4f92f = L.marker(\n", - " [54.0671473, 12.1247382],\n", + " var marker_6e60fdef2b3f58905b514c1431fb872a = L.marker(\n", + " [54.1432407, 12.0436937],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_43195702eed46346e8fb36f7e44642a0 = L.popup({"maxWidth": "100%"});\n", + " var popup_bdd24d590d8e137858d6fda70646a27e = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_b1522de3a4f5bef376cb0c2cb0495e98 = $(`<div id="html_b1522de3a4f5bef376cb0c2cb0495e98" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1247382, 54.0671473]</div>`)[0];\n", - " popup_43195702eed46346e8fb36f7e44642a0.setContent(html_b1522de3a4f5bef376cb0c2cb0495e98);\n", + " var html_c172ff7d0336c08e1e0d62457425e0bd = $(`<div id="html_c172ff7d0336c08e1e0d62457425e0bd" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0436937, 54.1432407]</div>`)[0];\n", + " popup_bdd24d590d8e137858d6fda70646a27e.setContent(html_c172ff7d0336c08e1e0d62457425e0bd);\n", " \n", " \n", "\n", - " marker_9bebe23d8c22c05dcf8e288739f4f92f.bindPopup(popup_43195702eed46346e8fb36f7e44642a0)\n", + " marker_6e60fdef2b3f58905b514c1431fb872a.bindPopup(popup_bdd24d590d8e137858d6fda70646a27e)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_3b2d244a98fb81bb931b365caf149867 = L.polygon(\n", - " [[54.06721201725803, 12.124724712498363], [54.06718336977323, 12.124683633489276], [54.06713359310444, 12.124674518748241], [54.06709184569444, 12.124702707623754], [54.06708258266462, 12.124751687501158], [54.06711123022691, 12.12479276657574], [54.06716100697306, 12.124801881236431], [54.067202754305555, 12.12477369229543], [54.06721201725803, 12.124724712498363]],\n", + " var polygon_c92b3149753041ce65f1f2532a2fa5fe = L.polygon(\n", + " [[54.143305310275835, 12.043680283215636], [54.14327674790027, 12.043639244140422], [54.143227069153525, 12.043630104515364], [54.143185375117135, 12.04365821826567], [54.14317608964691, 12.043707116783981], [54.14320465209996, 12.043748155924655], [54.143254330923874, 12.043757295469382], [54.143296024882794, 12.043729181653623], [54.143305310275835, 12.043680283215636]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b341a92eb328e75d9c9c7e3873fa83e2 = L.marker(\n", - " [54.0716025, 12.1202647],\n", + " var marker_4c881b98029d3ebb97533226f2abefcb = L.marker(\n", + " [54.0864681, 12.122899],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_3eb38b003f2812d32032912b2f055c13 = L.popup({"maxWidth": "100%"});\n", + " var popup_0d709cf1679006acd90a739ff06cf90b = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_3c0596e62026294b605d53efccf1908f = $(`<div id="html_3c0596e62026294b605d53efccf1908f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1202647, 54.0716025]</div>`)[0];\n", - " popup_3eb38b003f2812d32032912b2f055c13.setContent(html_3c0596e62026294b605d53efccf1908f);\n", + " var html_1b1c2739671393a68b02122b536646b0 = $(`<div id="html_1b1c2739671393a68b02122b536646b0" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.122899, 54.0864681]</div>`)[0];\n", + " popup_0d709cf1679006acd90a739ff06cf90b.setContent(html_1b1c2739671393a68b02122b536646b0);\n", " \n", " \n", "\n", - " marker_b341a92eb328e75d9c9c7e3873fa83e2.bindPopup(popup_3eb38b003f2812d32032912b2f055c13)\n", + " marker_4c881b98029d3ebb97533226f2abefcb.bindPopup(popup_0d709cf1679006acd90a739ff06cf90b)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_c508fb1fc273bc89238b955e68f60843 = L.polygon(\n", - " [[54.071667211058866, 12.120251216333742], [54.071638568310476, 12.120210139749828], [54.07158879723495, 12.120201023766628], [54.07154705299863, 12.12022920846027], [54.07153778886379, 12.120278183665782], [54.07156643168966, 12.120319260315183], [54.071616202842534, 12.120328376218046], [54.07165794700136, 12.120300191458917], [54.071667211058866, 12.120251216333742]],\n", + " var polygon_afabdcb02a811222c26556973e5dbfe4 = L.polygon(\n", + " [[54.08653279467926, 12.122885509921309], [54.08650415202344, 12.122844447062645], [54.08645439058118, 12.122835340520949], [54.08641265987582, 12.122863524841652], [54.08640340524338, 12.122912490078235], [54.086432047976714, 12.122953553002375], [54.0864818094963, 12.122962659463722], [54.086523540124155, 12.122934475077539], [54.08653279467926, 12.122885509921309]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_f82e20d760e6ca1dca30614897bb8945 = L.marker(\n", - " [54.1772417, 12.0781288],\n", + " var marker_f0bb46df4d137cd18bba1ec381297cf6 = L.marker(\n", + " [54.0774081, 12.1418502],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_e14fd8472522b46ba1b79b8b91c39be5 = L.popup({"maxWidth": "100%"});\n", + " var popup_152104952335ef68101ef85705729818 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_81cd9590e43ec59e88a8bbde4ace5c22 = $(`<div id="html_81cd9590e43ec59e88a8bbde4ace5c22" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0781288, 54.1772417]</div>`)[0];\n", - " popup_e14fd8472522b46ba1b79b8b91c39be5.setContent(html_81cd9590e43ec59e88a8bbde4ace5c22);\n", + " var html_7a0f3413c4cef5a1c2e3c9d65c8c95ca = $(`<div id="html_7a0f3413c4cef5a1c2e3c9d65c8c95ca" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1418502, 54.0774081]</div>`)[0];\n", + " popup_152104952335ef68101ef85705729818.setContent(html_7a0f3413c4cef5a1c2e3c9d65c8c95ca);\n", " \n", " \n", "\n", - " marker_f82e20d760e6ca1dca30614897bb8945.bindPopup(popup_e14fd8472522b46ba1b79b8b91c39be5)\n", + " marker_f0bb46df4d137cd18bba1ec381297cf6.bindPopup(popup_152104952335ef68101ef85705729818)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_8a2da5a845a2050656240d5e9f572917 = L.polygon(\n", - " [[54.17730627967629, 12.078115337452621], [54.17727769212947, 12.07807433892387], [54.17722802088124, 12.078065242901053], [54.17718636262058, 12.078093377767809], [54.17717712024644, 12.078142262547033], [54.177205707870804, 12.078183261141211], [54.177255379196204, 12.078192357083642], [54.177297037379326, 12.07816422215146], [54.17730627967629, 12.078115337452621]],\n", + " var polygon_c7f749bed097d5efa7b88ed289882451 = L.polygon(\n", + " [[54.07747280970888, 12.141836691339908], [54.077444148599184, 12.141795626708435], [54.077394370708944, 12.141786530317141], [54.07735263519647, 12.141814730765502], [54.077343390213755, 12.141863708659633], [54.07737205140097, 12.141904773356583], [54.07742182936856, 12.141913869667514], [54.077463564803516, 12.14188566915368], [54.07747280970888, 12.141836691339908]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_49b428f006dfe583a62ca13fb6b0ab9b = L.marker(\n", - " [54.1028117, 12.1783348],\n", + " var marker_a4ed5da1c18587e541180aad76bf706c = L.marker(\n", + " [54.083285, 12.1278785],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_cf903bbe5b1f6ffbf2ea99ed62a74076 = L.popup({"maxWidth": "100%"});\n", + " var popup_52769b616289b4481fa565fa4ada6f04 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_afba4419d4bf711d6e2cd7ed27d56609 = $(`<div id="html_afba4419d4bf711d6e2cd7ed27d56609" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1783348, 54.1028117]</div>`)[0];\n", - " popup_cf903bbe5b1f6ffbf2ea99ed62a74076.setContent(html_afba4419d4bf711d6e2cd7ed27d56609);\n", + " var html_ece683540b6ae6dc5f200dcca7779085 = $(`<div id="html_ece683540b6ae6dc5f200dcca7779085" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1278785, 54.083285]</div>`)[0];\n", + " popup_52769b616289b4481fa565fa4ada6f04.setContent(html_ece683540b6ae6dc5f200dcca7779085);\n", " \n", " \n", "\n", - " marker_49b428f006dfe583a62ca13fb6b0ab9b.bindPopup(popup_cf903bbe5b1f6ffbf2ea99ed62a74076)\n", + " marker_a4ed5da1c18587e541180aad76bf706c.bindPopup(popup_52769b616289b4481fa565fa4ada6f04)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_ae20f2daa6e0b9e46873bb767de5dad3 = L.polygon(\n", - " [[54.10287638958152, 12.178321245370128], [54.10284769997667, 12.178280214460433], [54.102797922073684, 12.178271158965613], [54.102756215038305, 12.178299383528586], [54.102747010341076, 12.178348354629426], [54.102775700023514, 12.178389385604568], [54.10282547800388, 12.178398441018976], [54.10286718496167, 12.178370216390556], [54.10287638958152, 12.178321245370128]],\n", + " var polygon_1e5b66a3b935860edacbea1a26f1775b = L.polygon(\n", + " [[54.08334969954688, 12.127865005228815], [54.08332105190992, 12.127823941209012], [54.08327128555302, 12.12781483693515], [54.08322955287844, 12.1278430256242], [54.08322030037575, 12.127891994770723], [54.08324894809022, 12.127933058856007], [54.08329871452444, 12.127942163049518], [54.08334044712153, 12.127913974294989], [54.08334969954688, 12.127865005228815]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_e717ee7e3efa862f52f9e403839cb133 = L.marker(\n", - " [54.1723997, 12.0923545],\n", + " var marker_47deae9a12f5484f54b5bbdc018257f8 = L.marker(\n", + " [54.0896398, 12.1408466],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_a7c4802b8de88e4f005b09b802080f26 = L.popup({"maxWidth": "100%"});\n", + " var popup_19c88b1301a04754df6dd7101d4f1176 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_2e658ab9ab32b51d84b4a4674b1c86f2 = $(`<div id="html_2e658ab9ab32b51d84b4a4674b1c86f2" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0923545, 54.1723997]</div>`)[0];\n", - " popup_a7c4802b8de88e4f005b09b802080f26.setContent(html_2e658ab9ab32b51d84b4a4674b1c86f2);\n", + " var html_7f64340a0b96cd4a995285dc056bd642 = $(`<div id="html_7f64340a0b96cd4a995285dc056bd642" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1408466, 54.0896398]</div>`)[0];\n", + " popup_19c88b1301a04754df6dd7101d4f1176.setContent(html_7f64340a0b96cd4a995285dc056bd642);\n", " \n", " \n", "\n", - " marker_e717ee7e3efa862f52f9e403839cb133.bindPopup(popup_a7c4802b8de88e4f005b09b802080f26)\n", + " marker_47deae9a12f5484f54b5bbdc018257f8.bindPopup(popup_19c88b1301a04754df6dd7101d4f1176)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_39c0af0028712d9a8690b897e507868a = L.polygon(\n", - " [[54.172464288702905, 12.092341023004462], [54.172435687610125, 12.092300024845763], [54.17238600546331, 12.092290937439754], [54.17234434533567, 12.092319084122474], [54.1723351112198, 12.092367976995185], [54.17236371239014, 12.092408975219307], [54.17241339461416, 12.092418062544917], [54.17245505466424, 12.092389915796781], [54.172464288702905, 12.092341023004462]],\n", + " var polygon_723fa287582f9d0585a1e938a452e061 = L.polygon(\n", + " [[54.089704495451194, 12.140833089528769], [54.08967583725293, 12.140792035175632], [54.08962606892061, 12.140782944102705], [54.08958434401362, 12.140811141794039], [54.08957510447142, 12.140860110470776], [54.08960376274721, 12.140901164889382], [54.08965353115687, 12.140910255881945], [54.08969525598633, 12.14088205812514], [54.089704495451194, 12.140833089528769]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_29d0be87c488a8dfecd80c1784990b9a = L.marker(\n", - " [54.089047, 12.0880192],\n", + " var marker_04d733532f7b55a6a54eff8125b39c15 = L.marker(\n", + " [54.0876122, 12.139052],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_70b2d7a2f4349dc4bd037d2454e5042b = L.popup({"maxWidth": "100%"});\n", + " var popup_cb8cc49adcd9069b16f43374db316149 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_e14981384f552a2b5574fa6f838ef15d = $(`<div id="html_e14981384f552a2b5574fa6f838ef15d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0880192, 54.089047]</div>`)[0];\n", - " popup_70b2d7a2f4349dc4bd037d2454e5042b.setContent(html_e14981384f552a2b5574fa6f838ef15d);\n", + " var html_f5e6417e719da41c6b2a4c64990d1aa3 = $(`<div id="html_f5e6417e719da41c6b2a4c64990d1aa3" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.139052, 54.0876122]</div>`)[0];\n", + " popup_cb8cc49adcd9069b16f43374db316149.setContent(html_f5e6417e719da41c6b2a4c64990d1aa3);\n", " \n", " \n", "\n", - " marker_29d0be87c488a8dfecd80c1784990b9a.bindPopup(popup_70b2d7a2f4349dc4bd037d2454e5042b)\n", + " marker_04d733532f7b55a6a54eff8125b39c15.bindPopup(popup_cb8cc49adcd9069b16f43374db316149)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_5fd8cc10cb36a5b29093762288643365 = L.polygon(\n", - " [[54.08911168318409, 12.088005747480297], [54.08908307216351, 12.08796467566711], [54.08903333055873, 12.087955543414791], [54.08899159627257, 12.0879837003297], [54.08898231673862, 12.088032652519255], [54.08901092783667, 12.088073724397931], [54.08906066951872, 12.088082856569923], [54.08910240372742, 12.08805469958953], [54.08911168318409, 12.088005747480297]],\n", + " var polygon_81ff88ccadcee95e0429eea6f1f39e41 = L.polygon(\n", + " [[54.087676897333175, 12.139038491974576], [54.08764824040764, 12.138997435288546], [54.08759847150006, 12.13898834181658], [54.08755674450682, 12.139016538448054], [54.08754750258947, 12.139065508024961], [54.08757615959253, 12.139106564776464], [54.087625928577445, 12.139115658168066], [54.087667655493156, 12.139087461471119], [54.087676897333175, 12.139038491974576]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_37edf381c11bb66cc497dd147237e9fa = L.marker(\n", - " [54.0802173, 12.1395237],\n", + " var marker_2f6a42769f266d58fc0d154cae307b4f = L.marker(\n", + " [54.121931, 12.052273],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_e372a552ee113ba8125596692f76e9ed = L.popup({"maxWidth": "100%"});\n", + " var popup_56e637e1430038d4cd8e8697c4485932 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_37fc96ecb0619eef733d41809dfbd507 = $(`<div id="html_37fc96ecb0619eef733d41809dfbd507" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1395237, 54.0802173]</div>`)[0];\n", - " popup_e372a552ee113ba8125596692f76e9ed.setContent(html_37fc96ecb0619eef733d41809dfbd507);\n", + " var html_e528b49bc150e4532dd42e9e4a37e652 = $(`<div id="html_e528b49bc150e4532dd42e9e4a37e652" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.052273, 54.121931]</div>`)[0];\n", + " popup_56e637e1430038d4cd8e8697c4485932.setContent(html_e528b49bc150e4532dd42e9e4a37e652);\n", " \n", " \n", "\n", - " marker_37edf381c11bb66cc497dd147237e9fa.bindPopup(popup_e372a552ee113ba8125596692f76e9ed)\n", + " marker_2f6a42769f266d58fc0d154cae307b4f.bindPopup(popup_56e637e1430038d4cd8e8697c4485932)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_a6d9e96db288af107ca268b87ff2d8da = L.polygon(\n", - " [[54.0802820059197, 12.139510193216974], [54.08025334735467, 12.139469130273717], [54.08020357273811, 12.139460033482148], [54.080161839310655, 12.139488231676209], [54.08015259400291, 12.13953720678256], [54.08018125264547, 12.139578269791292], [54.08023102733938, 12.1395873665025], [54.08027276068932, 12.139559168242965], [54.0802820059197, 12.139510193216974]],\n", + " var polygon_320a7ac47a32579aec9e5c60193d0996 = L.polygon(\n", + " [[54.12199563678741, 12.052259578843433], [54.12196706319374, 12.052218524052877], [54.121917364270224, 12.052209380479486], [54.12187565291761, 12.052237504361333], [54.12186636313534, 12.05228642115616], [54.12189493680647, 12.052327476012188], [54.121944635807196, 12.052336619505255], [54.12198634708234, 12.052308495557936], [54.12199563678741, 12.052259578843433]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_a0fe848e52bc49f2148177a53c6dd2b1 = L.marker(\n", - " [54.0742633, 12.1212616],\n", + " var marker_4437d399db8b234adf09d5275dc82b2a = L.marker(\n", + " [54.1139393, 12.1408774],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_fcff074dde6d8c72735a50f8606d0baa = L.popup({"maxWidth": "100%"});\n", + " var popup_8b62b78529439ab4478a22a013f245ab = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_39777da102efbac6ff7665f9f05a268e = $(`<div id="html_39777da102efbac6ff7665f9f05a268e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1212616, 54.0742633]</div>`)[0];\n", - " popup_fcff074dde6d8c72735a50f8606d0baa.setContent(html_39777da102efbac6ff7665f9f05a268e);\n", + " var html_5baff6d56e9caac093edaf411a33edbd = $(`<div id="html_5baff6d56e9caac093edaf411a33edbd" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1408774, 54.1139393]</div>`)[0];\n", + " popup_8b62b78529439ab4478a22a013f245ab.setContent(html_5baff6d56e9caac093edaf411a33edbd);\n", " \n", " \n", "\n", - " marker_a0fe848e52bc49f2148177a53c6dd2b1.bindPopup(popup_fcff074dde6d8c72735a50f8606d0baa)\n", + " marker_4437d399db8b234adf09d5275dc82b2a.bindPopup(popup_8b62b78529439ab4478a22a013f245ab)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_2452841c53dfde9ae833811954ff98c1 = L.polygon(\n", - " [[54.07432800825627, 12.121248114611248], [54.07429936505429, 12.121207040652273], [54.07424959543258, 12.121197926765374], [54.07420785370589, 12.1212261117987], [54.07419859166639, 12.12127508538829], [54.07422723494585, 12.12131615941275], [54.074277004644884, 12.121325273219304], [54.07431874629409, 12.121297088120496], [54.07432800825627, 12.121248114611248]],\n", + " var polygon_705c31dd0af591fc2b0d35a3405b67f4 = L.polygon(\n", + " [[54.1140039676154, 12.140863883717623], [54.11397531339274, 12.140822850438393], [54.11392556301296, 12.140813771498657], [54.11388385951917, 12.140841965275019], [54.113874632307244, 12.140890916281943], [54.11390328660748, 12.140931949626626], [54.11395303706456, 12.140941028485978], [54.11399474048081, 12.140912834644165], [54.1140039676154, 12.140863883717623]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_7b8c3a4a486a5bc4d650e8cf4e439884 = L.marker(\n", - " [54.17062, 12.0846455],\n", + " var marker_544e86f9b7eb322c4ed9e99e3b504e4d = L.marker(\n", + " [54.0866862, 12.1034028],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_ade7911cb95c7cd544d0d4901d9e771a = L.popup({"maxWidth": "100%"});\n", + " var popup_9567bd832ff3bd3977629a38922ff022 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_447a0f184a948ff135b029f73ff7c38f = $(`<div id="html_447a0f184a948ff135b029f73ff7c38f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0846455, 54.17062]</div>`)[0];\n", - " popup_ade7911cb95c7cd544d0d4901d9e771a.setContent(html_447a0f184a948ff135b029f73ff7c38f);\n", + " var html_068c0a33fbf182b41e0550752b4ce3a0 = $(`<div id="html_068c0a33fbf182b41e0550752b4ce3a0" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1034028, 54.0866862]</div>`)[0];\n", + " popup_9567bd832ff3bd3977629a38922ff022.setContent(html_068c0a33fbf182b41e0550752b4ce3a0);\n", " \n", " \n", "\n", - " marker_7b8c3a4a486a5bc4d650e8cf4e439884.bindPopup(popup_ade7911cb95c7cd544d0d4901d9e771a)\n", + " marker_544e86f9b7eb322c4ed9e99e3b504e4d.bindPopup(popup_9567bd832ff3bd3977629a38922ff022)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_8aea4ff788677d15e8768316d0ef2fa4 = L.polygon(\n", - " [[54.170684588861896, 12.084632031874618], [54.17065599437837, 12.084591029695504], [54.17060631487607, 12.084581935428174], [54.17056465187906, 12.084610076427929], [54.170555411060796, 12.08465896812503], [54.170584005621876, 12.084699970369567], [54.17063368520137, 12.084709064556515], [54.17067534812082, 12.084680923491332], [54.170684588861896, 12.084632031874618]],\n", + " var polygon_4cf1148b20cd83a4b95939413ec5c449 = L.polygon(\n", + " [[54.08675088965194, 12.103389331204003], [54.08672226447831, 12.103348262280452], [54.08667251322236, 12.10333914075948], [54.086630779440426, 12.103367309961186], [54.086621510270746, 12.10341626879554], [54.08665013552187, 12.103457337784581], [54.086699886855115, 12.103466459225208], [54.086741620559565, 12.103438289958026], [54.08675088965194, 12.103389331204003]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_6015c5a59e6a10cf204c0b6740eb1cae = L.marker(\n", - " [54.0923362, 12.1215928],\n", + " var marker_ce14f5cc33899dfe00b5c2fd614bc40d = L.marker(\n", + " [54.1563737, 12.0689659],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_7fa479972e877c105dbbe77f71c447e8 = L.popup({"maxWidth": "100%"});\n", + " var popup_937cd704f8cd87fa46c860e8a40ae285 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_c88a4418ca5eb4588915f3de9c3df80b = $(`<div id="html_c88a4418ca5eb4588915f3de9c3df80b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1215928, 54.0923362]</div>`)[0];\n", - " popup_7fa479972e877c105dbbe77f71c447e8.setContent(html_c88a4418ca5eb4588915f3de9c3df80b);\n", + " var html_aa3cd7536101c3758c5bb42f709af321 = $(`<div id="html_aa3cd7536101c3758c5bb42f709af321" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0689659, 54.1563737]</div>`)[0];\n", + " popup_937cd704f8cd87fa46c860e8a40ae285.setContent(html_aa3cd7536101c3758c5bb42f709af321);\n", " \n", " \n", "\n", - " marker_6015c5a59e6a10cf204c0b6740eb1cae.bindPopup(popup_7fa479972e877c105dbbe77f71c447e8)\n", + " marker_ce14f5cc33899dfe00b5c2fd614bc40d.bindPopup(popup_937cd704f8cd87fa46c860e8a40ae285)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_33802c70303dda937bcbf3c082106fbb = L.polygon(\n", - " [[54.09240088763692, 12.121579309957303], [54.09237224711768, 12.121538251764886], [54.092322490685746, 12.121529147134925], [54.09228076492944, 12.12155732949299], [54.092271512285734, 12.12160629004225], [54.092300152882466, 12.121647348300135], [54.092349909391736, 12.121656452849743], [54.09239163507053, 12.1216282704262], [54.09240088763692, 12.121579309957303]],\n", + " var polygon_edd3707d513dc45b667a4e72bea7cfd1 = L.polygon(\n", + " [[54.15643830137477, 12.068952452424641], [54.1564097185645, 12.068911432852943], [54.15636003656755, 12.068902319343442], [54.156318358369354, 12.068930450523233], [54.15630909854795, 12.068979347574993], [54.156337681435744, 12.069020367212131], [54.15638736350987, 12.06902948064127], [54.15642904163056, 12.06900134939604], [54.15643830137477, 12.068952452424641]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_c9a2023d19d9e1af09d75755c3412ed5 = L.marker(\n", - " [54.1813632, 12.0869028],\n", + " var marker_6dc890763610e7ffdfb19691ecb7ef76 = L.marker(\n", + " [54.0934069, 12.1165419],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_aaac434d5507ff81a49484dfd8395d85 = L.popup({"maxWidth": "100%"});\n", + " var popup_a7188ca452ea36939413429ebc117fa8 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_9ae276f21e5244ac2552dcccc4e2f5dc = $(`<div id="html_9ae276f21e5244ac2552dcccc4e2f5dc" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0869028, 54.1813632]</div>`)[0];\n", - " popup_aaac434d5507ff81a49484dfd8395d85.setContent(html_9ae276f21e5244ac2552dcccc4e2f5dc);\n", + " var html_969b7be2fab830a55bcec21d56614a12 = $(`<div id="html_969b7be2fab830a55bcec21d56614a12" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1165419, 54.0934069]</div>`)[0];\n", + " popup_a7188ca452ea36939413429ebc117fa8.setContent(html_969b7be2fab830a55bcec21d56614a12);\n", " \n", " \n", "\n", - " marker_c9a2023d19d9e1af09d75755c3412ed5.bindPopup(popup_aaac434d5507ff81a49484dfd8395d85)\n", + " marker_6dc890763610e7ffdfb19691ecb7ef76.bindPopup(popup_a7188ca452ea36939413429ebc117fa8)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_00a3b7ceea611add467e2e9834a12420 = L.polygon(\n", - " [[54.18142777708926, 12.086889326860433], [54.18139918236846, 12.086848334726376], [54.18134950966411, 12.086839247557087], [54.18130785651815, 12.086867388549932], [54.18129862283344, 12.086916273139222], [54.1813272176318, 12.086957265338691], [54.181376890413325, 12.08696635242759], [54.18141854348171, 12.086938211369327], [54.18142777708926, 12.086889326860433]],\n", + " var polygon_8187521ece72d3fadd64f9ae9865163e = L.polygon(\n", + " [[54.09347158517211, 12.116528415230762], [54.09344294935009, 12.1164873563459], [54.093393196307645, 12.116478248340007], [54.09335147064761, 12.116506426616224], [54.093342214750535, 12.1165553847688], [54.09337085065006, 12.116596443719136], [54.09342060376981, 12.116605551644676], [54.09346232935234, 12.116577373302988], [54.09347158517211, 12.116528415230762]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_07f13a70b71172be309e760ffed177c6 = L.marker(\n", - " [54.1101737, 12.1548529],\n", + " var marker_d7d602f562e472d5349605ff1ee844d1 = L.marker(\n", + " [54.1419745, 12.1669281],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_72259e94461ba2641097215af6337685 = L.popup({"maxWidth": "100%"});\n", + " var popup_6b3d132eee5c68c692a19c874c9f65ce = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_7970a0c083f8e57b74ed6957de251377 = $(`<div id="html_7970a0c083f8e57b74ed6957de251377" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1548529, 54.1101737]</div>`)[0];\n", - " popup_72259e94461ba2641097215af6337685.setContent(html_7970a0c083f8e57b74ed6957de251377);\n", + " var html_1656610b2b6a0e0b3a0b41dd35d812dc = $(`<div id="html_1656610b2b6a0e0b3a0b41dd35d812dc" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1669281, 54.1419745]</div>`)[0];\n", + " popup_6b3d132eee5c68c692a19c874c9f65ce.setContent(html_1656610b2b6a0e0b3a0b41dd35d812dc);\n", " \n", " \n", "\n", - " marker_07f13a70b71172be309e760ffed177c6.bindPopup(popup_72259e94461ba2641097215af6337685)\n", + " marker_d7d602f562e472d5349605ff1ee844d1.bindPopup(popup_6b3d132eee5c68c692a19c874c9f65ce)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_5b62bf191d56d8c0081e8c928289d883 = L.polygon(\n", - " [[54.11023837536484, 12.154839369315447], [54.110209708005115, 12.154798337255647], [54.11015994764429, 12.154789267257605], [54.110118243172174, 12.154817472460012], [54.11010902455779, 12.154866430684113], [54.11013769199508, 12.154907462809364], [54.11018745243324, 12.15491653272701], [54.11022915682778, 12.154888327459151], [54.11023837536484, 12.154839369315447]],\n", + " var polygon_e8594867be7a944da9e400988e811ff0 = L.polygon(\n", + " [[54.14203914187776, 12.166914548525014], [54.142010468936235, 12.166873547920295], [54.14196072587961, 12.16686450313013], [54.14191905146116, 12.166892712526804], [54.14190985804486, 12.166941651474586], [54.14193853106399, 12.16698265214472], [54.14198827419792, 12.166991696854456], [54.14202994853877, 12.16696348739236], [54.14203914187776, 12.166914548525014]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b404d2e73941d8f8b1b50b6558d95dd8 = L.marker(\n", - " [54.0810917, 12.135737],\n", + " var marker_e4548e58bc1177bd89a749e56864e37d = L.marker(\n", + " [54.1503175, 12.0652613],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_ff56ca286d16c05d4df0256ad8294542 = L.popup({"maxWidth": "100%"});\n", + " var popup_dc90aa33abb38960f199535af0305d15 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_2a58b4602c9a1ed986adb3744e3bdbc0 = $(`<div id="html_2a58b4602c9a1ed986adb3744e3bdbc0" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.135737, 54.0810917]</div>`)[0];\n", - " popup_ff56ca286d16c05d4df0256ad8294542.setContent(html_2a58b4602c9a1ed986adb3744e3bdbc0);\n", + " var html_88a05d86366f209f40ac454b0e8a3fc7 = $(`<div id="html_88a05d86366f209f40ac454b0e8a3fc7" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0652613, 54.1503175]</div>`)[0];\n", + " popup_dc90aa33abb38960f199535af0305d15.setContent(html_88a05d86366f209f40ac454b0e8a3fc7);\n", " \n", " \n", "\n", - " marker_b404d2e73941d8f8b1b50b6558d95dd8.bindPopup(popup_ff56ca286d16c05d4df0256ad8294542)\n", + " marker_e4548e58bc1177bd89a749e56864e37d.bindPopup(popup_dc90aa33abb38960f199535af0305d15)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_519707f824146a815565c0eb4341a510 = L.polygon(\n", - " [[54.08115640398815, 12.135723497151947], [54.08112774895642, 12.135682433751976], [54.081077976934885, 12.135673334466171], [54.08103624364404, 12.135701529589575], [54.08102699593449, 12.13575050284759], [54.08105565104372, 12.135791566313038], [54.0811054231426, 12.135800665518483], [54.081147156355925, 12.135772470329599], [54.08115640398815, 12.135723497151947]],\n", + " var polygon_5934ef51f8fc9141f17e8e5f9e050dd7 = L.polygon(\n", + " [[54.15038210741556, 12.065247857914217], [54.150353526915225, 12.065206831901198], [54.15030384233646, 12.0651977125079], [54.15026215817709, 12.065225841808058], [54.150252892507154, 12.06527474208541], [54.150281473085, 12.065315768163874], [54.15033115774096, 12.065324887476816], [54.15037284182282, 12.065296758111216], [54.15038210741556, 12.065247857914217]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_489a7b459b3995b66e42a86d343e18d7 = L.marker(\n", - " [54.1488087, 12.0773928],\n", + " var marker_fe6102c7284eb3decf4c6037ad763f8f = L.marker(\n", + " [54.1580773, 12.0768748],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_acab49106e6942fda94e6f2c480d647c = L.popup({"maxWidth": "100%"});\n", + " var popup_495a2fb0b7a780b5dd9186a31785fd4a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_3125699797a1f0e59a55edb5b6c9598b = $(`<div id="html_3125699797a1f0e59a55edb5b6c9598b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0773928, 54.1488087]</div>`)[0];\n", - " popup_acab49106e6942fda94e6f2c480d647c.setContent(html_3125699797a1f0e59a55edb5b6c9598b);\n", + " var html_137ca4a4d97e9ed07a919ba0f7f13ebd = $(`<div id="html_137ca4a4d97e9ed07a919ba0f7f13ebd" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0768748, 54.1580773]</div>`)[0];\n", + " popup_495a2fb0b7a780b5dd9186a31785fd4a.setContent(html_137ca4a4d97e9ed07a919ba0f7f13ebd);\n", " \n", " \n", "\n", - " marker_489a7b459b3995b66e42a86d343e18d7.bindPopup(popup_acab49106e6942fda94e6f2c480d647c)\n", + " marker_fe6102c7284eb3decf4c6037ad763f8f.bindPopup(popup_495a2fb0b7a780b5dd9186a31785fd4a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_dd9cad9a607fab53dd5578c825805bad = L.polygon(\n", - " [[54.148873312104236, 12.077379344978356], [54.14884472049352, 12.077338321553263], [54.14879502856613, 12.077329210809562], [54.14875334512459, 12.077357349754179], [54.14874408781845, 12.077406255021263], [54.14877267950668, 12.077447278511798], [54.14882237151128, 12.077456389175136], [54.148864054875304, 12.077428250165076], [54.148873312104236, 12.077379344978356]],\n", + " var polygon_301ed0ea181fa18ea3b51cbc0a4b15f6 = L.polygon(\n", + " [[54.15814190135025, 12.076861343355409], [54.15811331174219, 12.076820327801427], [54.158063626943864, 12.076811221268752], [54.158021951581716, 12.07683935829755], [54.15801269857247, 12.076888256644226], [54.158041288258055, 12.076929272263646], [54.158090973133575, 12.076938378715951], [54.158132648418196, 12.07691024162172], [54.15814190135025, 12.076861343355409]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_bebd733e4be40b51ddafcfcded74180a = L.marker(\n", - " [54.1181828, 12.1027748],\n", + " var marker_f55a3e92243d0eb8a2a3affe57759d07 = L.marker(\n", + " [54.1439215, 12.0615128],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_903fea33516af438e2440084049ce86f = L.popup({"maxWidth": "100%"});\n", + " var popup_a3bc96a670e368739a328b84c8db94bc = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_2b00d417850991f2ffd2106436c1e862 = $(`<div id="html_2b00d417850991f2ffd2106436c1e862" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1027748, 54.1181828]</div>`)[0];\n", - " popup_903fea33516af438e2440084049ce86f.setContent(html_2b00d417850991f2ffd2106436c1e862);\n", + " var html_8fbaa94c93b7da2d8e5a6484db09c9a4 = $(`<div id="html_8fbaa94c93b7da2d8e5a6484db09c9a4" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0615128, 54.1439215]</div>`)[0];\n", + " popup_a3bc96a670e368739a328b84c8db94bc.setContent(html_8fbaa94c93b7da2d8e5a6484db09c9a4);\n", " \n", " \n", "\n", - " marker_bebd733e4be40b51ddafcfcded74180a.bindPopup(popup_903fea33516af438e2440084049ce86f)\n", + " marker_f55a3e92243d0eb8a2a3affe57759d07.bindPopup(popup_a3bc96a670e368739a328b84c8db94bc)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_6dd8906573a638666570a1b4a5df6b96 = L.polygon(\n", - " [[54.118247453412415, 12.102761324425721], [54.11821883400559, 12.10272028259739], [54.11816910636692, 12.102711176270267], [54.11812740021807, 12.1027393398641], [54.11811814651025, 12.102788275573864], [54.118146765994595, 12.102829317467657], [54.118196493710535, 12.102838423714417], [54.11823819978186, 12.102810260055133], [54.118247453412415, 12.102761324425721]],\n", + " var polygon_746f355d4637c624fc25216ecdfb1d27 = L.polygon(\n", + " [[54.14398611383459, 12.061499363531446], [54.14395753562655, 12.061458330769113], [54.14390784823712, 12.061449205289659], [54.14386615781055, 12.061477332732002], [54.14385688608813, 12.061526236468172], [54.14388546437367, 12.061567269295962], [54.1439351518403, 12.061576394695061], [54.14397684218936, 12.061548267187273], [54.14398611383459, 12.061499363531446]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_0cacce80919715898f517acf27ca54b9 = L.marker(\n", - " [54.0765518, 12.1409248],\n", + " var marker_932253ac364d9fbfc0ef1e7f18de1812 = L.marker(\n", + " [54.0830902, 12.1082423],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_a319e3b48c6f0b9270661d0adb32a2dc = L.popup({"maxWidth": "100%"});\n", + " var popup_60430b25d58a9999147d82b666accb1f = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_8e50151d095d34cae849faf5addf85e4 = $(`<div id="html_8e50151d095d34cae849faf5addf85e4" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1409248, 54.0765518]</div>`)[0];\n", - " popup_a319e3b48c6f0b9270661d0adb32a2dc.setContent(html_8e50151d095d34cae849faf5addf85e4);\n", + " var html_b9a27cadd00f365860d13e392793ecbc = $(`<div id="html_b9a27cadd00f365860d13e392793ecbc" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1082423, 54.0830902]</div>`)[0];\n", + " popup_60430b25d58a9999147d82b666accb1f.setContent(html_b9a27cadd00f365860d13e392793ecbc);\n", " \n", " \n", "\n", - " marker_0cacce80919715898f517acf27ca54b9.bindPopup(popup_a319e3b48c6f0b9270661d0adb32a2dc)\n", + " marker_932253ac364d9fbfc0ef1e7f18de1812.bindPopup(popup_60430b25d58a9999147d82b666accb1f)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_a8b36e70a9d744322f6df270f7082d54 = L.polygon(\n", - " [[54.076616510462266, 12.140911292555955], [54.07658785003998, 12.140870226885703], [54.076538071993156, 12.14086112935179], [54.07649633557182, 12.140889329223018], [54.07648708946036, 12.14093830744358], [54.07651574996015, 12.14097937317931], [54.076565528084316, 12.140988470632868], [54.076607264428155, 12.140960270696159], [54.076616510462266, 12.140911292555955]],\n", + " var polygon_eaab12591717ac56f9c1fcef072ecea4 = L.polygon(\n", + " [[54.08315489495584, 12.108228826760996], [54.08312626485855, 12.108187756274088], [54.08307650845622, 12.108178636708214], [54.083034772319834, 12.108206810238183], [54.08302550496684, 12.108255773238547], [54.083054135141616, 12.108296843790937], [54.08310389162127, 12.108305963276477], [54.08314562768017, 12.108277789681019], [54.08315489495584, 12.108228826760996]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_bcac7524c786f8536b2b5d2a91981413 = L.marker(\n", - " [54.1439913, 12.060505],\n", + " var marker_8a47aa9aa3fd48854047afed28692d82 = L.marker(\n", + " [54.0853817, 12.1373697],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_c52baa4cd95cd0ecea226be9e43c306a = L.popup({"maxWidth": "100%"});\n", + " var popup_e3d7a030539a9712eade82242121404a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_5cc092553d501c41301eb9a72ef672dc = $(`<div id="html_5cc092553d501c41301eb9a72ef672dc" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.060505, 54.1439913]</div>`)[0];\n", - " popup_c52baa4cd95cd0ecea226be9e43c306a.setContent(html_5cc092553d501c41301eb9a72ef672dc);\n", + " var html_903e4f1a2c80179b0faabf948f94c232 = $(`<div id="html_903e4f1a2c80179b0faabf948f94c232" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1373697, 54.0853817]</div>`)[0];\n", + " popup_e3d7a030539a9712eade82242121404a.setContent(html_903e4f1a2c80179b0faabf948f94c232);\n", " \n", " \n", "\n", - " marker_bcac7524c786f8536b2b5d2a91981413.bindPopup(popup_c52baa4cd95cd0ecea226be9e43c306a)\n", + " marker_8a47aa9aa3fd48854047afed28692d82.bindPopup(popup_e3d7a030539a9712eade82242121404a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_08cac81f9e5a19b9c9f1f11a59542f89 = L.polygon(\n", - " [[54.14405591350899, 12.060491564619133], [54.1440273362145, 12.060450531593665], [54.14397764939421, 12.060441405368062], [54.14393595885899, 12.060469532018326], [54.14392668641374, 12.060518435380473], [54.14395526378573, 12.060559468471398], [54.14400495068322, 12.060568594616653], [54.144046641140946, 12.060540467900942], [54.14405591350899, 12.060491564619133]],\n", + " var polygon_d05d184722bdd4f521268704ed6a1db6 = L.polygon(\n", + " [[54.0854463994751, 12.137356194345646], [54.085417743688254, 12.13731513518699], [54.08536797399761, 12.137306039301892], [54.085326244758285, 12.137334234993304], [54.08531700044753, 12.137383205653896], [54.085345656311894, 12.137424264878028], [54.08539542607988, 12.137433360682762], [54.08543715524169, 12.137405164925873], [54.0854463994751, 12.137356194345646]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_ad886395de9288862fcb795cd4bea38c = L.marker(\n", - " [54.1382531, 12.0465207],\n", + " var marker_3b3548e81354c242efd749dd72bbc78e = L.marker(\n", + " [54.0858125, 12.1060657],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_b6dc18b8e3d1f461baeafc7a43aa9b39 = L.popup({"maxWidth": "100%"});\n", + " var popup_b35563a7a24c670aa94fcd6f4dd22576 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_4c6c245f236e5baa1f3a2a46f27cb200 = $(`<div id="html_4c6c245f236e5baa1f3a2a46f27cb200" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0465207, 54.1382531]</div>`)[0];\n", - " popup_b6dc18b8e3d1f461baeafc7a43aa9b39.setContent(html_4c6c245f236e5baa1f3a2a46f27cb200);\n", + " var html_cde347dfa9d9aca4667dc599fe37528d = $(`<div id="html_cde347dfa9d9aca4667dc599fe37528d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1060657, 54.0858125]</div>`)[0];\n", + " popup_b35563a7a24c670aa94fcd6f4dd22576.setContent(html_cde347dfa9d9aca4667dc599fe37528d);\n", " \n", " \n", "\n", - " marker_ad886395de9288862fcb795cd4bea38c.bindPopup(popup_b6dc18b8e3d1f461baeafc7a43aa9b39)\n", + " marker_3b3548e81354c242efd749dd72bbc78e.bindPopup(popup_b35563a7a24c670aa94fcd6f4dd22576)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_0b465b3ef69edb910c3009297e545d20 = L.polygon(\n", - " [[54.138317716680845, 12.046507281294227], [54.13828915094618, 12.046466238803454], [54.1382394670561, 12.04645709888916], [54.138197769105005, 12.04648521564598], [54.13818848324192, 12.046534118705386], [54.138217049054056, 12.046575161261622], [54.13826673302132, 12.046584301095589], [54.13830843089493, 12.046556184273305], [54.138317716680845, 12.046507281294227]],\n", + " var polygon_fbb5818078a6460b0a5ecd0fa2b6bcab = L.polygon(\n", + " [[54.08587719130471, 12.106052228497123], [54.08584856360423, 12.106011159670754], [54.08579881033344, 12.106002039775703], [54.08575707622896, 12.10603021117961], [54.08574780861796, 12.106079171502431], [54.085776436395925, 12.106120240394283], [54.08582618974401, 12.106129360208996], [54.08586792377102, 12.106101188739611], [54.08587719130471, 12.106052228497123]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_0a336d7fa2da2d171fbaf2c54fabb5cf = L.marker(\n", - " [54.0853707, 12.1335382],\n", + " var marker_176bd37c7fcc89a8f722aa65a6f57d04 = L.marker(\n", + " [54.0829389, 12.1415131],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_3770ea661e9e02a04679f9a2bce5ec5b = L.popup({"maxWidth": "100%"});\n", + " var popup_575add0812cced2f02c37e86f8a71311 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_ef8b411f6b4d2e94e16052cbe2e3eb7e = $(`<div id="html_ef8b411f6b4d2e94e16052cbe2e3eb7e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1335382, 54.0853707]</div>`)[0];\n", - " popup_3770ea661e9e02a04679f9a2bce5ec5b.setContent(html_ef8b411f6b4d2e94e16052cbe2e3eb7e);\n", + " var html_969bc4bf954658fdc782f9d040467989 = $(`<div id="html_969bc4bf954658fdc782f9d040467989" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1415131, 54.0829389]</div>`)[0];\n", + " popup_575add0812cced2f02c37e86f8a71311.setContent(html_969bc4bf954658fdc782f9d040467989);\n", " \n", " \n", "\n", - " marker_0a336d7fa2da2d171fbaf2c54fabb5cf.bindPopup(popup_3770ea661e9e02a04679f9a2bce5ec5b)\n", + " marker_176bd37c7fcc89a8f722aa65a6f57d04.bindPopup(popup_575add0812cced2f02c37e86f8a71311)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_c96d7e4d214d4acf5785c0df7dafee24 = L.polygon(\n", - " [[54.08543539854694, 12.133524698540546], [54.08540674618789, 12.133483638143439], [54.08535697846081, 12.133474539288045], [54.085315248570566, 12.133502732017272], [54.08530600137571, 12.133551701458998], [54.08533465381227, 12.133592761921571], [54.085384421616695, 12.133601860696606], [54.085426151429424, 12.133573667901906], [54.08543539854694, 12.133524698540546]],\n", + " var polygon_52161c54f90ae379a920843cf01d653e = L.polygon(\n", + " [[54.083003603291026, 12.14149959039316], [54.08297494339312, 12.141458530446439], [54.08292516976433, 12.141449436550225], [54.082883439066634, 12.141477635842412], [54.08287419663161, 12.141526609606384], [54.08290285660703, 12.141567669618572], [54.08295263031317, 12.141576763434422], [54.08299436093334, 12.141548564076762], [54.083003603291026, 12.14149959039316]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_9afdec907ad3cc2c87f3f4af36698a8d = L.marker(\n", - " [54.1090573, 12.1065285],\n", + " var marker_c09f3bb1937b548701121d94c82c47be = L.marker(\n", + " [54.0874537, 12.1258445],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_cc2fc6c733fdd52972cd371d8be4f07a = L.popup({"maxWidth": "100%"});\n", + " var popup_f4201aa81b06875e2b8778a0cc28318e = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_172e4a9c2608d1454b6d9b22e4513e4e = $(`<div id="html_172e4a9c2608d1454b6d9b22e4513e4e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1065285, 54.1090573]</div>`)[0];\n", - " popup_cc2fc6c733fdd52972cd371d8be4f07a.setContent(html_172e4a9c2608d1454b6d9b22e4513e4e);\n", + " var html_a55a41f02e354a5846b31d18af4d3224 = $(`<div id="html_a55a41f02e354a5846b31d18af4d3224" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1258445, 54.0874537]</div>`)[0];\n", + " popup_f4201aa81b06875e2b8778a0cc28318e.setContent(html_a55a41f02e354a5846b31d18af4d3224);\n", " \n", " \n", "\n", - " marker_9afdec907ad3cc2c87f3f4af36698a8d.bindPopup(popup_cc2fc6c733fdd52972cd371d8be4f07a)\n", + " marker_c09f3bb1937b548701121d94c82c47be.bindPopup(popup_f4201aa81b06875e2b8778a0cc28318e)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_e0991440648630dfe9e7b97e0544a9f8 = L.polygon(\n", - " [[54.10912196478841, 12.106515022478922], [54.10909334051295, 12.106473973945203], [54.10904360419374, 12.10646486598102], [54.109001890637394, 12.106493033965087], [54.10899263513428, 12.106541977520651], [54.10902125948726, 12.106583026119834], [54.10907099588375, 12.106592134003659], [54.109112709362584, 12.10656396595413], [54.10912196478841, 12.106515022478922]],\n", + " var polygon_ebe765486a69e5b825f7345dea1a9a88 = L.polygon(\n", + " [[54.08751839427278, 12.12583100646414], [54.087489749143195, 12.125789945404371], [54.08743998691438, 12.125780841632968], [54.08739825757043, 12.125809028072567], [54.087389005649854, 12.125857993535416], [54.08741765085694, 12.125899054660657], [54.08746741316307, 12.125908158351706], [54.087509142429525, 12.125879971846636], [54.08751839427278, 12.12583100646414]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_11a1b11511ed8173c85cd03594bace2b = L.marker(\n", - " [54.1488087, 12.0773928],\n", + " var marker_3168057db608797f164bb2e2962bc7e2 = L.marker(\n", + " [54.0641482, 12.1056204],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_59296ca373df478a9616d3c3d4438d62 = L.popup({"maxWidth": "100%"});\n", + " var popup_6a9f2b0790ae2582af93afecc0a4647a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_c2cebdf035a31946f2ad6252483bf16d = $(`<div id="html_c2cebdf035a31946f2ad6252483bf16d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0773928, 54.1488087]</div>`)[0];\n", - " popup_59296ca373df478a9616d3c3d4438d62.setContent(html_c2cebdf035a31946f2ad6252483bf16d);\n", + " var html_c1be8a99a39735409080e0f39aef244b = $(`<div id="html_c1be8a99a39735409080e0f39aef244b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1056204, 54.0641482]</div>`)[0];\n", + " popup_6a9f2b0790ae2582af93afecc0a4647a.setContent(html_c1be8a99a39735409080e0f39aef244b);\n", " \n", " \n", "\n", - " marker_11a1b11511ed8173c85cd03594bace2b.bindPopup(popup_59296ca373df478a9616d3c3d4438d62)\n", + " marker_3168057db608797f164bb2e2962bc7e2.bindPopup(popup_6a9f2b0790ae2582af93afecc0a4647a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_814353f308d68fec968e2f770c6e15bb = L.polygon(\n", - " [[54.148873312104236, 12.077379344978356], [54.14884472049352, 12.077338321553263], [54.14879502856613, 12.077329210809562], [54.14875334512459, 12.077357349754179], [54.14874408781845, 12.077406255021263], [54.14877267950668, 12.077447278511798], [54.14882237151128, 12.077456389175136], [54.148864054875304, 12.077428250165076], [54.148873312104236, 12.077379344978356]],\n", + " var polygon_51e353f7e80e15936c2ff38973d5f49d = L.polygon(\n", + " [[54.06421291600482, 12.105606934122886], [54.064184285128626, 12.105565846385526], [54.06413451607345, 12.105556715361777], [54.06409276282216, 12.105584889938319], [54.06408348391785, 12.105633865876635], [54.064112114871506, 12.1056749536795], [54.06416188400401, 12.105684084622926], [54.06420363717784, 12.105655909980886], [54.06421291600482, 12.105606934122886]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_db68c6825902dafa2eecad27c34ff035 = L.marker(\n", - " [54.1762247, 12.0775338],\n", + " var marker_2242a6f660f7e8a4e61affbad21b1463 = L.marker(\n", + " [54.1159153, 12.1617354],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_2a9791fa69195422851ad16950739308 = L.popup({"maxWidth": "100%"});\n", + " var popup_cc75f17126635f1cad772fc60836aa73 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_c9667092c77ee07dbc91b29ffff44802 = $(`<div id="html_c9667092c77ee07dbc91b29ffff44802" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0775338, 54.1762247]</div>`)[0];\n", - " popup_2a9791fa69195422851ad16950739308.setContent(html_c9667092c77ee07dbc91b29ffff44802);\n", + " var html_8a5c2950906acf3fb0ef962c257c6b12 = $(`<div id="html_8a5c2950906acf3fb0ef962c257c6b12" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1617354, 54.1159153]</div>`)[0];\n", + " popup_cc75f17126635f1cad772fc60836aa73.setContent(html_8a5c2950906acf3fb0ef962c257c6b12);\n", " \n", " \n", "\n", - " marker_db68c6825902dafa2eecad27c34ff035.bindPopup(popup_2a9791fa69195422851ad16950739308)\n", + " marker_2242a6f660f7e8a4e61affbad21b1463.bindPopup(popup_cc75f17126635f1cad772fc60836aa73)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_a9670643c385e7e05883114bc7679e00 = L.polygon(\n", - " [[54.17628928069774, 12.07752033834512], [54.17626069351477, 12.07747933874297], [54.17621102181889, 12.07747024175272], [54.17616936256132, 12.077498376324721], [54.176160119224974, 12.077547261654523], [54.1761887064855, 12.077588261322095], [54.17623837825855, 12.077597358231962], [54.17628003743857, 12.07756922359454], [54.17628928069774, 12.07752033834512]],\n", + " var polygon_a01775ef27b9fab1ef0a7778b2ce92cc = L.polygon(\n", + " [[54.11597997047673, 12.161721860415147], [54.115951297897055, 12.16168083554213], [54.11590153823743, 12.161671773734625], [54.11585983997693, 12.161699983333428], [54.115850629445866, 12.161748939584422], [54.11587930210312, 12.161789964522884], [54.11592906184008, 12.161799026249978], [54.11597076002302, 12.161770816585738], [54.11597997047673, 12.161721860415147]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_8b072b4bed4f7b4d34797894084a40cb = L.marker(\n", - " [54.0774081, 12.1418502],\n", + " var marker_dabec2a7077d89c8930fca0057ad4ca0 = L.marker(\n", + " [54.0906324, 12.154096],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_9f2c967f4816894422e157c5e756fb7a = L.popup({"maxWidth": "100%"});\n", + " var popup_74791dd8b41fcac63811082080cee466 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_448eb53cfe84f8159cb69ee048f31cad = $(`<div id="html_448eb53cfe84f8159cb69ee048f31cad" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1418502, 54.0774081]</div>`)[0];\n", - " popup_9f2c967f4816894422e157c5e756fb7a.setContent(html_448eb53cfe84f8159cb69ee048f31cad);\n", + " var html_ff83a1241c920ed288cd2dc609ce68e1 = $(`<div id="html_ff83a1241c920ed288cd2dc609ce68e1" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.154096, 54.0906324]</div>`)[0];\n", + " popup_74791dd8b41fcac63811082080cee466.setContent(html_ff83a1241c920ed288cd2dc609ce68e1);\n", " \n", " \n", "\n", - " marker_8b072b4bed4f7b4d34797894084a40cb.bindPopup(popup_9f2c967f4816894422e157c5e756fb7a)\n", + " marker_dabec2a7077d89c8930fca0057ad4ca0.bindPopup(popup_74791dd8b41fcac63811082080cee466)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_9ac28b12f69848e5b7944f0474f00923 = L.polygon(\n", - " [[54.07747280970888, 12.141836691339908], [54.077444148599184, 12.141795626708435], [54.077394370708944, 12.141786530317141], [54.07735263519647, 12.141814730765502], [54.077343390213755, 12.141863708659633], [54.07737205140097, 12.141904773356583], [54.07742182936856, 12.141913869667514], [54.077463564803516, 12.14188566915368], [54.07747280970888, 12.141836691339908]],\n", + " var polygon_952940001bb07ae275fdde280aeb1ca5 = L.polygon(\n", + " [[54.090697097570455, 12.154082474795112], [54.09066842767306, 12.154041425552043], [54.09061865325335, 12.154032345226549], [54.09057693143665, 12.154060553006989], [54.090567702352146, 12.154109525204436], [54.0905963723271, 12.154150574512972], [54.09064614682416, 12.154159654758084], [54.090687868563315, 12.154131446912182], [54.090697097570455, 12.154082474795112]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_ea72818d7a6f2bb2e0ac7b56893d6028 = L.marker(\n", - " [54.0896398, 12.1408466],\n", + " var marker_98241f218adb5fcc14cd4a003646835c = L.marker(\n", + " [54.1284385, 12.1624836],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_a0adcf720950947f6f9ee2a35e15c1f5 = L.popup({"maxWidth": "100%"});\n", + " var popup_79c93ac26841ce2cc673aea001ea1e05 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_8b6a8fc7bd7de98191c48c5677b729fd = $(`<div id="html_8b6a8fc7bd7de98191c48c5677b729fd" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1408466, 54.0896398]</div>`)[0];\n", - " popup_a0adcf720950947f6f9ee2a35e15c1f5.setContent(html_8b6a8fc7bd7de98191c48c5677b729fd);\n", + " var html_e835021ddc2fc028a3bdfd91303c4412 = $(`<div id="html_e835021ddc2fc028a3bdfd91303c4412" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1624836, 54.1284385]</div>`)[0];\n", + " popup_79c93ac26841ce2cc673aea001ea1e05.setContent(html_e835021ddc2fc028a3bdfd91303c4412);\n", " \n", " \n", "\n", - " marker_ea72818d7a6f2bb2e0ac7b56893d6028.bindPopup(popup_a0adcf720950947f6f9ee2a35e15c1f5)\n", + " marker_98241f218adb5fcc14cd4a003646835c.bindPopup(popup_79c93ac26841ce2cc673aea001ea1e05)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_a6dda6c76fe69a336f19e4440d80e158 = L.polygon(\n", - " [[54.089704495451194, 12.140833089528769], [54.08967583725293, 12.140792035175632], [54.08962606892061, 12.140782944102705], [54.08958434401362, 12.140811141794039], [54.08957510447142, 12.140860110470776], [54.08960376274721, 12.140901164889382], [54.08965353115687, 12.140910255881945], [54.08969525598633, 12.14088205812514], [54.089704495451194, 12.140833089528769]],\n", + " var polygon_e0d932054c1a9ccfc3c513782734905a = L.polygon(\n", + " [[54.12850315630499, 12.162470056614435], [54.128474485116755, 12.16242904284195], [54.1284247343351, 12.162419987858849], [54.12838304723848, 12.162448196008285], [54.12837384361762, 12.162497143385153], [54.12840251488344, 12.16253815722306], [54.128452265742425, 12.162547212125748], [54.12849395276144, 12.162519003910885], [54.12850315630499, 12.162470056614435]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_67cc761d880a12d3cc0567c5fa38385f = L.marker(\n", - " [54.1772417, 12.0781288],\n", + " var marker_04ff5c32834938895569f2151705fbfb = L.marker(\n", + " [54.0699102, 12.1170362],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_d55eb30357ada7b13b8bdcc9ef2a4766 = L.popup({"maxWidth": "100%"});\n", + " var popup_1d1f7eaad9b523a0bf433dfde9b5f115 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_688d39572e70c623e8a86fba3be614e2 = $(`<div id="html_688d39572e70c623e8a86fba3be614e2" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0781288, 54.1772417]</div>`)[0];\n", - " popup_d55eb30357ada7b13b8bdcc9ef2a4766.setContent(html_688d39572e70c623e8a86fba3be614e2);\n", + " var html_8da9346ab6c33e66ece95f3217cfeda5 = $(`<div id="html_8da9346ab6c33e66ece95f3217cfeda5" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1170362, 54.0699102]</div>`)[0];\n", + " popup_1d1f7eaad9b523a0bf433dfde9b5f115.setContent(html_8da9346ab6c33e66ece95f3217cfeda5);\n", " \n", " \n", "\n", - " marker_67cc761d880a12d3cc0567c5fa38385f.bindPopup(popup_d55eb30357ada7b13b8bdcc9ef2a4766)\n", + " marker_04ff5c32834938895569f2151705fbfb.bindPopup(popup_1d1f7eaad9b523a0bf433dfde9b5f115)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_f619b30cbf65f03dadf97152ef614983 = L.polygon(\n", - " [[54.17730627967629, 12.078115337452621], [54.17727769212947, 12.07807433892387], [54.17722802088124, 12.078065242901053], [54.17718636262058, 12.078093377767809], [54.17717712024644, 12.078142262547033], [54.177205707870804, 12.078183261141211], [54.177255379196204, 12.078192357083642], [54.177297037379326, 12.07816422215146], [54.17730627967629, 12.078115337452621]],\n", + " var polygon_8d2e78f8b0109bea7ffe366f50f8d6d5 = L.polygon(\n", + " [[54.06997491220503, 12.117022720267434], [54.06994627206638, 12.116981641182102], [54.06989650140043, 12.11697252185848], [54.069854755133605, 12.117000704329469], [54.06984548771762, 12.117049679732098], [54.069874127933744, 12.117090758882922], [54.06992389867704, 12.11709987812621], [54.06996564486639, 12.117071695589729], [54.06997491220503, 12.117022720267434]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_7bed532db20046fdac9bf41c8c1e16e7 = L.marker(\n", - " [54.0927836, 12.147352],\n", + " var marker_98454021aafded4483c2f835f512cba2 = L.marker(\n", + " [54.0831032, 12.128079],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_d2bdd296bffbcc9c904f306b263965ea = L.popup({"maxWidth": "100%"});\n", + " var popup_c280730b7bb4f637e4ad06c231a5df00 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_59c95d7eb232a5234847e61321b532b2 = $(`<div id="html_59c95d7eb232a5234847e61321b532b2" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.147352, 54.0927836]</div>`)[0];\n", - " popup_d2bdd296bffbcc9c904f306b263965ea.setContent(html_59c95d7eb232a5234847e61321b532b2);\n", + " var html_ef5693a26b7141993bd8fe94b387bbb3 = $(`<div id="html_ef5693a26b7141993bd8fe94b387bbb3" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.128079, 54.0831032]</div>`)[0];\n", + " popup_c280730b7bb4f637e4ad06c231a5df00.setContent(html_ef5693a26b7141993bd8fe94b387bbb3);\n", " \n", " \n", "\n", - " marker_7bed532db20046fdac9bf41c8c1e16e7.bindPopup(popup_d2bdd296bffbcc9c904f306b263965ea)\n", + " marker_98454021aafded4483c2f835f512cba2.bindPopup(popup_c280730b7bb4f637e4ad06c231a5df00)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_30ae3d082eab19b31df3b3491ea8d85f = L.polygon(\n", - " [[54.092848293447915, 12.14733848166254], [54.09281962994291, 12.147297432120904], [54.09276986058594, 12.1472883476489], [54.09272813953665, 12.147316549863845], [54.09271890647471, 12.147365518337008], [54.092747570057256, 12.147406567944108], [54.09279733949157, 12.147415652335736], [54.09283906046332, 12.147387450055328], [54.092848293447915, 12.14733848166254]],\n", + " var polygon_057d32a861461adbb8eb40647af58dc9 = L.polygon(\n", + " [[54.08316789980432, 12.128065505052634], [54.08313925195796, 12.128024440939598], [54.08308948536352, 12.128015336730325], [54.083047752562415, 12.128043525603948], [54.08303850011831, 12.128092494946909], [54.08306714804218, 12.12813355912542], [54.08311691471395, 12.12814266325434], [54.08315864743756, 12.12811447431524], [54.08316789980432, 12.128065505052634]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_848e57fbae205155691cd0c7cbe5350a = L.marker(\n", - " [54.0876415, 12.1382604],\n", + " var marker_8822bf2e9ee1b459c3f19ec93a5c4ef9 = L.marker(\n", + " [54.0875735, 12.1025062],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_cee19bf2e8c46fb1589270135ebf0cda = L.popup({"maxWidth": "100%"});\n", + " var popup_25ae5308b5b96f374fc36d96d15c68da = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_32f0c4113807013c0423855649245a2d = $(`<div id="html_32f0c4113807013c0423855649245a2d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1382604, 54.0876415]</div>`)[0];\n", - " popup_cee19bf2e8c46fb1589270135ebf0cda.setContent(html_32f0c4113807013c0423855649245a2d);\n", + " var html_2d7a93a80d8c7eb1af3fe54f53357715 = $(`<div id="html_2d7a93a80d8c7eb1af3fe54f53357715" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1025062, 54.0875735]</div>`)[0];\n", + " popup_25ae5308b5b96f374fc36d96d15c68da.setContent(html_2d7a93a80d8c7eb1af3fe54f53357715);\n", " \n", " \n", "\n", - " marker_848e57fbae205155691cd0c7cbe5350a.bindPopup(popup_cee19bf2e8c46fb1589270135ebf0cda)\n", + " marker_8822bf2e9ee1b459c3f19ec93a5c4ef9.bindPopup(popup_25ae5308b5b96f374fc36d96d15c68da)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_c026a99e1ea61ce74eb54198844769c0 = L.polygon(\n", - " [[54.08770619710519, 12.138246892833775], [54.087677540893104, 12.138205835919237], [54.087627772414585, 12.138196741849317], [54.087586045314694, 12.138224937863662], [54.08757680281744, 12.138273907165772], [54.087605459107046, 12.13831496414579], [54.08765522766291, 12.138324058135344], [54.08769695468528, 12.138295862055525], [54.08770619710519, 12.138246892833775]],\n", + " var polygon_c08c42a1e662ad0575ef7f96882d2cc9 = L.polygon(\n", + " [[54.087638188416115, 12.102492731974827], [54.08760956419121, 12.10245166353246], [54.08755981405217, 12.102442541759272], [54.08751808090105, 12.102470710123095], [54.08750881150657, 12.102519668024723], [54.08753743580896, 12.102560736532576], [54.087587186025296, 12.102569858225424], [54.08762891909893, 12.102541689796123], [54.087638188416115, 12.102492731974827]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_c5d6e4a3f0a61ddeb99c35b7ed63921f = L.marker(\n", - " [54.0793489, 12.1129104],\n", + " var marker_f11515ee950bb8b4911dbfa161bf591d = L.marker(\n", + " [54.1772648, 12.0807018],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_700b9f64b8a2cd4ae1f4d01ad7c92790 = L.popup({"maxWidth": "100%"});\n", + " var popup_c8c37743ffde0405b7ea45ee67e032dc = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_d2a1f002c0faa21dfba7f7e9500d3818 = $(`<div id="html_d2a1f002c0faa21dfba7f7e9500d3818" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1129104, 54.0793489]</div>`)[0];\n", - " popup_700b9f64b8a2cd4ae1f4d01ad7c92790.setContent(html_d2a1f002c0faa21dfba7f7e9500d3818);\n", + " var html_249a74345b62128a9983571eaa8e8983 = $(`<div id="html_249a74345b62128a9983571eaa8e8983" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0807018, 54.1772648]</div>`)[0];\n", + " popup_c8c37743ffde0405b7ea45ee67e032dc.setContent(html_249a74345b62128a9983571eaa8e8983);\n", " \n", " \n", "\n", - " marker_c5d6e4a3f0a61ddeb99c35b7ed63921f.bindPopup(popup_700b9f64b8a2cd4ae1f4d01ad7c92790)\n", + " marker_f11515ee950bb8b4911dbfa161bf591d.bindPopup(popup_c8c37743ffde0405b7ea45ee67e032dc)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_f84833082a6dbd74b166ec30429c44c8 = L.polygon(\n", - " [[54.07941360038453, 12.112896922540832], [54.079384965493276, 12.112855850309657], [54.079335203925154, 12.112846732493399], [54.07929346527722, 12.112874910241967], [54.07928419953815, 12.112923877458712], [54.07931283450688, 12.112964949755368], [54.07936259615232, 12.112974067491288], [54.07940433472277, 12.112945889677233], [54.07941360038453, 12.112896922540832]],\n", + " var polygon_0b342a70667219cbf8a2c309da1c051f = L.polygon(\n", + " [[54.1773293802775, 12.080688334626693], [54.177300790430046, 12.080647336944683], [54.17725111787668, 12.080638242927986], [54.17720946007092, 12.080666379785088], [54.17720021964522, 12.080715265372959], [54.17722880957024, 12.080756263120383], [54.17727848220078, 12.080765357056691], [54.17732013992899, 12.080737220134175], [54.1773293802775, 12.080688334626693]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_ff055ebded982680124ac952e7f162cb = L.marker(\n", - " [54.0815679, 12.1356494],\n", + " var marker_351b0e7bba4a1b4606b120fcce700e66 = L.marker(\n", + " [54.1032973, 12.1651454],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_e3514b2f43b525215e405c769da9ee83 = L.popup({"maxWidth": "100%"});\n", + " var popup_f4d914a2d11c47d53850310eb3e26795 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_855a798d0464d0acf2a720f0c0d00453 = $(`<div id="html_855a798d0464d0acf2a720f0c0d00453" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1356494, 54.0815679]</div>`)[0];\n", - " popup_e3514b2f43b525215e405c769da9ee83.setContent(html_855a798d0464d0acf2a720f0c0d00453);\n", + " var html_03fe56227dcaacfeb2109404e8bb8aa2 = $(`<div id="html_03fe56227dcaacfeb2109404e8bb8aa2" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1651454, 54.1032973]</div>`)[0];\n", + " popup_f4d914a2d11c47d53850310eb3e26795.setContent(html_03fe56227dcaacfeb2109404e8bb8aa2);\n", " \n", " \n", "\n", - " marker_ff055ebded982680124ac952e7f162cb.bindPopup(popup_e3514b2f43b525215e405c769da9ee83)\n", + " marker_351b0e7bba4a1b4606b120fcce700e66.bindPopup(popup_f4d914a2d11c47d53850310eb3e26795)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_e4d1b346904754a024e119bc8c415151 = L.polygon(\n", - " [[54.08163260342119, 12.13563589713458], [54.08160394854628, 12.135594834119171], [54.081554176921806, 12.135585735002833], [54.0815124440357, 12.135613929981336], [54.08150319650145, 12.135662902864961], [54.08153185145388, 12.135703965945853], [54.0815816231557, 12.135713064981832], [54.08162335596429, 12.135684869937851], [54.08163260342119, 12.13563589713458]],\n", + " var polygon_17b2ecbd63df0fbf77caced1715b74a7 = L.polygon(\n", + " [[54.1033619857771, 12.16513185968803], [54.10333330806703, 12.16509082496835], [54.10328353731959, 12.165081759508158], [54.10324182850894, 12.165109973787933], [54.10323261414552, 12.165158940311521], [54.10326129193315, 12.165199975096646], [54.10331106275794, 12.165209040476439], [54.103352771491025, 12.165180826131214], [54.1033619857771, 12.16513185968803]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_882720ec36cc34dad926de33f483734d = L.marker(\n", - " [54.1139394, 12.1408774],\n", + " var marker_3702aabd461b006d52e27c18c8a6e396 = L.marker(\n", + " [54.1391757, 12.1699194],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_75c8818062e93772a575109709cfc933 = L.popup({"maxWidth": "100%"});\n", + " var popup_b3c4ec237195f59dfb5b0695aa5af3a7 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_9b1102c2299c3782413b83a7e020a5d4 = $(`<div id="html_9b1102c2299c3782413b83a7e020a5d4" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1408774, 54.1139394]</div>`)[0];\n", - " popup_75c8818062e93772a575109709cfc933.setContent(html_9b1102c2299c3782413b83a7e020a5d4);\n", + " var html_1d34ebc5d85fcdabeda84b24bbbd4437 = $(`<div id="html_1d34ebc5d85fcdabeda84b24bbbd4437" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1699194, 54.1391757]</div>`)[0];\n", + " popup_b3c4ec237195f59dfb5b0695aa5af3a7.setContent(html_1d34ebc5d85fcdabeda84b24bbbd4437);\n", " \n", " \n", "\n", - " marker_882720ec36cc34dad926de33f483734d.bindPopup(popup_75c8818062e93772a575109709cfc933)\n", + " marker_3702aabd461b006d52e27c18c8a6e396.bindPopup(popup_b3c4ec237195f59dfb5b0695aa5af3a7)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_4cc0b32e38a7b25e1b9478d6c861d184 = L.polygon(\n", - " [[54.114004067615284, 12.140863883717605], [54.11397541339261, 12.140822850438465], [54.11392566301292, 12.14081377149877], [54.113883959519214, 12.140841965275117], [54.11387473230735, 12.14089091628197], [54.11390338660756, 12.140931949626566], [54.11395313706457, 12.140941028485868], [54.11399484048072, 12.140912834644075], [54.114004067615284, 12.140863883717605]],\n", + " var polygon_45078b3fdeb856ac9a8922e8677d7392 = L.polygon(\n", + " [[54.13924034582317, 12.169905845915832], [54.13921166973971, 12.169864843843357], [54.139161923070475, 12.169855799973648], [54.13912024668495, 12.169884012139804], [54.13911105409944, 12.169932954083766], [54.1391397302605, 12.169973956221666], [54.13918947700706, 12.169983000010939], [54.13923115331497, 12.169954787779362], [54.13924034582317, 12.169905845915832]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b66149c6284f55f2140cec113b453b69 = L.marker(\n", - " [54.1674571, 12.1672537],\n", + " var marker_fbffc09a6739beb5f0e29e233c7cc3dd = L.marker(\n", + " [54.1049093, 12.1613594],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_7ba909b46e6f785992f3273ab46fc60e = L.popup({"maxWidth": "100%"});\n", + " var popup_82588b26c1aeaaa02da034eb0923bc7a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_463279354d558b5eb1332af4f470ecdf = $(`<div id="html_463279354d558b5eb1332af4f470ecdf" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1672537, 54.1674571]</div>`)[0];\n", - " popup_7ba909b46e6f785992f3273ab46fc60e.setContent(html_463279354d558b5eb1332af4f470ecdf);\n", + " var html_8fad6e589bc8e754dab91418b54d3020 = $(`<div id="html_8fad6e589bc8e754dab91418b54d3020" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1613594, 54.1049093]</div>`)[0];\n", + " popup_82588b26c1aeaaa02da034eb0923bc7a.setContent(html_8fad6e589bc8e754dab91418b54d3020);\n", " \n", " \n", "\n", - " marker_b66149c6284f55f2140cec113b453b69.bindPopup(popup_7ba909b46e6f785992f3273ab46fc60e)\n", + " marker_fbffc09a6739beb5f0e29e233c7cc3dd.bindPopup(popup_82588b26c1aeaaa02da034eb0923bc7a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_50ba603c1a007fd2ff3b02348c64552d = L.polygon(\n", - " [[54.16752171272909, 12.167240142102022], [54.16749304369655, 12.16719916371233], [54.167443319333955, 12.16719013188643], [54.16740166744387, 12.167218337402335], [54.16739248719351, 12.167267257897608], [54.16742115630369, 12.167308236352703], [54.16747088074356, 12.16731726809815], [54.167512532556, 12.167289062516845], [54.16752171272909, 12.167240142102022]],\n", + " var polygon_65fb972fa982d98166b2e73d2e433db7 = L.polygon(\n", + " [[54.104973982998175, 12.161345863447472], [54.10494530894435, 12.161304828910827], [54.10489554133923, 12.16129576132422], [54.10485383331624, 12.161323972413769], [54.10484461692444, 12.16137293655209], [54.10487329105582, 12.161413971154184], [54.10492305873828, 12.161423038660388], [54.10496476668371, 12.161394827505394], [54.104973982998175, 12.161345863447472]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_f4b0a8babe9865a51caabe71c389f943 = L.marker(\n", - " [54.1747714, 12.0836143],\n", + " var marker_01f08110510846e2dc250957671641f6 = L.marker(\n", + " [54.0854987, 12.1145106],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_634e6d3b2b8bbd63a098f5bfd0977cea = L.popup({"maxWidth": "100%"});\n", + " var popup_966de699bc77836808c07b51e677ddac = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_5488b82263c4bfd835cff0d7fd8e8bdc = $(`<div id="html_5488b82263c4bfd835cff0d7fd8e8bdc" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0836143, 54.1747714]</div>`)[0];\n", - " popup_634e6d3b2b8bbd63a098f5bfd0977cea.setContent(html_5488b82263c4bfd835cff0d7fd8e8bdc);\n", + " var html_606617706ef2c6cba40b460ea3de0206 = $(`<div id="html_606617706ef2c6cba40b460ea3de0206" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1145106, 54.0854987]</div>`)[0];\n", + " popup_966de699bc77836808c07b51e677ddac.setContent(html_606617706ef2c6cba40b460ea3de0206);\n", " \n", " \n", "\n", - " marker_f4b0a8babe9865a51caabe71c389f943.bindPopup(popup_634e6d3b2b8bbd63a098f5bfd0977cea)\n", + " marker_01f08110510846e2dc250957671641f6.bindPopup(popup_966de699bc77836808c07b51e677ddac)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_b2bab612b374d456b507f65ceeec4569 = L.polygon(\n", - " [[54.17483598384836, 12.083600832023492], [54.174807390978, 12.083559833114244], [54.17475771508073, 12.08355074011413], [54.174716055568865, 12.083578879636129], [54.1747068160743, 12.083627767976159], [54.17473540902222, 12.08366876695082], [54.17478508499667, 12.08367785987055], [54.17482674443098, 12.083649720283127], [54.17483598384836, 12.083600832023492]],\n", + " var polygon_40f26f046566f15383c89864032d1386 = L.polygon(\n", + " [[54.08556339373307, 12.114497119330451], [54.085534758424274, 12.114456052941076], [54.08548500057953, 12.114446939425166], [54.08544326761479, 12.114475117413548], [54.08543400618962, 12.114524080669092], [54.08546264157591, 12.114565147123944], [54.085512399497965, 12.114574260559515], [54.085554132385205, 12.114546082505651], [54.08556339373307, 12.114497119330451]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_4a85db5f5e35ce8c42e666150a455d73 = L.marker(\n", - " [54.1686396, 12.0807291],\n", + " var marker_24a3c456f72f83aee68326c9449b2e0a = L.marker(\n", + " [54.0919883, 12.1455941],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_d22872710b82178795969c4d43d56bc5 = L.popup({"maxWidth": "100%"});\n", + " var popup_2b26cd9f663451a647213790ecd1ce1e = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_4f709d20990ec281162a7fdb5246924b = $(`<div id="html_4f709d20990ec281162a7fdb5246924b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0807291, 54.1686396]</div>`)[0];\n", - " popup_d22872710b82178795969c4d43d56bc5.setContent(html_4f709d20990ec281162a7fdb5246924b);\n", + " var html_4cd1385fe2e59dc144bbf7eafbc16dad = $(`<div id="html_4cd1385fe2e59dc144bbf7eafbc16dad" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1455941, 54.0919883]</div>`)[0];\n", + " popup_2b26cd9f663451a647213790ecd1ce1e.setContent(html_4cd1385fe2e59dc144bbf7eafbc16dad);\n", " \n", " \n", "\n", - " marker_4a85db5f5e35ce8c42e666150a455d73.bindPopup(popup_d22872710b82178795969c4d43d56bc5)\n", + " marker_24a3c456f72f83aee68326c9449b2e0a.bindPopup(popup_2b26cd9f663451a647213790ecd1ce1e)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_83a8a34565214a90072822c0544308ce = L.polygon(\n", - " [[54.16870419017752, 12.0807156366352], [54.16867559887251, 12.080674631480097], [54.168625919916096, 12.080665533191391], [54.16858425451262, 12.080693671480043], [54.16857500974518, 12.08074256336445], [54.16860360112776, 12.080783568584973], [54.168653280161344, 12.080792666793304], [54.16869494548727, 12.080764528439223], [54.16870419017752, 12.0807156366352]],\n", + " var polygon_3016bacc05ca43767a64be181b3d4373 = L.polygon(\n", + " [[54.09205299392707, 12.145580583775319], [54.09202433186508, 12.145539532980482], [54.09197456282516, 12.145530446751744], [54.091932840781205, 12.145558647735498], [54.09192360599556, 12.145607616224225], [54.09195226813508, 12.145648667084531], [54.09200203725235, 12.145657753232896], [54.09204375921876, 12.145629552183676], [54.09205299392707, 12.145580583775319]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_cf859d95e14407192c98e216aadb5407 = L.marker(\n", - " [54.1563738, 12.0689659],\n", + " var marker_aa8a669898de798f0124120d218ea9b6 = L.marker(\n", + " [54.0908675, 12.1111438],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_302e77f7d7e5b88ed58ca099aeefe0ad = L.popup({"maxWidth": "100%"});\n", + " var popup_21f4b667ae88fad70fc550a3e391dcd3 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_63cec05a05e61e1f18755f68f0b45a74 = $(`<div id="html_63cec05a05e61e1f18755f68f0b45a74" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0689659, 54.1563738]</div>`)[0];\n", - " popup_302e77f7d7e5b88ed58ca099aeefe0ad.setContent(html_63cec05a05e61e1f18755f68f0b45a74);\n", + " var html_bc4789f4eeb41da9fd515c772591f7ff = $(`<div id="html_bc4789f4eeb41da9fd515c772591f7ff" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1111438, 54.0908675]</div>`)[0];\n", + " popup_21f4b667ae88fad70fc550a3e391dcd3.setContent(html_bc4789f4eeb41da9fd515c772591f7ff);\n", " \n", " \n", "\n", - " marker_cf859d95e14407192c98e216aadb5407.bindPopup(popup_302e77f7d7e5b88ed58ca099aeefe0ad)\n", + " marker_aa8a669898de798f0124120d218ea9b6.bindPopup(popup_21f4b667ae88fad70fc550a3e391dcd3)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_b042178fea48eaec9b403d7f03306108 = L.polygon(\n", - " [[54.15643840137466, 12.06895245242462], [54.156409818564406, 12.068911432853001], [54.15636013656753, 12.068902319343552], [54.156318458369405, 12.068930450523327], [54.15630919854807, 12.068979347575013], [54.156337781435845, 12.069020367212065], [54.1563874635099, 12.069029480641152], [54.156429141630504, 12.069001349395936], [54.15643840137466, 12.06895245242462]],\n", + " var polygon_05b78222f0f8d496318b08960623329a = L.polygon(\n", + " [[54.09093218675835, 12.11113032174093], [54.09090355534824, 12.111089258923744], [54.09085380320408, 12.111080145475457], [54.09081207440251, 12.111108319987284], [54.09080281316433, 12.111157278258613], [54.09083144465195, 12.111198341141275], [54.09088119687342, 12.111207454509216], [54.090922925597496, 12.11117927993191], [54.09093218675835, 12.11113032174093]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_1cf3f647845189b151c3c5f2f00beec5 = L.marker(\n", - " [54.0934069, 12.1165419],\n", + " var marker_1b4679660dc96cfa35e874b9b2cec48b = L.marker(\n", + " [54.0863639, 12.1054917],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_fb8306432e1c039bbd36a558f928d34f = L.popup({"maxWidth": "100%"});\n", + " var popup_3802f20d55a9d34f06d6065e68c31487 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_ca54051c5721227a3133275eb55fb513 = $(`<div id="html_ca54051c5721227a3133275eb55fb513" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1165419, 54.0934069]</div>`)[0];\n", - " popup_fb8306432e1c039bbd36a558f928d34f.setContent(html_ca54051c5721227a3133275eb55fb513);\n", + " var html_3a9fe17e2848a8554ccbda55850b957f = $(`<div id="html_3a9fe17e2848a8554ccbda55850b957f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1054917, 54.0863639]</div>`)[0];\n", + " popup_3802f20d55a9d34f06d6065e68c31487.setContent(html_3a9fe17e2848a8554ccbda55850b957f);\n", " \n", " \n", "\n", - " marker_1cf3f647845189b151c3c5f2f00beec5.bindPopup(popup_fb8306432e1c039bbd36a558f928d34f)\n", + " marker_1b4679660dc96cfa35e874b9b2cec48b.bindPopup(popup_3802f20d55a9d34f06d6065e68c31487)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_cc1e3918d2bf18f33a3c21195ee9ab83 = L.polygon(\n", - " [[54.09347158517211, 12.116528415230762], [54.09344294935009, 12.1164873563459], [54.093393196307645, 12.116478248340007], [54.09335147064761, 12.116506426616224], [54.093342214750535, 12.1165553847688], [54.09337085065006, 12.116596443719136], [54.09342060376981, 12.116605551644676], [54.09346232935234, 12.116577373302988], [54.09347158517211, 12.116528415230762]],\n", + " var polygon_68ea64d32df5a5e644b91ddc77953f79 = L.polygon(\n", + " [[54.086428590532584, 12.105478228994492], [54.086399963436705, 12.105437160461761], [54.08635021086867, 12.105428040396989], [54.08630847715341, 12.105456211267223], [54.0862992093901, 12.105505171005056], [54.08632783656346, 12.105546239603266], [54.086377589208794, 12.105555359587706], [54.08641932284658, 12.105527188651987], [54.086428590532584, 12.105478228994492]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_fab4d07ff74061c7d9dd60911d0b05c5 = L.marker(\n", - " [54.1465191, 12.1743226],\n", + " var marker_d8a75593eaa131b18eb0477647dda7f0 = L.marker(\n", + " [54.0849876, 12.1365015],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_721ba4d317300bb02bd3c44b1df91d55 = L.popup({"maxWidth": "100%"});\n", + " var popup_237cf80b44efbb32348c9f185d8e80fc = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_ce5e1c4079da1e8d1af609c446b7568e = $(`<div id="html_ce5e1c4079da1e8d1af609c446b7568e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1743226, 54.1465191]</div>`)[0];\n", - " popup_721ba4d317300bb02bd3c44b1df91d55.setContent(html_ce5e1c4079da1e8d1af609c446b7568e);\n", + " var html_bc9653a97b48836e63f35702d14f707f = $(`<div id="html_bc9653a97b48836e63f35702d14f707f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1365015, 54.0849876]</div>`)[0];\n", + " popup_237cf80b44efbb32348c9f185d8e80fc.setContent(html_bc9653a97b48836e63f35702d14f707f);\n", " \n", " \n", "\n", - " marker_fab4d07ff74061c7d9dd60911d0b05c5.bindPopup(popup_721ba4d317300bb02bd3c44b1df91d55)\n", + " marker_d8a75593eaa131b18eb0477647dda7f0.bindPopup(popup_237cf80b44efbb32348c9f185d8e80fc)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_08594ed3127441e943d13a262236dd4a = L.polygon(\n", - " [[54.14658373848548, 12.174309039344692], [54.14655505966465, 12.174268045056373], [54.146505316159875, 12.174259008260252], [54.14646364698695, 12.174287222645814], [54.14645446143712, 12.174336160654912], [54.146483140335576, 12.17437715500864], [54.146532883917665, 12.17438619172432], [54.14657455301297, 12.174357977273344], [54.14658373848548, 12.174309039344692]],\n", + " var polygon_16aef07331f9258a3df5a3c21aadd32b = L.polygon(\n", + " [[54.085052299713354, 12.136487995389283], [54.08502364463875, 12.13644693561063], [54.08497387510359, 12.13643783885737], [54.08493214537187, 12.136466033941016], [54.08492290020931, 12.136515004610256], [54.08495155536141, 12.13655606445438], [54.08500132497392, 12.136565161127276], [54.08504305462811, 12.13653696597816], [54.085052299713354, 12.136487995389283]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_e55aa988716f52fccbeae597f0633b78 = L.marker(\n", - " [54.0715556, 12.1131664],\n", + " var marker_a6ea0ce840097fa7e1a6aa81ad371542 = L.marker(\n", + " [54.0855875, 12.12605],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_8fef329bbdac79e51a72aa5e9bb4a3a8 = L.popup({"maxWidth": "100%"});\n", + " var popup_5e35f4dc93c5f59c747ad787055f67d5 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_49cadbe9f288234c5ec32480f010cee3 = $(`<div id="html_49cadbe9f288234c5ec32480f010cee3" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1131664, 54.0715556]</div>`)[0];\n", - " popup_8fef329bbdac79e51a72aa5e9bb4a3a8.setContent(html_49cadbe9f288234c5ec32480f010cee3);\n", + " var html_11f3082f16cc7d23bf37bab6211336eb = $(`<div id="html_11f3082f16cc7d23bf37bab6211336eb" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.12605, 54.0855875]</div>`)[0];\n", + " popup_5e35f4dc93c5f59c747ad787055f67d5.setContent(html_11f3082f16cc7d23bf37bab6211336eb);\n", " \n", " \n", "\n", - " marker_e55aa988716f52fccbeae597f0633b78.bindPopup(popup_8fef329bbdac79e51a72aa5e9bb4a3a8)\n", + " marker_a6ea0ce840097fa7e1a6aa81ad371542.bindPopup(popup_5e35f4dc93c5f59c747ad787055f67d5)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_d5f523598608c02d766fc3132ff64af0 = L.polygon(\n", - " [[54.07162030937217, 12.113152924110302], [54.07159167296689, 12.11311184520941], [54.0715419055068, 12.113102723711078], [54.07150016004039, 12.113130902922133], [54.07149089055051, 12.113179875889221], [54.07151952703326, 12.113220954855612], [54.07156929457068, 12.113230076273602], [54.07161103995961, 12.113201896997058], [54.07162030937217, 12.113152924110302]],\n", + " var polygon_cdbaa0fff85909a0406e9e47e8be63f0 = L.polygon(\n", + " [[54.085652196460885, 12.126036506682551], [54.08562355083981, 12.125995444071501], [54.085573787125675, 12.125986339529586], [54.08553205617261, 12.126014526430803], [54.08552280346176, 12.126063493316991], [54.085551449160334, 12.126104555993521], [54.08560121295181, 12.12611366045508], [54.08564294382737, 12.126085473488391], [54.085652196460885, 12.126036506682551]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_de765ab98aa1c4047bb70646ee196b8a = L.marker(\n", - " [54.0782044, 12.0984176],\n", + " var marker_73ce76e5d8b1090a2618465b4fdf30df = L.marker(\n", + " [54.0843944, 12.0996851],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_42bcd9c45435dc8cdae0554ebf700a52 = L.popup({"maxWidth": "100%"});\n", + " var popup_1155856331a25a17864a65448060bcae = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_b9dd2875e820a890a72be2f3008a3d93 = $(`<div id="html_b9dd2875e820a890a72be2f3008a3d93" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0984176, 54.0782044]</div>`)[0];\n", - " popup_42bcd9c45435dc8cdae0554ebf700a52.setContent(html_b9dd2875e820a890a72be2f3008a3d93);\n", + " var html_a4d4d2e94b3ead978da1bdf56c38aaef = $(`<div id="html_a4d4d2e94b3ead978da1bdf56c38aaef" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0996851, 54.0843944]</div>`)[0];\n", + " popup_1155856331a25a17864a65448060bcae.setContent(html_a4d4d2e94b3ead978da1bdf56c38aaef);\n", " \n", " \n", "\n", - " marker_de765ab98aa1c4047bb70646ee196b8a.bindPopup(popup_42bcd9c45435dc8cdae0554ebf700a52)\n", + " marker_73ce76e5d8b1090a2618465b4fdf30df.bindPopup(popup_1155856331a25a17864a65448060bcae)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_086bbf5221ccb262cefc0640d8d528cd = L.polygon(\n", - " [[54.07826909814572, 12.098404138669888], [54.07824047603168, 12.09836306079871], [54.07819072106753, 12.09835393119811], [54.07814897898179, 12.098382097921093], [54.07813970177696, 12.098431061329656], [54.07816832396846, 12.098472139266322], [54.07821807900992, 12.098481268786596], [54.07825982101818, 12.098453101998125], [54.07826909814572, 12.098404138669888]],\n", + " var polygon_334147fbf2fb37ef05843321d91f28eb = L.polygon(\n", + " [[54.08445909136676, 12.099671635815671], [54.08443046914091, 12.099630563713855], [54.08438071810145, 12.099621438174958], [54.084338981677895, 12.099649604872708], [54.08432970855591, 12.099698564183875], [54.08435833085924, 12.09973963635118], [54.084408081976, 12.099748761809744], [54.08444981832208, 12.09972059504651], [54.08445909136676, 12.099671635815671]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_01e6a098d824274f5943cec9cf449853 = L.marker(\n", - " [54.0853817, 12.1373697],\n", + " var marker_b78fd194cc7bb33b6f647d69989be6b9 = L.marker(\n", + " [54.0991203, 12.1230644],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_2432db0aaf8e9854786531ca604d0909 = L.popup({"maxWidth": "100%"});\n", + " var popup_a9c010c6fb703a7425be3f82cbd8e712 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_7642e25e0352acb9a413a8cf6fb7409a = $(`<div id="html_7642e25e0352acb9a413a8cf6fb7409a" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1373697, 54.0853817]</div>`)[0];\n", - " popup_2432db0aaf8e9854786531ca604d0909.setContent(html_7642e25e0352acb9a413a8cf6fb7409a);\n", + " var html_cf51d12c43cbfe0dbf60c9943c5c455e = $(`<div id="html_cf51d12c43cbfe0dbf60c9943c5c455e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1230644, 54.0991203]</div>`)[0];\n", + " popup_a9c010c6fb703a7425be3f82cbd8e712.setContent(html_cf51d12c43cbfe0dbf60c9943c5c455e);\n", " \n", " \n", "\n", - " marker_01e6a098d824274f5943cec9cf449853.bindPopup(popup_2432db0aaf8e9854786531ca604d0909)\n", + " marker_b78fd194cc7bb33b6f647d69989be6b9.bindPopup(popup_a9c010c6fb703a7425be3f82cbd8e712)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_2edf96c8fdabdfb95323a8d69097fbea = L.polygon(\n", - " [[54.0854463994751, 12.137356194345646], [54.085417743688254, 12.13731513518699], [54.08536797399761, 12.137306039301892], [54.085326244758285, 12.137334234993304], [54.08531700044753, 12.137383205653896], [54.085345656311894, 12.137424264878028], [54.08539542607988, 12.137433360682762], [54.08543715524169, 12.137405164925873], [54.0854463994751, 12.137356194345646]],\n", + " var polygon_8f87ec4b44ffd2af60180de9c9b6e2a3 = L.polygon(\n", + " [[54.09918498022561, 12.12305090673602], [54.0991563395081, 12.123009854895312], [54.099106587335484, 12.123000754783295], [54.09906486780105, 12.123028937178999], [54.09905561969706, 12.123077893263533], [54.09908426049209, 12.123118945169715], [54.09913401274201, 12.123128045201367], [54.09917573219893, 12.123099862740197], [54.09918498022561, 12.12305090673602]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_46000546d728bbe56409ca9b30146559 = L.marker(\n", - " [54.1056812, 12.1698565],\n", + " var marker_eef6a01d9ba3a339a3fb3786549c2096 = L.marker(\n", + " [54.1535538, 12.0691769],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_efedfdfa14ba2d19b2cdff87ab3a4314 = L.popup({"maxWidth": "100%"});\n", + " var popup_3bcac99087fe2866deb40a3d341ba4b1 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_f11dff8d20c23e4ad1eb52fa8236006e = $(`<div id="html_f11dff8d20c23e4ad1eb52fa8236006e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1698565, 54.1056812]</div>`)[0];\n", - " popup_efedfdfa14ba2d19b2cdff87ab3a4314.setContent(html_f11dff8d20c23e4ad1eb52fa8236006e);\n", + " var html_129b7bab8c9371611e5666f7b94743b5 = $(`<div id="html_129b7bab8c9371611e5666f7b94743b5" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0691769, 54.1535538]</div>`)[0];\n", + " popup_3bcac99087fe2866deb40a3d341ba4b1.setContent(html_129b7bab8c9371611e5666f7b94743b5);\n", " \n", " \n", "\n", - " marker_46000546d728bbe56409ca9b30146559.bindPopup(popup_efedfdfa14ba2d19b2cdff87ab3a4314)\n", + " marker_eef6a01d9ba3a339a3fb3786549c2096.bindPopup(popup_3bcac99087fe2866deb40a3d341ba4b1)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_8b4cf6c092ad0ade863b4db4307a55e0 = L.polygon(\n", - " [[54.1057458842048, 12.169842953964293], [54.10571720266666, 12.169801922822852], [54.10566743125461, 12.1697928621977], [54.105625725332104, 12.169821079737025], [54.10561651571779, 12.169870046035262], [54.1056451973335, 12.169911077242153], [54.10569496882291, 12.1699201377869], [54.10573667466783, 12.169891920182128], [54.1057458842048, 12.169842953964293]],\n", + " var polygon_f1fa0de6b2df9aa415c344a1b13a730f = L.polygon(\n", + " [[54.153618404659575, 12.069163452859433], [54.15358982119187, 12.069122430910229], [54.153540136998416, 12.069113316161244], [54.1534984563513, 12.069141447965631], [54.15348919526314, 12.0691903471402], [54.15351777880834, 12.069231369154846], [54.153567463079, 12.06924048382347], [54.153609143648595, 12.069212351953643], [54.153618404659575, 12.069163452859433]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_ce0faee48dc239d37ed707f7e91c3702 = L.marker(\n", - " [54.0868514, 12.1463905],\n", + " var marker_1ae1013866882156e75dcac68d27a95b = L.marker(\n", + " [54.0935793, 12.1594325],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_c9c45a611d4f65611e6437e460717e57 = L.popup({"maxWidth": "100%"});\n", + " var popup_9982426bd009c62b18d5f99bcae4776a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_a2d1a1c2247aad2676165f84804efadc = $(`<div id="html_a2d1a1c2247aad2676165f84804efadc" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1463905, 54.0868514]</div>`)[0];\n", - " popup_c9c45a611d4f65611e6437e460717e57.setContent(html_a2d1a1c2247aad2676165f84804efadc);\n", + " var html_6ba7e9b8b53917c198d8313f557be199 = $(`<div id="html_6ba7e9b8b53917c198d8313f557be199" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1594325, 54.0935793]</div>`)[0];\n", + " popup_9982426bd009c62b18d5f99bcae4776a.setContent(html_6ba7e9b8b53917c198d8313f557be199);\n", " \n", " \n", "\n", - " marker_ce0faee48dc239d37ed707f7e91c3702.bindPopup(popup_c9c45a611d4f65611e6437e460717e57)\n", + " marker_1ae1013866882156e75dcac68d27a95b.bindPopup(popup_9982426bd009c62b18d5f99bcae4776a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_b1ff9edd94ebd70ff062f3a23e9359f5 = L.polygon(\n", - " [[54.0869161000077, 12.146376984126002], [54.08688743638733, 12.146335929134363], [54.08683766313997, 12.146326840961821], [54.08679593670417, 12.146355043393433], [54.08678669991496, 12.146404015873541], [54.08681536361285, 12.14644507093065], [54.08686513693757, 12.146454159022817], [54.08690686329582, 12.14642595652574], [54.0869161000077, 12.146376984126002]],\n", + " var polygon_86aa1b8715274fe6efe59d2bf4a7c715 = L.polygon(\n", + " [[54.0936439955068, 12.159418968254274], [54.09361532131537, 12.15937792327729], [54.093565546325884, 12.159368848550395], [54.093523827997416, 12.159397059982375], [54.093514604415816, 12.159446031745272], [54.0935432786848, 12.159487076787716], [54.09359305375165, 12.159496151434222], [54.09363477200256, 12.159467939936786], [54.0936439955068, 12.159418968254274]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_56c9e8808deaa2b32bdf7fe4bcac95c4 = L.marker(\n", - " [54.1076921, 12.1114991],\n", + " var marker_f8de85d793f4d6a5c7cdc88cc4b6c048 = L.marker(\n", + " [54.1814126, 12.0869103],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_ce83d6ea3f825f08df904df747fae269 = L.popup({"maxWidth": "100%"});\n", + " var popup_4e93078279c4e9daef9464721683d053 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_2412e6b36ac3aa076dfe02cb6b6dc766 = $(`<div id="html_2412e6b36ac3aa076dfe02cb6b6dc766" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1114991, 54.1076921]</div>`)[0];\n", - " popup_ce83d6ea3f825f08df904df747fae269.setContent(html_2412e6b36ac3aa076dfe02cb6b6dc766);\n", + " var html_cef2ec5e1fc3cf7b259fc25a79537c5b = $(`<div id="html_cef2ec5e1fc3cf7b259fc25a79537c5b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0869103, 54.1814126]</div>`)[0];\n", + " popup_4e93078279c4e9daef9464721683d053.setContent(html_cef2ec5e1fc3cf7b259fc25a79537c5b);\n", " \n", " \n", "\n", - " marker_56c9e8808deaa2b32bdf7fe4bcac95c4.bindPopup(popup_ce83d6ea3f825f08df904df747fae269)\n", + " marker_f8de85d793f4d6a5c7cdc88cc4b6c048.bindPopup(popup_4e93078279c4e9daef9464721683d053)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_07f807b9d0c1d8e48687b964a4eb9152 = L.polygon(\n", - " [[54.107756767569875, 12.111485617361206], [54.10772813861971, 12.111444569239225], [54.10767839873483, 12.111435464443474], [54.10763668481056, 12.11146363649665], [54.1076274323528, 12.111512582638367], [54.10765606138046, 12.111553630825808], [54.10770580134264, 12.111562735541195], [54.1077475151894, 12.111534563422559], [54.107756767569875, 12.111485617361206]],\n", + " var polygon_e0ca99236209fdbcfbc592ca91419f65 = L.polygon(\n", + " [[54.181477177034424, 12.086896826840533], [54.18144858231512, 12.086855834751745], [54.181398909643505, 12.086846747612864], [54.18135725654238, 12.086874888603445], [54.181348022888294, 12.086923773159123], [54.18137661768516, 12.086964765313327], [54.18142629043395, 12.086973852371818], [54.18146794345751, 12.086945711315822], [54.181477177034424, 12.086896826840533]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b93a5cc2d6e877bf6a84c9e40a8110be = L.marker(\n", - " [54.0821773, 12.1289199],\n", + " var marker_19bf2618512bbad1da4b2c9844c366f4 = L.marker(\n", + " [54.1745964, 12.0929161],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_bed912749f5a71ae2ad9805c72d6c26a = L.popup({"maxWidth": "100%"});\n", + " var popup_c30500ffc01c890c00910a6069b0b97c = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_b105835957e19006b15cf3bde4cc369c = $(`<div id="html_b105835957e19006b15cf3bde4cc369c" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1289199, 54.0821773]</div>`)[0];\n", - " popup_bed912749f5a71ae2ad9805c72d6c26a.setContent(html_b105835957e19006b15cf3bde4cc369c);\n", + " var html_d602c9c2d397aed2a45a5b4d3c96d903 = $(`<div id="html_d602c9c2d397aed2a45a5b4d3c96d903" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0929161, 54.1745964]</div>`)[0];\n", + " popup_c30500ffc01c890c00910a6069b0b97c.setContent(html_d602c9c2d397aed2a45a5b4d3c96d903);\n", " \n", " \n", "\n", - " marker_b93a5cc2d6e877bf6a84c9e40a8110be.bindPopup(popup_bed912749f5a71ae2ad9805c72d6c26a)\n", + " marker_19bf2618512bbad1da4b2c9844c366f4.bindPopup(popup_c30500ffc01c890c00910a6069b0b97c)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_4a7ed1fde14b4cae442c0794d186ffab = L.polygon(\n", - " [[54.08224200107122, 12.128906404352552], [54.08221335231973, 12.1288653397069], [54.08216358460825, 12.1288562356871], [54.08212185113253, 12.128884425361305], [54.08211259885144, 12.128933395646978], [54.08214124768043, 12.128974460358116], [54.08219101546924, 12.128983564297565], [54.082232748867455, 12.12895537455788], [54.08224200107122, 12.128906404352552]],\n", + " var polygon_d92845687a1a4d1c6ad0dab6d2776cdc = L.polygon(\n", + " [[54.17466098632027, 12.092902621869271], [54.17463238508909, 12.092861625796662], [54.17458270428066, 12.092852539919713], [54.17454104618418, 12.092880686678777], [54.17453181360243, 12.092929578130379], [54.17456041491118, 12.092970574268405], [54.17461009579681, 12.092979660064952], [54.174651753815716, 12.092951513240473], [54.17466098632027, 12.092902621869271]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_652caff90bd7563b5d9a31bef66d64c5 = L.marker(\n", - " [54.0874537, 12.1258445],\n", + " var marker_878c37fa76c89d08e9e879a35bf7ee45 = L.marker(\n", + " [54.0837151, 12.1415284],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_d65d26a64bea07dcb7a212906bc5af64 = L.popup({"maxWidth": "100%"});\n", + " var popup_c3ac56d9245c246e9562e8ec63ddc50d = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_e60ae0bb3568c5dd30948154f5037c79 = $(`<div id="html_e60ae0bb3568c5dd30948154f5037c79" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1258445, 54.0874537]</div>`)[0];\n", - " popup_d65d26a64bea07dcb7a212906bc5af64.setContent(html_e60ae0bb3568c5dd30948154f5037c79);\n", + " var html_9854394e52865e56b840b18c2d4a487e = $(`<div id="html_9854394e52865e56b840b18c2d4a487e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1415284, 54.0837151]</div>`)[0];\n", + " popup_c3ac56d9245c246e9562e8ec63ddc50d.setContent(html_9854394e52865e56b840b18c2d4a487e);\n", " \n", " \n", "\n", - " marker_652caff90bd7563b5d9a31bef66d64c5.bindPopup(popup_d65d26a64bea07dcb7a212906bc5af64)\n", + " marker_878c37fa76c89d08e9e879a35bf7ee45.bindPopup(popup_c3ac56d9245c246e9562e8ec63ddc50d)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_49df8a87a44ca589fa651eb903bc33a9 = L.polygon(\n", - " [[54.08751839427278, 12.12583100646414], [54.087489749143195, 12.125789945404371], [54.08743998691438, 12.125780841632968], [54.08739825757043, 12.125809028072567], [54.087389005649854, 12.125857993535416], [54.08741765085694, 12.125899054660657], [54.08746741316307, 12.125908158351706], [54.087509142429525, 12.125879971846636], [54.08751839427278, 12.12583100646414]],\n", + " var polygon_12bf9df203a4eb1f189ec1bb1b00f9ed = L.polygon(\n", + " [[54.08377980240566, 12.141514890191804], [54.08375114262181, 12.141473830922658], [54.08370136955888, 12.141464737425055], [54.083659639547406, 12.141492936603386], [54.08365039751697, 12.141541909807733], [54.08367905737835, 12.141582969142348], [54.083728830518616, 12.141592062559585], [54.083770560452564, 12.141563863315781], [54.08377980240566, 12.141514890191804]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_8df6cd10d053202f1a8ece10dab475cf = L.marker(\n", - " [54.1722113, 12.0896476],\n", + " var marker_715e274b26534ceea85890632dac8aeb = L.marker(\n", + " [54.1015498, 12.0686389],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_489bd2ddc51b8baf092acb59f8cda090 = L.popup({"maxWidth": "100%"});\n", + " var popup_61a9858eddbe41b64fc0a814d6db0c65 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_6ccefe915354caa0dc000b240ebb3c9b = $(`<div id="html_6ccefe915354caa0dc000b240ebb3c9b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0896476, 54.1722113]</div>`)[0];\n", - " popup_489bd2ddc51b8baf092acb59f8cda090.setContent(html_6ccefe915354caa0dc000b240ebb3c9b);\n", + " var html_ec0bcc30b084395b8fc4e4e23a9b76b0 = $(`<div id="html_ec0bcc30b084395b8fc4e4e23a9b76b0" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0686389, 54.1015498]</div>`)[0];\n", + " popup_61a9858eddbe41b64fc0a814d6db0c65.setContent(html_ec0bcc30b084395b8fc4e4e23a9b76b0);\n", " \n", " \n", "\n", - " marker_8df6cd10d053202f1a8ece10dab475cf.bindPopup(popup_489bd2ddc51b8baf092acb59f8cda090)\n", + " marker_715e274b26534ceea85890632dac8aeb.bindPopup(popup_61a9858eddbe41b64fc0a814d6db0c65)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_f83550a8783c2608f198b1f93f71ee5e = L.polygon(\n", - " [[54.17227588825791, 12.089634126015866], [54.17224728955847, 12.089593126824113], [54.17219760866368, 12.089584037226158], [54.17215594791333, 12.089612181842051], [54.1721467116648, 12.089661073983768], [54.172175310441794, 12.089702073240945], [54.172224991413785, 12.089711162758508], [54.17226665208658, 12.089683018077194], [54.17227588825791, 12.089634126015866]],\n", + " var polygon_f2ef1a588ba88e40075582cdc68f9406 = L.polygon(\n", + " [[54.10161446412876, 12.068625465736243], [54.10158587251404, 12.068584398537439], [54.101536150109766, 12.068575257502385], [54.1014944235714, 12.068603397382239], [54.10148513579397, 12.068652334263321], [54.10151372748616, 12.068693401527616], [54.101563449967664, 12.068702542482349], [54.10160517642857, 12.068674402537013], [54.10161446412876, 12.068625465736243]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_e9a0e294ec924070fa7fef0db53cca05 = L.marker(\n", - " [54.0641482, 12.1056204],\n", + " var marker_f433b900745deb179f5dff4c851a6553 = L.marker(\n", + " [54.1155378, 12.0598687],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_a36252494dd0012a915ae02981cc9c00 = L.popup({"maxWidth": "100%"});\n", + " var popup_5f1ac799c21f8e937c8d8e8bc54d2362 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_a11c79a7e88a32af2178cf69b7843ad4 = $(`<div id="html_a11c79a7e88a32af2178cf69b7843ad4" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1056204, 54.0641482]</div>`)[0];\n", - " popup_a36252494dd0012a915ae02981cc9c00.setContent(html_a11c79a7e88a32af2178cf69b7843ad4);\n", + " var html_7dd80f6b7c9d609e80960e5bf7371a2a = $(`<div id="html_7dd80f6b7c9d609e80960e5bf7371a2a" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0598687, 54.1155378]</div>`)[0];\n", + " popup_5f1ac799c21f8e937c8d8e8bc54d2362.setContent(html_7dd80f6b7c9d609e80960e5bf7371a2a);\n", " \n", " \n", "\n", - " marker_e9a0e294ec924070fa7fef0db53cca05.bindPopup(popup_a36252494dd0012a915ae02981cc9c00)\n", + " marker_f433b900745deb179f5dff4c851a6553.bindPopup(popup_5f1ac799c21f8e937c8d8e8bc54d2362)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_c13f776b624b138f4d73d7938dc0f9ff = L.polygon(\n", - " [[54.06421291600482, 12.105606934122886], [54.064184285128626, 12.105565846385526], [54.06413451607345, 12.105556715361777], [54.06409276282216, 12.105584889938319], [54.06408348391785, 12.105633865876635], [54.064112114871506, 12.1056749536795], [54.06416188400401, 12.105684084622926], [54.06420363717784, 12.105655909980886], [54.06421291600482, 12.105606934122886]],\n", + " var polygon_903a4a7b7ab57354ce3c55e71ad90a25 = L.polygon(\n", + " [[54.11560244596399, 12.05985527203414], [54.11557386451403, 12.059814214141495], [54.11552415696081, 12.059805073271963], [54.11548244126024, 12.05983320407974], [54.115473153958746, 12.059882127965448], [54.11550173548616, 12.059923185923562], [54.1155514431166, 12.059932326712772], [54.11559315873971, 12.05990419583952], [54.11560244596399, 12.05985527203414]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_ce9b803ef845702ccdd82749da2798aa = L.marker(\n", - " [54.1159153, 12.1617354],\n", + " var marker_cdf978f76755d252d83c4665ff016047 = L.marker(\n", + " [54.0907908, 12.0979016],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_9e5e477a4f4f883d1d6db919d155f83f = L.popup({"maxWidth": "100%"});\n", + " var popup_9e692a53dd74bedba00f49696e882cee = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_0628ef29bb5b957874ee7654d1cb8acc = $(`<div id="html_0628ef29bb5b957874ee7654d1cb8acc" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1617354, 54.1159153]</div>`)[0];\n", - " popup_9e5e477a4f4f883d1d6db919d155f83f.setContent(html_0628ef29bb5b957874ee7654d1cb8acc);\n", + " var html_3c693068d40b6da9c1de5efc733ce2bc = $(`<div id="html_3c693068d40b6da9c1de5efc733ce2bc" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0979016, 54.0907908]</div>`)[0];\n", + " popup_9e692a53dd74bedba00f49696e882cee.setContent(html_3c693068d40b6da9c1de5efc733ce2bc);\n", " \n", " \n", "\n", - " marker_ce9b803ef845702ccdd82749da2798aa.bindPopup(popup_9e5e477a4f4f883d1d6db919d155f83f)\n", + " marker_cdf978f76755d252d83c4665ff016047.bindPopup(popup_9e692a53dd74bedba00f49696e882cee)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_9a435e364bd39e558cacd74a67a3d913 = L.polygon(\n", - " [[54.11597997047673, 12.161721860415147], [54.115951297897055, 12.16168083554213], [54.11590153823743, 12.161671773734625], [54.11585983997693, 12.161699983333428], [54.115850629445866, 12.161748939584422], [54.11587930210312, 12.161789964522884], [54.11592906184008, 12.161799026249978], [54.11597076002302, 12.161770816585738], [54.11597997047673, 12.161721860415147]],\n", + " var polygon_47419224f192937dd824bf5409a8873f = L.polygon(\n", + " [[54.09085548360393, 12.097888136251491], [54.09082686403029, 12.097847069119648], [54.09077711863678, 12.097837945384086], [54.09073538754559, 12.097866109662167], [54.09072611631878, 12.09791506374806], [54.09075473596989, 12.097956130945391], [54.09080448144069, 12.097965254600618], [54.090846212454395, 12.097937090257059], [54.09085548360393, 12.097888136251491]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_0f689df2d96ef0e64fbee07928bfe9fa = L.marker(\n", - " [54.0863946, 12.0866568],\n", + " var marker_b3eb85f529757a0a4e5f2c9883d4badb = L.marker(\n", + " [54.1206941, 12.0542849],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_b5e425eb1c33051106f3a151743c8eb0 = L.popup({"maxWidth": "100%"});\n", + " var popup_9083dcc1853a979b609f3cda491a28be = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_6b7c70cb52273f8bb689b50539240194 = $(`<div id="html_6b7c70cb52273f8bb689b50539240194" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0866568, 54.0863946]</div>`)[0];\n", - " popup_b5e425eb1c33051106f3a151743c8eb0.setContent(html_6b7c70cb52273f8bb689b50539240194);\n", + " var html_5d06082d412dc91a3b4b4c8e3b73d381 = $(`<div id="html_5d06082d412dc91a3b4b4c8e3b73d381" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0542849, 54.1206941]</div>`)[0];\n", + " popup_9083dcc1853a979b609f3cda491a28be.setContent(html_5d06082d412dc91a3b4b4c8e3b73d381);\n", " \n", " \n", "\n", - " marker_0f689df2d96ef0e64fbee07928bfe9fa.bindPopup(popup_b5e425eb1c33051106f3a151743c8eb0)\n", + " marker_b3eb85f529757a0a4e5f2c9883d4badb.bindPopup(popup_9083dcc1853a979b609f3cda491a28be)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_3e1bd6ea2e090e7538bf5630d995b4a9 = L.polygon(\n", - " [[54.08645928588891, 12.086643349599397], [54.086430675648536, 12.086602275051137], [54.08638093278249, 12.086593140424574], [54.0863391959324, 12.086621296716864], [54.08632991403378, 12.08667025040015], [54.08635852435161, 12.086711325013898], [54.08640826729495, 12.086720459560137], [54.08645000406757, 12.086692303202362], [54.08645928588891, 12.086643349599397]],\n", + " var polygon_d2fd48dd5a0fe628f81d443e50decc1b = L.polygon(\n", + " [[54.12075873869488, 12.054271476931868], [54.120730163096006, 12.054230421715266], [54.12068046222452, 12.054221279085167], [54.12063875012229, 12.054249404727086], [54.12062946122787, 12.054298323067727], [54.1206580369042, 12.054339378349805], [54.120707737852904, 12.054348520899584], [54.12074944987767, 12.05432039519219], [54.12075873869488, 12.054271476931868]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_34160756b1de3879817ad2a853ba8c5e = L.marker(\n", - " [54.0910141, 12.1339312],\n", + " var marker_9291df048b79f5307628919e792886da = L.marker(\n", + " [54.0880921, 12.1438914],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_301a5eaaeb69043624bc0ed7f82bd059 = L.popup({"maxWidth": "100%"});\n", + " var popup_600e898a7ccae9ecae37785098c100ec = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_1fc6668fb58087e99be8dec91ae29c85 = $(`<div id="html_1fc6668fb58087e99be8dec91ae29c85" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1339312, 54.0910141]</div>`)[0];\n", - " popup_301a5eaaeb69043624bc0ed7f82bd059.setContent(html_1fc6668fb58087e99be8dec91ae29c85);\n", + " var html_6f2280ad9f98d5cdbb0d069254cc6c09 = $(`<div id="html_6f2280ad9f98d5cdbb0d069254cc6c09" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1438914, 54.0880921]</div>`)[0];\n", + " popup_600e898a7ccae9ecae37785098c100ec.setContent(html_6f2280ad9f98d5cdbb0d069254cc6c09);\n", " \n", " \n", "\n", - " marker_34160756b1de3879817ad2a853ba8c5e.bindPopup(popup_301a5eaaeb69043624bc0ed7f82bd059)\n", + " marker_9291df048b79f5307628919e792886da.bindPopup(popup_600e898a7ccae9ecae37785098c100ec)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_4dd9b168ede2cb27852e456fc6b10889 = L.polygon(\n", - " [[54.09107879217866, 12.133917696769219], [54.091050140397414, 12.133876641388952], [54.091000376640096, 12.13386754564922], [54.09095865178617, 12.133895737767821], [54.09094940774397, 12.133944703230327], [54.09097805960275, 12.13398575867606], [54.091027823437386, 12.13399485433543], [54.09106954821381, 12.133966662151359], [54.09107879217866, 12.133917696769219]],\n", + " var polygon_29f14a7402d9b02891b4066477cdce12 = L.polygon(\n", + " [[54.08815679797226, 12.143877886565255], [54.0881281367934, 12.143836831847356], [54.088078365749666, 12.143827742359326], [54.08803663998877, 12.143855942656806], [54.08802740195039, 12.143904913434286], [54.088056063206764, 12.143945968217658], [54.088105834327834, 12.143955057625318], [54.08814756001121, 12.14392685726237], [54.08815679797226, 12.143877886565255]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_788a1331e580901b2f44b32c2ab6f80a = L.marker(\n", - " [54.1460056, 12.062572],\n", + " var marker_ca811773780305974a1e0585faaf0103 = L.marker(\n", + " [54.0901106, 12.1001784],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_91626e48cc6c3bb304cc97afd30843eb = L.popup({"maxWidth": "100%"});\n", + " var popup_9c7db3237949aab412876bf7b1a7d596 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_1bf87fe7f997d44791dd9ea38390c9ea = $(`<div id="html_1bf87fe7f997d44791dd9ea38390c9ea" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.062572, 54.1460056]</div>`)[0];\n", - " popup_91626e48cc6c3bb304cc97afd30843eb.setContent(html_1bf87fe7f997d44791dd9ea38390c9ea);\n", + " var html_01619267aafefd43ff7ff50d70708119 = $(`<div id="html_01619267aafefd43ff7ff50d70708119" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1001784, 54.0901106]</div>`)[0];\n", + " popup_9c7db3237949aab412876bf7b1a7d596.setContent(html_01619267aafefd43ff7ff50d70708119);\n", " \n", " \n", "\n", - " marker_788a1331e580901b2f44b32c2ab6f80a.bindPopup(popup_91626e48cc6c3bb304cc97afd30843eb)\n", + " marker_ca811773780305974a1e0585faaf0103.bindPopup(popup_9c7db3237949aab412876bf7b1a7d596)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_772c1f28e210f4b5f03b1eba2bd38b3e = L.polygon(\n", - " [[54.14607021170353, 12.062558561878932], [54.146041632893805, 12.062517531263639], [54.14599194650349, 12.062508407641541], [54.14595025809158, 12.062536535563545], [54.14594098821919, 12.062585438120696], [54.14596956710642, 12.06262646880144], [54.14601925357394, 12.062635592343183], [54.14606094190833, 12.062607464355734], [54.14607021170353, 12.062558561878932]],\n", + " var polygon_b19bf667431e43e585c49968ad9babcd = L.polygon(\n", + " [[54.09017528494025, 12.100164933920917], [54.090146663217126, 12.100123866930117], [54.090096916150465, 12.100114744618198], [54.090055184842576, 12.100142910768568], [54.090045914982426, 12.100191866078648], [54.090074536783035, 12.10023293313493], [54.090124283927, 12.100242055366506], [54.09016601515739, 12.100213889150655], [54.09017528494025, 12.100164933920917]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b73cef2a98b6012e7dd56a6129b28164 = L.marker(\n", - " [54.1772648, 12.0807018],\n", + " var marker_badb9b9354ebf293ab0f7b335aa60c82 = L.marker(\n", + " [54.146542, 12.1743335],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_434e3d2e19c840997b1b6f6cbbddb238 = L.popup({"maxWidth": "100%"});\n", + " var popup_7f1e2e1334fbe6b575c9748fc6291ba1 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_7c929a5bb61b7bc7aec27316c68f832e = $(`<div id="html_7c929a5bb61b7bc7aec27316c68f832e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0807018, 54.1772648]</div>`)[0];\n", - " popup_434e3d2e19c840997b1b6f6cbbddb238.setContent(html_7c929a5bb61b7bc7aec27316c68f832e);\n", + " var html_a261fdbaeb8f3432675c8d00dd48e72d = $(`<div id="html_a261fdbaeb8f3432675c8d00dd48e72d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1743335, 54.146542]</div>`)[0];\n", + " popup_7f1e2e1334fbe6b575c9748fc6291ba1.setContent(html_a261fdbaeb8f3432675c8d00dd48e72d);\n", " \n", " \n", "\n", - " marker_b73cef2a98b6012e7dd56a6129b28164.bindPopup(popup_434e3d2e19c840997b1b6f6cbbddb238)\n", + " marker_badb9b9354ebf293ab0f7b335aa60c82.bindPopup(popup_7f1e2e1334fbe6b575c9748fc6291ba1)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_d1717eaa506979eaa8cc4a084c191de5 = L.polygon(\n", - " [[54.1773293802775, 12.080688334626693], [54.177300790430046, 12.080647336944683], [54.17725111787668, 12.080638242927986], [54.17720946007092, 12.080666379785088], [54.17720021964522, 12.080715265372959], [54.17722880957024, 12.080756263120383], [54.17727848220078, 12.080765357056691], [54.17732013992899, 12.080737220134175], [54.1773293802775, 12.080688334626693]],\n", + " var polygon_317016871a56165fc331ff108e2d0ae9 = L.polygon(\n", + " [[54.14660663846189, 12.1743199393273], [54.14657795963507, 12.17427894506235], [54.14652821614162, 12.174269908286098], [54.14648654699071, 12.174298122676388], [54.1464773614607, 12.174347060672302], [54.14650604036515, 12.174388055002664], [54.14655578393591, 12.174397091698479], [54.1465974530092, 12.17436887724277], [54.14660663846189, 12.1743199393273]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_2eb6edcc9e71c1d120776c0687f72562 = L.marker(\n", - " [54.1032973, 12.1651454],\n", + " var marker_55907486171effbcd09169bd295bb9c4 = L.marker(\n", + " [54.1346743, 12.0599359],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_7e06123b77edd4d30a17cc0d6083a21d = L.popup({"maxWidth": "100%"});\n", + " var popup_cf543c1ec5fce96bba33a19f62539075 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_17c51d9fd56e72838be2219a2c5946ea = $(`<div id="html_17c51d9fd56e72838be2219a2c5946ea" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1651454, 54.1032973]</div>`)[0];\n", - " popup_7e06123b77edd4d30a17cc0d6083a21d.setContent(html_17c51d9fd56e72838be2219a2c5946ea);\n", + " var html_1f5ed327b813de7fe1a0bc62740cafbb = $(`<div id="html_1f5ed327b813de7fe1a0bc62740cafbb" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0599359, 54.1346743]</div>`)[0];\n", + " popup_cf543c1ec5fce96bba33a19f62539075.setContent(html_1f5ed327b813de7fe1a0bc62740cafbb);\n", " \n", " \n", "\n", - " marker_2eb6edcc9e71c1d120776c0687f72562.bindPopup(popup_7e06123b77edd4d30a17cc0d6083a21d)\n", + " marker_55907486171effbcd09169bd295bb9c4.bindPopup(popup_cf543c1ec5fce96bba33a19f62539075)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_8332a9f4673e2c0c90c171085a778a0f = L.polygon(\n", - " [[54.1033619857771, 12.16513185968803], [54.10333330806703, 12.16509082496835], [54.10328353731959, 12.165081759508158], [54.10324182850894, 12.165109973787933], [54.10323261414552, 12.165158940311521], [54.10326129193315, 12.165199975096646], [54.10331106275794, 12.165209040476439], [54.103352771491025, 12.165180826131214], [54.1033619857771, 12.16513185968803]],\n", + " var polygon_83b96a934b54a0e054b62946ad8ff364 = L.polygon(\n", + " [[54.13473892405015, 12.059922467442068], [54.13471034571706, 12.059881426156927], [54.1346606522917, 12.059872294856422], [54.1346189534541, 12.059900422589353], [54.13460967587258, 12.059949332557535], [54.13463825428315, 12.059990373908136], [54.13468794778571, 12.059999505128303], [54.13472964654583, 12.059971377329916], [54.13473892405015, 12.059922467442068]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_f462d60bf279910ce4143cfcd3725ec7 = L.marker(\n", - " [54.1508672, 12.1754313],\n", + " var marker_2673ca93d63933dfe1528ad891740f42 = L.marker(\n", + " [54.1465765, 12.04097],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_921993d65105ff981de1c95b402d1355 = L.popup({"maxWidth": "100%"});\n", + " var popup_a804892c5068f64ba9d82708a673162c = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_bb124f72cacb03b43999428b1282f7aa = $(`<div id="html_bb124f72cacb03b43999428b1282f7aa" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1754313, 54.1508672]</div>`)[0];\n", - " popup_921993d65105ff981de1c95b402d1355.setContent(html_bb124f72cacb03b43999428b1282f7aa);\n", + " var html_57416547d30cfca20f0ad2268469a07c = $(`<div id="html_57416547d30cfca20f0ad2268469a07c" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.04097, 54.1465765]</div>`)[0];\n", + " popup_a804892c5068f64ba9d82708a673162c.setContent(html_57416547d30cfca20f0ad2268469a07c);\n", " \n", " \n", "\n", - " marker_f462d60bf279910ce4143cfcd3725ec7.bindPopup(popup_921993d65105ff981de1c95b402d1355)\n", + " marker_2673ca93d63933dfe1528ad891740f42.bindPopup(popup_a804892c5068f64ba9d82708a673162c)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_d822c743b2c07262e949135763d14ff1 = L.polygon(\n", - " [[54.15093183377146, 12.175417737094598], [54.150903154672854, 12.175376746934763], [54.150853413814446, 12.17536771316679], [54.15081174866178, 12.175395927706324], [54.15080256615113, 12.175444862905012], [54.15083124532735, 12.175485853130255], [54.15088098626309, 12.175494886817782], [54.150922651338114, 12.17546667221284], [54.15093183377146, 12.175417737094598]],\n", + " var polygon_04c7cd1311620f7b0099aa73ae6ab425 = L.polygon(\n", + " [[54.14664110578933, 12.040956585413804], [54.14661254640595, 12.040915548355539], [54.14656287152676, 12.04090640827827], [54.14652117996771, 12.040934519372108], [54.14651189413344, 12.040983414585826], [54.1465404535943, 12.041024451709545], [54.146590128550656, 12.041033591706483], [54.146631820032226, 12.041005480547186], [54.14664110578933, 12.040956585413804]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_ea6ef290a823abeb990203040585e464 = L.marker(\n", - " [54.0796212, 12.1865847],\n", + " var marker_0a65e27dea400a5d567599f252affca5 = L.marker(\n", + " [54.1346704, 12.0545158],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_ad16f333b01f13e2e48514a42ff0f939 = L.popup({"maxWidth": "100%"});\n", + " var popup_048218d7f8053462b11086541863c231 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_078cf514dfab93b56cdff11f4e3e8b6f = $(`<div id="html_078cf514dfab93b56cdff11f4e3e8b6f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1865847, 54.0796212]</div>`)[0];\n", - " popup_ad16f333b01f13e2e48514a42ff0f939.setContent(html_078cf514dfab93b56cdff11f4e3e8b6f);\n", + " var html_c6e21a53e1b6701089296b3ac455320d = $(`<div id="html_c6e21a53e1b6701089296b3ac455320d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0545158, 54.1346704]</div>`)[0];\n", + " popup_048218d7f8053462b11086541863c231.setContent(html_c6e21a53e1b6701089296b3ac455320d);\n", " \n", " \n", "\n", - " marker_ea6ef290a823abeb990203040585e464.bindPopup(popup_ad16f333b01f13e2e48514a42ff0f939)\n", + " marker_0a65e27dea400a5d567599f252affca5.bindPopup(popup_048218d7f8053462b11086541863c231)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_b52410c534e800b7fbe1f33bb73754c7 = L.polygon(\n", - " [[54.07968591818693, 12.18657114187743], [54.07965721738655, 12.186530093508878], [54.079607418089566, 12.186521032828338], [54.07956569199403, 12.186549267516432], [54.07955648173565, 12.186598258122093], [54.079585182613606, 12.186639306556101], [54.079634981987994, 12.186648367156245], [54.079676708005955, 12.18662013240269], [54.07968591818693, 12.18657114187743]],\n", + " var polygon_fc39a00c3b2def667d2b336464054a62 = L.polygon(\n", + " [[54.134735022734034, 12.054502373380513], [54.1347064492502, 12.054461330351591], [54.13465675860446, 12.054452194850128], [54.13461505884854, 12.054480318385796], [54.13460577718872, 12.054529226619099], [54.13463435075001, 12.054570269713482], [54.134684041472966, 12.05457940513461], [54.13472574115141, 12.054551281533483], [54.134735022734034, 12.054502373380513]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_556dd4f17e9af26340f814d7eeb18997 = L.marker(\n", - " [54.0854987, 12.1145106],\n", + " var marker_a97a85b938730595d45f68f4e257997a = L.marker(\n", + " [54.0901444, 12.1146255],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_0067a102a96c97779cc8d6f6a30c7a77 = L.popup({"maxWidth": "100%"});\n", + " var popup_5f06bfa6c5220b10608b0a635983db32 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_813561396ee25338cd23ed2ecabf61f8 = $(`<div id="html_813561396ee25338cd23ed2ecabf61f8" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1145106, 54.0854987]</div>`)[0];\n", - " popup_0067a102a96c97779cc8d6f6a30c7a77.setContent(html_813561396ee25338cd23ed2ecabf61f8);\n", + " var html_2970248f2ea299d69656a4dfcb6dc745 = $(`<div id="html_2970248f2ea299d69656a4dfcb6dc745" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1146255, 54.0901444]</div>`)[0];\n", + " popup_5f06bfa6c5220b10608b0a635983db32.setContent(html_2970248f2ea299d69656a4dfcb6dc745);\n", " \n", " \n", "\n", - " marker_556dd4f17e9af26340f814d7eeb18997.bindPopup(popup_0067a102a96c97779cc8d6f6a30c7a77)\n", + " marker_a97a85b938730595d45f68f4e257997a.bindPopup(popup_5f06bfa6c5220b10608b0a635983db32)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_c78737b3a54741b15453551a026b0563 = L.polygon(\n", - " [[54.08556339373307, 12.114497119330451], [54.085534758424274, 12.114456052941076], [54.08548500057953, 12.114446939425166], [54.08544326761479, 12.114475117413548], [54.08543400618962, 12.114524080669092], [54.08546264157591, 12.114565147123944], [54.085512399497965, 12.114574260559515], [54.085554132385205, 12.114546082505651], [54.08556339373307, 12.114497119330451]],\n", + " var polygon_7bc204f04190d2cda600e731eef249f4 = L.polygon(\n", + " [[54.09020908843977, 12.114612018102255], [54.09018045379456, 12.114570955775376], [54.09013069932541, 12.11456184466167], [54.090088970470916, 12.114590021984789], [54.09007971148289, 12.114638981897299], [54.09010834620562, 12.114680044289655], [54.09015810075207, 12.114689155323013], [54.09019982952906, 12.114660977934419], [54.09020908843977, 12.114612018102255]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_73ec82b0cc2deab7bde97258fb6a731b = L.marker(\n", - " [54.0919883, 12.1455941],\n", + " var marker_2a444b621b9773183793185080f68523 = L.marker(\n", + " [54.0952528, 12.0955128],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_89cbe20cef52db7d87e2c81b89214929 = L.popup({"maxWidth": "100%"});\n", + " var popup_32137ee7d7efcb99aa49269b39daa9b3 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_a5c5a45c68943af7435c184b790b1984 = $(`<div id="html_a5c5a45c68943af7435c184b790b1984" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1455941, 54.0919883]</div>`)[0];\n", - " popup_89cbe20cef52db7d87e2c81b89214929.setContent(html_a5c5a45c68943af7435c184b790b1984);\n", + " var html_47766ef969357e5ec31c368c2e2aeaf1 = $(`<div id="html_47766ef969357e5ec31c368c2e2aeaf1" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0955128, 54.0952528]</div>`)[0];\n", + " popup_32137ee7d7efcb99aa49269b39daa9b3.setContent(html_47766ef969357e5ec31c368c2e2aeaf1);\n", " \n", " \n", "\n", - " marker_73ec82b0cc2deab7bde97258fb6a731b.bindPopup(popup_89cbe20cef52db7d87e2c81b89214929)\n", + " marker_2a444b621b9773183793185080f68523.bindPopup(popup_32137ee7d7efcb99aa49269b39daa9b3)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_d8f09e7d40ff266b932a9032d1d15a03 = L.polygon(\n", - " [[54.09205299392707, 12.145580583775319], [54.09202433186508, 12.145539532980482], [54.09197456282516, 12.145530446751744], [54.091932840781205, 12.145558647735498], [54.09192360599556, 12.145607616224225], [54.09195226813508, 12.145648667084531], [54.09200203725235, 12.145657753232896], [54.09204375921876, 12.145629552183676], [54.09205299392707, 12.145580583775319]],\n", + " var polygon_78686bcf08f073a793b0bc24a8d7d107 = L.polygon(\n", + " [[54.09531747790828, 12.095499337808747], [54.09528886120935, 12.095458273776831], [54.09523912034301, 12.095449150413089], [54.09519739277949, 12.095477312117067], [54.095188122014406, 12.095526262190814], [54.09521673879082, 12.095567326288204], [54.095266479734455, 12.095576449571613], [54.09530820722048, 12.09554828780216], [54.09531747790828, 12.095499337808747]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_dc085f11e2eca10cafc8f9303f928d75 = L.marker(\n", - " [54.0842953, 12.1935853],\n", + " var marker_2a1db36af39af90855d23dff8c88e8f7 = L.marker(\n", + " [54.0801492, 12.1394779],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_4af84722363014659aedbc24983e865f = L.popup({"maxWidth": "100%"});\n", + " var popup_b7d4f88728d2ea2360c55640afbbc52a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_68859db763a658ea66e585d72a0e1fee = $(`<div id="html_68859db763a658ea66e585d72a0e1fee" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1935853, 54.0842953]</div>`)[0];\n", - " popup_4af84722363014659aedbc24983e865f.setContent(html_68859db763a658ea66e585d72a0e1fee);\n", + " var html_47792de93ddfbf82cac3aacaa9faa2b2 = $(`<div id="html_47792de93ddfbf82cac3aacaa9faa2b2" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1394779, 54.0801492]</div>`)[0];\n", + " popup_b7d4f88728d2ea2360c55640afbbc52a.setContent(html_47792de93ddfbf82cac3aacaa9faa2b2);\n", " \n", " \n", "\n", - " marker_dc085f11e2eca10cafc8f9303f928d75.bindPopup(popup_4af84722363014659aedbc24983e865f)\n", + " marker_2a1db36af39af90855d23dff8c88e8f7.bindPopup(popup_b7d4f88728d2ea2360c55640afbbc52a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_8329a2c93bf16b835fdf10fcecac0be5 = L.polygon(\n", - " [[54.084360014559394, 12.193571733103761], [54.084331308254455, 12.19353069103176], [54.08428150880237, 12.193521638098831], [54.08423978799204, 12.193549877447161], [54.08423058536318, 12.19359886689578], [54.084259291745695, 12.193639909033239], [54.08430909127519, 12.193648961885755], [54.08435081200794, 12.193620722471971], [54.084360014559394, 12.193571733103761]],\n", + " var polygon_161971e9f2046d8a8ea59cfaeff5f229 = L.polygon(\n", + " [[54.08021390598647, 12.139464393283276], [54.08018524745121, 12.139423330266323], [54.080135472807896, 12.139414233405383], [54.080093739312794, 12.139442431575048], [54.08008449393616, 12.13949140671626], [54.08011315254893, 12.139532469798691], [54.080162927269605, 12.13954156657927], [54.08020466068718, 12.139513368344128], [54.08021390598647, 12.139464393283276]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_950e5c11bd4eccc503bc3ed0d288ea52 = L.marker(\n", - " [54.1481415, 12.0597695],\n", + " var marker_8d17009a32564ddf72f214412f991f1e = L.marker(\n", + " [54.0665386, 12.1509356],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_358d3b82fb897d172d7d52f09c051037 = L.popup({"maxWidth": "100%"});\n", + " var popup_0fea15e9994641ed4c572fb4c8c79e92 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_af5229e2068b4ed9f20f00620d9b30b7 = $(`<div id="html_af5229e2068b4ed9f20f00620d9b30b7" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0597695, 54.1481415]</div>`)[0];\n", - " popup_358d3b82fb897d172d7d52f09c051037.setContent(html_af5229e2068b4ed9f20f00620d9b30b7);\n", + " var html_51fb66889c8d3d3c0ce959a95f1ffaa8 = $(`<div id="html_51fb66889c8d3d3c0ce959a95f1ffaa8" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1509356, 54.0665386]</div>`)[0];\n", + " popup_0fea15e9994641ed4c572fb4c8c79e92.setContent(html_51fb66889c8d3d3c0ce959a95f1ffaa8);\n", " \n", " \n", "\n", - " marker_950e5c11bd4eccc503bc3ed0d288ea52.bindPopup(popup_358d3b82fb897d172d7d52f09c051037)\n", + " marker_8d17009a32564ddf72f214412f991f1e.bindPopup(popup_0fea15e9994641ed4c572fb4c8c79e92)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_d059b11cf0267d4253446de8975eb3de = L.polygon(\n", - " [[54.148206108571934, 12.05975606444538], [54.14817753262545, 12.059715034781867], [54.14812784925557, 12.059705910050617], [54.14808616225198, 12.059734035452259], [54.1480768913508, 12.05978293555424], [54.14810546737477, 12.059823965283202], [54.148155150821836, 12.059833089934099], [54.14819683774793, 12.059804964467011], [54.148206108571934, 12.05975606444538]],\n", + " var polygon_e8a85af5d710e60472495be7ddd52d18 = L.polygon(\n", + " [[54.06660332439077, 12.150922083988505], [54.066574653361954, 12.150881012851919], [54.066524862762634, 12.150871918072466], [54.06648311919592, 12.15090012730542], [54.066473875531855, 12.150949116011013], [54.06650254663819, 12.150990187213079], [54.06655233731488, 12.150999281912174], [54.06659408080408, 12.150971072613736], [54.06660332439077, 12.150922083988505]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_389179ad5fb35a00eb96e98b12d6ae11 = L.marker(\n", - " [54.0849876, 12.1365015],\n", + " var marker_0f0a1b55fc26025ec06400f6463aaecd = L.marker(\n", + " [54.0762697, 12.1278052],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_dc279fe86af9e44c114db6bef05f4403 = L.popup({"maxWidth": "100%"});\n", + " var popup_98d4fd4f0c15cbf6ca74f74e05e97197 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_0629f9caccb0320a149e2fa52217d191 = $(`<div id="html_0629f9caccb0320a149e2fa52217d191" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1365015, 54.0849876]</div>`)[0];\n", - " popup_dc279fe86af9e44c114db6bef05f4403.setContent(html_0629f9caccb0320a149e2fa52217d191);\n", + " var html_f63b79f447a7774b0faa2c5ae4dde31e = $(`<div id="html_f63b79f447a7774b0faa2c5ae4dde31e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1278052, 54.0762697]</div>`)[0];\n", + " popup_98d4fd4f0c15cbf6ca74f74e05e97197.setContent(html_f63b79f447a7774b0faa2c5ae4dde31e);\n", " \n", " \n", "\n", - " marker_389179ad5fb35a00eb96e98b12d6ae11.bindPopup(popup_dc279fe86af9e44c114db6bef05f4403)\n", + " marker_0f0a1b55fc26025ec06400f6463aaecd.bindPopup(popup_98d4fd4f0c15cbf6ca74f74e05e97197)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_583cbea86f513921e8aac424b2e9b54d = L.polygon(\n", - " [[54.085052299713354, 12.136487995389283], [54.08502364463875, 12.13644693561063], [54.08497387510359, 12.13643783885737], [54.08493214537187, 12.136466033941016], [54.08492290020931, 12.136515004610256], [54.08495155536141, 12.13655606445438], [54.08500132497392, 12.136565161127276], [54.08504305462811, 12.13653696597816], [54.085052299713354, 12.136487995389283]],\n", + " var polygon_ee052a0ff0f325bfcf9ad0fa71ef2e54 = L.polygon(\n", + " [[54.07633440756386, 12.12779170697581], [54.076305758836895, 12.127750636853754], [54.07625598733229, 12.127741529028889], [54.07621424846772, 12.127769718798314], [54.07620499235878, 12.127818693023727], [54.07623364116324, 12.12785976321126], [54.0762834127452, 12.127868870955778], [54.07632515153225, 12.127840681120865], [54.07633440756386, 12.12779170697581]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_bde287154befd8bc66ba3897e3f621a5 = L.marker(\n", - " [54.0855875, 12.12605],\n", + " var marker_7202c1d3c1dce021e9c2423e219dce1e = L.marker(\n", + " [54.2396815, 12.2248919],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_f738ec9ad78746bdee8b620e2c06a4d2 = L.popup({"maxWidth": "100%"});\n", + " var popup_5972fe2f12d41e71d545134ea2cd21c0 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_1178b0655dfdb83e54ed675312f566ca = $(`<div id="html_1178b0655dfdb83e54ed675312f566ca" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.12605, 54.0855875]</div>`)[0];\n", - " popup_f738ec9ad78746bdee8b620e2c06a4d2.setContent(html_1178b0655dfdb83e54ed675312f566ca);\n", + " var html_028c6e24f90e7d1f95f4d4713914588c = $(`<div id="html_028c6e24f90e7d1f95f4d4713914588c" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.2248919, 54.2396815]</div>`)[0];\n", + " popup_5972fe2f12d41e71d545134ea2cd21c0.setContent(html_028c6e24f90e7d1f95f4d4713914588c);\n", " \n", " \n", "\n", - " marker_bde287154befd8bc66ba3897e3f621a5.bindPopup(popup_f738ec9ad78746bdee8b620e2c06a4d2)\n", + " marker_7202c1d3c1dce021e9c2423e219dce1e.bindPopup(popup_5972fe2f12d41e71d545134ea2cd21c0)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_566c38573941ae04cbc11a71d084dee0 = L.polygon(\n", - " [[54.085652196460885, 12.126036506682551], [54.08562355083981, 12.125995444071501], [54.085573787125675, 12.125986339529586], [54.08553205617261, 12.126014526430803], [54.08552280346176, 12.126063493316991], [54.085551449160334, 12.126104555993521], [54.08560121295181, 12.12611366045508], [54.08564294382737, 12.126085473488391], [54.085652196460885, 12.126036506682551]],\n", + " var polygon_c8fd871623a92c2783b137a3750c04ec = L.polygon(\n", + " [[54.23974604400893, 12.224878261701791], [54.239717335159504, 12.224837364554265], [54.23966763455949, 12.224828413477324], [54.239626056091694, 12.224856651947404], [54.23961695591363, 12.224905538297905], [54.23964566484085, 12.224946435510757], [54.23969536551813, 12.224955386507142], [54.23973694390814, 12.224927147971743], [54.23974604400893, 12.224878261701791]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_d8991354f66599e8fcd86c3a08a0388d = L.marker(\n", - " [54.0850253, 12.1002513],\n", + " var marker_534dc617d5377150e331e824557ecac2 = L.marker(\n", + " [54.0926333, 12.1473363],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_5fd8040b1c42ec82aa0f8406a8d6eb66 = L.popup({"maxWidth": "100%"});\n", + " var popup_2fa658b0ea4182ad03461a4d48540e81 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_d155a934c20dded8f736a80c377e4db7 = $(`<div id="html_d155a934c20dded8f736a80c377e4db7" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1002513, 54.0850253]</div>`)[0];\n", - " popup_5fd8040b1c42ec82aa0f8406a8d6eb66.setContent(html_d155a934c20dded8f736a80c377e4db7);\n", + " var html_9ec324ba695cd82673f68e6e7c8d1e9e = $(`<div id="html_9ec324ba695cd82673f68e6e7c8d1e9e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1473363, 54.0926333]</div>`)[0];\n", + " popup_2fa658b0ea4182ad03461a4d48540e81.setContent(html_9ec324ba695cd82673f68e6e7c8d1e9e);\n", " \n", " \n", "\n", - " marker_d8991354f66599e8fcd86c3a08a0388d.bindPopup(popup_5fd8040b1c42ec82aa0f8406a8d6eb66)\n", + " marker_534dc617d5377150e331e824557ecac2.bindPopup(popup_2fa658b0ea4182ad03461a4d48540e81)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_bbbb7f2986dfa9d8f551920a92d8e2c0 = L.polygon(\n", - " [[54.08508999078276, 12.100237835046523], [54.08506136815453, 12.10019676367295], [54.085011617290505, 12.100187638886263], [54.084969881517424, 12.100215805919547], [54.08496060913991, 12.100264764953025], [54.08498923184562, 12.10030583639208], [54.08503898278695, 12.100314961098439], [54.08508071848255, 12.100286793999667], [54.08508999078276, 12.100237835046523]],\n", + " var polygon_2adf0971e3fd9597db325dcfb8fda0dd = L.polygon(\n", + " [[54.09269799361626, 12.147322781715479], [54.09266933010058, 12.147281732038529], [54.09261956064057, 12.147272647479463], [54.09257783945626, 12.147300849706603], [54.09256860630638, 12.147349818284072], [54.09259726989961, 12.147390868026482], [54.092647039436955, 12.147399952505168], [54.09268876054373, 12.147371750212569], [54.09269799361626, 12.147322781715479]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_4b31bd46dee3e218adacd2217dcd385d = L.marker(\n", - " [54.1065143, 12.1676239],\n", + " var marker_8c32927c50459e4d8270e701f73fa088 = L.marker(\n", + " [54.0575803, 12.0746835],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_4d6692f221b003734f97a8896e69e629 = L.popup({"maxWidth": "100%"});\n", + " var popup_3866356f1fd9a43b446cf5352d53d51f = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_357929f67fd164e693b6a7b852e379b6 = $(`<div id="html_357929f67fd164e693b6a7b852e379b6" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1676239, 54.1065143]</div>`)[0];\n", - " popup_4d6692f221b003734f97a8896e69e629.setContent(html_357929f67fd164e693b6a7b852e379b6);\n", + " var html_233e936c4364792a7a5ea3e100e50c20 = $(`<div id="html_233e936c4364792a7a5ea3e100e50c20" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0746835, 54.0575803]</div>`)[0];\n", + " popup_3866356f1fd9a43b446cf5352d53d51f.setContent(html_233e936c4364792a7a5ea3e100e50c20);\n", " \n", " \n", "\n", - " marker_4b31bd46dee3e218adacd2217dcd385d.bindPopup(popup_4d6692f221b003734f97a8896e69e629)\n", + " marker_8c32927c50459e4d8270e701f73fa088.bindPopup(popup_3866356f1fd9a43b446cf5352d53d51f)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_447a0b2bfdac4fb682f84647ddff9166 = L.polygon(\n", - " [[54.106578982700434, 12.167610356209163], [54.10655030329921, 12.167569325073824], [54.10650053365355, 12.167560263136192], [54.10645882809218, 12.167588478813277], [54.10644961722218, 12.167637443790394], [54.10647829670097, 12.16767847499118], [54.106528066423984, 12.167687536848414], [54.10656977190778, 12.167659321105877], [54.106578982700434, 12.167610356209163]],\n", + " var polygon_a1d23179d9e015aae222ec63ea829116 = L.polygon(\n", + " [[54.0576450159551, 12.074670069520932], [54.05761641165943, 12.074628966175032], [54.057566653643406, 12.07461980795033], [54.057524889423306, 12.07464795966744], [54.05751558396761, 12.074696930478588], [54.05754418834069, 12.074738033890009], [54.05759394643403, 12.074747192034417], [54.0576357105767, 12.0747190402518], [54.0576450159551, 12.074670069520932]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_5ea9cb689af3859163dd87b54c5b1a0b = L.marker(\n", - " [54.1752573, 12.0517039],\n", + " var marker_31a559085b72fe8b366e51afdb7d6f7a = L.marker(\n", + " [54.0910929, 12.1473111],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_4d7c8cf164a758aadc622d50057605ec = L.popup({"maxWidth": "100%"});\n", + " var popup_5dc9da7deff1adeb8d631afbaca13563 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_c7224419b4ea183b3aa88c3638e95dfb = $(`<div id="html_c7224419b4ea183b3aa88c3638e95dfb" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0517039, 54.1752573]</div>`)[0];\n", - " popup_4d7c8cf164a758aadc622d50057605ec.setContent(html_c7224419b4ea183b3aa88c3638e95dfb);\n", + " var html_dfec0585cd2032efa74f0682288518a1 = $(`<div id="html_dfec0585cd2032efa74f0682288518a1" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1473111, 54.0910929]</div>`)[0];\n", + " popup_5dc9da7deff1adeb8d631afbaca13563.setContent(html_dfec0585cd2032efa74f0682288518a1);\n", " \n", " \n", "\n", - " marker_5ea9cb689af3859163dd87b54c5b1a0b.bindPopup(popup_4d7c8cf164a758aadc622d50057605ec)\n", + " marker_31a559085b72fe8b366e51afdb7d6f7a.bindPopup(popup_5dc9da7deff1adeb8d631afbaca13563)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_e05a8ad3bccebc7fc277911f0d9a6981 = L.polygon(\n", - " [[54.17532187551403, 12.051690466888614], [54.17529331129914, 12.051649458147907], [54.17524365215352, 12.05164034065196], [54.1752019876766, 12.05166845536307], [54.175192724408724, 12.05171733311104], [54.175221288701124, 12.051758341917171], [54.1752709479239, 12.051767459332755], [54.17531261232328, 12.051739344556218], [54.17532187551403, 12.051690466888614]],\n", + " var polygon_5d83d4d9b5fd167f65e5438e2922fd05 = L.polygon(\n", + " [[54.09115759537484, 12.147297582109546], [54.0911289316282, 12.147256531089369], [54.091079161042394, 12.147247445743075], [54.09103743849686, 12.147275648200143], [54.091028204547776, 12.14732461789], [54.09105686837195, 12.147365668975647], [54.091106639035104, 12.147374754241566], [54.09114836150308, 12.147346551719036], [54.09115759537484, 12.147297582109546]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_e80bb009c6a8d342ce9f07e6b29f3485 = L.marker(\n", - " [54.0935793, 12.1594325],\n", + " var marker_737361e6d63ba17c077a4a38d19284fb = L.marker(\n", + " [54.0816975, 12.1221897],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_f04384989a6c68948e7a9499a90680a3 = L.popup({"maxWidth": "100%"});\n", + " var popup_e272fb806c9b00523cc51bca36e9d0ac = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_113386b742b3532ca58d5d71349a5e01 = $(`<div id="html_113386b742b3532ca58d5d71349a5e01" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1594325, 54.0935793]</div>`)[0];\n", - " popup_f04384989a6c68948e7a9499a90680a3.setContent(html_113386b742b3532ca58d5d71349a5e01);\n", + " var html_9199e7e4c5ffd977c686702a244b29a4 = $(`<div id="html_9199e7e4c5ffd977c686702a244b29a4" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1221897, 54.0816975]</div>`)[0];\n", + " popup_e272fb806c9b00523cc51bca36e9d0ac.setContent(html_9199e7e4c5ffd977c686702a244b29a4);\n", " \n", " \n", "\n", - " marker_e80bb009c6a8d342ce9f07e6b29f3485.bindPopup(popup_f04384989a6c68948e7a9499a90680a3)\n", + " marker_737361e6d63ba17c077a4a38d19284fb.bindPopup(popup_e272fb806c9b00523cc51bca36e9d0ac)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_fa23ff92f0c780ac6e31efc583dc135e = L.polygon(\n", - " [[54.0936439955068, 12.159418968254274], [54.09361532131537, 12.15937792327729], [54.093565546325884, 12.159368848550395], [54.093523827997416, 12.159397059982375], [54.093514604415816, 12.159446031745272], [54.0935432786848, 12.159487076787716], [54.09359305375165, 12.159496151434222], [54.09363477200256, 12.159467939936786], [54.0936439955068, 12.159418968254274]],\n", + " var polygon_bc56892b5989e94d95e1911d8dd8a432 = L.polygon(\n", + " [[54.0817621999696, 12.122176211830325], [54.0817335571622, 12.122135144610317], [54.08168379255816, 12.122126035143808], [54.08164205753291, 12.122154219689564], [54.08163279995304, 12.122203188169209], [54.08166144283795, 12.122244255454708], [54.08171120751932, 12.122253364840864], [54.08175294246706, 12.122225180229634], [54.0817621999696, 12.122176211830325]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b2af2b6585c9d6a1f048b835ae0d7feb = L.marker(\n", - " [54.1695188, 12.0838155],\n", + " var marker_0413cb00a91f8db34eba37d00400d8ed = L.marker(\n", + " [54.170284, 12.0278394],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_559c2080a61923fca896e9f9c7d06c68 = L.popup({"maxWidth": "100%"});\n", + " var popup_2a1ef0761528fa9d6be9b8655617c703 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_ad18e999cbdc65990ca217d60652ad74 = $(`<div id="html_ad18e999cbdc65990ca217d60652ad74" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0838155, 54.1695188]</div>`)[0];\n", - " popup_559c2080a61923fca896e9f9c7d06c68.setContent(html_ad18e999cbdc65990ca217d60652ad74);\n", + " var html_d1be4c8141c80d3bfadbb341898ed4fc = $(`<div id="html_d1be4c8141c80d3bfadbb341898ed4fc" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0278394, 54.170284]</div>`)[0];\n", + " popup_2a1ef0761528fa9d6be9b8655617c703.setContent(html_d1be4c8141c80d3bfadbb341898ed4fc);\n", " \n", " \n", "\n", - " marker_b2af2b6585c9d6a1f048b835ae0d7feb.bindPopup(popup_559c2080a61923fca896e9f9c7d06c68)\n", + " marker_0413cb00a91f8db34eba37d00400d8ed.bindPopup(popup_2a1ef0761528fa9d6be9b8655617c703)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_5bcd677b26766b6542114ab1c8eb7761 = L.polygon(\n", - " [[54.16958338992236, 12.08380203304465], [54.169554795999304, 12.083761029643686], [54.16950511610795, 12.083751934184857], [54.16946345200027, 12.083780074721432], [54.16945421000034, 12.083828966954993], [54.16948280400095, 12.083869970421384], [54.1695324839695, 12.083879065799824], [54.16957414799962, 12.083850925197831], [54.16958338992236, 12.08380203304465]],\n", + " var polygon_b1e1d08a5a5b930547254b36015803e5 = L.polygon(\n", + " [[54.17034857541579, 12.027825994222061], [54.17032003173284, 12.027784973500113], [54.17027038114937, 12.027775835029813], [54.170228708249255, 12.02780393205994], [54.17021942450699, 12.02785280577758], [54.17024796826743, 12.02789382656498], [54.17029761892802, 12.027902964954942], [54.17033929175065, 12.027874867859367], [54.17034857541579, 12.027825994222061]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_51db5b2eb44c5338cb0489bbcbe6a9be = L.marker(\n", - " [54.1958828, 12.1455898],\n", + " var marker_70f15c1258f48fe6cc7b48e560f51adc = L.marker(\n", + " [54.0607981, 12.1164077],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_b018c0914c4955fb396d49253fc72434 = L.popup({"maxWidth": "100%"});\n", + " var popup_8406a6bcebe97ef685bcb24fe29e8cd4 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_1883013cd19f3d2bbfaff072df27de62 = $(`<div id="html_1883013cd19f3d2bbfaff072df27de62" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1455898, 54.1958828]</div>`)[0];\n", - " popup_b018c0914c4955fb396d49253fc72434.setContent(html_1883013cd19f3d2bbfaff072df27de62);\n", + " var html_d84cdba33ec5a27fc4fcccd2fa0929c8 = $(`<div id="html_d84cdba33ec5a27fc4fcccd2fa0929c8" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1164077, 54.0607981]</div>`)[0];\n", + " popup_8406a6bcebe97ef685bcb24fe29e8cd4.setContent(html_d84cdba33ec5a27fc4fcccd2fa0929c8);\n", " \n", " \n", "\n", - " marker_51db5b2eb44c5338cb0489bbcbe6a9be.bindPopup(popup_b018c0914c4955fb396d49253fc72434)\n", + " marker_70f15c1258f48fe6cc7b48e560f51adc.bindPopup(popup_8406a6bcebe97ef685bcb24fe29e8cd4)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_77729ab9529b6ecae803b299736c6245 = L.polygon(\n", - " [[54.1959473747896, 12.145576259085557], [54.1959187298786, 12.145535298409133], [54.19586903773188, 12.145526263971597], [54.19582740728045, 12.145554448080828], [54.19581822513304, 12.145603340914109], [54.195846870121684, 12.145644301655913], [54.195896562345624, 12.14565333601299], [54.19593819271942, 12.145625151838377], [54.1959473747896, 12.145576259085557]],\n", + " var polygon_389babb5bb17db3c6e38da94af7ddd28 = L.polygon(\n", + " [[54.060862822484395, 12.11639422311847], [54.06083418140681, 12.116353135938226], [54.06078440433042, 12.116344011591478], [54.06074264993683, 12.116372195053605], [54.06073337743825, 12.116421176881047], [54.060762018593316, 12.116462264126794], [54.06081179574702, 12.116471388393217], [54.060853550063165, 12.116443204865588], [54.060862822484395, 12.11639422311847]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_d22d43cbd2ebf558469448cdd68454e0 = L.marker(\n", - " [54.0774956, 12.127966],\n", + " var marker_50071198e2b5029058997a9f76fca204 = L.marker(\n", + " [54.0838296, 12.1279239],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_b2ff3a3e9fa24c32265794dce9e88153 = L.popup({"maxWidth": "100%"});\n", + " var popup_caa240f9de216e590e310dfb323234ed = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_29e3d1bf25b74de2d301b72052285df2 = $(`<div id="html_29e3d1bf25b74de2d301b72052285df2" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.127966, 54.0774956]</div>`)[0];\n", - " popup_b2ff3a3e9fa24c32265794dce9e88153.setContent(html_29e3d1bf25b74de2d301b72052285df2);\n", + " var html_1d8e4d5822f62d449f6c0917681be3c3 = $(`<div id="html_1d8e4d5822f62d449f6c0917681be3c3" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1279239, 54.0838296]</div>`)[0];\n", + " popup_caa240f9de216e590e310dfb323234ed.setContent(html_1d8e4d5822f62d449f6c0917681be3c3);\n", " \n", " \n", "\n", - " marker_d22d43cbd2ebf558469448cdd68454e0.bindPopup(popup_b2ff3a3e9fa24c32265794dce9e88153)\n", + " marker_50071198e2b5029058997a9f76fca204.bindPopup(popup_caa240f9de216e590e310dfb323234ed)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_b7e37fbc5d300f963903759ff47fe555 = L.polygon(\n", - " [[54.07756030619932, 12.127952506508608], [54.07753165753035, 12.127911437500313], [54.077481886849114, 12.127902330410466], [54.07744014909094, 12.1279305201056], [54.07743089372333, 12.127979493490932], [54.077459542469796, 12.128020562564702], [54.07750931322838, 12.128029669574198], [54.077551050909044, 12.128001479813582], [54.07756030619932, 12.127952506508608]],\n", + " var polygon_0462800780f71ae7cc6cd497c346e21d = L.polygon(\n", + " [[54.08389429893425, 12.127910405049755], [54.08386565134637, 12.127869341516435], [54.0838158853687, 12.127860237548973], [54.08377415318133, 12.127888426184851], [54.08376490098841, 12.12793739494979], [54.0837935486538, 12.127978458548585], [54.08384331470881, 12.127987562435695], [54.08388504681867, 12.127959373734337], [54.08389429893425, 12.127910405049755]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_5ab1017b36afcc753c37af786a7f2abd = L.marker(\n", - " [54.0907908, 12.0979016],\n", + " var marker_11d03d83139a5fa9fdbd6b39d4e41288 = L.marker(\n", + " [54.0882146, 12.1177109],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_7962a4710d54bd448989c385a0a85faf = L.popup({"maxWidth": "100%"});\n", + " var popup_cba1b9effbde06363c16561db1083caf = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_777c0e7f038c403f0d8539798cfcbc9a = $(`<div id="html_777c0e7f038c403f0d8539798cfcbc9a" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0979016, 54.0907908]</div>`)[0];\n", - " popup_7962a4710d54bd448989c385a0a85faf.setContent(html_777c0e7f038c403f0d8539798cfcbc9a);\n", + " var html_27d698da54ffe35aac18e97295e14aa9 = $(`<div id="html_27d698da54ffe35aac18e97295e14aa9" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1177109, 54.0882146]</div>`)[0];\n", + " popup_cba1b9effbde06363c16561db1083caf.setContent(html_27d698da54ffe35aac18e97295e14aa9);\n", " \n", " \n", "\n", - " marker_5ab1017b36afcc753c37af786a7f2abd.bindPopup(popup_7962a4710d54bd448989c385a0a85faf)\n", + " marker_11d03d83139a5fa9fdbd6b39d4e41288.bindPopup(popup_cba1b9effbde06363c16561db1083caf)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_c3bf0cf0986909af56fe1e1bdbaa9888 = L.polygon(\n", - " [[54.09085548360393, 12.097888136251491], [54.09082686403029, 12.097847069119648], [54.09077711863678, 12.097837945384086], [54.09073538754559, 12.097866109662167], [54.09072611631878, 12.09791506374806], [54.09075473596989, 12.097956130945391], [54.09080448144069, 12.097965254600618], [54.090846212454395, 12.097937090257059], [54.09085548360393, 12.097888136251491]],\n", + " var polygon_7eb83011e43ec438c4a060cb6040df0a = L.polygon(\n", + " [[54.08827929140658, 12.117697415183835], [54.088250653681825, 12.11765635217443], [54.08820089619918, 12.117647242487575], [54.0881591661625, 12.117675422511104], [54.08814990851609, 12.117724384815718], [54.08817854631834, 12.117765447890603], [54.0882283038783, 12.117774557497109], [54.088270033837496, 12.117746377408103], [54.08827929140658, 12.117697415183835]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_a3aac7eee838ff29f672b4006e7e2dec = L.marker(\n", - " [54.0880921, 12.1438914],\n", + " var marker_31af72f2d1aedeb54b5a6c55104d1681 = L.marker(\n", + " [54.115314, 12.1400929],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_9ff9e83bbaadaa371124f0b83436d072 = L.popup({"maxWidth": "100%"});\n", + " var popup_17bee84ce8873b62940d921233670ae1 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_0b64d251dd6f5a0fc61e2cca4721aa63 = $(`<div id="html_0b64d251dd6f5a0fc61e2cca4721aa63" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1438914, 54.0880921]</div>`)[0];\n", - " popup_9ff9e83bbaadaa371124f0b83436d072.setContent(html_0b64d251dd6f5a0fc61e2cca4721aa63);\n", + " var html_32231fb6c9b2b2a579e23c7013bc561e = $(`<div id="html_32231fb6c9b2b2a579e23c7013bc561e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1400929, 54.115314]</div>`)[0];\n", + " popup_17bee84ce8873b62940d921233670ae1.setContent(html_32231fb6c9b2b2a579e23c7013bc561e);\n", " \n", " \n", "\n", - " marker_a3aac7eee838ff29f672b4006e7e2dec.bindPopup(popup_9ff9e83bbaadaa371124f0b83436d072)\n", + " marker_31af72f2d1aedeb54b5a6c55104d1681.bindPopup(popup_17bee84ce8873b62940d921233670ae1)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_cec80c58a60a21f713c8c88107268d66 = L.polygon(\n", - " [[54.08815679797226, 12.143877886565255], [54.0881281367934, 12.143836831847356], [54.088078365749666, 12.143827742359326], [54.08803663998877, 12.143855942656806], [54.08802740195039, 12.143904913434286], [54.088056063206764, 12.143945968217658], [54.088105834327834, 12.143955057625318], [54.08814756001121, 12.14392685726237], [54.08815679797226, 12.143877886565255]],\n", + " var polygon_5cd01c710fc4c227ff591451418077b9 = L.polygon(\n", + " [[54.115378665847246, 12.140079384249653], [54.11535001255377, 12.140038351910563], [54.11530026359464, 12.140029273048595], [54.115258561180745, 12.140057465994794], [54.11524933407539, 12.140106415749926], [54.115277987446426, 12.140147448154462], [54.11532773648286, 12.14015652693604], [54.1153694388192, 12.140128333924391], [54.115378665847246, 12.140079384249653]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_868e83f9b261f7b323560b7f762e4bfc = L.marker(\n", - " [54.1456401, 12.0813741],\n", + " var marker_aa16285f695c44969da5ff448c9e85d3 = L.marker(\n", + " [54.0876098, 12.1144365],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_83caf0ed0ca48fdcd17de1efa7be3e54 = L.popup({"maxWidth": "100%"});\n", + " var popup_8224bd25ea3af32da8323a67a0a05772 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_4a7e2b2d44bfb2066ac6a55d04b280d6 = $(`<div id="html_4a7e2b2d44bfb2066ac6a55d04b280d6" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0813741, 54.1456401]</div>`)[0];\n", - " popup_83caf0ed0ca48fdcd17de1efa7be3e54.setContent(html_4a7e2b2d44bfb2066ac6a55d04b280d6);\n", + " var html_007141e42e36301f35f16bf0d38de00b = $(`<div id="html_007141e42e36301f35f16bf0d38de00b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1144365, 54.0876098]</div>`)[0];\n", + " popup_8224bd25ea3af32da8323a67a0a05772.setContent(html_007141e42e36301f35f16bf0d38de00b);\n", " \n", " \n", "\n", - " marker_868e83f9b261f7b323560b7f762e4bfc.bindPopup(popup_83caf0ed0ca48fdcd17de1efa7be3e54)\n", + " marker_aa16285f695c44969da5ff448c9e85d3.bindPopup(popup_8224bd25ea3af32da8323a67a0a05772)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_ec912c573f8ca62120ae84f6ec34bc62 = L.polygon(\n", - " [[54.145704716708835, 12.081360641365508], [54.145676121008066, 12.081319616471463], [54.145626424689226, 12.081310507235658], [54.14558473912728, 12.081338649781715], [54.14557548321389, 12.081387558634106], [54.14560407899217, 12.081428583593594], [54.14565377538823, 12.081437692749034], [54.14569546087265, 12.081409550137534], [54.145704716708835, 12.081360641365508]],\n", + " var polygon_e7a0d37b0ce6724da29f87efc81df2b6 = L.polygon(\n", + " [[54.08767449129678, 12.114423018910552], [54.08764585640254, 12.114381954326705], [54.08759610015665, 12.114372841804641], [54.08755436903849, 12.114401019393005], [54.08754510862588, 12.114449981088995], [54.08757374359762, 12.11449104573832], [54.08762349992082, 12.114500158180041], [54.08766523096149, 12.114471980526194], [54.08767449129678, 12.114423018910552]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_ad8f9e521d187eeb7ad2c905ffa95ca8 = L.marker(\n", - " [54.0901444, 12.1146255],\n", + " var marker_615be0a4c1b212dc2285572ab72f3efe = L.marker(\n", + " [54.1232622, 12.0782089],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_f46dd6b656f363563bc44b038bbb4cda = L.popup({"maxWidth": "100%"});\n", + " var popup_af50894df09f4ea2bd5b1fe70b177531 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_bc69117daa333b713cdee80ac05e5ce9 = $(`<div id="html_bc69117daa333b713cdee80ac05e5ce9" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1146255, 54.0901444]</div>`)[0];\n", - " popup_f46dd6b656f363563bc44b038bbb4cda.setContent(html_bc69117daa333b713cdee80ac05e5ce9);\n", + " var html_abcc891e061ac89fdf3d75985636198e = $(`<div id="html_abcc891e061ac89fdf3d75985636198e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0782089, 54.1232622]</div>`)[0];\n", + " popup_af50894df09f4ea2bd5b1fe70b177531.setContent(html_abcc891e061ac89fdf3d75985636198e);\n", " \n", " \n", "\n", - " marker_ad8f9e521d187eeb7ad2c905ffa95ca8.bindPopup(popup_f46dd6b656f363563bc44b038bbb4cda)\n", + " marker_615be0a4c1b212dc2285572ab72f3efe.bindPopup(popup_af50894df09f4ea2bd5b1fe70b177531)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_501a48ea8232f6d33db843ff510e7b2f = L.polygon(\n", - " [[54.09020908843977, 12.114612018102255], [54.09018045379456, 12.114570955775376], [54.09013069932541, 12.11456184466167], [54.090088970470916, 12.114590021984789], [54.09007971148289, 12.114638981897299], [54.09010834620562, 12.114680044289655], [54.09015810075207, 12.114689155323013], [54.09019982952906, 12.114660977934419], [54.09020908843977, 12.114612018102255]],\n", + " var polygon_8054c9ef941b3598fcae9b20a775244e = L.polygon(\n", + " [[54.12332684158685, 12.078195450124085], [54.123298245008165, 12.078154404813413], [54.123248533752474, 12.078145281990112], [54.12320682794455, 12.07817342573715], [54.12319755833585, 12.078222349875505], [54.12322615499203, 12.078263395251636], [54.12327586632496, 12.078272517994595], [54.123317572055385, 12.078244374182093], [54.12332684158685, 12.078195450124085]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_27c39f411a6fd34b94658e8d0f2b2571 = L.marker(\n", - " [54.0835982, 12.1313371],\n", + " var marker_7039cff4d4ed7e60f3958aa201c39722 = L.marker(\n", + " [54.106698, 12.1394799],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_c6195f8c260a415b48e2095a0e12ccd5 = L.popup({"maxWidth": "100%"});\n", + " var popup_3ff780fbc3603e08e8eebc78a4a17b9c = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_ec79ffd407989cad72e68cd16b3ce7ef = $(`<div id="html_ec79ffd407989cad72e68cd16b3ce7ef" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1313371, 54.0835982]</div>`)[0];\n", - " popup_c6195f8c260a415b48e2095a0e12ccd5.setContent(html_ec79ffd407989cad72e68cd16b3ce7ef);\n", + " var html_c40c83fdad9c7a0fd1d7c271d186e17b = $(`<div id="html_c40c83fdad9c7a0fd1d7c271d186e17b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1394799, 54.106698]</div>`)[0];\n", + " popup_3ff780fbc3603e08e8eebc78a4a17b9c.setContent(html_c40c83fdad9c7a0fd1d7c271d186e17b);\n", " \n", " \n", "\n", - " marker_27c39f411a6fd34b94658e8d0f2b2571.bindPopup(popup_c6195f8c260a415b48e2095a0e12ccd5)\n", + " marker_7039cff4d4ed7e60f3958aa201c39722.bindPopup(popup_3ff780fbc3603e08e8eebc78a4a17b9c)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_8d84a0193a33c28f5cfc68afe3093228 = L.polygon(\n", - " [[54.08366290003694, 12.131323601370166], [54.08363424935608, 12.131282538731064], [54.08358448145129, 12.131273437289455], [54.083542749631555, 12.131301628603214], [54.083533499885704, 12.131350598629382], [54.08356215064407, 12.131391661333959], [54.08361191862618, 12.131400762695213], [54.08365365036841, 12.131372571315977], [54.08366290003694, 12.131323601370166]],\n", + " var polygon_665f1260924d666f07836ce2db44e241 = L.polygon(\n", + " [[54.106762675570856, 12.13946638696871], [54.1067340214061, 12.13942534696318], [54.10668426639012, 12.13941626333287], [54.10664255628182, 12.139444457202066], [54.10663332435178, 12.139493413030847], [54.10666197859409, 12.139534453101835], [54.10671173368739, 12.139543536651757], [54.10675344371814, 12.13951534271711], [54.106762675570856, 12.13946638696871]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_2332acfaafd57030a7eaf85ecbf37f96 = L.marker(\n", - " [54.0907843, 12.1221953],\n", + " var marker_2eb6f4b6219104c5f9d970c840f2c4c2 = L.marker(\n", + " [54.0749545, 12.1234077],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_fb1e3877886ece22441d43f06098d172 = L.popup({"maxWidth": "100%"});\n", + " var popup_323928f18135da30b8db034b5dfc1291 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_10537355c7877bac0e4beb9847186a96 = $(`<div id="html_10537355c7877bac0e4beb9847186a96" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1221953, 54.0907843]</div>`)[0];\n", - " popup_fb1e3877886ece22441d43f06098d172.setContent(html_10537355c7877bac0e4beb9847186a96);\n", + " var html_e19c4171c43354421002118cd16b657e = $(`<div id="html_e19c4171c43354421002118cd16b657e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1234077, 54.0749545]</div>`)[0];\n", + " popup_323928f18135da30b8db034b5dfc1291.setContent(html_e19c4171c43354421002118cd16b657e);\n", " \n", " \n", "\n", - " marker_2332acfaafd57030a7eaf85ecbf37f96.bindPopup(popup_fb1e3877886ece22441d43f06098d172)\n", + " marker_2eb6f4b6219104c5f9d970c840f2c4c2.bindPopup(popup_323928f18135da30b8db034b5dfc1291)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_06cc1145e83f14849abff064f04af7fa = L.polygon(\n", - " [[54.09084898956247, 12.122181809666435], [54.09082034824806, 12.122140750322393], [54.090770590358794, 12.122131645385798], [54.0907288633367, 12.122159828461843], [54.0907196103602, 12.122208790333108], [54.0907482517521, 12.122249849742632], [54.09079800971869, 12.122258954598873], [54.090839736663284, 12.122230771457346], [54.09084898956247, 12.122181809666435]],\n", + " var polygon_7a8c50c874c4507ea81cc28cac4264e0 = L.polygon(\n", + " [[54.07501920799111, 12.123394212099214], [54.07499056298267, 12.123353139427351], [54.07494079276804, 12.123344027545102], [54.07489905200925, 12.123372214126327], [54.074889791931525, 12.123421187900323], [54.07491843701747, 12.123462260637675], [54.074968207309446, 12.123471372439578], [54.07500994799073, 12.123443185792866], [54.07501920799111, 12.123394212099214]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_3c9320bbb7a731d3202082e54712993d = L.marker(\n", - " [54.0575803, 12.0746836],\n", + " var marker_886a6f78ff9c64743637260f3fe5d438 = L.marker(\n", + " [54.1354221, 12.0509945],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_0bdfca96e8df6992e61ad810152d778e = L.popup({"maxWidth": "100%"});\n", + " var popup_f5733450bcaf8ecfcead9642cb2aafca = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_16109af1137edac498a93977fe0b9dab = $(`<div id="html_16109af1137edac498a93977fe0b9dab" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0746836, 54.0575803]</div>`)[0];\n", - " popup_0bdfca96e8df6992e61ad810152d778e.setContent(html_16109af1137edac498a93977fe0b9dab);\n", + " var html_0d1137c06be221319745446e2470964b = $(`<div id="html_0d1137c06be221319745446e2470964b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0509945, 54.1354221]</div>`)[0];\n", + " popup_f5733450bcaf8ecfcead9642cb2aafca.setContent(html_0d1137c06be221319745446e2470964b);\n", " \n", " \n", "\n", - " marker_3c9320bbb7a731d3202082e54712993d.bindPopup(popup_0bdfca96e8df6992e61ad810152d778e)\n", + " marker_886a6f78ff9c64743637260f3fe5d438.bindPopup(popup_f5733450bcaf8ecfcead9642cb2aafca)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_979ed1a00a4637d3c62ad0eaceaf22af = L.polygon(\n", - " [[54.05764501595513, 12.074670169520827], [54.05761641165937, 12.074629066174952], [54.05756665364329, 12.074619907950332], [54.0575248894232, 12.074648059667513], [54.05751558396758, 12.074697030478701], [54.05754418834076, 12.074738133890087], [54.05759394643414, 12.07474729203442], [54.057635710576804, 12.074719140251723], [54.05764501595513, 12.074670169520827]],\n", + " var polygon_7e161eced40ebebfef40199cea18a73f = L.polygon(\n", + " [[54.135486721014836, 12.050981077060703], [54.13545815080664, 12.05094003355264], [54.135408462524765, 12.050930895696911], [54.13536676283626, 12.050959016382267], [54.135357478907885, 12.051007922938908], [54.13538604919356, 12.051048966512434], [54.13543573755262, 12.05105810428784], [54.13547743716365, 12.051029983537013], [54.135486721014836, 12.050981077060703]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_3bfe41bf2e80e02ad75197c5733540b4 = L.marker(\n", - " [54.0900467, 12.1364026],\n", + " var marker_157772b64acdfc7f5a63bf710432ae30 = L.marker(\n", + " [54.0688182, 12.0734501],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_62a3ef76595652e0b688c66ac3abaaac = L.popup({"maxWidth": "100%"});\n", + " var popup_6f1a2309678f3bc0fb1c3baefe3327e8 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_290b3069ff4eab70f123482a2ac44039 = $(`<div id="html_290b3069ff4eab70f123482a2ac44039" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1364026, 54.0900467]</div>`)[0];\n", - " popup_62a3ef76595652e0b688c66ac3abaaac.setContent(html_290b3069ff4eab70f123482a2ac44039);\n", + " var html_563d1794d36ed68da8d71556b91f158c = $(`<div id="html_563d1794d36ed68da8d71556b91f158c" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0734501, 54.0688182]</div>`)[0];\n", + " popup_6f1a2309678f3bc0fb1c3baefe3327e8.setContent(html_563d1794d36ed68da8d71556b91f158c);\n", " \n", " \n", "\n", - " marker_3bfe41bf2e80e02ad75197c5733540b4.bindPopup(popup_62a3ef76595652e0b688c66ac3abaaac)\n", + " marker_157772b64acdfc7f5a63bf710432ae30.bindPopup(popup_6f1a2309678f3bc0fb1c3baefe3327e8)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_e4e8530103a039a79f758aacdc392ddb = L.polygon(\n", - " [[54.09011139389367, 12.136389094294806], [54.09008273974073, 12.136348038868865], [54.0900329739964, 12.136338944559693], [54.0899912487041, 12.136367138747088], [54.089982006028976, 12.136416105704745], [54.09001066025943, 12.13645716119616], [54.09006042608109, 12.136466255424963], [54.090102151295866, 12.136438061172102], [54.09011139389367, 12.136389094294806]],\n", + " var polygon_0fef6aed22ea606cbd8d6d1e6f93a94f = L.polygon(\n", + " [[54.06888290278863, 12.073436668211116], [54.06885430145326, 12.073395574201648], [54.06880455237617, 12.073386420611502], [54.068762797837344, 12.073414569546424], [54.06875349713409, 12.07346353178842], [54.06878209854688, 12.073504625863391], [54.06883184770126, 12.073513779373236], [54.068873602162654, 12.073485630372813], [54.06888290278863, 12.073436668211116]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_2cb156d3aaea903832a9795fb72bf5f5 = L.marker(\n", - " [54.1458788, 12.1160422],\n", + " var marker_47e6686d93ea6f667f861590ccffed2d = L.marker(\n", + " [54.0873342, 12.1366725],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_acc8b0ec61b1534e711af869eb00d937 = L.popup({"maxWidth": "100%"});\n", + " var popup_e3f6cb58c2572807dc8862486b0a37ec = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_7d6f6ce52c0d456773f3b3fcf76d5888 = $(`<div id="html_7d6f6ce52c0d456773f3b3fcf76d5888" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1160422, 54.1458788]</div>`)[0];\n", - " popup_acc8b0ec61b1534e711af869eb00d937.setContent(html_7d6f6ce52c0d456773f3b3fcf76d5888);\n", + " var html_46a52f083ee23590a6388f36a493b9f8 = $(`<div id="html_46a52f083ee23590a6388f36a493b9f8" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1366725, 54.0873342]</div>`)[0];\n", + " popup_e3f6cb58c2572807dc8862486b0a37ec.setContent(html_46a52f083ee23590a6388f36a493b9f8);\n", " \n", " \n", "\n", - " marker_2cb156d3aaea903832a9795fb72bf5f5.bindPopup(popup_acc8b0ec61b1534e711af869eb00d937)\n", + " marker_47e6686d93ea6f667f861590ccffed2d.bindPopup(popup_e3f6cb58c2572807dc8862486b0a37ec)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_45f7defdc297b9151f9af18ce2fe2767 = L.polygon(\n", - " [[54.145943424911536, 12.116028703330509], [54.14591479820646, 12.115987689775686], [54.14586508424016, 12.11597860751712], [54.14582340472524, 12.11600677687554], [54.14581417501111, 12.116055696669099], [54.14584280179376, 12.116096710289355], [54.14589251583731, 12.116105792467538], [54.14593419527467, 12.116077623043681], [54.145943424911536, 12.116028703330509]],\n", + " var polygon_9a1db9777ee73d28cd1995e5d06bb77a = L.polygon(\n", + " [[54.08739889706728, 12.136658994644304], [54.08737024222603, 12.13661793695412], [54.08732047433753, 12.136608841502333], [54.087278746701244, 12.136637036338065], [54.08726950285537, 12.136686005355237], [54.08729815777416, 12.136727063110888], [54.08734792573998, 12.136736158482309], [54.08738965329876, 12.136707963581102], [54.08739889706728, 12.136658994644304]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_fb5af6d1caece356c1932301abbcb14c = L.marker(\n", - " [54.0885057, 12.117603],\n", + " var marker_31d6f9e951f83f9c8b7d700929c81d72 = L.marker(\n", + " [54.0878029, 12.1172718],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_1574a789e8d0d20d22e96c96f324a5c9 = L.popup({"maxWidth": "100%"});\n", + " var popup_b46cf25e18bb67226474c1fec09d917f = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_6901c20f69e88fef22ec0fc8e7f007e9 = $(`<div id="html_6901c20f69e88fef22ec0fc8e7f007e9" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.117603, 54.0885057]</div>`)[0];\n", - " popup_1574a789e8d0d20d22e96c96f324a5c9.setContent(html_6901c20f69e88fef22ec0fc8e7f007e9);\n", + " var html_c99a859dbe8405829eb9e85618c1ce2d = $(`<div id="html_c99a859dbe8405829eb9e85618c1ce2d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1172718, 54.0878029]</div>`)[0];\n", + " popup_b46cf25e18bb67226474c1fec09d917f.setContent(html_c99a859dbe8405829eb9e85618c1ce2d);\n", " \n", " \n", "\n", - " marker_fb5af6d1caece356c1932301abbcb14c.bindPopup(popup_1574a789e8d0d20d22e96c96f324a5c9)\n", + " marker_31d6f9e951f83f9c8b7d700929c81d72.bindPopup(popup_b46cf25e18bb67226474c1fec09d917f)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_6f5f522ce6f4a689789b989a37e345aa = L.polygon(\n", - " [[54.08857039104668, 12.117589515232812], [54.088541753466494, 12.117548452441042], [54.08849199625456, 12.117539342815652], [54.08845026645614, 12.117567522708452], [54.088441008875996, 12.117616484766732], [54.08846964653367, 12.117657547623976], [54.088519403822914, 12.117666657169023], [54.08856113354384, 12.117638477210738], [54.08857039104668, 12.117589515232812]],\n", + " var polygon_4c2f46e08a62a6e37c07dc0708fb60db = L.polygon(\n", + " [[54.087867591770525, 12.117258315762065], [54.08783895437083, 12.117217252255042], [54.08778919680964, 12.117208142023356], [54.08774746633678, 12.117236321773984], [54.08773820815212, 12.117285284237488], [54.08776684562933, 12.117326347809987], [54.08781660326784, 12.117335457961325], [54.08785833366318, 12.117307278145223], [54.087867591770525, 12.117258315762065]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_c2a9c793a291a4040a3cbde13d874931 = L.marker(\n", - " [54.090163, 12.122597],\n", + " var marker_67f8b25638617d773fc0a5d429e83465 = L.marker(\n", + " [54.0922189, 12.1445669],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_b80b738f915f83d0139fd45e4af7ad8e = L.popup({"maxWidth": "100%"});\n", + " var popup_e27b358cbeb07643025a75de20e04a87 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_f90d54e3c4954acee93be6ea144b61be = $(`<div id="html_f90d54e3c4954acee93be6ea144b61be" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.122597, 54.090163]</div>`)[0];\n", - " popup_b80b738f915f83d0139fd45e4af7ad8e.setContent(html_f90d54e3c4954acee93be6ea144b61be);\n", + " var html_8f4ea34b627f75868c456bc3410e02a7 = $(`<div id="html_8f4ea34b627f75868c456bc3410e02a7" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1445669, 54.0922189]</div>`)[0];\n", + " popup_e27b358cbeb07643025a75de20e04a87.setContent(html_8f4ea34b627f75868c456bc3410e02a7);\n", " \n", " \n", "\n", - " marker_c2a9c793a291a4040a3cbde13d874931.bindPopup(popup_b80b738f915f83d0139fd45e4af7ad8e)\n", + " marker_67f8b25638617d773fc0a5d429e83465.bindPopup(popup_e27b358cbeb07643025a75de20e04a87)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_755d035a025a1fe4dfb8080f51d8b4b0 = L.polygon(\n", - " [[54.090227690372686, 12.12258350937438], [54.09019904859632, 12.12254244962077], [54.09014929004107, 12.122533344685616], [54.0901075625391, 12.122561528173263], [54.09009830954995, 12.122610490625176], [54.09012695140384, 12.12265155044426], [54.0901767100364, 12.12266065529906], [54.09021843746086, 12.122632471745945], [54.090227690372686, 12.12258350937438]],\n", + " var polygon_5ecdcc45f6e12d0b001b3786ec5d1b18 = L.polygon(\n", + " [[54.09228359341048, 12.144553384844478], [54.09225493230612, 12.144512333920021], [54.09220516396546, 12.144503247011297], [54.092163441952806, 12.144531447163022], [54.09215420651214, 12.144580415155072], [54.09218286769404, 12.144621466144992], [54.09223263611204, 12.144630552973343], [54.092274358047156, 12.144602352756154], [54.09228359341048, 12.144553384844478]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_d16aa4edb1982258d58d1101db76cc03 = L.marker(\n", - " [54.0902058, 12.0870228],\n", + " var marker_fc6d6a906658364aef2c75122a225e7e = L.marker(\n", + " [54.1458788, 12.1160422],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_d8b449d76f48130878acbd93404e6ce4 = L.popup({"maxWidth": "100%"});\n", + " var popup_fe6d8dc5eaf90c19eb90f5c031247775 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_858cae41578bf3009274a5ba40c3062f = $(`<div id="html_858cae41578bf3009274a5ba40c3062f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0870228, 54.0902058]</div>`)[0];\n", - " popup_d8b449d76f48130878acbd93404e6ce4.setContent(html_858cae41578bf3009274a5ba40c3062f);\n", + " var html_372afc945dee76784fd9f4eaf1f44323 = $(`<div id="html_372afc945dee76784fd9f4eaf1f44323" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1160422, 54.1458788]</div>`)[0];\n", + " popup_fe6d8dc5eaf90c19eb90f5c031247775.setContent(html_372afc945dee76784fd9f4eaf1f44323);\n", " \n", " \n", "\n", - " marker_d16aa4edb1982258d58d1101db76cc03.bindPopup(popup_d8b449d76f48130878acbd93404e6ce4)\n", + " marker_fc6d6a906658364aef2c75122a225e7e.bindPopup(popup_fe6d8dc5eaf90c19eb90f5c031247775)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_b68dcab3cc47ad5a4575c36f7ab68326 = L.polygon(\n", - " [[54.090270481613196, 12.087009348296437], [54.09024187167558, 12.086968277167573], [54.09019213143957, 12.086959144720632], [54.0901503980062, 12.086987300675965], [54.0901411183095, 12.087036251703116], [54.090169728324575, 12.087077322897468], [54.090219468637855, 12.087086455264084], [54.09026120199377, 12.087058299243258], [54.090270481613196, 12.087009348296437]],\n", + " var polygon_f252dad8e7c3d436aa1d8b8354857444 = L.polygon(\n", + " [[54.145943424911536, 12.116028703330509], [54.14591479820646, 12.115987689775686], [54.14586508424016, 12.11597860751712], [54.14582340472524, 12.11600677687554], [54.14581417501111, 12.116055696669099], [54.14584280179376, 12.116096710289355], [54.14589251583731, 12.116105792467538], [54.14593419527467, 12.116077623043681], [54.145943424911536, 12.116028703330509]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_70c4826f31a3f0e1b6829e0999b1b95d = L.marker(\n", - " [54.0910929, 12.1473111],\n", + " var marker_5ce49608a72d8db529e3a0111221e5cc = L.marker(\n", + " [54.085109, 12.1100865],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_d17e77fef4d57532a250d83e69ef58d5 = L.popup({"maxWidth": "100%"});\n", + " var popup_ca0b1ea3cf6941bd702ff92e6b1b336f = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_c45a9ffec8d3e41d475edb2f46d0868b = $(`<div id="html_c45a9ffec8d3e41d475edb2f46d0868b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1473111, 54.0910929]</div>`)[0];\n", - " popup_d17e77fef4d57532a250d83e69ef58d5.setContent(html_c45a9ffec8d3e41d475edb2f46d0868b);\n", + " var html_caa2f17a56cba61e9733fa6beeecbf91 = $(`<div id="html_caa2f17a56cba61e9733fa6beeecbf91" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1100865, 54.085109]</div>`)[0];\n", + " popup_ca0b1ea3cf6941bd702ff92e6b1b336f.setContent(html_caa2f17a56cba61e9733fa6beeecbf91);\n", " \n", " \n", "\n", - " marker_70c4826f31a3f0e1b6829e0999b1b95d.bindPopup(popup_d17e77fef4d57532a250d83e69ef58d5)\n", + " marker_5ce49608a72d8db529e3a0111221e5cc.bindPopup(popup_ca0b1ea3cf6941bd702ff92e6b1b336f)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_365769b124dc70da4edb74776c86a135 = L.polygon(\n", - " [[54.09115759537484, 12.147297582109546], [54.0911289316282, 12.147256531089369], [54.091079161042394, 12.147247445743075], [54.09103743849686, 12.147275648200143], [54.091028204547776, 12.14732461789], [54.09105686837195, 12.147365668975647], [54.091106639035104, 12.147374754241566], [54.09114836150308, 12.147346551719036], [54.09115759537484, 12.147297582109546]],\n", + " var polygon_6b1b39b2856c4c5d85ef5ac659536b4d = L.polygon(\n", + " [[54.08517369309537, 12.110073024264064], [54.08514506168107, 12.110031956117911], [54.085095305823046, 12.110022838984278], [54.08505357177345, 12.110051013613198], [54.08504430682733, 12.110099975735482], [54.085072938319115, 12.110141043947117], [54.085122694254444, 12.110150161000414], [54.08516442822655, 12.110121986306005], [54.08517369309537, 12.110073024264064]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_2842893c050d21f6280cdc68125e8744 = L.marker(\n", - " [54.0881093, 12.0997687],\n", + " var marker_f5553af011bb7b5ef48a3ffe4dd829f4 = L.marker(\n", + " [54.0894689, 12.1169997],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_982f59e233b305fd4e3fa9832dd36dcc = L.popup({"maxWidth": "100%"});\n", + " var popup_cf3a87485f197ee22646a28400f2ed4b = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_7b38f2c98c967ddded1e743e9fcadb77 = $(`<div id="html_7b38f2c98c967ddded1e743e9fcadb77" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0997687, 54.0881093]</div>`)[0];\n", - " popup_982f59e233b305fd4e3fa9832dd36dcc.setContent(html_7b38f2c98c967ddded1e743e9fcadb77);\n", + " var html_42b9bec4f96cfcd9f31352bc2d3d958a = $(`<div id="html_42b9bec4f96cfcd9f31352bc2d3d958a" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1169997, 54.0894689]</div>`)[0];\n", + " popup_cf3a87485f197ee22646a28400f2ed4b.setContent(html_42b9bec4f96cfcd9f31352bc2d3d958a);\n", " \n", " \n", "\n", - " marker_2842893c050d21f6280cdc68125e8744.bindPopup(popup_982f59e233b305fd4e3fa9832dd36dcc)\n", + " marker_f5553af011bb7b5ef48a3ffe4dd829f4.bindPopup(popup_cf3a87485f197ee22646a28400f2ed4b)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_6eae690d0263858e5593ad15ab21a500 = L.polygon(\n", - " [[54.0881739871323, 12.099755234843643], [54.08814536544518, 12.099714165987347], [54.08809561710935, 12.09970504236219], [54.08805388397059, 12.09973320852086], [54.08804461279037, 12.099782165155908], [54.08807323455496, 12.09982323407769], [54.08812298296809, 12.09983235762251], [54.08816471602937, 12.099804191398356], [54.0881739871323, 12.099755234843643]],\n", + " var polygon_4c297db5ce0fc0c8d0088d81a2a9fbb5 = L.polygon(\n", + " [[54.08953358979546, 12.116986215664392], [54.08950495291407, 12.116945153513766], [54.08945519672453, 12.116936043901132], [54.089413467673204, 12.116964223170834], [54.08940421012721, 12.11701318433516], [54.0894328470861, 12.117054246551266], [54.089482603352955, 12.117063356083547], [54.089524332326775, 12.117035176748368], [54.08953358979546, 12.116986215664392]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_ad9b91bc370b8757f1e87c6e8bd609dc = L.marker(\n", - " [54.1027334, 12.150946],\n", + " var marker_f05163e606956b2d24df0b1b73cc5704 = L.marker(\n", + " [54.091133, 12.1136771],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_c024132cd71d2cec77615a247c157d78 = L.popup({"maxWidth": "100%"});\n", + " var popup_1b44eac469b4622cbf2c3ce46457fd50 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_2621eb8603484768a4dd6a5044cb7f20 = $(`<div id="html_2621eb8603484768a4dd6a5044cb7f20" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.150946, 54.1027334]</div>`)[0];\n", - " popup_c024132cd71d2cec77615a247c157d78.setContent(html_2621eb8603484768a4dd6a5044cb7f20);\n", + " var html_6998e3f0421e53b26f564c09494e9cbb = $(`<div id="html_6998e3f0421e53b26f564c09494e9cbb" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1136771, 54.091133]</div>`)[0];\n", + " popup_1b44eac469b4622cbf2c3ce46457fd50.setContent(html_6998e3f0421e53b26f564c09494e9cbb);\n", " \n", " \n", "\n", - " marker_ad9b91bc370b8757f1e87c6e8bd609dc.bindPopup(popup_c024132cd71d2cec77615a247c157d78)\n", + " marker_f05163e606956b2d24df0b1b73cc5704.bindPopup(popup_1b44eac469b4622cbf2c3ce46457fd50)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_16dfb26a2fe325279675b8c01dbe8742 = L.polygon(\n", - " [[54.10279808293085, 12.150932475362092], [54.10276941784532, 12.150891435598282], [54.102719653994434, 12.150882358867099], [54.102677942312425, 12.150910562251404], [54.102668716991765, 12.150959524637468], [54.102697382154844, 12.151000564466727], [54.10274714608307, 12.151009641117525], [54.102788857687514, 12.150981437667761], [54.10279808293085, 12.150932475362092]],\n", + " var polygon_7f3ee43faff5293e87ec617390ab1dc8 = L.polygon(\n", + " [[54.0911976870749, 12.113663618905559], [54.09116905344155, 12.113622557131125], [54.091119300191046, 12.113613445775686], [54.09107757204812, 12.113641622204488], [54.09106831284776, 12.113690581093987], [54.091096946558615, 12.1137316429339], [54.09114669988642, 12.113740754208994], [54.091188427951856, 12.113712577714711], [54.0911976870749, 12.113663618905559]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_2e1d8205a39c3ff15c04549375a7fdbd = L.marker(\n", - " [54.1066981, 12.1394799],\n", + " var marker_c9786520eea4de39a231ce340f01af06 = L.marker(\n", + " [54.0873779, 12.1271768],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_5e78f3444bdc90f7ac1fb7c62679e12f = L.popup({"maxWidth": "100%"});\n", + " var popup_42a2951a78dc45ce6db3533776d9db3a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_5450807fd7e2024bede087c57d8aa7cf = $(`<div id="html_5450807fd7e2024bede087c57d8aa7cf" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1394799, 54.1066981]</div>`)[0];\n", - " popup_5e78f3444bdc90f7ac1fb7c62679e12f.setContent(html_5450807fd7e2024bede087c57d8aa7cf);\n", + " var html_a21df015dba1164b3b86a5a02cceb316 = $(`<div id="html_a21df015dba1164b3b86a5a02cceb316" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1271768, 54.0873779]</div>`)[0];\n", + " popup_42a2951a78dc45ce6db3533776d9db3a.setContent(html_a21df015dba1164b3b86a5a02cceb316);\n", " \n", " \n", "\n", - " marker_2e1d8205a39c3ff15c04549375a7fdbd.bindPopup(popup_5e78f3444bdc90f7ac1fb7c62679e12f)\n", + " marker_c9786520eea4de39a231ce340f01af06.bindPopup(popup_42a2951a78dc45ce6db3533776d9db3a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_ccd466769b9700aa252a86460175eaaf = L.polygon(\n", - " [[54.106762775570736, 12.13946638696869], [54.10673412140599, 12.139425346963243], [54.106684366390084, 12.139416263332986], [54.10664265628188, 12.139444457202165], [54.106633424351884, 12.139493413030879], [54.106662078594184, 12.139534453101778], [54.10671183368741, 12.13954353665165], [54.10675354371807, 12.139515342717015], [54.106762775570736, 12.13946638696869]],\n", + " var polygon_626c71db35a1ae2a4f45e48caa8183c7 = L.polygon(\n", + " [[54.08744259468647, 12.127163305024279], [54.08741394835196, 12.127122244326177], [54.087364185381716, 12.127113141548028], [54.08732245619415, 12.127141329030628], [54.08731320523618, 12.127190294975266], [54.087341851648205, 12.127231355738843], [54.08739161469577, 12.127240458436635], [54.087433343805834, 12.12721227088856], [54.08744259468647, 12.127163305024279]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_1144e9c3450193c433293ec99ae8cef8 = L.marker(\n", - " [54.0749545, 12.1234077],\n", + " var marker_ca3bc1ffeae88c4f842c59feffb99d30 = L.marker(\n", + " [54.0932258, 12.0886808],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_81adc44ed539f196ae78bb53a98fe2fa = L.popup({"maxWidth": "100%"});\n", + " var popup_f898ac157b9e305af841750d9c8abcd0 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_5d0ea38e177076c4cc0fdd23b2ef6f17 = $(`<div id="html_5d0ea38e177076c4cc0fdd23b2ef6f17" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1234077, 54.0749545]</div>`)[0];\n", - " popup_81adc44ed539f196ae78bb53a98fe2fa.setContent(html_5d0ea38e177076c4cc0fdd23b2ef6f17);\n", + " var html_5d541c3ab85932f2133583a477d871d7 = $(`<div id="html_5d541c3ab85932f2133583a477d871d7" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0886808, 54.0932258]</div>`)[0];\n", + " popup_f898ac157b9e305af841750d9c8abcd0.setContent(html_5d541c3ab85932f2133583a477d871d7);\n", " \n", " \n", "\n", - " marker_1144e9c3450193c433293ec99ae8cef8.bindPopup(popup_81adc44ed539f196ae78bb53a98fe2fa)\n", + " marker_ca3bc1ffeae88c4f842c59feffb99d30.bindPopup(popup_f898ac157b9e305af841750d9c8abcd0)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_fbd4fee8860da5dce51a4a3d76b9ef74 = L.polygon(\n", - " [[54.07501920799111, 12.123394212099214], [54.07499056298267, 12.123353139427351], [54.07494079276804, 12.123344027545102], [54.07489905200925, 12.123372214126327], [54.074889791931525, 12.123421187900323], [54.07491843701747, 12.123462260637675], [54.074968207309446, 12.123471372439578], [54.07500994799073, 12.123443185792866], [54.07501920799111, 12.123394212099214]],\n", + " var polygon_c47367d7712c2efee9f7b78d4ca1c408 = L.polygon(\n", + " [[54.09329047855936, 12.088667345766675], [54.093261867637864, 12.088626277786393], [54.09321212878323, 12.088617148125534], [54.09317039828726, 12.088645304872413], [54.09316112136333, 12.088694254232886], [54.09318973236232, 12.088735322278648], [54.093239471294225, 12.088744451859174], [54.093281201712706, 12.088716295046817], [54.09329047855936, 12.088667345766675]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_a29a2a7a7795928a0b898e86e2d7d1ea = L.marker(\n", - " [54.0901095, 12.0969966],\n", + " var marker_01689c8aa97e0124d23940ab7765fdd6 = L.marker(\n", + " [54.1449725, 12.060393],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_1f025f10765229b512905fd8a491fd39 = L.popup({"maxWidth": "100%"});\n", + " var popup_134c1277305185940d8fb6aad24ff6f6 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_23aaf52f45e8b77af9f95bbb8c8df1bc = $(`<div id="html_23aaf52f45e8b77af9f95bbb8c8df1bc" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0969966, 54.0901095]</div>`)[0];\n", - " popup_1f025f10765229b512905fd8a491fd39.setContent(html_23aaf52f45e8b77af9f95bbb8c8df1bc);\n", + " var html_15f0138d2a74ee4dc303130b93274f05 = $(`<div id="html_15f0138d2a74ee4dc303130b93274f05" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.060393, 54.1449725]</div>`)[0];\n", + " popup_134c1277305185940d8fb6aad24ff6f6.setContent(html_15f0138d2a74ee4dc303130b93274f05);\n", " \n", " \n", "\n", - " marker_a29a2a7a7795928a0b898e86e2d7d1ea.bindPopup(popup_1f025f10765229b512905fd8a491fd39)\n", + " marker_01689c8aa97e0124d23940ab7765fdd6.bindPopup(popup_134c1277305185940d8fb6aad24ff6f6)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_f9481ca30d3cb6032944364a9b0db829 = L.polygon(\n", - " [[54.090174184162855, 12.0969831374034], [54.09014556528638, 12.096942069390897], [54.09009581985422, 12.096932944615775], [54.09005408801122, 12.096961108304363], [54.09004481575982, 12.097010062596153], [54.09007343471379, 12.097051130674146], [54.090123180223245, 12.097060255368932], [54.09016491198876, 12.097032091614858], [54.090174184162855, 12.0969831374034]],\n", + " var polygon_cb2069ef1d60da99bf1ae13c218409ac = L.polygon(\n", + " [[54.14503711235686, 12.060379564510237], [54.145008535325665, 12.060338532299467], [54.14495884928933, 12.060329406475118], [54.144917159599494, 12.06035753287814], [54.14490788756586, 12.060406435489387], [54.14493646467456, 12.06044746776561], [54.144986150788085, 12.060456593509606], [54.145027840400424, 12.060428467041136], [54.14503711235686, 12.060379564510237]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_967726613803d3996f9de9bd2e3c74a6 = L.marker(\n", - " [54.088053, 12.1225145],\n", + " var marker_76b35b1687edb9f38a63ab176590e192 = L.marker(\n", + " [54.0804928, 12.1265164],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_602ad149c725889d03c9c23bf5b84533 = L.popup({"maxWidth": "100%"});\n", + " var popup_6013d9b721793de63d81c7789faa6450 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_15dffe2873ff456d903147d3f52189d4 = $(`<div id="html_15dffe2873ff456d903147d3f52189d4" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1225145, 54.088053]</div>`)[0];\n", - " popup_602ad149c725889d03c9c23bf5b84533.setContent(html_15dffe2873ff456d903147d3f52189d4);\n", + " var html_00c418917b29ae33dd61a6c2546ca8e4 = $(`<div id="html_00c418917b29ae33dd61a6c2546ca8e4" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1265164, 54.0804928]</div>`)[0];\n", + " popup_6013d9b721793de63d81c7789faa6450.setContent(html_00c418917b29ae33dd61a6c2546ca8e4);\n", " \n", " \n", "\n", - " marker_967726613803d3996f9de9bd2e3c74a6.bindPopup(popup_602ad149c725889d03c9c23bf5b84533)\n", + " marker_76b35b1687edb9f38a63ab176590e192.bindPopup(popup_6013d9b721793de63d81c7789faa6450)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_0137f81b9ad741cfa6a62c87e1cc63eb = L.polygon(\n", - " [[54.088117692769515, 12.122501009965687], [54.088089050719084, 12.12245994835711], [54.08803929064631, 12.122450842307222], [54.08799756127228, 12.122479026073353], [54.08798830715316, 12.122527990033854], [54.0880169492811, 12.122569051707906], [54.08806670943119, 12.122578157677452], [54.08810843872771, 12.122549973845835], [54.088117692769515, 12.122501009965687]],\n", + " var polygon_3861ae6e7b240591988e1b0fda77bb81 = L.polygon(\n", + " [[54.080557502410834, 12.126502907382486], [54.080528855532876, 12.126461840506316], [54.080479087812726, 12.12645273378771], [54.0804373524512, 12.12648092187575], [54.08042809751184, 12.126529892617045], [54.08045674446729, 12.126570959558704], [54.080506512264776, 12.126580066196953], [54.08054824754881, 12.126551878043438], [54.080557502410834, 12.126502907382486]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_52f9bd73f82d621eaa806a2efb47121e = L.marker(\n", - " [54.1014301, 12.0682548],\n", + " var marker_dd855c22cf3bc83716c273818954ee23 = L.marker(\n", + " [54.0839037, 12.1146229],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_3ee4109be7dd2d791f6876d1ce768a1b = L.popup({"maxWidth": "100%"});\n", + " var popup_1df83aa68f398e8ca228f5ad1b7737c6 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_bc6d0410d58a88dc74ac4832a4b11e22 = $(`<div id="html_bc6d0410d58a88dc74ac4832a4b11e22" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0682548, 54.1014301]</div>`)[0];\n", - " popup_3ee4109be7dd2d791f6876d1ce768a1b.setContent(html_bc6d0410d58a88dc74ac4832a4b11e22);\n", + " var html_f97a89d5b47f39eb88e385239f0854bf = $(`<div id="html_f97a89d5b47f39eb88e385239f0854bf" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1146229, 54.0839037]</div>`)[0];\n", + " popup_1df83aa68f398e8ca228f5ad1b7737c6.setContent(html_f97a89d5b47f39eb88e385239f0854bf);\n", " \n", " \n", "\n", - " marker_52f9bd73f82d621eaa806a2efb47121e.bindPopup(popup_3ee4109be7dd2d791f6876d1ce768a1b)\n", + " marker_dd855c22cf3bc83716c273818954ee23.bindPopup(popup_1df83aa68f398e8ca228f5ad1b7737c6)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_f21920f95219eec6cf312107d4d442fb = L.polygon(\n", - " [[54.101494764172145, 12.068241366185038], [54.10146617288117, 12.068200298759258], [54.10141645058558, 12.068191157367288], [54.10137472387717, 12.06821929696936], [54.10136543575058, 12.068268233814525], [54.10139402711902, 12.068309301305788], [54.10144374949184, 12.068318442617445], [54.1014854761228, 12.068290302949888], [54.101494764172145, 12.068241366185038]],\n", + " var polygon_0b539c3ece892ed058a9a9872940e6c9 = L.polygon(\n", + " [[54.083968395587476, 12.114609419586097], [54.083939759915104, 12.114568351850693], [54.08389000083348, 12.114559237627484], [54.08384826648308, 12.114587415961632], [54.08383900433517, 12.114636380413447], [54.08386764008504, 12.114677448214335], [54.083917399243994, 12.114686562357198], [54.083959133516885, 12.114658383957577], [54.083968395587476, 12.114609419586097]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_3a90e834f28df6ec6add4c269e244548 = L.marker(\n", - " [54.0922189, 12.1445669],\n", + " var marker_495efafef84075375b295b6cc344b6e3 = L.marker(\n", + " [54.0815608, 12.1357495],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_c3aca31db4855e0defac6017bfdfad16 = L.popup({"maxWidth": "100%"});\n", + " var popup_64c7891209d8c5540b1b9888fbd41c56 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_130c7768ca1fbfcecac57224b8d78226 = $(`<div id="html_130c7768ca1fbfcecac57224b8d78226" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1445669, 54.0922189]</div>`)[0];\n", - " popup_c3aca31db4855e0defac6017bfdfad16.setContent(html_130c7768ca1fbfcecac57224b8d78226);\n", + " var html_385aad683a9eda9b3316e393944820e5 = $(`<div id="html_385aad683a9eda9b3316e393944820e5" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1357495, 54.0815608]</div>`)[0];\n", + " popup_64c7891209d8c5540b1b9888fbd41c56.setContent(html_385aad683a9eda9b3316e393944820e5);\n", " \n", " \n", "\n", - " marker_3a90e834f28df6ec6add4c269e244548.bindPopup(popup_c3aca31db4855e0defac6017bfdfad16)\n", + " marker_495efafef84075375b295b6cc344b6e3.bindPopup(popup_64c7891209d8c5540b1b9888fbd41c56)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_43c4d2ee04a3f5f6e8a86ea003210601 = L.polygon(\n", - " [[54.09228359341048, 12.144553384844478], [54.09225493230612, 12.144512333920021], [54.09220516396546, 12.144503247011297], [54.092163441952806, 12.144531447163022], [54.09215420651214, 12.144580415155072], [54.09218286769404, 12.144621466144992], [54.09223263611204, 12.144630552973343], [54.092274358047156, 12.144602352756154], [54.09228359341048, 12.144553384844478]],\n", + " var polygon_f14d8522205cd0753cfd819e2ea8dff6 = L.polygon(\n", + " [[54.081625503453914, 12.135735997026751], [54.08159684848822, 12.135694934037287], [54.081547076807006, 12.135685834994865], [54.08150534393138, 12.135714030051949], [54.08149609646873, 12.13576300297279], [54.081524751511935, 12.13580406602773], [54.08157452327051, 12.135813164989791], [54.0816162560686, 12.135784969867235], [54.081625503453914, 12.135735997026751]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_5236179d08722c4c1c836f30f5a8c48f = L.marker(\n", - " [54.0784688, 12.1261956],\n", + " var marker_9e83b7d8d93a8167098243f9e6a81f85 = L.marker(\n", + " [54.0835783, 12.1332427],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_ee32aba1cf57d3948c7d21d79e6612dd = L.popup({"maxWidth": "100%"});\n", + " var popup_7511962d93ccee5d4d2cc93001dbf0e2 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_139c841ee5ceb7503512eeca8652d927 = $(`<div id="html_139c841ee5ceb7503512eeca8652d927" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1261956, 54.0784688]</div>`)[0];\n", - " popup_ee32aba1cf57d3948c7d21d79e6612dd.setContent(html_139c841ee5ceb7503512eeca8652d927);\n", + " var html_df1bbc879e3d6bbd60705d9747e0edb7 = $(`<div id="html_df1bbc879e3d6bbd60705d9747e0edb7" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1332427, 54.0835783]</div>`)[0];\n", + " popup_7511962d93ccee5d4d2cc93001dbf0e2.setContent(html_df1bbc879e3d6bbd60705d9747e0edb7);\n", " \n", " \n", "\n", - " marker_5236179d08722c4c1c836f30f5a8c48f.bindPopup(popup_ee32aba1cf57d3948c7d21d79e6612dd)\n", + " marker_9e83b7d8d93a8167098243f9e6a81f85.bindPopup(popup_7511962d93ccee5d4d2cc93001dbf0e2)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_5908fab1127a1b739c11ba9fb8b3eb75 = L.polygon(\n", - " [[54.078533504650274, 12.126182108214312], [54.07850485772597, 12.126141039481483], [54.07845508867479, 12.126131931506562], [54.07841335147723, 12.126160119674543], [54.07840409527238, 12.126209091785228], [54.07843274227418, 12.12625016058354], [54.078482511402704, 12.12625926847811], [54.07852424852277, 12.126231080244645], [54.078533504650274, 12.126182108214312]],\n", + " var polygon_9f1adf0bf8e10f71bf20511aa8542bb4 = L.polygon(\n", + " [[54.08364300052752, 12.133229199289891], [54.083614348137786, 12.133188137244733], [54.08356457923778, 12.133179037267741], [54.08352284771948, 12.133207230058831], [54.08351359939513, 12.133256200709651], [54.08354225186239, 12.133297262820282], [54.08359202083972, 12.133306362716915], [54.083633752280505, 12.13327816986035], [54.08364300052752, 12.133229199289891]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_5f2704e42d1e0438772e331891ec4465 = L.marker(\n", - " [54.060379, 12.1073962],\n", + " var marker_5c23da92590ce60f72bd28f645d91a89 = L.marker(\n", + " [54.0765518, 12.1409248],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_a5fa361aa8c0b95a90c82dda1e5e054e = L.popup({"maxWidth": "100%"});\n", + " var popup_a5168cb16bc1ff275e41635a4d177093 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_59ce5f425d87ceae4418af87719dbfb1 = $(`<div id="html_59ce5f425d87ceae4418af87719dbfb1" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1073962, 54.060379]</div>`)[0];\n", - " popup_a5fa361aa8c0b95a90c82dda1e5e054e.setContent(html_59ce5f425d87ceae4418af87719dbfb1);\n", + " var html_1761894db61eeb3795b1ffca81b99229 = $(`<div id="html_1761894db61eeb3795b1ffca81b99229" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1409248, 54.0765518]</div>`)[0];\n", + " popup_a5168cb16bc1ff275e41635a4d177093.setContent(html_1761894db61eeb3795b1ffca81b99229);\n", " \n", " \n", "\n", - " marker_5f2704e42d1e0438772e331891ec4465.bindPopup(popup_a5fa361aa8c0b95a90c82dda1e5e054e)\n", + " marker_5c23da92590ce60f72bd28f645d91a89.bindPopup(popup_a5168cb16bc1ff275e41635a4d177093)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_409c3d3e0816f73cbed4389255762b0a = L.polygon(\n", - " [[54.0604437207553, 12.107382733074674], [54.06041508766937, 12.107341642642002], [54.060365314916126, 12.107332511115851], [54.06032355864472, 12.107360687677186], [54.060314279167386, 12.107409666924841], [54.060342912330775, 12.107450757423019], [54.06039268516134, 12.107459888868854], [54.0604344413553, 12.107431712242011], [54.0604437207553, 12.107382733074674]],\n", + " var polygon_ff653830e66ac2e47513e606f80f6c25 = L.polygon(\n", + " [[54.076616510462266, 12.140911292555955], [54.07658785003998, 12.140870226885703], [54.076538071993156, 12.14086112935179], [54.07649633557182, 12.140889329223018], [54.07648708946036, 12.14093830744358], [54.07651574996015, 12.14097937317931], [54.076565528084316, 12.140988470632868], [54.076607264428155, 12.140960270696159], [54.076616510462266, 12.140911292555955]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_5979b50ae7a33d44e6db662020372523 = L.marker(\n", - " [54.1551259, 12.07381],\n", + " var marker_18d63e3be7dec674f14d17d069f6d43a = L.marker(\n", + " [54.1375112, 12.056174],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_71a12cd2fe4aba6537d145d39287878f = L.popup({"maxWidth": "100%"});\n", + " var popup_b5893ba2d52bc989be0ce85b6449570b = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_38fe8a138b2c9264fe537ee1827bc3e8 = $(`<div id="html_38fe8a138b2c9264fe537ee1827bc3e8" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.07381, 54.1551259]</div>`)[0];\n", - " popup_71a12cd2fe4aba6537d145d39287878f.setContent(html_38fe8a138b2c9264fe537ee1827bc3e8);\n", + " var html_8fecf6bb384202d932e6eaac4eb33634 = $(`<div id="html_8fecf6bb384202d932e6eaac4eb33634" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.056174, 54.1375112]</div>`)[0];\n", + " popup_b5893ba2d52bc989be0ce85b6449570b.setContent(html_8fecf6bb384202d932e6eaac4eb33634);\n", " \n", " \n", "\n", - " marker_5979b50ae7a33d44e6db662020372523.bindPopup(popup_71a12cd2fe4aba6537d145d39287878f)\n", + " marker_18d63e3be7dec674f14d17d069f6d43a.bindPopup(popup_b5893ba2d52bc989be0ce85b6449570b)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_f9ddf458aee4fd4d529a86a0a9a1d270 = L.polygon(\n", - " [[54.15519050398689, 12.073796547411218], [54.15516191663262, 12.07375552831337], [54.155112231223335, 12.073746417936938], [54.15507055274336, 12.07377455307371], [54.15506129593582, 12.07382345258841], [54.155089883367616, 12.073864471751705], [54.155139568854096, 12.073873582047769], [54.15518124725655, 12.073845446845558], [54.15519050398689, 12.073796547411218]],\n", + " var polygon_4c7a74631a05f361c08d5245b8a02cc4 = L.polygon(\n", + " [[54.13757581988186, 12.056160570893558], [54.137547245386344, 12.056119530859608], [54.13749755599228, 12.056110398055525], [54.13745585901823, 12.056138522410896], [54.13744658004086, 12.056187429106055], [54.13747515461386, 12.056228469205468], [54.13752484408511, 12.056237601929213], [54.13756654098168, 12.05620947750839], [54.13757581988186, 12.056160570893558]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_79a2a60320ec68c0a686d6ee21caf45f = L.marker(\n", - " [54.0864112, 12.119361],\n", + " var marker_1672cc9d278128c6ea3ff640e48759c3 = L.marker(\n", + " [54.0903028, 12.1262643],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_fe6ca0a548920946c5460edc9df9b551 = L.popup({"maxWidth": "100%"});\n", + " var popup_a92605997132fc9a87a582a42004076c = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_e8016d4a9cfa650b8121ae4297747bb4 = $(`<div id="html_e8016d4a9cfa650b8121ae4297747bb4" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.119361, 54.0864112]</div>`)[0];\n", - " popup_fe6ca0a548920946c5460edc9df9b551.setContent(html_e8016d4a9cfa650b8121ae4297747bb4);\n", + " var html_65193838497f0f5a3170400967c7c9c1 = $(`<div id="html_65193838497f0f5a3170400967c7c9c1" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1262643, 54.0903028]</div>`)[0];\n", + " popup_a92605997132fc9a87a582a42004076c.setContent(html_65193838497f0f5a3170400967c7c9c1);\n", " \n", " \n", "\n", - " marker_79a2a60320ec68c0a686d6ee21caf45f.bindPopup(popup_fe6ca0a548920946c5460edc9df9b551)\n", + " marker_1672cc9d278128c6ea3ff640e48759c3.bindPopup(popup_a92605997132fc9a87a582a42004076c)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_1461ae12490725f9994f8fa063392e81 = L.polygon(\n", - " [[54.08647589387685, 12.119347513806273], [54.08644725437796, 12.119306449763442], [54.08639749471341, 12.11929734045549], [54.08635576336514, 12.119325522048284], [54.086346506045814, 12.119374486193275], [54.0863751456222, 12.119415550301586], [54.08642490536407, 12.119424659529189], [54.08646663663483, 12.119396477870918], [54.08647589387685, 12.119347513806273]],\n", + " var polygon_4375cee15b6030a32d462a5b1c7b8b32 = L.polygon(\n", + " [[54.09036749111206, 12.12625080532803], [54.09033884607636, 12.126209746871968], [54.090289085737936, 12.126200644844571], [54.09024735897352, 12.126228831146861], [54.090238108810595, 12.126277794671529], [54.09026675392382, 12.126318853193059], [54.09031651433955, 12.126327955140104], [54.090358241026465, 12.126299768772338], [54.09036749111206, 12.12625080532803]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_6ed226ab7c22f6c12fa0e9dbfbcea7b1 = L.marker(\n", - " [54.1787046, 12.0891147],\n", + " var marker_b589d159f25390fb87ad397df48cbcc6 = L.marker(\n", + " [54.0958825, 12.1558723],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_f3db82bc493ba5dc8fa6b439c97861aa = L.popup({"maxWidth": "100%"});\n", + " var popup_e1340522537c0da7e3c86eb2ba44e8d0 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_58ad83fbb4a1cbae59e8d49ae9a484bf = $(`<div id="html_58ad83fbb4a1cbae59e8d49ae9a484bf" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0891147, 54.1787046]</div>`)[0];\n", - " popup_f3db82bc493ba5dc8fa6b439c97861aa.setContent(html_58ad83fbb4a1cbae59e8d49ae9a484bf);\n", + " var html_6bba2e4905919a69c8559c60ba9a22de = $(`<div id="html_6bba2e4905919a69c8559c60ba9a22de" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1558723, 54.0958825]</div>`)[0];\n", + " popup_e1340522537c0da7e3c86eb2ba44e8d0.setContent(html_6bba2e4905919a69c8559c60ba9a22de);\n", " \n", " \n", "\n", - " marker_6ed226ab7c22f6c12fa0e9dbfbcea7b1.bindPopup(popup_f3db82bc493ba5dc8fa6b439c97861aa)\n", + " marker_b589d159f25390fb87ad397df48cbcc6.bindPopup(popup_e1340522537c0da7e3c86eb2ba44e8d0)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_bb7abadd206e9f9cabe1c055273d3d05 = L.polygon(\n", - " [[54.178769180679204, 12.089101225064377], [54.17874058353538, 12.089060231334487], [54.178690907724445, 12.089051144556288], [54.17864925260813, 12.089079287698045], [54.17864001924348, 12.08912817493527], [54.17866861646486, 12.089169168730578], [54.178718292353, 12.089178255428386], [54.17875994739174, 12.08915011222121], [54.178769180679204, 12.089101225064377]],\n", + " var polygon_79ff60b6b8bb9d2f520e42053db35d6b = L.polygon(\n", + " [[54.095947191992124, 12.155858771601586], [54.09591852136768, 12.155817727479148], [54.09586874991452, 12.155808651145414], [54.095827033020214, 12.155836859450426], [54.095817807930494, 12.155885828397968], [54.0958464786325, 12.155926872585864], [54.09589625016301, 12.155935948839208], [54.09593796697976, 12.155907740468738], [54.095947191992124, 12.155858771601586]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b5f939e7c918bc67acddfb139348ceee = L.marker(\n", - " [54.0932257, 12.0886806],\n", + " var marker_d877fb5e724af261273d00cdc3ecf364 = L.marker(\n", + " [54.0865824, 12.0848014],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_fb35c199fe661a0d1f10396992fe3a27 = L.popup({"maxWidth": "100%"});\n", + " var popup_4aaaf92802752d7c10c047f0e837f7d8 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_37ba889cb3bc6be736154995a36d3c99 = $(`<div id="html_37ba889cb3bc6be736154995a36d3c99" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0886806, 54.0932257]</div>`)[0];\n", - " popup_fb35c199fe661a0d1f10396992fe3a27.setContent(html_37ba889cb3bc6be736154995a36d3c99);\n", + " var html_7ea71fd90ca5af35c83d13147edf225d = $(`<div id="html_7ea71fd90ca5af35c83d13147edf225d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0848014, 54.0865824]</div>`)[0];\n", + " popup_4aaaf92802752d7c10c047f0e837f7d8.setContent(html_7ea71fd90ca5af35c83d13147edf225d);\n", " \n", " \n", "\n", - " marker_b5f939e7c918bc67acddfb139348ceee.bindPopup(popup_fb35c199fe661a0d1f10396992fe3a27)\n", + " marker_d877fb5e724af261273d00cdc3ecf364.bindPopup(popup_4aaaf92802752d7c10c047f0e837f7d8)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_03222610ec5472b669450f3a40299fcb = L.polygon(\n", - " [[54.093290378559416, 12.088667145766916], [54.09326176763809, 12.088626077786484], [54.09321202878347, 12.088616948125424], [54.0931702982874, 12.08864510487216], [54.093161021363265, 12.088694054232638], [54.09318963236207, 12.088735122278553], [54.09323937129396, 12.088744251859287], [54.09328110171256, 12.088716095047063], [54.093290378559416, 12.088667145766916]],\n", + " var polygon_7501939b04e61778bac41d58553ce2da = L.polygon(\n", + " [[54.086647085220264, 12.084787951585502], [54.08661847667063, 12.08474687660472], [54.08656873489659, 12.084737740635566], [54.0865269979001, 12.08476589546167], [54.08651771470245, 12.084814848414046], [54.086546323329536, 12.084855923460323], [54.08659606518086, 12.084865059349152], [54.08663780209989, 12.08483690445756], [54.086647085220264, 12.084787951585502]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_bc4b70711e51b74a6f3a206091e7fec7 = L.marker(\n", - " [54.1449725, 12.060393],\n", + " var marker_0277b009893c586322a717ddce0df54f = L.marker(\n", + " [54.1131978, 12.084071],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_44268dbcfced2dfba87c9de458093d7d = L.popup({"maxWidth": "100%"});\n", + " var popup_f928df75d1c9e37c450e9aa5cc0f987d = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_007f8059181584df68236b6a9b667b88 = $(`<div id="html_007f8059181584df68236b6a9b667b88" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.060393, 54.1449725]</div>`)[0];\n", - " popup_44268dbcfced2dfba87c9de458093d7d.setContent(html_007f8059181584df68236b6a9b667b88);\n", + " var html_14686afbe0656003c37a8bceb9a95de2 = $(`<div id="html_14686afbe0656003c37a8bceb9a95de2" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.084071, 54.1131978]</div>`)[0];\n", + " popup_f928df75d1c9e37c450e9aa5cc0f987d.setContent(html_14686afbe0656003c37a8bceb9a95de2);\n", " \n", " \n", "\n", - " marker_bc4b70711e51b74a6f3a206091e7fec7.bindPopup(popup_44268dbcfced2dfba87c9de458093d7d)\n", + " marker_0277b009893c586322a717ddce0df54f.bindPopup(popup_f928df75d1c9e37c450e9aa5cc0f987d)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_5f2fe902cf808a39f771d8be1ffcd89d = L.polygon(\n", - " [[54.14503711235686, 12.060379564510237], [54.145008535325665, 12.060338532299467], [54.14495884928933, 12.060329406475118], [54.144917159599494, 12.06035753287814], [54.14490788756586, 12.060406435489387], [54.14493646467456, 12.06044746776561], [54.144986150788085, 12.060456593509606], [54.145027840400424, 12.060428467041136], [54.14503711235686, 12.060379564510237]],\n", + " var polygon_36eebecb625cc6da20241d116175da5b = L.polygon(\n", + " [[54.113262454551695, 12.084057546085603], [54.11323385105971, 12.084016493933328], [54.11318412934581, 12.084007370641826], [54.113142415661045, 12.084035520568337], [54.113133145370995, 12.084084453913986], [54.11316174894047, 12.084125506131727], [54.11321147073162, 12.084134629342884], [54.1132531843389, 12.084106479350906], [54.113262454551695, 12.084057546085603]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_77fe98333606c2b2997828616213f85d = L.marker(\n", + " [54.0749545, 12.1234077],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_29b865332f1051aabd6c692222f2777d = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_908c8e282bec28a1c8cea406b869502f = $(`<div id="html_908c8e282bec28a1c8cea406b869502f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1234077, 54.0749545]</div>`)[0];\n", + " popup_29b865332f1051aabd6c692222f2777d.setContent(html_908c8e282bec28a1c8cea406b869502f);\n", + " \n", + " \n", + "\n", + " marker_77fe98333606c2b2997828616213f85d.bindPopup(popup_29b865332f1051aabd6c692222f2777d)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_aa150b6e9df5b5c926daba479430324b = L.polygon(\n", + " [[54.07501920799111, 12.123394212099214], [54.07499056298267, 12.123353139427351], [54.07494079276804, 12.123344027545102], [54.07489905200925, 12.123372214126327], [54.074889791931525, 12.123421187900323], [54.07491843701747, 12.123462260637675], [54.074968207309446, 12.123471372439578], [54.07500994799073, 12.123443185792866], [54.07501920799111, 12.123394212099214]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_94ed549fa726e1c9ce1478fe2eba2940 = L.marker(\n", - " [54.0774956, 12.127966],\n", + " var marker_db2e2f18f944b0d5cdc7d464d930035e = L.marker(\n", + " [54.0946093, 12.1038269],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_65a2b3003f194d81fb4b36a993fbc6d2 = L.popup({"maxWidth": "100%"});\n", + " var popup_a20542eb3e6ad19558da88a696366b79 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_050d7132fde9d726b3613478e6acf011 = $(`<div id="html_050d7132fde9d726b3613478e6acf011" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.127966, 54.0774956]</div>`)[0];\n", - " popup_65a2b3003f194d81fb4b36a993fbc6d2.setContent(html_050d7132fde9d726b3613478e6acf011);\n", + " var html_5da523132c26dd7310603afaded43c86 = $(`<div id="html_5da523132c26dd7310603afaded43c86" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1038269, 54.0946093]</div>`)[0];\n", + " popup_a20542eb3e6ad19558da88a696366b79.setContent(html_5da523132c26dd7310603afaded43c86);\n", " \n", " \n", "\n", - " marker_94ed549fa726e1c9ce1478fe2eba2940.bindPopup(popup_65a2b3003f194d81fb4b36a993fbc6d2)\n", + " marker_db2e2f18f944b0d5cdc7d464d930035e.bindPopup(popup_a20542eb3e6ad19558da88a696366b79)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_72dc785c3a70f27f170805be41aae9f7 = L.polygon(\n", - " [[54.07756030619932, 12.127952506508608], [54.07753165753035, 12.127911437500313], [54.077481886849114, 12.127902330410466], [54.07744014909094, 12.1279305201056], [54.07743089372333, 12.127979493490932], [54.077459542469796, 12.128020562564702], [54.07750931322838, 12.128029669574198], [54.077551050909044, 12.128001479813582], [54.07756030619932, 12.127952506508608]],\n", + " var polygon_33e5aaca083a7769a75f215d03e5c7df = L.polygon(\n", + " [[54.0946739806801, 12.103813428861397], [54.09464535643541, 12.103772366939323], [54.094595610819816, 12.103763249690738], [54.09455388408562, 12.10379141793302], [54.09454461924259, 12.103840371138162], [54.094573243564774, 12.10388143312571], [54.09462298925766, 12.103890550293956], [54.09466471591436, 12.1038623819862], [54.0946739806801, 12.103813428861397]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_617668be7d446a880431de93dd3acc54 = L.marker(\n", - " [54.0804928, 12.1265164],\n", + " var marker_4f9f8bce56a94b31a2512eb659fb30a7 = L.marker(\n", + " [54.0891615, 12.1182242],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_58180435168002090643f0a9c32f6ddb = L.popup({"maxWidth": "100%"});\n", + " var popup_d097dcb237ef2ce2e7a3b58f18e4467f = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_979616fa236d92808f48b57cede9e76b = $(`<div id="html_979616fa236d92808f48b57cede9e76b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1265164, 54.0804928]</div>`)[0];\n", - " popup_58180435168002090643f0a9c32f6ddb.setContent(html_979616fa236d92808f48b57cede9e76b);\n", + " var html_8448b2549f5ebdcd3e2a2bd3dc69efb5 = $(`<div id="html_8448b2549f5ebdcd3e2a2bd3dc69efb5" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1182242, 54.0891615]</div>`)[0];\n", + " popup_d097dcb237ef2ce2e7a3b58f18e4467f.setContent(html_8448b2549f5ebdcd3e2a2bd3dc69efb5);\n", " \n", " \n", "\n", - " marker_617668be7d446a880431de93dd3acc54.bindPopup(popup_58180435168002090643f0a9c32f6ddb)\n", + " marker_4f9f8bce56a94b31a2512eb659fb30a7.bindPopup(popup_d097dcb237ef2ce2e7a3b58f18e4467f)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_ad96c326082fa8e27f07b38a108df271 = L.polygon(\n", - " [[54.080557502410834, 12.126502907382486], [54.080528855532876, 12.126461840506316], [54.080479087812726, 12.12645273378771], [54.0804373524512, 12.12648092187575], [54.08042809751184, 12.126529892617045], [54.08045674446729, 12.126570959558704], [54.080506512264776, 12.126580066196953], [54.08054824754881, 12.126551878043438], [54.080557502410834, 12.126502907382486]],\n", + " var polygon_99eb6424b0726bb6cb6c71d7bf33ecc2 = L.polygon(\n", + " [[54.08922619044776, 12.118210714397362], [54.089197552419805, 12.118169652373156], [54.08914779537324, 12.11816054355509], [54.089106066256456, 12.118188723822072], [54.08909680947492, 12.11823768560219], [54.08912544758038, 12.118278747691875], [54.089175204704254, 12.118287856429586], [54.08921693374353, 12.118259676097129], [54.08922619044776, 12.118210714397362]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b728b32489a308f589a820924e3e5f44 = L.marker(\n", - " [54.0839037, 12.1146229],\n", + " var marker_47735edfbeb5b9859c395074e9f54639 = L.marker(\n", + " [54.0884254, 12.1292457],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_085327d1f91eac13bee56ae9e4528b63 = L.popup({"maxWidth": "100%"});\n", + " var popup_f6d189f9797e93948a23ef69781e626d = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_ce5408a49be37af4b4f3e953b7e96809 = $(`<div id="html_ce5408a49be37af4b4f3e953b7e96809" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1146229, 54.0839037]</div>`)[0];\n", - " popup_085327d1f91eac13bee56ae9e4528b63.setContent(html_ce5408a49be37af4b4f3e953b7e96809);\n", + " var html_07383f333ca5b07ccd848bfc76951705 = $(`<div id="html_07383f333ca5b07ccd848bfc76951705" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1292457, 54.0884254]</div>`)[0];\n", + " popup_f6d189f9797e93948a23ef69781e626d.setContent(html_07383f333ca5b07ccd848bfc76951705);\n", " \n", " \n", "\n", - " marker_b728b32489a308f589a820924e3e5f44.bindPopup(popup_085327d1f91eac13bee56ae9e4528b63)\n", + " marker_47735edfbeb5b9859c395074e9f54639.bindPopup(popup_f6d189f9797e93948a23ef69781e626d)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_cb5d6cf846b42b31a28336fa4a6f5784 = L.polygon(\n", - " [[54.083968395587476, 12.114609419586097], [54.083939759915104, 12.114568351850693], [54.08389000083348, 12.114559237627484], [54.08384826648308, 12.114587415961632], [54.08383900433517, 12.114636380413447], [54.08386764008504, 12.114677448214335], [54.083917399243994, 12.114686562357198], [54.083959133516885, 12.114658383957577], [54.083968395587476, 12.114609419586097]],\n", + " var polygon_754c4eb1caa181414df766ffebb9fcce = L.polygon(\n", + " [[54.088490093994196, 12.129232202511544], [54.08846144598051, 12.129191143384833], [54.08841168272028, 12.1291820427295], [54.08836995480173, 12.12921023164283], [54.08836070592845, 12.129259197488004], [54.08838935401965, 12.129300256680187], [54.08843911735722, 12.129309357255158], [54.08848084519825, 12.129281168276355], [54.088490093994196, 12.129232202511544]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_90b2a397b5ae3b61634a7f4572bab25a = L.marker(\n", - " [54.0903028, 12.1262643],\n", + " var marker_8c10cd6ed028e5da1d10840b82d7eb21 = L.marker(\n", + " [54.0675107, 12.1066461],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_10e6be00db31b3f45dee204746da4cbc = L.popup({"maxWidth": "100%"});\n", + " var popup_73c904c6ddf7af6a1768693bd8538642 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_5c493b0127efe0b75ce59230501079ff = $(`<div id="html_5c493b0127efe0b75ce59230501079ff" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1262643, 54.0903028]</div>`)[0];\n", - " popup_10e6be00db31b3f45dee204746da4cbc.setContent(html_5c493b0127efe0b75ce59230501079ff);\n", + " var html_44835230954dc10deec1bedbd3ab08ca = $(`<div id="html_44835230954dc10deec1bedbd3ab08ca" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1066461, 54.0675107]</div>`)[0];\n", + " popup_73c904c6ddf7af6a1768693bd8538642.setContent(html_44835230954dc10deec1bedbd3ab08ca);\n", " \n", " \n", "\n", - " marker_90b2a397b5ae3b61634a7f4572bab25a.bindPopup(popup_10e6be00db31b3f45dee204746da4cbc)\n", + " marker_8c10cd6ed028e5da1d10840b82d7eb21.bindPopup(popup_73c904c6ddf7af6a1768693bd8538642)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_31958e3326d21d7bab7cd8a7aacc1535 = L.polygon(\n", - " [[54.09036749111206, 12.12625080532803], [54.09033884607636, 12.126209746871968], [54.090289085737936, 12.126200644844571], [54.09024735897352, 12.126228831146861], [54.090238108810595, 12.126277794671529], [54.09026675392382, 12.126318853193059], [54.09031651433955, 12.126327955140104], [54.090358241026465, 12.126299768772338], [54.09036749111206, 12.12625080532803]],\n", + " var polygon_ebbbbf330c2a048416c495c699076866 = L.polygon(\n", + " [[54.06757541240609, 12.106632632203164], [54.067546781166875, 12.106591547707316], [54.06749701406942, 12.106582419150799], [54.06745526394977, 12.106610593975015], [54.067445987516585, 12.106659567796365], [54.06747461883326, 12.106700652357706], [54.06752438600805, 12.106709780833901], [54.06756613605023, 12.106681605944187], [54.06757541240609, 12.106632632203164]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_7fa24b855bf237cb6aaad267e89fa0ac = L.marker(\n", - " [54.0907324, 12.1356375],\n", + " var marker_8be26511d83b9d965fcfc2b4d4d05d3a = L.marker(\n", + " [54.0872882, 12.1068073],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_00e1e27fb89ea7153f70f7a50b7d6440 = L.popup({"maxWidth": "100%"});\n", + " var popup_0601f19224bf90fe0a402f6fdd412ee1 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_f9cc6250710a43f9b1558f00cefb94c1 = $(`<div id="html_f9cc6250710a43f9b1558f00cefb94c1" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1356375, 54.0907324]</div>`)[0];\n", - " popup_00e1e27fb89ea7153f70f7a50b7d6440.setContent(html_f9cc6250710a43f9b1558f00cefb94c1);\n", + " var html_2c4b19bb6de724530234d4f0e7573d68 = $(`<div id="html_2c4b19bb6de724530234d4f0e7573d68" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1068073, 54.0872882]</div>`)[0];\n", + " popup_0601f19224bf90fe0a402f6fdd412ee1.setContent(html_2c4b19bb6de724530234d4f0e7573d68);\n", " \n", " \n", "\n", - " marker_7fa24b855bf237cb6aaad267e89fa0ac.bindPopup(popup_00e1e27fb89ea7153f70f7a50b7d6440)\n", + " marker_8be26511d83b9d965fcfc2b4d4d05d3a.bindPopup(popup_0601f19224bf90fe0a402f6fdd412ee1)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_4677828f4d8bc126386062760729bb0b = L.polygon(\n", - " [[54.09079709292028, 12.135623994969018], [54.09076843956519, 12.13558293989194], [54.09071867472154, 12.135573845332322], [54.09067694990514, 12.135602038816673], [54.09066770700235, 12.135651005030528], [54.09069636043498, 12.135692060173072], [54.090746125355956, 12.13570115465232], [54.09078785009484, 12.135672961102504], [54.09079709292028, 12.135623994969018]],\n", + " var polygon_99ece16a0a40d0d7cb1d64041c204a40 = L.polygon(\n", + " [[54.087352889796065, 12.1067938273356], [54.08732426167562, 12.106752760025774], [54.08727450911462, 12.106743641439294], [54.0872327764339, 12.106771813177264], [54.0872235101266, 12.10682077266395], [54.08725213832455, 12.106861840039254], [54.08730189096285, 12.106870958545393], [54.087343623566085, 12.106842786741947], [54.087352889796065, 12.1067938273356]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_4f88249f424a17c591253ebadd132f7e = L.marker(\n", - " [54.0946094, 12.1038267],\n", + " var marker_8ce1996393c062bde96f47444f52ddf0 = L.marker(\n", + " [54.0773663, 12.134501],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_2570b38e14ce6b7a4451c58797844456 = L.popup({"maxWidth": "100%"});\n", + " var popup_d385156406b1c176de5792bcf6f9bd0b = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_66b9dbf24494d0940f0a1074f91a3fb8 = $(`<div id="html_66b9dbf24494d0940f0a1074f91a3fb8" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1038267, 54.0946094]</div>`)[0];\n", - " popup_2570b38e14ce6b7a4451c58797844456.setContent(html_66b9dbf24494d0940f0a1074f91a3fb8);\n", + " var html_42d543df9918c1148cda83380e01c272 = $(`<div id="html_42d543df9918c1148cda83380e01c272" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.134501, 54.0773663]</div>`)[0];\n", + " popup_d385156406b1c176de5792bcf6f9bd0b.setContent(html_42d543df9918c1148cda83380e01c272);\n", " \n", " \n", "\n", - " marker_4f88249f424a17c591253ebadd132f7e.bindPopup(popup_2570b38e14ce6b7a4451c58797844456)\n", + " marker_8ce1996393c062bde96f47444f52ddf0.bindPopup(popup_d385156406b1c176de5792bcf6f9bd0b)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_0180a3b7afc1d383a0a3d7b6fd933a3d = L.polygon(\n", - " [[54.09467408067993, 12.103813228861595], [54.09464545643543, 12.103772166939546], [54.094595710820016, 12.103763049690853], [54.094553984085884, 12.103791217932962], [54.09454471924275, 12.10384017113797], [54.09457334356474, 12.1038812331255], [54.094623089257446, 12.103890350293845], [54.0946648159141, 12.103862181986262], [54.09467408067993, 12.103813228861595]],\n", + " var polygon_e754f3aa658c27b8ba86359c8258d6b6 = L.polygon(\n", + " [[54.07743100795159, 12.134487499389852], [54.07740235341282, 12.13444643236532], [54.07735257927376, 12.134437330267236], [54.0773108424953, 12.134465525038046], [54.07730159197105, 12.134514500609683], [54.07733024658732, 12.1345555676997], [54.07738002080374, 12.134564669717424], [54.077421757504666, 12.134536474881141], [54.07743100795159, 12.134487499389852]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_5b8033bc1bc73ae9c46c63a5b5afe578 = L.marker(\n", - " [54.1410736, 12.0711573],\n", + " var marker_3ca365ebfdbad2d904f7cc2736c8de86 = L.marker(\n", + " [54.0848206, 12.1298785],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_4b2a1b63be01226c6dd9a49613bf864b = L.popup({"maxWidth": "100%"});\n", + " var popup_3db336f935edf4dcbde1128fd0117990 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_71b1e2be484de0421decf1595cece430 = $(`<div id="html_71b1e2be484de0421decf1595cece430" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0711573, 54.1410736]</div>`)[0];\n", - " popup_4b2a1b63be01226c6dd9a49613bf864b.setContent(html_71b1e2be484de0421decf1595cece430);\n", + " var html_4efca54e19e15312a40b4ae253dc6225 = $(`<div id="html_4efca54e19e15312a40b4ae253dc6225" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1298785, 54.0848206]</div>`)[0];\n", + " popup_3db336f935edf4dcbde1128fd0117990.setContent(html_4efca54e19e15312a40b4ae253dc6225);\n", " \n", " \n", "\n", - " marker_5b8033bc1bc73ae9c46c63a5b5afe578.bindPopup(popup_4b2a1b63be01226c6dd9a49613bf864b)\n", + " marker_3ca365ebfdbad2d904f7cc2736c8de86.bindPopup(popup_3db336f935edf4dcbde1128fd0117990)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_157649ec5f220b11ca53adcb0101b3fe = L.polygon(\n", - " [[54.14113821945079, 12.0711438536378], [54.14110963213776, 12.071102821503565], [54.14105993768702, 12.071093702079835], [54.14101824637926, 12.071121837458172], [54.14100898047193, 12.071170746361808], [54.141037567862455, 12.071211778561494], [54.14108726239039, 12.071220897904873], [54.14112895362065, 12.071192762461086], [54.14113821945079, 12.0711438536378]],\n", + " var polygon_110c224569a3a997b4c79f0826af5dbc = L.polygon(\n", + " [[54.08488529827875, 12.129865002675631], [54.084856649104744, 12.129823940627992], [54.08480688285405, 12.129814838666652], [54.08476515186669, 12.129843028653934], [54.084755901643895, 12.129891997323917], [54.0847845508954, 12.129933059437029], [54.084834317223425, 12.129942161318011], [54.08487604813329, 12.129913971265255], [54.08488529827875, 12.129865002675631]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_d8b64b45b7fc7997e718d1adc82b0ab3 = L.marker(\n", - " [54.0970686, 12.0751554],\n", + " var marker_4ec0dbc7490dcb60b79bf26cd45f7fac = L.marker(\n", + " [54.1237735, 12.0547655],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_b297b458a932d3f50b2144db6cfa35b6 = L.popup({"maxWidth": "100%"});\n", + " var popup_3629b68eaf06e285d8163af42666bc58 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_55c545bf7acd78b9951e8ea2be176eae = $(`<div id="html_55c545bf7acd78b9951e8ea2be176eae" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0751554, 54.0970686]</div>`)[0];\n", - " popup_b297b458a932d3f50b2144db6cfa35b6.setContent(html_55c545bf7acd78b9951e8ea2be176eae);\n", + " var html_0ec21f9c11142df9a841f8d09a104246 = $(`<div id="html_0ec21f9c11142df9a841f8d09a104246" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0547655, 54.1237735]</div>`)[0];\n", + " popup_3629b68eaf06e285d8163af42666bc58.setContent(html_0ec21f9c11142df9a841f8d09a104246);\n", " \n", " \n", "\n", - " marker_d8b64b45b7fc7997e718d1adc82b0ab3.bindPopup(popup_b297b458a932d3f50b2144db6cfa35b6)\n", + " marker_4ec0dbc7490dcb60b79bf26cd45f7fac.bindPopup(popup_3629b68eaf06e285d8163af42666bc58)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_d71422fba0f8850f04d7b0d0ba46c1a5 = L.polygon(\n", - " [[54.09713327085276, 12.075141959662075], [54.097104672666696, 12.075100890671637], [54.09705494360166, 12.075091752452629], [54.097013214214876, 12.075119898106603], [54.09700392906995, 12.07516884033749], [54.09703252733348, 12.075209909393408], [54.09708225647578, 12.075219047532094], [54.097123985785096, 12.075190901812636], [54.09713327085276, 12.075141959662075]],\n", + " var polygon_430b046f807cae9baa776d9df6df31af = L.polygon(\n", + " [[54.123838135283265, 12.054752075678676], [54.12380955976582, 12.054711023285131], [54.12375986092655, 12.054701882558485], [54.12371815161687, 12.05473000806923], [54.12370886463948, 12.05477892432092], [54.12373744023441, 12.054819976779937], [54.123787139150885, 12.054829117426257], [54.1238288483831, 12.054800991850046], [54.123838135283265, 12.054752075678676]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_03231c09cf0535ef32fee1931de5c009 = L.marker(\n", - " [54.1437061, 12.0682193],\n", + " var marker_77fed8b667355a13e42d9d5a8573b3fd = L.marker(\n", + " [54.1691986, 12.0335794],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_1d2368690f4b334cf018367028f387f7 = L.popup({"maxWidth": "100%"});\n", + " var popup_ae543dee0d7976ffff9bbc02600e838c = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_1fb5a44f1f530b38d71f0d912f436a6f = $(`<div id="html_1fb5a44f1f530b38d71f0d912f436a6f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0682193, 54.1437061]</div>`)[0];\n", - " popup_1d2368690f4b334cf018367028f387f7.setContent(html_1fb5a44f1f530b38d71f0d912f436a6f);\n", + " var html_ef1ec75eba0b2af0c2d58b265996072d = $(`<div id="html_ef1ec75eba0b2af0c2d58b265996072d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0335794, 54.1691986]</div>`)[0];\n", + " popup_ae543dee0d7976ffff9bbc02600e838c.setContent(html_ef1ec75eba0b2af0c2d58b265996072d);\n", " \n", " \n", "\n", - " marker_03231c09cf0535ef32fee1931de5c009.bindPopup(popup_1d2368690f4b334cf018367028f387f7)\n", + " marker_77fed8b667355a13e42d9d5a8573b3fd.bindPopup(popup_ae543dee0d7976ffff9bbc02600e838c)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_eddaa19cef1fa2c4bf0137ae6516786c = L.polygon(\n", - " [[54.14377071571642, 12.068205856234641], [54.14374213147017, 12.06816482543929], [54.143692440477274, 12.068155705048953], [54.14365075099287, 12.068183837721415], [54.143641484206306, 12.068232743764966], [54.14367006853007, 12.068273774625773], [54.14371975960016, 12.068282894935763], [54.143761449007066, 12.06825476219785], [54.14377071571642, 12.068205856234641]],\n", + " var polygon_e392fc384f2bc7be9818f27de2e9fe16 = L.polygon(\n", + " [[54.16926317805495, 12.033565988185053], [54.169234629053996, 12.033524968366299], [54.16918497472175, 12.033515833806517], [54.16914330183807, 12.033543935463754], [54.16913402186782, 12.0335928118146], [54.169162570946256, 12.0336338316988], [54.16921222535564, 12.033642966178236], [54.169253898161834, 12.03361486445556], [54.16926317805495, 12.033565988185053]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_b3aac2193413b066154919c1129f53fd = L.marker(\n", - " [54.0823763, 12.1927586],\n", + " var marker_ccc20b39255868c91bd855243d4a2d7e = L.marker(\n", + " [54.1437061, 12.0682193],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_f6ed5b3a1f31202ef851e036e116497e = L.popup({"maxWidth": "100%"});\n", + " var popup_18ff57df3fd9992a0b60fd603d1b31cc = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_0928177ac40f852fba6b5ef0ad91eb88 = $(`<div id="html_0928177ac40f852fba6b5ef0ad91eb88" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1927586, 54.0823763]</div>`)[0];\n", - " popup_f6ed5b3a1f31202ef851e036e116497e.setContent(html_0928177ac40f852fba6b5ef0ad91eb88);\n", + " var html_be70039d3bbef0886500d531efe1cc45 = $(`<div id="html_be70039d3bbef0886500d531efe1cc45" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0682193, 54.1437061]</div>`)[0];\n", + " popup_18ff57df3fd9992a0b60fd603d1b31cc.setContent(html_be70039d3bbef0886500d531efe1cc45);\n", " \n", " \n", "\n", - " marker_b3aac2193413b066154919c1129f53fd.bindPopup(popup_f6ed5b3a1f31202ef851e036e116497e)\n", + " marker_ccc20b39255868c91bd855243d4a2d7e.bindPopup(popup_18ff57df3fd9992a0b60fd603d1b31cc)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_ba31667fa06a4af36015a033c68fcb7d = L.polygon(\n", - " [[54.08244101655392, 12.192745034466373], [54.082412310675025, 12.192703990465718], [54.08236251023106, 12.192694935935714], [54.082320787591925, 12.192723174954091], [54.08231158336865, 12.192772165533158], [54.0823402893251, 12.192813209599272], [54.082390089846484, 12.192822264048871], [54.08243181240803, 12.192794024965037], [54.08244101655392, 12.192745034466373]],\n", + " var polygon_2e007e60aa26bf0d4f7cdfc268ae7301 = L.polygon(\n", + " [[54.14377071571642, 12.068205856234641], [54.14374213147017, 12.06816482543929], [54.143692440477274, 12.068155705048953], [54.14365075099287, 12.068183837721415], [54.143641484206306, 12.068232743764966], [54.14367006853007, 12.068273774625773], [54.14371975960016, 12.068282894935763], [54.143761449007066, 12.06825476219785], [54.14377071571642, 12.068205856234641]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_e65ead2ed9303ec49b03da49a5ec579c = L.marker(\n", - " [54.0878279, 12.1343458],\n", + " var marker_8693e9a16213040e2962ef330a3792fb = L.marker(\n", + " [54.101575, 12.1662989],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_f5d36864d65fc2744f7eafe77c4fa90c = L.popup({"maxWidth": "100%"});\n", + " var popup_f5b78581bc917db146b656d9fc826b65 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_935dd9c061872b0319b6f8bb4578595d = $(`<div id="html_935dd9c061872b0319b6f8bb4578595d" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1343458, 54.0878279]</div>`)[0];\n", - " popup_f5d36864d65fc2744f7eafe77c4fa90c.setContent(html_935dd9c061872b0319b6f8bb4578595d);\n", + " var html_c4607d52a3761b1559a2f313e45f03e2 = $(`<div id="html_c4607d52a3761b1559a2f313e45f03e2" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1662989, 54.101575]</div>`)[0];\n", + " popup_f5b78581bc917db146b656d9fc826b65.setContent(html_c4607d52a3761b1559a2f313e45f03e2);\n", " \n", " \n", "\n", - " marker_e65ead2ed9303ec49b03da49a5ec579c.bindPopup(popup_f5d36864d65fc2744f7eafe77c4fa90c)\n", + " marker_8693e9a16213040e2962ef330a3792fb.bindPopup(popup_f5b78581bc917db146b656d9fc826b65)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_fefa79958f41020704ebe5c2564c7a28 = L.polygon(\n", - " [[54.087892595930455, 12.134332297072833], [54.08786394325322, 12.134291239064222], [54.087814176927054, 12.134282142057938], [54.08777244933615, 12.134310335013712], [54.08776320399219, 12.134359302926708], [54.08779185674694, 12.134400361000797], [54.08784162315045, 12.134409457926717], [54.08788335066382, 12.134381264905471], [54.087892595930455, 12.134332297072833]],\n", + " var polygon_71994279658d219abaa6b91c45b33145 = L.polygon(\n", + " [[54.10163968803467, 12.16628535883601], [54.10161100900823, 12.166244322993146], [54.10156123639307, 12.166235257566823], [54.10151952625743, 12.166263473017674], [54.10151031188793, 12.16631244116355], [54.10153899099195, 12.16635347707186], [54.10158876368446, 12.16636254241779], [54.101630473742524, 12.166334326901485], [54.10163968803467, 12.16628535883601]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_12b76002afc38cfb84e3298e092e90ae = L.marker(\n", - " [54.0803977, 12.135713],\n", + " var marker_cfbf3eeb7c1c1a6f6f7dcafa5e7add0e = L.marker(\n", + " [54.1455305, 12.0798908],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_33f174b85f63b6beea3f882318356a34 = L.popup({"maxWidth": "100%"});\n", + " var popup_c7c3df4605fd102ec1ae98d640b9ab6d = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_5e3200596400b845eccbda24e69ab4c5 = $(`<div id="html_5e3200596400b845eccbda24e69ab4c5" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.135713, 54.0803977]</div>`)[0];\n", - " popup_33f174b85f63b6beea3f882318356a34.setContent(html_5e3200596400b845eccbda24e69ab4c5);\n", + " var html_1d42af02bde973aaf9c2feb5118ba3c6 = $(`<div id="html_1d42af02bde973aaf9c2feb5118ba3c6" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0798908, 54.1455305]</div>`)[0];\n", + " popup_c7c3df4605fd102ec1ae98d640b9ab6d.setContent(html_1d42af02bde973aaf9c2feb5118ba3c6);\n", " \n", " \n", "\n", - " marker_12b76002afc38cfb84e3298e092e90ae.bindPopup(popup_33f174b85f63b6beea3f882318356a34)\n", + " marker_cfbf3eeb7c1c1a6f6f7dcafa5e7add0e.bindPopup(popup_c7c3df4605fd102ec1ae98d640b9ab6d)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_6b564190b3b3333db53db05cd74dd8cc = L.polygon(\n", - " [[54.08046240477716, 12.135699497343202], [54.080433749652656, 12.135658433334147], [54.08038397713051, 12.135649333684022], [54.08034224322446, 12.13567752890128], [54.08033299514547, 12.13572650265634], [54.080361650347484, 12.135767566730875], [54.08041142294698, 12.135776666300647], [54.080453156775526, 12.135748471017909], [54.08046240477716, 12.135699497343202]],\n", + " var polygon_8e46de4369122e371efc935fe70c52ea = L.polygon(\n", + " [[54.14559511647239, 12.07987734301648], [54.145566522081346, 12.079836317551067], [54.145516826443504, 12.079827207111483], [54.145475140534934, 12.0798553485265], [54.14546588345033, 12.079904256983141], [54.145494477918895, 12.079945282513998], [54.14554417363395, 12.079954392873223], [54.145585859464994, 12.079926251392758], [54.14559511647239, 12.07987734301648]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_eef17ac1481a77146ab9713e53a563c7 = L.marker(\n", - " [54.129286, 12.0826638],\n", + " var marker_f4e9a7f838d98e9df743f194b1894c9a = L.marker(\n", + " [54.1232622, 12.0782089],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_888cb444411261574b3a3a7a88f02b10 = L.popup({"maxWidth": "100%"});\n", + " var popup_62f36bb942650930382ffd1a8555ed66 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_ff0a749f653c5636f139e09c99308acb = $(`<div id="html_ff0a749f653c5636f139e09c99308acb" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0826638, 54.129286]</div>`)[0];\n", - " popup_888cb444411261574b3a3a7a88f02b10.setContent(html_ff0a749f653c5636f139e09c99308acb);\n", + " var html_a53b38e2970b0d22a90df0bd15a07d9f = $(`<div id="html_a53b38e2970b0d22a90df0bd15a07d9f" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0782089, 54.1232622]</div>`)[0];\n", + " popup_62f36bb942650930382ffd1a8555ed66.setContent(html_a53b38e2970b0d22a90df0bd15a07d9f);\n", " \n", " \n", "\n", - " marker_eef17ac1481a77146ab9713e53a563c7.bindPopup(popup_888cb444411261574b3a3a7a88f02b10)\n", + " marker_f4e9a7f838d98e9df743f194b1894c9a.bindPopup(popup_62f36bb942650930382ffd1a8555ed66)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_32d83d1df4aa7ba971bd572203567a88 = L.polygon(\n", - " [[54.129350635770834, 12.082650343820424], [54.12932203620358, 12.082609305161576], [54.12927232711694, 12.082600188786152], [54.12923062736506, 12.082628335000045], [54.12922136415185, 12.08267725617918], [54.12924996379662, 12.082718294903483], [54.129299672960485, 12.082727411198556], [54.129341372634855, 12.082699264919206], [54.129350635770834, 12.082650343820424]],\n", + " var polygon_2c98b07af52b8fdd1a054a3647b7d04e = L.polygon(\n", + " [[54.12332684158685, 12.078195450124085], [54.123298245008165, 12.078154404813413], [54.123248533752474, 12.078145281990112], [54.12320682794455, 12.07817342573715], [54.12319755833585, 12.078222349875505], [54.12322615499203, 12.078263395251636], [54.12327586632496, 12.078272517994595], [54.123317572055385, 12.078244374182093], [54.12332684158685, 12.078195450124085]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_e1cab365e861549e510ef380749bd283 = L.marker(\n", - " [54.0785533, 12.0981813],\n", + " var marker_73d0ef3d6ff97c374df262000bb3861c = L.marker(\n", + " [54.1202425, 12.1358851],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_dd22a10453961d12eb3722214fbd823c = L.popup({"maxWidth": "100%"});\n", + " var popup_c17daefb24baba40e2e995a1201b6ccf = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_0084a114ab71c2e8fb7be15f7ebdad48 = $(`<div id="html_0084a114ab71c2e8fb7be15f7ebdad48" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0981813, 54.0785533]</div>`)[0];\n", - " popup_dd22a10453961d12eb3722214fbd823c.setContent(html_0084a114ab71c2e8fb7be15f7ebdad48);\n", + " var html_637dcc833613359b04f7d05029dd2f39 = $(`<div id="html_637dcc833613359b04f7d05029dd2f39" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1358851, 54.1202425]</div>`)[0];\n", + " popup_c17daefb24baba40e2e995a1201b6ccf.setContent(html_637dcc833613359b04f7d05029dd2f39);\n", " \n", " \n", "\n", - " marker_e1cab365e861549e510ef380749bd283.bindPopup(popup_dd22a10453961d12eb3722214fbd823c)\n", + " marker_73d0ef3d6ff97c374df262000bb3861c.bindPopup(popup_c17daefb24baba40e2e995a1201b6ccf)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_c5807798fa2e41411299c5653fed7be0 = L.polygon(\n", - " [[54.07861799768832, 12.098167838845747], [54.078589375843286, 12.098126761201037], [54.078539621258486, 12.098117631591228], [54.078497879440256, 12.098145798074718], [54.078488602234366, 12.098194761153799], [54.078517224156876, 12.098235838863998], [54.078566978818984, 12.098244968393482], [54.07860872055975, 12.0982168018445], [54.07861799768832, 12.098167838845747]],\n", + " var polygon_97f2baed0e70ee9ceaa88af040066c98 = L.polygon(\n", + " [[54.12030715916558, 12.135871587685013], [54.12027851045329, 12.13583055826881], [54.120228767305775, 12.135821478605147], [54.12018706852956, 12.135849667494707], [54.120177840757066, 12.135898612314568], [54.1202064895469, 12.135939641796217], [54.120256232771716, 12.135948721379487], [54.12029793147037, 12.135920532424484], [54.12030715916558, 12.135871587685013]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_858b46c065efc379f92743d14127fa3e = L.marker(\n", - " [54.0890949, 12.1183469],\n", + " var marker_a9f77c8c4c034050e9ce357e074bf7c4 = L.marker(\n", + " [54.1264422, 12.0779596],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_ae6fc9a7440bdd313a2e62a7660280e8 = L.popup({"maxWidth": "100%"});\n", + " var popup_19eb79a236508dc7f2e0c9dd8e854ae6 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_fd980622fadf77955dd7cc98c2eec0e1 = $(`<div id="html_fd980622fadf77955dd7cc98c2eec0e1" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1183469, 54.0890949]</div>`)[0];\n", - " popup_ae6fc9a7440bdd313a2e62a7660280e8.setContent(html_fd980622fadf77955dd7cc98c2eec0e1);\n", + " var html_e3dec2a35769a88b66078356052daa32 = $(`<div id="html_e3dec2a35769a88b66078356052daa32" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0779596, 54.1264422]</div>`)[0];\n", + " popup_19eb79a236508dc7f2e0c9dd8e854ae6.setContent(html_e3dec2a35769a88b66078356052daa32);\n", " \n", " \n", "\n", - " marker_858b46c065efc379f92743d14127fa3e.bindPopup(popup_ae6fc9a7440bdd313a2e62a7660280e8)\n", + " marker_a9f77c8c4c034050e9ce357e074bf7c4.bindPopup(popup_19eb79a236508dc7f2e0c9dd8e854ae6)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_da2bcf0077166458b5ebf068f9e11440 = L.polygon(\n", - " [[54.08915959055412, 12.118333414278897], [54.089130952405355, 12.118292352236336], [54.089081195246465, 12.118283243480068], [54.089039466091585, 12.118311423852784], [54.08903020936853, 12.118360385720653], [54.089058847594785, 12.11840144782869], [54.08910860483101, 12.118410556504612], [54.08915033390838, 12.11838237606641], [54.08915959055412, 12.118333414278897]],\n", + " var polygon_a3aff30a87e8d00c0ece5cbbdaa660d8 = L.polygon(\n", + " [[54.12650683788154, 12.077946149645147], [54.126478242053125, 12.077905107010903], [54.12642853327873, 12.07789598557677], [54.12638683022962, 12.077924128611965], [54.12637756204117, 12.077973050354448], [54.1264061579471, 12.078014093054154], [54.12645586679872, 12.078023214407944], [54.126497569770336, 12.077995071307285], [54.12650683788154, 12.077946149645147]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_77c11c9496dfb240758d071e297059b2 = L.marker(\n", + " var marker_20f0d5ea5e37670037cf74a6985fd5f1 = L.marker(\n", " [54.068618, 12.0974118],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_2e11ed77a789923acbdb3ee81a7bd973 = L.popup({"maxWidth": "100%"});\n", + " var popup_2b4b7208e3ba29e61ebe4048ac5b50cf = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_ecc3406403fb28f054919fdb7c7c7ce8 = $(`<div id="html_ecc3406403fb28f054919fdb7c7c7ce8" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0974118, 54.068618]</div>`)[0];\n", - " popup_2e11ed77a789923acbdb3ee81a7bd973.setContent(html_ecc3406403fb28f054919fdb7c7c7ce8);\n", + " var html_0171ed82c7d9a53c5d118f6e0bf4fa24 = $(`<div id="html_0171ed82c7d9a53c5d118f6e0bf4fa24" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0974118, 54.068618]</div>`)[0];\n", + " popup_2b4b7208e3ba29e61ebe4048ac5b50cf.setContent(html_0171ed82c7d9a53c5d118f6e0bf4fa24);\n", " \n", " \n", "\n", - " marker_77c11c9496dfb240758d071e297059b2.bindPopup(popup_2e11ed77a789923acbdb3ee81a7bd973)\n", + " marker_20f0d5ea5e37670037cf74a6985fd5f1.bindPopup(popup_2b4b7208e3ba29e61ebe4048ac5b50cf)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_d265b82366e814fed9e0abf3aa8fc5a1 = L.polygon(\n", + " var polygon_2618445fdf19fd4c0819d9b49450ddbd = L.polygon(\n", " [[54.06868270887692, 12.097398342042736], [54.068654086080166, 12.097357255544704], [54.06860432454703, 12.097348120394969], [54.068562573854074, 12.097376287897143], [54.06855329104576, 12.097425257956788], [54.068581913919964, 12.097466344520319], [54.06863167553041, 12.097475479589736], [54.06867342614592, 12.097447312022062], [54.06868270887692, 12.097398342042736]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_7c85fc3314c193b878d0530419e75b7e = L.marker(\n", - " [54.1518152, 12.0690763],\n", + " var marker_6fe12b52df862dcefa3d32e7a84c99a9 = L.marker(\n", + " [54.1776702, 12.0918282],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_6b2f0ae5a71deb9314d76ad9b85ba814 = L.popup({"maxWidth": "100%"});\n", + " var popup_5b1717c859770836bca4bb93b1045df6 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_e8e8bcd255f8728cb4a96be04ef9e646 = $(`<div id="html_e8e8bcd255f8728cb4a96be04ef9e646" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0690763, 54.1518152]</div>`)[0];\n", - " popup_6b2f0ae5a71deb9314d76ad9b85ba814.setContent(html_e8e8bcd255f8728cb4a96be04ef9e646);\n", + " var html_578735f0ab41aee032cb9620cb0c962e = $(`<div id="html_578735f0ab41aee032cb9620cb0c962e" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0918282, 54.1776702]</div>`)[0];\n", + " popup_5b1717c859770836bca4bb93b1045df6.setContent(html_578735f0ab41aee032cb9620cb0c962e);\n", " \n", " \n", "\n", - " marker_7c85fc3314c193b878d0530419e75b7e.bindPopup(popup_6b2f0ae5a71deb9314d76ad9b85ba814)\n", + " marker_6fe12b52df862dcefa3d32e7a84c99a9.bindPopup(popup_5b1717c859770836bca4bb93b1045df6)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_562bc34ab2afa154de9823d08872abaf = L.polygon(\n", - " [[54.151879806628486, 12.069062853380306], [54.15185122296201, 12.069021829891215], [54.151801537532855, 12.069012714199266], [54.15175985533697, 12.069040846209996], [54.15175059329423, 12.069089746619325], [54.15177917703822, 12.06913077017386], [54.15182886254457, 12.069139885785448], [54.151870544662934, 12.06911175370928], [54.151879806628486, 12.069062853380306]],\n", + " var polygon_79744483e55e7af59ddfceff663dbe07 = L.polygon(\n", + " [[54.17773478252847, 12.091814722334622], [54.17770618278215, 12.091773728579154], [54.17765650480995, 12.091764643389405], [54.177614849239646, 12.091792788803165], [54.17760561739422, 12.091841677665027], [54.17763421721811, 12.091882671485909], [54.177683895267506, 12.091891756595265], [54.17772555076024, 12.09186361111609], [54.17773478252847, 12.091814722334622]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_4c79a3baee344e15d4626e7e1d4964f3 = L.marker(\n", - " [54.0879165, 12.1003997],\n", + " var marker_c35b699c53805289620700b8adf5e5bc = L.marker(\n", + " [54.1762746, 12.0880427],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_c3f29db7e306693bed79fd1256e1bc2f = L.popup({"maxWidth": "100%"});\n", + " var popup_bc7d98514e6a895870a45a5f6b8d6662 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_6e65d3144d2d262af1f966758eb5f8d3 = $(`<div id="html_6e65d3144d2d262af1f966758eb5f8d3" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1003997, 54.0879165]</div>`)[0];\n", - " popup_c3f29db7e306693bed79fd1256e1bc2f.setContent(html_6e65d3144d2d262af1f966758eb5f8d3);\n", + " var html_e5ca6b635fe139d0de1def628364faa5 = $(`<div id="html_e5ca6b635fe139d0de1def628364faa5" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0880427, 54.1762746]</div>`)[0];\n", + " popup_bc7d98514e6a895870a45a5f6b8d6662.setContent(html_e5ca6b635fe139d0de1def628364faa5);\n", " \n", " \n", "\n", - " marker_4c79a3baee344e15d4626e7e1d4964f3.bindPopup(popup_c3f29db7e306693bed79fd1256e1bc2f)\n", + " marker_c35b699c53805289620700b8adf5e5bc.bindPopup(popup_bc7d98514e6a895870a45a5f6b8d6662)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_3c3352a9f37c38ec2ab0b92ad3ef2a7c = L.polygon(\n", - " [[54.08798118750759, 12.100386234198792], [54.087952565224064, 12.100345165377867], [54.087902816421355, 12.100336042145106], [54.08786108321874, 12.10036420882334], [54.08785181241509, 12.100413165800763], [54.087880434776096, 12.100454234687172], [54.08793018365609, 12.100463357839594], [54.08797191678123, 12.10043519109588], [54.08798118750759, 12.100386234198792]],\n", + " var polygon_faa33c46f36d4e85ecee4bb235a257f6 = L.polygon(\n", + " [[54.17633918320505, 12.088029226814058], [54.17631058661789, 12.087988230631616], [54.176260909557925, 12.087979141812593], [54.17621925211855, 12.088007284520753], [54.17621001671764, 12.08805617318559], [54.17623861338237, 12.08809716943345], [54.17628829051953, 12.088106258172083], [54.176329947881335, 12.088078115398506], [54.17633918320505, 12.088029226814058]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_a020df5429396519e09641ed0a92b9da = L.marker(\n", - " [54.0917041, 12.1353792],\n", + " var marker_3cee9c84ac5bb2f1f65839d25ac76128 = L.marker(\n", + " [54.1755547, 12.0450548],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_d8191d2cf413f22c96b28b2d6b64940a = L.popup({"maxWidth": "100%"});\n", + " var popup_46f4953e0618f207edc8e6f3dafef5b2 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_f604109668966bb315d048b0e64073e8 = $(`<div id="html_f604109668966bb315d048b0e64073e8" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1353792, 54.0917041]</div>`)[0];\n", - " popup_d8191d2cf413f22c96b28b2d6b64940a.setContent(html_f604109668966bb315d048b0e64073e8);\n", + " var html_de7a032f9e56f6e78f2fc562ea67baff = $(`<div id="html_de7a032f9e56f6e78f2fc562ea67baff" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0450548, 54.1755547]</div>`)[0];\n", + " popup_46f4953e0618f207edc8e6f3dafef5b2.setContent(html_de7a032f9e56f6e78f2fc562ea67baff);\n", " \n", " \n", "\n", - " marker_a020df5429396519e09641ed0a92b9da.bindPopup(popup_d8191d2cf413f22c96b28b2d6b64940a)\n", + " marker_3cee9c84ac5bb2f1f65839d25ac76128.bindPopup(popup_46f4953e0618f207edc8e6f3dafef5b2)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_818ef0d54615792d1478667232a83098 = L.polygon(\n", - " [[54.09176879174367, 12.135365695020704], [54.09174013877986, 12.135324640702926], [54.09169037478753, 12.13531554642755], [54.09164865078379, 12.135343739554573], [54.091639408178956, 12.13539270497885], [54.0916680612203, 12.135433759362092], [54.09171782528995, 12.135442853557104], [54.09175954921617, 12.135414660364608], [54.09176879174367, 12.135365695020704]],\n", + " var polygon_e55f9e8f2da84a31db09ed1af4de406d = L.polygon(\n", + " [[54.175619273555206, 12.045041374107818], [54.17559071534239, 12.045000363488496], [54.17554105983032, 12.044991240985492], [54.17549939449001, 12.045019350494169], [54.17549012636753, 12.045068225891834], [54.17551868465786, 12.045109236576593], [54.17556834024707, 12.045118358999243], [54.17561000550987, 12.045090249425135], [54.175619273555206, 12.045041374107818]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_96787b635179815b6ff2e0b28b257a6e = L.marker(\n", - " [54.0804681, 12.1265235],\n", + " var marker_44115d7d569f4d6a1b67e4925438d58a = L.marker(\n", + " [54.0714177, 12.1114642],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_9041cc7500126a674524f9a1f7f43ff1 = L.popup({"maxWidth": "100%"});\n", + " var popup_bc3e802dc8c8a112d996a3ce0bfc309e = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_e5d7bf8954034430b01614f2511171ae = $(`<div id="html_e5d7bf8954034430b01614f2511171ae" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1265235, 54.0804681]</div>`)[0];\n", - " popup_9041cc7500126a674524f9a1f7f43ff1.setContent(html_e5d7bf8954034430b01614f2511171ae);\n", + " var html_a1d63f9fcd1f4f61ec32d563a6a289cf = $(`<div id="html_a1d63f9fcd1f4f61ec32d563a6a289cf" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1114642, 54.0714177]</div>`)[0];\n", + " popup_bc3e802dc8c8a112d996a3ce0bfc309e.setContent(html_a1d63f9fcd1f4f61ec32d563a6a289cf);\n", " \n", " \n", "\n", - " marker_96787b635179815b6ff2e0b28b257a6e.bindPopup(popup_9041cc7500126a674524f9a1f7f43ff1)\n", + " marker_44115d7d569f4d6a1b67e4925438d58a.bindPopup(popup_bc3e802dc8c8a112d996a3ce0bfc309e)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_24db19a1ae5095d951996376b2284c10 = L.polygon(\n", - " [[54.08053280244085, 12.126510007380585], [54.08050415555247, 12.126468940485287], [54.080454387810406, 12.126459833759876], [54.08041265242831, 12.126488021857408], [54.08040339748179, 12.126536992618943], [54.08043204444766, 12.126578059579728], [54.08048181226706, 12.126587166224787], [54.08052354757165, 12.126558978061777], [54.08053280244085, 12.126510007380585]],\n", + " var polygon_d93c55b32f1222ef7c99a19946d1c3e0 = L.polygon(\n", + " [[54.07148240911289, 12.111450726005243], [54.071453774207725, 12.111409646439002], [54.07140400752088, 12.111400523555048], [54.0713622616479, 12.111428701471885], [54.07135299080977, 12.111477673994292], [54.0713816257924, 12.111518753626031], [54.07143139255656, 12.11152787642965], [54.071473138352076, 12.111499698447323], [54.07148240911289, 12.111450726005243]],\n", + " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var marker_2995d47087f33bd408d70b1f155253a8 = L.marker(\n", + " [54.0920083, 12.1576809],\n", + " {}\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", + " \n", + " \n", + " var popup_c5a3be264785cefa64dc55de37c3a833 = L.popup({"maxWidth": "100%"});\n", + "\n", + " \n", + " \n", + " var html_56877665c63a29c86a309a6da6c9728b = $(`<div id="html_56877665c63a29c86a309a6da6c9728b" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1576809, 54.0920083]</div>`)[0];\n", + " popup_c5a3be264785cefa64dc55de37c3a833.setContent(html_56877665c63a29c86a309a6da6c9728b);\n", + " \n", + " \n", + "\n", + " marker_2995d47087f33bd408d70b1f155253a8.bindPopup(popup_c5a3be264785cefa64dc55de37c3a833)\n", + " ;\n", + "\n", + " \n", + " \n", + " \n", + " var polygon_6ea5d86b7b4d8070cfa2b3ee9f5ea352 = L.polygon(\n", + " [[54.09207299687583, 12.157667370544987], [54.09204432399462, 12.157626323644386], [54.0919945487459, 12.157617246778834], [54.09195282874057, 12.157645457109915], [54.09194360304678, 12.157694429454564], [54.09197227600553, 12.157735476420624], [54.09202205133161, 12.157744553205786], [54.09206377125939, 12.157716342809245], [54.09207299687583, 12.157667370544987]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_5ef9994763856702a6eefcf18b117429 = L.marker(\n", - " [54.1513468, 12.0809851],\n", + " var marker_d517cd53f5c04c7888b515679c4555a3 = L.marker(\n", + " [54.0804681, 12.1265235],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_c50babee818379f0c5659ab37b2a712a = L.popup({"maxWidth": "100%"});\n", + " var popup_5806d4accadf471b18481e1e9e9d8057 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_66dda2b8373760653a0d0363d8b583b5 = $(`<div id="html_66dda2b8373760653a0d0363d8b583b5" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0809851, 54.1513468]</div>`)[0];\n", - " popup_c50babee818379f0c5659ab37b2a712a.setContent(html_66dda2b8373760653a0d0363d8b583b5);\n", + " var html_52a3b65f93890e6d10e0d5dfb5171676 = $(`<div id="html_52a3b65f93890e6d10e0d5dfb5171676" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1265235, 54.0804681]</div>`)[0];\n", + " popup_5806d4accadf471b18481e1e9e9d8057.setContent(html_52a3b65f93890e6d10e0d5dfb5171676);\n", " \n", " \n", "\n", - " marker_5ef9994763856702a6eefcf18b117429.bindPopup(popup_c50babee818379f0c5659ab37b2a712a)\n", + " marker_d517cd53f5c04c7888b515679c4555a3.bindPopup(popup_5806d4accadf471b18481e1e9e9d8057)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_5fd42cdfa83f6df17ef21880916d959b = L.polygon(\n", - " [[54.1514114100709, 12.080971640442437], [54.15138281566535, 12.08093062037192], [54.151333123771416, 12.08092151367481], [54.151291443172006, 12.0809496549876], [54.15128218985182, 12.08099855955719], [54.15131078433489, 12.081039579693142], [54.151360476306046, 12.081048686309881], [54.15140215682791, 12.081020544931656], [54.1514114100709, 12.080971640442437]],\n", + " var polygon_073bf4c876fbd079f3cd6c5d40a02782 = L.polygon(\n", + " [[54.08053280244085, 12.126510007380585], [54.08050415555247, 12.126468940485287], [54.080454387810406, 12.126459833759876], [54.08041265242831, 12.126488021857408], [54.08040339748179, 12.126536992618943], [54.08043204444766, 12.126578059579728], [54.08048181226706, 12.126587166224787], [54.08052354757165, 12.126558978061777], [54.08053280244085, 12.126510007380585]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var marker_6a5cc7d6eed8c19b8ace15e3f901faa0 = L.marker(\n", - " [54.0873511, 12.1068731],\n", + " var marker_29942ce9773bf300d544b10dc3636a1f = L.marker(\n", + " [54.1514884, 12.0808896],\n", " {}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", " \n", - " var popup_c29b2cce177e34fac75c4e91497426ca = L.popup({"maxWidth": "100%"});\n", + " var popup_c748961fcd9d002fec9e52e6adc11c7c = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_53778e0be15352baf86a3ecd41fe7d44 = $(`<div id="html_53778e0be15352baf86a3ecd41fe7d44" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.1068731, 54.0873511]</div>`)[0];\n", - " popup_c29b2cce177e34fac75c4e91497426ca.setContent(html_53778e0be15352baf86a3ecd41fe7d44);\n", + " var html_100a41d0a1e049cf4b917dc812584c36 = $(`<div id="html_100a41d0a1e049cf4b917dc812584c36" style="width: 100.0%; height: 100.0%;">Construction point<br>[12.0808896, 54.1514884]</div>`)[0];\n", + " popup_c748961fcd9d002fec9e52e6adc11c7c.setContent(html_100a41d0a1e049cf4b917dc812584c36);\n", " \n", " \n", "\n", - " marker_6a5cc7d6eed8c19b8ace15e3f901faa0.bindPopup(popup_c29b2cce177e34fac75c4e91497426ca)\n", + " marker_29942ce9773bf300d544b10dc3636a1f.bindPopup(popup_c748961fcd9d002fec9e52e6adc11c7c)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_9cf00d6e39c91127358b5d58546bb2b7 = L.polygon(\n", - " [[54.08741578974014, 12.106859627248674], [54.0873871615712, 12.10681856001446], [54.08733740902287, 12.10680944151022], [54.08729567640857, 12.106837613288878], [54.08728641018254, 12.106886572750875], [54.087315038428976, 12.106927640050571], [54.0873647910546, 12.106936758474474], [54.087406523591426, 12.10690858663033], [54.08741578974014, 12.106859627248674]],\n", + " var polygon_20eaa43b4b7ff38c8b247851ae4ec614 = L.polygon(\n", + " [[54.15155300988521, 12.080876140513599], [54.15152441558867, 12.080835120535202], [54.151474723848644, 12.080826013834569], [54.151433043357905, 12.080854155050247], [54.151423790037484, 12.080903059486028], [54.151452384411556, 12.080944079529866], [54.15150207622879, 12.08095318615013], [54.15154375664199, 12.080925044869012], [54.15155300988521, 12.080876140513599]],\n", " {"bubblingMouseEvents": true, "color": "#ffd699", "dashArray": null, "dashOffset": null, "fill": true, "fillColor": "#ffd699", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_30dc9c13698d98b71ca191daf74471a8);\n", + " ).addTo(map_9ee36c5d95208753478a9a73a16abacf);\n", " \n", "</script>\n", "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, "execution_count": 3, @@ -4474,8 +5311,6 @@ "source": [ "# Set up the fundamentals\n", "api_key = 'your-api-key' # Individual api key\n", - "configuration = ors.Configuration()\n", - "configuration.api_key['Authorization'] = api_key\n", "\n", "rostock_json = requests.get(url).json() # Get data as JSON\n", "\n", @@ -4561,7 +5396,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_82b85001239d0019beefd8582a276d10 {\n", + " #map_7d8e8fa45d71fb52f348b1311b23c6cd {\n", " position: relative;\n", " width: 100.0%;\n", " height: 100.0%;\n", @@ -4575,14 +5410,14 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_82b85001239d0019beefd8582a276d10" ></div>\n", + " <div class="folium-map" id="map_7d8e8fa45d71fb52f348b1311b23c6cd" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_82b85001239d0019beefd8582a276d10 = L.map(\n", - " "map_82b85001239d0019beefd8582a276d10",\n", + " var map_7d8e8fa45d71fb52f348b1311b23c6cd = L.map(\n", + " "map_7d8e8fa45d71fb52f348b1311b23c6cd",\n", " {\n", " center: [54.091389, 12.096686],\n", " crs: L.CRS.EPSG3857,\n", @@ -4596,254 +5431,278 @@ "\n", " \n", " \n", - " var tile_layer_ddbc27beee545d53984c3fce7218222a = L.tileLayer(\n", + " var tile_layer_2d1451d38e5fa15793d15da8ab788f71 = L.tileLayer(\n", " "https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png",\n", " {"attribution": "Map tiles by \\u003ca target=\\"_blank\\" href=\\"http://stamen.com\\"\\u003eStamen Design\\u003c/a\\u003e, under \\u003ca target=\\"_blank\\" href=\\"http://creativecommons.org/licenses/by/3.0\\"\\u003eCC BY 3.0\\u003c/a\\u003e. Data by \\u0026copy; \\u003ca target=\\"_blank\\" href=\\"http://openstreetmap.org\\"\\u003eOpenStreetMap\\u003c/a\\u003e, under \\u003ca target=\\"_blank\\" href=\\"http://www.openstreetmap.org/copyright\\"\\u003eODbL\\u003c/a\\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " function geo_json_0084d54981085d76f372df1f8b5175b4_styler(feature) {\n", + " function geo_json_1d12654cd05e7d5849f6fd23e3534431_styler(feature) {\n", " switch(feature.properties.transfers) {\n", " default:\n", " return {"color": "#FF0000", "opacity": 0.5, "weight": 3};\n", " }\n", " }\n", "\n", - " function geo_json_0084d54981085d76f372df1f8b5175b4_onEachFeature(feature, layer) {\n", + " function geo_json_1d12654cd05e7d5849f6fd23e3534431_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_0084d54981085d76f372df1f8b5175b4 = L.geoJson(null, {\n", - " onEachFeature: geo_json_0084d54981085d76f372df1f8b5175b4_onEachFeature,\n", + " var geo_json_1d12654cd05e7d5849f6fd23e3534431 = L.geoJson(null, {\n", + " onEachFeature: geo_json_1d12654cd05e7d5849f6fd23e3534431_onEachFeature,\n", " \n", - " style: geo_json_0084d54981085d76f372df1f8b5175b4_styler,\n", + " style: geo_json_1d12654cd05e7d5849f6fd23e3534431_styler,\n", " });\n", "\n", - " function geo_json_0084d54981085d76f372df1f8b5175b4_add (data) {\n", - " geo_json_0084d54981085d76f372df1f8b5175b4\n", + " function geo_json_1d12654cd05e7d5849f6fd23e3534431_add (data) {\n", + " geo_json_1d12654cd05e7d5849f6fd23e3534431\n", " .addData(data)\n", - " .addTo(map_82b85001239d0019beefd8582a276d10);\n", + " .addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " }\n", - " geo_json_0084d54981085d76f372df1f8b5175b4_add({"bbox": [12.071986, 54.081933, 12.110298, 54.103591], "discriminator": null, "features": [{"bbox": [12.071986, 54.081933, 12.110298, 54.103591], "geometry": {"coordinates": [[12.108244, 54.081933], [12.108691, 54.082096], [12.110298, 54.082677], [12.110265, 54.082693], [12.109738, 54.082931], [12.1091, 54.083246], [12.108911, 54.083349], [12.108803, 54.083398], [12.108707, 54.083443], [12.108663, 54.083462], [12.108552, 54.083532], [12.108206, 54.083869], [12.107475, 54.084583], [12.107127, 54.08489], [12.106948, 54.085018], [12.106564, 54.085315], [12.106471, 54.085397], [12.106267, 54.085602], [12.105088, 54.086731], [12.104929, 54.086879], [12.104354, 54.087435], [12.103999, 54.087771], [12.103668, 54.088091], [12.103434, 54.08832], [12.103305, 54.088442], [12.103188, 54.088549], [12.103132, 54.088603], [12.103096, 54.088636], [12.102533, 54.089179], [12.101786, 54.089894], [12.10104, 54.090607], [12.100676, 54.090955], [12.100154, 54.091454], [12.10003, 54.091575], [12.099516, 54.092075], [12.099335, 54.092246], [12.099182, 54.092391], [12.099134, 54.092491], [12.098722, 54.092451], [12.098428, 54.092453], [12.097964, 54.092497], [12.097603, 54.092575], [12.097098, 54.092714], [12.096775, 54.092819], [12.096641, 54.092869], [12.096222, 54.093049], [12.095869, 54.093231], [12.095817, 54.09326], [12.095707, 54.093323], [12.095573, 54.093403], [12.095034, 54.093766], [12.093563, 54.095168], [12.091539, 54.097105], [12.090904, 54.097712], [12.090531, 54.098005], [12.090325, 54.098141], [12.089864, 54.098412], [12.089609, 54.098539], [12.089374, 54.098639], [12.089261, 54.098682], [12.088898, 54.098818], [12.088609, 54.098906], [12.088494, 54.098939], [12.087578, 54.099197], [12.078477, 54.101758], [12.076117, 54.102416], [12.075683, 54.102541], [12.075504, 54.102591], [12.074881, 54.102769], [12.074734, 54.102811], [12.0744, 54.102906], [12.074163, 54.102973], [12.073912, 54.103044], [12.073528, 54.103152], [12.071986, 54.103591]], "type": "LineString"}, "properties": {"fare": 0, "summary": {"distance": 3715.1, "duration": 518.1}, "transfers": 0, "way_points": [0, 74]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "discriminator": null, "engine": {"build_date": "2023-07-09T01:31:50Z", "discriminator": null, "graph_date": "2023-11-05T11:14:13Z", "version": "7.1.0"}, "id": null, "osm_file_md5_hash": null, "query": {"alternative_routes": null, "attributes": null, "bearings": null, "continue_straight": false, "coordinates": [[12.108259, 54.081919], [12.072063, 54.103684]], "discriminator": null, "elevation": null, "extra_info": null, "geometry": true, "geometry_simplify": false, "id": null, "ignore_transfers": false, "instructions": true, "instructions_format": "text", "language": "en", "maneuvers": false, "maximum_speed": null, "options": null, "preference": "shortest", "radiuses": null, "roundabout_exits": false, "schedule": false, "schedule_duration": null, "schedule_rows": null, "skip_segments": null, "suppress_warnings": null, "units": "m", "walking_time": null}, "service": "routing", "system_message": null, "timestamp": 1699273128026}, "type": "FeatureCollection"});\n", + " geo_json_1d12654cd05e7d5849f6fd23e3534431_add({"bbox": [12.071986, 54.081933, 12.110298, 54.103591], "features": [{"bbox": [12.071986, 54.081933, 12.110298, 54.103591], "geometry": {"coordinates": [[12.108244, 54.081933], [12.108691, 54.082096], [12.110298, 54.082677], [12.110265, 54.082693], [12.109738, 54.082931], [12.1091, 54.083246], [12.108893, 54.083357], [12.108803, 54.083398], [12.108707, 54.083443], [12.108663, 54.083462], [12.108552, 54.083532], [12.108206, 54.083869], [12.108064, 54.084009], [12.108017, 54.084057], [12.107842, 54.084229], [12.107817, 54.084252], [12.107761, 54.084306], [12.107694, 54.084371], [12.107576, 54.084486], [12.107479, 54.08458], [12.107464, 54.084594], [12.10738, 54.084669], [12.10731, 54.084732], [12.107246, 54.084788], [12.107237, 54.084795], [12.107068, 54.084932], [12.106986, 54.084991], [12.106948, 54.085018], [12.106744, 54.085168], [12.106564, 54.085315], [12.106471, 54.085397], [12.106267, 54.085602], [12.105088, 54.086731], [12.104929, 54.086879], [12.104354, 54.087435], [12.103999, 54.087771], [12.103668, 54.088091], [12.103434, 54.08832], [12.103305, 54.088442], [12.103188, 54.088549], [12.103131, 54.088605], [12.103096, 54.088636], [12.102533, 54.089179], [12.101786, 54.089894], [12.10104, 54.090607], [12.100676, 54.090955], [12.100154, 54.091454], [12.10003, 54.091575], [12.099516, 54.092075], [12.099335, 54.092246], [12.099182, 54.092391], [12.099134, 54.092491], [12.098734, 54.092453], [12.098428, 54.092453], [12.097964, 54.092497], [12.097603, 54.092575], [12.097098, 54.092714], [12.096775, 54.092819], [12.096641, 54.092869], [12.096222, 54.093049], [12.095869, 54.093231], [12.095817, 54.09326], [12.095707, 54.093323], [12.095573, 54.093403], [12.095034, 54.093766], [12.093563, 54.095168], [12.091539, 54.097105], [12.090904, 54.097712], [12.090531, 54.098005], [12.090325, 54.098141], [12.089864, 54.098412], [12.089609, 54.098539], [12.089374, 54.098639], [12.089261, 54.098682], [12.088898, 54.098818], [12.088609, 54.098906], [12.088494, 54.098939], [12.087578, 54.099197], [12.078477, 54.101758], [12.076117, 54.102416], [12.075683, 54.102541], [12.075504, 54.102591], [12.074881, 54.102769], [12.074734, 54.102811], [12.0744, 54.102906], [12.074163, 54.102973], [12.073912, 54.103044], [12.073528, 54.103152], [12.071986, 54.103591]], "type": "LineString"}, "properties": {"fare": 0, "summary": {"distance": 3715.1, "duration": 519.6}, "transfers": 0, "way_points": [0, 88]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "engine": {"build_date": "2024-01-29T14:41:12Z", "graph_date": "2024-03-17T13:51:27Z", "version": "7.1.1"}, "query": {"coordinates": [[12.108259, 54.081919], [12.072063, 54.103684]], "format": "geojson", "geometry": true, "instructions_format": "text", "language": "en", "preference": "shortest", "profile": "driving-car", "units": "m", "walking_time": 900.0}, "service": "routing", "timestamp": 1710852948462}, "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " function geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_styler(feature) {\n", + " function geo_json_db5246622ad01b6ea62437564ea24091_styler(feature) {\n", " switch(feature.id) {\n", " default:\n", " return {"color": "#FFFF00", "opacity": 0.5, "weight": 3};\n", " }\n", " }\n", "\n", - " function geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_onEachFeature(feature, layer) {\n", + " function geo_json_db5246622ad01b6ea62437564ea24091_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977 = L.geoJson(null, {\n", - " onEachFeature: geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_onEachFeature,\n", + " var geo_json_db5246622ad01b6ea62437564ea24091 = L.geoJson(null, {\n", + " onEachFeature: geo_json_db5246622ad01b6ea62437564ea24091_onEachFeature,\n", " \n", - " style: geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_styler,\n", + " style: geo_json_db5246622ad01b6ea62437564ea24091_styler,\n", " });\n", "\n", - " function geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_add (data) {\n", - " geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977\n", + " function geo_json_db5246622ad01b6ea62437564ea24091_add (data) {\n", + " geo_json_db5246622ad01b6ea62437564ea24091\n", " .addData(data)\n", - " .addTo(map_82b85001239d0019beefd8582a276d10);\n", + " .addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " }\n", - " geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_add({"features": [{"geometry": {"coordinates": [[[12.085492501102712, 54.090434218907255], [12.08513905392254, 54.090533770623935], [12.076049483749864, 54.0930915542974], [12.073699870028808, 54.093746658462], [12.073626092133482, 54.09376756788773], [12.073226866231249, 54.09388255230658], [12.073082719745525, 54.093922816688064], [12.073031509848859, 54.093937284471245], [12.072408509848858, 54.09411528447125], [12.072266644565884, 54.094155817409245], [12.07194471459592, 54.094247384316866], [12.071714651313695, 54.094312423303826], [12.071468795165433, 54.09438196815676], [12.071091289807644, 54.09448814153864], [12.071063666432567, 54.09449595817545], [12.069521666432568, 54.09493495817545], [12.06868509240605, 54.09521818631187], [12.06788030792412, 54.09558204922115], [12.067115063501284, 54.09602304270457], [12.066396728859653, 54.09653691975381], [12.06573222195451, 54.09711873145198], [12.065127942350609, 54.09776287463436], [12.064589709590866, 54.09846314585], [12.064122707150986, 54.099212801104265], [12.063731432519758, 54.10000462080726], [12.063419653885768, 54.10083097930241], [12.0631903738477, 54.101683918305646], [12.063045800497656, 54.102555223548116], [12.06298732615603, 54.10343650388403], [12.063015513962698, 54.104319272102], [12.06313009245367, 54.10519502666152], [12.063329958175448, 54.10605533356743], [12.063613186311867, 54.106891907593955], [12.06397704922115, 54.10769669207588], [12.06441804270457, 54.10846193649872], [12.064931919753812, 54.10918027114035], [12.065513731451977, 54.10984477804549], [12.066157874634362, 54.1104490576494], [12.066858145849995, 54.110987290409135], [12.067607801104263, 54.11145429284902], [12.068399620807263, 54.111845567480245], [12.069225979302404, 54.11215734611424], [12.070078918305644, 54.1123866261523], [12.070950223548117, 54.11253119950235], [12.071831503884034, 54.11258967384397], [12.072714272102006, 54.11256148603731], [12.07359002666152, 54.11244690754633], [12.074450333567434, 54.11224704182455], [12.075978528112046, 54.11181197217145], [12.076348710192356, 54.11170785846136], [12.076361696732102, 54.11170419548975], [12.076612022720418, 54.111633386146444], [12.076848348686307, 54.11156657669617], [12.076862218976316, 54.11156264355929], [12.077196218976315, 54.111467643559294], [12.077206490151104, 54.11146471552876], [12.077353490151104, 54.11142271552876], [12.077950906589443, 54.11125202511781], [12.078104280254475, 54.111209183311935], [12.078173907866518, 54.11118943211227], [12.078571063457945, 54.111075043981096], [12.080894129971192, 54.11042734153799], [12.08091489556059, 54.110421524989036], [12.09001589556059, 54.107860524989036], [12.090933996553353, 54.107601933499666], [12.090976423894611, 54.10758987114732], [12.09109142389461, 54.10755687114732], [12.091230639986632, 54.10751570404721], [12.091519639986632, 54.10742770404721], [12.0920555664577, 54.10724591635372], [12.0924185664577, 54.107109916353714], [12.0924618622623, 54.107093568271004], [12.0925748622623, 54.107050568271006], [12.092897996476761, 54.106920391720706], [12.093132996476761, 54.10682039172071], [12.093621280296553, 54.10659515335144], [12.093876280296554, 54.10646815335144], [12.09442497442919, 54.10617070557866], [12.09488597442919, 54.10589970557866], [12.095283595718751, 54.10565181410354], [12.095489595718751, 54.10551581410354], [12.096090555933726, 54.10508252342418], [12.096463555933726, 54.10478952342418], [12.097122909926288, 54.10421777891791], [12.097757909926287, 54.10361077891791], [12.099779011716421, 54.10167655464479], [12.100023283486037, 54.10144374089836], [12.100091220263623, 54.101439951299845], [12.100994565417093, 54.1012965832475], [12.101878694217614, 54.101062269080586], [12.102734475177021, 54.100739428850375], [12.103553069590257, 54.10033139692595], [12.104326022823573, 54.099842387556066], [12.105045351635956, 54.09927745134338], [12.105703626631902, 54.09864242308067], [12.105849705496981, 54.098469589036355], [12.106305497585735, 54.09802621151811], [12.106315563773975, 54.0980164041981], [12.106406458404253, 54.09792770863145], [12.10689502273702, 54.09746067107964], [12.107258904824127, 54.09711278382837], [12.108004429063481, 54.09640023854331], [12.108756177254318, 54.09568069707549], [12.1087711948803, 54.09566628946752], [12.10934815754, 54.095111480632816], [12.109378806138784, 54.09508345157239], [12.109489075633007, 54.09498089964484], [12.109618075633007, 54.09485889964484], [12.109728868702312, 54.094752311250296], [12.109943260521545, 54.09454250045284], [12.110220260842823, 54.094274705580304], [12.110540636862067, 54.0939714764466], [12.110610168252974, 54.09390495817533], [12.111123644910416, 54.09340844857266], [12.11122000139732, 54.0933187582578], [12.111312633091835, 54.09323130329077], [12.11245804179233, 54.09213447002287], [12.113080953271583, 54.09163910664013], [12.113428953271583, 54.09133210664013], [12.113763655714894, 54.091021385612834], [12.113826854023554, 54.090959657032286], [12.113969280501879, 54.09089533539691], [12.114191461559102, 54.090791326964556], [12.114224461559102, 54.090775326964554], [12.114995179398084, 54.09035401150853], [12.115721157316528, 54.08985957368358], [12.116395480484995, 54.08929672293492], [12.117011726077694, 54.08867082033044], [12.117564024448928, 54.087987827497436], [12.118047115040573, 54.08725424983893], [12.118456396488098, 54.086477074570716], [12.118787970447858, 54.08566370416923], [12.119038678728238, 54.08482188586403], [12.11920613337093, 54.08395963784667], [12.119288739395893, 54.08308517289858], [12.119285709993282, 54.0822068201656], [12.119197074017695, 54.08133294582415], [12.11902367571334, 54.08047187339465], [12.118767166672741, 54.07963180446123], [12.118429990105557, 54.07882074055293], [12.118015357567394, 54.07804640693032], [12.11752721837022, 54.077316179003574], [12.11697022196577, 54.076637012082834], [12.116349673660217, 54.07601537512987], [12.115671484081949, 54.07545718914229], [12.114942112883718, 54.07496777075686], [12.114168507215442, 54.07455178160938], [12.113358035553645, 54.074213183933324], [12.111762663710055, 54.07363638801477], [12.111327280274448, 54.073477624032655], [12.11048366166445, 54.07321612466369], [12.109618473888299, 54.07303857356934], [12.108740049177241, 54.07294668066371], [12.107856847241436, 54.07294133092571], [12.106977373798337, 54.07302257587624], [12.106110098657968, 54.073189633082016], [12.105263374154031, 54.07344089369082], [12.104445354706368, 54.073773937925644], [12.103663918289433, 54.074185558388436], [12.102926590563097, 54.07467179094913], [12.102240472396431, 54.075227952922376], [12.101612171482449, 54.07584868816432], [12.101047738702418, 54.07652801865527], [12.100552609852558, 54.07725940207123], [12.10013155329436, 54.07803579479009], [12.099788624032652, 54.07884971972555], [12.099570435469037, 54.07955361409242], [12.098909373271011, 54.08018664142199], [12.09879699860268, 54.0802912417422], [12.098672831747027, 54.08040904182467], [12.09813241964167, 54.08093159683437], [12.097812363137933, 54.0812345235534], [12.097743464286461, 54.081300430246365], [12.097412464286462, 54.08162043024637], [12.097373131297688, 54.081658688749705], [12.097194072622136, 54.08183392138518], [12.097175630128842, 54.08185136312303], [12.097114193861216, 54.08190754842761], [12.09700421522343, 54.08200982529389], [12.096912215223432, 54.08209682529389], [12.096848141085065, 54.082158017368116], [12.096297459369055, 54.08268913667858], [12.095565196009126, 54.08339003132698], [12.094960997030759, 54.083967503004686], [12.09470959488028, 54.08403670082433], [12.094315626174422, 54.08415488813633], [12.09399262617442, 54.08425988813633], [12.093628685322358, 54.084386876664254], [12.093494685322359, 54.084436876664256], [12.093088581967004, 54.08459976024541], [12.092669581967003, 54.08477976024541], [12.092097677516577, 54.085049627271296], [12.091744677516578, 54.0852316272713], [12.091485385169497, 54.0853707251309], [12.091433385169497, 54.0853997251309], [12.091344105719324, 54.085450184589], [12.091234105719325, 54.085513184589], [12.091093510741869, 54.08559540549297], [12.090959510741868, 54.08567540549297], [12.090545596584686, 54.08593806765606], [12.090006596584686, 54.08630106765606], [12.089395589887376, 54.08675113496909], [12.088824670877786, 54.087251076220554], [12.087353670877786, 54.08865307622055], [12.087340318771076, 54.08866582818412], [12.085492501102712, 54.090434218907255]]], "type": "Polygon"}, "id": "0", "type": "Feature"}], "type": "FeatureCollection"});\n", + " geo_json_db5246622ad01b6ea62437564ea24091_add({"features": [{"geometry": {"coordinates": [[[12.085492501102712, 54.090434218907255], [12.08513905392254, 54.090533770623935], [12.076049483749864, 54.0930915542974], [12.073699870028808, 54.093746658462], [12.073626092133482, 54.09376756788773], [12.073226866231249, 54.09388255230658], [12.073082719745525, 54.093922816688064], [12.073031509848859, 54.093937284471245], [12.072408509848858, 54.09411528447125], [12.072266644565884, 54.094155817409245], [12.07194471459592, 54.094247384316866], [12.071714651313695, 54.094312423303826], [12.071468795165433, 54.09438196815676], [12.071091289807644, 54.09448814153864], [12.071063666432567, 54.09449595817545], [12.069521666432568, 54.09493495817545], [12.06868509240605, 54.09521818631187], [12.06788030792412, 54.09558204922115], [12.067115063501284, 54.09602304270457], [12.066396728859653, 54.09653691975381], [12.06573222195451, 54.09711873145198], [12.065127942350609, 54.09776287463436], [12.064589709590866, 54.09846314585], [12.064122707150986, 54.099212801104265], [12.063731432519758, 54.10000462080726], [12.063419653885768, 54.10083097930241], [12.0631903738477, 54.101683918305646], [12.063045800497656, 54.102555223548116], [12.06298732615603, 54.10343650388403], [12.063015513962698, 54.104319272102], [12.06313009245367, 54.10519502666152], [12.063329958175448, 54.10605533356743], [12.063613186311867, 54.106891907593955], [12.06397704922115, 54.10769669207588], [12.06441804270457, 54.10846193649872], [12.064931919753812, 54.10918027114035], [12.065513731451977, 54.10984477804549], [12.066157874634362, 54.1104490576494], [12.066858145849995, 54.110987290409135], [12.067607801104263, 54.11145429284902], [12.068399620807263, 54.111845567480245], [12.069225979302404, 54.11215734611424], [12.070078918305644, 54.1123866261523], [12.070950223548117, 54.11253119950235], [12.071831503884034, 54.11258967384397], [12.072714272102006, 54.11256148603731], [12.07359002666152, 54.11244690754633], [12.074450333567434, 54.11224704182455], [12.075978528112046, 54.11181197217145], [12.076348710192356, 54.11170785846136], [12.076361696732102, 54.11170419548975], [12.076612022720418, 54.111633386146444], [12.076848348686307, 54.11156657669617], [12.076862218976316, 54.11156264355929], [12.077196218976315, 54.111467643559294], [12.077206490151104, 54.11146471552876], [12.077353490151104, 54.11142271552876], [12.077950906589443, 54.11125202511781], [12.078104280254475, 54.111209183311935], [12.078173907866518, 54.11118943211227], [12.078571063457945, 54.111075043981096], [12.080894129971192, 54.11042734153799], [12.08091489556059, 54.110421524989036], [12.09001589556059, 54.107860524989036], [12.090933996553353, 54.107601933499666], [12.090976423894611, 54.10758987114732], [12.09109142389461, 54.10755687114732], [12.091230639986632, 54.10751570404721], [12.091519639986632, 54.10742770404721], [12.0920555664577, 54.10724591635372], [12.0924185664577, 54.107109916353714], [12.0924618622623, 54.107093568271004], [12.0925748622623, 54.107050568271006], [12.092897996476761, 54.106920391720706], [12.093132996476761, 54.10682039172071], [12.093621280296553, 54.10659515335144], [12.093876280296554, 54.10646815335144], [12.09442497442919, 54.10617070557866], [12.09488597442919, 54.10589970557866], [12.095283595718751, 54.10565181410354], [12.095489595718751, 54.10551581410354], [12.096090555933726, 54.10508252342418], [12.096463555933726, 54.10478952342418], [12.097122909926288, 54.10421777891791], [12.097757909926287, 54.10361077891791], [12.099779011716421, 54.10167655464479], [12.100024011003695, 54.10144304750627], [12.100106643090939, 54.101438288159976], [12.101008222608165, 54.10129368649987], [12.101890510236883, 54.10105847636787], [12.102744424348, 54.100735078846505], [12.103561175368837, 54.10032682275537], [12.104332356256622, 54.09983791038664], [12.105050029034489, 54.099273374249705], [12.105706806499253, 54.09863902527023], [12.105850730065985, 54.0984685923739], [12.106305497585735, 54.09802621151811], [12.106315563773975, 54.0980164041981], [12.106406458404253, 54.09792770863145], [12.10689502273702, 54.09746067107964], [12.107258904824127, 54.09711278382837], [12.108004429063481, 54.09640023854331], [12.108756177254318, 54.09568069707549], [12.108765334410064, 54.09567191982094], [12.109363334410064, 54.09509791982094], [12.109368971741732, 54.09509244542269], [12.109378806138784, 54.09508345157239], [12.109489075633007, 54.09498089964484], [12.109618075633007, 54.09485889964484], [12.109728868702312, 54.094752311250296], [12.109943260521545, 54.09454250045284], [12.110220260842823, 54.094274705580304], [12.110540636862067, 54.0939714764466], [12.110610168252974, 54.09390495817533], [12.111123644910416, 54.09340844857266], [12.11122000139732, 54.0933187582578], [12.111312633091835, 54.09323130329077], [12.112452802413452, 54.09213948720586], [12.112728522137877, 54.09192903430938], [12.112906522137877, 54.09178503430938], [12.113172541470856, 54.09156119025233], [12.113236541470856, 54.09150519025233], [12.113330682584873, 54.09142164731598], [12.113387435810203, 54.09137056941318], [12.113458141923532, 54.09130743895486], [12.113604864253407, 54.09117349741403], [12.113619864253407, 54.09115949741403], [12.113742230994031, 54.09104312134463], [12.11382967258345, 54.09095838413427], [12.113969280501879, 54.09089533539691], [12.114191461559102, 54.090791326964556], [12.114224461559102, 54.090775326964554], [12.114995179398084, 54.09035401150853], [12.115721157316528, 54.08985957368358], [12.116395480484995, 54.08929672293492], [12.117011726077694, 54.08867082033044], [12.117564024448928, 54.087987827497436], [12.118047115040573, 54.08725424983893], [12.118456396488098, 54.086477074570716], [12.118787970447858, 54.08566370416923], [12.119038678728238, 54.08482188586403], [12.11920613337093, 54.08395963784667], [12.119288739395893, 54.08308517289858], [12.119285709993282, 54.0822068201656], [12.119197074017695, 54.08133294582415], [12.11902367571334, 54.08047187339465], [12.118767166672741, 54.07963180446123], [12.118429990105557, 54.07882074055293], [12.118015357567394, 54.07804640693032], [12.11752721837022, 54.077316179003574], [12.11697022196577, 54.076637012082834], [12.116349673660217, 54.07601537512987], [12.115671484081949, 54.07545718914229], [12.114942112883718, 54.07496777075686], [12.114168507215442, 54.07455178160938], [12.113358035553645, 54.074213183933324], [12.111762663710055, 54.07363638801477], [12.111327280274448, 54.073477624032655], [12.11048366166445, 54.07321612466369], [12.109618473888299, 54.07303857356934], [12.108740049177241, 54.07294668066371], [12.107856847241436, 54.07294133092571], [12.106977373798337, 54.07302257587624], [12.106110098657968, 54.073189633082016], [12.105263374154031, 54.07344089369082], [12.104445354706368, 54.073773937925644], [12.103663918289433, 54.074185558388436], [12.102926590563097, 54.07467179094913], [12.102240472396431, 54.075227952922376], [12.101612171482449, 54.07584868816432], [12.101047738702418, 54.07652801865527], [12.100552609852558, 54.07725940207123], [12.10013155329436, 54.07803579479009], [12.099788624032652, 54.07884971972555], [12.099570435469037, 54.07955361409242], [12.098909373271011, 54.08018664142199], [12.09879699860268, 54.0802912417422], [12.098672831747027, 54.08040904182467], [12.09813241964167, 54.08093159683437], [12.097812363137933, 54.0812345235534], [12.097743464286461, 54.081300430246365], [12.097412464286462, 54.08162043024637], [12.097373131297688, 54.081658688749705], [12.097194072622136, 54.08183392138518], [12.097175630128842, 54.08185136312303], [12.097114193861216, 54.08190754842761], [12.09700421522343, 54.08200982529389], [12.096912215223432, 54.08209682529389], [12.096848141085065, 54.082158017368116], [12.096297459369055, 54.08268913667858], [12.095565196009126, 54.08339003132698], [12.094960997030759, 54.083967503004686], [12.09470959488028, 54.08403670082433], [12.094315626174422, 54.08415488813633], [12.09399262617442, 54.08425988813633], [12.093628685322358, 54.084386876664254], [12.093494685322359, 54.084436876664256], [12.093088581967004, 54.08459976024541], [12.092669581967003, 54.08477976024541], [12.092097677516577, 54.085049627271296], [12.091744677516578, 54.0852316272713], [12.091485385169497, 54.0853707251309], [12.091433385169497, 54.0853997251309], [12.091344105719324, 54.085450184589], [12.091234105719325, 54.085513184589], [12.091093510741869, 54.08559540549297], [12.090959510741868, 54.08567540549297], [12.090545596584686, 54.08593806765606], [12.090006596584686, 54.08630106765606], [12.089395589887376, 54.08675113496909], [12.088824670877786, 54.087251076220554], [12.087353670877786, 54.08865307622055], [12.087340318771076, 54.08866582818412], [12.085492501102712, 54.090434218907255]]], "type": "Polygon"}, "id": "0", "type": "Feature"}], "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " var marker_82522f07adb5a770568f599d3f726bac = L.marker(\n", - " [54.08970949997154, 12.101986500006827],\n", + " var marker_c9532ab388f35a4280a8094346f89177 = L.marker(\n", + " [54.089282399971545, 12.111994400006832],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_60716afa3fe76d73ce5c7cfdbc50435f = L.marker(\n", - " [54.09415359997154, 12.10111930000683],\n", + " var marker_42ce9919ed5e0a51251e86d89a2c4575 = L.marker(\n", + " [54.08635839997156, 12.102631300006824],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_7b4486981612b1d1c289e569894a5862 = L.marker(\n", - " [54.08919849997156, 12.11192120000683],\n", + " var marker_f08b1b31dce3281a69b0e88f9026f2e5 = L.marker(\n", + " [54.08930329997156, 12.108990700006828],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_d32e0387b00cabe03b4a0231e02407c0 = L.marker(\n", - " [54.081407899971545, 12.114860400006831],\n", + " var marker_6c1590515f962af6e9fa5e8db333414b = L.marker(\n", + " [54.09061329997156, 12.110921500006832],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_73374c52ca99a093b64c672cf99ba213 = L.marker(\n", - " [54.101126699971545, 12.08760760000682],\n", + " var marker_caf9276a5c22ec19ac5c01abe7105dd7 = L.marker(\n", + " [54.08871439997155, 12.097715600006829],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_28afe8a7118aa92348894ab580606bf9 = L.marker(\n", - " [54.09293939997155, 12.109530800006832],\n", + " var marker_6520c6185499913dc125ac1f4bccccc2 = L.marker(\n", + " [54.08631779997157, 12.104434700006827],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_7798e43953a54c427431c8f50f26839d = L.marker(\n", - " [54.09061329997156, 12.110921500006832],\n", + " var marker_f39706797efd91ac5a8d78af4eb24836 = L.marker(\n", + " [54.08693299997154, 12.109908900006829],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_491e17f09ab575ae30ff7c2bad4d6176 = L.marker(\n", - " [54.08693299997154, 12.109908900006829],\n", + " var marker_761f532ded8df30a93aaec160286d804 = L.marker(\n", + " [54.095549799971565, 12.087586500006813],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_b6d4ef6020c63078edd96a1c2b17acc8 = L.marker(\n", - " [54.08237149997154, 12.114276400006833],\n", + " var marker_356e6bba9b349ae6ff6dc2d7283138e7 = L.marker(\n", + " [54.085626799971564, 12.10501390000682],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_d0914d1dc0f822646dc8fd5d38397c11 = L.marker(\n", - " [54.095549799971565, 12.087586500006813],\n", + " var marker_f3449d71e05b42c9fb1f036adf607f9c = L.marker(\n", + " [54.07759299997155, 12.116731600006831],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_de059cc559deb19c47d134a64540b50f = L.marker(\n", - " [54.07548789997154, 12.11129210000683],\n", + " var marker_662ffc7eccc73339a92aabb4e3fc8c79 = L.marker(\n", + " [54.09439529997154, 12.084563900006815],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_577152835dda90a66de504b0e645aa86 = L.marker(\n", - " [54.07759299997155, 12.116731600006831],\n", + " var marker_2eb3aff20f02cb1765fce661e8d8760f = L.marker(\n", + " [54.07551899997156, 12.11137380000683],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_b2363763f58e46e19f7d45db348841a8 = L.marker(\n", - " [54.09169589997154, 12.10786340000683],\n", + " var marker_2510d5f334fc9aeb1edb765de9310939 = L.marker(\n", + " [54.09702059997154, 12.093661300006824],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_932ef410fcbef40e435a9113619805bf = L.marker(\n", - " [54.10618839997154, 12.089065000006823],\n", + " var marker_96ee8a91ea8f057d9711a1b8e940b14b = L.marker(\n", + " [54.087290799971555, 12.100597500006824],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_60d384617ffb9abb1d5e4ad58fdd7efe = L.marker(\n", - " [54.10576459997154, 12.075475700006814],\n", + " var marker_e8d579ffd8ef64e07f176b7342d7b0e9 = L.marker(\n", + " [54.08668619997154, 12.103402800006823],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_0443b93f49a19bcdbed20d5fccc24c6b = L.marker(\n", - " [54.08904699997156, 12.088019200006817],\n", + " var marker_df683bc27f646e8b2244afc8c8f31c8c = L.marker(\n", + " [54.08309019997156, 12.108242300006829],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_8f2d1a735379b90b8dd10d295c62e1b9 = L.marker(\n", - " [54.07934889997155, 12.112910400006829],\n", + " var marker_42fd3860883c4cf8a84933113413deb3 = L.marker(\n", + " [54.085812499971546, 12.106065700006832],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_eb63a7c5b164183030ecd0745a9419bf = L.marker(\n", + " var marker_22beecc1a3976b178efa46bad085da78 = L.marker(\n", + " [54.087573499971555, 12.102506200006827],\n", + " {}\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", + " \n", + " \n", + " var marker_c04b5ca60c8f40d2923ad99b5879f70b = L.marker(\n", " [54.08549869997155, 12.114510600006827],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", + " \n", + " \n", + " var marker_310d2a43877518b2b953d9a6b0a61c72 = L.marker(\n", + " [54.09086749997156, 12.111143800006825],\n", + " {}\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", + " \n", + " \n", + " var marker_f4c98d5c3b48555589ca6bd686c32b48 = L.marker(\n", + " [54.086363899971545, 12.105491700006827],\n", + " {}\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", + " \n", + " \n", + " var marker_7e7139a2832f6646d2920199e269fe5c = L.marker(\n", + " [54.08439439997155, 12.099685100006823],\n", + " {}\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_769a4697b177d6b73fee937ffe6f4c1d = L.marker(\n", - " [54.08502529997154, 12.100251300006823],\n", + " var marker_fb89772bfcad7a92da879c8510776df1 = L.marker(\n", + " [54.101549799971544, 12.068638900006809],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_4c4a46b7f39b65e8b146942c1eeb667f = L.marker(\n", + " var marker_30f2a8b5974312bfb0e49b1d51ab35b1 = L.marker(\n", " [54.09079079997156, 12.097901600006827],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_9e610840d818803e4111322f71432e6b = L.marker(\n", - " [54.09014439997155, 12.114625500006836],\n", + " var marker_b99cea29c6437e82fc9e2536994c792e = L.marker(\n", + " [54.09011059997155, 12.100178400006827],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_9874b9299698ad201457fb266e1118e6 = L.marker(\n", - " [54.09020579997154, 12.087022800006816],\n", + " var marker_1e14d9d6630b63eee8df906c1f16e09d = L.marker(\n", + " [54.09014439997155, 12.114625500006836],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_bec3b09d5f82252c25f81996e6a44b75 = L.marker(\n", - " [54.08810929997154, 12.099768700006823],\n", + " var marker_4588dc454edf0963511b5595ee888995 = L.marker(\n", + " [54.09525279997154, 12.095512800006826],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_3504907dc33ed0c4a613e928d7fd1102 = L.marker(\n", - " [54.09010949997157, 12.096996600006827],\n", + " var marker_6b785ca4de4c4f19c7c821713cebf8a0 = L.marker(\n", + " [54.08760979997154, 12.114436500006832],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_d167581b1f9209db95d525ffc9fdba53 = L.marker(\n", - " [54.10143009997155, 12.068254800006807],\n", + " var marker_0de9f7738888826d4825008e30b90545 = L.marker(\n", + " [54.087802899971535, 12.117271800006831],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_06dea0adaaf02ab2025231c4bc557a0a = L.marker(\n", - " [54.093225699971526, 12.088680600006816],\n", + " var marker_61f80ac89e34eb688a756fe997b091c2 = L.marker(\n", + " [54.08510899997155, 12.11008650000683],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_6118d293d6da9c778a51707244d0cd86 = L.marker(\n", - " [54.08390369997155, 12.114622900006832],\n", + " var marker_b92807f0cf5de0c83b40233edbd46771 = L.marker(\n", + " [54.09113299997155, 12.11367710000683],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_7fba5a007b0691b338bd30397cc545bb = L.marker(\n", - " [54.09460939997154, 12.103826700006831],\n", + " var marker_272bb4269e6c27e10c9847ffd2d658fe = L.marker(\n", + " [54.093225799971556, 12.08868080000682],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_2b148d777888be83b6c7e8c1418cc901 = L.marker(\n", - " [54.09706859997155, 12.07515540000681],\n", + " var marker_1d60059e4e2ed2066c024f1e88348927 = L.marker(\n", + " [54.08390369997155, 12.114622900006832],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_7bd511551939c13a0bd7a43470587a02 = L.marker(\n", - " [54.08791649997155, 12.100399700006825],\n", + " var marker_72d78a0aa58954426e3914026b4d1587 = L.marker(\n", + " [54.09460929997155, 12.103826900006826],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_0be87e50da940c1c47f9326e0e3f0310 = L.marker(\n", - " [54.08735109997156, 12.10687310000683],\n", + " var marker_1e973f04720b3517fcb4447a193f2a2d = L.marker(\n", + " [54.08728819997156, 12.106807300006826],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", "</script>\n", "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, "execution_count": 4, @@ -4864,7 +5723,7 @@ " 'zoom_start': 13})\n", "map2 = folium.Map(**map_params)\n", "\n", - "api_instance = ors.DirectionsServiceApi(ors.ApiClient(configuration))\n", + "api_instance = ors.DirectionsServiceApi(ors.apiClient(apiKey=api_key))\n", "body = ors.DirectionsService(\n", " coordinates=[[12.108259, 54.081919],[12.072063, 54.103684]],\n", " preference='shortest',\n", @@ -4939,7 +5798,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_82b85001239d0019beefd8582a276d10 {\n", + " #map_7d8e8fa45d71fb52f348b1311b23c6cd {\n", " position: relative;\n", " width: 100.0%;\n", " height: 100.0%;\n", @@ -4953,14 +5812,14 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_82b85001239d0019beefd8582a276d10" ></div>\n", + " <div class="folium-map" id="map_7d8e8fa45d71fb52f348b1311b23c6cd" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_82b85001239d0019beefd8582a276d10 = L.map(\n", - " "map_82b85001239d0019beefd8582a276d10",\n", + " var map_7d8e8fa45d71fb52f348b1311b23c6cd = L.map(\n", + " "map_7d8e8fa45d71fb52f348b1311b23c6cd",\n", " {\n", " center: [54.091389, 12.096686],\n", " crs: L.CRS.EPSG3857,\n", @@ -4974,297 +5833,321 @@ "\n", " \n", " \n", - " var tile_layer_ddbc27beee545d53984c3fce7218222a = L.tileLayer(\n", + " var tile_layer_2d1451d38e5fa15793d15da8ab788f71 = L.tileLayer(\n", " "https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png",\n", " {"attribution": "Map tiles by \\u003ca target=\\"_blank\\" href=\\"http://stamen.com\\"\\u003eStamen Design\\u003c/a\\u003e, under \\u003ca target=\\"_blank\\" href=\\"http://creativecommons.org/licenses/by/3.0\\"\\u003eCC BY 3.0\\u003c/a\\u003e. Data by \\u0026copy; \\u003ca target=\\"_blank\\" href=\\"http://openstreetmap.org\\"\\u003eOpenStreetMap\\u003c/a\\u003e, under \\u003ca target=\\"_blank\\" href=\\"http://www.openstreetmap.org/copyright\\"\\u003eODbL\\u003c/a\\u003e.", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " function geo_json_0084d54981085d76f372df1f8b5175b4_styler(feature) {\n", + " function geo_json_1d12654cd05e7d5849f6fd23e3534431_styler(feature) {\n", " switch(feature.properties.transfers) {\n", " default:\n", " return {"color": "#FF0000", "opacity": 0.5, "weight": 3};\n", " }\n", " }\n", "\n", - " function geo_json_0084d54981085d76f372df1f8b5175b4_onEachFeature(feature, layer) {\n", + " function geo_json_1d12654cd05e7d5849f6fd23e3534431_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_0084d54981085d76f372df1f8b5175b4 = L.geoJson(null, {\n", - " onEachFeature: geo_json_0084d54981085d76f372df1f8b5175b4_onEachFeature,\n", + " var geo_json_1d12654cd05e7d5849f6fd23e3534431 = L.geoJson(null, {\n", + " onEachFeature: geo_json_1d12654cd05e7d5849f6fd23e3534431_onEachFeature,\n", " \n", - " style: geo_json_0084d54981085d76f372df1f8b5175b4_styler,\n", + " style: geo_json_1d12654cd05e7d5849f6fd23e3534431_styler,\n", " });\n", "\n", - " function geo_json_0084d54981085d76f372df1f8b5175b4_add (data) {\n", - " geo_json_0084d54981085d76f372df1f8b5175b4\n", + " function geo_json_1d12654cd05e7d5849f6fd23e3534431_add (data) {\n", + " geo_json_1d12654cd05e7d5849f6fd23e3534431\n", " .addData(data)\n", - " .addTo(map_82b85001239d0019beefd8582a276d10);\n", + " .addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " }\n", - " geo_json_0084d54981085d76f372df1f8b5175b4_add({"bbox": [12.071986, 54.081933, 12.110298, 54.103591], "discriminator": null, "features": [{"bbox": [12.071986, 54.081933, 12.110298, 54.103591], "geometry": {"coordinates": [[12.108244, 54.081933], [12.108691, 54.082096], [12.110298, 54.082677], [12.110265, 54.082693], [12.109738, 54.082931], [12.1091, 54.083246], [12.108911, 54.083349], [12.108803, 54.083398], [12.108707, 54.083443], [12.108663, 54.083462], [12.108552, 54.083532], [12.108206, 54.083869], [12.107475, 54.084583], [12.107127, 54.08489], [12.106948, 54.085018], [12.106564, 54.085315], [12.106471, 54.085397], [12.106267, 54.085602], [12.105088, 54.086731], [12.104929, 54.086879], [12.104354, 54.087435], [12.103999, 54.087771], [12.103668, 54.088091], [12.103434, 54.08832], [12.103305, 54.088442], [12.103188, 54.088549], [12.103132, 54.088603], [12.103096, 54.088636], [12.102533, 54.089179], [12.101786, 54.089894], [12.10104, 54.090607], [12.100676, 54.090955], [12.100154, 54.091454], [12.10003, 54.091575], [12.099516, 54.092075], [12.099335, 54.092246], [12.099182, 54.092391], [12.099134, 54.092491], [12.098722, 54.092451], [12.098428, 54.092453], [12.097964, 54.092497], [12.097603, 54.092575], [12.097098, 54.092714], [12.096775, 54.092819], [12.096641, 54.092869], [12.096222, 54.093049], [12.095869, 54.093231], [12.095817, 54.09326], [12.095707, 54.093323], [12.095573, 54.093403], [12.095034, 54.093766], [12.093563, 54.095168], [12.091539, 54.097105], [12.090904, 54.097712], [12.090531, 54.098005], [12.090325, 54.098141], [12.089864, 54.098412], [12.089609, 54.098539], [12.089374, 54.098639], [12.089261, 54.098682], [12.088898, 54.098818], [12.088609, 54.098906], [12.088494, 54.098939], [12.087578, 54.099197], [12.078477, 54.101758], [12.076117, 54.102416], [12.075683, 54.102541], [12.075504, 54.102591], [12.074881, 54.102769], [12.074734, 54.102811], [12.0744, 54.102906], [12.074163, 54.102973], [12.073912, 54.103044], [12.073528, 54.103152], [12.071986, 54.103591]], "type": "LineString"}, "properties": {"fare": 0, "summary": {"distance": 3715.1, "duration": 518.1}, "transfers": 0, "way_points": [0, 74]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "discriminator": null, "engine": {"build_date": "2023-07-09T01:31:50Z", "discriminator": null, "graph_date": "2023-11-05T11:14:13Z", "version": "7.1.0"}, "id": null, "osm_file_md5_hash": null, "query": {"alternative_routes": null, "attributes": null, "bearings": null, "continue_straight": false, "coordinates": [[12.108259, 54.081919], [12.072063, 54.103684]], "discriminator": null, "elevation": null, "extra_info": null, "geometry": true, "geometry_simplify": false, "id": null, "ignore_transfers": false, "instructions": true, "instructions_format": "text", "language": "en", "maneuvers": false, "maximum_speed": null, "options": null, "preference": "shortest", "radiuses": null, "roundabout_exits": false, "schedule": false, "schedule_duration": null, "schedule_rows": null, "skip_segments": null, "suppress_warnings": null, "units": "m", "walking_time": null}, "service": "routing", "system_message": null, "timestamp": 1699273128026}, "type": "FeatureCollection"});\n", + " geo_json_1d12654cd05e7d5849f6fd23e3534431_add({"bbox": [12.071986, 54.081933, 12.110298, 54.103591], "features": [{"bbox": [12.071986, 54.081933, 12.110298, 54.103591], "geometry": {"coordinates": [[12.108244, 54.081933], [12.108691, 54.082096], [12.110298, 54.082677], [12.110265, 54.082693], [12.109738, 54.082931], [12.1091, 54.083246], [12.108893, 54.083357], [12.108803, 54.083398], [12.108707, 54.083443], [12.108663, 54.083462], [12.108552, 54.083532], [12.108206, 54.083869], [12.108064, 54.084009], [12.108017, 54.084057], [12.107842, 54.084229], [12.107817, 54.084252], [12.107761, 54.084306], [12.107694, 54.084371], [12.107576, 54.084486], [12.107479, 54.08458], [12.107464, 54.084594], [12.10738, 54.084669], [12.10731, 54.084732], [12.107246, 54.084788], [12.107237, 54.084795], [12.107068, 54.084932], [12.106986, 54.084991], [12.106948, 54.085018], [12.106744, 54.085168], [12.106564, 54.085315], [12.106471, 54.085397], [12.106267, 54.085602], [12.105088, 54.086731], [12.104929, 54.086879], [12.104354, 54.087435], [12.103999, 54.087771], [12.103668, 54.088091], [12.103434, 54.08832], [12.103305, 54.088442], [12.103188, 54.088549], [12.103131, 54.088605], [12.103096, 54.088636], [12.102533, 54.089179], [12.101786, 54.089894], [12.10104, 54.090607], [12.100676, 54.090955], [12.100154, 54.091454], [12.10003, 54.091575], [12.099516, 54.092075], [12.099335, 54.092246], [12.099182, 54.092391], [12.099134, 54.092491], [12.098734, 54.092453], [12.098428, 54.092453], [12.097964, 54.092497], [12.097603, 54.092575], [12.097098, 54.092714], [12.096775, 54.092819], [12.096641, 54.092869], [12.096222, 54.093049], [12.095869, 54.093231], [12.095817, 54.09326], [12.095707, 54.093323], [12.095573, 54.093403], [12.095034, 54.093766], [12.093563, 54.095168], [12.091539, 54.097105], [12.090904, 54.097712], [12.090531, 54.098005], [12.090325, 54.098141], [12.089864, 54.098412], [12.089609, 54.098539], [12.089374, 54.098639], [12.089261, 54.098682], [12.088898, 54.098818], [12.088609, 54.098906], [12.088494, 54.098939], [12.087578, 54.099197], [12.078477, 54.101758], [12.076117, 54.102416], [12.075683, 54.102541], [12.075504, 54.102591], [12.074881, 54.102769], [12.074734, 54.102811], [12.0744, 54.102906], [12.074163, 54.102973], [12.073912, 54.103044], [12.073528, 54.103152], [12.071986, 54.103591]], "type": "LineString"}, "properties": {"fare": 0, "summary": {"distance": 3715.1, "duration": 519.6}, "transfers": 0, "way_points": [0, 88]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "engine": {"build_date": "2024-01-29T14:41:12Z", "graph_date": "2024-03-17T13:51:27Z", "version": "7.1.1"}, "query": {"coordinates": [[12.108259, 54.081919], [12.072063, 54.103684]], "format": "geojson", "geometry": true, "instructions_format": "text", "language": "en", "preference": "shortest", "profile": "driving-car", "units": "m", "walking_time": 900.0}, "service": "routing", "timestamp": 1710852948462}, "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " function geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_styler(feature) {\n", + " function geo_json_db5246622ad01b6ea62437564ea24091_styler(feature) {\n", " switch(feature.id) {\n", " default:\n", " return {"color": "#FFFF00", "opacity": 0.5, "weight": 3};\n", " }\n", " }\n", "\n", - " function geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_onEachFeature(feature, layer) {\n", + " function geo_json_db5246622ad01b6ea62437564ea24091_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977 = L.geoJson(null, {\n", - " onEachFeature: geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_onEachFeature,\n", + " var geo_json_db5246622ad01b6ea62437564ea24091 = L.geoJson(null, {\n", + " onEachFeature: geo_json_db5246622ad01b6ea62437564ea24091_onEachFeature,\n", " \n", - " style: geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_styler,\n", + " style: geo_json_db5246622ad01b6ea62437564ea24091_styler,\n", " });\n", "\n", - " function geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_add (data) {\n", - " geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977\n", + " function geo_json_db5246622ad01b6ea62437564ea24091_add (data) {\n", + " geo_json_db5246622ad01b6ea62437564ea24091\n", " .addData(data)\n", - " .addTo(map_82b85001239d0019beefd8582a276d10);\n", + " .addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " }\n", - " geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977_add({"features": [{"geometry": {"coordinates": [[[12.085492501102712, 54.090434218907255], [12.08513905392254, 54.090533770623935], [12.076049483749864, 54.0930915542974], [12.073699870028808, 54.093746658462], [12.073626092133482, 54.09376756788773], [12.073226866231249, 54.09388255230658], [12.073082719745525, 54.093922816688064], [12.073031509848859, 54.093937284471245], [12.072408509848858, 54.09411528447125], [12.072266644565884, 54.094155817409245], [12.07194471459592, 54.094247384316866], [12.071714651313695, 54.094312423303826], [12.071468795165433, 54.09438196815676], [12.071091289807644, 54.09448814153864], [12.071063666432567, 54.09449595817545], [12.069521666432568, 54.09493495817545], [12.06868509240605, 54.09521818631187], [12.06788030792412, 54.09558204922115], [12.067115063501284, 54.09602304270457], [12.066396728859653, 54.09653691975381], [12.06573222195451, 54.09711873145198], [12.065127942350609, 54.09776287463436], [12.064589709590866, 54.09846314585], [12.064122707150986, 54.099212801104265], [12.063731432519758, 54.10000462080726], [12.063419653885768, 54.10083097930241], [12.0631903738477, 54.101683918305646], [12.063045800497656, 54.102555223548116], [12.06298732615603, 54.10343650388403], [12.063015513962698, 54.104319272102], [12.06313009245367, 54.10519502666152], [12.063329958175448, 54.10605533356743], [12.063613186311867, 54.106891907593955], [12.06397704922115, 54.10769669207588], [12.06441804270457, 54.10846193649872], [12.064931919753812, 54.10918027114035], [12.065513731451977, 54.10984477804549], [12.066157874634362, 54.1104490576494], [12.066858145849995, 54.110987290409135], [12.067607801104263, 54.11145429284902], [12.068399620807263, 54.111845567480245], [12.069225979302404, 54.11215734611424], [12.070078918305644, 54.1123866261523], [12.070950223548117, 54.11253119950235], [12.071831503884034, 54.11258967384397], [12.072714272102006, 54.11256148603731], [12.07359002666152, 54.11244690754633], [12.074450333567434, 54.11224704182455], [12.075978528112046, 54.11181197217145], [12.076348710192356, 54.11170785846136], [12.076361696732102, 54.11170419548975], [12.076612022720418, 54.111633386146444], [12.076848348686307, 54.11156657669617], [12.076862218976316, 54.11156264355929], [12.077196218976315, 54.111467643559294], [12.077206490151104, 54.11146471552876], [12.077353490151104, 54.11142271552876], [12.077950906589443, 54.11125202511781], [12.078104280254475, 54.111209183311935], [12.078173907866518, 54.11118943211227], [12.078571063457945, 54.111075043981096], [12.080894129971192, 54.11042734153799], [12.08091489556059, 54.110421524989036], [12.09001589556059, 54.107860524989036], [12.090933996553353, 54.107601933499666], [12.090976423894611, 54.10758987114732], [12.09109142389461, 54.10755687114732], [12.091230639986632, 54.10751570404721], [12.091519639986632, 54.10742770404721], [12.0920555664577, 54.10724591635372], [12.0924185664577, 54.107109916353714], [12.0924618622623, 54.107093568271004], [12.0925748622623, 54.107050568271006], [12.092897996476761, 54.106920391720706], [12.093132996476761, 54.10682039172071], [12.093621280296553, 54.10659515335144], [12.093876280296554, 54.10646815335144], [12.09442497442919, 54.10617070557866], [12.09488597442919, 54.10589970557866], [12.095283595718751, 54.10565181410354], [12.095489595718751, 54.10551581410354], [12.096090555933726, 54.10508252342418], [12.096463555933726, 54.10478952342418], [12.097122909926288, 54.10421777891791], [12.097757909926287, 54.10361077891791], [12.099779011716421, 54.10167655464479], [12.100023283486037, 54.10144374089836], [12.100091220263623, 54.101439951299845], [12.100994565417093, 54.1012965832475], [12.101878694217614, 54.101062269080586], [12.102734475177021, 54.100739428850375], [12.103553069590257, 54.10033139692595], [12.104326022823573, 54.099842387556066], [12.105045351635956, 54.09927745134338], [12.105703626631902, 54.09864242308067], [12.105849705496981, 54.098469589036355], [12.106305497585735, 54.09802621151811], [12.106315563773975, 54.0980164041981], [12.106406458404253, 54.09792770863145], [12.10689502273702, 54.09746067107964], [12.107258904824127, 54.09711278382837], [12.108004429063481, 54.09640023854331], [12.108756177254318, 54.09568069707549], [12.1087711948803, 54.09566628946752], [12.10934815754, 54.095111480632816], [12.109378806138784, 54.09508345157239], [12.109489075633007, 54.09498089964484], [12.109618075633007, 54.09485889964484], [12.109728868702312, 54.094752311250296], [12.109943260521545, 54.09454250045284], [12.110220260842823, 54.094274705580304], [12.110540636862067, 54.0939714764466], [12.110610168252974, 54.09390495817533], [12.111123644910416, 54.09340844857266], [12.11122000139732, 54.0933187582578], [12.111312633091835, 54.09323130329077], [12.11245804179233, 54.09213447002287], [12.113080953271583, 54.09163910664013], [12.113428953271583, 54.09133210664013], [12.113763655714894, 54.091021385612834], [12.113826854023554, 54.090959657032286], [12.113969280501879, 54.09089533539691], [12.114191461559102, 54.090791326964556], [12.114224461559102, 54.090775326964554], [12.114995179398084, 54.09035401150853], [12.115721157316528, 54.08985957368358], [12.116395480484995, 54.08929672293492], [12.117011726077694, 54.08867082033044], [12.117564024448928, 54.087987827497436], [12.118047115040573, 54.08725424983893], [12.118456396488098, 54.086477074570716], [12.118787970447858, 54.08566370416923], [12.119038678728238, 54.08482188586403], [12.11920613337093, 54.08395963784667], [12.119288739395893, 54.08308517289858], [12.119285709993282, 54.0822068201656], [12.119197074017695, 54.08133294582415], [12.11902367571334, 54.08047187339465], [12.118767166672741, 54.07963180446123], [12.118429990105557, 54.07882074055293], [12.118015357567394, 54.07804640693032], [12.11752721837022, 54.077316179003574], [12.11697022196577, 54.076637012082834], [12.116349673660217, 54.07601537512987], [12.115671484081949, 54.07545718914229], [12.114942112883718, 54.07496777075686], [12.114168507215442, 54.07455178160938], [12.113358035553645, 54.074213183933324], [12.111762663710055, 54.07363638801477], [12.111327280274448, 54.073477624032655], [12.11048366166445, 54.07321612466369], [12.109618473888299, 54.07303857356934], [12.108740049177241, 54.07294668066371], [12.107856847241436, 54.07294133092571], [12.106977373798337, 54.07302257587624], [12.106110098657968, 54.073189633082016], [12.105263374154031, 54.07344089369082], [12.104445354706368, 54.073773937925644], [12.103663918289433, 54.074185558388436], [12.102926590563097, 54.07467179094913], [12.102240472396431, 54.075227952922376], [12.101612171482449, 54.07584868816432], [12.101047738702418, 54.07652801865527], [12.100552609852558, 54.07725940207123], [12.10013155329436, 54.07803579479009], [12.099788624032652, 54.07884971972555], [12.099570435469037, 54.07955361409242], [12.098909373271011, 54.08018664142199], [12.09879699860268, 54.0802912417422], [12.098672831747027, 54.08040904182467], [12.09813241964167, 54.08093159683437], [12.097812363137933, 54.0812345235534], [12.097743464286461, 54.081300430246365], [12.097412464286462, 54.08162043024637], [12.097373131297688, 54.081658688749705], [12.097194072622136, 54.08183392138518], [12.097175630128842, 54.08185136312303], [12.097114193861216, 54.08190754842761], [12.09700421522343, 54.08200982529389], [12.096912215223432, 54.08209682529389], [12.096848141085065, 54.082158017368116], [12.096297459369055, 54.08268913667858], [12.095565196009126, 54.08339003132698], [12.094960997030759, 54.083967503004686], [12.09470959488028, 54.08403670082433], [12.094315626174422, 54.08415488813633], [12.09399262617442, 54.08425988813633], [12.093628685322358, 54.084386876664254], [12.093494685322359, 54.084436876664256], [12.093088581967004, 54.08459976024541], [12.092669581967003, 54.08477976024541], [12.092097677516577, 54.085049627271296], [12.091744677516578, 54.0852316272713], [12.091485385169497, 54.0853707251309], [12.091433385169497, 54.0853997251309], [12.091344105719324, 54.085450184589], [12.091234105719325, 54.085513184589], [12.091093510741869, 54.08559540549297], [12.090959510741868, 54.08567540549297], [12.090545596584686, 54.08593806765606], [12.090006596584686, 54.08630106765606], [12.089395589887376, 54.08675113496909], [12.088824670877786, 54.087251076220554], [12.087353670877786, 54.08865307622055], [12.087340318771076, 54.08866582818412], [12.085492501102712, 54.090434218907255]]], "type": "Polygon"}, "id": "0", "type": "Feature"}], "type": "FeatureCollection"});\n", + " geo_json_db5246622ad01b6ea62437564ea24091_add({"features": [{"geometry": {"coordinates": [[[12.085492501102712, 54.090434218907255], [12.08513905392254, 54.090533770623935], [12.076049483749864, 54.0930915542974], [12.073699870028808, 54.093746658462], [12.073626092133482, 54.09376756788773], [12.073226866231249, 54.09388255230658], [12.073082719745525, 54.093922816688064], [12.073031509848859, 54.093937284471245], [12.072408509848858, 54.09411528447125], [12.072266644565884, 54.094155817409245], [12.07194471459592, 54.094247384316866], [12.071714651313695, 54.094312423303826], [12.071468795165433, 54.09438196815676], [12.071091289807644, 54.09448814153864], [12.071063666432567, 54.09449595817545], [12.069521666432568, 54.09493495817545], [12.06868509240605, 54.09521818631187], [12.06788030792412, 54.09558204922115], [12.067115063501284, 54.09602304270457], [12.066396728859653, 54.09653691975381], [12.06573222195451, 54.09711873145198], [12.065127942350609, 54.09776287463436], [12.064589709590866, 54.09846314585], [12.064122707150986, 54.099212801104265], [12.063731432519758, 54.10000462080726], [12.063419653885768, 54.10083097930241], [12.0631903738477, 54.101683918305646], [12.063045800497656, 54.102555223548116], [12.06298732615603, 54.10343650388403], [12.063015513962698, 54.104319272102], [12.06313009245367, 54.10519502666152], [12.063329958175448, 54.10605533356743], [12.063613186311867, 54.106891907593955], [12.06397704922115, 54.10769669207588], [12.06441804270457, 54.10846193649872], [12.064931919753812, 54.10918027114035], [12.065513731451977, 54.10984477804549], [12.066157874634362, 54.1104490576494], [12.066858145849995, 54.110987290409135], [12.067607801104263, 54.11145429284902], [12.068399620807263, 54.111845567480245], [12.069225979302404, 54.11215734611424], [12.070078918305644, 54.1123866261523], [12.070950223548117, 54.11253119950235], [12.071831503884034, 54.11258967384397], [12.072714272102006, 54.11256148603731], [12.07359002666152, 54.11244690754633], [12.074450333567434, 54.11224704182455], [12.075978528112046, 54.11181197217145], [12.076348710192356, 54.11170785846136], [12.076361696732102, 54.11170419548975], [12.076612022720418, 54.111633386146444], [12.076848348686307, 54.11156657669617], [12.076862218976316, 54.11156264355929], [12.077196218976315, 54.111467643559294], [12.077206490151104, 54.11146471552876], [12.077353490151104, 54.11142271552876], [12.077950906589443, 54.11125202511781], [12.078104280254475, 54.111209183311935], [12.078173907866518, 54.11118943211227], [12.078571063457945, 54.111075043981096], [12.080894129971192, 54.11042734153799], [12.08091489556059, 54.110421524989036], [12.09001589556059, 54.107860524989036], [12.090933996553353, 54.107601933499666], [12.090976423894611, 54.10758987114732], [12.09109142389461, 54.10755687114732], [12.091230639986632, 54.10751570404721], [12.091519639986632, 54.10742770404721], [12.0920555664577, 54.10724591635372], [12.0924185664577, 54.107109916353714], [12.0924618622623, 54.107093568271004], [12.0925748622623, 54.107050568271006], [12.092897996476761, 54.106920391720706], [12.093132996476761, 54.10682039172071], [12.093621280296553, 54.10659515335144], [12.093876280296554, 54.10646815335144], [12.09442497442919, 54.10617070557866], [12.09488597442919, 54.10589970557866], [12.095283595718751, 54.10565181410354], [12.095489595718751, 54.10551581410354], [12.096090555933726, 54.10508252342418], [12.096463555933726, 54.10478952342418], [12.097122909926288, 54.10421777891791], [12.097757909926287, 54.10361077891791], [12.099779011716421, 54.10167655464479], [12.100024011003695, 54.10144304750627], [12.100106643090939, 54.101438288159976], [12.101008222608165, 54.10129368649987], [12.101890510236883, 54.10105847636787], [12.102744424348, 54.100735078846505], [12.103561175368837, 54.10032682275537], [12.104332356256622, 54.09983791038664], [12.105050029034489, 54.099273374249705], [12.105706806499253, 54.09863902527023], [12.105850730065985, 54.0984685923739], [12.106305497585735, 54.09802621151811], [12.106315563773975, 54.0980164041981], [12.106406458404253, 54.09792770863145], [12.10689502273702, 54.09746067107964], [12.107258904824127, 54.09711278382837], [12.108004429063481, 54.09640023854331], [12.108756177254318, 54.09568069707549], [12.108765334410064, 54.09567191982094], [12.109363334410064, 54.09509791982094], [12.109368971741732, 54.09509244542269], [12.109378806138784, 54.09508345157239], [12.109489075633007, 54.09498089964484], [12.109618075633007, 54.09485889964484], [12.109728868702312, 54.094752311250296], [12.109943260521545, 54.09454250045284], [12.110220260842823, 54.094274705580304], [12.110540636862067, 54.0939714764466], [12.110610168252974, 54.09390495817533], [12.111123644910416, 54.09340844857266], [12.11122000139732, 54.0933187582578], [12.111312633091835, 54.09323130329077], [12.112452802413452, 54.09213948720586], [12.112728522137877, 54.09192903430938], [12.112906522137877, 54.09178503430938], [12.113172541470856, 54.09156119025233], [12.113236541470856, 54.09150519025233], [12.113330682584873, 54.09142164731598], [12.113387435810203, 54.09137056941318], [12.113458141923532, 54.09130743895486], [12.113604864253407, 54.09117349741403], [12.113619864253407, 54.09115949741403], [12.113742230994031, 54.09104312134463], [12.11382967258345, 54.09095838413427], [12.113969280501879, 54.09089533539691], [12.114191461559102, 54.090791326964556], [12.114224461559102, 54.090775326964554], [12.114995179398084, 54.09035401150853], [12.115721157316528, 54.08985957368358], [12.116395480484995, 54.08929672293492], [12.117011726077694, 54.08867082033044], [12.117564024448928, 54.087987827497436], [12.118047115040573, 54.08725424983893], [12.118456396488098, 54.086477074570716], [12.118787970447858, 54.08566370416923], [12.119038678728238, 54.08482188586403], [12.11920613337093, 54.08395963784667], [12.119288739395893, 54.08308517289858], [12.119285709993282, 54.0822068201656], [12.119197074017695, 54.08133294582415], [12.11902367571334, 54.08047187339465], [12.118767166672741, 54.07963180446123], [12.118429990105557, 54.07882074055293], [12.118015357567394, 54.07804640693032], [12.11752721837022, 54.077316179003574], [12.11697022196577, 54.076637012082834], [12.116349673660217, 54.07601537512987], [12.115671484081949, 54.07545718914229], [12.114942112883718, 54.07496777075686], [12.114168507215442, 54.07455178160938], [12.113358035553645, 54.074213183933324], [12.111762663710055, 54.07363638801477], [12.111327280274448, 54.073477624032655], [12.11048366166445, 54.07321612466369], [12.109618473888299, 54.07303857356934], [12.108740049177241, 54.07294668066371], [12.107856847241436, 54.07294133092571], [12.106977373798337, 54.07302257587624], [12.106110098657968, 54.073189633082016], [12.105263374154031, 54.07344089369082], [12.104445354706368, 54.073773937925644], [12.103663918289433, 54.074185558388436], [12.102926590563097, 54.07467179094913], [12.102240472396431, 54.075227952922376], [12.101612171482449, 54.07584868816432], [12.101047738702418, 54.07652801865527], [12.100552609852558, 54.07725940207123], [12.10013155329436, 54.07803579479009], [12.099788624032652, 54.07884971972555], [12.099570435469037, 54.07955361409242], [12.098909373271011, 54.08018664142199], [12.09879699860268, 54.0802912417422], [12.098672831747027, 54.08040904182467], [12.09813241964167, 54.08093159683437], [12.097812363137933, 54.0812345235534], [12.097743464286461, 54.081300430246365], [12.097412464286462, 54.08162043024637], [12.097373131297688, 54.081658688749705], [12.097194072622136, 54.08183392138518], [12.097175630128842, 54.08185136312303], [12.097114193861216, 54.08190754842761], [12.09700421522343, 54.08200982529389], [12.096912215223432, 54.08209682529389], [12.096848141085065, 54.082158017368116], [12.096297459369055, 54.08268913667858], [12.095565196009126, 54.08339003132698], [12.094960997030759, 54.083967503004686], [12.09470959488028, 54.08403670082433], [12.094315626174422, 54.08415488813633], [12.09399262617442, 54.08425988813633], [12.093628685322358, 54.084386876664254], [12.093494685322359, 54.084436876664256], [12.093088581967004, 54.08459976024541], [12.092669581967003, 54.08477976024541], [12.092097677516577, 54.085049627271296], [12.091744677516578, 54.0852316272713], [12.091485385169497, 54.0853707251309], [12.091433385169497, 54.0853997251309], [12.091344105719324, 54.085450184589], [12.091234105719325, 54.085513184589], [12.091093510741869, 54.08559540549297], [12.090959510741868, 54.08567540549297], [12.090545596584686, 54.08593806765606], [12.090006596584686, 54.08630106765606], [12.089395589887376, 54.08675113496909], [12.088824670877786, 54.087251076220554], [12.087353670877786, 54.08865307622055], [12.087340318771076, 54.08866582818412], [12.085492501102712, 54.090434218907255]]], "type": "Polygon"}, "id": "0", "type": "Feature"}], "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " var marker_82522f07adb5a770568f599d3f726bac = L.marker(\n", - " [54.08970949997154, 12.101986500006827],\n", + " var marker_c9532ab388f35a4280a8094346f89177 = L.marker(\n", + " [54.089282399971545, 12.111994400006832],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_60716afa3fe76d73ce5c7cfdbc50435f = L.marker(\n", - " [54.09415359997154, 12.10111930000683],\n", + " var marker_42ce9919ed5e0a51251e86d89a2c4575 = L.marker(\n", + " [54.08635839997156, 12.102631300006824],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_7b4486981612b1d1c289e569894a5862 = L.marker(\n", - " [54.08919849997156, 12.11192120000683],\n", + " var marker_f08b1b31dce3281a69b0e88f9026f2e5 = L.marker(\n", + " [54.08930329997156, 12.108990700006828],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_d32e0387b00cabe03b4a0231e02407c0 = L.marker(\n", - " [54.081407899971545, 12.114860400006831],\n", + " var marker_6c1590515f962af6e9fa5e8db333414b = L.marker(\n", + " [54.09061329997156, 12.110921500006832],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_73374c52ca99a093b64c672cf99ba213 = L.marker(\n", - " [54.101126699971545, 12.08760760000682],\n", + " var marker_caf9276a5c22ec19ac5c01abe7105dd7 = L.marker(\n", + " [54.08871439997155, 12.097715600006829],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_28afe8a7118aa92348894ab580606bf9 = L.marker(\n", - " [54.09293939997155, 12.109530800006832],\n", + " var marker_6520c6185499913dc125ac1f4bccccc2 = L.marker(\n", + " [54.08631779997157, 12.104434700006827],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_7798e43953a54c427431c8f50f26839d = L.marker(\n", - " [54.09061329997156, 12.110921500006832],\n", + " var marker_f39706797efd91ac5a8d78af4eb24836 = L.marker(\n", + " [54.08693299997154, 12.109908900006829],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_491e17f09ab575ae30ff7c2bad4d6176 = L.marker(\n", - " [54.08693299997154, 12.109908900006829],\n", + " var marker_761f532ded8df30a93aaec160286d804 = L.marker(\n", + " [54.095549799971565, 12.087586500006813],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_b6d4ef6020c63078edd96a1c2b17acc8 = L.marker(\n", - " [54.08237149997154, 12.114276400006833],\n", + " var marker_356e6bba9b349ae6ff6dc2d7283138e7 = L.marker(\n", + " [54.085626799971564, 12.10501390000682],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_d0914d1dc0f822646dc8fd5d38397c11 = L.marker(\n", - " [54.095549799971565, 12.087586500006813],\n", + " var marker_f3449d71e05b42c9fb1f036adf607f9c = L.marker(\n", + " [54.07759299997155, 12.116731600006831],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_de059cc559deb19c47d134a64540b50f = L.marker(\n", - " [54.07548789997154, 12.11129210000683],\n", + " var marker_662ffc7eccc73339a92aabb4e3fc8c79 = L.marker(\n", + " [54.09439529997154, 12.084563900006815],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_577152835dda90a66de504b0e645aa86 = L.marker(\n", - " [54.07759299997155, 12.116731600006831],\n", + " var marker_2eb3aff20f02cb1765fce661e8d8760f = L.marker(\n", + " [54.07551899997156, 12.11137380000683],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_b2363763f58e46e19f7d45db348841a8 = L.marker(\n", - " [54.09169589997154, 12.10786340000683],\n", + " var marker_2510d5f334fc9aeb1edb765de9310939 = L.marker(\n", + " [54.09702059997154, 12.093661300006824],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_932ef410fcbef40e435a9113619805bf = L.marker(\n", - " [54.10618839997154, 12.089065000006823],\n", + " var marker_96ee8a91ea8f057d9711a1b8e940b14b = L.marker(\n", + " [54.087290799971555, 12.100597500006824],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_60d384617ffb9abb1d5e4ad58fdd7efe = L.marker(\n", - " [54.10576459997154, 12.075475700006814],\n", + " var marker_e8d579ffd8ef64e07f176b7342d7b0e9 = L.marker(\n", + " [54.08668619997154, 12.103402800006823],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_0443b93f49a19bcdbed20d5fccc24c6b = L.marker(\n", - " [54.08904699997156, 12.088019200006817],\n", + " var marker_df683bc27f646e8b2244afc8c8f31c8c = L.marker(\n", + " [54.08309019997156, 12.108242300006829],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_8f2d1a735379b90b8dd10d295c62e1b9 = L.marker(\n", - " [54.07934889997155, 12.112910400006829],\n", + " var marker_42fd3860883c4cf8a84933113413deb3 = L.marker(\n", + " [54.085812499971546, 12.106065700006832],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_eb63a7c5b164183030ecd0745a9419bf = L.marker(\n", + " var marker_22beecc1a3976b178efa46bad085da78 = L.marker(\n", + " [54.087573499971555, 12.102506200006827],\n", + " {}\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", + " \n", + " \n", + " var marker_c04b5ca60c8f40d2923ad99b5879f70b = L.marker(\n", " [54.08549869997155, 12.114510600006827],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", + " \n", + " \n", + " var marker_310d2a43877518b2b953d9a6b0a61c72 = L.marker(\n", + " [54.09086749997156, 12.111143800006825],\n", + " {}\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", + " \n", + " \n", + " var marker_f4c98d5c3b48555589ca6bd686c32b48 = L.marker(\n", + " [54.086363899971545, 12.105491700006827],\n", + " {}\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", + " \n", + " \n", + " var marker_7e7139a2832f6646d2920199e269fe5c = L.marker(\n", + " [54.08439439997155, 12.099685100006823],\n", + " {}\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_769a4697b177d6b73fee937ffe6f4c1d = L.marker(\n", - " [54.08502529997154, 12.100251300006823],\n", + " var marker_fb89772bfcad7a92da879c8510776df1 = L.marker(\n", + " [54.101549799971544, 12.068638900006809],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_4c4a46b7f39b65e8b146942c1eeb667f = L.marker(\n", + " var marker_30f2a8b5974312bfb0e49b1d51ab35b1 = L.marker(\n", " [54.09079079997156, 12.097901600006827],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_9e610840d818803e4111322f71432e6b = L.marker(\n", - " [54.09014439997155, 12.114625500006836],\n", + " var marker_b99cea29c6437e82fc9e2536994c792e = L.marker(\n", + " [54.09011059997155, 12.100178400006827],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_9874b9299698ad201457fb266e1118e6 = L.marker(\n", - " [54.09020579997154, 12.087022800006816],\n", + " var marker_1e14d9d6630b63eee8df906c1f16e09d = L.marker(\n", + " [54.09014439997155, 12.114625500006836],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_bec3b09d5f82252c25f81996e6a44b75 = L.marker(\n", - " [54.08810929997154, 12.099768700006823],\n", + " var marker_4588dc454edf0963511b5595ee888995 = L.marker(\n", + " [54.09525279997154, 12.095512800006826],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_3504907dc33ed0c4a613e928d7fd1102 = L.marker(\n", - " [54.09010949997157, 12.096996600006827],\n", + " var marker_6b785ca4de4c4f19c7c821713cebf8a0 = L.marker(\n", + " [54.08760979997154, 12.114436500006832],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_d167581b1f9209db95d525ffc9fdba53 = L.marker(\n", - " [54.10143009997155, 12.068254800006807],\n", + " var marker_0de9f7738888826d4825008e30b90545 = L.marker(\n", + " [54.087802899971535, 12.117271800006831],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_06dea0adaaf02ab2025231c4bc557a0a = L.marker(\n", - " [54.093225699971526, 12.088680600006816],\n", + " var marker_61f80ac89e34eb688a756fe997b091c2 = L.marker(\n", + " [54.08510899997155, 12.11008650000683],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_6118d293d6da9c778a51707244d0cd86 = L.marker(\n", - " [54.08390369997155, 12.114622900006832],\n", + " var marker_b92807f0cf5de0c83b40233edbd46771 = L.marker(\n", + " [54.09113299997155, 12.11367710000683],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_7fba5a007b0691b338bd30397cc545bb = L.marker(\n", - " [54.09460939997154, 12.103826700006831],\n", + " var marker_272bb4269e6c27e10c9847ffd2d658fe = L.marker(\n", + " [54.093225799971556, 12.08868080000682],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_2b148d777888be83b6c7e8c1418cc901 = L.marker(\n", - " [54.09706859997155, 12.07515540000681],\n", + " var marker_1d60059e4e2ed2066c024f1e88348927 = L.marker(\n", + " [54.08390369997155, 12.114622900006832],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_7bd511551939c13a0bd7a43470587a02 = L.marker(\n", - " [54.08791649997155, 12.100399700006825],\n", + " var marker_72d78a0aa58954426e3914026b4d1587 = L.marker(\n", + " [54.09460929997155, 12.103826900006826],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " var marker_0be87e50da940c1c47f9326e0e3f0310 = L.marker(\n", - " [54.08735109997156, 12.10687310000683],\n", + " var marker_1e973f04720b3517fcb4447a193f2a2d = L.marker(\n", + " [54.08728819997156, 12.106807300006826],\n", " {}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", " \n", - " function geo_json_f7be275abefa3b15b28b458fb8883b50_styler(feature) {\n", + " function geo_json_5069aff360242bdfd63d26d97752db75_styler(feature) {\n", " switch(feature.properties.transfers) {\n", " default:\n", " return {"color": "#00FF00", "opacity": 0.5, "weight": 3};\n", " }\n", " }\n", "\n", - " function geo_json_f7be275abefa3b15b28b458fb8883b50_onEachFeature(feature, layer) {\n", + " function geo_json_5069aff360242bdfd63d26d97752db75_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_f7be275abefa3b15b28b458fb8883b50 = L.geoJson(null, {\n", - " onEachFeature: geo_json_f7be275abefa3b15b28b458fb8883b50_onEachFeature,\n", + " var geo_json_5069aff360242bdfd63d26d97752db75 = L.geoJson(null, {\n", + " onEachFeature: geo_json_5069aff360242bdfd63d26d97752db75_onEachFeature,\n", " \n", - " style: geo_json_f7be275abefa3b15b28b458fb8883b50_styler,\n", + " style: geo_json_5069aff360242bdfd63d26d97752db75_styler,\n", " });\n", "\n", - " function geo_json_f7be275abefa3b15b28b458fb8883b50_add (data) {\n", - " geo_json_f7be275abefa3b15b28b458fb8883b50\n", + " function geo_json_5069aff360242bdfd63d26d97752db75_add (data) {\n", + " geo_json_5069aff360242bdfd63d26d97752db75\n", " .addData(data)\n", - " .addTo(map_82b85001239d0019beefd8582a276d10);\n", + " .addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " }\n", - " geo_json_f7be275abefa3b15b28b458fb8883b50_add({"bbox": [12.071986, 54.081933, 12.110298, 54.103591], "discriminator": null, "features": [{"bbox": [12.071986, 54.081933, 12.110298, 54.103591], "geometry": {"coordinates": [[12.108244, 54.081933], [12.108691, 54.082096], [12.110298, 54.082677], [12.110265, 54.082693], [12.109738, 54.082931], [12.1091, 54.083246], [12.108911, 54.083349], [12.108803, 54.083398], [12.108707, 54.083443], [12.108663, 54.083462], [12.108552, 54.083532], [12.108206, 54.083869], [12.107475, 54.084583], [12.107127, 54.08489], [12.106948, 54.085018], [12.106564, 54.085315], [12.106471, 54.085397], [12.106312, 54.085335], [12.106267, 54.085319], [12.10617, 54.085287], [12.105258, 54.085547], [12.104388, 54.085814], [12.104185, 54.085874], [12.104128, 54.085891], [12.104091, 54.085902], [12.103984, 54.085934], [12.103014, 54.086233], [12.10218, 54.086485], [12.101779, 54.08658], [12.101771, 54.086606], [12.101679, 54.086675], [12.101535, 54.086688], [12.101434, 54.086656], [12.101376, 54.086571], [12.10107, 54.086539], [12.100469, 54.086702], [12.100169, 54.086713], [12.099587, 54.086679], [12.098876, 54.086639], [12.097604, 54.086568], [12.097473, 54.08656], [12.096826, 54.086518], [12.096057, 54.086468], [12.096037, 54.08663], [12.095979, 54.087063], [12.096783, 54.08789], [12.097442, 54.088656], [12.097559, 54.088776], [12.098183, 54.089477], [12.098322, 54.089636], [12.098485, 54.089822], [12.098955, 54.090353], [12.099399, 54.090843], [12.099814, 54.091331], [12.100154, 54.091454], [12.10003, 54.091575], [12.099516, 54.092075], [12.099335, 54.092246], [12.099182, 54.092391], [12.099134, 54.092491], [12.098722, 54.092451], [12.098428, 54.092453], [12.097964, 54.092497], [12.097603, 54.092575], [12.097098, 54.092714], [12.096775, 54.092819], [12.096641, 54.092869], [12.096222, 54.093049], [12.095869, 54.093231], [12.095817, 54.09326], [12.095707, 54.093323], [12.095573, 54.093403], [12.095034, 54.093766], [12.093563, 54.095168], [12.091539, 54.097105], [12.090904, 54.097712], [12.090531, 54.098005], [12.090325, 54.098141], [12.089864, 54.098412], [12.089609, 54.098539], [12.089374, 54.098639], [12.089261, 54.098682], [12.088898, 54.098818], [12.088609, 54.098906], [12.088494, 54.098939], [12.087578, 54.099197], [12.078477, 54.101758], [12.076117, 54.102416], [12.075683, 54.102541], [12.075504, 54.102591], [12.074881, 54.102769], [12.074734, 54.102811], [12.0744, 54.102906], [12.074163, 54.102973], [12.073912, 54.103044], [12.073528, 54.103152], [12.071986, 54.103591]], "type": "LineString"}, "properties": {"fare": 0, "summary": {"distance": 4290.6, "duration": 714.4}, "transfers": 0, "way_points": [0, 96]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "discriminator": null, "engine": {"build_date": "2023-07-09T01:31:50Z", "discriminator": null, "graph_date": "2023-11-05T11:14:13Z", "version": "7.1.0"}, "id": null, "osm_file_md5_hash": null, "query": {"alternative_routes": null, "attributes": null, "bearings": null, "continue_straight": false, "coordinates": [[12.108259, 54.081919], [12.072063, 54.103684]], "discriminator": null, "elevation": null, "extra_info": null, "geometry": true, "geometry_simplify": false, "id": null, "ignore_transfers": false, "instructions": true, "instructions_format": "text", "language": "en", "maneuvers": false, "maximum_speed": null, "options": {"avoid_borders": null, "avoid_countries": null, "avoid_features": null, "avoid_polygons": {"discriminator": null, "empty": null}, "discriminator": null, "profile_params": null, "round_trip": null, "vehicle_type": "hgv"}, "preference": "shortest", "radiuses": null, "roundabout_exits": false, "schedule": false, "schedule_duration": null, "schedule_rows": null, "skip_segments": null, "suppress_warnings": null, "units": "m", "walking_time": null}, "service": "routing", "system_message": null, "timestamp": 1699273128287}, "type": "FeatureCollection"});\n", + " geo_json_5069aff360242bdfd63d26d97752db75_add({"bbox": [12.071986, 54.081475, 12.108244, 54.103591], "features": [{"bbox": [12.071986, 54.081475, 12.108244, 54.103591], "geometry": {"coordinates": [[12.108244, 54.081933], [12.107197, 54.081551], [12.107046, 54.081475], [12.106674, 54.081695], [12.106204, 54.081973], [12.106122, 54.082024], [12.105884, 54.082102], [12.10563, 54.082179], [12.104779, 54.082437], [12.104679, 54.082466], [12.103892, 54.082705], [12.103699, 54.082763], [12.103172, 54.082923], [12.103134, 54.082934], [12.102593, 54.083098], [12.102053, 54.083262], [12.101833, 54.083328], [12.101509, 54.083426], [12.100812, 54.083637], [12.099423, 54.084058], [12.098281, 54.084433], [12.097933, 54.084541], [12.097862, 54.084563], [12.098333, 54.085087], [12.098616, 54.085402], [12.098654, 54.085443], [12.099235, 54.085266], [12.099572, 54.085609], [12.099746, 54.085579], [12.099954, 54.085531], [12.100028, 54.085618], [12.100128, 54.08573], [12.100517, 54.085617], [12.100744, 54.085553], [12.100866, 54.085691], [12.101364, 54.086232], [12.101494, 54.086346], [12.101579, 54.086452], [12.101695, 54.086471], [12.10174, 54.086494], [12.101787, 54.086559], [12.101751, 54.086638], [12.10168, 54.086675], [12.101536, 54.086685], [12.101444, 54.086655], [12.101383, 54.086571], [12.10107, 54.086539], [12.100469, 54.086702], [12.100169, 54.086713], [12.099587, 54.086679], [12.098876, 54.086639], [12.097604, 54.086568], [12.097473, 54.08656], [12.096826, 54.086518], [12.096057, 54.086468], [12.096037, 54.08663], [12.095979, 54.087063], [12.096783, 54.08789], [12.097442, 54.088656], [12.097559, 54.088776], [12.098183, 54.089477], [12.098322, 54.089636], [12.098485, 54.089822], [12.098955, 54.090353], [12.099399, 54.090843], [12.099814, 54.091331], [12.100154, 54.091454], [12.10003, 54.091575], [12.099516, 54.092075], [12.099335, 54.092246], [12.099182, 54.092391], [12.099134, 54.092491], [12.098734, 54.092453], [12.098428, 54.092453], [12.097964, 54.092497], [12.097603, 54.092575], [12.097098, 54.092714], [12.096775, 54.092819], [12.096641, 54.092869], [12.096222, 54.093049], [12.095869, 54.093231], [12.095817, 54.09326], [12.095707, 54.093323], [12.095573, 54.093403], [12.095034, 54.093766], [12.093563, 54.095168], [12.091539, 54.097105], [12.090904, 54.097712], [12.090531, 54.098005], [12.090325, 54.098141], [12.089864, 54.098412], [12.089609, 54.098539], [12.089374, 54.098639], [12.089261, 54.098682], [12.088898, 54.098818], [12.088609, 54.098906], [12.088494, 54.098939], [12.087578, 54.099197], [12.078477, 54.101758], [12.076117, 54.102416], [12.075683, 54.102541], [12.075504, 54.102591], [12.074881, 54.102769], [12.074734, 54.102811], [12.0744, 54.102906], [12.074163, 54.102973], [12.073912, 54.103044], [12.073528, 54.103152], [12.071986, 54.103591]], "type": "LineString"}, "properties": {"fare": 0, "summary": {"distance": 4609.7, "duration": 788.9}, "transfers": 0, "way_points": [0, 108]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "engine": {"build_date": "2024-01-29T14:41:12Z", "graph_date": "2024-03-17T13:51:27Z", "version": "7.1.1"}, "query": {"coordinates": [[12.108259, 54.081919], [12.072063, 54.103684]], "format": "geojson", "geometry": true, "instructions_format": "text", "language": "en", "options": {"avoid_polygons": {"coordinates": [[[[12.111980921186124, 54.08934708878247], [12.111939857268249, 54.089318456349574], [12.111930743689044, 54.089268702596065], [12.111958919116411, 54.08922697254131], [12.112007878813428, 54.08921771114021], [12.112048942796779, 54.0892463436506], [12.11205805629564, 54.08929609748142], [12.112029880802796, 54.08933782745868], [12.111980921186124, 54.08934708878247]]], [[[12.102617832126, 54.08642308983851], [12.102576762670935, 54.08639446530104], [12.102567640389717, 54.0863447141993], [12.102595809047772, 54.08630297999931], [12.102644767873544, 54.08629371008418], [12.102685837394093, 54.08632233469914], [12.102694959594979, 54.08637208587817], [12.102666790871437, 54.08641382000069], [12.102617832126, 54.08642308983851]]], [[[12.108977224468267, 54.089367988022666], [12.10893615960494, 54.0893393582811], [12.108927043711477, 54.08928960608746], [12.108955216811443, 54.08924787554735], [12.109004175531282, 54.0892386119], [12.109045240460086, 54.089267241719064], [12.109054356273203, 54.08931699399002], [12.109026183107757, 54.08935872445263], [12.108977224468267, 54.089367988022666]]], [[[12.11090802204452, 54.09067798699508], [12.110866958935745, 54.09064935574194], [12.11085784518884, 54.09059960352413], [12.110886019569953, 54.09055787446142], [12.110934977955038, 54.0905486129276], [12.110976041129287, 54.09057724425824], [12.110985154795843, 54.09062699655336], [12.110956980349258, 54.09066872553857], [12.11090802204452, 54.09067798699508]]], [[[12.097702136947122, 54.08877908593677], [12.097661067956478, 54.08875046618651], [12.097651943043488, 54.08870071935329], [12.09768010751523, 54.08865898640267], [12.097729063052435, 54.088649713985916], [12.097770132108565, 54.08867833381364], [12.097779256941221, 54.08872808072417], [12.097751092403998, 54.0887698135973], [12.097702136947122, 54.08877908593677]]], [[[12.104421230162123, 54.08638249032657], [12.104380161250383, 54.08635386416883], [12.104371040344633, 54.08630411211007], [12.104399210404564, 54.0862623781769], [12.104448169837433, 54.08625310959613], [12.104489238814653, 54.086281735831356], [12.104498359640065, 54.08633148796742], [12.104470189514648, 54.08637322182311], [12.104421230162123, 54.08638249032657]]], [[[12.109895424025712, 54.08699769096263], [12.10985435740305, 54.08696906000825], [12.109845241040091, 54.086919305590044], [12.109873415235429, 54.08687757311675], [12.10992237597384, 54.08686830896004], [12.10996344266198, 54.086896939991924], [12.109972558944596, 54.08694669448744], [12.10994438468378, 54.08698842688323], [12.109895424025712, 54.08699769096263]]], [[[12.087573046414171, 54.09561447562974], [12.087531980096466, 54.095585866071595], [12.087522850744977, 54.09553612949781], [12.087551006266791, 54.09549440086412], [12.087599953585386, 54.095485124292985], [12.087641019968567, 54.0955137339286], [12.087650149239723, 54.09556347057966], [12.087621993652432, 54.095605199135875], [12.087573046414171, 54.09561447562974]]], [[[12.105000429692147, 54.08569149125985], [12.104959360367479, 54.085662864469796], [12.104950239565996, 54.08561311160243], [12.104978410186307, 54.085571377158], [12.105027370307397, 54.08556210866285], [12.105068439697542, 54.085590735530374], [12.10507756041869, 54.08564048847505], [12.105049389732898, 54.085682222841996], [12.105000429692147, 54.08569149125985]]], [[[12.116718118776722, 54.07765770333215], [12.116677046249789, 54.07762906473229], [12.116667930515979, 54.077579299901345], [12.116696111505343, 54.07753756034767], [12.116745081222815, 54.077528296590515], [12.116786153815234, 54.07755693526786], [12.1167952694687, 54.07760670017614], [12.11676708841385, 54.07764843965232], [12.116718118776722, 54.07765770333215]]], [[[12.084550449995936, 54.09445997621338], [12.084509381708083, 54.094431369168376], [12.084500249442389, 54.09438163329368], [12.084528402813033, 54.0943399031355], [12.084577350003624, 54.094330623709325], [12.08461841835696, 54.09435923083179], [12.08462755054233, 54.09440896678377], [12.084599397106205, 54.09445069686448], [12.084550449995936, 54.09445997621338]]], [[[12.111360325130892, 54.07558370439411], [12.11131924908873, 54.07555507024607], [12.111310128176683, 54.075505306637055], [12.111338305358133, 54.075463564359616], [12.111387274868648, 54.07545429552856], [12.111428350976297, 54.07548292975406], [12.11143747180801, 54.07553269344041], [12.11140929456107, 54.07557443564036], [12.111360325130892, 54.07558370439411]]], [[[12.093647839416537, 54.09708527543029], [12.093606776322424, 54.09705666068021], [12.09359765240531, 54.09700692207269], [12.093625812388906, 54.09696519575476], [12.09367476058303, 54.09695592449239], [12.093715823742624, 54.09698453931995], [12.093724947579402, 54.09703427800476], [12.093696787530332, 54.09707600424518], [12.093647839416537, 54.09708527543029]]], [[[12.100584034130636, 54.08735548827268], [12.100542964831027, 54.087326865708846], [12.10053384143991, 54.08727711634186], [12.100562008372876, 54.08723538262153], [12.100610965868906, 54.08722611165], [12.100652035234, 54.08725473429132], [12.100661158544785, 54.08730448373561], [12.100632991546334, 54.08734621737846], [12.100584034130636, 54.08735548827268]]], [[[12.103389331204003, 54.08675088965194], [12.103348262280452, 54.08672226447831], [12.10333914075948, 54.08667251322236], [12.103367309961186, 54.086630779440426], [12.10341626879554, 54.086621510270746], [12.103457337784581, 54.08665013552187], [12.103466459225208, 54.086699886855115], [12.103438289958026, 54.086741620559565], [12.103389331204003, 54.08675088965194]]], [[[12.108228826760996, 54.08315489495584], [12.108187756274088, 54.08312626485855], [12.108178636708214, 54.08307650845622], [12.108206810238183, 54.083034772319834], [12.108255773238547, 54.08302550496684], [12.108296843790937, 54.083054135141616], [12.108305963276477, 54.08310389162127], [12.108277789681019, 54.08314562768017], [12.108228826760996, 54.08315489495584]]], [[[12.106052228497123, 54.08587719130471], [12.106011159670754, 54.08584856360423], [12.106002039775703, 54.08579881033344], [12.10603021117961, 54.08575707622896], [12.106079171502431, 54.08574780861796], [12.106120240394283, 54.085776436395925], [12.106129360208996, 54.08582618974401], [12.106101188739611, 54.08586792377102], [12.106052228497123, 54.08587719130471]]], [[[12.102492731974827, 54.087638188416115], [12.10245166353246, 54.08760956419121], [12.102442541759272, 54.08755981405217], [12.102470710123095, 54.08751808090105], [12.102519668024723, 54.08750881150657], [12.102560736532576, 54.08753743580896], [12.102569858225424, 54.087587186025296], [12.102541689796123, 54.08762891909893], [12.102492731974827, 54.087638188416115]]], [[[12.114497119330451, 54.08556339373307], [12.114456052941076, 54.085534758424274], [12.114446939425166, 54.08548500057953], [12.114475117413548, 54.08544326761479], [12.114524080669092, 54.08543400618962], [12.114565147123944, 54.08546264157591], [12.114574260559515, 54.085512399497965], [12.114546082505651, 54.085554132385205], [12.114497119330451, 54.08556339373307]]], [[[12.11113032174093, 54.09093218675835], [12.111089258923744, 54.09090355534824], [12.111080145475457, 54.09085380320408], [12.111108319987284, 54.09081207440251], [12.111157278258613, 54.09080281316433], [12.111198341141275, 54.09083144465195], [12.111207454509216, 54.09088119687342], [12.11117927993191, 54.090922925597496], [12.11113032174093, 54.09093218675835]]], [[[12.105478228994492, 54.086428590532584], [12.105437160461761, 54.086399963436705], [12.105428040396989, 54.08635021086867], [12.105456211267223, 54.08630847715341], [12.105505171005056, 54.0862992093901], [12.105546239603266, 54.08632783656346], [12.105555359587706, 54.086377589208794], [12.105527188651987, 54.08641932284658], [12.105478228994492, 54.086428590532584]]], [[[12.099671635815671, 54.08445909136676], [12.099630563713855, 54.08443046914091], [12.099621438174958, 54.08438071810145], [12.099649604872708, 54.084338981677895], [12.099698564183875, 54.08432970855591], [12.09973963635118, 54.08435833085924], [12.099748761809744, 54.084408081976], [12.09972059504651, 54.08444981832208], [12.099671635815671, 54.08445909136676]]], [[[12.068625465736243, 54.10161446412876], [12.068584398537439, 54.10158587251404], [12.068575257502385, 54.101536150109766], [12.068603397382239, 54.1014944235714], [12.068652334263321, 54.10148513579397], [12.068693401527616, 54.10151372748616], [12.068702542482349, 54.101563449967664], [12.068674402537013, 54.10160517642857], [12.068625465736243, 54.10161446412876]]], [[[12.097888136251491, 54.09085548360393], [12.097847069119648, 54.09082686403029], [12.097837945384086, 54.09077711863678], [12.097866109662167, 54.09073538754559], [12.09791506374806, 54.09072611631878], [12.097956130945391, 54.09075473596989], [12.097965254600618, 54.09080448144069], [12.097937090257059, 54.090846212454395], [12.097888136251491, 54.09085548360393]]], [[[12.100164933920917, 54.09017528494025], [12.100123866930117, 54.090146663217126], [12.100114744618198, 54.090096916150465], [12.100142910768568, 54.090055184842576], [12.100191866078648, 54.090045914982426], [12.10023293313493, 54.090074536783035], [12.100242055366506, 54.090124283927], [12.100213889150655, 54.09016601515739], [12.100164933920917, 54.09017528494025]]], [[[12.114612018102255, 54.09020908843977], [12.114570955775376, 54.09018045379456], [12.11456184466167, 54.09013069932541], [12.114590021984789, 54.090088970470916], [12.114638981897299, 54.09007971148289], [12.114680044289655, 54.09010834620562], [12.114689155323013, 54.09015810075207], [12.114660977934419, 54.09019982952906], [12.114612018102255, 54.09020908843977]]], [[[12.095499337808747, 54.09531747790828], [12.095458273776831, 54.09528886120935], [12.095449150413089, 54.09523912034301], [12.095477312117067, 54.09519739277949], [12.095526262190814, 54.095188122014406], [12.095567326288204, 54.09521673879082], [12.095576449571613, 54.095266479734455], [12.09554828780216, 54.09530820722048], [12.095499337808747, 54.09531747790828]]], [[[12.114423018910552, 54.08767449129678], [12.114381954326705, 54.08764585640254], [12.114372841804641, 54.08759610015665], [12.114401019393005, 54.08755436903849], [12.114449981088995, 54.08754510862588], [12.11449104573832, 54.08757374359762], [12.114500158180041, 54.08762349992082], [12.114471980526194, 54.08766523096149], [12.114423018910552, 54.08767449129678]]], [[[12.117258315762065, 54.087867591770525], [12.117217252255042, 54.08783895437083], [12.117208142023356, 54.08778919680964], [12.117236321773984, 54.08774746633678], [12.117285284237488, 54.08773820815212], [12.117326347809987, 54.08776684562933], [12.117335457961325, 54.08781660326784], [12.117307278145223, 54.08785833366318], [12.117258315762065, 54.087867591770525]]], [[[12.110073024264064, 54.08517369309537], [12.110031956117911, 54.08514506168107], [12.110022838984278, 54.085095305823046], [12.110051013613198, 54.08505357177345], [12.110099975735482, 54.08504430682733], [12.110141043947117, 54.085072938319115], [12.110150161000414, 54.085122694254444], [12.110121986306005, 54.08516442822655], [12.110073024264064, 54.08517369309537]]], [[[12.113663618905559, 54.0911976870749], [12.113622557131125, 54.09116905344155], [12.113613445775686, 54.091119300191046], [12.113641622204488, 54.09107757204812], [12.113690581093987, 54.09106831284776], [12.1137316429339, 54.091096946558615], [12.113740754208994, 54.09114669988642], [12.113712577714711, 54.091188427951856], [12.113663618905559, 54.0911976870749]]], [[[12.088667345766675, 54.09329047855936], [12.088626277786393, 54.093261867637864], [12.088617148125534, 54.09321212878323], [12.088645304872413, 54.09317039828726], [12.088694254232886, 54.09316112136333], [12.088735322278648, 54.09318973236232], [12.088744451859174, 54.093239471294225], [12.088716295046817, 54.093281201712706], [12.088667345766675, 54.09329047855936]]], [[[12.114609419586097, 54.083968395587476], [12.114568351850693, 54.083939759915104], [12.114559237627484, 54.08389000083348], [12.114587415961632, 54.08384826648308], [12.114636380413447, 54.08383900433517], [12.114677448214335, 54.08386764008504], [12.114686562357198, 54.083917399243994], [12.114658383957577, 54.083959133516885], [12.114609419586097, 54.083968395587476]]], [[[12.103813428861397, 54.0946739806801], [12.103772366939323, 54.09464535643541], [12.103763249690738, 54.094595610819816], [12.10379141793302, 54.09455388408562], [12.103840371138162, 54.09454461924259], [12.10388143312571, 54.094573243564774], [12.103890550293956, 54.09462298925766], [12.1038623819862, 54.09466471591436], [12.103813428861397, 54.0946739806801]]], [[[12.1067938273356, 54.087352889796065], [12.106752760025774, 54.08732426167562], [12.106743641439294, 54.08727450911462], [12.106771813177264, 54.0872327764339], [12.10682077266395, 54.0872235101266], [12.106861840039254, 54.08725213832455], [12.106870958545393, 54.08730189096285], [12.106842786741947, 54.087343623566085], [12.1067938273356, 54.087352889796065]]]], "type": "MultiPolygon"}}, "preference": "shortest", "profile": "driving-car", "units": "m", "walking_time": 900.0}, "service": "routing", "timestamp": 1710852948583}, "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " var layer_control_5bae4160b45c430766a302498ea005b7 = {\n", + " var layer_control_ddef0823fc67e976725e2ea0f219cf0a = {\n", " base_layers : {\n", - " "stamentoner" : tile_layer_ddbc27beee545d53984c3fce7218222a,\n", + " "stamentoner" : tile_layer_2d1451d38e5fa15793d15da8ab788f71,\n", " },\n", " overlays : {\n", - " "Route without construction sites" : geo_json_0084d54981085d76f372df1f8b5175b4,\n", - " "Route Buffer" : geo_json_59a9e1f6c2d6d822bbcb0fa8082b7977,\n", - " "Route with construction sites" : geo_json_f7be275abefa3b15b28b458fb8883b50,\n", + " "Route without construction sites" : geo_json_1d12654cd05e7d5849f6fd23e3534431,\n", + " "Route Buffer" : geo_json_db5246622ad01b6ea62437564ea24091,\n", + " "Route with construction sites" : geo_json_5069aff360242bdfd63d26d97752db75,\n", " },\n", " };\n", " L.control.layers(\n", - " layer_control_5bae4160b45c430766a302498ea005b7.base_layers,\n", - " layer_control_5bae4160b45c430766a302498ea005b7.overlays,\n", + " layer_control_ddef0823fc67e976725e2ea0f219cf0a.base_layers,\n", + " layer_control_ddef0823fc67e976725e2ea0f219cf0a.overlays,\n", " {"autoZIndex": true, "collapsed": true, "position": "topright"}\n", - " ).addTo(map_82b85001239d0019beefd8582a276d10);\n", + " ).addTo(map_7d8e8fa45d71fb52f348b1311b23c6cd);\n", " \n", "</script>\n", "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, "execution_count": 5, @@ -5322,7 +6205,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.12" + "version": "3.11.6" } }, "nbformat": 4, diff --git a/examples/Dieselgate_Routing.html b/examples/Dieselgate_Routing.html deleted file mode 100644 index d5373a66..00000000 --- a/examples/Dieselgate_Routing.html +++ /dev/null @@ -1,8445 +0,0 @@ - - - - - -Dieselgate_Routing - - - - - - - - - - - - -
- - - - - -
- - diff --git a/examples/Dieselgate_Routing.ipynb b/examples/Dieselgate_Routing.ipynb index c90c1658..b8219f50 100644 --- a/examples/Dieselgate_Routing.ipynb +++ b/examples/Dieselgate_Routing.ipynb @@ -75,7 +75,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_bf0b839960a0f66fa98e8ce3a932c582 {\n", + " #map_cbc5f4424aa29293b1a49845564b5917 {\n", " position: relative;\n", " width: 100.0%;\n", " height: 100.0%;\n", @@ -89,14 +89,14 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_bf0b839960a0f66fa98e8ce3a932c582" ></div>\n", + " <div class="folium-map" id="map_cbc5f4424aa29293b1a49845564b5917" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_bf0b839960a0f66fa98e8ce3a932c582 = L.map(\n", - " "map_bf0b839960a0f66fa98e8ce3a932c582",\n", + " var map_cbc5f4424aa29293b1a49845564b5917 = L.map(\n", + " "map_cbc5f4424aa29293b1a49845564b5917",\n", " {\n", " center: [52.516586, 13.381047],\n", " crs: L.CRS.EPSG3857,\n", @@ -110,90 +110,90 @@ "\n", " \n", " \n", - " var tile_layer_b28f0604f4063deef8c58eb282b6eafa = L.tileLayer(\n", + " var tile_layer_3f3d16c4b6f93ec4b189aee606de0ad5 = L.tileLayer(\n", " "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",\n", " {"attribution": "\\u0026copy; \\u003ca href=\\"https://openstreetmap.org/copyright\\"\\u003eOpenStreetMap contributors\\u003c/a\\u003e", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " function geo_json_0f14086fa66076973156cc72fd7d4549_styler(feature) {\n", + " function geo_json_6e7ad9aadd49ea3a5afee0ca72661376_styler(feature) {\n", " switch(feature.properties.transfers) {\n", " default:\n", " return {"color": "blue", "opacity": 0.5, "weight": 4};\n", " }\n", " }\n", "\n", - " function geo_json_0f14086fa66076973156cc72fd7d4549_onEachFeature(feature, layer) {\n", + " function geo_json_6e7ad9aadd49ea3a5afee0ca72661376_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_0f14086fa66076973156cc72fd7d4549 = L.geoJson(null, {\n", - " onEachFeature: geo_json_0f14086fa66076973156cc72fd7d4549_onEachFeature,\n", + " var geo_json_6e7ad9aadd49ea3a5afee0ca72661376 = L.geoJson(null, {\n", + " onEachFeature: geo_json_6e7ad9aadd49ea3a5afee0ca72661376_onEachFeature,\n", " \n", - " style: geo_json_0f14086fa66076973156cc72fd7d4549_styler,\n", + " style: geo_json_6e7ad9aadd49ea3a5afee0ca72661376_styler,\n", " });\n", "\n", - " function geo_json_0f14086fa66076973156cc72fd7d4549_add (data) {\n", - " geo_json_0f14086fa66076973156cc72fd7d4549\n", + " function geo_json_6e7ad9aadd49ea3a5afee0ca72661376_add (data) {\n", + " geo_json_6e7ad9aadd49ea3a5afee0ca72661376\n", " .addData(data)\n", - " .addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " .addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " }\n", - " geo_json_0f14086fa66076973156cc72fd7d4549_add({"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "discriminator": null, "features": [{"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "geometry": {"coordinates": [[13.37208, 52.520294], [13.372085, 52.519573], [13.370864, 52.51957], [13.370864, 52.519401], [13.370847, 52.517876], [13.370813, 52.517779], [13.371258, 52.517778], [13.37422, 52.517767], [13.374418, 52.517765], [13.374567, 52.517764], [13.37654, 52.517759], [13.376766, 52.517759], [13.376834, 52.517758], [13.377196, 52.516996], [13.377211, 52.51679], [13.377136, 52.516688], [13.37707, 52.516649], [13.376924, 52.516579], [13.376764, 52.516445], [13.376728, 52.516389], [13.376706, 52.516265], [13.376726, 52.516156], [13.376795, 52.51603], [13.376902, 52.515951], [13.377229, 52.515828], [13.37741, 52.515713], [13.377464, 52.515588], [13.377456, 52.515391], [13.377353, 52.51459], [13.377467, 52.514585], [13.377707, 52.514587], [13.378929, 52.514669], [13.37916, 52.514694], [13.379572, 52.514766], [13.380237, 52.514898], [13.380276, 52.514906], [13.380442, 52.514937], [13.381488, 52.515141], [13.381712, 52.514713], [13.381841, 52.514468], [13.382106, 52.513965], [13.382322, 52.513553], [13.382814, 52.512617], [13.383005, 52.512253], [13.383161, 52.511964], [13.383226, 52.511844], [13.383428, 52.511468], [13.383622, 52.511106], [13.383719, 52.51093], [13.38403, 52.510373], [13.384218, 52.510007], [13.384642, 52.510033], [13.385294, 52.510074], [13.387387, 52.510206], [13.387709, 52.50988], [13.38828, 52.509312], [13.388683, 52.508927], [13.389064, 52.508716], [13.38933, 52.508565], [13.389439, 52.508546], [13.390194, 52.508594], [13.391055, 52.508642], [13.39111, 52.508646], [13.391489, 52.508667], [13.391505, 52.508668]], "type": "LineString"}, "properties": {"fare": 0, "segments": [{"distance": 2637.3, "duration": 428.1, "steps": [{"distance": 80.2, "duration": 7.2, "instruction": "Head south on Annemarie-Renger-Stra\\u00dfe", "name": "Annemarie-Renger-Stra\\u00dfe", "type": 11, "way_points": [0, 1]}, {"distance": 282.0, "duration": 34.9, "instruction": "Turn right onto Paul-L\\u00f6be-Allee", "name": "Paul-L\\u00f6be-Allee", "type": 1, "way_points": [1, 5]}, {"distance": 407.4, "duration": 54.6, "instruction": "Turn left onto Scheidemannstra\\u00dfe", "name": "Scheidemannstra\\u00dfe", "type": 0, "way_points": [5, 12]}, {"distance": 389.0, "duration": 63.0, "instruction": "Turn right onto Ebertstra\\u00dfe, B 2", "name": "Ebertstra\\u00dfe, B 2", "type": 1, "way_points": [12, 28]}, {"distance": 288.2, "duration": 47.9, "instruction": "Turn left onto Behrenstra\\u00dfe, B 5", "name": "Behrenstra\\u00dfe, B 5", "type": 0, "way_points": [28, 37]}, {"distance": 600.0, "duration": 99.5, "instruction": "Turn right onto Wilhelmstra\\u00dfe", "name": "Wilhelmstra\\u00dfe", "type": 1, "way_points": [37, 50]}, {"distance": 215.6, "duration": 31.0, "instruction": "Turn left onto Leipziger Stra\\u00dfe, B 1", "name": "Leipziger Stra\\u00dfe, B 1", "type": 0, "way_points": [50, 53]}, {"distance": 374.9, "duration": 90.0, "instruction": "Turn right onto Mauerstra\\u00dfe", "name": "Mauerstra\\u00dfe", "type": 1, "way_points": [53, 64]}, {"distance": 0.0, "duration": 0.0, "instruction": "Arrive at Mauerstra\\u00dfe, on the left", "name": "-", "type": 10, "way_points": [64, 64]}]}], "summary": {"distance": 2637.3, "duration": 428.1}, "transfers": 0, "way_points": [0, 64]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "discriminator": null, "engine": {"build_date": "2023-07-09T01:31:50Z", "discriminator": null, "graph_date": "2023-11-05T11:14:13Z", "version": "7.1.0"}, "id": null, "osm_file_md5_hash": null, "query": {"alternative_routes": null, "attributes": null, "bearings": null, "continue_straight": false, "coordinates": [[13.372582, 52.520295], [13.391476, 52.508856]], "discriminator": null, "elevation": null, "extra_info": null, "geometry": true, "geometry_simplify": false, "id": null, "ignore_transfers": false, "instructions": true, "instructions_format": "text", "language": "en", "maneuvers": false, "maximum_speed": null, "options": null, "preference": "shortest", "radiuses": null, "roundabout_exits": false, "schedule": false, "schedule_duration": null, "schedule_rows": null, "skip_segments": null, "suppress_warnings": null, "units": "m", "walking_time": null}, "service": "routing", "system_message": null, "timestamp": 1699273220660}, "type": "FeatureCollection"});\n", + " geo_json_6e7ad9aadd49ea3a5afee0ca72661376_add({"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "features": [{"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "geometry": {"coordinates": [[13.37208, 52.520294], [13.372085, 52.519573], [13.370864, 52.51957], [13.370864, 52.519401], [13.370847, 52.517875], [13.370813, 52.517779], [13.371258, 52.517778], [13.374418, 52.517765], [13.374759, 52.517764], [13.374891, 52.517764], [13.375399, 52.517763], [13.376766, 52.517759], [13.376834, 52.517758], [13.377196, 52.516996], [13.377211, 52.51679], [13.377136, 52.516688], [13.37707, 52.516649], [13.376924, 52.516579], [13.376764, 52.516445], [13.376728, 52.516389], [13.376706, 52.516265], [13.376726, 52.516156], [13.376795, 52.51603], [13.376902, 52.515951], [13.377229, 52.515828], [13.377366, 52.51575], [13.377453, 52.515641], [13.37746, 52.51546], [13.377456, 52.515391], [13.377353, 52.51459], [13.377467, 52.514585], [13.377707, 52.514587], [13.378929, 52.514669], [13.37916, 52.514694], [13.37957, 52.514768], [13.380125, 52.514877], [13.380237, 52.514898], [13.380276, 52.514906], [13.380442, 52.514937], [13.381488, 52.515141], [13.381712, 52.514713], [13.381841, 52.514468], [13.382106, 52.513965], [13.382322, 52.513553], [13.382804, 52.512616], [13.382986, 52.512269], [13.383149, 52.511961], [13.383212, 52.511843], [13.383418, 52.511465], [13.383612, 52.511104], [13.383703, 52.510927], [13.384001, 52.510368], [13.384191, 52.510007], [13.384644, 52.510036], [13.385052, 52.510058], [13.385293, 52.510072], [13.387149, 52.510182], [13.387393, 52.510197], [13.387709, 52.50988], [13.38828, 52.509312], [13.388683, 52.508927], [13.389064, 52.508716], [13.38933, 52.508565], [13.389439, 52.508546], [13.390194, 52.508594], [13.391055, 52.508642], [13.39111, 52.508646], [13.391489, 52.508667], [13.391505, 52.508668]], "type": "LineString"}, "properties": {"fare": 0, "segments": [{"distance": 2637.8, "duration": 424.6, "steps": [{"distance": 80.2, "duration": 7.2, "instruction": "Head south on Annemarie-Renger-Stra\\u00dfe", "name": "Annemarie-Renger-Stra\\u00dfe", "type": 11, "way_points": [0, 1]}, {"distance": 282.0, "duration": 34.9, "instruction": "Turn right onto Paul-L\\u00f6be-Allee", "name": "Paul-L\\u00f6be-Allee", "type": 1, "way_points": [1, 5]}, {"distance": 407.4, "duration": 52.5, "instruction": "Turn left onto Scheidemannstra\\u00dfe", "name": "Scheidemannstra\\u00dfe", "type": 0, "way_points": [5, 12]}, {"distance": 389.0, "duration": 67.4, "instruction": "Turn right onto Ebertstra\\u00dfe, B 2", "name": "Ebertstra\\u00dfe, B 2", "type": 1, "way_points": [12, 29]}, {"distance": 288.2, "duration": 47.9, "instruction": "Turn left onto Behrenstra\\u00dfe, B 5", "name": "Behrenstra\\u00dfe, B 5", "type": 0, "way_points": [29, 39]}, {"distance": 599.5, "duration": 101.3, "instruction": "Turn right onto Wilhelmstra\\u00dfe", "name": "Wilhelmstra\\u00dfe", "type": 1, "way_points": [39, 52]}, {"distance": 217.8, "duration": 42.1, "instruction": "Turn left onto Leipziger Stra\\u00dfe, B 1", "name": "Leipziger Stra\\u00dfe, B 1", "type": 0, "way_points": [52, 57]}, {"distance": 373.7, "duration": 71.3, "instruction": "Turn right onto Mauerstra\\u00dfe", "name": "Mauerstra\\u00dfe", "type": 1, "way_points": [57, 68]}, {"distance": 0.0, "duration": 0.0, "instruction": "Arrive at Mauerstra\\u00dfe, on the left", "name": "-", "type": 10, "way_points": [68, 68]}]}], "summary": {"distance": 2637.8, "duration": 424.6}, "transfers": 0, "way_points": [0, 68]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "engine": {"build_date": "2024-01-29T14:41:12Z", "graph_date": "2024-03-17T13:51:27Z", "version": "7.1.1"}, "query": {"coordinates": [[13.372582, 52.520295], [13.391476, 52.508856]], "format": "geojson", "geometry": true, "instructions": true, "instructions_format": "text", "language": "en", "preference": "shortest", "profile": "driving-car", "units": "m", "walking_time": 900.0}, "service": "routing", "timestamp": 1710855020761}, "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " var popup_7b982cfbf8d145583ff73071c64c03e2 = L.popup({"maxWidth": "100%"});\n", + " var popup_0faea432ccd4c1bee5dbf4fc04d2dda1 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_3f8ee1a243bfebc74a424f5db952b3a2 = $(`<div id="html_3f8ee1a243bfebc74a424f5db952b3a2" style="width: 100.0%; height: 100.0%;"><h4>Regular route</h4><hr><strong>Duration: </strong>7.1 mins<br><strong>Distance: </strong>2.637 km</div>`)[0];\n", - " popup_7b982cfbf8d145583ff73071c64c03e2.setContent(html_3f8ee1a243bfebc74a424f5db952b3a2);\n", + " var html_47f77f16ca9c6d59599add702780a957 = $(`<div id="html_47f77f16ca9c6d59599add702780a957" style="width: 100.0%; height: 100.0%;"><h4>Regular route</h4><hr><strong>Duration: </strong>7.1 mins<br><strong>Distance: </strong>2.638 km</div>`)[0];\n", + " popup_0faea432ccd4c1bee5dbf4fc04d2dda1.setContent(html_47f77f16ca9c6d59599add702780a957);\n", " \n", " \n", "\n", - " geo_json_0f14086fa66076973156cc72fd7d4549.bindPopup(popup_7b982cfbf8d145583ff73071c64c03e2)\n", + " geo_json_6e7ad9aadd49ea3a5afee0ca72661376.bindPopup(popup_0faea432ccd4c1bee5dbf4fc04d2dda1)\n", " ;\n", "\n", " \n", " \n", " \n", - " var marker_1ab784d3501eca63c93ea9a13aa5beaa = L.marker(\n", + " var marker_9c7d1ab306ea4a78105e5ab863542b9c = L.marker(\n", " [52.520295, 13.372582],\n", " {}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_5490b8188cbb158565e761e0a2d368dc = L.popup({"maxWidth": "100%"});\n", + " var popup_753a6a4783dcb073db9e9e5a45288f40 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_e435d76f46c54dc031dbeb376e1fac8d = $(`<div id="html_e435d76f46c54dc031dbeb376e1fac8d" style="width: 100.0%; height: 100.0%;">Bundeskanzleramt</div>`)[0];\n", - " popup_5490b8188cbb158565e761e0a2d368dc.setContent(html_e435d76f46c54dc031dbeb376e1fac8d);\n", + " var html_b0b889b15bc5f91597a98be457a73093 = $(`<div id="html_b0b889b15bc5f91597a98be457a73093" style="width: 100.0%; height: 100.0%;">Bundeskanzleramt</div>`)[0];\n", + " popup_753a6a4783dcb073db9e9e5a45288f40.setContent(html_b0b889b15bc5f91597a98be457a73093);\n", " \n", " \n", "\n", - " marker_1ab784d3501eca63c93ea9a13aa5beaa.bindPopup(popup_5490b8188cbb158565e761e0a2d368dc)\n", + " marker_9c7d1ab306ea4a78105e5ab863542b9c.bindPopup(popup_753a6a4783dcb073db9e9e5a45288f40)\n", " ;\n", "\n", " \n", " \n", " \n", - " var marker_2d2396abe658f2a8343e71b7e9e59d85 = L.marker(\n", + " var marker_7b520476258aca3436837a579e465ae3 = L.marker(\n", " [52.508856, 13.391476],\n", " {}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_33b579c13dcfb351f06d17250e8f3182 = L.popup({"maxWidth": "100%"});\n", + " var popup_b8e58c30fc3be073790ce69ada05868a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_62e2635444eb9079d6c0b22ddcd7ae89 = $(`<div id="html_62e2635444eb9079d6c0b22ddcd7ae89" style="width: 100.0%; height: 100.0%;">Deutsches Currywurst Museum</div>`)[0];\n", - " popup_33b579c13dcfb351f06d17250e8f3182.setContent(html_62e2635444eb9079d6c0b22ddcd7ae89);\n", + " var html_270bbed4c1e427ccb4680bf282248fb7 = $(`<div id="html_270bbed4c1e427ccb4680bf282248fb7" style="width: 100.0%; height: 100.0%;">Deutsches Currywurst Museum</div>`)[0];\n", + " popup_b8e58c30fc3be073790ce69ada05868a.setContent(html_270bbed4c1e427ccb4680bf282248fb7);\n", " \n", " \n", "\n", - " marker_2d2396abe658f2a8343e71b7e9e59d85.bindPopup(popup_33b579c13dcfb351f06d17250e8f3182)\n", + " marker_7b520476258aca3436837a579e465ae3.bindPopup(popup_b8e58c30fc3be073790ce69ada05868a)\n", " ;\n", "\n", " \n", @@ -202,7 +202,7 @@ "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, "execution_count": 2, @@ -212,9 +212,8 @@ ], "source": [ "# Basic parameters\n", - "configuration = ors.Configuration()\n", - "configuration.api_key['Authorization'] = 'your-api-key' # https://openrouteservice.org/sign-up\n", - "api = ors.DirectionsServiceApi(ors.ApiClient(configuration))\n", + "api_key = 'your-api-key' # https://openrouteservice.org/sign-up\n", + "directionsApi = ors.DirectionsServiceApi(ors.apiClient(apiKey=api_key))\n", "\n", "\n", "map_berlin = folium.Map(tiles='https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n", @@ -235,10 +234,10 @@ " geometry=True\n", ")\n", "profile = 'driving-car'\n", - "regular_route = api.get_geo_json_route(body, profile)\n", + "regular_route = directionsApi.get_geo_json_route(body, profile)\n", "\n", "# Build popup\n", - "distance, duration = regular_route.features[0]['properties']['summary'].values()\n", + "distance, duration = regular_route[\"features\"][0]['properties']['summary'].values()\n", "popup = folium.map.Popup(popup_route.format('Regular',\n", " duration / 60,\n", " distance / 1000))\n", @@ -300,7 +299,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_bf0b839960a0f66fa98e8ce3a932c582 {\n", + " #map_cbc5f4424aa29293b1a49845564b5917 {\n", " position: relative;\n", " width: 100.0%;\n", " height: 100.0%;\n", @@ -314,14 +313,14 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_bf0b839960a0f66fa98e8ce3a932c582" ></div>\n", + " <div class="folium-map" id="map_cbc5f4424aa29293b1a49845564b5917" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_bf0b839960a0f66fa98e8ce3a932c582 = L.map(\n", - " "map_bf0b839960a0f66fa98e8ce3a932c582",\n", + " var map_cbc5f4424aa29293b1a49845564b5917 = L.map(\n", + " "map_cbc5f4424aa29293b1a49845564b5917",\n", " {\n", " center: [52.516586, 13.381047],\n", " crs: L.CRS.EPSG3857,\n", @@ -335,195 +334,195 @@ "\n", " \n", " \n", - " var tile_layer_b28f0604f4063deef8c58eb282b6eafa = L.tileLayer(\n", + " var tile_layer_3f3d16c4b6f93ec4b189aee606de0ad5 = L.tileLayer(\n", " "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",\n", " {"attribution": "\\u0026copy; \\u003ca href=\\"https://openstreetmap.org/copyright\\"\\u003eOpenStreetMap contributors\\u003c/a\\u003e", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " function geo_json_0f14086fa66076973156cc72fd7d4549_styler(feature) {\n", + " function geo_json_6e7ad9aadd49ea3a5afee0ca72661376_styler(feature) {\n", " switch(feature.properties.transfers) {\n", " default:\n", " return {"color": "blue", "opacity": 0.5, "weight": 4};\n", " }\n", " }\n", "\n", - " function geo_json_0f14086fa66076973156cc72fd7d4549_onEachFeature(feature, layer) {\n", + " function geo_json_6e7ad9aadd49ea3a5afee0ca72661376_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_0f14086fa66076973156cc72fd7d4549 = L.geoJson(null, {\n", - " onEachFeature: geo_json_0f14086fa66076973156cc72fd7d4549_onEachFeature,\n", + " var geo_json_6e7ad9aadd49ea3a5afee0ca72661376 = L.geoJson(null, {\n", + " onEachFeature: geo_json_6e7ad9aadd49ea3a5afee0ca72661376_onEachFeature,\n", " \n", - " style: geo_json_0f14086fa66076973156cc72fd7d4549_styler,\n", + " style: geo_json_6e7ad9aadd49ea3a5afee0ca72661376_styler,\n", " });\n", "\n", - " function geo_json_0f14086fa66076973156cc72fd7d4549_add (data) {\n", - " geo_json_0f14086fa66076973156cc72fd7d4549\n", + " function geo_json_6e7ad9aadd49ea3a5afee0ca72661376_add (data) {\n", + " geo_json_6e7ad9aadd49ea3a5afee0ca72661376\n", " .addData(data)\n", - " .addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " .addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " }\n", - " geo_json_0f14086fa66076973156cc72fd7d4549_add({"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "discriminator": null, "features": [{"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "geometry": {"coordinates": [[13.37208, 52.520294], [13.372085, 52.519573], [13.370864, 52.51957], [13.370864, 52.519401], [13.370847, 52.517876], [13.370813, 52.517779], [13.371258, 52.517778], [13.37422, 52.517767], [13.374418, 52.517765], [13.374567, 52.517764], [13.37654, 52.517759], [13.376766, 52.517759], [13.376834, 52.517758], [13.377196, 52.516996], [13.377211, 52.51679], [13.377136, 52.516688], [13.37707, 52.516649], [13.376924, 52.516579], [13.376764, 52.516445], [13.376728, 52.516389], [13.376706, 52.516265], [13.376726, 52.516156], [13.376795, 52.51603], [13.376902, 52.515951], [13.377229, 52.515828], [13.37741, 52.515713], [13.377464, 52.515588], [13.377456, 52.515391], [13.377353, 52.51459], [13.377467, 52.514585], [13.377707, 52.514587], [13.378929, 52.514669], [13.37916, 52.514694], [13.379572, 52.514766], [13.380237, 52.514898], [13.380276, 52.514906], [13.380442, 52.514937], [13.381488, 52.515141], [13.381712, 52.514713], [13.381841, 52.514468], [13.382106, 52.513965], [13.382322, 52.513553], [13.382814, 52.512617], [13.383005, 52.512253], [13.383161, 52.511964], [13.383226, 52.511844], [13.383428, 52.511468], [13.383622, 52.511106], [13.383719, 52.51093], [13.38403, 52.510373], [13.384218, 52.510007], [13.384642, 52.510033], [13.385294, 52.510074], [13.387387, 52.510206], [13.387709, 52.50988], [13.38828, 52.509312], [13.388683, 52.508927], [13.389064, 52.508716], [13.38933, 52.508565], [13.389439, 52.508546], [13.390194, 52.508594], [13.391055, 52.508642], [13.39111, 52.508646], [13.391489, 52.508667], [13.391505, 52.508668]], "type": "LineString"}, "properties": {"fare": 0, "segments": [{"distance": 2637.3, "duration": 428.1, "steps": [{"distance": 80.2, "duration": 7.2, "instruction": "Head south on Annemarie-Renger-Stra\\u00dfe", "name": "Annemarie-Renger-Stra\\u00dfe", "type": 11, "way_points": [0, 1]}, {"distance": 282.0, "duration": 34.9, "instruction": "Turn right onto Paul-L\\u00f6be-Allee", "name": "Paul-L\\u00f6be-Allee", "type": 1, "way_points": [1, 5]}, {"distance": 407.4, "duration": 54.6, "instruction": "Turn left onto Scheidemannstra\\u00dfe", "name": "Scheidemannstra\\u00dfe", "type": 0, "way_points": [5, 12]}, {"distance": 389.0, "duration": 63.0, "instruction": "Turn right onto Ebertstra\\u00dfe, B 2", "name": "Ebertstra\\u00dfe, B 2", "type": 1, "way_points": [12, 28]}, {"distance": 288.2, "duration": 47.9, "instruction": "Turn left onto Behrenstra\\u00dfe, B 5", "name": "Behrenstra\\u00dfe, B 5", "type": 0, "way_points": [28, 37]}, {"distance": 600.0, "duration": 99.5, "instruction": "Turn right onto Wilhelmstra\\u00dfe", "name": "Wilhelmstra\\u00dfe", "type": 1, "way_points": [37, 50]}, {"distance": 215.6, "duration": 31.0, "instruction": "Turn left onto Leipziger Stra\\u00dfe, B 1", "name": "Leipziger Stra\\u00dfe, B 1", "type": 0, "way_points": [50, 53]}, {"distance": 374.9, "duration": 90.0, "instruction": "Turn right onto Mauerstra\\u00dfe", "name": "Mauerstra\\u00dfe", "type": 1, "way_points": [53, 64]}, {"distance": 0.0, "duration": 0.0, "instruction": "Arrive at Mauerstra\\u00dfe, on the left", "name": "-", "type": 10, "way_points": [64, 64]}]}], "summary": {"distance": 2637.3, "duration": 428.1}, "transfers": 0, "way_points": [0, 64]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "discriminator": null, "engine": {"build_date": "2023-07-09T01:31:50Z", "discriminator": null, "graph_date": "2023-11-05T11:14:13Z", "version": "7.1.0"}, "id": null, "osm_file_md5_hash": null, "query": {"alternative_routes": null, "attributes": null, "bearings": null, "continue_straight": false, "coordinates": [[13.372582, 52.520295], [13.391476, 52.508856]], "discriminator": null, "elevation": null, "extra_info": null, "geometry": true, "geometry_simplify": false, "id": null, "ignore_transfers": false, "instructions": true, "instructions_format": "text", "language": "en", "maneuvers": false, "maximum_speed": null, "options": null, "preference": "shortest", "radiuses": null, "roundabout_exits": false, "schedule": false, "schedule_duration": null, "schedule_rows": null, "skip_segments": null, "suppress_warnings": null, "units": "m", "walking_time": null}, "service": "routing", "system_message": null, "timestamp": 1699273220660}, "type": "FeatureCollection"});\n", + " geo_json_6e7ad9aadd49ea3a5afee0ca72661376_add({"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "features": [{"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "geometry": {"coordinates": [[13.37208, 52.520294], [13.372085, 52.519573], [13.370864, 52.51957], [13.370864, 52.519401], [13.370847, 52.517875], [13.370813, 52.517779], [13.371258, 52.517778], [13.374418, 52.517765], [13.374759, 52.517764], [13.374891, 52.517764], [13.375399, 52.517763], [13.376766, 52.517759], [13.376834, 52.517758], [13.377196, 52.516996], [13.377211, 52.51679], [13.377136, 52.516688], [13.37707, 52.516649], [13.376924, 52.516579], [13.376764, 52.516445], [13.376728, 52.516389], [13.376706, 52.516265], [13.376726, 52.516156], [13.376795, 52.51603], [13.376902, 52.515951], [13.377229, 52.515828], [13.377366, 52.51575], [13.377453, 52.515641], [13.37746, 52.51546], [13.377456, 52.515391], [13.377353, 52.51459], [13.377467, 52.514585], [13.377707, 52.514587], [13.378929, 52.514669], [13.37916, 52.514694], [13.37957, 52.514768], [13.380125, 52.514877], [13.380237, 52.514898], [13.380276, 52.514906], [13.380442, 52.514937], [13.381488, 52.515141], [13.381712, 52.514713], [13.381841, 52.514468], [13.382106, 52.513965], [13.382322, 52.513553], [13.382804, 52.512616], [13.382986, 52.512269], [13.383149, 52.511961], [13.383212, 52.511843], [13.383418, 52.511465], [13.383612, 52.511104], [13.383703, 52.510927], [13.384001, 52.510368], [13.384191, 52.510007], [13.384644, 52.510036], [13.385052, 52.510058], [13.385293, 52.510072], [13.387149, 52.510182], [13.387393, 52.510197], [13.387709, 52.50988], [13.38828, 52.509312], [13.388683, 52.508927], [13.389064, 52.508716], [13.38933, 52.508565], [13.389439, 52.508546], [13.390194, 52.508594], [13.391055, 52.508642], [13.39111, 52.508646], [13.391489, 52.508667], [13.391505, 52.508668]], "type": "LineString"}, "properties": {"fare": 0, "segments": [{"distance": 2637.8, "duration": 424.6, "steps": [{"distance": 80.2, "duration": 7.2, "instruction": "Head south on Annemarie-Renger-Stra\\u00dfe", "name": "Annemarie-Renger-Stra\\u00dfe", "type": 11, "way_points": [0, 1]}, {"distance": 282.0, "duration": 34.9, "instruction": "Turn right onto Paul-L\\u00f6be-Allee", "name": "Paul-L\\u00f6be-Allee", "type": 1, "way_points": [1, 5]}, {"distance": 407.4, "duration": 52.5, "instruction": "Turn left onto Scheidemannstra\\u00dfe", "name": "Scheidemannstra\\u00dfe", "type": 0, "way_points": [5, 12]}, {"distance": 389.0, "duration": 67.4, "instruction": "Turn right onto Ebertstra\\u00dfe, B 2", "name": "Ebertstra\\u00dfe, B 2", "type": 1, "way_points": [12, 29]}, {"distance": 288.2, "duration": 47.9, "instruction": "Turn left onto Behrenstra\\u00dfe, B 5", "name": "Behrenstra\\u00dfe, B 5", "type": 0, "way_points": [29, 39]}, {"distance": 599.5, "duration": 101.3, "instruction": "Turn right onto Wilhelmstra\\u00dfe", "name": "Wilhelmstra\\u00dfe", "type": 1, "way_points": [39, 52]}, {"distance": 217.8, "duration": 42.1, "instruction": "Turn left onto Leipziger Stra\\u00dfe, B 1", "name": "Leipziger Stra\\u00dfe, B 1", "type": 0, "way_points": [52, 57]}, {"distance": 373.7, "duration": 71.3, "instruction": "Turn right onto Mauerstra\\u00dfe", "name": "Mauerstra\\u00dfe", "type": 1, "way_points": [57, 68]}, {"distance": 0.0, "duration": 0.0, "instruction": "Arrive at Mauerstra\\u00dfe, on the left", "name": "-", "type": 10, "way_points": [68, 68]}]}], "summary": {"distance": 2637.8, "duration": 424.6}, "transfers": 0, "way_points": [0, 68]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "engine": {"build_date": "2024-01-29T14:41:12Z", "graph_date": "2024-03-17T13:51:27Z", "version": "7.1.1"}, "query": {"coordinates": [[13.372582, 52.520295], [13.391476, 52.508856]], "format": "geojson", "geometry": true, "instructions": true, "instructions_format": "text", "language": "en", "preference": "shortest", "profile": "driving-car", "units": "m", "walking_time": 900.0}, "service": "routing", "timestamp": 1710855020761}, "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " var popup_7b982cfbf8d145583ff73071c64c03e2 = L.popup({"maxWidth": "100%"});\n", + " var popup_0faea432ccd4c1bee5dbf4fc04d2dda1 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_3f8ee1a243bfebc74a424f5db952b3a2 = $(`<div id="html_3f8ee1a243bfebc74a424f5db952b3a2" style="width: 100.0%; height: 100.0%;"><h4>Regular route</h4><hr><strong>Duration: </strong>7.1 mins<br><strong>Distance: </strong>2.637 km</div>`)[0];\n", - " popup_7b982cfbf8d145583ff73071c64c03e2.setContent(html_3f8ee1a243bfebc74a424f5db952b3a2);\n", + " var html_47f77f16ca9c6d59599add702780a957 = $(`<div id="html_47f77f16ca9c6d59599add702780a957" style="width: 100.0%; height: 100.0%;"><h4>Regular route</h4><hr><strong>Duration: </strong>7.1 mins<br><strong>Distance: </strong>2.638 km</div>`)[0];\n", + " popup_0faea432ccd4c1bee5dbf4fc04d2dda1.setContent(html_47f77f16ca9c6d59599add702780a957);\n", " \n", " \n", "\n", - " geo_json_0f14086fa66076973156cc72fd7d4549.bindPopup(popup_7b982cfbf8d145583ff73071c64c03e2)\n", + " geo_json_6e7ad9aadd49ea3a5afee0ca72661376.bindPopup(popup_0faea432ccd4c1bee5dbf4fc04d2dda1)\n", " ;\n", "\n", " \n", " \n", " \n", - " var marker_1ab784d3501eca63c93ea9a13aa5beaa = L.marker(\n", + " var marker_9c7d1ab306ea4a78105e5ab863542b9c = L.marker(\n", " [52.520295, 13.372582],\n", " {}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_5490b8188cbb158565e761e0a2d368dc = L.popup({"maxWidth": "100%"});\n", + " var popup_753a6a4783dcb073db9e9e5a45288f40 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_e435d76f46c54dc031dbeb376e1fac8d = $(`<div id="html_e435d76f46c54dc031dbeb376e1fac8d" style="width: 100.0%; height: 100.0%;">Bundeskanzleramt</div>`)[0];\n", - " popup_5490b8188cbb158565e761e0a2d368dc.setContent(html_e435d76f46c54dc031dbeb376e1fac8d);\n", + " var html_b0b889b15bc5f91597a98be457a73093 = $(`<div id="html_b0b889b15bc5f91597a98be457a73093" style="width: 100.0%; height: 100.0%;">Bundeskanzleramt</div>`)[0];\n", + " popup_753a6a4783dcb073db9e9e5a45288f40.setContent(html_b0b889b15bc5f91597a98be457a73093);\n", " \n", " \n", "\n", - " marker_1ab784d3501eca63c93ea9a13aa5beaa.bindPopup(popup_5490b8188cbb158565e761e0a2d368dc)\n", + " marker_9c7d1ab306ea4a78105e5ab863542b9c.bindPopup(popup_753a6a4783dcb073db9e9e5a45288f40)\n", " ;\n", "\n", " \n", " \n", " \n", - " var marker_2d2396abe658f2a8343e71b7e9e59d85 = L.marker(\n", + " var marker_7b520476258aca3436837a579e465ae3 = L.marker(\n", " [52.508856, 13.391476],\n", " {}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_33b579c13dcfb351f06d17250e8f3182 = L.popup({"maxWidth": "100%"});\n", + " var popup_b8e58c30fc3be073790ce69ada05868a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_62e2635444eb9079d6c0b22ddcd7ae89 = $(`<div id="html_62e2635444eb9079d6c0b22ddcd7ae89" style="width: 100.0%; height: 100.0%;">Deutsches Currywurst Museum</div>`)[0];\n", - " popup_33b579c13dcfb351f06d17250e8f3182.setContent(html_62e2635444eb9079d6c0b22ddcd7ae89);\n", + " var html_270bbed4c1e427ccb4680bf282248fb7 = $(`<div id="html_270bbed4c1e427ccb4680bf282248fb7" style="width: 100.0%; height: 100.0%;">Deutsches Currywurst Museum</div>`)[0];\n", + " popup_b8e58c30fc3be073790ce69ada05868a.setContent(html_270bbed4c1e427ccb4680bf282248fb7);\n", " \n", " \n", "\n", - " marker_2d2396abe658f2a8343e71b7e9e59d85.bindPopup(popup_33b579c13dcfb351f06d17250e8f3182)\n", + " marker_7b520476258aca3436837a579e465ae3.bindPopup(popup_b8e58c30fc3be073790ce69ada05868a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_aa84e3c2a203e3b719e7add67e505f4c = L.polygon(\n", - " [[52.519856222546146, 13.385757350360162], [52.519759934629725, 13.385778431146596], [52.51974643338138, 13.385781192633539], [52.51919443338138, 13.38588619263354], [52.51918223543565, 13.385888356670165], [52.518933235435654, 13.385929356670164], [52.51892271067812, 13.385930974746831], [52.51879794722404, 13.385948798097413], [52.51861206331077, 13.385976301329478], [52.517933890859695, 13.386101669453621], [52.51789120176681, 13.38610767116621], [52.51784815436528, 13.386109973431813], [52.517794985358556, 13.386110521565904], [52.517056203634645, 13.386248926243292], [52.51678028323274, 13.38631013393808], [52.51677358270741, 13.386311572214852], [52.51642658270741, 13.386383572214854], [52.5164144427191, 13.386385934955051], [52.515988161045044, 13.38646344071397], [52.51554587374325, 13.386548916462182], [52.515538384102456, 13.386550304802574], [52.51513838410246, 13.386621304802574], [52.515129258424516, 13.386622837644365], [52.5149493044034, 13.386651354948256], [52.5146580862487, 13.38670119429688], [52.51429781814506, 13.38676849712943], [52.514289880185935, 13.386769913901617], [52.51376688018593, 13.386858913901618], [52.513760483884425, 13.386859959763195], [52.51289593330769, 13.386995575539936], [52.51200637879996, 13.387144167044031], [52.51199212972312, 13.387146336593469], [52.51110512972312, 13.387268336593468], [52.51108934239226, 13.387270252726461], [52.51106772241596, 13.38727252851344], [52.51105223581608, 13.387275198616868], [52.51075773792152, 13.387553160533386], [52.51073426591409, 13.387575693660523], [52.5107314290088, 13.387578395811637], [52.51055343893835, 13.387746606207886], [52.51023293066765, 13.388063181861774], [52.50967004581798, 13.388629039694807], [52.50933312806056, 13.388981709451269], [52.509153403163694, 13.389306236397742], [52.50915082399047, 13.389310836175046], [52.50905013767234, 13.389488204126188], [52.50909299257095, 13.390162275968999], [52.50909368786962, 13.390211664454636], [52.50908950680241, 13.390260880555973], [52.50908049017162, 13.390309443981748], [52.50906672596895, 13.390356880810042], [52.50904834851684, 13.39040272811321], [52.509025537157605, 13.390446538475496], [52.50899851450328, 13.390487884359294], [52.508967544263186, 13.390526362277406], [52.50893292867044, 13.39056159673061], [52.508895005532516, 13.390593243872084], [52.508854144934624, 13.390620994862953], [52.50881074562816, 13.390644578886183], [52.50876523113929, 13.39066376578945], [52.5087180456359, 13.390678368331143], [52.50866964959301, 13.39068824400763], [52.508092898824, 13.390776522186558], [52.50791108640981, 13.390812884669398], [52.50789517935996, 13.390824426270054], [52.50785011883472, 13.390850440270874], [52.50780259890396, 13.390871630725197], [52.50775313414755, 13.390887768167595], [52.50770226020532, 13.390898677850275], [52.50748426020532, 13.390933677850276], [52.507430353983196, 13.39093935676178], [52.5073761497878, 13.39093916697132], [52.507322284655196, 13.390933110709408], [52.507252068240504, 13.390921332472104], [52.50716235273025, 13.390937134635843], [52.507081970494504, 13.390951838703355], [52.50706643018893, 13.390954429112183], [52.50688043018893, 13.390982429112183], [52.50683160925956, 13.39098734373514], [52.50678254169901, 13.390987449404959], [52.506733700054724, 13.390982745103981], [52.50668555469844, 13.390973276137197], [52.50663856929625, 13.390959133695931], [52.50659319634327, 13.390940453979628], [52.50654987280582, 13.390917416884163], [52.506509015913274, 13.390890244269361], [52.50647101913983, 13.390859197822355], [52.506436248415184, 13.390824576537403], [52.506405038600434, 13.390786713836404], [52.50637769026314, 13.390745974357866], [52.50635446678276, 13.390702750445241], [52.50633559181409, 13.390657458368432], [52.5063212471334, 13.3906105343149], [52.50631157088781, 13.390562430188933], [52.506306656264854, 13.390513609259557], [52.506306550595035, 13.390464541699012], [52.50631125489602, 13.39041570005473], [52.5063207238628, 13.390367554698443], [52.506334866304066, 13.390320569296252], [52.50635354602037, 13.390275196343266], [52.50637658311584, 13.390231872805826], [52.50640375573064, 13.390191015913278], [52.506434802177644, 13.39015301913983], [52.5064694234626, 13.39011824841519], [52.50650728616359, 13.390087038600434], [52.50654802564213, 13.390059690263147], [52.50659124955476, 13.390036466782762], [52.506636541631565, 13.390017591814093], [52.5066834656851, 13.390003247133405], [52.506731569811066, 13.389993570887816], [52.50690977925011, 13.389966743660432], [52.506984029505496, 13.389953161296644], [52.50698726694596, 13.38995258008028], [52.50716326694596, 13.38992158008028], [52.50721960185781, 13.389914924902493], [52.50727632804405, 13.38991469364705], [52.5073327153448, 13.389920889290591], [52.50740677411616, 13.38993331205224], [52.50741637967998, 13.389931769874563], [52.5074206238954, 13.389928665600491], [52.507462100975154, 13.38990408230837], [52.50750575302244, 13.389883608296431], [52.50755117412797, 13.389867433947307], [52.50759794193243, 13.389855709662154], [52.50790794193243, 13.389793709662154], [52.507930350406994, 13.38978975599237], [52.508065970530254, 13.389768997810238], [52.508047007429056, 13.389470724031], [52.50804674356741, 13.38941174170733], [52.50805342732659, 13.389353138708328], [52.50807242732658, 13.389244138708328], [52.50808161406711, 13.389202179657772], [52.508094368114854, 13.389161163899933], [52.50811059534708, 13.389121394124231], [52.50813017600953, 13.389083163824953], [52.50827987429406, 13.388819456913138], [52.508489596836306, 13.388440763602258], [52.50851190840016, 13.388404254661495], [52.50853725961111, 13.388369786926726], [52.508565464826454, 13.388337612799468], [52.508950464826455, 13.387934612799468], [52.50895751661848, 13.387927379053055], [52.50952551661848, 13.387356379053054], [52.50952863573186, 13.387353270958346], [52.509854635731855, 13.387031270958348], [52.509862570991196, 13.387023604188363], [52.510043147245185, 13.386852949706574], [52.51006673408591, 13.386830306339476], [52.51006980244399, 13.386827385592214], [52.51044380244399, 13.386474385592214], [52.51048220424973, 13.386441642143236], [52.51052371110992, 13.386412936521962], [52.51056790018053, 13.386388561161992], [52.51061432129299, 13.386368764383123], [52.51073932129299, 13.386322764383124], [52.510782649389895, 13.386309021305163], [52.51082704654175, 13.386299269942127], [52.51091404654175, 13.386284269942127], [52.51094665760774, 13.386279747273539], [52.51097674870405, 13.386276579789717], [52.511848730101676, 13.38615664548249], [52.51273362120004, 13.38600883295597], [52.512738516115576, 13.386008040236806], [52.513602314575564, 13.385872542439161], [52.514118145122325, 13.385784762479961], [52.51447818185494, 13.38571750287057], [52.51448565580377, 13.385716165284743], [52.51478365580377, 13.385665165284744], [52.514789741575484, 13.385664162355635], [52.514968171644135, 13.385635886552407], [52.51535986578933, 13.385566360841635], [52.51580112625675, 13.385481083537819], [52.5158065572809, 13.38548006504495], [52.516229472674716, 13.385403171336984], [52.51656706210155, 13.385333123963115], [52.51684771676726, 13.38527086606192], [52.51686393085371, 13.385267549827244], [52.51765393085371, 13.385119549827245], [52.517697201800374, 13.385113386961875], [52.51774084563472, 13.385111026568188], [52.517794618410505, 13.385110472209673], [52.5184391091403, 13.384991330546379], [52.518456817128126, 13.384988384728032], [52.51865281712813, 13.384959384728031], [52.518655289321885, 13.384959025253169], [52.5187760183276, 13.384941778252353], [52.519013652186004, 13.384902649785708], [52.51955279696491, 13.384800095072329], [52.51971476675766, 13.38476463423013], [52.51999146822489, 13.384703699972004], [52.520038627658685, 13.384695658202038], [52.52008633978491, 13.384692160306745], [52.52013416781197, 13.384693238308406], [52.520181673887244, 13.38469888233821], [52.52022842310548, 13.384709040726595], [52.52027398749025, 13.384723620476263], [52.52031794991196, 13.38474248811356], [52.52035990790656, 13.384765470910377], [52.52039947735997, 13.38479235846544], [52.52043629602456, 13.384822904630463], [52.52047002683545, 13.384856829763585], [52.52050036099619, 13.384893823289405], [52.52052702080576, 13.384933546542214], [52.52071602080576, 13.385246546542215], [52.52072493341867, 13.38526191732342], [52.520801417385364, 13.38539939483317], [52.52113680828069, 13.38597392539055], [52.52113964505946, 13.385978848887754], [52.52122482944059, 13.386128655902839], [52.52128296710758, 13.386227489936726], [52.521432921184775, 13.386482411867952], [52.52178787523449, 13.38708533381718], [52.52178817793265, 13.387085848680833], [52.52201224872473, 13.387467495441408], [52.52232350792577, 13.387412888564032], [52.52235941878525, 13.387406273405707], [52.52236348699776, 13.387405541371846], [52.52243748699776, 13.387392541371847], [52.52247520326834, 13.38738738681792], [52.523349967322964, 13.38730160607824], [52.523823733438185, 13.38725084542304], [52.52385337775847, 13.387248558322018], [52.52398816646986, 13.387242183180263], [52.52436301611847, 13.387204514465575], [52.525757171540874, 13.386950135329096], [52.52588535439565, 13.386926704054568], [52.52590663069287, 13.386917342483788], [52.525955679828655, 13.386898766270198], [52.52600267164673, 13.386886411857185], [52.526079568998014, 13.38686289779109], [52.526213591268665, 13.38681366512024], [52.52626394263699, 13.386798126820567], [52.52631564967157, 13.386787973908476], [52.52689264967157, 13.386705973908475], [52.52694150946951, 13.386701462056395], [52.526990576233004, 13.386701761027789], [52.527039377422305, 13.386706867943396], [52.52708744305527, 13.386716733620828], [52.52713431023359, 13.386731263048219], [52.527179527600715, 13.38675031629924], [52.527222659688675, 13.386773709880668], [52.52726329111189, 13.386801218499524], [52.52730103056754, 13.386832577232775], [52.52733551460404, 13.386867484078673], [52.527366411121264, 13.386905602865212], [52.52739342256887, 13.38694656648764], [52.527416288811835, 13.38698998044388], [52.527434789635755, 13.3870354266338], [52.52744874686758, 13.387082467385747], [52.52745802609152, 13.387130649671567], [52.527462537943606, 13.387179509469506], [52.52746223897221, 13.387228576233003], [52.527457132056604, 13.3872773774223], [52.52744726637917, 13.38732544305527], [52.52743273695178, 13.387372310233589], [52.527413683700765, 13.38741752760071], [52.527390290119335, 13.387460659688672], [52.52736278150048, 13.387501291111887], [52.527331422767226, 13.387539030567538], [52.52729651592133, 13.387573514604039], [52.52725839713479, 13.387604411121265], [52.52721743351236, 13.387631422568864], [52.52717401955612, 13.387654288811834], [52.5271285733662, 13.387672789635754], [52.527081532614254, 13.387686746867574], [52.52703335032844, 13.387696026091524], [52.52650873898144, 13.387770580910335], [52.526411408731335, 13.38780633487976], [52.52638520965839, 13.387815145099099], [52.52626706077721, 13.387851273269376], [52.526234369307126, 13.387865657516214], [52.526179638717075, 13.387886013688775], [52.52612290808563, 13.387899850115522], [52.52593690808563, 13.387933850115521], [52.524522748821795, 13.38819187920162], [52.5244829933089, 13.38819749439099], [52.5240749933089, 13.38823849439099], [52.52404862224153, 13.388240441677983], [52.523915478417216, 13.388246739021024], [52.523454266561814, 13.38829615457696], [52.523449796731654, 13.38829661318208], [52.52259175304695, 13.388380754295975], [52.52253854862156, 13.388390101019354], [52.52250258121475, 13.388396726594292], [52.52249839973901, 13.388397478512323], [52.52193480544495, 13.38849635470426], [52.521857179753745, 13.388512064665576], [52.521810070882516, 13.388519281231492], [52.521762488931785, 13.388521979849084], [52.52171486619777, 13.388520136000611], [52.521667635347214, 13.388513766437983], [52.521621225486484, 13.388502929030578], [52.521576058263, 13.388487722239473], [52.52153254403448, 13.388468284222903], [52.521491078140656, 13.388444791581046], [52.52145203731154, 13.388417457751562], [52.521415776244716, 13.388386531070442], [52.52138262438279, 13.388352292515814], [52.52135288292031, 13.388315053155155], [52.52132682206735, 13.388275151319167], [52.52092597326354, 13.387592408842846], [52.52057112476552, 13.386989666182822], [52.52042103289242, 13.386734510063286], [52.52036103289242, 13.386632510063274], [52.520357354940536, 13.386626151112246], [52.520271759341355, 13.386475620920585], [52.51993519171931, 13.385899074609451], [52.51993006658133, 13.38589008267658], [52.519856222546146, 13.385757350360162]],\n", + " var polygon_2125636663e323ea36bbb1ade1be772f = L.polygon(\n", + " [[52.52600267164673, 13.386886411857185], [52.526079568998014, 13.38686289779109], [52.526213591268665, 13.38681366512024], [52.52626394263699, 13.386798126820567], [52.52631564967157, 13.386787973908476], [52.52689264967157, 13.386705973908475], [52.52694150946951, 13.386701462056395], [52.526990576233004, 13.386701761027789], [52.527039377422305, 13.386706867943396], [52.52708744305527, 13.386716733620828], [52.52713431023359, 13.386731263048219], [52.527179527600715, 13.38675031629924], [52.527222659688675, 13.386773709880668], [52.52726329111189, 13.386801218499524], [52.52730103056754, 13.386832577232775], [52.52733551460404, 13.386867484078673], [52.527366411121264, 13.386905602865212], [52.52739342256887, 13.38694656648764], [52.527416288811835, 13.38698998044388], [52.527434789635755, 13.3870354266338], [52.52744874686758, 13.387082467385747], [52.52745802609152, 13.387130649671567], [52.527462537943606, 13.387179509469506], [52.52746223897221, 13.387228576233003], [52.527457132056604, 13.3872773774223], [52.52744726637917, 13.38732544305527], [52.52743273695178, 13.387372310233589], [52.527413683700765, 13.38741752760071], [52.527390290119335, 13.387460659688672], [52.52736278150048, 13.387501291111887], [52.527331422767226, 13.387539030567538], [52.52729651592133, 13.387573514604039], [52.52725839713479, 13.387604411121265], [52.52721743351236, 13.387631422568864], [52.52717401955612, 13.387654288811834], [52.5271285733662, 13.387672789635754], [52.527081532614254, 13.387686746867574], [52.52703335032844, 13.387696026091524], [52.52650873898144, 13.387770580910335], [52.526411408731335, 13.38780633487976], [52.52638520965839, 13.387815145099099], [52.52626706077721, 13.387851273269376], [52.526234369307126, 13.387865657516214], [52.526179638717075, 13.387886013688775], [52.52612290808563, 13.387899850115522], [52.52593690808563, 13.387933850115521], [52.524522748821795, 13.38819187920162], [52.5244829933089, 13.38819749439099], [52.5240749933089, 13.38823849439099], [52.52404862224153, 13.388240441677983], [52.523915478417216, 13.388246739021024], [52.523454266561814, 13.38829615457696], [52.523449796731654, 13.38829661318208], [52.52259175304695, 13.388380754295975], [52.52253854862156, 13.388390101019354], [52.52250258121475, 13.388396726594292], [52.52249839973901, 13.388397478512323], [52.52193608438636, 13.388496130328576], [52.52186672322842, 13.38851054303672], [52.52185129482716, 13.388513496906393], [52.52105229482716, 13.388653496906393], [52.52105089165775, 13.38865374070914], [52.52078479353307, 13.38869958532987], [52.520643694832806, 13.38872442665034], [52.520627282843094, 13.38872703567747], [52.520574525826575, 13.388734525871172], [52.52055609555254, 13.388746480643517], [52.520512435977345, 13.388771766235514], [52.52046645044906, 13.388792523182708], [52.520418607195936, 13.38880854013623], [52.52036939336176, 13.3888196540102], [52.51999577213566, 13.388884415022725], [52.51999492884034, 13.38888456606069], [52.51989049972, 13.38893359680622], [52.51984622930699, 13.388951849126865], [52.51980041588356, 13.38896578278791], [52.519753479653474, 13.388975269988885], [52.51914447965348, 13.389068269988885], [52.51913971067812, 13.38906897474683], [52.518859710678115, 13.389108974746831], [52.51881177587495, 13.389113480990149], [52.51876362988918, 13.389113355942667], [52.5187157191403, 13.389108600763851], [52.518668487866684, 13.389099259544702], [52.518622374006426, 13.38908541889893], [52.518579935952594, 13.38906807785418], [52.51810153768509, 13.389137421087684], [52.51762534573292, 13.389211981414226], [52.51762477290096, 13.389212070765861], [52.517225955648236, 13.389274042369042], [52.516927177866606, 13.389320695378133], [52.516284393777894, 13.389426507528121], [52.51579455810586, 13.389517742743708], [52.51562845441009, 13.389591734390004], [52.51558648641967, 13.38960820411691], [52.51554320550324, 13.38962082657297], [52.515498963545745, 13.389629499134378], [52.51526496354575, 13.389664499134378], [52.515206930628516, 13.389669746150636], [52.51514868135101, 13.3896682059132], [52.51495462517812, 13.389651722377279], [52.51485536449021, 13.389671428543263], [52.514724338006175, 13.389697433800379], [52.51469649431418, 13.389702146988578], [52.51467246478044, 13.389705519554717], [52.51458524184463, 13.389753048220339], [52.51454664353942, 13.389771976167602], [52.51450656199984, 13.389787518578528], [52.51446529352407, 13.38979956055762], [52.514423143184594, 13.389808013085933], [52.51409014318459, 13.389860013085933], [52.514043736415395, 13.38986505437857], [52.513997061747254, 13.389865745907537], [52.51395052599711, 13.389862081645461], [52.513904534771086, 13.389854093530092], [52.51386202050759, 13.38984464591598], [52.51257461393059, 13.390046939346254], [52.51257407512748, 13.390047023708666], [52.51204453030091, 13.390129640664691], [52.51145659714287, 13.39022736252475], [52.511418424214575, 13.390253597851972], [52.51137498575704, 13.390277494425122], [52.511329394279, 13.390296971666531], [52.51128209802601, 13.390311838080184], [52.51123356200456, 13.390321947502725], [52.51111318465883, 13.390340849730567], [52.510499807065315, 13.390438750388817], [52.510448654444986, 13.390444234645907], [52.510397209056165, 13.390444433670263], [52.510346015534225, 13.390439345354881], [52.51031287157647, 13.39043255751765], [52.51027449118854, 13.390454737874215], [52.51022949170012, 13.390475113745214], [52.51018270123724, 13.39049094986406], [52.510134576499155, 13.390502091661988], [52.51003457649915, 13.390520091661987], [52.51001231045721, 13.390523583417059], [52.50972831045721, 13.390561583417059], [52.509675141162695, 13.39056582728001], [52.50962182232257, 13.39056438314], [52.50956896070189, 13.39055726743125], [52.50952236879138, 13.390545839276832], [52.50867638634016, 13.390687165784453], [52.50866964959301, 13.39068824400763], [52.508092898824, 13.390776522186558], [52.50790489232548, 13.390814123486264], [52.507878958938456, 13.390831884391082], [52.507835984814726, 13.3908554948842], [52.507790904730946, 13.390874782619724], [52.5077441522188, 13.390889562108995], [52.50769617689358, 13.390899691218804], [52.50748417689358, 13.390933691218804], [52.50743029780374, 13.390939359611028], [52.50737612170887, 13.390939165347657], [52.507322284655196, 13.390933110709408], [52.507252068240504, 13.390921332472104], [52.50716235273025, 13.390937134635843], [52.507081970494504, 13.390951838703355], [52.50706643018893, 13.390954429112183], [52.50688043018893, 13.390982429112183], [52.50683160925956, 13.39098734373514], [52.50678254169901, 13.390987449404959], [52.506733700054724, 13.390982745103981], [52.50668555469844, 13.390973276137197], [52.50663856929625, 13.390959133695931], [52.50659319634327, 13.390940453979628], [52.50654987280582, 13.390917416884163], [52.506509015913274, 13.390890244269361], [52.50647101913983, 13.390859197822355], [52.506436248415184, 13.390824576537403], [52.506405038600434, 13.390786713836404], [52.50637769026314, 13.390745974357866], [52.50635446678276, 13.390702750445241], [52.50633559181409, 13.390657458368432], [52.5063212471334, 13.3906105343149], [52.50631157088781, 13.390562430188933], [52.506306656264854, 13.390513609259557], [52.506306550595035, 13.390464541699012], [52.50631125489602, 13.39041570005473], [52.5063207238628, 13.390367554698443], [52.506334866304066, 13.390320569296252], [52.50635354602037, 13.390275196343266], [52.50637658311584, 13.390231872805826], [52.50640375573064, 13.390191015913278], [52.506434802177644, 13.39015301913983], [52.5064694234626, 13.39011824841519], [52.50650728616359, 13.390087038600434], [52.50654802564213, 13.390059690263147], [52.50659124955476, 13.390036466782762], [52.506636541631565, 13.390017591814093], [52.5066834656851, 13.390003247133405], [52.506731569811066, 13.389993570887816], [52.50690977925011, 13.389966743660432], [52.506984029505496, 13.389953161296644], [52.50698726694596, 13.38995258008028], [52.50716326694596, 13.38992158008028], [52.50721960185781, 13.389914924902493], [52.50727632804405, 13.38991469364705], [52.5073327153448, 13.389920889290591], [52.50740681684406, 13.3899333192195], [52.507416939739656, 13.389931695736244], [52.50743078036842, 13.389922138528494], [52.5074701419756, 13.389899919118529], [52.50751134932915, 13.389881345149863], [52.507554065676274, 13.389866568411817], [52.50759794193243, 13.389855709662154], [52.50790794193243, 13.389793709662154], [52.507930350406994, 13.38978975599237], [52.50851497835523, 13.389700272122742], [52.50936761365984, 13.389557834215546], [52.509368430454046, 13.389557698460196], [52.509495430454045, 13.389536698460196], [52.509542133876295, 13.389531217127983], [52.50958914569006, 13.389530147539555], [52.50963605007496, 13.38953349915544], [52.50968243216086, 13.389541242330537], [52.50972642992848, 13.38955292315105], [52.509806041822486, 13.389542270855374], [52.50982708519441, 13.389527051901917], [52.509869173433664, 13.389502469734662], [52.50991345517422, 13.389482102351833], [52.509959509615065, 13.389466143300828], [52.51000689910953, 13.389454744237497], [52.510254899109526, 13.389407744237497], [52.51030126958428, 13.38940118852138], [52.51034805001532, 13.389399000002502], [52.510394830007584, 13.389401197880288], [52.51044119916987, 13.38940776287321], [52.51048675071509, 13.389418637387942], [52.510505831712116, 13.389425131369835], [52.51093286303164, 13.38935697327649], [52.51096730671601, 13.389333187274227], [52.511010004101415, 13.389309490454053], [52.5110548094394, 13.389290071708107], [52.51110129535766, 13.389275116260624], [52.5111490184538, 13.389264766763], [52.511883018453794, 13.389142766763], [52.51188792487252, 13.389141976291333], [52.51241965544918, 13.389059018325426], [52.51380038606941, 13.388842060653745], [52.513846906903495, 13.388836967717127], [52.51389370012878, 13.388836246554833], [52.51394035581302, 13.38883990348461], [52.51398646522891, 13.388847906469909], [52.51402922039084, 13.388857407617005], [52.514183033023635, 13.3888333888275], [52.514273758155376, 13.388783951779661], [52.51431412861487, 13.388764251515342], [52.51435610426428, 13.38874825403834], [52.51439934629725, 13.388736088472255], [52.51444350568582, 13.388727853011423], [52.51454351726357, 13.388713816298758], [52.51466064874838, 13.388690568828489], [52.51479663550979, 13.388663571456737], [52.51481601871328, 13.388660118517333], [52.51485401871329, 13.388654118517334], [52.51491403806505, 13.388648322735266], [52.514974318648996, 13.3886497940868], [52.51517496045171, 13.38866683701985], [52.51528372057579, 13.388650569479923], [52.51544154558991, 13.388580265609995], [52.515496472431124, 13.388559569836223], [52.515553446144395, 13.388545453571345], [52.5161064461444, 13.388442453571345], [52.51611678533896, 13.388440639909568], [52.51676678533896, 13.388333639909566], [52.51677086162675, 13.388332986162771], [52.517071861626754, 13.388285986162773], [52.51747094065664, 13.388223973743987], [52.51794965426708, 13.388149018585775], [52.51795527517996, 13.388148171191027], [52.51863827517996, 13.388049171191026], [52.518686314363165, 13.388044561324477], [52.51873457420309, 13.388044604256583], [52.51878260510836, 13.388049299587387], [52.51882995962038, 13.388058603574923], [52.518876196581864, 13.388072429542722], [52.51891985770784, 13.388090229769462], [52.51899590313537, 13.388079366136958], [52.51953099507274, 13.387997652589872], [52.51962950028, 13.38795140319378], [52.51966974538, 13.387934608536623], [52.519711300806144, 13.387921384500117], [52.51975385044986, 13.387911831678375], [52.51982085044986, 13.387899831678375], [52.519823606638234, 13.3878993459898], [52.52009776672098, 13.387851824908791], [52.520122904447454, 13.387835519356482], [52.520169972612806, 13.387808499524063], [52.52021969203601, 13.38778674033084], [52.5202714769261, 13.387770498142197], [52.5203247171569, 13.38775996432253], [52.52047848948056, 13.38773813244942], [52.52061230516719, 13.38771457334966], [52.52061410834225, 13.38771425929086], [52.520880406583444, 13.387668380193126], [52.521670967768735, 13.387529858834002], [52.52174027677158, 13.38751545696328], [52.521755600260995, 13.387512521487677], [52.52232350792577, 13.387412888564032], [52.52235941878525, 13.387406273405707], [52.52236348699776, 13.387405541371846], [52.52243748699776, 13.387392541371847], [52.52247520326834, 13.38738738681792], [52.523349967322964, 13.38730160607824], [52.523823733438185, 13.38725084542304], [52.52385337775847, 13.387248558322018], [52.52398816646986, 13.387242183180263], [52.52436301611847, 13.387204514465575], [52.525757171540874, 13.386950135329096], [52.52588535439565, 13.386926704054568], [52.52590663069287, 13.386917342483788], [52.525955679828655, 13.386898766270198], [52.52600267164673, 13.386886411857185]],\n", " {"bubblingMouseEvents": true, "color": "#FF0000", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#FF0000", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_cf0d90e9227b37117fe7025b0fec9ebc = L.popup({"maxWidth": "100%"});\n", + " var popup_f373d1fb4196b3e8f09761aee67c8de2 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_6de2bc3f102ff8d09c095b84377deebe = $(`<div id="html_6de2bc3f102ff8d09c095b84377deebe" style="width: 100.0%; height: 100.0%;">Friedrichstraße</div>`)[0];\n", - " popup_cf0d90e9227b37117fe7025b0fec9ebc.setContent(html_6de2bc3f102ff8d09c095b84377deebe);\n", + " var html_5cfb048bd55fffd56a238b488645c74c = $(`<div id="html_5cfb048bd55fffd56a238b488645c74c" style="width: 100.0%; height: 100.0%;">Friedrichstraße</div>`)[0];\n", + " popup_f373d1fb4196b3e8f09761aee67c8de2.setContent(html_5cfb048bd55fffd56a238b488645c74c);\n", " \n", " \n", "\n", - " polygon_aa84e3c2a203e3b719e7add67e505f4c.bindPopup(popup_cf0d90e9227b37117fe7025b0fec9ebc)\n", + " polygon_2125636663e323ea36bbb1ade1be772f.bindPopup(popup_f373d1fb4196b3e8f09761aee67c8de2)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_4baf1cacaf7a95dcb57640d52a2dd09f = L.polygon(\n", - " [[52.510094619398764, 13.377872838786983], [52.51010217630335, 13.377935311706702], [52.510157050028106, 13.378890114517414], [52.510193904415665, 13.37944591852441], [52.51019407217524, 13.379448553918056], [52.510318937854485, 13.381495352132303], [52.5104497841118, 13.383368151616722], [52.510449823840176, 13.383368724987667], [52.51050582384018, 13.384183724987668], [52.51050606258411, 13.384187397105693], [52.51053203876478, 13.384611008667335], [52.51057301146637, 13.385262574555961], [52.51070500858332, 13.387355528842333], [52.51070525869472, 13.387359783171664], [52.510737253840176, 13.387946694120986], [52.510795148761936, 13.389001779160825], [52.51084903521696, 13.389867954030278], [52.51084907384146, 13.389868581243134], [52.51090807384146, 13.390836581243134], [52.510908189870854, 13.39083854876384], [52.51096318987085, 13.391803548763841], [52.51096374385846, 13.39184800237252], [52.51096034701061, 13.391892329470908], [52.5109445000355, 13.392022706857077], [52.511043695431994, 13.392336130966996], [52.51106041383255, 13.39240611248647], [52.51108041383255, 13.39252811248647], [52.511086105528264, 13.392579105658465], [52.51115505233568, 13.393730217573694], [52.511322995983065, 13.39637632968449], [52.51132319240554, 13.396379593271039], [52.51141212161344, 13.39794234923906], [52.51153572096619, 13.39993887749345], [52.51157229074448, 13.400379639558212], [52.51161579817508, 13.400709838057798], [52.51162688580826, 13.400716900759884], [52.51166529453042, 13.40074700755251], [52.51170058524994, 13.400780715326325], [52.51173242176641, 13.400817702960996], [52.511760500786224, 13.400857618090287], [52.5117845548119, 13.400900080458902], [52.511804354690476, 13.400944685545028], [52.511819711796505, 13.400991008414046], [52.51183047982906, 13.401038607766719], [52.51183655620544, 13.401087030143259], [52.51183788303847, 13.40113581424327], [52.51183444768794, 13.40118449532036], [52.511826282881046, 13.401232609609592], [52.51181346640062, 13.40127969874559], [52.511796120344066, 13.401325314129199], [52.51177440996026, 13.401369021201107], [52.511748542075246, 13.401410403581716], [52.51161854207525, 13.401597403581716], [52.51158802538049, 13.401636931854679], [52.511553717927974, 13.401673218928462], [52.51151596193495, 13.401705902839069], [52.51147513401789, 13.401734657564093], [52.511431641435784, 13.401759196274808], [52.51138591802765, 13.401779274197274], [52.51133841988504, 13.401794691053976], [52.5112896208025, 13.401805293061578], [52.511240007551464, 13.401810974464928], [52.51119007502472, 13.401811678591958], [52.51114032129982, 13.401807398418995], [52.51109124267077, 13.401798176640812], [52.5110433286975, 13.401784105244761], [52.51099705732245, 13.401765324593187], [52.51095289010316, 13.401742022023315], [52.510911267608186, 13.401714429978563], [52.5108726050224, 13.40168282368991], [52.51083728800557, 13.401647518430467], [52.510805668845364, 13.401608866370625], [52.510778062943295, 13.401567253065148], [52.51075474566856, 13.401523093607258], [52.51073594961126, 13.401476828488086], [52.510721862262294, 13.401428919202752], [52.51068386226229, 13.401270919202751], [52.510674284561, 13.401219316181285], [52.510579284561, 13.400498316181285], [52.51057671214701, 13.400474342660287], [52.51053871214701, 13.400016342660287], [52.51053795537824, 13.400005894424911], [52.51041395537824, 13.398002894424911], [52.51041380759446, 13.39800040672896], [52.51032490047052, 13.396438038843177], [52.51015700401693, 13.39379267031551], [52.510156894471734, 13.393790894341535], [52.510089430368524, 13.392664537140096], [52.51007942121234, 13.392603481287361], [52.509971304568005, 13.392261869033003], [52.50995642475446, 13.392202399004267], [52.50994893448321, 13.392141555031635], [52.50994293448321, 13.392043555031636], [52.50994222352684, 13.391998050856968], [52.50994565298939, 13.391952670529093], [52.50996227288426, 13.391815934121292], [52.509909866204914, 13.39089643511089], [52.509850945273584, 13.389929732373146], [52.50979696478304, 13.389062045969721], [52.50979675104617, 13.3890583949284], [52.50973875104617, 13.3880013949284], [52.509706857295576, 13.387416344525427], [52.50957499141668, 13.385325471157667], [52.50953398565937, 13.384673379736146], [52.50953393741589, 13.384672602894307], [52.50950805003133, 13.38425043939221], [52.50945219585935, 13.38343756171082], [52.5093212158882, 13.381562848383277], [52.50932092782476, 13.381558446081943], [52.50919600822479, 13.379510763999201], [52.50915909558434, 13.37895408147559], [52.50915882369665, 13.378949688293298], [52.50910563258766, 13.378024162996992], [52.50908338060123, 13.377904161213017], [52.509076812521606, 13.377855535119261], [52.509075042259724, 13.377806499389056], [52.50907808686419, 13.377757526263288], [52.5090859170138, 13.377709087379928], [52.50909845729992, 13.377661649231905], [52.50911558695275, 13.377615668674515], [52.509137141004366, 13.377571588525662], [52.50916291187746, 13.377529833301276], [52.50919265138445, 13.377490805126993], [52.509226073117624, 13.377454879865466], [52.50926285520742, 13.377422403496604], [52.509302643422195, 13.377393688785592], [52.509345054579704, 13.377369012270792], [52.50938968023731, 13.377348611600533], [52.50943609062554, 13.377332683244422], [52.509483838786984, 13.377321380601236], [52.509532464880735, 13.377314812521606], [52.50958150061094, 13.377313042259729], [52.50963047373671, 13.377316086864194], [52.50967891262007, 13.3773239170138], [52.50972635076809, 13.377336457299922], [52.509772331325486, 13.37735358695275], [52.50981641147433, 13.377375141004364], [52.50985816669872, 13.377400911877466], [52.509897194873005, 13.377430651384456], [52.509933120134534, 13.377464073117627], [52.50996559650339, 13.377500855207419], [52.509994311214406, 13.377540643422199], [52.510018987729204, 13.377583054579707], [52.51003938839946, 13.377627680237316], [52.510055316755576, 13.377674090625543], [52.51006661939876, 13.377721838786982], [52.510094619398764, 13.377872838786983]],\n", + " var polygon_21ce7760a20441e99f78068894189b65 = L.polygon(\n", + " [[52.51009877358312, 13.377866674239828], [52.5101060383127, 13.377926003831512], [52.51016564943278, 13.378885742864858], [52.510214103599, 13.379440493625046], [52.510215060322444, 13.37945336024543], [52.510465057443135, 13.383525313347171], [52.5104859559503, 13.383864665296858], [52.510505847074654, 13.384157064824855], [52.510505978573285, 13.384159056559328], [52.51053497857328, 13.384612056559329], [52.51053527469736, 13.38461707832514], [52.510557218744985, 13.385024040662831], [52.5105711414889, 13.38526371075464], [52.51068109161324, 13.38711886921617], [52.510696057863065, 13.38736232021334], [52.510696104465325, 13.387363087917313], [52.51073109355706, 13.387946905905064], [52.510795082516246, 13.389001723904231], [52.510847103110926, 13.389869065326678], [52.510905102111366, 13.390837048629624], [52.510963099327995, 13.391802002320185], [52.51096376804799, 13.391847228204112], [52.51096034701061, 13.391892329470908], [52.5109445000355, 13.392022706857077], [52.511043695431994, 13.392336130966996], [52.51106041383255, 13.39240611248647], [52.51108041383255, 13.39252811248647], [52.51108607948575, 13.392578673989581], [52.511156044345434, 13.393730095680372], [52.511323007864625, 13.396376517448662], [52.51132319240554, 13.396379593271039], [52.51141212161344, 13.39794234923906], [52.51153572096619, 13.39993887749345], [52.51157229074448, 13.400379639558212], [52.51161579817508, 13.400709838057798], [52.51162688580826, 13.400716900759884], [52.51166529453042, 13.40074700755251], [52.51170058524994, 13.400780715326325], [52.51173242176641, 13.400817702960996], [52.511760500786224, 13.400857618090287], [52.5117845548119, 13.400900080458902], [52.511804354690476, 13.400944685545028], [52.511819711796505, 13.400991008414046], [52.51183047982906, 13.401038607766719], [52.51183655620544, 13.401087030143259], [52.51183788303847, 13.40113581424327], [52.51183444768794, 13.40118449532036], [52.511826282881046, 13.401232609609592], [52.51181346640062, 13.40127969874559], [52.511796120344066, 13.401325314129199], [52.51177440996026, 13.401369021201107], [52.511748542075246, 13.401410403581716], [52.51161854207525, 13.401597403581716], [52.51158802538049, 13.401636931854679], [52.511553717927974, 13.401673218928462], [52.51151596193495, 13.401705902839069], [52.51147513401789, 13.401734657564093], [52.511431641435784, 13.401759196274808], [52.51138591802765, 13.401779274197274], [52.51133841988504, 13.401794691053976], [52.5112896208025, 13.401805293061578], [52.511240007551464, 13.401810974464928], [52.51119007502472, 13.401811678591958], [52.51114032129982, 13.401807398418995], [52.51109124267077, 13.401798176640812], [52.5110433286975, 13.401784105244761], [52.51099705732245, 13.401765324593187], [52.51095289010316, 13.401742022023315], [52.510911267608186, 13.401714429978563], [52.5108726050224, 13.40168282368991], [52.51083728800557, 13.401647518430467], [52.510805668845364, 13.401608866370625], [52.510778062943295, 13.401567253065148], [52.51075474566856, 13.401523093607258], [52.51073594961126, 13.401476828488086], [52.510721862262294, 13.401428919202752], [52.51068386226229, 13.401270919202751], [52.510674284561, 13.401219316181285], [52.510579284561, 13.400498316181285], [52.51057671214701, 13.400474342660287], [52.51053871214701, 13.400016342660287], [52.51053795537824, 13.400005894424911], [52.51041395537824, 13.398002894424911], [52.51041380759446, 13.39800040672896], [52.51032489512601, 13.396437944923886], [52.510157992135376, 13.393792482551337], [52.51015792051425, 13.393791326010419], [52.51008946544019, 13.392664751077216], [52.51007942121234, 13.392603481287361], [52.509971304568005, 13.392261869033003], [52.50995642475446, 13.392202399004267], [52.50994893448321, 13.392141555031635], [52.50994293448321, 13.392043555031636], [52.50994222352684, 13.391998050856968], [52.50994565298939, 13.391952670529093], [52.50996217867199, 13.391816709231323], [52.50990690067201, 13.390896997679816], [52.50984889600405, 13.389928919917304], [52.50979690712788, 13.389062105385722], [52.50973291748375, 13.388007276095768], [52.509697918540525, 13.387423295951727], [52.50968294213693, 13.38717967978666], [52.509682875844774, 13.387178581711787], [52.509572875844775, 13.385322581711787], [52.50957284152014, 13.385321996758167], [52.50955884152014, 13.385080996758166], [52.50955872530264, 13.38507892167486], [52.50953686073352, 13.384673433302119], [52.50950808518827, 13.38422393944011], [52.50948815292535, 13.383930935175144], [52.50948794544588, 13.38392773356492], [52.50946694544588, 13.383586733564922], [52.50921733502888, 13.379521079237062], [52.509168896401, 13.378966506374955], [52.509167961687304, 13.37895399616849], [52.509109817730845, 13.37801787846951], [52.509088226416885, 13.377900325760173], [52.50908174096839, 13.377851688576643], [52.509080054026754, 13.37780264990933], [52.50908318183813, 13.377753682027409], [52.509091094279995, 13.37770525651835], [52.50910371515121, 13.377657839746279], [52.50912092290588, 13.37761188836063], [52.50914255182392, 13.377567844898365], [52.509168393607034, 13.377526133522107], [52.50919819938472, 13.377487155935206], [52.50923168211104, 13.377451287513134], [52.50926851932905, 13.377418873688404], [52.509308356276186, 13.377390226623865], [52.50935080930088, 13.37736562220641], [52.50939546955729, 13.377345297390029], [52.50944190694274, 13.377329447913814], [52.50948967423982, 13.377318226416886], [52.509538311423356, 13.377311740968393], [52.50958735009067, 13.377310054026752], [52.50963631797259, 13.377313181838131], [52.50968474348165, 13.377321094279997], [52.50973216025372, 13.37733371515121], [52.50977811163937, 13.37735092290588], [52.50982215510164, 13.377372551823925], [52.50986386647789, 13.377398393607038], [52.5099028440648, 13.377428199384722], [52.509938712486864, 13.377461682111043], [52.5099711263116, 13.377498519329048], [52.50999977337614, 13.377538356276185], [52.51002437779359, 13.377580809300879], [52.51004470260997, 13.377625469557293], [52.51006055208619, 13.377671906942744], [52.510071773583114, 13.377719674239827], [52.51009877358312, 13.377866674239828]],\n", " {"bubblingMouseEvents": true, "color": "#FF0000", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#FF0000", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_c29fa1b0f5191979c5281af51cd32075 = L.popup({"maxWidth": "100%"});\n", + " var popup_3d25736988cff860f55c0c55f1b719b0 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_ba15d187925ea4c96312efbe8e93e43e = $(`<div id="html_ba15d187925ea4c96312efbe8e93e43e" style="width: 100.0%; height: 100.0%;">Leiziger Straße</div>`)[0];\n", - " popup_c29fa1b0f5191979c5281af51cd32075.setContent(html_ba15d187925ea4c96312efbe8e93e43e);\n", + " var html_a947598df4dbca895ff78a9a456a5a5b = $(`<div id="html_a947598df4dbca895ff78a9a456a5a5b" style="width: 100.0%; height: 100.0%;">Leiziger Straße</div>`)[0];\n", + " popup_3d25736988cff860f55c0c55f1b719b0.setContent(html_a947598df4dbca895ff78a9a456a5a5b);\n", " \n", " \n", "\n", - " polygon_4baf1cacaf7a95dcb57640d52a2dd09f.bindPopup(popup_c29fa1b0f5191979c5281af51cd32075)\n", + " polygon_21ce7760a20441e99f78068894189b65.bindPopup(popup_3d25736988cff860f55c0c55f1b719b0)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_77eac245065b8fbfa01af315f30a367a = L.polygon(\n", + " var polygon_3ade48c83282b6638bea3d32bc92af1a = L.polygon(\n", " [[52.51206779588215, 13.416439868689057], [52.512663109857904, 13.416735041061006], [52.51266974680022, 13.416738393543241], [52.51320147174872, 13.417011962176167], [52.513714049685355, 13.417219093297673], [52.51372234171618, 13.417222060233744], [52.513766698368414, 13.417243039367825], [52.51380878511651, 13.417268265193849], [52.51384819664208, 13.417297494773319], [52.5138845533906, 13.417330446609407], [52.51391750522668, 13.417366803357918], [52.513946734806154, 13.41740621488349], [52.513971960632176, 13.417448301631586], [52.513992939766254, 13.417492658283816], [52.51400947016786, 13.417538857661372], [52.5140213926402, 13.417586454838991], [52.51402859236334, 13.417634991429834], [52.514031, 13.417684], [52.51402859236334, 13.417733008570165], [52.5140213926402, 13.417781545161008], [52.51400947016786, 13.417829142338627], [52.513992939766254, 13.417875341716183], [52.513971960632176, 13.417919698368413], [52.513946734806154, 13.417961785116509], [52.51391750522668, 13.41800119664208], [52.5138845533906, 13.418037553390592], [52.51384819664208, 13.41807050522668], [52.51380878511651, 13.41809973480615], [52.513766698368414, 13.418124960632174], [52.51372234171618, 13.418145939766255], [52.513676142338625, 13.418162470167866], [52.513628545161005, 13.418174392640202], [52.513580008570166, 13.418181592363336], [52.513531, 13.418184], [52.51353, 13.418184], [52.513482069571374, 13.418181697371915], [52.51343458060654, 13.418174810696044], [52.51338797050322, 13.418163403402202], [52.51334266856433, 13.41814758055741], [52.512805668564326, 13.41793058055741], [52.512764253199784, 13.417911606456759], [52.51221555920673, 13.417629307373375], [52.5116198901421, 13.417333958938993], [52.51161254866785, 13.41733024327364], [52.510915548667846, 13.416970243273639], [52.51087311008344, 13.416945613957429], [52.51083328994755, 13.416916943529426], [52.51079647174986, 13.416884508101523], [52.51076301006975, 13.416848620044622], [52.51073322716149, 13.41680962498033], [52.51070740985076, 13.416767898452429], [52.51068580677238, 13.4167238423102], [52.510668625975796, 13.41667788083837], [52.51065603292148, 13.41663045667104], [52.51064814888743, 13.416582026528866], [52.5106450498012, 13.416533056820592], [52.51064676550868, 13.416484019151278], [52.510653279486675, 13.416435385780487], [52.51066452900202, 13.416387625074163], [52.510680405715725, 13.41634119699402], [52.51070075672636, 13.416296548667848], [52.510725386042566, 13.416254110083434], [52.510754056470574, 13.416214289947549], [52.51078649189847, 13.416177471749865], [52.51082237995538, 13.416144010069756], [52.51086137501967, 13.416114227161492], [52.51090310154757, 13.41608840985076], [52.5109471576898, 13.416066806772376], [52.51099311916163, 13.416049625975795], [52.51104054332896, 13.41603703292148], [52.51108897347113, 13.416029148887429], [52.511137943179406, 13.416026049801197], [52.51118698084872, 13.41602776550868], [52.511235614219515, 13.416034279486677], [52.51128337492583, 13.41604552900202], [52.51132980300598, 13.416061405715725], [52.51137445133215, 13.41608175672636], [52.51206779588215, 13.416439868689057]],\n", " {"bubblingMouseEvents": true, "color": "#FF0000", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#FF0000", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_93063bd44be0e1a086d8d874a73d3ea3 = L.popup({"maxWidth": "100%"});\n", + " var popup_56ce4b81d5e7396039058c9efe67aaf9 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_8606b98b7f0dc1289720b288167d34e4 = $(`<div id="html_8606b98b7f0dc1289720b288167d34e4" style="width: 100.0%; height: 100.0%;">Brückenstraße</div>`)[0];\n", - " popup_93063bd44be0e1a086d8d874a73d3ea3.setContent(html_8606b98b7f0dc1289720b288167d34e4);\n", + " var html_0af67de2194697b8fea16b4b2b1ab1b8 = $(`<div id="html_0af67de2194697b8fea16b4b2b1ab1b8" style="width: 100.0%; height: 100.0%;">Brückenstraße</div>`)[0];\n", + " popup_56ce4b81d5e7396039058c9efe67aaf9.setContent(html_0af67de2194697b8fea16b4b2b1ab1b8);\n", " \n", " \n", "\n", - " polygon_77eac245065b8fbfa01af315f30a367a.bindPopup(popup_93063bd44be0e1a086d8d874a73d3ea3)\n", + " polygon_3ade48c83282b6638bea3d32bc92af1a.bindPopup(popup_56ce4b81d5e7396039058c9efe67aaf9)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_8de391c97385accdb86bda239fea5d88 = L.polygon(\n", - " [[52.52466526469511, 13.32822931964255], [52.52461308332355, 13.328431153249506], [52.5246127746522, 13.328432341148837], [52.5244547746522, 13.329037341148837], [52.52445459495327, 13.329038027245792], [52.524340594953266, 13.329472027245792], [52.52432545834193, 13.329519776376781], [52.52430562010181, 13.32956577138458], [52.52428127933717, 13.329609550645534], [52.524258834364005, 13.329645547300604], [52.52423235845816, 13.329723462109232], [52.52423059975942, 13.329811836721149], [52.52425103865475, 13.329980850663333], [52.5242625518965, 13.330049930113844], [52.52439092796033, 13.330752048432178], [52.524612907405206, 13.3318400463391], [52.52461446817125, 13.331848026978673], [52.524841468171246, 13.333061026978672], [52.52484221378775, 13.333065104680731], [52.52484721378775, 13.333093104680731], [52.52484769489653, 13.33309584285739], [52.524888954313965, 13.333334558058256], [52.52502513932205, 13.33404828678674], [52.525031766793816, 13.334094795985578], [52.52503399992267, 13.334141721906922], [52.525031818994286, 13.334188650283307], [52.52502524326216, 13.334235166825586], [52.525020861227496, 13.33425827209925], [52.52513834261789, 13.334881358584616], [52.52513875867528, 13.334883593112622], [52.52526770778844, 13.335584998137215], [52.5254165450825, 13.336169646592976], [52.525416756278204, 13.33617047918243], [52.525784756278206, 13.33762647918243], [52.52578593241348, 13.337631230353942], [52.525896490070025, 13.338087405189084], [52.52608718481464, 13.33884919096575], [52.526173288231305, 13.339173810743523], [52.526182079040154, 13.3392133534082], [52.52623107904016, 13.3394853534082], [52.52623759965495, 13.339536605025886], [52.526255599654945, 13.339776605025886], [52.52625678625072, 13.339828618604248], [52.52625256152013, 13.339880473902866], [52.52624297120553, 13.339931609469835], [52.52619645428313, 13.34012382090389], [52.526120036733225, 13.340720833012535], [52.52607475921799, 13.341082068840597], [52.52602129472996, 13.341593941809325], [52.52601909143577, 13.341611888985005], [52.5258887393042, 13.342535299504883], [52.525855339348375, 13.34280839326129], [52.525832376341924, 13.34299808766244], [52.52583216953388, 13.342999772110643], [52.52580196648506, 13.343242370793051], [52.525687598025605, 13.344404951046146], [52.525686263713325, 13.34441701087477], [52.52558926371332, 13.34520601087477], [52.52558918973006, 13.34520660967276], [52.52549625692462, 13.345955068503729], [52.52545632293877, 13.346282527187652], [52.52522039305167, 13.348213953294223], [52.52518047339659, 13.348548280405561], [52.52518012398722, 13.34855113685946], [52.52511646309854, 13.349059429267507], [52.52508777263721, 13.34931071813574], [52.52508589948375, 13.349325235531758], [52.52506689948375, 13.349457235531759], [52.52505935207469, 13.349497749520317], [52.52502335207469, 13.349654749520317], [52.525013030001446, 13.349692807802596], [52.524999740843484, 13.3497299342935], [52.524919595372985, 13.349928756710687], [52.52481527776504, 13.350778896468876], [52.524814956021935, 13.350781463566777], [52.52478834395231, 13.350989431962756], [52.52476269479284, 13.35121139584274], [52.524762265840835, 13.351214993567014], [52.52474029990876, 13.35139371637808], [52.524641373943524, 13.352206108395544], [52.524618466079566, 13.352396343265806], [52.52459751761806, 13.352572908869929], [52.52453148912586, 13.353127148524024], [52.524531102909876, 13.353130304918036], [52.52445115748655, 13.353766870351254], [52.524425474836484, 13.353974307140295], [52.5244097200999, 13.354111176414385], [52.52440928295077, 13.354114854192744], [52.52424832291077, 13.355427528307759], [52.52419936244217, 13.355831202375416], [52.52415643225632, 13.356183629805237], [52.524120530561596, 13.356486799671769], [52.524120248795064, 13.35648913209794], [52.524103248795065, 13.356627132097941], [52.52410270558175, 13.356631390949083], [52.52407170558175, 13.356866390949083], [52.52403964980092, 13.357107812421694], [52.524039427903915, 13.357109462523095], [52.524009056730264, 13.357332500829536], [52.523916106385, 13.358397474466285], [52.52391563731696, 13.35840254998215], [52.52390763731696, 13.35848454998215], [52.52390602466205, 13.35849892483324], [52.52377808340417, 13.35950746178017], [52.52337454427049, 13.362736766346178], [52.523371188714854, 13.362965783018783], [52.523375337063165, 13.363046260976155], [52.52337565210559, 13.36309064868293], [52.52337202915441, 13.363134889410649], [52.52330122928006, 13.363693310954813], [52.523108419355964, 13.36529573125667], [52.52310833225767, 13.365296450723696], [52.523051332257666, 13.365764450723695], [52.52305091181737, 13.365767808066792], [52.52299395892004, 13.366210441988164], [52.52286237170757, 13.367245195977144], [52.52278470446794, 13.36791831205399], [52.52277669513652, 13.36796672163232], [52.5227639794038, 13.368014113053539], [52.52274667972922, 13.368060029912352], [52.5227249627181, 13.368104030004307], [52.52269903751714, 13.368145689584468], [52.522669153800194, 13.368184607448303], [52.522635599363795, 13.368220408795509], [52.522598697355505, 13.368252748839542], [52.522558803161836, 13.368281316128098], [52.522516300985686, 13.368305835542573], [52.52247160014624, 13.3683260709476], [52.52242513113702, 13.36834182746517], [52.52237734147998, 13.368352953351401], [52.52232869141566, 13.36835934145793], [52.522279649470754, 13.368360930263798], [52.52223068794601, 13.368357704467936], [52.52218227836768, 13.368349695136521], [52.52213488694647, 13.368336979403793], [52.52208897008765, 13.368319679729211], [52.5220449699957, 13.368297962718096], [52.522003310415535, 13.368272037517139], [52.5219643925517, 13.368242153800194], [52.52192859120449, 13.368208599363793], [52.52189625116046, 13.368171697355503], [52.5218676838719, 13.368131803161836], [52.52184316445743, 13.368089300985682], [52.521822929052405, 13.368044600146236], [52.521807172534835, 13.367998131137014], [52.5217960466486, 13.367950341479979], [52.521789658542076, 13.367901691415653], [52.5217880697362, 13.367852649470752], [52.52179129553207, 13.36780368794601], [52.52186929553206, 13.36712768794601], [52.52186999451797, 13.367121924158354], [52.52200199451797, 13.366083924158355], [52.522002088182624, 13.366083191933207], [52.52205887228258, 13.365641869893206], [52.52211562393257, 13.365175908977504], [52.52230858064404, 13.363572268743331], [52.522308970845586, 13.363569110589353], [52.5223743711076, 13.363053277536816], [52.522371662936834, 13.363000739023846], [52.52237105366174, 13.362967674778933], [52.52237505366174, 13.362694674778933], [52.52237885871845, 13.36264000138115], [52.52278585871845, 13.359383001381149], [52.52278597533795, 13.359382075166758], [52.52291306503331, 13.35838025092755], [52.52292011521353, 13.358307986580302], [52.523013893614994, 13.357233525533715], [52.52301657209608, 13.357209537476905], [52.523048459773904, 13.35697536234293], [52.523080322219165, 13.356735398302021], [52.52311101366905, 13.356502737310944], [52.52312760758183, 13.356368033783713], [52.5231634694384, 13.35606520032823], [52.523163668824104, 13.356063540395006], [52.523206653157345, 13.35571066900813], [52.52325563755783, 13.355306797624584], [52.52325571704923, 13.355306145807255], [52.52341649166394, 13.353994983887288], [52.523432279900106, 13.353857823585615], [52.52343278869763, 13.35385356431495], [52.52345878869763, 13.353643564314948], [52.52345889709012, 13.353642695081964], [52.52353869896362, 13.353007272664229], [52.523604496598075, 13.352454971308381], [52.52362548238194, 13.35227809113007], [52.523625586219524, 13.352277222424345], [52.52364858621952, 13.352086222424344], [52.52364866633345, 13.35208556084503], [52.523747666333456, 13.35127256084503], [52.523747734159166, 13.351272006432986], [52.52376951316542, 13.351094804518393], [52.52379530520716, 13.35087160415726], [52.52379604397807, 13.350865536433224], [52.523822879785804, 13.350655819565306], [52.52392972223495, 13.349785103531124], [52.523930386049656, 13.349779918139964], [52.523936386049655, 13.349734918139964], [52.52394362871269, 13.34969379232426], [52.523954277841426, 13.34965341429877], [52.52396825915651, 13.3496140657065], [52.52405748182805, 13.349392724848252], [52.52408003869995, 13.349294351823595], [52.524095057677194, 13.349190009455404], [52.52412322736279, 13.34894328186426], [52.52412387601278, 13.348937863140542], [52.52418769719789, 13.348428290865693], [52.52422752660341, 13.348094719594439], [52.52422768911747, 13.348093374032981], [52.524463683084235, 13.346161423423693], [52.524503677061226, 13.345833472812346], [52.524503810269934, 13.34583239032724], [52.52459677309741, 13.345083689705985], [52.524692995961665, 13.34430101094413], [52.5248074019744, 13.343138048953854], [52.52480883046613, 13.343125227889358], [52.52483972563285, 13.342877069937295], [52.52486262365808, 13.34268791233756], [52.52486269802007, 13.342687301196701], [52.52489669802007, 13.342409301196701], [52.52489790856423, 13.342400111014996], [52.525027644630946, 13.341481064679725], [52.52508070527004, 13.340973058190675], [52.525081881886784, 13.340962816258292], [52.52512788188678, 13.340595816258292], [52.52512804634584, 13.340594517932269], [52.52520804634584, 13.33996951793227], [52.52521802879447, 13.339915390530166], [52.525252513123114, 13.339772898681614], [52.52524233493084, 13.339637189451174], [52.52520151480859, 13.339410596119551], [52.52511971176869, 13.339102189256478], [52.52511796597146, 13.339095416601667], [52.52492596597146, 13.338328416601668], [52.52492506758652, 13.338324769646059], [52.52481464402647, 13.337869148109979], [52.524447348962426, 13.336415937204425], [52.5242944549175, 13.335815353407023], [52.52428724132472, 13.335782406887379], [52.524155446814, 13.335065524624527], [52.52402065738211, 13.334350641415385], [52.524014156629796, 13.334304389424888], [52.52401200007149, 13.334257732639083], [52.52401420652536, 13.334211078186273], [52.52402075673785, 13.334164833174414], [52.52402503347986, 13.334142283080164], [52.52390586067796, 13.333517713213261], [52.52390430510347, 13.333509157142611], [52.523862541851564, 13.333267526899439], [52.52385815056875, 13.333242935715688], [52.523632279762104, 13.33203596968719], [52.523410092594794, 13.3309469536609], [52.52340815383216, 13.330936929679071], [52.52327815383216, 13.33022592967907], [52.52327680303808, 13.330218199493654], [52.52326280303808, 13.330134199493655], [52.52325961641313, 13.330112027782596], [52.52323361641313, 13.329897027782595], [52.523230098978054, 13.329827051720963], [52.52323409897805, 13.329626051720965], [52.523237744026545, 13.32957492620193], [52.52324660394138, 13.329524442472035], [52.52326058561886, 13.329475131035533], [52.52333058561886, 13.329269131035533], [52.52335216930636, 13.329215876147336], [52.52337972066283, 13.329165449354466], [52.523392646938355, 13.32914471853523], [52.523487314954245, 13.328784315737893], [52.52364507028277, 13.328180252612873], [52.523697916676454, 13.327975846750494], [52.523699595284306, 13.32796952494429], [52.523832595284304, 13.32748152494429], [52.523847805003854, 13.327434874101904], [52.5238675140666, 13.327389938709292], [52.52389153266352, 13.327347151518845], [52.52391962948237, 13.327306924594602], [52.523951533935445, 13.32726964534383], [52.523986938765404, 13.327235672786092], [52.524025503004395, 13.327205334095693], [52.52406685525771, 13.327178921450805], [52.52411059728053, 13.327156689219636], [52.52415630781329, 13.32713885151073], [52.52420354663855, 13.32712558011097], [52.52425185882062, 13.32711700283119], [52.52430077908675, 13.327113202275289], [52.524349836308055, 13.327114215044691], [52.524398558036665, 13.327120031385878], [52.52444647505571, 13.327130595284304], [52.5244931258981, 13.32714580500385], [52.52453806129071, 13.327165514066603], [52.52458084848116, 13.327189532663516], [52.5246210754054, 13.327217629482371], [52.524658354656175, 13.327249533935442], [52.52469232721391, 13.327284938765404], [52.52472266590431, 13.327323503004392], [52.5247490785492, 13.327364855257704], [52.524771310780366, 13.327408597280533], [52.52478914848927, 13.327454307813289], [52.524802419889035, 13.327501546638553], [52.52481099716881, 13.327549858820614], [52.524814797724716, 13.327598779086749], [52.524813784955306, 13.327647836308053], [52.52480796861412, 13.327696558036667], [52.5247974047157, 13.32774447505571], [52.52466526469511, 13.32822931964255]],\n", + " var polygon_da43ed61052d604eeb5c10f6cde336f9 = L.polygon(\n", + " [[52.524762497386526, 13.327853286619487], [52.52466631542128, 13.32822525564836], [52.524652548586964, 13.32827933964032], [52.52465216817079, 13.328280824606537], [52.52461916817079, 13.328408824606537], [52.52461738191062, 13.32841555870288], [52.52461209236959, 13.328434953686672], [52.52445543623438, 13.329034807875283], [52.52445307125008, 13.3290442678125], [52.52445068169651, 13.329053454512607], [52.524441198886194, 13.329088540910766], [52.52439170088671, 13.329277623268776], [52.524391569540974, 13.32927812395149], [52.524340569540975, 13.32947212395149], [52.52432416803701, 13.329523196591428], [52.524302389571176, 13.329572218242854], [52.52427548480699, 13.329618624681487], [52.52425929865481, 13.329643379973058], [52.524232366579135, 13.329723054030264], [52.52423058494769, 13.329812581010426], [52.52424999684779, 13.329977193923304], [52.52426230068821, 13.330048556197724], [52.52439182475114, 13.330756953188075], [52.52457788318492, 13.331771817372308], [52.52483986086523, 13.333052818501123], [52.52484221378775, 13.333065104680731], [52.52484721378775, 13.333093104680731], [52.52484769489653, 13.33309584285739], [52.52488893552848, 13.333334449370815], [52.52501509793167, 13.333994070124515], [52.52501564100249, 13.333996955369882], [52.52502564100249, 13.334050955369882], [52.52503195492646, 13.334096823775976], [52.52503399883452, 13.334143079572947], [52.525031755199954, 13.334189326112464], [52.52502524326216, 13.334235166825586], [52.525020861227496, 13.33425827209925], [52.52513834261789, 13.334881358584616], [52.52513875867528, 13.334883593112622], [52.52526770778844, 13.335584998137215], [52.5254165450825, 13.336169646592976], [52.525416756278204, 13.33617047918243], [52.525784756278206, 13.33762647918243], [52.52578593241348, 13.337631230353942], [52.525896490070025, 13.338087405189084], [52.52608718481464, 13.33884919096575], [52.526173288231305, 13.339173810743523], [52.526182079040154, 13.3392133534082], [52.52623107904016, 13.3394853534082], [52.52623759965495, 13.339536605025886], [52.526255599654945, 13.339776605025886], [52.52625678625072, 13.339828618604248], [52.52625256152013, 13.339880473902866], [52.52624297120553, 13.339931609469835], [52.52619645428313, 13.34012382090389], [52.526120036733225, 13.340720833012535], [52.52607475921799, 13.341082068840597], [52.52602129472996, 13.341593941809325], [52.52601909143577, 13.341611888985005], [52.5258887393042, 13.342535299504883], [52.525855339348375, 13.34280839326129], [52.525832376341924, 13.34299808766244], [52.52583216953388, 13.342999772110643], [52.52580196648506, 13.343242370793051], [52.525687598025605, 13.344404951046146], [52.525686263713325, 13.34441701087477], [52.52558926371332, 13.34520601087477], [52.52558918973006, 13.34520660967276], [52.52549625692462, 13.345955068503729], [52.52545632293877, 13.346282527187652], [52.52545619027665, 13.346283605270516], [52.52536428889665, 13.347023810950752], [52.52522042945801, 13.34821364839113], [52.52518047339659, 13.348548280405561], [52.5251803739065, 13.34854910777774], [52.5251183739065, 13.34906110777774], [52.5251182883632, 13.349061810036597], [52.52508738205817, 13.34931404536476], [52.52507147339658, 13.34944728040557], [52.525070473255006, 13.349455128634537], [52.52504947325501, 13.349610128634538], [52.52504111801253, 13.349655765428507], [52.525028568631285, 13.349700431299938], [52.525011933162794, 13.349743741670851], [52.52499135484024, 13.349785323634265], [52.5249670108452, 13.349824819164978], [52.52494988753432, 13.349849913672305], [52.52491651798534, 13.349953835981987], [52.524816440463795, 13.350769421017368], [52.52479924061663, 13.350973908089243], [52.524799058955054, 13.35097601451231], [52.52478005895505, 13.35119101451231], [52.52477971371642, 13.351194760407134], [52.52476071371642, 13.351392760407135], [52.52475905336047, 13.35140769819426], [52.52465705336047, 13.35221469819426], [52.5246569748898, 13.35221531594337], [52.524632974889805, 13.35240331594337], [52.524632632508734, 13.352405942522621], [52.52460177945926, 13.352637838023487], [52.524537994583255, 13.353134164089916], [52.52445806637675, 13.353767595126408], [52.52445791788765, 13.35376876087126], [52.524430946488806, 13.353978538417847], [52.52441306457983, 13.354118613371444], [52.52419924278824, 13.355832185205927], [52.52415643225632, 13.356183629805237], [52.524120530561596, 13.356486799671769], [52.524120248795064, 13.35648913209794], [52.524103248795065, 13.356627132097941], [52.52410270558175, 13.356631390949083], [52.52407170558175, 13.356866390949083], [52.52403964980092, 13.357107812421694], [52.524039427903915, 13.357109462523095], [52.524009056730264, 13.357332500829536], [52.523916106385, 13.358397474466285], [52.52391563731696, 13.35840254998215], [52.52390763731696, 13.35848454998215], [52.52390614656, 13.358497956363635], [52.523781146560005, 13.359498956363636], [52.52337454051147, 13.36273792149229], [52.523371189408714, 13.362965796479697], [52.523375337063165, 13.363046260976155], [52.52337565210559, 13.36309064868293], [52.52337202915441, 13.363134889410649], [52.52330122928006, 13.363693310954813], [52.523108419355964, 13.36529573125667], [52.52310833225767, 13.365296450723696], [52.523051332257666, 13.365764450723695], [52.52305091181737, 13.365767808066792], [52.52299395892004, 13.366210441988164], [52.522862023649495, 13.367247932979264], [52.52278708774902, 13.36783992659303], [52.52278770299968, 13.367857768862063], [52.52278698574002, 13.367906831293743], [52.522781462974905, 13.367955587172665], [52.52277118789159, 13.36800356695306], [52.52275625944475, 13.368050308563417], [52.52273682140347, 13.368095361856472], [52.52271306096673, 13.36813829294439], [52.52268520696052, 13.368178688377322], [52.522653527634134, 13.368216159125167], [52.522618328076824, 13.36825034432414], [52.52257994727955, 13.368280914752088], [52.52253875487039, 13.368307575999077], [52.52249514755474, 13.368330071302726], [52.52244954529491, 13.368348184020961], [52.52240238726558, 13.368361739718406], [52.52235412762435, 13.368370607846284], [52.52230523113794, 13.368374702999676], [52.52225616870626, 13.368373985740016], [52.522207412827335, 13.368368462974905], [52.522159433046944, 13.368358187891591], [52.52211269143659, 13.368343259444744], [52.52206763814353, 13.368323821403468], [52.522024707055614, 13.368300060966726], [52.52198431162268, 13.368272206960512], [52.52194684087484, 13.368240527634134], [52.52191265567586, 13.36820532807682], [52.52188208524792, 13.368166947279551], [52.521855424000925, 13.368125754870386], [52.52183292869728, 13.368082147554741], [52.52181481597904, 13.368036545294908], [52.5218012602816, 13.367989387265572], [52.52179239215372, 13.367941127624341], [52.52178829700033, 13.367892231137937], [52.521786297000325, 13.367834231137937], [52.52178652252885, 13.36779414708304], [52.52178995826366, 13.367754209906796], [52.52186995826366, 13.367122209906794], [52.52200199451797, 13.366083924158355], [52.522002088182624, 13.366083191933207], [52.52205887228258, 13.365641869893206], [52.52211562393257, 13.365175908977504], [52.52230858064404, 13.363572268743331], [52.522308970845586, 13.363569110589353], [52.5223743711076, 13.363053277536816], [52.522371662936834, 13.363000739023846], [52.522371054056975, 13.362967647853784], [52.52237505405697, 13.362695647853783], [52.52237889384765, 13.362640720905553], [52.522788873592106, 13.359374882258312], [52.52291301763387, 13.35838073677181], [52.52292011521353, 13.358307986580302], [52.523013893614994, 13.357233525533715], [52.52301657209608, 13.357209537476905], [52.523048459773904, 13.35697536234293], [52.523080322219165, 13.356735398302021], [52.52311101366905, 13.356502737310944], [52.52312760758183, 13.356368033783713], [52.5231634694384, 13.35606520032823], [52.523163668824104, 13.356063540395006], [52.5232066688241, 13.355710540395007], [52.52320684772076, 13.355709089453203], [52.52342084772076, 13.353994089453202], [52.523421025110196, 13.353992684056605], [52.5234390251102, 13.353851684056606], [52.52346600718298, 13.353641821912646], [52.52354593362325, 13.353008404873592], [52.523546078514485, 13.353007267118326], [52.52361007851449, 13.352509267118325], [52.52361036749127, 13.352507057477379], [52.52364119282212, 13.35227537031325], [52.52366498568252, 13.352088992906742], [52.523766004193035, 13.351289758220636], [52.52378410661862, 13.351101111890845], [52.5238028479874, 13.35088903850738], [52.52382075938337, 13.350676091910758], [52.523822722234954, 13.350657103531125], [52.52392972223495, 13.349785103531124], [52.52393766148246, 13.34973864315446], [52.523949940297946, 13.349693136792917], [52.52401994029795, 13.349475136792917], [52.524036790078966, 13.349430196439803], [52.52405787111289, 13.349387078688618], [52.524074147198874, 13.349360577539201], [52.524078995626866, 13.34932479152306], [52.52409452660342, 13.34919471959443], [52.5240947116368, 13.349193189963403], [52.52412566861684, 13.348940541061793], [52.52418757600348, 13.34842930586892], [52.52422752660341, 13.348094719594439], [52.52422761502699, 13.348093983680844], [52.524371615026986, 13.346902983680845], [52.52437180972335, 13.346901394729484], [52.52446374280677, 13.346160933698888], [52.524503677061226, 13.345833472812346], [52.524503810269934, 13.34583239032724], [52.52459677309741, 13.345083689705985], [52.524692995961665, 13.34430101094413], [52.5248074019744, 13.343138048953854], [52.52480883046613, 13.343125227889358], [52.52483972563285, 13.342877069937295], [52.52486262365808, 13.34268791233756], [52.52486269802007, 13.342687301196701], [52.52489669802007, 13.342409301196701], [52.52489790856423, 13.342400111014996], [52.525027644630946, 13.341481064679725], [52.52508070527004, 13.340973058190675], [52.525081881886784, 13.340962816258292], [52.52512788188678, 13.340595816258292], [52.52512804634584, 13.340594517932269], [52.52520804634584, 13.33996951793227], [52.52521802879447, 13.339915390530166], [52.525252513123114, 13.339772898681614], [52.52524233493084, 13.339637189451174], [52.52520151480859, 13.339410596119551], [52.52511971176869, 13.339102189256478], [52.52511796597146, 13.339095416601667], [52.52492596597146, 13.338328416601668], [52.52492506758652, 13.338324769646059], [52.52481464402647, 13.337869148109979], [52.524447348962426, 13.336415937204425], [52.5242944549175, 13.335815353407023], [52.52428724132472, 13.335782406887379], [52.524155446814, 13.335065524624527], [52.52402065738211, 13.334350641415385], [52.524014156629796, 13.334304389424888], [52.52401200007149, 13.334257732639083], [52.52401420652536, 13.334211078186273], [52.52402075673785, 13.334164833174414], [52.52402517564735, 13.33414153346975], [52.52390590206833, 13.333517929875486], [52.52390430510347, 13.333509157142611], [52.523862541851564, 13.333267526899439], [52.52385888582078, 13.333247053127065], [52.52359713913477, 13.331967181498877], [52.52359519672132, 13.33195716393443], [52.52340819672131, 13.33093716393443], [52.52327815383216, 13.33022592967907], [52.52327726994213, 13.330220953458241], [52.52326226994213, 13.330133953458242], [52.523258440704566, 13.33010755652069], [52.523233440704566, 13.32989555652069], [52.523230098978054, 13.329827051720963], [52.52323409897805, 13.329626051720965], [52.523237711635836, 13.329575189971212], [52.52324648563085, 13.329524960638189], [52.52326032971462, 13.32947588610071], [52.52333232971462, 13.32926288610071], [52.52334750698951, 13.329223540331562], [52.52336594587222, 13.329185613470006], [52.52338751519301, 13.329149375318513], [52.52339407638988, 13.32913934054683], [52.52342436465666, 13.329024126355518], [52.52347429911329, 13.328833376731223], [52.5234753183035, 13.328829545487393], [52.523484079922895, 13.328797127495617], [52.52348592874993, 13.328789732187499], [52.52348722534781, 13.328784658851163], [52.523645225347806, 13.328179658851163], [52.52364661808938, 13.32817444129712], [52.52365170150057, 13.328155802122769], [52.52368364048291, 13.328031917585205], [52.52369745141304, 13.32797766035968], [52.52369792120644, 13.327975829230168], [52.523795921206435, 13.327596829230167], [52.52379923802618, 13.327584639436033], [52.52383123802618, 13.327472639436033], [52.52384701671617, 13.32742617795084], [52.52386727344936, 13.327381486772468], [52.52389181314235, 13.327338996301396], [52.52392039946447, 13.327299115744086], [52.523952757113825, 13.327262229172108], [52.523988574468554, 13.327228691823313], [52.524027506587956, 13.327198826680704], [52.52406917853443, 13.32717292136193], [52.52411318898436, 13.327151225349372], [52.52415911409305, 13.327133947587491], [52.5242065115766, 13.32712125447058], [52.52425492497134, 13.327113268240291], [52.5243038880298, 13.327110065808391], [52.52435292921096, 13.327111678016047], [52.52440157622146, 13.32711808933682], [52.52444936056397, 13.327129238026185], [52.52449582204916, 13.327145016716168], [52.524540513227535, 13.327165273449362], [52.52458300369861, 13.327189813142349], [52.52462288425591, 13.327218399464472], [52.524659770827895, 13.327250757113825], [52.52469330817669, 13.327286574468554], [52.524723173319295, 13.32732550658795], [52.524749078638074, 13.327367178534427], [52.52477077465063, 13.327411188984357], [52.52478805241251, 13.327457114093047], [52.524800745529426, 13.327504511576599], [52.52480873175971, 13.327552924971332], [52.52481193419161, 13.327601888029793], [52.524810321983956, 13.327650929210963], [52.52480391066318, 13.327699576221454], [52.52479276197382, 13.327747360563967], [52.524762497386526, 13.327853286619487]],\n", " {"bubblingMouseEvents": true, "color": "#FF0000", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#FF0000", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_1e01a547bcbbc12e78469fd9eef492b2 = L.popup({"maxWidth": "100%"});\n", + " var popup_63834be1656005044bfd470fef50195e = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_3b3f1f14b4880f999d8baa54f5bc2d40 = $(`<div id="html_3b3f1f14b4880f999d8baa54f5bc2d40" style="width: 100.0%; height: 100.0%;">Alt-Moabit</div>`)[0];\n", - " popup_1e01a547bcbbc12e78469fd9eef492b2.setContent(html_3b3f1f14b4880f999d8baa54f5bc2d40);\n", + " var html_5eb0daab38c0f2f9944018cad04a4104 = $(`<div id="html_5eb0daab38c0f2f9944018cad04a4104" style="width: 100.0%; height: 100.0%;">Alt-Moabit</div>`)[0];\n", + " popup_63834be1656005044bfd470fef50195e.setContent(html_5eb0daab38c0f2f9944018cad04a4104);\n", " \n", " \n", "\n", - " polygon_8de391c97385accdb86bda239fea5d88.bindPopup(popup_1e01a547bcbbc12e78469fd9eef492b2)\n", + " polygon_da43ed61052d604eeb5c10f6cde336f9.bindPopup(popup_63834be1656005044bfd470fef50195e)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_5ca7e43c9d549a278e1f353d436aa698 = L.polygon(\n", - " [[52.52393355768691, 13.34189746689143], [52.52404687358793, 13.341937315833604], [52.52405632738223, 13.341940747601138], [52.524271940835504, 13.342021479579078], [52.52443053630254, 13.342078260672212], [52.52443211844595, 13.342078830121821], [52.52478198558115, 13.34220542022487], [52.52496885075494, 13.342272015792126], [52.52496998568609, 13.342272421804696], [52.525370985686095, 13.342416421804694], [52.52537985263851, 13.342419700910577], [52.52551385263851, 13.342470700910578], [52.5255181996743, 13.34247237861015], [52.52560796593454, 13.34250750453807], [52.525737463993906, 13.342556750278955], [52.52598863433352, 13.342639844225896], [52.52639019960744, 13.342764467931595], [52.526400113883014, 13.342767658350976], [52.52648178739198, 13.342794882853966], [52.52657350153801, 13.342815726978063], [52.526633048109964, 13.342825129068373], [52.52687935641345, 13.342844868061334], [52.52807070246248, 13.342837010873872], [52.52813852440619, 13.342841180878741], [52.52824055218963, 13.342854458466997], [52.528764259201544, 13.342829563943544], [52.52876665196353, 13.34282945594655], [52.52888365196353, 13.34282445594655], [52.52889743942784, 13.34282405716552], [52.52942643942784, 13.34281605716552], [52.52942937056882, 13.342816021432093], [52.531215752106846, 13.342799480862297], [52.53123780335792, 13.34277949477332], [52.53127721488349, 13.34275026519385], [52.531319301631584, 13.342725039367826], [52.531363658283816, 13.342704060233745], [52.53140985766137, 13.342687529832133], [52.53145745483899, 13.342675607359798], [52.53150599142983, 13.342668407636664], [52.531555, 13.342666], [52.531655, 13.342666], [52.53170092106069, 13.342668113209468], [52.53174645395809, 13.342674434975258], [52.531875453958094, 13.342698434975258], [52.53189386066201, 13.342702218660726], [52.532004860662006, 13.342727218660727], [52.53205096161538, 13.342739946345633], [52.53209563564982, 13.342757020375975], [52.532138474035094, 13.342778284538591], [52.532179084835654, 13.342803544284095], [52.53221709649648, 13.342832568506847], [52.53225216124252, 13.342865091659371], [52.53228395826054, 13.3429008161819], [52.5323121966343, 13.342939415224793], [52.53233661800619, 13.342980535638945], [52.53235699894099, 13.3430238012068], [52.53237315297011, 13.343068816084429], [52.53238493229764, 13.343115168423184], [52.53239222915253, 13.343162434137753], [52.53239497677464, 13.343210180786198], [52.532393150025506, 13.343257971526437], [52.53238676561838, 13.343305369112985], [52.53237588196525, 13.343351939897385], [52.53233288196525, 13.343502939897384], [52.53231733430111, 13.343548931649002], [52.532297399519024, 13.343593198742196], [52.53227326556179, 13.343635323831935], [52.53224515996158, 13.343674909767746], [52.53221334769474, 13.343711583338003], [52.53217812868364, 13.34374499878853], [52.53213983496904, 13.343774841082327], [52.532098827579645, 13.3438008288697], [52.5320554931284, 13.343822717140796], [52.532010240167466, 13.343840299535525], [52.53196349533655, 13.343853410289107], [52.531915699340495, 13.343861925794872], [52.53186730279443, 13.343865765769618], [52.531818761975394, 13.343864894010506], [52.531770534520604, 13.343859318736383], [52.53166411429725, 13.343841744754545], [52.5315480762234, 13.343823827110791], [52.53125157543919, 13.343799192030795], [52.52944009505406, 13.343815964997324], [52.528919457054805, 13.343823838539848], [52.52881054454696, 13.343828492920524], [52.52824374079845, 13.343855436056456], [52.528199528160314, 13.343855580727991], [52.528155475593806, 13.343851819121259], [52.528043244561495, 13.343837213712945], [52.526864297537514, 13.343844989126127], [52.52682105836727, 13.34384340211273], [52.52653405836727, 13.343820402112732], [52.52649601871325, 13.343815881482664], [52.52640101871326, 13.343800881482663], [52.52636818944821, 13.343794566427896], [52.52623618944821, 13.343764566427897], [52.52618888611699, 13.343751341649025], [52.526088826639835, 13.343717988489972], [52.52568780039256, 13.343593532068406], [52.52567895726574, 13.343590697355815], [52.52541295726574, 13.343502697355815], [52.52539227608895, 13.343495348062412], [52.52525027608895, 13.343441348062411], [52.5252458003257, 13.34343962138985], [52.52515596993475, 13.343404470367304], [52.52502856533703, 13.343355980557723], [52.52463258153476, 13.34321378188559], [52.52444514924506, 13.343146984207875], [52.52444288155405, 13.34314616987818], [52.52409267214712, 13.343019455933222], [52.52393146369746, 13.342961739327789], [52.52392467261777, 13.342959252398863], [52.52371038225669, 13.342879015825307], [52.522954155635524, 13.342613079353669], [52.52222846763002, 13.342428516891552], [52.52214818973634, 13.342409403107341], [52.5221428887694, 13.342408110368703], [52.5214138887694, 13.342226110368705], [52.52139633175357, 13.342221386425114], [52.520911331753574, 13.342081386425114], [52.520880089561096, 13.342071245087961], [52.520487089561094, 13.341929245087961], [52.52044056780861, 13.341909729527025], [52.52039624944888, 13.34188562530409], [52.52035458566594, 13.34185717781274], [52.52031600061888, 13.34182467666329], [52.52028088712361, 13.34178845273442], [52.52024960265387, 13.341748874804642], [52.52022246570189, 13.341706345797954], [52.520199752536016, 13.341661298681858], [52.52018169438814, 13.34161419205952], [52.520168475099645, 13.341565505500963], [52.52016022924979, 13.341515734660778], [52.52015704078563, 13.341465386232114], [52.520158942167384, 13.341414972788272], [52.52017494216739, 13.341233972788272], [52.52018144076851, 13.341186514908683], [52.52019245086516, 13.341139896672733], [52.520207871407464, 13.341094545939258], [52.52022756086678, 13.341050878934057], [52.52025133853466, 13.341009296429784], [52.52027898618137, 13.340970180067693], [52.52031025005877, 13.340933888854964], [52.52034484322924, 13.34090075586976], [52.520382448199115, 13.340871085204247], [52.52042271983268, 13.340845149173681], [52.52046528851975, 13.340823185817094], [52.520509763567965, 13.340805396712607], [52.52055573678849, 13.340791945127352], [52.5206027862424, 13.340782954519016], [52.52065048011316, 13.340778507402762], [52.52069838066984, 13.340778644593904], [52.52074604828454, 13.340783364833312], [52.52079304546731, 13.340792624798967], [52.52083894088134, 13.340806339503564], [52.520883313301816, 13.340824383074521], [52.52099211801698, 13.340874828897006], [52.52123413294829, 13.340985489999426], [52.521580879341634, 13.341098695120133], [52.522239059688445, 13.341267608660464], [52.52244481026366, 13.341316596892659], [52.52245163415135, 13.341318272380692], [52.52320263415135, 13.341508272380691], [52.52321512819506, 13.341511605805085], [52.523614128195064, 13.341623605805085], [52.52366066239823, 13.34163916872897], [52.52370544709319, 13.341659217862643], [52.52374805097885, 13.34168356012199], [52.52378806375652, 13.341711961077744], [52.523825100081254, 13.341744147213175], [52.52385880327301, 13.341779808558208], [52.52388884875162, 13.341818601674591], [52.52391494716271, 13.34186015296341], [52.52393355768691, 13.34189746689143]],\n", + " var polygon_341cd1d55072452d742db1a21a3bb1af = L.polygon(\n", + " [[52.52393355768691, 13.34189746689143], [52.52404687358793, 13.341937315833604], [52.52405632738223, 13.341940747601138], [52.524271940835504, 13.342021479579078], [52.52443053630254, 13.342078260672212], [52.52443211844595, 13.342078830121821], [52.52478198558115, 13.34220542022487], [52.52496885075494, 13.342272015792126], [52.52496998568609, 13.342272421804696], [52.525370985686095, 13.342416421804694], [52.52537985263851, 13.342419700910577], [52.52551385263851, 13.342470700910578], [52.5255181996743, 13.34247237861015], [52.52560796593454, 13.34250750453807], [52.525737463993906, 13.342556750278955], [52.52598981133637, 13.3426402336103], [52.52638485192558, 13.342764983270047], [52.52647717913314, 13.34279383552241], [52.52657350153801, 13.342815726978063], [52.526633048109964, 13.342825129068373], [52.52687935641345, 13.342844868061334], [52.52807070246248, 13.342837010873872], [52.52813852440619, 13.342841180878741], [52.52824055218963, 13.342854458466997], [52.528764259201544, 13.342829563943544], [52.52876665196353, 13.34282945594655], [52.52888365196353, 13.34282445594655], [52.52889743942784, 13.34282405716552], [52.52942643942784, 13.34281605716552], [52.52942937056882, 13.342816021432093], [52.531215752106846, 13.342799480862297], [52.53123780335792, 13.34277949477332], [52.53127721488349, 13.34275026519385], [52.531319301631584, 13.342725039367826], [52.531363658283816, 13.342704060233745], [52.53140985766137, 13.342687529832133], [52.53145745483899, 13.342675607359798], [52.53150599142983, 13.342668407636664], [52.531555, 13.342666], [52.5316441355668, 13.342666], [52.531656281387875, 13.342665471920823], [52.53170210975365, 13.342665581618503], [52.53174773557328, 13.342669886932288], [52.53179277554404, 13.342678351693223], [52.53189632096035, 13.342702772781974], [52.532004860662006, 13.342727218660727], [52.53205096161538, 13.342739946345633], [52.53209563564982, 13.342757020375975], [52.532138474035094, 13.342778284538591], [52.532179084835654, 13.342803544284095], [52.53221709649648, 13.342832568506847], [52.53225216124252, 13.342865091659371], [52.53228395826054, 13.3429008161819], [52.5323121966343, 13.342939415224793], [52.53233661800619, 13.342980535638945], [52.53235699894099, 13.3430238012068], [52.53237315297011, 13.343068816084429], [52.53238493229764, 13.343115168423184], [52.53239222915253, 13.343162434137753], [52.53239497677464, 13.343210180786198], [52.532393150025506, 13.343257971526437], [52.53238676561838, 13.343305369112985], [52.53237588196525, 13.343351939897385], [52.53233288196525, 13.343502939897384], [52.53231733430111, 13.343548931649002], [52.532297399519024, 13.343593198742196], [52.53227326556179, 13.343635323831935], [52.53224515996158, 13.343674909767746], [52.53221334769474, 13.343711583338003], [52.53217812868364, 13.34374499878853], [52.53213983496904, 13.343774841082327], [52.532098827579645, 13.3438008288697], [52.5320554931284, 13.343822717140796], [52.532010240167466, 13.343840299535525], [52.53196349533655, 13.343853410289107], [52.531915699340495, 13.343861925794872], [52.53186730279443, 13.343865765769618], [52.531818761975394, 13.343864894010506], [52.531770534520604, 13.343859318736383], [52.53166411429725, 13.343841744754545], [52.53154535610108, 13.3438234070919], [52.53134522879984, 13.343804561023175], [52.531256976481124, 13.34379914202115], [52.52944009505406, 13.343815964997324], [52.528919457054805, 13.343823838539848], [52.52881054454696, 13.343828492920524], [52.52824374079845, 13.343855436056456], [52.528199528160314, 13.343855580727991], [52.528155475593806, 13.343851819121259], [52.528043244561495, 13.343837213712945], [52.526864297537514, 13.343844989126127], [52.52682105836727, 13.34384340211273], [52.52653405836727, 13.343820402112732], [52.52649601871325, 13.343815881482664], [52.52640101871326, 13.343800881482663], [52.52636818944821, 13.343794566427896], [52.52623618944821, 13.343764566427897], [52.52619786250343, 13.343754239989018], [52.52608586250343, 13.343719239989017], [52.52608443431603, 13.343718791332567], [52.52568543431603, 13.343592791332567], [52.52567895726574, 13.343590697355815], [52.52541295726574, 13.343502697355815], [52.52539227608895, 13.343495348062412], [52.52525027608895, 13.343441348062411], [52.5252458003257, 13.34343962138985], [52.52515596993475, 13.343404470367304], [52.52502856533703, 13.343355980557723], [52.52463258153476, 13.34321378188559], [52.52444514924506, 13.343146984207875], [52.52444288155405, 13.34314616987818], [52.52409267214712, 13.343019455933222], [52.52393146369746, 13.342961739327789], [52.52392467261777, 13.342959252398863], [52.52371038225669, 13.342879015825307], [52.522954155635524, 13.342613079353669], [52.52222846763002, 13.342428516891552], [52.52214818973634, 13.342409403107341], [52.5221428887694, 13.342408110368703], [52.5214138887694, 13.342226110368705], [52.52139633175357, 13.342221386425114], [52.520911331753574, 13.342081386425114], [52.520878463736814, 13.342070654458524], [52.520481463736814, 13.341925654458525], [52.520437606521334, 13.341907226826939], [52.52039569907602, 13.341884714630632], [52.52035612075259, 13.341858321652976], [52.520319229819236, 13.341828286806683], [52.52028536021756, 13.34179488197114], [52.520254818539655, 13.341758409531321], [52.520227881252815, 13.341719199640563], [52.52020479219692, 13.341677607231961], [52.520185760377146, 13.341634008805483], [52.52017095807202, 13.341588799019833], [52.52016051927398, 13.341542387119949], [52.52015453847638, 13.341495193232468], [52.52015306981821, 13.341447644562681], [52.520156126593946, 13.341400171527413], [52.520176126593945, 13.341222171527413], [52.520184143962446, 13.341173024886062], [52.52019701013864, 13.34112491945951], [52.520214597507, 13.34107833239019], [52.52023673162402, 13.341033725760441], [52.52026319294841, 13.340991542009247], [52.520293719018724, 13.340952199543832], [52.520328007056555, 13.340916088589607], [52.52036571696976, 13.34088356731965], [52.5204064747257, 13.340854958302106], [52.52044987606113, 13.340830545300726], [52.52049549049201, 13.340810570460315], [52.52054286558328, 13.340795231904965], [52.52059153143649, 13.340784681772933], [52.52064100535048, 13.340779024707626], [52.52069079660923, 13.340778316819675], [52.520740411349074, 13.3407825651304], [52.52078935745717, 13.340791727502154], [52.52083714945262, 13.340805713056284], [52.520883313301816, 13.340824383074521], [52.52099211801698, 13.340874828897006], [52.52123413294829, 13.340985489999426], [52.521580879341634, 13.341098695120133], [52.522239059688445, 13.341267608660464], [52.52244481026366, 13.341316596892659], [52.52245163415135, 13.341318272380692], [52.52320263415135, 13.341508272380691], [52.52321512819506, 13.341511605805085], [52.523614128195064, 13.341623605805085], [52.52366066239823, 13.34163916872897], [52.52370544709319, 13.341659217862643], [52.52374805097885, 13.34168356012199], [52.52378806375652, 13.341711961077744], [52.523825100081254, 13.341744147213175], [52.52385880327301, 13.341779808558208], [52.52388884875162, 13.341818601674591], [52.52391494716271, 13.34186015296341], [52.52393355768691, 13.34189746689143]],\n", " {"bubblingMouseEvents": true, "color": "#FF0000", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#FF0000", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_a81c5619e00806023d6d999053bc1e15 = L.popup({"maxWidth": "100%"});\n", + " var popup_bb2867ad9b63b776665a4254cba62a36 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_934d0341d00967d514e94eea2988347b = $(`<div id="html_934d0341d00967d514e94eea2988347b" style="width: 100.0%; height: 100.0%;">Stromstraße</div>`)[0];\n", - " popup_a81c5619e00806023d6d999053bc1e15.setContent(html_934d0341d00967d514e94eea2988347b);\n", + " var html_d9295e496126a285e833997dc88469b6 = $(`<div id="html_d9295e496126a285e833997dc88469b6" style="width: 100.0%; height: 100.0%;">Stromstraße</div>`)[0];\n", + " popup_bb2867ad9b63b776665a4254cba62a36.setContent(html_d9295e496126a285e833997dc88469b6);\n", " \n", " \n", "\n", - " polygon_5ca7e43c9d549a278e1f353d436aa698.bindPopup(popup_a81c5619e00806023d6d999053bc1e15)\n", + " polygon_341cd1d55072452d742db1a21a3bb1af.bindPopup(popup_bb2867ad9b63b776665a4254cba62a36)\n", " ;\n", "\n", " \n", @@ -532,7 +531,7 @@ "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, "execution_count": 3, @@ -556,10 +555,10 @@ " geometry=True\n", " )\n", " profile = 'driving-car'\n", - " avoid_request = api.get_geo_json_route(body, profile)\n", + " avoid_request = directionsApi.get_geo_json_route(body, profile)\n", "\n", "\n", - " coords = avoid_request.features[0]['geometry']['coordinates']\n", + " coords = avoid_request[\"features\"][0]['geometry']['coordinates']\n", " route_buffer = LineString(coords).buffer(0.0005) # Create geometry buffer\n", " folium.vector_layers.Polygon([(y, x) for x, y in list(route_buffer.exterior.coords)],\n", " color=('#FF0000'),\n", @@ -614,7 +613,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_bf0b839960a0f66fa98e8ce3a932c582 {\n", + " #map_cbc5f4424aa29293b1a49845564b5917 {\n", " position: relative;\n", " width: 100.0%;\n", " height: 100.0%;\n", @@ -628,14 +627,14 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_bf0b839960a0f66fa98e8ce3a932c582" ></div>\n", + " <div class="folium-map" id="map_cbc5f4424aa29293b1a49845564b5917" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_bf0b839960a0f66fa98e8ce3a932c582 = L.map(\n", - " "map_bf0b839960a0f66fa98e8ce3a932c582",\n", + " var map_cbc5f4424aa29293b1a49845564b5917 = L.map(\n", + " "map_cbc5f4424aa29293b1a49845564b5917",\n", " {\n", " center: [52.516586, 13.381047],\n", " crs: L.CRS.EPSG3857,\n", @@ -649,261 +648,261 @@ "\n", " \n", " \n", - " var tile_layer_b28f0604f4063deef8c58eb282b6eafa = L.tileLayer(\n", + " var tile_layer_3f3d16c4b6f93ec4b189aee606de0ad5 = L.tileLayer(\n", " "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",\n", " {"attribution": "\\u0026copy; \\u003ca href=\\"https://openstreetmap.org/copyright\\"\\u003eOpenStreetMap contributors\\u003c/a\\u003e", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " function geo_json_0f14086fa66076973156cc72fd7d4549_styler(feature) {\n", + " function geo_json_6e7ad9aadd49ea3a5afee0ca72661376_styler(feature) {\n", " switch(feature.properties.transfers) {\n", " default:\n", " return {"color": "blue", "opacity": 0.5, "weight": 4};\n", " }\n", " }\n", "\n", - " function geo_json_0f14086fa66076973156cc72fd7d4549_onEachFeature(feature, layer) {\n", + " function geo_json_6e7ad9aadd49ea3a5afee0ca72661376_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_0f14086fa66076973156cc72fd7d4549 = L.geoJson(null, {\n", - " onEachFeature: geo_json_0f14086fa66076973156cc72fd7d4549_onEachFeature,\n", + " var geo_json_6e7ad9aadd49ea3a5afee0ca72661376 = L.geoJson(null, {\n", + " onEachFeature: geo_json_6e7ad9aadd49ea3a5afee0ca72661376_onEachFeature,\n", " \n", - " style: geo_json_0f14086fa66076973156cc72fd7d4549_styler,\n", + " style: geo_json_6e7ad9aadd49ea3a5afee0ca72661376_styler,\n", " });\n", "\n", - " function geo_json_0f14086fa66076973156cc72fd7d4549_add (data) {\n", - " geo_json_0f14086fa66076973156cc72fd7d4549\n", + " function geo_json_6e7ad9aadd49ea3a5afee0ca72661376_add (data) {\n", + " geo_json_6e7ad9aadd49ea3a5afee0ca72661376\n", " .addData(data)\n", - " .addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " .addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " }\n", - " geo_json_0f14086fa66076973156cc72fd7d4549_add({"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "discriminator": null, "features": [{"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "geometry": {"coordinates": [[13.37208, 52.520294], [13.372085, 52.519573], [13.370864, 52.51957], [13.370864, 52.519401], [13.370847, 52.517876], [13.370813, 52.517779], [13.371258, 52.517778], [13.37422, 52.517767], [13.374418, 52.517765], [13.374567, 52.517764], [13.37654, 52.517759], [13.376766, 52.517759], [13.376834, 52.517758], [13.377196, 52.516996], [13.377211, 52.51679], [13.377136, 52.516688], [13.37707, 52.516649], [13.376924, 52.516579], [13.376764, 52.516445], [13.376728, 52.516389], [13.376706, 52.516265], [13.376726, 52.516156], [13.376795, 52.51603], [13.376902, 52.515951], [13.377229, 52.515828], [13.37741, 52.515713], [13.377464, 52.515588], [13.377456, 52.515391], [13.377353, 52.51459], [13.377467, 52.514585], [13.377707, 52.514587], [13.378929, 52.514669], [13.37916, 52.514694], [13.379572, 52.514766], [13.380237, 52.514898], [13.380276, 52.514906], [13.380442, 52.514937], [13.381488, 52.515141], [13.381712, 52.514713], [13.381841, 52.514468], [13.382106, 52.513965], [13.382322, 52.513553], [13.382814, 52.512617], [13.383005, 52.512253], [13.383161, 52.511964], [13.383226, 52.511844], [13.383428, 52.511468], [13.383622, 52.511106], [13.383719, 52.51093], [13.38403, 52.510373], [13.384218, 52.510007], [13.384642, 52.510033], [13.385294, 52.510074], [13.387387, 52.510206], [13.387709, 52.50988], [13.38828, 52.509312], [13.388683, 52.508927], [13.389064, 52.508716], [13.38933, 52.508565], [13.389439, 52.508546], [13.390194, 52.508594], [13.391055, 52.508642], [13.39111, 52.508646], [13.391489, 52.508667], [13.391505, 52.508668]], "type": "LineString"}, "properties": {"fare": 0, "segments": [{"distance": 2637.3, "duration": 428.1, "steps": [{"distance": 80.2, "duration": 7.2, "instruction": "Head south on Annemarie-Renger-Stra\\u00dfe", "name": "Annemarie-Renger-Stra\\u00dfe", "type": 11, "way_points": [0, 1]}, {"distance": 282.0, "duration": 34.9, "instruction": "Turn right onto Paul-L\\u00f6be-Allee", "name": "Paul-L\\u00f6be-Allee", "type": 1, "way_points": [1, 5]}, {"distance": 407.4, "duration": 54.6, "instruction": "Turn left onto Scheidemannstra\\u00dfe", "name": "Scheidemannstra\\u00dfe", "type": 0, "way_points": [5, 12]}, {"distance": 389.0, "duration": 63.0, "instruction": "Turn right onto Ebertstra\\u00dfe, B 2", "name": "Ebertstra\\u00dfe, B 2", "type": 1, "way_points": [12, 28]}, {"distance": 288.2, "duration": 47.9, "instruction": "Turn left onto Behrenstra\\u00dfe, B 5", "name": "Behrenstra\\u00dfe, B 5", "type": 0, "way_points": [28, 37]}, {"distance": 600.0, "duration": 99.5, "instruction": "Turn right onto Wilhelmstra\\u00dfe", "name": "Wilhelmstra\\u00dfe", "type": 1, "way_points": [37, 50]}, {"distance": 215.6, "duration": 31.0, "instruction": "Turn left onto Leipziger Stra\\u00dfe, B 1", "name": "Leipziger Stra\\u00dfe, B 1", "type": 0, "way_points": [50, 53]}, {"distance": 374.9, "duration": 90.0, "instruction": "Turn right onto Mauerstra\\u00dfe", "name": "Mauerstra\\u00dfe", "type": 1, "way_points": [53, 64]}, {"distance": 0.0, "duration": 0.0, "instruction": "Arrive at Mauerstra\\u00dfe, on the left", "name": "-", "type": 10, "way_points": [64, 64]}]}], "summary": {"distance": 2637.3, "duration": 428.1}, "transfers": 0, "way_points": [0, 64]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "discriminator": null, "engine": {"build_date": "2023-07-09T01:31:50Z", "discriminator": null, "graph_date": "2023-11-05T11:14:13Z", "version": "7.1.0"}, "id": null, "osm_file_md5_hash": null, "query": {"alternative_routes": null, "attributes": null, "bearings": null, "continue_straight": false, "coordinates": [[13.372582, 52.520295], [13.391476, 52.508856]], "discriminator": null, "elevation": null, "extra_info": null, "geometry": true, "geometry_simplify": false, "id": null, "ignore_transfers": false, "instructions": true, "instructions_format": "text", "language": "en", "maneuvers": false, "maximum_speed": null, "options": null, "preference": "shortest", "radiuses": null, "roundabout_exits": false, "schedule": false, "schedule_duration": null, "schedule_rows": null, "skip_segments": null, "suppress_warnings": null, "units": "m", "walking_time": null}, "service": "routing", "system_message": null, "timestamp": 1699273220660}, "type": "FeatureCollection"});\n", + " geo_json_6e7ad9aadd49ea3a5afee0ca72661376_add({"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "features": [{"bbox": [13.370813, 52.508546, 13.391505, 52.520294], "geometry": {"coordinates": [[13.37208, 52.520294], [13.372085, 52.519573], [13.370864, 52.51957], [13.370864, 52.519401], [13.370847, 52.517875], [13.370813, 52.517779], [13.371258, 52.517778], [13.374418, 52.517765], [13.374759, 52.517764], [13.374891, 52.517764], [13.375399, 52.517763], [13.376766, 52.517759], [13.376834, 52.517758], [13.377196, 52.516996], [13.377211, 52.51679], [13.377136, 52.516688], [13.37707, 52.516649], [13.376924, 52.516579], [13.376764, 52.516445], [13.376728, 52.516389], [13.376706, 52.516265], [13.376726, 52.516156], [13.376795, 52.51603], [13.376902, 52.515951], [13.377229, 52.515828], [13.377366, 52.51575], [13.377453, 52.515641], [13.37746, 52.51546], [13.377456, 52.515391], [13.377353, 52.51459], [13.377467, 52.514585], [13.377707, 52.514587], [13.378929, 52.514669], [13.37916, 52.514694], [13.37957, 52.514768], [13.380125, 52.514877], [13.380237, 52.514898], [13.380276, 52.514906], [13.380442, 52.514937], [13.381488, 52.515141], [13.381712, 52.514713], [13.381841, 52.514468], [13.382106, 52.513965], [13.382322, 52.513553], [13.382804, 52.512616], [13.382986, 52.512269], [13.383149, 52.511961], [13.383212, 52.511843], [13.383418, 52.511465], [13.383612, 52.511104], [13.383703, 52.510927], [13.384001, 52.510368], [13.384191, 52.510007], [13.384644, 52.510036], [13.385052, 52.510058], [13.385293, 52.510072], [13.387149, 52.510182], [13.387393, 52.510197], [13.387709, 52.50988], [13.38828, 52.509312], [13.388683, 52.508927], [13.389064, 52.508716], [13.38933, 52.508565], [13.389439, 52.508546], [13.390194, 52.508594], [13.391055, 52.508642], [13.39111, 52.508646], [13.391489, 52.508667], [13.391505, 52.508668]], "type": "LineString"}, "properties": {"fare": 0, "segments": [{"distance": 2637.8, "duration": 424.6, "steps": [{"distance": 80.2, "duration": 7.2, "instruction": "Head south on Annemarie-Renger-Stra\\u00dfe", "name": "Annemarie-Renger-Stra\\u00dfe", "type": 11, "way_points": [0, 1]}, {"distance": 282.0, "duration": 34.9, "instruction": "Turn right onto Paul-L\\u00f6be-Allee", "name": "Paul-L\\u00f6be-Allee", "type": 1, "way_points": [1, 5]}, {"distance": 407.4, "duration": 52.5, "instruction": "Turn left onto Scheidemannstra\\u00dfe", "name": "Scheidemannstra\\u00dfe", "type": 0, "way_points": [5, 12]}, {"distance": 389.0, "duration": 67.4, "instruction": "Turn right onto Ebertstra\\u00dfe, B 2", "name": "Ebertstra\\u00dfe, B 2", "type": 1, "way_points": [12, 29]}, {"distance": 288.2, "duration": 47.9, "instruction": "Turn left onto Behrenstra\\u00dfe, B 5", "name": "Behrenstra\\u00dfe, B 5", "type": 0, "way_points": [29, 39]}, {"distance": 599.5, "duration": 101.3, "instruction": "Turn right onto Wilhelmstra\\u00dfe", "name": "Wilhelmstra\\u00dfe", "type": 1, "way_points": [39, 52]}, {"distance": 217.8, "duration": 42.1, "instruction": "Turn left onto Leipziger Stra\\u00dfe, B 1", "name": "Leipziger Stra\\u00dfe, B 1", "type": 0, "way_points": [52, 57]}, {"distance": 373.7, "duration": 71.3, "instruction": "Turn right onto Mauerstra\\u00dfe", "name": "Mauerstra\\u00dfe", "type": 1, "way_points": [57, 68]}, {"distance": 0.0, "duration": 0.0, "instruction": "Arrive at Mauerstra\\u00dfe, on the left", "name": "-", "type": 10, "way_points": [68, 68]}]}], "summary": {"distance": 2637.8, "duration": 424.6}, "transfers": 0, "way_points": [0, 68]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "engine": {"build_date": "2024-01-29T14:41:12Z", "graph_date": "2024-03-17T13:51:27Z", "version": "7.1.1"}, "query": {"coordinates": [[13.372582, 52.520295], [13.391476, 52.508856]], "format": "geojson", "geometry": true, "instructions": true, "instructions_format": "text", "language": "en", "preference": "shortest", "profile": "driving-car", "units": "m", "walking_time": 900.0}, "service": "routing", "timestamp": 1710855020761}, "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " var popup_7b982cfbf8d145583ff73071c64c03e2 = L.popup({"maxWidth": "100%"});\n", + " var popup_0faea432ccd4c1bee5dbf4fc04d2dda1 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_3f8ee1a243bfebc74a424f5db952b3a2 = $(`<div id="html_3f8ee1a243bfebc74a424f5db952b3a2" style="width: 100.0%; height: 100.0%;"><h4>Regular route</h4><hr><strong>Duration: </strong>7.1 mins<br><strong>Distance: </strong>2.637 km</div>`)[0];\n", - " popup_7b982cfbf8d145583ff73071c64c03e2.setContent(html_3f8ee1a243bfebc74a424f5db952b3a2);\n", + " var html_47f77f16ca9c6d59599add702780a957 = $(`<div id="html_47f77f16ca9c6d59599add702780a957" style="width: 100.0%; height: 100.0%;"><h4>Regular route</h4><hr><strong>Duration: </strong>7.1 mins<br><strong>Distance: </strong>2.638 km</div>`)[0];\n", + " popup_0faea432ccd4c1bee5dbf4fc04d2dda1.setContent(html_47f77f16ca9c6d59599add702780a957);\n", " \n", " \n", "\n", - " geo_json_0f14086fa66076973156cc72fd7d4549.bindPopup(popup_7b982cfbf8d145583ff73071c64c03e2)\n", + " geo_json_6e7ad9aadd49ea3a5afee0ca72661376.bindPopup(popup_0faea432ccd4c1bee5dbf4fc04d2dda1)\n", " ;\n", "\n", " \n", " \n", " \n", - " var marker_1ab784d3501eca63c93ea9a13aa5beaa = L.marker(\n", + " var marker_9c7d1ab306ea4a78105e5ab863542b9c = L.marker(\n", " [52.520295, 13.372582],\n", " {}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_5490b8188cbb158565e761e0a2d368dc = L.popup({"maxWidth": "100%"});\n", + " var popup_753a6a4783dcb073db9e9e5a45288f40 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_e435d76f46c54dc031dbeb376e1fac8d = $(`<div id="html_e435d76f46c54dc031dbeb376e1fac8d" style="width: 100.0%; height: 100.0%;">Bundeskanzleramt</div>`)[0];\n", - " popup_5490b8188cbb158565e761e0a2d368dc.setContent(html_e435d76f46c54dc031dbeb376e1fac8d);\n", + " var html_b0b889b15bc5f91597a98be457a73093 = $(`<div id="html_b0b889b15bc5f91597a98be457a73093" style="width: 100.0%; height: 100.0%;">Bundeskanzleramt</div>`)[0];\n", + " popup_753a6a4783dcb073db9e9e5a45288f40.setContent(html_b0b889b15bc5f91597a98be457a73093);\n", " \n", " \n", "\n", - " marker_1ab784d3501eca63c93ea9a13aa5beaa.bindPopup(popup_5490b8188cbb158565e761e0a2d368dc)\n", + " marker_9c7d1ab306ea4a78105e5ab863542b9c.bindPopup(popup_753a6a4783dcb073db9e9e5a45288f40)\n", " ;\n", "\n", " \n", " \n", " \n", - " var marker_2d2396abe658f2a8343e71b7e9e59d85 = L.marker(\n", + " var marker_7b520476258aca3436837a579e465ae3 = L.marker(\n", " [52.508856, 13.391476],\n", " {}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_33b579c13dcfb351f06d17250e8f3182 = L.popup({"maxWidth": "100%"});\n", + " var popup_b8e58c30fc3be073790ce69ada05868a = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_62e2635444eb9079d6c0b22ddcd7ae89 = $(`<div id="html_62e2635444eb9079d6c0b22ddcd7ae89" style="width: 100.0%; height: 100.0%;">Deutsches Currywurst Museum</div>`)[0];\n", - " popup_33b579c13dcfb351f06d17250e8f3182.setContent(html_62e2635444eb9079d6c0b22ddcd7ae89);\n", + " var html_270bbed4c1e427ccb4680bf282248fb7 = $(`<div id="html_270bbed4c1e427ccb4680bf282248fb7" style="width: 100.0%; height: 100.0%;">Deutsches Currywurst Museum</div>`)[0];\n", + " popup_b8e58c30fc3be073790ce69ada05868a.setContent(html_270bbed4c1e427ccb4680bf282248fb7);\n", " \n", " \n", "\n", - " marker_2d2396abe658f2a8343e71b7e9e59d85.bindPopup(popup_33b579c13dcfb351f06d17250e8f3182)\n", + " marker_7b520476258aca3436837a579e465ae3.bindPopup(popup_b8e58c30fc3be073790ce69ada05868a)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_aa84e3c2a203e3b719e7add67e505f4c = L.polygon(\n", - " [[52.519856222546146, 13.385757350360162], [52.519759934629725, 13.385778431146596], [52.51974643338138, 13.385781192633539], [52.51919443338138, 13.38588619263354], [52.51918223543565, 13.385888356670165], [52.518933235435654, 13.385929356670164], [52.51892271067812, 13.385930974746831], [52.51879794722404, 13.385948798097413], [52.51861206331077, 13.385976301329478], [52.517933890859695, 13.386101669453621], [52.51789120176681, 13.38610767116621], [52.51784815436528, 13.386109973431813], [52.517794985358556, 13.386110521565904], [52.517056203634645, 13.386248926243292], [52.51678028323274, 13.38631013393808], [52.51677358270741, 13.386311572214852], [52.51642658270741, 13.386383572214854], [52.5164144427191, 13.386385934955051], [52.515988161045044, 13.38646344071397], [52.51554587374325, 13.386548916462182], [52.515538384102456, 13.386550304802574], [52.51513838410246, 13.386621304802574], [52.515129258424516, 13.386622837644365], [52.5149493044034, 13.386651354948256], [52.5146580862487, 13.38670119429688], [52.51429781814506, 13.38676849712943], [52.514289880185935, 13.386769913901617], [52.51376688018593, 13.386858913901618], [52.513760483884425, 13.386859959763195], [52.51289593330769, 13.386995575539936], [52.51200637879996, 13.387144167044031], [52.51199212972312, 13.387146336593469], [52.51110512972312, 13.387268336593468], [52.51108934239226, 13.387270252726461], [52.51106772241596, 13.38727252851344], [52.51105223581608, 13.387275198616868], [52.51075773792152, 13.387553160533386], [52.51073426591409, 13.387575693660523], [52.5107314290088, 13.387578395811637], [52.51055343893835, 13.387746606207886], [52.51023293066765, 13.388063181861774], [52.50967004581798, 13.388629039694807], [52.50933312806056, 13.388981709451269], [52.509153403163694, 13.389306236397742], [52.50915082399047, 13.389310836175046], [52.50905013767234, 13.389488204126188], [52.50909299257095, 13.390162275968999], [52.50909368786962, 13.390211664454636], [52.50908950680241, 13.390260880555973], [52.50908049017162, 13.390309443981748], [52.50906672596895, 13.390356880810042], [52.50904834851684, 13.39040272811321], [52.509025537157605, 13.390446538475496], [52.50899851450328, 13.390487884359294], [52.508967544263186, 13.390526362277406], [52.50893292867044, 13.39056159673061], [52.508895005532516, 13.390593243872084], [52.508854144934624, 13.390620994862953], [52.50881074562816, 13.390644578886183], [52.50876523113929, 13.39066376578945], [52.5087180456359, 13.390678368331143], [52.50866964959301, 13.39068824400763], [52.508092898824, 13.390776522186558], [52.50791108640981, 13.390812884669398], [52.50789517935996, 13.390824426270054], [52.50785011883472, 13.390850440270874], [52.50780259890396, 13.390871630725197], [52.50775313414755, 13.390887768167595], [52.50770226020532, 13.390898677850275], [52.50748426020532, 13.390933677850276], [52.507430353983196, 13.39093935676178], [52.5073761497878, 13.39093916697132], [52.507322284655196, 13.390933110709408], [52.507252068240504, 13.390921332472104], [52.50716235273025, 13.390937134635843], [52.507081970494504, 13.390951838703355], [52.50706643018893, 13.390954429112183], [52.50688043018893, 13.390982429112183], [52.50683160925956, 13.39098734373514], [52.50678254169901, 13.390987449404959], [52.506733700054724, 13.390982745103981], [52.50668555469844, 13.390973276137197], [52.50663856929625, 13.390959133695931], [52.50659319634327, 13.390940453979628], [52.50654987280582, 13.390917416884163], [52.506509015913274, 13.390890244269361], [52.50647101913983, 13.390859197822355], [52.506436248415184, 13.390824576537403], [52.506405038600434, 13.390786713836404], [52.50637769026314, 13.390745974357866], [52.50635446678276, 13.390702750445241], [52.50633559181409, 13.390657458368432], [52.5063212471334, 13.3906105343149], [52.50631157088781, 13.390562430188933], [52.506306656264854, 13.390513609259557], [52.506306550595035, 13.390464541699012], [52.50631125489602, 13.39041570005473], [52.5063207238628, 13.390367554698443], [52.506334866304066, 13.390320569296252], [52.50635354602037, 13.390275196343266], [52.50637658311584, 13.390231872805826], [52.50640375573064, 13.390191015913278], [52.506434802177644, 13.39015301913983], [52.5064694234626, 13.39011824841519], [52.50650728616359, 13.390087038600434], [52.50654802564213, 13.390059690263147], [52.50659124955476, 13.390036466782762], [52.506636541631565, 13.390017591814093], [52.5066834656851, 13.390003247133405], [52.506731569811066, 13.389993570887816], [52.50690977925011, 13.389966743660432], [52.506984029505496, 13.389953161296644], [52.50698726694596, 13.38995258008028], [52.50716326694596, 13.38992158008028], [52.50721960185781, 13.389914924902493], [52.50727632804405, 13.38991469364705], [52.5073327153448, 13.389920889290591], [52.50740677411616, 13.38993331205224], [52.50741637967998, 13.389931769874563], [52.5074206238954, 13.389928665600491], [52.507462100975154, 13.38990408230837], [52.50750575302244, 13.389883608296431], [52.50755117412797, 13.389867433947307], [52.50759794193243, 13.389855709662154], [52.50790794193243, 13.389793709662154], [52.507930350406994, 13.38978975599237], [52.508065970530254, 13.389768997810238], [52.508047007429056, 13.389470724031], [52.50804674356741, 13.38941174170733], [52.50805342732659, 13.389353138708328], [52.50807242732658, 13.389244138708328], [52.50808161406711, 13.389202179657772], [52.508094368114854, 13.389161163899933], [52.50811059534708, 13.389121394124231], [52.50813017600953, 13.389083163824953], [52.50827987429406, 13.388819456913138], [52.508489596836306, 13.388440763602258], [52.50851190840016, 13.388404254661495], [52.50853725961111, 13.388369786926726], [52.508565464826454, 13.388337612799468], [52.508950464826455, 13.387934612799468], [52.50895751661848, 13.387927379053055], [52.50952551661848, 13.387356379053054], [52.50952863573186, 13.387353270958346], [52.509854635731855, 13.387031270958348], [52.509862570991196, 13.387023604188363], [52.510043147245185, 13.386852949706574], [52.51006673408591, 13.386830306339476], [52.51006980244399, 13.386827385592214], [52.51044380244399, 13.386474385592214], [52.51048220424973, 13.386441642143236], [52.51052371110992, 13.386412936521962], [52.51056790018053, 13.386388561161992], [52.51061432129299, 13.386368764383123], [52.51073932129299, 13.386322764383124], [52.510782649389895, 13.386309021305163], [52.51082704654175, 13.386299269942127], [52.51091404654175, 13.386284269942127], [52.51094665760774, 13.386279747273539], [52.51097674870405, 13.386276579789717], [52.511848730101676, 13.38615664548249], [52.51273362120004, 13.38600883295597], [52.512738516115576, 13.386008040236806], [52.513602314575564, 13.385872542439161], [52.514118145122325, 13.385784762479961], [52.51447818185494, 13.38571750287057], [52.51448565580377, 13.385716165284743], [52.51478365580377, 13.385665165284744], [52.514789741575484, 13.385664162355635], [52.514968171644135, 13.385635886552407], [52.51535986578933, 13.385566360841635], [52.51580112625675, 13.385481083537819], [52.5158065572809, 13.38548006504495], [52.516229472674716, 13.385403171336984], [52.51656706210155, 13.385333123963115], [52.51684771676726, 13.38527086606192], [52.51686393085371, 13.385267549827244], [52.51765393085371, 13.385119549827245], [52.517697201800374, 13.385113386961875], [52.51774084563472, 13.385111026568188], [52.517794618410505, 13.385110472209673], [52.5184391091403, 13.384991330546379], [52.518456817128126, 13.384988384728032], [52.51865281712813, 13.384959384728031], [52.518655289321885, 13.384959025253169], [52.5187760183276, 13.384941778252353], [52.519013652186004, 13.384902649785708], [52.51955279696491, 13.384800095072329], [52.51971476675766, 13.38476463423013], [52.51999146822489, 13.384703699972004], [52.520038627658685, 13.384695658202038], [52.52008633978491, 13.384692160306745], [52.52013416781197, 13.384693238308406], [52.520181673887244, 13.38469888233821], [52.52022842310548, 13.384709040726595], [52.52027398749025, 13.384723620476263], [52.52031794991196, 13.38474248811356], [52.52035990790656, 13.384765470910377], [52.52039947735997, 13.38479235846544], [52.52043629602456, 13.384822904630463], [52.52047002683545, 13.384856829763585], [52.52050036099619, 13.384893823289405], [52.52052702080576, 13.384933546542214], [52.52071602080576, 13.385246546542215], [52.52072493341867, 13.38526191732342], [52.520801417385364, 13.38539939483317], [52.52113680828069, 13.38597392539055], [52.52113964505946, 13.385978848887754], [52.52122482944059, 13.386128655902839], [52.52128296710758, 13.386227489936726], [52.521432921184775, 13.386482411867952], [52.52178787523449, 13.38708533381718], [52.52178817793265, 13.387085848680833], [52.52201224872473, 13.387467495441408], [52.52232350792577, 13.387412888564032], [52.52235941878525, 13.387406273405707], [52.52236348699776, 13.387405541371846], [52.52243748699776, 13.387392541371847], [52.52247520326834, 13.38738738681792], [52.523349967322964, 13.38730160607824], [52.523823733438185, 13.38725084542304], [52.52385337775847, 13.387248558322018], [52.52398816646986, 13.387242183180263], [52.52436301611847, 13.387204514465575], [52.525757171540874, 13.386950135329096], [52.52588535439565, 13.386926704054568], [52.52590663069287, 13.386917342483788], [52.525955679828655, 13.386898766270198], [52.52600267164673, 13.386886411857185], [52.526079568998014, 13.38686289779109], [52.526213591268665, 13.38681366512024], [52.52626394263699, 13.386798126820567], [52.52631564967157, 13.386787973908476], [52.52689264967157, 13.386705973908475], [52.52694150946951, 13.386701462056395], [52.526990576233004, 13.386701761027789], [52.527039377422305, 13.386706867943396], [52.52708744305527, 13.386716733620828], [52.52713431023359, 13.386731263048219], [52.527179527600715, 13.38675031629924], [52.527222659688675, 13.386773709880668], [52.52726329111189, 13.386801218499524], [52.52730103056754, 13.386832577232775], [52.52733551460404, 13.386867484078673], [52.527366411121264, 13.386905602865212], [52.52739342256887, 13.38694656648764], [52.527416288811835, 13.38698998044388], [52.527434789635755, 13.3870354266338], [52.52744874686758, 13.387082467385747], [52.52745802609152, 13.387130649671567], [52.527462537943606, 13.387179509469506], [52.52746223897221, 13.387228576233003], [52.527457132056604, 13.3872773774223], [52.52744726637917, 13.38732544305527], [52.52743273695178, 13.387372310233589], [52.527413683700765, 13.38741752760071], [52.527390290119335, 13.387460659688672], [52.52736278150048, 13.387501291111887], [52.527331422767226, 13.387539030567538], [52.52729651592133, 13.387573514604039], [52.52725839713479, 13.387604411121265], [52.52721743351236, 13.387631422568864], [52.52717401955612, 13.387654288811834], [52.5271285733662, 13.387672789635754], [52.527081532614254, 13.387686746867574], [52.52703335032844, 13.387696026091524], [52.52650873898144, 13.387770580910335], [52.526411408731335, 13.38780633487976], [52.52638520965839, 13.387815145099099], [52.52626706077721, 13.387851273269376], [52.526234369307126, 13.387865657516214], [52.526179638717075, 13.387886013688775], [52.52612290808563, 13.387899850115522], [52.52593690808563, 13.387933850115521], [52.524522748821795, 13.38819187920162], [52.5244829933089, 13.38819749439099], [52.5240749933089, 13.38823849439099], [52.52404862224153, 13.388240441677983], [52.523915478417216, 13.388246739021024], [52.523454266561814, 13.38829615457696], [52.523449796731654, 13.38829661318208], [52.52259175304695, 13.388380754295975], [52.52253854862156, 13.388390101019354], [52.52250258121475, 13.388396726594292], [52.52249839973901, 13.388397478512323], [52.52193480544495, 13.38849635470426], [52.521857179753745, 13.388512064665576], [52.521810070882516, 13.388519281231492], [52.521762488931785, 13.388521979849084], [52.52171486619777, 13.388520136000611], [52.521667635347214, 13.388513766437983], [52.521621225486484, 13.388502929030578], [52.521576058263, 13.388487722239473], [52.52153254403448, 13.388468284222903], [52.521491078140656, 13.388444791581046], [52.52145203731154, 13.388417457751562], [52.521415776244716, 13.388386531070442], [52.52138262438279, 13.388352292515814], [52.52135288292031, 13.388315053155155], [52.52132682206735, 13.388275151319167], [52.52092597326354, 13.387592408842846], [52.52057112476552, 13.386989666182822], [52.52042103289242, 13.386734510063286], [52.52036103289242, 13.386632510063274], [52.520357354940536, 13.386626151112246], [52.520271759341355, 13.386475620920585], [52.51993519171931, 13.385899074609451], [52.51993006658133, 13.38589008267658], [52.519856222546146, 13.385757350360162]],\n", + " var polygon_2125636663e323ea36bbb1ade1be772f = L.polygon(\n", + " [[52.52600267164673, 13.386886411857185], [52.526079568998014, 13.38686289779109], [52.526213591268665, 13.38681366512024], [52.52626394263699, 13.386798126820567], [52.52631564967157, 13.386787973908476], [52.52689264967157, 13.386705973908475], [52.52694150946951, 13.386701462056395], [52.526990576233004, 13.386701761027789], [52.527039377422305, 13.386706867943396], [52.52708744305527, 13.386716733620828], [52.52713431023359, 13.386731263048219], [52.527179527600715, 13.38675031629924], [52.527222659688675, 13.386773709880668], [52.52726329111189, 13.386801218499524], [52.52730103056754, 13.386832577232775], [52.52733551460404, 13.386867484078673], [52.527366411121264, 13.386905602865212], [52.52739342256887, 13.38694656648764], [52.527416288811835, 13.38698998044388], [52.527434789635755, 13.3870354266338], [52.52744874686758, 13.387082467385747], [52.52745802609152, 13.387130649671567], [52.527462537943606, 13.387179509469506], [52.52746223897221, 13.387228576233003], [52.527457132056604, 13.3872773774223], [52.52744726637917, 13.38732544305527], [52.52743273695178, 13.387372310233589], [52.527413683700765, 13.38741752760071], [52.527390290119335, 13.387460659688672], [52.52736278150048, 13.387501291111887], [52.527331422767226, 13.387539030567538], [52.52729651592133, 13.387573514604039], [52.52725839713479, 13.387604411121265], [52.52721743351236, 13.387631422568864], [52.52717401955612, 13.387654288811834], [52.5271285733662, 13.387672789635754], [52.527081532614254, 13.387686746867574], [52.52703335032844, 13.387696026091524], [52.52650873898144, 13.387770580910335], [52.526411408731335, 13.38780633487976], [52.52638520965839, 13.387815145099099], [52.52626706077721, 13.387851273269376], [52.526234369307126, 13.387865657516214], [52.526179638717075, 13.387886013688775], [52.52612290808563, 13.387899850115522], [52.52593690808563, 13.387933850115521], [52.524522748821795, 13.38819187920162], [52.5244829933089, 13.38819749439099], [52.5240749933089, 13.38823849439099], [52.52404862224153, 13.388240441677983], [52.523915478417216, 13.388246739021024], [52.523454266561814, 13.38829615457696], [52.523449796731654, 13.38829661318208], [52.52259175304695, 13.388380754295975], [52.52253854862156, 13.388390101019354], [52.52250258121475, 13.388396726594292], [52.52249839973901, 13.388397478512323], [52.52193608438636, 13.388496130328576], [52.52186672322842, 13.38851054303672], [52.52185129482716, 13.388513496906393], [52.52105229482716, 13.388653496906393], [52.52105089165775, 13.38865374070914], [52.52078479353307, 13.38869958532987], [52.520643694832806, 13.38872442665034], [52.520627282843094, 13.38872703567747], [52.520574525826575, 13.388734525871172], [52.52055609555254, 13.388746480643517], [52.520512435977345, 13.388771766235514], [52.52046645044906, 13.388792523182708], [52.520418607195936, 13.38880854013623], [52.52036939336176, 13.3888196540102], [52.51999577213566, 13.388884415022725], [52.51999492884034, 13.38888456606069], [52.51989049972, 13.38893359680622], [52.51984622930699, 13.388951849126865], [52.51980041588356, 13.38896578278791], [52.519753479653474, 13.388975269988885], [52.51914447965348, 13.389068269988885], [52.51913971067812, 13.38906897474683], [52.518859710678115, 13.389108974746831], [52.51881177587495, 13.389113480990149], [52.51876362988918, 13.389113355942667], [52.5187157191403, 13.389108600763851], [52.518668487866684, 13.389099259544702], [52.518622374006426, 13.38908541889893], [52.518579935952594, 13.38906807785418], [52.51810153768509, 13.389137421087684], [52.51762534573292, 13.389211981414226], [52.51762477290096, 13.389212070765861], [52.517225955648236, 13.389274042369042], [52.516927177866606, 13.389320695378133], [52.516284393777894, 13.389426507528121], [52.51579455810586, 13.389517742743708], [52.51562845441009, 13.389591734390004], [52.51558648641967, 13.38960820411691], [52.51554320550324, 13.38962082657297], [52.515498963545745, 13.389629499134378], [52.51526496354575, 13.389664499134378], [52.515206930628516, 13.389669746150636], [52.51514868135101, 13.3896682059132], [52.51495462517812, 13.389651722377279], [52.51485536449021, 13.389671428543263], [52.514724338006175, 13.389697433800379], [52.51469649431418, 13.389702146988578], [52.51467246478044, 13.389705519554717], [52.51458524184463, 13.389753048220339], [52.51454664353942, 13.389771976167602], [52.51450656199984, 13.389787518578528], [52.51446529352407, 13.38979956055762], [52.514423143184594, 13.389808013085933], [52.51409014318459, 13.389860013085933], [52.514043736415395, 13.38986505437857], [52.513997061747254, 13.389865745907537], [52.51395052599711, 13.389862081645461], [52.513904534771086, 13.389854093530092], [52.51386202050759, 13.38984464591598], [52.51257461393059, 13.390046939346254], [52.51257407512748, 13.390047023708666], [52.51204453030091, 13.390129640664691], [52.51145659714287, 13.39022736252475], [52.511418424214575, 13.390253597851972], [52.51137498575704, 13.390277494425122], [52.511329394279, 13.390296971666531], [52.51128209802601, 13.390311838080184], [52.51123356200456, 13.390321947502725], [52.51111318465883, 13.390340849730567], [52.510499807065315, 13.390438750388817], [52.510448654444986, 13.390444234645907], [52.510397209056165, 13.390444433670263], [52.510346015534225, 13.390439345354881], [52.51031287157647, 13.39043255751765], [52.51027449118854, 13.390454737874215], [52.51022949170012, 13.390475113745214], [52.51018270123724, 13.39049094986406], [52.510134576499155, 13.390502091661988], [52.51003457649915, 13.390520091661987], [52.51001231045721, 13.390523583417059], [52.50972831045721, 13.390561583417059], [52.509675141162695, 13.39056582728001], [52.50962182232257, 13.39056438314], [52.50956896070189, 13.39055726743125], [52.50952236879138, 13.390545839276832], [52.50867638634016, 13.390687165784453], [52.50866964959301, 13.39068824400763], [52.508092898824, 13.390776522186558], [52.50790489232548, 13.390814123486264], [52.507878958938456, 13.390831884391082], [52.507835984814726, 13.3908554948842], [52.507790904730946, 13.390874782619724], [52.5077441522188, 13.390889562108995], [52.50769617689358, 13.390899691218804], [52.50748417689358, 13.390933691218804], [52.50743029780374, 13.390939359611028], [52.50737612170887, 13.390939165347657], [52.507322284655196, 13.390933110709408], [52.507252068240504, 13.390921332472104], [52.50716235273025, 13.390937134635843], [52.507081970494504, 13.390951838703355], [52.50706643018893, 13.390954429112183], [52.50688043018893, 13.390982429112183], [52.50683160925956, 13.39098734373514], [52.50678254169901, 13.390987449404959], [52.506733700054724, 13.390982745103981], [52.50668555469844, 13.390973276137197], [52.50663856929625, 13.390959133695931], [52.50659319634327, 13.390940453979628], [52.50654987280582, 13.390917416884163], [52.506509015913274, 13.390890244269361], [52.50647101913983, 13.390859197822355], [52.506436248415184, 13.390824576537403], [52.506405038600434, 13.390786713836404], [52.50637769026314, 13.390745974357866], [52.50635446678276, 13.390702750445241], [52.50633559181409, 13.390657458368432], [52.5063212471334, 13.3906105343149], [52.50631157088781, 13.390562430188933], [52.506306656264854, 13.390513609259557], [52.506306550595035, 13.390464541699012], [52.50631125489602, 13.39041570005473], [52.5063207238628, 13.390367554698443], [52.506334866304066, 13.390320569296252], [52.50635354602037, 13.390275196343266], [52.50637658311584, 13.390231872805826], [52.50640375573064, 13.390191015913278], [52.506434802177644, 13.39015301913983], [52.5064694234626, 13.39011824841519], [52.50650728616359, 13.390087038600434], [52.50654802564213, 13.390059690263147], [52.50659124955476, 13.390036466782762], [52.506636541631565, 13.390017591814093], [52.5066834656851, 13.390003247133405], [52.506731569811066, 13.389993570887816], [52.50690977925011, 13.389966743660432], [52.506984029505496, 13.389953161296644], [52.50698726694596, 13.38995258008028], [52.50716326694596, 13.38992158008028], [52.50721960185781, 13.389914924902493], [52.50727632804405, 13.38991469364705], [52.5073327153448, 13.389920889290591], [52.50740681684406, 13.3899333192195], [52.507416939739656, 13.389931695736244], [52.50743078036842, 13.389922138528494], [52.5074701419756, 13.389899919118529], [52.50751134932915, 13.389881345149863], [52.507554065676274, 13.389866568411817], [52.50759794193243, 13.389855709662154], [52.50790794193243, 13.389793709662154], [52.507930350406994, 13.38978975599237], [52.50851497835523, 13.389700272122742], [52.50936761365984, 13.389557834215546], [52.509368430454046, 13.389557698460196], [52.509495430454045, 13.389536698460196], [52.509542133876295, 13.389531217127983], [52.50958914569006, 13.389530147539555], [52.50963605007496, 13.38953349915544], [52.50968243216086, 13.389541242330537], [52.50972642992848, 13.38955292315105], [52.509806041822486, 13.389542270855374], [52.50982708519441, 13.389527051901917], [52.509869173433664, 13.389502469734662], [52.50991345517422, 13.389482102351833], [52.509959509615065, 13.389466143300828], [52.51000689910953, 13.389454744237497], [52.510254899109526, 13.389407744237497], [52.51030126958428, 13.38940118852138], [52.51034805001532, 13.389399000002502], [52.510394830007584, 13.389401197880288], [52.51044119916987, 13.38940776287321], [52.51048675071509, 13.389418637387942], [52.510505831712116, 13.389425131369835], [52.51093286303164, 13.38935697327649], [52.51096730671601, 13.389333187274227], [52.511010004101415, 13.389309490454053], [52.5110548094394, 13.389290071708107], [52.51110129535766, 13.389275116260624], [52.5111490184538, 13.389264766763], [52.511883018453794, 13.389142766763], [52.51188792487252, 13.389141976291333], [52.51241965544918, 13.389059018325426], [52.51380038606941, 13.388842060653745], [52.513846906903495, 13.388836967717127], [52.51389370012878, 13.388836246554833], [52.51394035581302, 13.38883990348461], [52.51398646522891, 13.388847906469909], [52.51402922039084, 13.388857407617005], [52.514183033023635, 13.3888333888275], [52.514273758155376, 13.388783951779661], [52.51431412861487, 13.388764251515342], [52.51435610426428, 13.38874825403834], [52.51439934629725, 13.388736088472255], [52.51444350568582, 13.388727853011423], [52.51454351726357, 13.388713816298758], [52.51466064874838, 13.388690568828489], [52.51479663550979, 13.388663571456737], [52.51481601871328, 13.388660118517333], [52.51485401871329, 13.388654118517334], [52.51491403806505, 13.388648322735266], [52.514974318648996, 13.3886497940868], [52.51517496045171, 13.38866683701985], [52.51528372057579, 13.388650569479923], [52.51544154558991, 13.388580265609995], [52.515496472431124, 13.388559569836223], [52.515553446144395, 13.388545453571345], [52.5161064461444, 13.388442453571345], [52.51611678533896, 13.388440639909568], [52.51676678533896, 13.388333639909566], [52.51677086162675, 13.388332986162771], [52.517071861626754, 13.388285986162773], [52.51747094065664, 13.388223973743987], [52.51794965426708, 13.388149018585775], [52.51795527517996, 13.388148171191027], [52.51863827517996, 13.388049171191026], [52.518686314363165, 13.388044561324477], [52.51873457420309, 13.388044604256583], [52.51878260510836, 13.388049299587387], [52.51882995962038, 13.388058603574923], [52.518876196581864, 13.388072429542722], [52.51891985770784, 13.388090229769462], [52.51899590313537, 13.388079366136958], [52.51953099507274, 13.387997652589872], [52.51962950028, 13.38795140319378], [52.51966974538, 13.387934608536623], [52.519711300806144, 13.387921384500117], [52.51975385044986, 13.387911831678375], [52.51982085044986, 13.387899831678375], [52.519823606638234, 13.3878993459898], [52.52009776672098, 13.387851824908791], [52.520122904447454, 13.387835519356482], [52.520169972612806, 13.387808499524063], [52.52021969203601, 13.38778674033084], [52.5202714769261, 13.387770498142197], [52.5203247171569, 13.38775996432253], [52.52047848948056, 13.38773813244942], [52.52061230516719, 13.38771457334966], [52.52061410834225, 13.38771425929086], [52.520880406583444, 13.387668380193126], [52.521670967768735, 13.387529858834002], [52.52174027677158, 13.38751545696328], [52.521755600260995, 13.387512521487677], [52.52232350792577, 13.387412888564032], [52.52235941878525, 13.387406273405707], [52.52236348699776, 13.387405541371846], [52.52243748699776, 13.387392541371847], [52.52247520326834, 13.38738738681792], [52.523349967322964, 13.38730160607824], [52.523823733438185, 13.38725084542304], [52.52385337775847, 13.387248558322018], [52.52398816646986, 13.387242183180263], [52.52436301611847, 13.387204514465575], [52.525757171540874, 13.386950135329096], [52.52588535439565, 13.386926704054568], [52.52590663069287, 13.386917342483788], [52.525955679828655, 13.386898766270198], [52.52600267164673, 13.386886411857185]],\n", " {"bubblingMouseEvents": true, "color": "#FF0000", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#FF0000", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_cf0d90e9227b37117fe7025b0fec9ebc = L.popup({"maxWidth": "100%"});\n", + " var popup_f373d1fb4196b3e8f09761aee67c8de2 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_6de2bc3f102ff8d09c095b84377deebe = $(`<div id="html_6de2bc3f102ff8d09c095b84377deebe" style="width: 100.0%; height: 100.0%;">Friedrichstraße</div>`)[0];\n", - " popup_cf0d90e9227b37117fe7025b0fec9ebc.setContent(html_6de2bc3f102ff8d09c095b84377deebe);\n", + " var html_5cfb048bd55fffd56a238b488645c74c = $(`<div id="html_5cfb048bd55fffd56a238b488645c74c" style="width: 100.0%; height: 100.0%;">Friedrichstraße</div>`)[0];\n", + " popup_f373d1fb4196b3e8f09761aee67c8de2.setContent(html_5cfb048bd55fffd56a238b488645c74c);\n", " \n", " \n", "\n", - " polygon_aa84e3c2a203e3b719e7add67e505f4c.bindPopup(popup_cf0d90e9227b37117fe7025b0fec9ebc)\n", + " polygon_2125636663e323ea36bbb1ade1be772f.bindPopup(popup_f373d1fb4196b3e8f09761aee67c8de2)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_4baf1cacaf7a95dcb57640d52a2dd09f = L.polygon(\n", - " [[52.510094619398764, 13.377872838786983], [52.51010217630335, 13.377935311706702], [52.510157050028106, 13.378890114517414], [52.510193904415665, 13.37944591852441], [52.51019407217524, 13.379448553918056], [52.510318937854485, 13.381495352132303], [52.5104497841118, 13.383368151616722], [52.510449823840176, 13.383368724987667], [52.51050582384018, 13.384183724987668], [52.51050606258411, 13.384187397105693], [52.51053203876478, 13.384611008667335], [52.51057301146637, 13.385262574555961], [52.51070500858332, 13.387355528842333], [52.51070525869472, 13.387359783171664], [52.510737253840176, 13.387946694120986], [52.510795148761936, 13.389001779160825], [52.51084903521696, 13.389867954030278], [52.51084907384146, 13.389868581243134], [52.51090807384146, 13.390836581243134], [52.510908189870854, 13.39083854876384], [52.51096318987085, 13.391803548763841], [52.51096374385846, 13.39184800237252], [52.51096034701061, 13.391892329470908], [52.5109445000355, 13.392022706857077], [52.511043695431994, 13.392336130966996], [52.51106041383255, 13.39240611248647], [52.51108041383255, 13.39252811248647], [52.511086105528264, 13.392579105658465], [52.51115505233568, 13.393730217573694], [52.511322995983065, 13.39637632968449], [52.51132319240554, 13.396379593271039], [52.51141212161344, 13.39794234923906], [52.51153572096619, 13.39993887749345], [52.51157229074448, 13.400379639558212], [52.51161579817508, 13.400709838057798], [52.51162688580826, 13.400716900759884], [52.51166529453042, 13.40074700755251], [52.51170058524994, 13.400780715326325], [52.51173242176641, 13.400817702960996], [52.511760500786224, 13.400857618090287], [52.5117845548119, 13.400900080458902], [52.511804354690476, 13.400944685545028], [52.511819711796505, 13.400991008414046], [52.51183047982906, 13.401038607766719], [52.51183655620544, 13.401087030143259], [52.51183788303847, 13.40113581424327], [52.51183444768794, 13.40118449532036], [52.511826282881046, 13.401232609609592], [52.51181346640062, 13.40127969874559], [52.511796120344066, 13.401325314129199], [52.51177440996026, 13.401369021201107], [52.511748542075246, 13.401410403581716], [52.51161854207525, 13.401597403581716], [52.51158802538049, 13.401636931854679], [52.511553717927974, 13.401673218928462], [52.51151596193495, 13.401705902839069], [52.51147513401789, 13.401734657564093], [52.511431641435784, 13.401759196274808], [52.51138591802765, 13.401779274197274], [52.51133841988504, 13.401794691053976], [52.5112896208025, 13.401805293061578], [52.511240007551464, 13.401810974464928], [52.51119007502472, 13.401811678591958], [52.51114032129982, 13.401807398418995], [52.51109124267077, 13.401798176640812], [52.5110433286975, 13.401784105244761], [52.51099705732245, 13.401765324593187], [52.51095289010316, 13.401742022023315], [52.510911267608186, 13.401714429978563], [52.5108726050224, 13.40168282368991], [52.51083728800557, 13.401647518430467], [52.510805668845364, 13.401608866370625], [52.510778062943295, 13.401567253065148], [52.51075474566856, 13.401523093607258], [52.51073594961126, 13.401476828488086], [52.510721862262294, 13.401428919202752], [52.51068386226229, 13.401270919202751], [52.510674284561, 13.401219316181285], [52.510579284561, 13.400498316181285], [52.51057671214701, 13.400474342660287], [52.51053871214701, 13.400016342660287], [52.51053795537824, 13.400005894424911], [52.51041395537824, 13.398002894424911], [52.51041380759446, 13.39800040672896], [52.51032490047052, 13.396438038843177], [52.51015700401693, 13.39379267031551], [52.510156894471734, 13.393790894341535], [52.510089430368524, 13.392664537140096], [52.51007942121234, 13.392603481287361], [52.509971304568005, 13.392261869033003], [52.50995642475446, 13.392202399004267], [52.50994893448321, 13.392141555031635], [52.50994293448321, 13.392043555031636], [52.50994222352684, 13.391998050856968], [52.50994565298939, 13.391952670529093], [52.50996227288426, 13.391815934121292], [52.509909866204914, 13.39089643511089], [52.509850945273584, 13.389929732373146], [52.50979696478304, 13.389062045969721], [52.50979675104617, 13.3890583949284], [52.50973875104617, 13.3880013949284], [52.509706857295576, 13.387416344525427], [52.50957499141668, 13.385325471157667], [52.50953398565937, 13.384673379736146], [52.50953393741589, 13.384672602894307], [52.50950805003133, 13.38425043939221], [52.50945219585935, 13.38343756171082], [52.5093212158882, 13.381562848383277], [52.50932092782476, 13.381558446081943], [52.50919600822479, 13.379510763999201], [52.50915909558434, 13.37895408147559], [52.50915882369665, 13.378949688293298], [52.50910563258766, 13.378024162996992], [52.50908338060123, 13.377904161213017], [52.509076812521606, 13.377855535119261], [52.509075042259724, 13.377806499389056], [52.50907808686419, 13.377757526263288], [52.5090859170138, 13.377709087379928], [52.50909845729992, 13.377661649231905], [52.50911558695275, 13.377615668674515], [52.509137141004366, 13.377571588525662], [52.50916291187746, 13.377529833301276], [52.50919265138445, 13.377490805126993], [52.509226073117624, 13.377454879865466], [52.50926285520742, 13.377422403496604], [52.509302643422195, 13.377393688785592], [52.509345054579704, 13.377369012270792], [52.50938968023731, 13.377348611600533], [52.50943609062554, 13.377332683244422], [52.509483838786984, 13.377321380601236], [52.509532464880735, 13.377314812521606], [52.50958150061094, 13.377313042259729], [52.50963047373671, 13.377316086864194], [52.50967891262007, 13.3773239170138], [52.50972635076809, 13.377336457299922], [52.509772331325486, 13.37735358695275], [52.50981641147433, 13.377375141004364], [52.50985816669872, 13.377400911877466], [52.509897194873005, 13.377430651384456], [52.509933120134534, 13.377464073117627], [52.50996559650339, 13.377500855207419], [52.509994311214406, 13.377540643422199], [52.510018987729204, 13.377583054579707], [52.51003938839946, 13.377627680237316], [52.510055316755576, 13.377674090625543], [52.51006661939876, 13.377721838786982], [52.510094619398764, 13.377872838786983]],\n", + " var polygon_21ce7760a20441e99f78068894189b65 = L.polygon(\n", + " [[52.51009877358312, 13.377866674239828], [52.5101060383127, 13.377926003831512], [52.51016564943278, 13.378885742864858], [52.510214103599, 13.379440493625046], [52.510215060322444, 13.37945336024543], [52.510465057443135, 13.383525313347171], [52.5104859559503, 13.383864665296858], [52.510505847074654, 13.384157064824855], [52.510505978573285, 13.384159056559328], [52.51053497857328, 13.384612056559329], [52.51053527469736, 13.38461707832514], [52.510557218744985, 13.385024040662831], [52.5105711414889, 13.38526371075464], [52.51068109161324, 13.38711886921617], [52.510696057863065, 13.38736232021334], [52.510696104465325, 13.387363087917313], [52.51073109355706, 13.387946905905064], [52.510795082516246, 13.389001723904231], [52.510847103110926, 13.389869065326678], [52.510905102111366, 13.390837048629624], [52.510963099327995, 13.391802002320185], [52.51096376804799, 13.391847228204112], [52.51096034701061, 13.391892329470908], [52.5109445000355, 13.392022706857077], [52.511043695431994, 13.392336130966996], [52.51106041383255, 13.39240611248647], [52.51108041383255, 13.39252811248647], [52.51108607948575, 13.392578673989581], [52.511156044345434, 13.393730095680372], [52.511323007864625, 13.396376517448662], [52.51132319240554, 13.396379593271039], [52.51141212161344, 13.39794234923906], [52.51153572096619, 13.39993887749345], [52.51157229074448, 13.400379639558212], [52.51161579817508, 13.400709838057798], [52.51162688580826, 13.400716900759884], [52.51166529453042, 13.40074700755251], [52.51170058524994, 13.400780715326325], [52.51173242176641, 13.400817702960996], [52.511760500786224, 13.400857618090287], [52.5117845548119, 13.400900080458902], [52.511804354690476, 13.400944685545028], [52.511819711796505, 13.400991008414046], [52.51183047982906, 13.401038607766719], [52.51183655620544, 13.401087030143259], [52.51183788303847, 13.40113581424327], [52.51183444768794, 13.40118449532036], [52.511826282881046, 13.401232609609592], [52.51181346640062, 13.40127969874559], [52.511796120344066, 13.401325314129199], [52.51177440996026, 13.401369021201107], [52.511748542075246, 13.401410403581716], [52.51161854207525, 13.401597403581716], [52.51158802538049, 13.401636931854679], [52.511553717927974, 13.401673218928462], [52.51151596193495, 13.401705902839069], [52.51147513401789, 13.401734657564093], [52.511431641435784, 13.401759196274808], [52.51138591802765, 13.401779274197274], [52.51133841988504, 13.401794691053976], [52.5112896208025, 13.401805293061578], [52.511240007551464, 13.401810974464928], [52.51119007502472, 13.401811678591958], [52.51114032129982, 13.401807398418995], [52.51109124267077, 13.401798176640812], [52.5110433286975, 13.401784105244761], [52.51099705732245, 13.401765324593187], [52.51095289010316, 13.401742022023315], [52.510911267608186, 13.401714429978563], [52.5108726050224, 13.40168282368991], [52.51083728800557, 13.401647518430467], [52.510805668845364, 13.401608866370625], [52.510778062943295, 13.401567253065148], [52.51075474566856, 13.401523093607258], [52.51073594961126, 13.401476828488086], [52.510721862262294, 13.401428919202752], [52.51068386226229, 13.401270919202751], [52.510674284561, 13.401219316181285], [52.510579284561, 13.400498316181285], [52.51057671214701, 13.400474342660287], [52.51053871214701, 13.400016342660287], [52.51053795537824, 13.400005894424911], [52.51041395537824, 13.398002894424911], [52.51041380759446, 13.39800040672896], [52.51032489512601, 13.396437944923886], [52.510157992135376, 13.393792482551337], [52.51015792051425, 13.393791326010419], [52.51008946544019, 13.392664751077216], [52.51007942121234, 13.392603481287361], [52.509971304568005, 13.392261869033003], [52.50995642475446, 13.392202399004267], [52.50994893448321, 13.392141555031635], [52.50994293448321, 13.392043555031636], [52.50994222352684, 13.391998050856968], [52.50994565298939, 13.391952670529093], [52.50996217867199, 13.391816709231323], [52.50990690067201, 13.390896997679816], [52.50984889600405, 13.389928919917304], [52.50979690712788, 13.389062105385722], [52.50973291748375, 13.388007276095768], [52.509697918540525, 13.387423295951727], [52.50968294213693, 13.38717967978666], [52.509682875844774, 13.387178581711787], [52.509572875844775, 13.385322581711787], [52.50957284152014, 13.385321996758167], [52.50955884152014, 13.385080996758166], [52.50955872530264, 13.38507892167486], [52.50953686073352, 13.384673433302119], [52.50950808518827, 13.38422393944011], [52.50948815292535, 13.383930935175144], [52.50948794544588, 13.38392773356492], [52.50946694544588, 13.383586733564922], [52.50921733502888, 13.379521079237062], [52.509168896401, 13.378966506374955], [52.509167961687304, 13.37895399616849], [52.509109817730845, 13.37801787846951], [52.509088226416885, 13.377900325760173], [52.50908174096839, 13.377851688576643], [52.509080054026754, 13.37780264990933], [52.50908318183813, 13.377753682027409], [52.509091094279995, 13.37770525651835], [52.50910371515121, 13.377657839746279], [52.50912092290588, 13.37761188836063], [52.50914255182392, 13.377567844898365], [52.509168393607034, 13.377526133522107], [52.50919819938472, 13.377487155935206], [52.50923168211104, 13.377451287513134], [52.50926851932905, 13.377418873688404], [52.509308356276186, 13.377390226623865], [52.50935080930088, 13.37736562220641], [52.50939546955729, 13.377345297390029], [52.50944190694274, 13.377329447913814], [52.50948967423982, 13.377318226416886], [52.509538311423356, 13.377311740968393], [52.50958735009067, 13.377310054026752], [52.50963631797259, 13.377313181838131], [52.50968474348165, 13.377321094279997], [52.50973216025372, 13.37733371515121], [52.50977811163937, 13.37735092290588], [52.50982215510164, 13.377372551823925], [52.50986386647789, 13.377398393607038], [52.5099028440648, 13.377428199384722], [52.509938712486864, 13.377461682111043], [52.5099711263116, 13.377498519329048], [52.50999977337614, 13.377538356276185], [52.51002437779359, 13.377580809300879], [52.51004470260997, 13.377625469557293], [52.51006055208619, 13.377671906942744], [52.510071773583114, 13.377719674239827], [52.51009877358312, 13.377866674239828]],\n", " {"bubblingMouseEvents": true, "color": "#FF0000", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#FF0000", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_c29fa1b0f5191979c5281af51cd32075 = L.popup({"maxWidth": "100%"});\n", + " var popup_3d25736988cff860f55c0c55f1b719b0 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_ba15d187925ea4c96312efbe8e93e43e = $(`<div id="html_ba15d187925ea4c96312efbe8e93e43e" style="width: 100.0%; height: 100.0%;">Leiziger Straße</div>`)[0];\n", - " popup_c29fa1b0f5191979c5281af51cd32075.setContent(html_ba15d187925ea4c96312efbe8e93e43e);\n", + " var html_a947598df4dbca895ff78a9a456a5a5b = $(`<div id="html_a947598df4dbca895ff78a9a456a5a5b" style="width: 100.0%; height: 100.0%;">Leiziger Straße</div>`)[0];\n", + " popup_3d25736988cff860f55c0c55f1b719b0.setContent(html_a947598df4dbca895ff78a9a456a5a5b);\n", " \n", " \n", "\n", - " polygon_4baf1cacaf7a95dcb57640d52a2dd09f.bindPopup(popup_c29fa1b0f5191979c5281af51cd32075)\n", + " polygon_21ce7760a20441e99f78068894189b65.bindPopup(popup_3d25736988cff860f55c0c55f1b719b0)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_77eac245065b8fbfa01af315f30a367a = L.polygon(\n", + " var polygon_3ade48c83282b6638bea3d32bc92af1a = L.polygon(\n", " [[52.51206779588215, 13.416439868689057], [52.512663109857904, 13.416735041061006], [52.51266974680022, 13.416738393543241], [52.51320147174872, 13.417011962176167], [52.513714049685355, 13.417219093297673], [52.51372234171618, 13.417222060233744], [52.513766698368414, 13.417243039367825], [52.51380878511651, 13.417268265193849], [52.51384819664208, 13.417297494773319], [52.5138845533906, 13.417330446609407], [52.51391750522668, 13.417366803357918], [52.513946734806154, 13.41740621488349], [52.513971960632176, 13.417448301631586], [52.513992939766254, 13.417492658283816], [52.51400947016786, 13.417538857661372], [52.5140213926402, 13.417586454838991], [52.51402859236334, 13.417634991429834], [52.514031, 13.417684], [52.51402859236334, 13.417733008570165], [52.5140213926402, 13.417781545161008], [52.51400947016786, 13.417829142338627], [52.513992939766254, 13.417875341716183], [52.513971960632176, 13.417919698368413], [52.513946734806154, 13.417961785116509], [52.51391750522668, 13.41800119664208], [52.5138845533906, 13.418037553390592], [52.51384819664208, 13.41807050522668], [52.51380878511651, 13.41809973480615], [52.513766698368414, 13.418124960632174], [52.51372234171618, 13.418145939766255], [52.513676142338625, 13.418162470167866], [52.513628545161005, 13.418174392640202], [52.513580008570166, 13.418181592363336], [52.513531, 13.418184], [52.51353, 13.418184], [52.513482069571374, 13.418181697371915], [52.51343458060654, 13.418174810696044], [52.51338797050322, 13.418163403402202], [52.51334266856433, 13.41814758055741], [52.512805668564326, 13.41793058055741], [52.512764253199784, 13.417911606456759], [52.51221555920673, 13.417629307373375], [52.5116198901421, 13.417333958938993], [52.51161254866785, 13.41733024327364], [52.510915548667846, 13.416970243273639], [52.51087311008344, 13.416945613957429], [52.51083328994755, 13.416916943529426], [52.51079647174986, 13.416884508101523], [52.51076301006975, 13.416848620044622], [52.51073322716149, 13.41680962498033], [52.51070740985076, 13.416767898452429], [52.51068580677238, 13.4167238423102], [52.510668625975796, 13.41667788083837], [52.51065603292148, 13.41663045667104], [52.51064814888743, 13.416582026528866], [52.5106450498012, 13.416533056820592], [52.51064676550868, 13.416484019151278], [52.510653279486675, 13.416435385780487], [52.51066452900202, 13.416387625074163], [52.510680405715725, 13.41634119699402], [52.51070075672636, 13.416296548667848], [52.510725386042566, 13.416254110083434], [52.510754056470574, 13.416214289947549], [52.51078649189847, 13.416177471749865], [52.51082237995538, 13.416144010069756], [52.51086137501967, 13.416114227161492], [52.51090310154757, 13.41608840985076], [52.5109471576898, 13.416066806772376], [52.51099311916163, 13.416049625975795], [52.51104054332896, 13.41603703292148], [52.51108897347113, 13.416029148887429], [52.511137943179406, 13.416026049801197], [52.51118698084872, 13.41602776550868], [52.511235614219515, 13.416034279486677], [52.51128337492583, 13.41604552900202], [52.51132980300598, 13.416061405715725], [52.51137445133215, 13.41608175672636], [52.51206779588215, 13.416439868689057]],\n", " {"bubblingMouseEvents": true, "color": "#FF0000", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#FF0000", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_93063bd44be0e1a086d8d874a73d3ea3 = L.popup({"maxWidth": "100%"});\n", + " var popup_56ce4b81d5e7396039058c9efe67aaf9 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_8606b98b7f0dc1289720b288167d34e4 = $(`<div id="html_8606b98b7f0dc1289720b288167d34e4" style="width: 100.0%; height: 100.0%;">Brückenstraße</div>`)[0];\n", - " popup_93063bd44be0e1a086d8d874a73d3ea3.setContent(html_8606b98b7f0dc1289720b288167d34e4);\n", + " var html_0af67de2194697b8fea16b4b2b1ab1b8 = $(`<div id="html_0af67de2194697b8fea16b4b2b1ab1b8" style="width: 100.0%; height: 100.0%;">Brückenstraße</div>`)[0];\n", + " popup_56ce4b81d5e7396039058c9efe67aaf9.setContent(html_0af67de2194697b8fea16b4b2b1ab1b8);\n", " \n", " \n", "\n", - " polygon_77eac245065b8fbfa01af315f30a367a.bindPopup(popup_93063bd44be0e1a086d8d874a73d3ea3)\n", + " polygon_3ade48c83282b6638bea3d32bc92af1a.bindPopup(popup_56ce4b81d5e7396039058c9efe67aaf9)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_8de391c97385accdb86bda239fea5d88 = L.polygon(\n", - " [[52.52466526469511, 13.32822931964255], [52.52461308332355, 13.328431153249506], [52.5246127746522, 13.328432341148837], [52.5244547746522, 13.329037341148837], [52.52445459495327, 13.329038027245792], [52.524340594953266, 13.329472027245792], [52.52432545834193, 13.329519776376781], [52.52430562010181, 13.32956577138458], [52.52428127933717, 13.329609550645534], [52.524258834364005, 13.329645547300604], [52.52423235845816, 13.329723462109232], [52.52423059975942, 13.329811836721149], [52.52425103865475, 13.329980850663333], [52.5242625518965, 13.330049930113844], [52.52439092796033, 13.330752048432178], [52.524612907405206, 13.3318400463391], [52.52461446817125, 13.331848026978673], [52.524841468171246, 13.333061026978672], [52.52484221378775, 13.333065104680731], [52.52484721378775, 13.333093104680731], [52.52484769489653, 13.33309584285739], [52.524888954313965, 13.333334558058256], [52.52502513932205, 13.33404828678674], [52.525031766793816, 13.334094795985578], [52.52503399992267, 13.334141721906922], [52.525031818994286, 13.334188650283307], [52.52502524326216, 13.334235166825586], [52.525020861227496, 13.33425827209925], [52.52513834261789, 13.334881358584616], [52.52513875867528, 13.334883593112622], [52.52526770778844, 13.335584998137215], [52.5254165450825, 13.336169646592976], [52.525416756278204, 13.33617047918243], [52.525784756278206, 13.33762647918243], [52.52578593241348, 13.337631230353942], [52.525896490070025, 13.338087405189084], [52.52608718481464, 13.33884919096575], [52.526173288231305, 13.339173810743523], [52.526182079040154, 13.3392133534082], [52.52623107904016, 13.3394853534082], [52.52623759965495, 13.339536605025886], [52.526255599654945, 13.339776605025886], [52.52625678625072, 13.339828618604248], [52.52625256152013, 13.339880473902866], [52.52624297120553, 13.339931609469835], [52.52619645428313, 13.34012382090389], [52.526120036733225, 13.340720833012535], [52.52607475921799, 13.341082068840597], [52.52602129472996, 13.341593941809325], [52.52601909143577, 13.341611888985005], [52.5258887393042, 13.342535299504883], [52.525855339348375, 13.34280839326129], [52.525832376341924, 13.34299808766244], [52.52583216953388, 13.342999772110643], [52.52580196648506, 13.343242370793051], [52.525687598025605, 13.344404951046146], [52.525686263713325, 13.34441701087477], [52.52558926371332, 13.34520601087477], [52.52558918973006, 13.34520660967276], [52.52549625692462, 13.345955068503729], [52.52545632293877, 13.346282527187652], [52.52522039305167, 13.348213953294223], [52.52518047339659, 13.348548280405561], [52.52518012398722, 13.34855113685946], [52.52511646309854, 13.349059429267507], [52.52508777263721, 13.34931071813574], [52.52508589948375, 13.349325235531758], [52.52506689948375, 13.349457235531759], [52.52505935207469, 13.349497749520317], [52.52502335207469, 13.349654749520317], [52.525013030001446, 13.349692807802596], [52.524999740843484, 13.3497299342935], [52.524919595372985, 13.349928756710687], [52.52481527776504, 13.350778896468876], [52.524814956021935, 13.350781463566777], [52.52478834395231, 13.350989431962756], [52.52476269479284, 13.35121139584274], [52.524762265840835, 13.351214993567014], [52.52474029990876, 13.35139371637808], [52.524641373943524, 13.352206108395544], [52.524618466079566, 13.352396343265806], [52.52459751761806, 13.352572908869929], [52.52453148912586, 13.353127148524024], [52.524531102909876, 13.353130304918036], [52.52445115748655, 13.353766870351254], [52.524425474836484, 13.353974307140295], [52.5244097200999, 13.354111176414385], [52.52440928295077, 13.354114854192744], [52.52424832291077, 13.355427528307759], [52.52419936244217, 13.355831202375416], [52.52415643225632, 13.356183629805237], [52.524120530561596, 13.356486799671769], [52.524120248795064, 13.35648913209794], [52.524103248795065, 13.356627132097941], [52.52410270558175, 13.356631390949083], [52.52407170558175, 13.356866390949083], [52.52403964980092, 13.357107812421694], [52.524039427903915, 13.357109462523095], [52.524009056730264, 13.357332500829536], [52.523916106385, 13.358397474466285], [52.52391563731696, 13.35840254998215], [52.52390763731696, 13.35848454998215], [52.52390602466205, 13.35849892483324], [52.52377808340417, 13.35950746178017], [52.52337454427049, 13.362736766346178], [52.523371188714854, 13.362965783018783], [52.523375337063165, 13.363046260976155], [52.52337565210559, 13.36309064868293], [52.52337202915441, 13.363134889410649], [52.52330122928006, 13.363693310954813], [52.523108419355964, 13.36529573125667], [52.52310833225767, 13.365296450723696], [52.523051332257666, 13.365764450723695], [52.52305091181737, 13.365767808066792], [52.52299395892004, 13.366210441988164], [52.52286237170757, 13.367245195977144], [52.52278470446794, 13.36791831205399], [52.52277669513652, 13.36796672163232], [52.5227639794038, 13.368014113053539], [52.52274667972922, 13.368060029912352], [52.5227249627181, 13.368104030004307], [52.52269903751714, 13.368145689584468], [52.522669153800194, 13.368184607448303], [52.522635599363795, 13.368220408795509], [52.522598697355505, 13.368252748839542], [52.522558803161836, 13.368281316128098], [52.522516300985686, 13.368305835542573], [52.52247160014624, 13.3683260709476], [52.52242513113702, 13.36834182746517], [52.52237734147998, 13.368352953351401], [52.52232869141566, 13.36835934145793], [52.522279649470754, 13.368360930263798], [52.52223068794601, 13.368357704467936], [52.52218227836768, 13.368349695136521], [52.52213488694647, 13.368336979403793], [52.52208897008765, 13.368319679729211], [52.5220449699957, 13.368297962718096], [52.522003310415535, 13.368272037517139], [52.5219643925517, 13.368242153800194], [52.52192859120449, 13.368208599363793], [52.52189625116046, 13.368171697355503], [52.5218676838719, 13.368131803161836], [52.52184316445743, 13.368089300985682], [52.521822929052405, 13.368044600146236], [52.521807172534835, 13.367998131137014], [52.5217960466486, 13.367950341479979], [52.521789658542076, 13.367901691415653], [52.5217880697362, 13.367852649470752], [52.52179129553207, 13.36780368794601], [52.52186929553206, 13.36712768794601], [52.52186999451797, 13.367121924158354], [52.52200199451797, 13.366083924158355], [52.522002088182624, 13.366083191933207], [52.52205887228258, 13.365641869893206], [52.52211562393257, 13.365175908977504], [52.52230858064404, 13.363572268743331], [52.522308970845586, 13.363569110589353], [52.5223743711076, 13.363053277536816], [52.522371662936834, 13.363000739023846], [52.52237105366174, 13.362967674778933], [52.52237505366174, 13.362694674778933], [52.52237885871845, 13.36264000138115], [52.52278585871845, 13.359383001381149], [52.52278597533795, 13.359382075166758], [52.52291306503331, 13.35838025092755], [52.52292011521353, 13.358307986580302], [52.523013893614994, 13.357233525533715], [52.52301657209608, 13.357209537476905], [52.523048459773904, 13.35697536234293], [52.523080322219165, 13.356735398302021], [52.52311101366905, 13.356502737310944], [52.52312760758183, 13.356368033783713], [52.5231634694384, 13.35606520032823], [52.523163668824104, 13.356063540395006], [52.523206653157345, 13.35571066900813], [52.52325563755783, 13.355306797624584], [52.52325571704923, 13.355306145807255], [52.52341649166394, 13.353994983887288], [52.523432279900106, 13.353857823585615], [52.52343278869763, 13.35385356431495], [52.52345878869763, 13.353643564314948], [52.52345889709012, 13.353642695081964], [52.52353869896362, 13.353007272664229], [52.523604496598075, 13.352454971308381], [52.52362548238194, 13.35227809113007], [52.523625586219524, 13.352277222424345], [52.52364858621952, 13.352086222424344], [52.52364866633345, 13.35208556084503], [52.523747666333456, 13.35127256084503], [52.523747734159166, 13.351272006432986], [52.52376951316542, 13.351094804518393], [52.52379530520716, 13.35087160415726], [52.52379604397807, 13.350865536433224], [52.523822879785804, 13.350655819565306], [52.52392972223495, 13.349785103531124], [52.523930386049656, 13.349779918139964], [52.523936386049655, 13.349734918139964], [52.52394362871269, 13.34969379232426], [52.523954277841426, 13.34965341429877], [52.52396825915651, 13.3496140657065], [52.52405748182805, 13.349392724848252], [52.52408003869995, 13.349294351823595], [52.524095057677194, 13.349190009455404], [52.52412322736279, 13.34894328186426], [52.52412387601278, 13.348937863140542], [52.52418769719789, 13.348428290865693], [52.52422752660341, 13.348094719594439], [52.52422768911747, 13.348093374032981], [52.524463683084235, 13.346161423423693], [52.524503677061226, 13.345833472812346], [52.524503810269934, 13.34583239032724], [52.52459677309741, 13.345083689705985], [52.524692995961665, 13.34430101094413], [52.5248074019744, 13.343138048953854], [52.52480883046613, 13.343125227889358], [52.52483972563285, 13.342877069937295], [52.52486262365808, 13.34268791233756], [52.52486269802007, 13.342687301196701], [52.52489669802007, 13.342409301196701], [52.52489790856423, 13.342400111014996], [52.525027644630946, 13.341481064679725], [52.52508070527004, 13.340973058190675], [52.525081881886784, 13.340962816258292], [52.52512788188678, 13.340595816258292], [52.52512804634584, 13.340594517932269], [52.52520804634584, 13.33996951793227], [52.52521802879447, 13.339915390530166], [52.525252513123114, 13.339772898681614], [52.52524233493084, 13.339637189451174], [52.52520151480859, 13.339410596119551], [52.52511971176869, 13.339102189256478], [52.52511796597146, 13.339095416601667], [52.52492596597146, 13.338328416601668], [52.52492506758652, 13.338324769646059], [52.52481464402647, 13.337869148109979], [52.524447348962426, 13.336415937204425], [52.5242944549175, 13.335815353407023], [52.52428724132472, 13.335782406887379], [52.524155446814, 13.335065524624527], [52.52402065738211, 13.334350641415385], [52.524014156629796, 13.334304389424888], [52.52401200007149, 13.334257732639083], [52.52401420652536, 13.334211078186273], [52.52402075673785, 13.334164833174414], [52.52402503347986, 13.334142283080164], [52.52390586067796, 13.333517713213261], [52.52390430510347, 13.333509157142611], [52.523862541851564, 13.333267526899439], [52.52385815056875, 13.333242935715688], [52.523632279762104, 13.33203596968719], [52.523410092594794, 13.3309469536609], [52.52340815383216, 13.330936929679071], [52.52327815383216, 13.33022592967907], [52.52327680303808, 13.330218199493654], [52.52326280303808, 13.330134199493655], [52.52325961641313, 13.330112027782596], [52.52323361641313, 13.329897027782595], [52.523230098978054, 13.329827051720963], [52.52323409897805, 13.329626051720965], [52.523237744026545, 13.32957492620193], [52.52324660394138, 13.329524442472035], [52.52326058561886, 13.329475131035533], [52.52333058561886, 13.329269131035533], [52.52335216930636, 13.329215876147336], [52.52337972066283, 13.329165449354466], [52.523392646938355, 13.32914471853523], [52.523487314954245, 13.328784315737893], [52.52364507028277, 13.328180252612873], [52.523697916676454, 13.327975846750494], [52.523699595284306, 13.32796952494429], [52.523832595284304, 13.32748152494429], [52.523847805003854, 13.327434874101904], [52.5238675140666, 13.327389938709292], [52.52389153266352, 13.327347151518845], [52.52391962948237, 13.327306924594602], [52.523951533935445, 13.32726964534383], [52.523986938765404, 13.327235672786092], [52.524025503004395, 13.327205334095693], [52.52406685525771, 13.327178921450805], [52.52411059728053, 13.327156689219636], [52.52415630781329, 13.32713885151073], [52.52420354663855, 13.32712558011097], [52.52425185882062, 13.32711700283119], [52.52430077908675, 13.327113202275289], [52.524349836308055, 13.327114215044691], [52.524398558036665, 13.327120031385878], [52.52444647505571, 13.327130595284304], [52.5244931258981, 13.32714580500385], [52.52453806129071, 13.327165514066603], [52.52458084848116, 13.327189532663516], [52.5246210754054, 13.327217629482371], [52.524658354656175, 13.327249533935442], [52.52469232721391, 13.327284938765404], [52.52472266590431, 13.327323503004392], [52.5247490785492, 13.327364855257704], [52.524771310780366, 13.327408597280533], [52.52478914848927, 13.327454307813289], [52.524802419889035, 13.327501546638553], [52.52481099716881, 13.327549858820614], [52.524814797724716, 13.327598779086749], [52.524813784955306, 13.327647836308053], [52.52480796861412, 13.327696558036667], [52.5247974047157, 13.32774447505571], [52.52466526469511, 13.32822931964255]],\n", + " var polygon_da43ed61052d604eeb5c10f6cde336f9 = L.polygon(\n", + " [[52.524762497386526, 13.327853286619487], [52.52466631542128, 13.32822525564836], [52.524652548586964, 13.32827933964032], [52.52465216817079, 13.328280824606537], [52.52461916817079, 13.328408824606537], [52.52461738191062, 13.32841555870288], [52.52461209236959, 13.328434953686672], [52.52445543623438, 13.329034807875283], [52.52445307125008, 13.3290442678125], [52.52445068169651, 13.329053454512607], [52.524441198886194, 13.329088540910766], [52.52439170088671, 13.329277623268776], [52.524391569540974, 13.32927812395149], [52.524340569540975, 13.32947212395149], [52.52432416803701, 13.329523196591428], [52.524302389571176, 13.329572218242854], [52.52427548480699, 13.329618624681487], [52.52425929865481, 13.329643379973058], [52.524232366579135, 13.329723054030264], [52.52423058494769, 13.329812581010426], [52.52424999684779, 13.329977193923304], [52.52426230068821, 13.330048556197724], [52.52439182475114, 13.330756953188075], [52.52457788318492, 13.331771817372308], [52.52483986086523, 13.333052818501123], [52.52484221378775, 13.333065104680731], [52.52484721378775, 13.333093104680731], [52.52484769489653, 13.33309584285739], [52.52488893552848, 13.333334449370815], [52.52501509793167, 13.333994070124515], [52.52501564100249, 13.333996955369882], [52.52502564100249, 13.334050955369882], [52.52503195492646, 13.334096823775976], [52.52503399883452, 13.334143079572947], [52.525031755199954, 13.334189326112464], [52.52502524326216, 13.334235166825586], [52.525020861227496, 13.33425827209925], [52.52513834261789, 13.334881358584616], [52.52513875867528, 13.334883593112622], [52.52526770778844, 13.335584998137215], [52.5254165450825, 13.336169646592976], [52.525416756278204, 13.33617047918243], [52.525784756278206, 13.33762647918243], [52.52578593241348, 13.337631230353942], [52.525896490070025, 13.338087405189084], [52.52608718481464, 13.33884919096575], [52.526173288231305, 13.339173810743523], [52.526182079040154, 13.3392133534082], [52.52623107904016, 13.3394853534082], [52.52623759965495, 13.339536605025886], [52.526255599654945, 13.339776605025886], [52.52625678625072, 13.339828618604248], [52.52625256152013, 13.339880473902866], [52.52624297120553, 13.339931609469835], [52.52619645428313, 13.34012382090389], [52.526120036733225, 13.340720833012535], [52.52607475921799, 13.341082068840597], [52.52602129472996, 13.341593941809325], [52.52601909143577, 13.341611888985005], [52.5258887393042, 13.342535299504883], [52.525855339348375, 13.34280839326129], [52.525832376341924, 13.34299808766244], [52.52583216953388, 13.342999772110643], [52.52580196648506, 13.343242370793051], [52.525687598025605, 13.344404951046146], [52.525686263713325, 13.34441701087477], [52.52558926371332, 13.34520601087477], [52.52558918973006, 13.34520660967276], [52.52549625692462, 13.345955068503729], [52.52545632293877, 13.346282527187652], [52.52545619027665, 13.346283605270516], [52.52536428889665, 13.347023810950752], [52.52522042945801, 13.34821364839113], [52.52518047339659, 13.348548280405561], [52.5251803739065, 13.34854910777774], [52.5251183739065, 13.34906110777774], [52.5251182883632, 13.349061810036597], [52.52508738205817, 13.34931404536476], [52.52507147339658, 13.34944728040557], [52.525070473255006, 13.349455128634537], [52.52504947325501, 13.349610128634538], [52.52504111801253, 13.349655765428507], [52.525028568631285, 13.349700431299938], [52.525011933162794, 13.349743741670851], [52.52499135484024, 13.349785323634265], [52.5249670108452, 13.349824819164978], [52.52494988753432, 13.349849913672305], [52.52491651798534, 13.349953835981987], [52.524816440463795, 13.350769421017368], [52.52479924061663, 13.350973908089243], [52.524799058955054, 13.35097601451231], [52.52478005895505, 13.35119101451231], [52.52477971371642, 13.351194760407134], [52.52476071371642, 13.351392760407135], [52.52475905336047, 13.35140769819426], [52.52465705336047, 13.35221469819426], [52.5246569748898, 13.35221531594337], [52.524632974889805, 13.35240331594337], [52.524632632508734, 13.352405942522621], [52.52460177945926, 13.352637838023487], [52.524537994583255, 13.353134164089916], [52.52445806637675, 13.353767595126408], [52.52445791788765, 13.35376876087126], [52.524430946488806, 13.353978538417847], [52.52441306457983, 13.354118613371444], [52.52419924278824, 13.355832185205927], [52.52415643225632, 13.356183629805237], [52.524120530561596, 13.356486799671769], [52.524120248795064, 13.35648913209794], [52.524103248795065, 13.356627132097941], [52.52410270558175, 13.356631390949083], [52.52407170558175, 13.356866390949083], [52.52403964980092, 13.357107812421694], [52.524039427903915, 13.357109462523095], [52.524009056730264, 13.357332500829536], [52.523916106385, 13.358397474466285], [52.52391563731696, 13.35840254998215], [52.52390763731696, 13.35848454998215], [52.52390614656, 13.358497956363635], [52.523781146560005, 13.359498956363636], [52.52337454051147, 13.36273792149229], [52.523371189408714, 13.362965796479697], [52.523375337063165, 13.363046260976155], [52.52337565210559, 13.36309064868293], [52.52337202915441, 13.363134889410649], [52.52330122928006, 13.363693310954813], [52.523108419355964, 13.36529573125667], [52.52310833225767, 13.365296450723696], [52.523051332257666, 13.365764450723695], [52.52305091181737, 13.365767808066792], [52.52299395892004, 13.366210441988164], [52.522862023649495, 13.367247932979264], [52.52278708774902, 13.36783992659303], [52.52278770299968, 13.367857768862063], [52.52278698574002, 13.367906831293743], [52.522781462974905, 13.367955587172665], [52.52277118789159, 13.36800356695306], [52.52275625944475, 13.368050308563417], [52.52273682140347, 13.368095361856472], [52.52271306096673, 13.36813829294439], [52.52268520696052, 13.368178688377322], [52.522653527634134, 13.368216159125167], [52.522618328076824, 13.36825034432414], [52.52257994727955, 13.368280914752088], [52.52253875487039, 13.368307575999077], [52.52249514755474, 13.368330071302726], [52.52244954529491, 13.368348184020961], [52.52240238726558, 13.368361739718406], [52.52235412762435, 13.368370607846284], [52.52230523113794, 13.368374702999676], [52.52225616870626, 13.368373985740016], [52.522207412827335, 13.368368462974905], [52.522159433046944, 13.368358187891591], [52.52211269143659, 13.368343259444744], [52.52206763814353, 13.368323821403468], [52.522024707055614, 13.368300060966726], [52.52198431162268, 13.368272206960512], [52.52194684087484, 13.368240527634134], [52.52191265567586, 13.36820532807682], [52.52188208524792, 13.368166947279551], [52.521855424000925, 13.368125754870386], [52.52183292869728, 13.368082147554741], [52.52181481597904, 13.368036545294908], [52.5218012602816, 13.367989387265572], [52.52179239215372, 13.367941127624341], [52.52178829700033, 13.367892231137937], [52.521786297000325, 13.367834231137937], [52.52178652252885, 13.36779414708304], [52.52178995826366, 13.367754209906796], [52.52186995826366, 13.367122209906794], [52.52200199451797, 13.366083924158355], [52.522002088182624, 13.366083191933207], [52.52205887228258, 13.365641869893206], [52.52211562393257, 13.365175908977504], [52.52230858064404, 13.363572268743331], [52.522308970845586, 13.363569110589353], [52.5223743711076, 13.363053277536816], [52.522371662936834, 13.363000739023846], [52.522371054056975, 13.362967647853784], [52.52237505405697, 13.362695647853783], [52.52237889384765, 13.362640720905553], [52.522788873592106, 13.359374882258312], [52.52291301763387, 13.35838073677181], [52.52292011521353, 13.358307986580302], [52.523013893614994, 13.357233525533715], [52.52301657209608, 13.357209537476905], [52.523048459773904, 13.35697536234293], [52.523080322219165, 13.356735398302021], [52.52311101366905, 13.356502737310944], [52.52312760758183, 13.356368033783713], [52.5231634694384, 13.35606520032823], [52.523163668824104, 13.356063540395006], [52.5232066688241, 13.355710540395007], [52.52320684772076, 13.355709089453203], [52.52342084772076, 13.353994089453202], [52.523421025110196, 13.353992684056605], [52.5234390251102, 13.353851684056606], [52.52346600718298, 13.353641821912646], [52.52354593362325, 13.353008404873592], [52.523546078514485, 13.353007267118326], [52.52361007851449, 13.352509267118325], [52.52361036749127, 13.352507057477379], [52.52364119282212, 13.35227537031325], [52.52366498568252, 13.352088992906742], [52.523766004193035, 13.351289758220636], [52.52378410661862, 13.351101111890845], [52.5238028479874, 13.35088903850738], [52.52382075938337, 13.350676091910758], [52.523822722234954, 13.350657103531125], [52.52392972223495, 13.349785103531124], [52.52393766148246, 13.34973864315446], [52.523949940297946, 13.349693136792917], [52.52401994029795, 13.349475136792917], [52.524036790078966, 13.349430196439803], [52.52405787111289, 13.349387078688618], [52.524074147198874, 13.349360577539201], [52.524078995626866, 13.34932479152306], [52.52409452660342, 13.34919471959443], [52.5240947116368, 13.349193189963403], [52.52412566861684, 13.348940541061793], [52.52418757600348, 13.34842930586892], [52.52422752660341, 13.348094719594439], [52.52422761502699, 13.348093983680844], [52.524371615026986, 13.346902983680845], [52.52437180972335, 13.346901394729484], [52.52446374280677, 13.346160933698888], [52.524503677061226, 13.345833472812346], [52.524503810269934, 13.34583239032724], [52.52459677309741, 13.345083689705985], [52.524692995961665, 13.34430101094413], [52.5248074019744, 13.343138048953854], [52.52480883046613, 13.343125227889358], [52.52483972563285, 13.342877069937295], [52.52486262365808, 13.34268791233756], [52.52486269802007, 13.342687301196701], [52.52489669802007, 13.342409301196701], [52.52489790856423, 13.342400111014996], [52.525027644630946, 13.341481064679725], [52.52508070527004, 13.340973058190675], [52.525081881886784, 13.340962816258292], [52.52512788188678, 13.340595816258292], [52.52512804634584, 13.340594517932269], [52.52520804634584, 13.33996951793227], [52.52521802879447, 13.339915390530166], [52.525252513123114, 13.339772898681614], [52.52524233493084, 13.339637189451174], [52.52520151480859, 13.339410596119551], [52.52511971176869, 13.339102189256478], [52.52511796597146, 13.339095416601667], [52.52492596597146, 13.338328416601668], [52.52492506758652, 13.338324769646059], [52.52481464402647, 13.337869148109979], [52.524447348962426, 13.336415937204425], [52.5242944549175, 13.335815353407023], [52.52428724132472, 13.335782406887379], [52.524155446814, 13.335065524624527], [52.52402065738211, 13.334350641415385], [52.524014156629796, 13.334304389424888], [52.52401200007149, 13.334257732639083], [52.52401420652536, 13.334211078186273], [52.52402075673785, 13.334164833174414], [52.52402517564735, 13.33414153346975], [52.52390590206833, 13.333517929875486], [52.52390430510347, 13.333509157142611], [52.523862541851564, 13.333267526899439], [52.52385888582078, 13.333247053127065], [52.52359713913477, 13.331967181498877], [52.52359519672132, 13.33195716393443], [52.52340819672131, 13.33093716393443], [52.52327815383216, 13.33022592967907], [52.52327726994213, 13.330220953458241], [52.52326226994213, 13.330133953458242], [52.523258440704566, 13.33010755652069], [52.523233440704566, 13.32989555652069], [52.523230098978054, 13.329827051720963], [52.52323409897805, 13.329626051720965], [52.523237711635836, 13.329575189971212], [52.52324648563085, 13.329524960638189], [52.52326032971462, 13.32947588610071], [52.52333232971462, 13.32926288610071], [52.52334750698951, 13.329223540331562], [52.52336594587222, 13.329185613470006], [52.52338751519301, 13.329149375318513], [52.52339407638988, 13.32913934054683], [52.52342436465666, 13.329024126355518], [52.52347429911329, 13.328833376731223], [52.5234753183035, 13.328829545487393], [52.523484079922895, 13.328797127495617], [52.52348592874993, 13.328789732187499], [52.52348722534781, 13.328784658851163], [52.523645225347806, 13.328179658851163], [52.52364661808938, 13.32817444129712], [52.52365170150057, 13.328155802122769], [52.52368364048291, 13.328031917585205], [52.52369745141304, 13.32797766035968], [52.52369792120644, 13.327975829230168], [52.523795921206435, 13.327596829230167], [52.52379923802618, 13.327584639436033], [52.52383123802618, 13.327472639436033], [52.52384701671617, 13.32742617795084], [52.52386727344936, 13.327381486772468], [52.52389181314235, 13.327338996301396], [52.52392039946447, 13.327299115744086], [52.523952757113825, 13.327262229172108], [52.523988574468554, 13.327228691823313], [52.524027506587956, 13.327198826680704], [52.52406917853443, 13.32717292136193], [52.52411318898436, 13.327151225349372], [52.52415911409305, 13.327133947587491], [52.5242065115766, 13.32712125447058], [52.52425492497134, 13.327113268240291], [52.5243038880298, 13.327110065808391], [52.52435292921096, 13.327111678016047], [52.52440157622146, 13.32711808933682], [52.52444936056397, 13.327129238026185], [52.52449582204916, 13.327145016716168], [52.524540513227535, 13.327165273449362], [52.52458300369861, 13.327189813142349], [52.52462288425591, 13.327218399464472], [52.524659770827895, 13.327250757113825], [52.52469330817669, 13.327286574468554], [52.524723173319295, 13.32732550658795], [52.524749078638074, 13.327367178534427], [52.52477077465063, 13.327411188984357], [52.52478805241251, 13.327457114093047], [52.524800745529426, 13.327504511576599], [52.52480873175971, 13.327552924971332], [52.52481193419161, 13.327601888029793], [52.524810321983956, 13.327650929210963], [52.52480391066318, 13.327699576221454], [52.52479276197382, 13.327747360563967], [52.524762497386526, 13.327853286619487]],\n", " {"bubblingMouseEvents": true, "color": "#FF0000", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#FF0000", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_1e01a547bcbbc12e78469fd9eef492b2 = L.popup({"maxWidth": "100%"});\n", + " var popup_63834be1656005044bfd470fef50195e = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_3b3f1f14b4880f999d8baa54f5bc2d40 = $(`<div id="html_3b3f1f14b4880f999d8baa54f5bc2d40" style="width: 100.0%; height: 100.0%;">Alt-Moabit</div>`)[0];\n", - " popup_1e01a547bcbbc12e78469fd9eef492b2.setContent(html_3b3f1f14b4880f999d8baa54f5bc2d40);\n", + " var html_5eb0daab38c0f2f9944018cad04a4104 = $(`<div id="html_5eb0daab38c0f2f9944018cad04a4104" style="width: 100.0%; height: 100.0%;">Alt-Moabit</div>`)[0];\n", + " popup_63834be1656005044bfd470fef50195e.setContent(html_5eb0daab38c0f2f9944018cad04a4104);\n", " \n", " \n", "\n", - " polygon_8de391c97385accdb86bda239fea5d88.bindPopup(popup_1e01a547bcbbc12e78469fd9eef492b2)\n", + " polygon_da43ed61052d604eeb5c10f6cde336f9.bindPopup(popup_63834be1656005044bfd470fef50195e)\n", " ;\n", "\n", " \n", " \n", " \n", - " var polygon_5ca7e43c9d549a278e1f353d436aa698 = L.polygon(\n", - " [[52.52393355768691, 13.34189746689143], [52.52404687358793, 13.341937315833604], [52.52405632738223, 13.341940747601138], [52.524271940835504, 13.342021479579078], [52.52443053630254, 13.342078260672212], [52.52443211844595, 13.342078830121821], [52.52478198558115, 13.34220542022487], [52.52496885075494, 13.342272015792126], [52.52496998568609, 13.342272421804696], [52.525370985686095, 13.342416421804694], [52.52537985263851, 13.342419700910577], [52.52551385263851, 13.342470700910578], [52.5255181996743, 13.34247237861015], [52.52560796593454, 13.34250750453807], [52.525737463993906, 13.342556750278955], [52.52598863433352, 13.342639844225896], [52.52639019960744, 13.342764467931595], [52.526400113883014, 13.342767658350976], [52.52648178739198, 13.342794882853966], [52.52657350153801, 13.342815726978063], [52.526633048109964, 13.342825129068373], [52.52687935641345, 13.342844868061334], [52.52807070246248, 13.342837010873872], [52.52813852440619, 13.342841180878741], [52.52824055218963, 13.342854458466997], [52.528764259201544, 13.342829563943544], [52.52876665196353, 13.34282945594655], [52.52888365196353, 13.34282445594655], [52.52889743942784, 13.34282405716552], [52.52942643942784, 13.34281605716552], [52.52942937056882, 13.342816021432093], [52.531215752106846, 13.342799480862297], [52.53123780335792, 13.34277949477332], [52.53127721488349, 13.34275026519385], [52.531319301631584, 13.342725039367826], [52.531363658283816, 13.342704060233745], [52.53140985766137, 13.342687529832133], [52.53145745483899, 13.342675607359798], [52.53150599142983, 13.342668407636664], [52.531555, 13.342666], [52.531655, 13.342666], [52.53170092106069, 13.342668113209468], [52.53174645395809, 13.342674434975258], [52.531875453958094, 13.342698434975258], [52.53189386066201, 13.342702218660726], [52.532004860662006, 13.342727218660727], [52.53205096161538, 13.342739946345633], [52.53209563564982, 13.342757020375975], [52.532138474035094, 13.342778284538591], [52.532179084835654, 13.342803544284095], [52.53221709649648, 13.342832568506847], [52.53225216124252, 13.342865091659371], [52.53228395826054, 13.3429008161819], [52.5323121966343, 13.342939415224793], [52.53233661800619, 13.342980535638945], [52.53235699894099, 13.3430238012068], [52.53237315297011, 13.343068816084429], [52.53238493229764, 13.343115168423184], [52.53239222915253, 13.343162434137753], [52.53239497677464, 13.343210180786198], [52.532393150025506, 13.343257971526437], [52.53238676561838, 13.343305369112985], [52.53237588196525, 13.343351939897385], [52.53233288196525, 13.343502939897384], [52.53231733430111, 13.343548931649002], [52.532297399519024, 13.343593198742196], [52.53227326556179, 13.343635323831935], [52.53224515996158, 13.343674909767746], [52.53221334769474, 13.343711583338003], [52.53217812868364, 13.34374499878853], [52.53213983496904, 13.343774841082327], [52.532098827579645, 13.3438008288697], [52.5320554931284, 13.343822717140796], [52.532010240167466, 13.343840299535525], [52.53196349533655, 13.343853410289107], [52.531915699340495, 13.343861925794872], [52.53186730279443, 13.343865765769618], [52.531818761975394, 13.343864894010506], [52.531770534520604, 13.343859318736383], [52.53166411429725, 13.343841744754545], [52.5315480762234, 13.343823827110791], [52.53125157543919, 13.343799192030795], [52.52944009505406, 13.343815964997324], [52.528919457054805, 13.343823838539848], [52.52881054454696, 13.343828492920524], [52.52824374079845, 13.343855436056456], [52.528199528160314, 13.343855580727991], [52.528155475593806, 13.343851819121259], [52.528043244561495, 13.343837213712945], [52.526864297537514, 13.343844989126127], [52.52682105836727, 13.34384340211273], [52.52653405836727, 13.343820402112732], [52.52649601871325, 13.343815881482664], [52.52640101871326, 13.343800881482663], [52.52636818944821, 13.343794566427896], [52.52623618944821, 13.343764566427897], [52.52618888611699, 13.343751341649025], [52.526088826639835, 13.343717988489972], [52.52568780039256, 13.343593532068406], [52.52567895726574, 13.343590697355815], [52.52541295726574, 13.343502697355815], [52.52539227608895, 13.343495348062412], [52.52525027608895, 13.343441348062411], [52.5252458003257, 13.34343962138985], [52.52515596993475, 13.343404470367304], [52.52502856533703, 13.343355980557723], [52.52463258153476, 13.34321378188559], [52.52444514924506, 13.343146984207875], [52.52444288155405, 13.34314616987818], [52.52409267214712, 13.343019455933222], [52.52393146369746, 13.342961739327789], [52.52392467261777, 13.342959252398863], [52.52371038225669, 13.342879015825307], [52.522954155635524, 13.342613079353669], [52.52222846763002, 13.342428516891552], [52.52214818973634, 13.342409403107341], [52.5221428887694, 13.342408110368703], [52.5214138887694, 13.342226110368705], [52.52139633175357, 13.342221386425114], [52.520911331753574, 13.342081386425114], [52.520880089561096, 13.342071245087961], [52.520487089561094, 13.341929245087961], [52.52044056780861, 13.341909729527025], [52.52039624944888, 13.34188562530409], [52.52035458566594, 13.34185717781274], [52.52031600061888, 13.34182467666329], [52.52028088712361, 13.34178845273442], [52.52024960265387, 13.341748874804642], [52.52022246570189, 13.341706345797954], [52.520199752536016, 13.341661298681858], [52.52018169438814, 13.34161419205952], [52.520168475099645, 13.341565505500963], [52.52016022924979, 13.341515734660778], [52.52015704078563, 13.341465386232114], [52.520158942167384, 13.341414972788272], [52.52017494216739, 13.341233972788272], [52.52018144076851, 13.341186514908683], [52.52019245086516, 13.341139896672733], [52.520207871407464, 13.341094545939258], [52.52022756086678, 13.341050878934057], [52.52025133853466, 13.341009296429784], [52.52027898618137, 13.340970180067693], [52.52031025005877, 13.340933888854964], [52.52034484322924, 13.34090075586976], [52.520382448199115, 13.340871085204247], [52.52042271983268, 13.340845149173681], [52.52046528851975, 13.340823185817094], [52.520509763567965, 13.340805396712607], [52.52055573678849, 13.340791945127352], [52.5206027862424, 13.340782954519016], [52.52065048011316, 13.340778507402762], [52.52069838066984, 13.340778644593904], [52.52074604828454, 13.340783364833312], [52.52079304546731, 13.340792624798967], [52.52083894088134, 13.340806339503564], [52.520883313301816, 13.340824383074521], [52.52099211801698, 13.340874828897006], [52.52123413294829, 13.340985489999426], [52.521580879341634, 13.341098695120133], [52.522239059688445, 13.341267608660464], [52.52244481026366, 13.341316596892659], [52.52245163415135, 13.341318272380692], [52.52320263415135, 13.341508272380691], [52.52321512819506, 13.341511605805085], [52.523614128195064, 13.341623605805085], [52.52366066239823, 13.34163916872897], [52.52370544709319, 13.341659217862643], [52.52374805097885, 13.34168356012199], [52.52378806375652, 13.341711961077744], [52.523825100081254, 13.341744147213175], [52.52385880327301, 13.341779808558208], [52.52388884875162, 13.341818601674591], [52.52391494716271, 13.34186015296341], [52.52393355768691, 13.34189746689143]],\n", + " var polygon_341cd1d55072452d742db1a21a3bb1af = L.polygon(\n", + " [[52.52393355768691, 13.34189746689143], [52.52404687358793, 13.341937315833604], [52.52405632738223, 13.341940747601138], [52.524271940835504, 13.342021479579078], [52.52443053630254, 13.342078260672212], [52.52443211844595, 13.342078830121821], [52.52478198558115, 13.34220542022487], [52.52496885075494, 13.342272015792126], [52.52496998568609, 13.342272421804696], [52.525370985686095, 13.342416421804694], [52.52537985263851, 13.342419700910577], [52.52551385263851, 13.342470700910578], [52.5255181996743, 13.34247237861015], [52.52560796593454, 13.34250750453807], [52.525737463993906, 13.342556750278955], [52.52598981133637, 13.3426402336103], [52.52638485192558, 13.342764983270047], [52.52647717913314, 13.34279383552241], [52.52657350153801, 13.342815726978063], [52.526633048109964, 13.342825129068373], [52.52687935641345, 13.342844868061334], [52.52807070246248, 13.342837010873872], [52.52813852440619, 13.342841180878741], [52.52824055218963, 13.342854458466997], [52.528764259201544, 13.342829563943544], [52.52876665196353, 13.34282945594655], [52.52888365196353, 13.34282445594655], [52.52889743942784, 13.34282405716552], [52.52942643942784, 13.34281605716552], [52.52942937056882, 13.342816021432093], [52.531215752106846, 13.342799480862297], [52.53123780335792, 13.34277949477332], [52.53127721488349, 13.34275026519385], [52.531319301631584, 13.342725039367826], [52.531363658283816, 13.342704060233745], [52.53140985766137, 13.342687529832133], [52.53145745483899, 13.342675607359798], [52.53150599142983, 13.342668407636664], [52.531555, 13.342666], [52.5316441355668, 13.342666], [52.531656281387875, 13.342665471920823], [52.53170210975365, 13.342665581618503], [52.53174773557328, 13.342669886932288], [52.53179277554404, 13.342678351693223], [52.53189632096035, 13.342702772781974], [52.532004860662006, 13.342727218660727], [52.53205096161538, 13.342739946345633], [52.53209563564982, 13.342757020375975], [52.532138474035094, 13.342778284538591], [52.532179084835654, 13.342803544284095], [52.53221709649648, 13.342832568506847], [52.53225216124252, 13.342865091659371], [52.53228395826054, 13.3429008161819], [52.5323121966343, 13.342939415224793], [52.53233661800619, 13.342980535638945], [52.53235699894099, 13.3430238012068], [52.53237315297011, 13.343068816084429], [52.53238493229764, 13.343115168423184], [52.53239222915253, 13.343162434137753], [52.53239497677464, 13.343210180786198], [52.532393150025506, 13.343257971526437], [52.53238676561838, 13.343305369112985], [52.53237588196525, 13.343351939897385], [52.53233288196525, 13.343502939897384], [52.53231733430111, 13.343548931649002], [52.532297399519024, 13.343593198742196], [52.53227326556179, 13.343635323831935], [52.53224515996158, 13.343674909767746], [52.53221334769474, 13.343711583338003], [52.53217812868364, 13.34374499878853], [52.53213983496904, 13.343774841082327], [52.532098827579645, 13.3438008288697], [52.5320554931284, 13.343822717140796], [52.532010240167466, 13.343840299535525], [52.53196349533655, 13.343853410289107], [52.531915699340495, 13.343861925794872], [52.53186730279443, 13.343865765769618], [52.531818761975394, 13.343864894010506], [52.531770534520604, 13.343859318736383], [52.53166411429725, 13.343841744754545], [52.53154535610108, 13.3438234070919], [52.53134522879984, 13.343804561023175], [52.531256976481124, 13.34379914202115], [52.52944009505406, 13.343815964997324], [52.528919457054805, 13.343823838539848], [52.52881054454696, 13.343828492920524], [52.52824374079845, 13.343855436056456], [52.528199528160314, 13.343855580727991], [52.528155475593806, 13.343851819121259], [52.528043244561495, 13.343837213712945], [52.526864297537514, 13.343844989126127], [52.52682105836727, 13.34384340211273], [52.52653405836727, 13.343820402112732], [52.52649601871325, 13.343815881482664], [52.52640101871326, 13.343800881482663], [52.52636818944821, 13.343794566427896], [52.52623618944821, 13.343764566427897], [52.52619786250343, 13.343754239989018], [52.52608586250343, 13.343719239989017], [52.52608443431603, 13.343718791332567], [52.52568543431603, 13.343592791332567], [52.52567895726574, 13.343590697355815], [52.52541295726574, 13.343502697355815], [52.52539227608895, 13.343495348062412], [52.52525027608895, 13.343441348062411], [52.5252458003257, 13.34343962138985], [52.52515596993475, 13.343404470367304], [52.52502856533703, 13.343355980557723], [52.52463258153476, 13.34321378188559], [52.52444514924506, 13.343146984207875], [52.52444288155405, 13.34314616987818], [52.52409267214712, 13.343019455933222], [52.52393146369746, 13.342961739327789], [52.52392467261777, 13.342959252398863], [52.52371038225669, 13.342879015825307], [52.522954155635524, 13.342613079353669], [52.52222846763002, 13.342428516891552], [52.52214818973634, 13.342409403107341], [52.5221428887694, 13.342408110368703], [52.5214138887694, 13.342226110368705], [52.52139633175357, 13.342221386425114], [52.520911331753574, 13.342081386425114], [52.520878463736814, 13.342070654458524], [52.520481463736814, 13.341925654458525], [52.520437606521334, 13.341907226826939], [52.52039569907602, 13.341884714630632], [52.52035612075259, 13.341858321652976], [52.520319229819236, 13.341828286806683], [52.52028536021756, 13.34179488197114], [52.520254818539655, 13.341758409531321], [52.520227881252815, 13.341719199640563], [52.52020479219692, 13.341677607231961], [52.520185760377146, 13.341634008805483], [52.52017095807202, 13.341588799019833], [52.52016051927398, 13.341542387119949], [52.52015453847638, 13.341495193232468], [52.52015306981821, 13.341447644562681], [52.520156126593946, 13.341400171527413], [52.520176126593945, 13.341222171527413], [52.520184143962446, 13.341173024886062], [52.52019701013864, 13.34112491945951], [52.520214597507, 13.34107833239019], [52.52023673162402, 13.341033725760441], [52.52026319294841, 13.340991542009247], [52.520293719018724, 13.340952199543832], [52.520328007056555, 13.340916088589607], [52.52036571696976, 13.34088356731965], [52.5204064747257, 13.340854958302106], [52.52044987606113, 13.340830545300726], [52.52049549049201, 13.340810570460315], [52.52054286558328, 13.340795231904965], [52.52059153143649, 13.340784681772933], [52.52064100535048, 13.340779024707626], [52.52069079660923, 13.340778316819675], [52.520740411349074, 13.3407825651304], [52.52078935745717, 13.340791727502154], [52.52083714945262, 13.340805713056284], [52.520883313301816, 13.340824383074521], [52.52099211801698, 13.340874828897006], [52.52123413294829, 13.340985489999426], [52.521580879341634, 13.341098695120133], [52.522239059688445, 13.341267608660464], [52.52244481026366, 13.341316596892659], [52.52245163415135, 13.341318272380692], [52.52320263415135, 13.341508272380691], [52.52321512819506, 13.341511605805085], [52.523614128195064, 13.341623605805085], [52.52366066239823, 13.34163916872897], [52.52370544709319, 13.341659217862643], [52.52374805097885, 13.34168356012199], [52.52378806375652, 13.341711961077744], [52.523825100081254, 13.341744147213175], [52.52385880327301, 13.341779808558208], [52.52388884875162, 13.341818601674591], [52.52391494716271, 13.34186015296341], [52.52393355768691, 13.34189746689143]],\n", " {"bubblingMouseEvents": true, "color": "#FF0000", "dashArray": null, "dashOffset": null, "fill": false, "fillColor": "#FF0000", "fillOpacity": 0.2, "fillRule": "evenodd", "lineCap": "round", "lineJoin": "round", "noClip": false, "opacity": 1.0, "smoothFactor": 1.0, "stroke": true, "weight": 3}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", " \n", - " var popup_a81c5619e00806023d6d999053bc1e15 = L.popup({"maxWidth": "100%"});\n", + " var popup_bb2867ad9b63b776665a4254cba62a36 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_934d0341d00967d514e94eea2988347b = $(`<div id="html_934d0341d00967d514e94eea2988347b" style="width: 100.0%; height: 100.0%;">Stromstraße</div>`)[0];\n", - " popup_a81c5619e00806023d6d999053bc1e15.setContent(html_934d0341d00967d514e94eea2988347b);\n", + " var html_d9295e496126a285e833997dc88469b6 = $(`<div id="html_d9295e496126a285e833997dc88469b6" style="width: 100.0%; height: 100.0%;">Stromstraße</div>`)[0];\n", + " popup_bb2867ad9b63b776665a4254cba62a36.setContent(html_d9295e496126a285e833997dc88469b6);\n", " \n", " \n", "\n", - " polygon_5ca7e43c9d549a278e1f353d436aa698.bindPopup(popup_a81c5619e00806023d6d999053bc1e15)\n", + " polygon_341cd1d55072452d742db1a21a3bb1af.bindPopup(popup_bb2867ad9b63b776665a4254cba62a36)\n", " ;\n", "\n", " \n", " \n", " \n", - " function geo_json_4ad222e47e0ede269c8dd4bc746306ed_styler(feature) {\n", + " function geo_json_e64a6b1b1a9a7e7c49ba9ef1e653df23_styler(feature) {\n", " switch(feature.properties.transfers) {\n", " default:\n", " return {"color": "black", "opacity": 0.5, "weight": 4};\n", " }\n", " }\n", "\n", - " function geo_json_4ad222e47e0ede269c8dd4bc746306ed_onEachFeature(feature, layer) {\n", + " function geo_json_e64a6b1b1a9a7e7c49ba9ef1e653df23_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_4ad222e47e0ede269c8dd4bc746306ed = L.geoJson(null, {\n", - " onEachFeature: geo_json_4ad222e47e0ede269c8dd4bc746306ed_onEachFeature,\n", + " var geo_json_e64a6b1b1a9a7e7c49ba9ef1e653df23 = L.geoJson(null, {\n", + " onEachFeature: geo_json_e64a6b1b1a9a7e7c49ba9ef1e653df23_onEachFeature,\n", " \n", - " style: geo_json_4ad222e47e0ede269c8dd4bc746306ed_styler,\n", + " style: geo_json_e64a6b1b1a9a7e7c49ba9ef1e653df23_styler,\n", " });\n", "\n", - " function geo_json_4ad222e47e0ede269c8dd4bc746306ed_add (data) {\n", - " geo_json_4ad222e47e0ede269c8dd4bc746306ed\n", + " function geo_json_e64a6b1b1a9a7e7c49ba9ef1e653df23_add (data) {\n", + " geo_json_e64a6b1b1a9a7e7c49ba9ef1e653df23\n", " .addData(data)\n", - " .addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " .addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " }\n", - " geo_json_4ad222e47e0ede269c8dd4bc746306ed_add({"bbox": [13.370813, 52.504179, 13.392851, 52.520294], "discriminator": null, "features": [{"bbox": [13.370813, 52.504179, 13.392851, 52.520294], "geometry": {"coordinates": [[13.37208, 52.520294], [13.372085, 52.519573], [13.370864, 52.51957], [13.370864, 52.519401], [13.370847, 52.517876], [13.370813, 52.517779], [13.371258, 52.517778], [13.37422, 52.517767], [13.374418, 52.517765], [13.374567, 52.517764], [13.37654, 52.517759], [13.376766, 52.517759], [13.376834, 52.517758], [13.377196, 52.516996], [13.377211, 52.51679], [13.377136, 52.516688], [13.37707, 52.516649], [13.376924, 52.516579], [13.376764, 52.516445], [13.376728, 52.516389], [13.376706, 52.516265], [13.376726, 52.516156], [13.376795, 52.51603], [13.376902, 52.515951], [13.377229, 52.515828], [13.37741, 52.515713], [13.377464, 52.515588], [13.377456, 52.515391], [13.377353, 52.51459], [13.377309, 52.514289], [13.37717, 52.513628], [13.377057, 52.513036], [13.377031, 52.512588], [13.377026, 52.512472], [13.377029, 52.512358], [13.377018, 52.512269], [13.376752, 52.511001], [13.376699, 52.510758], [13.37656, 52.510098], [13.376544, 52.509964], [13.376564, 52.509707], [13.376571, 52.509595], [13.376582, 52.509419], [13.376645, 52.509089], [13.376703, 52.508935], [13.376834, 52.50877], [13.377079, 52.508577], [13.377838, 52.507946], [13.378131, 52.50771], [13.378373, 52.507516], [13.378522, 52.507398], [13.378961, 52.507064], [13.379075, 52.506978], [13.379275, 52.506818], [13.3796, 52.506559], [13.379896, 52.506332], [13.380244, 52.506065], [13.380275, 52.506041], [13.380348, 52.505983], [13.380436, 52.505913], [13.380642, 52.505749], [13.380863, 52.505577], [13.381341, 52.5052], [13.381439, 52.505122], [13.381627, 52.504964], [13.382257, 52.504467], [13.382379, 52.50451], [13.382831, 52.504609], [13.383053, 52.504678], [13.383368, 52.504738], [13.383849, 52.504831], [13.384387, 52.504935], [13.384588, 52.504974], [13.384782, 52.505011], [13.384929, 52.50504], [13.385473, 52.505144], [13.385521, 52.505154], [13.385835, 52.505214], [13.386618, 52.505338], [13.386719, 52.505103], [13.386856, 52.504864], [13.386906, 52.504806], [13.387043, 52.504563], [13.387081, 52.504492], [13.387183, 52.504271], [13.387409, 52.504304], [13.3887, 52.504383], [13.388899, 52.504396], [13.388999, 52.504402], [13.389453, 52.504432], [13.389646, 52.504445], [13.389671, 52.504447], [13.389894, 52.504463], [13.390292, 52.504491], [13.39086, 52.50453], [13.390905, 52.504256], [13.390917, 52.504179], [13.391511, 52.504228], [13.391577, 52.504234], [13.391727, 52.504251], [13.392051, 52.504285], [13.392851, 52.504367], [13.392832, 52.50447], [13.392789, 52.504721], [13.392728, 52.505076], [13.392712, 52.505171], [13.392708, 52.505191], [13.392635, 52.505618], [13.392588, 52.505894], [13.392544, 52.50615], [13.39251, 52.506328], [13.392473, 52.50652], [13.392415, 52.506832], [13.392362, 52.50709], [13.392335, 52.507282], [13.392312, 52.507448], [13.392305, 52.507494], [13.392258, 52.507819], [13.392214, 52.508124], [13.392212, 52.508136], [13.392131, 52.508696], [13.39162, 52.508674], [13.391505, 52.508668]], "type": "LineString"}, "properties": {"fare": 0, "summary": {"distance": 3799.8, "duration": 681.7}, "transfers": 0, "way_points": [0, 122]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "discriminator": null, "engine": {"build_date": "2023-07-09T01:31:50Z", "discriminator": null, "graph_date": "2023-11-05T11:14:13Z", "version": "7.1.0"}, "id": null, "osm_file_md5_hash": null, "query": {"alternative_routes": null, "attributes": null, "bearings": null, "continue_straight": false, "coordinates": [[13.372582, 52.520295], [13.391476, 52.508856]], "discriminator": null, "elevation": null, "extra_info": null, "geometry": true, "geometry_simplify": false, "id": null, "ignore_transfers": false, "instructions": true, "instructions_format": "text", "language": "en", "maneuvers": false, "maximum_speed": null, "options": {"avoid_borders": null, "avoid_countries": null, "avoid_features": null, "avoid_polygons": {"discriminator": null, "empty": null}, "discriminator": null, "profile_params": null, "round_trip": null, "vehicle_type": "hgv"}, "preference": "shortest", "radiuses": null, "roundabout_exits": false, "schedule": false, "schedule_duration": null, "schedule_rows": null, "skip_segments": null, "suppress_warnings": null, "units": "m", "walking_time": null}, "service": "routing", "system_message": null, "timestamp": 1699273221017}, "type": "FeatureCollection"});\n", + " geo_json_e64a6b1b1a9a7e7c49ba9ef1e653df23_add({"bbox": [13.370813, 52.504271, 13.392412, 52.520294], "features": [{"bbox": [13.370813, 52.504271, 13.392412, 52.520294], "geometry": {"coordinates": [[13.37208, 52.520294], [13.372085, 52.519573], [13.370864, 52.51957], [13.370864, 52.519401], [13.370847, 52.517875], [13.370813, 52.517779], [13.371258, 52.517778], [13.374418, 52.517765], [13.374759, 52.517764], [13.374891, 52.517764], [13.375399, 52.517763], [13.376766, 52.517759], [13.376834, 52.517758], [13.377196, 52.516996], [13.377211, 52.51679], [13.377136, 52.516688], [13.37707, 52.516649], [13.376924, 52.516579], [13.376764, 52.516445], [13.376728, 52.516389], [13.376706, 52.516265], [13.376726, 52.516156], [13.376795, 52.51603], [13.376902, 52.515951], [13.377229, 52.515828], [13.377366, 52.51575], [13.377453, 52.515641], [13.37746, 52.51546], [13.377456, 52.515391], [13.377353, 52.51459], [13.377309, 52.514289], [13.37717, 52.513628], [13.377057, 52.513036], [13.377031, 52.512588], [13.377026, 52.512472], [13.377029, 52.512358], [13.377018, 52.512269], [13.376895, 52.511667], [13.376752, 52.511001], [13.376699, 52.510758], [13.37656, 52.510098], [13.376544, 52.509964], [13.376564, 52.509707], [13.376571, 52.509598], [13.376582, 52.509419], [13.376645, 52.509089], [13.376703, 52.508935], [13.376834, 52.50877], [13.377079, 52.508577], [13.377838, 52.507946], [13.378131, 52.50771], [13.378373, 52.507516], [13.378522, 52.507398], [13.378962, 52.507063], [13.379075, 52.506978], [13.379275, 52.506818], [13.3796, 52.506559], [13.379896, 52.506332], [13.380244, 52.506065], [13.380275, 52.506041], [13.380348, 52.505983], [13.380436, 52.505913], [13.380642, 52.505749], [13.380863, 52.505577], [13.381341, 52.5052], [13.381439, 52.505122], [13.381627, 52.504964], [13.382257, 52.504467], [13.382379, 52.50451], [13.382831, 52.504609], [13.382993, 52.504662], [13.38321, 52.504708], [13.383368, 52.504738], [13.383849, 52.504831], [13.384387, 52.504935], [13.384588, 52.504974], [13.384782, 52.505011], [13.384929, 52.50504], [13.385473, 52.505144], [13.385521, 52.505154], [13.385835, 52.505214], [13.386618, 52.505338], [13.386719, 52.505103], [13.386856, 52.504864], [13.386906, 52.504806], [13.387043, 52.504563], [13.387081, 52.504492], [13.387183, 52.504271], [13.387409, 52.504304], [13.3887, 52.504383], [13.388899, 52.504396], [13.388999, 52.504402], [13.389453, 52.504432], [13.389646, 52.504445], [13.389671, 52.504447], [13.389894, 52.504463], [13.390292, 52.504491], [13.39086, 52.50453], [13.390824, 52.504758], [13.390793, 52.504943], [13.390776, 52.505051], [13.39077, 52.505087], [13.390757, 52.505153], [13.390798, 52.50522], [13.390746, 52.505566], [13.390704, 52.505609], [13.390682, 52.505632], [13.390663, 52.50574], [13.390611, 52.506043], [13.390603, 52.506087], [13.390578, 52.50623], [13.390575, 52.506253], [13.390623, 52.506351], [13.390589, 52.506575], [13.390578, 52.506636], [13.390503, 52.506708], [13.390974, 52.506738], [13.391378, 52.506765], [13.391504, 52.506773], [13.391874, 52.506797], [13.392412, 52.506831], [13.392362, 52.50709], [13.392335, 52.507282], [13.392312, 52.507448], [13.392305, 52.507494], [13.39226, 52.507809], [13.392214, 52.508124], [13.392212, 52.508136], [13.392131, 52.508696], [13.39162, 52.508674], [13.391505, 52.508668]], "type": "LineString"}, "properties": {"fare": 0, "summary": {"distance": 3729.3, "duration": 677.5}, "transfers": 0, "way_points": [0, 130]}, "type": "Feature"}], "metadata": {"attribution": "openrouteservice.org | OpenStreetMap contributors", "engine": {"build_date": "2024-01-29T14:41:12Z", "graph_date": "2024-03-17T13:51:27Z", "version": "7.1.1"}, "query": {"coordinates": [[13.372582, 52.520295], [13.391476, 52.508856]], "format": "geojson", "geometry": true, "instructions_format": "text", "language": "en", "options": {"avoid_polygons": {"coordinates": [[[[13.401810974464928, 52.511240007551464], [13.389978273085106, 52.51017916187814], [13.390562430188933, 52.50631157088781], [13.389993570887816, 52.506731569811066], [13.389445404182093, 52.51013138819975], [13.377753682027409, 52.50908318183813], [13.377866674239828, 52.51009877358312], [13.389312550407677, 52.51095536875265], [13.386886411857185, 52.52600267164673], [13.387372310233589, 52.52743273695178], [13.389854905024917, 52.51099595789921], [13.401087030143259, 52.51183655620544], [13.401810974464928, 52.511240007551464]]], [[[13.41800119664208, 52.51391750522668], [13.416582026528866, 52.51064814888743], [13.416439868689057, 52.51206779588215], [13.417297494773319, 52.51384819664208], [13.41800119664208, 52.51391750522668]]], [[[13.342669886932288, 52.53174773557328], [13.343305369112985, 52.53238676561838], [13.343800881482663, 52.52640101871326], [13.343521165360592, 52.5257392778485], [13.368373985740016, 52.52225616870626], [13.342326740068488, 52.522913555756276], [13.341173024886062, 52.520184143962446], [13.341703427007316, 52.522929287090776], [13.329626051720965, 52.52323409897805], [13.327853286619487, 52.524762497386526], [13.339828618604248, 52.52625678625072], [13.342095707364408, 52.52593905500468], [13.342669886932288, 52.53174773557328]]]], "type": "MultiPolygon"}}, "preference": "shortest", "profile": "driving-car", "units": "m", "walking_time": 900.0}, "service": "routing", "timestamp": 1710855020996}, "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " var popup_bdd312234368250ca566d6395802f24c = L.popup({"maxWidth": "100%"});\n", + " var popup_b20ed8f7edfbef87e69c929f22405bb6 = L.popup({"maxWidth": "100%"});\n", "\n", " \n", " \n", - " var html_d5aaa60dc3498dba856b569ef7da96af = $(`<div id="html_d5aaa60dc3498dba856b569ef7da96af" style="width: 100.0%; height: 100.0%;"><h4>Diesel Route route</h4><hr><strong>Duration: </strong>11.4 mins<br><strong>Distance: </strong>3.800 km</div>`)[0];\n", - " popup_bdd312234368250ca566d6395802f24c.setContent(html_d5aaa60dc3498dba856b569ef7da96af);\n", + " var html_02c48909c95bfe53ef4e299d795b38ba = $(`<div id="html_02c48909c95bfe53ef4e299d795b38ba" style="width: 100.0%; height: 100.0%;"><h4>Diesel Route route</h4><hr><strong>Duration: </strong>11.3 mins<br><strong>Distance: </strong>3.729 km</div>`)[0];\n", + " popup_b20ed8f7edfbef87e69c929f22405bb6.setContent(html_02c48909c95bfe53ef4e299d795b38ba);\n", " \n", " \n", "\n", - " geo_json_4ad222e47e0ede269c8dd4bc746306ed.bindPopup(popup_bdd312234368250ca566d6395802f24c)\n", + " geo_json_e64a6b1b1a9a7e7c49ba9ef1e653df23.bindPopup(popup_b20ed8f7edfbef87e69c929f22405bb6)\n", " ;\n", "\n", " \n", " \n", " \n", - " var layer_control_372dae0b884648504ee60dd085508b44 = {\n", + " var layer_control_85a3db060cfd38b2950eadf09ac16678 = {\n", " base_layers : {\n", - " "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" : tile_layer_b28f0604f4063deef8c58eb282b6eafa,\n", + " "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" : tile_layer_3f3d16c4b6f93ec4b189aee606de0ad5,\n", " },\n", " overlays : {\n", - " "Regular Route" : geo_json_0f14086fa66076973156cc72fd7d4549,\n", - " "Route after Jan 2019" : geo_json_4ad222e47e0ede269c8dd4bc746306ed,\n", + " "Regular Route" : geo_json_6e7ad9aadd49ea3a5afee0ca72661376,\n", + " "Route after Jan 2019" : geo_json_e64a6b1b1a9a7e7c49ba9ef1e653df23,\n", " },\n", " };\n", " L.control.layers(\n", - " layer_control_372dae0b884648504ee60dd085508b44.base_layers,\n", - " layer_control_372dae0b884648504ee60dd085508b44.overlays,\n", + " layer_control_85a3db060cfd38b2950eadf09ac16678.base_layers,\n", + " layer_control_85a3db060cfd38b2950eadf09ac16678.overlays,\n", " {"autoZIndex": true, "collapsed": true, "position": "topright"}\n", - " ).addTo(map_bf0b839960a0f66fa98e8ce3a932c582);\n", + " ).addTo(map_cbc5f4424aa29293b1a49845564b5917);\n", " \n", "</script>\n", "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, "execution_count": 4, @@ -919,16 +918,16 @@ " options={'avoid_polygons': mapping(union_buffer)}\n", ")\n", "profile = 'driving-car'\n", - "route_diesel = api.get_geo_json_route(body, profile)\n", + "route_diesel = directionsApi.get_geo_json_route(body, profile)\n", "\n", "\n", "# Build popup\n", - "distance, duration = route_diesel.features[0]['properties']['summary'].values()\n", + "distance, duration = route_diesel[\"features\"][0]['properties']['summary'].values()\n", "popup = folium.map.Popup(popup_route.format('Diesel Route',\n", " duration / 60,\n", " distance / 1000))\n", "\n", - "folium.GeoJson(ors.todict(route_diesel),\n", + "folium.GeoJson(route_diesel,\n", " style_function=style_function('black'),\n", " name='Route after Jan 2019').add_child(popup).add_to(map_berlin)\n", "\n", @@ -962,7 +961,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.12" + "version": "3.11.6" } }, "nbformat": 4, diff --git a/examples/Routing_Optimization_Idai.html b/examples/Routing_Optimization_Idai.html deleted file mode 100644 index c2484c31..00000000 --- a/examples/Routing_Optimization_Idai.html +++ /dev/null @@ -1,9291 +0,0 @@ - - - - - -Routing_Optimization_Idai - - - - - - - - - - - - -
- - - - - - - - - - - -
- - diff --git a/examples/Routing_Optimization_Idai.ipynb b/examples/Routing_Optimization_Idai.ipynb index 46dd46d4..e3cd801e 100644 --- a/examples/Routing_Optimization_Idai.ipynb +++ b/examples/Routing_Optimization_Idai.ipynb @@ -30,7 +30,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -63,7 +63,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 2, "metadata": {}, "outputs": [ { @@ -96,7 +96,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_a7bf97288aa4c5099685b9f091297ee4 {\n", + " #map_241ecd9990c6a09d114dd67f6f74769a {\n", " position: relative;\n", " width: 100.0%;\n", " height: 100.0%;\n", @@ -112,14 +112,14 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_a7bf97288aa4c5099685b9f091297ee4" ></div>\n", + " <div class="folium-map" id="map_241ecd9990c6a09d114dd67f6f74769a" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_a7bf97288aa4c5099685b9f091297ee4 = L.map(\n", - " "map_a7bf97288aa4c5099685b9f091297ee4",\n", + " var map_241ecd9990c6a09d114dd67f6f74769a = L.map(\n", + " "map_241ecd9990c6a09d114dd67f6f74769a",\n", " {\n", " center: [-18.6368, 34.7943],\n", " crs: L.CRS.EPSG3857,\n", @@ -133,25 +133,25 @@ "\n", " \n", " \n", - " var tile_layer_185ceec818627ce87a63c5ca5a25a2b0 = L.tileLayer(\n", + " var tile_layer_559fd68984a557efa3e5625a7bff41ed = L.tileLayer(\n", " "https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png",\n", " {"attribution": "\\u0026copy; \\u003ca target=\\"_blank\\" href=\\"http://www.openstreetmap.org/copyright\\"\\u003eOpenStreetMap\\u003c/a\\u003e contributors \\u0026copy; \\u003ca target=\\"_blank\\" href=\\"http://cartodb.com/attributions\\"\\u003eCartoDB\\u003c/a\\u003e, CartoDB \\u003ca target=\\"_blank\\" href =\\"http://cartodb.com/attributions\\"\\u003eattributions\\u003c/a\\u003e", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var marker_a8ae53482eceb71de8a61f43fdd77e68 = L.marker(\n", + " var marker_2304728e56c505c75caeccaddb1544d5 = L.marker(\n", " [-19.8202962, 33.9852423],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_8e4e5f853f7013bfef8b342bd572461a = new L.BeautifyIcon.icon(\n", + " var beautify_icon_be3f2232022e7a036ddf5df5aa3f5953 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 1, "textColor": "red"}\n", " )\n", - " marker_a8ae53482eceb71de8a61f43fdd77e68.setIcon(beautify_icon_8e4e5f853f7013bfef8b342bd572461a);\n", + " marker_2304728e56c505c75caeccaddb1544d5.setIcon(beautify_icon_be3f2232022e7a036ddf5df5aa3f5953);\n", " \n", " \n", - " marker_a8ae53482eceb71de8a61f43fdd77e68.bindTooltip(\n", + " marker_2304728e56c505c75caeccaddb1544d5.bindTooltip(\n", " `<div>\n", " <h4><b>ID 1</b></p><p>Supplies needed: <b>24</b></p>\n", " </div>`,\n", @@ -159,19 +159,19 @@ " );\n", " \n", " \n", - " var marker_8a7f6e36f988b727fa9024926ded468e = L.marker(\n", + " var marker_8b92d01469b44486d082040da295a9c9 = L.marker(\n", " [-19.7248894, 34.8194789],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_b624a3dba344d61ceddeae0384d27213 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_ebd363bbcdf4275177a236659fa75190 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 2, "textColor": "red"}\n", " )\n", - " marker_8a7f6e36f988b727fa9024926ded468e.setIcon(beautify_icon_b624a3dba344d61ceddeae0384d27213);\n", + " marker_8b92d01469b44486d082040da295a9c9.setIcon(beautify_icon_ebd363bbcdf4275177a236659fa75190);\n", " \n", " \n", - " marker_8a7f6e36f988b727fa9024926ded468e.bindTooltip(\n", + " marker_8b92d01469b44486d082040da295a9c9.bindTooltip(\n", " `<div>\n", " <h4><b>ID 2</b></p><p>Supplies needed: <b>10</b></p>\n", " </div>`,\n", @@ -179,19 +179,19 @@ " );\n", " \n", " \n", - " var marker_33886a9f21c3b4168bdbfa73f4ad67d1 = L.marker(\n", + " var marker_3c152be153d1a3f494eea3737ad180ad = L.marker(\n", " [-19.7461948, 34.8472248],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_22ee6aeca5af00c94b9c0da40bc58d59 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_35e6df8f8d4c2cb9f6b81c69235acb52 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 3, "textColor": "red"}\n", " )\n", - " marker_33886a9f21c3b4168bdbfa73f4ad67d1.setIcon(beautify_icon_22ee6aeca5af00c94b9c0da40bc58d59);\n", + " marker_3c152be153d1a3f494eea3737ad180ad.setIcon(beautify_icon_35e6df8f8d4c2cb9f6b81c69235acb52);\n", " \n", " \n", - " marker_33886a9f21c3b4168bdbfa73f4ad67d1.bindTooltip(\n", + " marker_3c152be153d1a3f494eea3737ad180ad.bindTooltip(\n", " `<div>\n", " <h4><b>ID 3</b></p><p>Supplies needed: <b>48</b></p>\n", " </div>`,\n", @@ -199,19 +199,19 @@ " );\n", " \n", " \n", - " var marker_3e48f1dd437440dd16a5036b09459c54 = L.marker(\n", + " var marker_be819f30804bc9769a2156534b130655 = L.marker(\n", " [-19.8314851, 34.8664597],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_854721ab5501b42481252044fb4790f8 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_d643ee39075ce97fb490776f1143d9df = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 4, "textColor": "red"}\n", " )\n", - " marker_3e48f1dd437440dd16a5036b09459c54.setIcon(beautify_icon_854721ab5501b42481252044fb4790f8);\n", + " marker_be819f30804bc9769a2156534b130655.setIcon(beautify_icon_d643ee39075ce97fb490776f1143d9df);\n", " \n", " \n", - " marker_3e48f1dd437440dd16a5036b09459c54.bindTooltip(\n", + " marker_be819f30804bc9769a2156534b130655.bindTooltip(\n", " `<div>\n", " <h4><b>ID 4</b></p><p>Supplies needed: <b>34</b></p>\n", " </div>`,\n", @@ -219,19 +219,19 @@ " );\n", " \n", " \n", - " var marker_8869bebb30249dd8d34599e75b5615ea = L.marker(\n", + " var marker_4fb9d414aa31b019c53654ec3cd367f2 = L.marker(\n", " [-19.8490298, 34.8752098],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_a35c7ed6935d06825f4ea18ec3060e62 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_56d33133093ff04ace32466d18708319 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 5, "textColor": "red"}\n", " )\n", - " marker_8869bebb30249dd8d34599e75b5615ea.setIcon(beautify_icon_a35c7ed6935d06825f4ea18ec3060e62);\n", + " marker_4fb9d414aa31b019c53654ec3cd367f2.setIcon(beautify_icon_56d33133093ff04ace32466d18708319);\n", " \n", " \n", - " marker_8869bebb30249dd8d34599e75b5615ea.bindTooltip(\n", + " marker_4fb9d414aa31b019c53654ec3cd367f2.bindTooltip(\n", " `<div>\n", " <h4><b>ID 5</b></p><p>Supplies needed: <b>29</b></p>\n", " </div>`,\n", @@ -239,19 +239,19 @@ " );\n", " \n", " \n", - " var marker_78a1b53a33ced49f1510b232ed34560f = L.marker(\n", + " var marker_4ff28ea368a1e72bbd9e4fbca8a85788 = L.marker(\n", " [-19.7469002, 34.8605631],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_c55082e3e8f265997e56f39e29a7dd40 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_317dff40440ae7f86274563c2af651b2 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 6, "textColor": "red"}\n", " )\n", - " marker_78a1b53a33ced49f1510b232ed34560f.setIcon(beautify_icon_c55082e3e8f265997e56f39e29a7dd40);\n", + " marker_4ff28ea368a1e72bbd9e4fbca8a85788.setIcon(beautify_icon_317dff40440ae7f86274563c2af651b2);\n", " \n", " \n", - " marker_78a1b53a33ced49f1510b232ed34560f.bindTooltip(\n", + " marker_4ff28ea368a1e72bbd9e4fbca8a85788.bindTooltip(\n", " `<div>\n", " <h4><b>ID 6</b></p><p>Supplies needed: <b>77</b></p>\n", " </div>`,\n", @@ -259,19 +259,19 @@ " );\n", " \n", " \n", - " var marker_87dc3367315085dfc96389734f0994f1 = L.marker(\n", + " var marker_6a4595ef70a7e0509787b3cc07dd2aab = L.marker(\n", " [-19.8017717, 34.8908967],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_6aef6abe5633495c7545041e202e85c5 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_f8b5f9195bb4cb83e69b0e0103abc1b9 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 7, "textColor": "red"}\n", " )\n", - " marker_87dc3367315085dfc96389734f0994f1.setIcon(beautify_icon_6aef6abe5633495c7545041e202e85c5);\n", + " marker_6a4595ef70a7e0509787b3cc07dd2aab.setIcon(beautify_icon_f8b5f9195bb4cb83e69b0e0103abc1b9);\n", " \n", " \n", - " marker_87dc3367315085dfc96389734f0994f1.bindTooltip(\n", + " marker_6a4595ef70a7e0509787b3cc07dd2aab.bindTooltip(\n", " `<div>\n", " <h4><b>ID 7</b></p><p>Supplies needed: <b>23</b></p>\n", " </div>`,\n", @@ -279,19 +279,19 @@ " );\n", " \n", " \n", - " var marker_3360865384c4fcf3bc9b0d3cc43ba861 = L.marker(\n", + " var marker_8d030cc5e1596a2b0cd46bc360c4cc45 = L.marker(\n", " [-19.8829819, 34.5927733],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_710d8b3341ccb8e1d88011d0abdf93a5 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_0166e9b47b4bb9295d8511a4b75fec8f = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 8, "textColor": "red"}\n", " )\n", - " marker_3360865384c4fcf3bc9b0d3cc43ba861.setIcon(beautify_icon_710d8b3341ccb8e1d88011d0abdf93a5);\n", + " marker_8d030cc5e1596a2b0cd46bc360c4cc45.setIcon(beautify_icon_0166e9b47b4bb9295d8511a4b75fec8f);\n", " \n", " \n", - " marker_3360865384c4fcf3bc9b0d3cc43ba861.bindTooltip(\n", + " marker_8d030cc5e1596a2b0cd46bc360c4cc45.bindTooltip(\n", " `<div>\n", " <h4><b>ID 8</b></p><p>Supplies needed: <b>17</b></p>\n", " </div>`,\n", @@ -299,19 +299,19 @@ " );\n", " \n", " \n", - " var marker_f74635cd6e3ab7f232c58329c73d90d5 = L.marker(\n", + " var marker_4bab9ae249d6515a9e0b151ea6635245 = L.marker(\n", " [-19.3639757, 34.5748517],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_5a8fef14f61be86a1a3760bab516050d = new L.BeautifyIcon.icon(\n", + " var beautify_icon_efc694b4e57a9a83ef958fce0ee61a57 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 9, "textColor": "red"}\n", " )\n", - " marker_f74635cd6e3ab7f232c58329c73d90d5.setIcon(beautify_icon_5a8fef14f61be86a1a3760bab516050d);\n", + " marker_4bab9ae249d6515a9e0b151ea6635245.setIcon(beautify_icon_efc694b4e57a9a83ef958fce0ee61a57);\n", " \n", " \n", - " marker_f74635cd6e3ab7f232c58329c73d90d5.bindTooltip(\n", + " marker_4bab9ae249d6515a9e0b151ea6635245.bindTooltip(\n", " `<div>\n", " <h4><b>ID 9</b></p><p>Supplies needed: <b>82</b></p>\n", " </div>`,\n", @@ -319,19 +319,19 @@ " );\n", " \n", " \n", - " var marker_202f29ac1b080652898fc89f382ef824 = L.marker(\n", + " var marker_ad65e4ff24d088029b0aa4da316ed587 = L.marker(\n", " [-19.5030938, 34.5933026],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_7da57ec051e32b6301d2ae2bb9c2dcba = new L.BeautifyIcon.icon(\n", + " var beautify_icon_e9d18b0097864fecb3d11729882199c3 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 10, "textColor": "red"}\n", " )\n", - " marker_202f29ac1b080652898fc89f382ef824.setIcon(beautify_icon_7da57ec051e32b6301d2ae2bb9c2dcba);\n", + " marker_ad65e4ff24d088029b0aa4da316ed587.setIcon(beautify_icon_e9d18b0097864fecb3d11729882199c3);\n", " \n", " \n", - " marker_202f29ac1b080652898fc89f382ef824.bindTooltip(\n", + " marker_ad65e4ff24d088029b0aa4da316ed587.bindTooltip(\n", " `<div>\n", " <h4><b>ID 10</b></p><p>Supplies needed: <b>44</b></p>\n", " </div>`,\n", @@ -339,19 +339,19 @@ " );\n", " \n", " \n", - " var marker_529e34ab0f038118ca4792d1ad784b5d = L.marker(\n", + " var marker_db6a2ea56a9e2d1c41cc19a768d95ee8 = L.marker(\n", " [-19.5435948, 34.6258056],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_56e531b9a97e566f784218f4989f9d38 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_62797cce219958b261c9b17509446f9d = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 11, "textColor": "red"}\n", " )\n", - " marker_529e34ab0f038118ca4792d1ad784b5d.setIcon(beautify_icon_56e531b9a97e566f784218f4989f9d38);\n", + " marker_db6a2ea56a9e2d1c41cc19a768d95ee8.setIcon(beautify_icon_62797cce219958b261c9b17509446f9d);\n", " \n", " \n", - " marker_529e34ab0f038118ca4792d1ad784b5d.bindTooltip(\n", + " marker_db6a2ea56a9e2d1c41cc19a768d95ee8.bindTooltip(\n", " `<div>\n", " <h4><b>ID 11</b></p><p>Supplies needed: <b>25</b></p>\n", " </div>`,\n", @@ -359,19 +359,19 @@ " );\n", " \n", " \n", - " var marker_21261ba6b6edca5a76f1d3ee30cfe0fc = L.marker(\n", + " var marker_1fa7b3da1a421b23f6bfacfeb24bc4b6 = L.marker(\n", " [-19.6297038, 34.7173762],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_3d26ab6cfa8b20b9af62d1ca557dcd77 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_643a04e816dd8032e872935568e38473 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 12, "textColor": "red"}\n", " )\n", - " marker_21261ba6b6edca5a76f1d3ee30cfe0fc.setIcon(beautify_icon_3d26ab6cfa8b20b9af62d1ca557dcd77);\n", + " marker_1fa7b3da1a421b23f6bfacfeb24bc4b6.setIcon(beautify_icon_643a04e816dd8032e872935568e38473);\n", " \n", " \n", - " marker_21261ba6b6edca5a76f1d3ee30cfe0fc.bindTooltip(\n", + " marker_1fa7b3da1a421b23f6bfacfeb24bc4b6.bindTooltip(\n", " `<div>\n", " <h4><b>ID 12</b></p><p>Supplies needed: <b>148</b></p>\n", " </div>`,\n", @@ -379,19 +379,19 @@ " );\n", " \n", " \n", - " var marker_dbe8e6692f71ba0eb48681dae83331c0 = L.marker(\n", + " var marker_c331bcea3aee962f7e34606d83202061 = L.marker(\n", " [-19.6181757, 34.7412184],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_bbf055ee7c8145282fa7b5b3124dafcb = new L.BeautifyIcon.icon(\n", + " var beautify_icon_a5fe6992060ce74edd3425bcc174fb2a = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 13, "textColor": "red"}\n", " )\n", - " marker_dbe8e6692f71ba0eb48681dae83331c0.setIcon(beautify_icon_bbf055ee7c8145282fa7b5b3124dafcb);\n", + " marker_c331bcea3aee962f7e34606d83202061.setIcon(beautify_icon_a5fe6992060ce74edd3425bcc174fb2a);\n", " \n", " \n", - " marker_dbe8e6692f71ba0eb48681dae83331c0.bindTooltip(\n", + " marker_c331bcea3aee962f7e34606d83202061.bindTooltip(\n", " `<div>\n", " <h4><b>ID 13</b></p><p>Supplies needed: <b>33</b></p>\n", " </div>`,\n", @@ -399,19 +399,19 @@ " );\n", " \n", " \n", - " var marker_27dfdf5ebe1b6cfbb15084c3ec4cef2a = L.marker(\n", + " var marker_f53b679cffced4c0f86b4ee61f149b04 = L.marker(\n", " [-19.6871573, 34.7600126],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_906259828b5dd7e544e5536a1374ef81 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_5787fddabf2089272d3447efe596ac2d = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 14, "textColor": "red"}\n", " )\n", - " marker_27dfdf5ebe1b6cfbb15084c3ec4cef2a.setIcon(beautify_icon_906259828b5dd7e544e5536a1374ef81);\n", + " marker_f53b679cffced4c0f86b4ee61f149b04.setIcon(beautify_icon_5787fddabf2089272d3447efe596ac2d);\n", " \n", " \n", - " marker_27dfdf5ebe1b6cfbb15084c3ec4cef2a.bindTooltip(\n", + " marker_f53b679cffced4c0f86b4ee61f149b04.bindTooltip(\n", " `<div>\n", " <h4><b>ID 14</b></p><p>Supplies needed: <b>26</b></p>\n", " </div>`,\n", @@ -419,19 +419,19 @@ " );\n", " \n", " \n", - " var marker_885d6c578c68d455c9d1a186e65c9228 = L.marker(\n", + " var marker_906c25ffb67d1456f82bb5ee35c8efd5 = L.marker(\n", " [-17.3176417, 34.28176],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_2e7ee9a1da48199c6d6cf09d67c5d1a5 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_4018a3ccca3f2febc0235f1d38190c80 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 15, "textColor": "red"}\n", " )\n", - " marker_885d6c578c68d455c9d1a186e65c9228.setIcon(beautify_icon_2e7ee9a1da48199c6d6cf09d67c5d1a5);\n", + " marker_906c25ffb67d1456f82bb5ee35c8efd5.setIcon(beautify_icon_4018a3ccca3f2febc0235f1d38190c80);\n", " \n", " \n", - " marker_885d6c578c68d455c9d1a186e65c9228.bindTooltip(\n", + " marker_906c25ffb67d1456f82bb5ee35c8efd5.bindTooltip(\n", " `<div>\n", " <h4><b>ID 15</b></p><p>Supplies needed: <b>39</b></p>\n", " </div>`,\n", @@ -439,19 +439,19 @@ " );\n", " \n", " \n", - " var marker_26a87b8ecb104d31f2ed67d80fe73a2e = L.marker(\n", + " var marker_1a969049c3b4e95fb3f64723cb32bea8 = L.marker(\n", " [-17.5822419, 34.309304],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_51a54ae5a5dd6f4e41b56500999d4fd6 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_c6057f5b1c48fe85a746caccb103b77b = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 16, "textColor": "red"}\n", " )\n", - " marker_26a87b8ecb104d31f2ed67d80fe73a2e.setIcon(beautify_icon_51a54ae5a5dd6f4e41b56500999d4fd6);\n", + " marker_1a969049c3b4e95fb3f64723cb32bea8.setIcon(beautify_icon_c6057f5b1c48fe85a746caccb103b77b);\n", " \n", " \n", - " marker_26a87b8ecb104d31f2ed67d80fe73a2e.bindTooltip(\n", + " marker_1a969049c3b4e95fb3f64723cb32bea8.bindTooltip(\n", " `<div>\n", " <h4><b>ID 16</b></p><p>Supplies needed: <b>50</b></p>\n", " </div>`,\n", @@ -459,19 +459,19 @@ " );\n", " \n", " \n", - " var marker_bd71a43589ffccf9749b5b32e28ab43c = L.marker(\n", + " var marker_14e8640f20d9c78c943906b93422f8e7 = L.marker(\n", " [-20.1497002, 34.1497002],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_cfe1da8df470b3b3651ecfa137f26f17 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_c78e288dc512e106e755b89bb7e379b5 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 17, "textColor": "red"}\n", " )\n", - " marker_bd71a43589ffccf9749b5b32e28ab43c.setIcon(beautify_icon_cfe1da8df470b3b3651ecfa137f26f17);\n", + " marker_14e8640f20d9c78c943906b93422f8e7.setIcon(beautify_icon_c78e288dc512e106e755b89bb7e379b5);\n", " \n", " \n", - " marker_bd71a43589ffccf9749b5b32e28ab43c.bindTooltip(\n", + " marker_14e8640f20d9c78c943906b93422f8e7.bindTooltip(\n", " `<div>\n", " <h4><b>ID 17</b></p><p>Supplies needed: <b>48</b></p>\n", " </div>`,\n", @@ -479,19 +479,19 @@ " );\n", " \n", " \n", - " var marker_ce072503a3e0454ed43ca5046c8d9211 = L.marker(\n", + " var marker_eb74b5d9805ac0aa71f8259b336cb0a4 = L.marker(\n", " [-19.6506004, 34.7658005],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_ef5af2a851b99abbf0b44bb34620635c = new L.BeautifyIcon.icon(\n", + " var beautify_icon_10063164e81c8961bdce13fb4bd7caed = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 18, "textColor": "red"}\n", " )\n", - " marker_ce072503a3e0454ed43ca5046c8d9211.setIcon(beautify_icon_ef5af2a851b99abbf0b44bb34620635c);\n", + " marker_eb74b5d9805ac0aa71f8259b336cb0a4.setIcon(beautify_icon_10063164e81c8961bdce13fb4bd7caed);\n", " \n", " \n", - " marker_ce072503a3e0454ed43ca5046c8d9211.bindTooltip(\n", + " marker_eb74b5d9805ac0aa71f8259b336cb0a4.bindTooltip(\n", " `<div>\n", " <h4><b>ID 18</b></p><p>Supplies needed: <b>32</b></p>\n", " </div>`,\n", @@ -499,19 +499,19 @@ " );\n", " \n", " \n", - " var marker_a98b5303a7232118468df94f346ac030 = L.marker(\n", + " var marker_494dd6f1b85fb9bec8caee5bc1e2ac6f = L.marker(\n", " [-17.7828007, 35.2468987],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_dce44bcd509d6206063804bb74bad9b2 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_662f9c7a4e9910a77e74c7d3d0ed386b = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 20, "textColor": "red"}\n", " )\n", - " marker_a98b5303a7232118468df94f346ac030.setIcon(beautify_icon_dce44bcd509d6206063804bb74bad9b2);\n", + " marker_494dd6f1b85fb9bec8caee5bc1e2ac6f.setIcon(beautify_icon_662f9c7a4e9910a77e74c7d3d0ed386b);\n", " \n", " \n", - " marker_a98b5303a7232118468df94f346ac030.bindTooltip(\n", + " marker_494dd6f1b85fb9bec8caee5bc1e2ac6f.bindTooltip(\n", " `<div>\n", " <h4><b>ID 20</b></p><p>Supplies needed: <b>91</b></p>\n", " </div>`,\n", @@ -519,25 +519,25 @@ " );\n", " \n", " \n", - " var marker_53e7f01b06cde4a053696ef43924596e = L.marker(\n", + " var marker_2ef2944536e08c4ceae17ce00c74988e = L.marker(\n", " [-19.818474, 34.835447],\n", " {"setZIndexOffset": 1000}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var icon_e78a79553068a3f35e1de48ba5f09342 = L.AwesomeMarkers.icon(\n", + " var icon_c3f3820338fa38cf41e2d2dd600fd5fc = L.AwesomeMarkers.icon(\n", " {"extraClasses": "fa-rotate-0", "icon": "bus", "iconColor": "white", "markerColor": "green", "prefix": "fa"}\n", " );\n", - " marker_53e7f01b06cde4a053696ef43924596e.setIcon(icon_e78a79553068a3f35e1de48ba5f09342);\n", + " marker_2ef2944536e08c4ceae17ce00c74988e.setIcon(icon_c3f3820338fa38cf41e2d2dd600fd5fc);\n", " \n", "</script>\n", "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, - "execution_count": 4, + "execution_count": 2, "metadata": {}, "output_type": "execute_result" } @@ -553,6 +553,7 @@ " index_col=\"ID\",\n", " parse_dates=[\"Open_From\", \"Open_To\"]\n", ")\n", + " \n", "\n", "# Plot the locations on the map with more info in the ToolTip\n", "for location in deliveries_data.itertuples():\n", @@ -613,7 +614,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -641,7 +642,7 @@ " id=delivery.Index,\n", " location=[delivery.Lon, delivery.Lat],\n", " service=1200, # Assume 20 minutes at each site\n", - " amount=[delivery.Needed_Amount],\n", + " delivery=[delivery.Needed_Amount],\n", " time_windows=[[\n", " int(delivery.Open_From.timestamp()), # VROOM expects UNIX timestamp\n", " int(delivery.Open_To.timestamp())\n", @@ -660,7 +661,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 4, "metadata": {}, "outputs": [ { @@ -693,7 +694,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_a7bf97288aa4c5099685b9f091297ee4 {\n", + " #map_241ecd9990c6a09d114dd67f6f74769a {\n", " position: relative;\n", " width: 100.0%;\n", " height: 100.0%;\n", @@ -709,14 +710,14 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_a7bf97288aa4c5099685b9f091297ee4" ></div>\n", + " <div class="folium-map" id="map_241ecd9990c6a09d114dd67f6f74769a" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_a7bf97288aa4c5099685b9f091297ee4 = L.map(\n", - " "map_a7bf97288aa4c5099685b9f091297ee4",\n", + " var map_241ecd9990c6a09d114dd67f6f74769a = L.map(\n", + " "map_241ecd9990c6a09d114dd67f6f74769a",\n", " {\n", " center: [-18.6368, 34.7943],\n", " crs: L.CRS.EPSG3857,\n", @@ -730,25 +731,25 @@ "\n", " \n", " \n", - " var tile_layer_185ceec818627ce87a63c5ca5a25a2b0 = L.tileLayer(\n", + " var tile_layer_559fd68984a557efa3e5625a7bff41ed = L.tileLayer(\n", " "https://cartodb-basemaps-{s}.global.ssl.fastly.net/light_all/{z}/{x}/{y}.png",\n", " {"attribution": "\\u0026copy; \\u003ca target=\\"_blank\\" href=\\"http://www.openstreetmap.org/copyright\\"\\u003eOpenStreetMap\\u003c/a\\u003e contributors \\u0026copy; \\u003ca target=\\"_blank\\" href=\\"http://cartodb.com/attributions\\"\\u003eCartoDB\\u003c/a\\u003e, CartoDB \\u003ca target=\\"_blank\\" href =\\"http://cartodb.com/attributions\\"\\u003eattributions\\u003c/a\\u003e", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var marker_a8ae53482eceb71de8a61f43fdd77e68 = L.marker(\n", + " var marker_2304728e56c505c75caeccaddb1544d5 = L.marker(\n", " [-19.8202962, 33.9852423],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_8e4e5f853f7013bfef8b342bd572461a = new L.BeautifyIcon.icon(\n", + " var beautify_icon_be3f2232022e7a036ddf5df5aa3f5953 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 1, "textColor": "red"}\n", " )\n", - " marker_a8ae53482eceb71de8a61f43fdd77e68.setIcon(beautify_icon_8e4e5f853f7013bfef8b342bd572461a);\n", + " marker_2304728e56c505c75caeccaddb1544d5.setIcon(beautify_icon_be3f2232022e7a036ddf5df5aa3f5953);\n", " \n", " \n", - " marker_a8ae53482eceb71de8a61f43fdd77e68.bindTooltip(\n", + " marker_2304728e56c505c75caeccaddb1544d5.bindTooltip(\n", " `<div>\n", " <h4><b>ID 1</b></p><p>Supplies needed: <b>24</b></p>\n", " </div>`,\n", @@ -756,19 +757,19 @@ " );\n", " \n", " \n", - " var marker_8a7f6e36f988b727fa9024926ded468e = L.marker(\n", + " var marker_8b92d01469b44486d082040da295a9c9 = L.marker(\n", " [-19.7248894, 34.8194789],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_b624a3dba344d61ceddeae0384d27213 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_ebd363bbcdf4275177a236659fa75190 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 2, "textColor": "red"}\n", " )\n", - " marker_8a7f6e36f988b727fa9024926ded468e.setIcon(beautify_icon_b624a3dba344d61ceddeae0384d27213);\n", + " marker_8b92d01469b44486d082040da295a9c9.setIcon(beautify_icon_ebd363bbcdf4275177a236659fa75190);\n", " \n", " \n", - " marker_8a7f6e36f988b727fa9024926ded468e.bindTooltip(\n", + " marker_8b92d01469b44486d082040da295a9c9.bindTooltip(\n", " `<div>\n", " <h4><b>ID 2</b></p><p>Supplies needed: <b>10</b></p>\n", " </div>`,\n", @@ -776,19 +777,19 @@ " );\n", " \n", " \n", - " var marker_33886a9f21c3b4168bdbfa73f4ad67d1 = L.marker(\n", + " var marker_3c152be153d1a3f494eea3737ad180ad = L.marker(\n", " [-19.7461948, 34.8472248],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_22ee6aeca5af00c94b9c0da40bc58d59 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_35e6df8f8d4c2cb9f6b81c69235acb52 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 3, "textColor": "red"}\n", " )\n", - " marker_33886a9f21c3b4168bdbfa73f4ad67d1.setIcon(beautify_icon_22ee6aeca5af00c94b9c0da40bc58d59);\n", + " marker_3c152be153d1a3f494eea3737ad180ad.setIcon(beautify_icon_35e6df8f8d4c2cb9f6b81c69235acb52);\n", " \n", " \n", - " marker_33886a9f21c3b4168bdbfa73f4ad67d1.bindTooltip(\n", + " marker_3c152be153d1a3f494eea3737ad180ad.bindTooltip(\n", " `<div>\n", " <h4><b>ID 3</b></p><p>Supplies needed: <b>48</b></p>\n", " </div>`,\n", @@ -796,19 +797,19 @@ " );\n", " \n", " \n", - " var marker_3e48f1dd437440dd16a5036b09459c54 = L.marker(\n", + " var marker_be819f30804bc9769a2156534b130655 = L.marker(\n", " [-19.8314851, 34.8664597],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_854721ab5501b42481252044fb4790f8 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_d643ee39075ce97fb490776f1143d9df = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 4, "textColor": "red"}\n", " )\n", - " marker_3e48f1dd437440dd16a5036b09459c54.setIcon(beautify_icon_854721ab5501b42481252044fb4790f8);\n", + " marker_be819f30804bc9769a2156534b130655.setIcon(beautify_icon_d643ee39075ce97fb490776f1143d9df);\n", " \n", " \n", - " marker_3e48f1dd437440dd16a5036b09459c54.bindTooltip(\n", + " marker_be819f30804bc9769a2156534b130655.bindTooltip(\n", " `<div>\n", " <h4><b>ID 4</b></p><p>Supplies needed: <b>34</b></p>\n", " </div>`,\n", @@ -816,19 +817,19 @@ " );\n", " \n", " \n", - " var marker_8869bebb30249dd8d34599e75b5615ea = L.marker(\n", + " var marker_4fb9d414aa31b019c53654ec3cd367f2 = L.marker(\n", " [-19.8490298, 34.8752098],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_a35c7ed6935d06825f4ea18ec3060e62 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_56d33133093ff04ace32466d18708319 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 5, "textColor": "red"}\n", " )\n", - " marker_8869bebb30249dd8d34599e75b5615ea.setIcon(beautify_icon_a35c7ed6935d06825f4ea18ec3060e62);\n", + " marker_4fb9d414aa31b019c53654ec3cd367f2.setIcon(beautify_icon_56d33133093ff04ace32466d18708319);\n", " \n", " \n", - " marker_8869bebb30249dd8d34599e75b5615ea.bindTooltip(\n", + " marker_4fb9d414aa31b019c53654ec3cd367f2.bindTooltip(\n", " `<div>\n", " <h4><b>ID 5</b></p><p>Supplies needed: <b>29</b></p>\n", " </div>`,\n", @@ -836,19 +837,19 @@ " );\n", " \n", " \n", - " var marker_78a1b53a33ced49f1510b232ed34560f = L.marker(\n", + " var marker_4ff28ea368a1e72bbd9e4fbca8a85788 = L.marker(\n", " [-19.7469002, 34.8605631],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_c55082e3e8f265997e56f39e29a7dd40 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_317dff40440ae7f86274563c2af651b2 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 6, "textColor": "red"}\n", " )\n", - " marker_78a1b53a33ced49f1510b232ed34560f.setIcon(beautify_icon_c55082e3e8f265997e56f39e29a7dd40);\n", + " marker_4ff28ea368a1e72bbd9e4fbca8a85788.setIcon(beautify_icon_317dff40440ae7f86274563c2af651b2);\n", " \n", " \n", - " marker_78a1b53a33ced49f1510b232ed34560f.bindTooltip(\n", + " marker_4ff28ea368a1e72bbd9e4fbca8a85788.bindTooltip(\n", " `<div>\n", " <h4><b>ID 6</b></p><p>Supplies needed: <b>77</b></p>\n", " </div>`,\n", @@ -856,19 +857,19 @@ " );\n", " \n", " \n", - " var marker_87dc3367315085dfc96389734f0994f1 = L.marker(\n", + " var marker_6a4595ef70a7e0509787b3cc07dd2aab = L.marker(\n", " [-19.8017717, 34.8908967],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_6aef6abe5633495c7545041e202e85c5 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_f8b5f9195bb4cb83e69b0e0103abc1b9 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 7, "textColor": "red"}\n", " )\n", - " marker_87dc3367315085dfc96389734f0994f1.setIcon(beautify_icon_6aef6abe5633495c7545041e202e85c5);\n", + " marker_6a4595ef70a7e0509787b3cc07dd2aab.setIcon(beautify_icon_f8b5f9195bb4cb83e69b0e0103abc1b9);\n", " \n", " \n", - " marker_87dc3367315085dfc96389734f0994f1.bindTooltip(\n", + " marker_6a4595ef70a7e0509787b3cc07dd2aab.bindTooltip(\n", " `<div>\n", " <h4><b>ID 7</b></p><p>Supplies needed: <b>23</b></p>\n", " </div>`,\n", @@ -876,19 +877,19 @@ " );\n", " \n", " \n", - " var marker_3360865384c4fcf3bc9b0d3cc43ba861 = L.marker(\n", + " var marker_8d030cc5e1596a2b0cd46bc360c4cc45 = L.marker(\n", " [-19.8829819, 34.5927733],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_710d8b3341ccb8e1d88011d0abdf93a5 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_0166e9b47b4bb9295d8511a4b75fec8f = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 8, "textColor": "red"}\n", " )\n", - " marker_3360865384c4fcf3bc9b0d3cc43ba861.setIcon(beautify_icon_710d8b3341ccb8e1d88011d0abdf93a5);\n", + " marker_8d030cc5e1596a2b0cd46bc360c4cc45.setIcon(beautify_icon_0166e9b47b4bb9295d8511a4b75fec8f);\n", " \n", " \n", - " marker_3360865384c4fcf3bc9b0d3cc43ba861.bindTooltip(\n", + " marker_8d030cc5e1596a2b0cd46bc360c4cc45.bindTooltip(\n", " `<div>\n", " <h4><b>ID 8</b></p><p>Supplies needed: <b>17</b></p>\n", " </div>`,\n", @@ -896,19 +897,19 @@ " );\n", " \n", " \n", - " var marker_f74635cd6e3ab7f232c58329c73d90d5 = L.marker(\n", + " var marker_4bab9ae249d6515a9e0b151ea6635245 = L.marker(\n", " [-19.3639757, 34.5748517],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_5a8fef14f61be86a1a3760bab516050d = new L.BeautifyIcon.icon(\n", + " var beautify_icon_efc694b4e57a9a83ef958fce0ee61a57 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 9, "textColor": "red"}\n", " )\n", - " marker_f74635cd6e3ab7f232c58329c73d90d5.setIcon(beautify_icon_5a8fef14f61be86a1a3760bab516050d);\n", + " marker_4bab9ae249d6515a9e0b151ea6635245.setIcon(beautify_icon_efc694b4e57a9a83ef958fce0ee61a57);\n", " \n", " \n", - " marker_f74635cd6e3ab7f232c58329c73d90d5.bindTooltip(\n", + " marker_4bab9ae249d6515a9e0b151ea6635245.bindTooltip(\n", " `<div>\n", " <h4><b>ID 9</b></p><p>Supplies needed: <b>82</b></p>\n", " </div>`,\n", @@ -916,19 +917,19 @@ " );\n", " \n", " \n", - " var marker_202f29ac1b080652898fc89f382ef824 = L.marker(\n", + " var marker_ad65e4ff24d088029b0aa4da316ed587 = L.marker(\n", " [-19.5030938, 34.5933026],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_7da57ec051e32b6301d2ae2bb9c2dcba = new L.BeautifyIcon.icon(\n", + " var beautify_icon_e9d18b0097864fecb3d11729882199c3 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 10, "textColor": "red"}\n", " )\n", - " marker_202f29ac1b080652898fc89f382ef824.setIcon(beautify_icon_7da57ec051e32b6301d2ae2bb9c2dcba);\n", + " marker_ad65e4ff24d088029b0aa4da316ed587.setIcon(beautify_icon_e9d18b0097864fecb3d11729882199c3);\n", " \n", " \n", - " marker_202f29ac1b080652898fc89f382ef824.bindTooltip(\n", + " marker_ad65e4ff24d088029b0aa4da316ed587.bindTooltip(\n", " `<div>\n", " <h4><b>ID 10</b></p><p>Supplies needed: <b>44</b></p>\n", " </div>`,\n", @@ -936,19 +937,19 @@ " );\n", " \n", " \n", - " var marker_529e34ab0f038118ca4792d1ad784b5d = L.marker(\n", + " var marker_db6a2ea56a9e2d1c41cc19a768d95ee8 = L.marker(\n", " [-19.5435948, 34.6258056],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_56e531b9a97e566f784218f4989f9d38 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_62797cce219958b261c9b17509446f9d = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 11, "textColor": "red"}\n", " )\n", - " marker_529e34ab0f038118ca4792d1ad784b5d.setIcon(beautify_icon_56e531b9a97e566f784218f4989f9d38);\n", + " marker_db6a2ea56a9e2d1c41cc19a768d95ee8.setIcon(beautify_icon_62797cce219958b261c9b17509446f9d);\n", " \n", " \n", - " marker_529e34ab0f038118ca4792d1ad784b5d.bindTooltip(\n", + " marker_db6a2ea56a9e2d1c41cc19a768d95ee8.bindTooltip(\n", " `<div>\n", " <h4><b>ID 11</b></p><p>Supplies needed: <b>25</b></p>\n", " </div>`,\n", @@ -956,19 +957,19 @@ " );\n", " \n", " \n", - " var marker_21261ba6b6edca5a76f1d3ee30cfe0fc = L.marker(\n", + " var marker_1fa7b3da1a421b23f6bfacfeb24bc4b6 = L.marker(\n", " [-19.6297038, 34.7173762],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_3d26ab6cfa8b20b9af62d1ca557dcd77 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_643a04e816dd8032e872935568e38473 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 12, "textColor": "red"}\n", " )\n", - " marker_21261ba6b6edca5a76f1d3ee30cfe0fc.setIcon(beautify_icon_3d26ab6cfa8b20b9af62d1ca557dcd77);\n", + " marker_1fa7b3da1a421b23f6bfacfeb24bc4b6.setIcon(beautify_icon_643a04e816dd8032e872935568e38473);\n", " \n", " \n", - " marker_21261ba6b6edca5a76f1d3ee30cfe0fc.bindTooltip(\n", + " marker_1fa7b3da1a421b23f6bfacfeb24bc4b6.bindTooltip(\n", " `<div>\n", " <h4><b>ID 12</b></p><p>Supplies needed: <b>148</b></p>\n", " </div>`,\n", @@ -976,19 +977,19 @@ " );\n", " \n", " \n", - " var marker_dbe8e6692f71ba0eb48681dae83331c0 = L.marker(\n", + " var marker_c331bcea3aee962f7e34606d83202061 = L.marker(\n", " [-19.6181757, 34.7412184],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_bbf055ee7c8145282fa7b5b3124dafcb = new L.BeautifyIcon.icon(\n", + " var beautify_icon_a5fe6992060ce74edd3425bcc174fb2a = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 13, "textColor": "red"}\n", " )\n", - " marker_dbe8e6692f71ba0eb48681dae83331c0.setIcon(beautify_icon_bbf055ee7c8145282fa7b5b3124dafcb);\n", + " marker_c331bcea3aee962f7e34606d83202061.setIcon(beautify_icon_a5fe6992060ce74edd3425bcc174fb2a);\n", " \n", " \n", - " marker_dbe8e6692f71ba0eb48681dae83331c0.bindTooltip(\n", + " marker_c331bcea3aee962f7e34606d83202061.bindTooltip(\n", " `<div>\n", " <h4><b>ID 13</b></p><p>Supplies needed: <b>33</b></p>\n", " </div>`,\n", @@ -996,19 +997,19 @@ " );\n", " \n", " \n", - " var marker_27dfdf5ebe1b6cfbb15084c3ec4cef2a = L.marker(\n", + " var marker_f53b679cffced4c0f86b4ee61f149b04 = L.marker(\n", " [-19.6871573, 34.7600126],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_906259828b5dd7e544e5536a1374ef81 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_5787fddabf2089272d3447efe596ac2d = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 14, "textColor": "red"}\n", " )\n", - " marker_27dfdf5ebe1b6cfbb15084c3ec4cef2a.setIcon(beautify_icon_906259828b5dd7e544e5536a1374ef81);\n", + " marker_f53b679cffced4c0f86b4ee61f149b04.setIcon(beautify_icon_5787fddabf2089272d3447efe596ac2d);\n", " \n", " \n", - " marker_27dfdf5ebe1b6cfbb15084c3ec4cef2a.bindTooltip(\n", + " marker_f53b679cffced4c0f86b4ee61f149b04.bindTooltip(\n", " `<div>\n", " <h4><b>ID 14</b></p><p>Supplies needed: <b>26</b></p>\n", " </div>`,\n", @@ -1016,19 +1017,19 @@ " );\n", " \n", " \n", - " var marker_885d6c578c68d455c9d1a186e65c9228 = L.marker(\n", + " var marker_906c25ffb67d1456f82bb5ee35c8efd5 = L.marker(\n", " [-17.3176417, 34.28176],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_2e7ee9a1da48199c6d6cf09d67c5d1a5 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_4018a3ccca3f2febc0235f1d38190c80 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 15, "textColor": "red"}\n", " )\n", - " marker_885d6c578c68d455c9d1a186e65c9228.setIcon(beautify_icon_2e7ee9a1da48199c6d6cf09d67c5d1a5);\n", + " marker_906c25ffb67d1456f82bb5ee35c8efd5.setIcon(beautify_icon_4018a3ccca3f2febc0235f1d38190c80);\n", " \n", " \n", - " marker_885d6c578c68d455c9d1a186e65c9228.bindTooltip(\n", + " marker_906c25ffb67d1456f82bb5ee35c8efd5.bindTooltip(\n", " `<div>\n", " <h4><b>ID 15</b></p><p>Supplies needed: <b>39</b></p>\n", " </div>`,\n", @@ -1036,19 +1037,19 @@ " );\n", " \n", " \n", - " var marker_26a87b8ecb104d31f2ed67d80fe73a2e = L.marker(\n", + " var marker_1a969049c3b4e95fb3f64723cb32bea8 = L.marker(\n", " [-17.5822419, 34.309304],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_51a54ae5a5dd6f4e41b56500999d4fd6 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_c6057f5b1c48fe85a746caccb103b77b = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 16, "textColor": "red"}\n", " )\n", - " marker_26a87b8ecb104d31f2ed67d80fe73a2e.setIcon(beautify_icon_51a54ae5a5dd6f4e41b56500999d4fd6);\n", + " marker_1a969049c3b4e95fb3f64723cb32bea8.setIcon(beautify_icon_c6057f5b1c48fe85a746caccb103b77b);\n", " \n", " \n", - " marker_26a87b8ecb104d31f2ed67d80fe73a2e.bindTooltip(\n", + " marker_1a969049c3b4e95fb3f64723cb32bea8.bindTooltip(\n", " `<div>\n", " <h4><b>ID 16</b></p><p>Supplies needed: <b>50</b></p>\n", " </div>`,\n", @@ -1056,19 +1057,19 @@ " );\n", " \n", " \n", - " var marker_bd71a43589ffccf9749b5b32e28ab43c = L.marker(\n", + " var marker_14e8640f20d9c78c943906b93422f8e7 = L.marker(\n", " [-20.1497002, 34.1497002],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_cfe1da8df470b3b3651ecfa137f26f17 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_c78e288dc512e106e755b89bb7e379b5 = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 17, "textColor": "red"}\n", " )\n", - " marker_bd71a43589ffccf9749b5b32e28ab43c.setIcon(beautify_icon_cfe1da8df470b3b3651ecfa137f26f17);\n", + " marker_14e8640f20d9c78c943906b93422f8e7.setIcon(beautify_icon_c78e288dc512e106e755b89bb7e379b5);\n", " \n", " \n", - " marker_bd71a43589ffccf9749b5b32e28ab43c.bindTooltip(\n", + " marker_14e8640f20d9c78c943906b93422f8e7.bindTooltip(\n", " `<div>\n", " <h4><b>ID 17</b></p><p>Supplies needed: <b>48</b></p>\n", " </div>`,\n", @@ -1076,19 +1077,19 @@ " );\n", " \n", " \n", - " var marker_ce072503a3e0454ed43ca5046c8d9211 = L.marker(\n", + " var marker_eb74b5d9805ac0aa71f8259b336cb0a4 = L.marker(\n", " [-19.6506004, 34.7658005],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_ef5af2a851b99abbf0b44bb34620635c = new L.BeautifyIcon.icon(\n", + " var beautify_icon_10063164e81c8961bdce13fb4bd7caed = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 18, "textColor": "red"}\n", " )\n", - " marker_ce072503a3e0454ed43ca5046c8d9211.setIcon(beautify_icon_ef5af2a851b99abbf0b44bb34620635c);\n", + " marker_eb74b5d9805ac0aa71f8259b336cb0a4.setIcon(beautify_icon_10063164e81c8961bdce13fb4bd7caed);\n", " \n", " \n", - " marker_ce072503a3e0454ed43ca5046c8d9211.bindTooltip(\n", + " marker_eb74b5d9805ac0aa71f8259b336cb0a4.bindTooltip(\n", " `<div>\n", " <h4><b>ID 18</b></p><p>Supplies needed: <b>32</b></p>\n", " </div>`,\n", @@ -1096,19 +1097,19 @@ " );\n", " \n", " \n", - " var marker_a98b5303a7232118468df94f346ac030 = L.marker(\n", + " var marker_494dd6f1b85fb9bec8caee5bc1e2ac6f = L.marker(\n", " [-17.7828007, 35.2468987],\n", " {}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var beautify_icon_dce44bcd509d6206063804bb74bad9b2 = new L.BeautifyIcon.icon(\n", + " var beautify_icon_662f9c7a4e9910a77e74c7d3d0ed386b = new L.BeautifyIcon.icon(\n", " {"backgroundColor": "#FFF", "borderColor": "#000", "borderWidth": 3, "iconShape": "marker", "innerIconStyle": "font-size:12px;padding-top:-5px;", "isAlphaNumericIcon": true, "spin": true, "text": 20, "textColor": "red"}\n", " )\n", - " marker_a98b5303a7232118468df94f346ac030.setIcon(beautify_icon_dce44bcd509d6206063804bb74bad9b2);\n", + " marker_494dd6f1b85fb9bec8caee5bc1e2ac6f.setIcon(beautify_icon_662f9c7a4e9910a77e74c7d3d0ed386b);\n", " \n", " \n", - " marker_a98b5303a7232118468df94f346ac030.bindTooltip(\n", + " marker_494dd6f1b85fb9bec8caee5bc1e2ac6f.bindTooltip(\n", " `<div>\n", " <h4><b>ID 20</b></p><p>Supplies needed: <b>91</b></p>\n", " </div>`,\n", @@ -1116,163 +1117,161 @@ " );\n", " \n", " \n", - " var marker_53e7f01b06cde4a053696ef43924596e = L.marker(\n", + " var marker_2ef2944536e08c4ceae17ce00c74988e = L.marker(\n", " [-19.818474, 34.835447],\n", " {"setZIndexOffset": 1000}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", " \n", - " var icon_e78a79553068a3f35e1de48ba5f09342 = L.AwesomeMarkers.icon(\n", + " var icon_c3f3820338fa38cf41e2d2dd600fd5fc = L.AwesomeMarkers.icon(\n", " {"extraClasses": "fa-rotate-0", "icon": "bus", "iconColor": "white", "markerColor": "green", "prefix": "fa"}\n", " );\n", - " marker_53e7f01b06cde4a053696ef43924596e.setIcon(icon_e78a79553068a3f35e1de48ba5f09342);\n", + " marker_2ef2944536e08c4ceae17ce00c74988e.setIcon(icon_c3f3820338fa38cf41e2d2dd600fd5fc);\n", " \n", " \n", - " function geo_json_e09d8d2ff6b14aaea3432a1630ebb0ad_styler(feature) {\n", + " function geo_json_a4ff82a4331fd6bdc5707672b8e4f64e_styler(feature) {\n", " switch(feature.properties.color) {\n", " default:\n", " return {"color": "green"};\n", " }\n", " }\n", "\n", - " function geo_json_e09d8d2ff6b14aaea3432a1630ebb0ad_onEachFeature(feature, layer) {\n", + " function geo_json_a4ff82a4331fd6bdc5707672b8e4f64e_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_e09d8d2ff6b14aaea3432a1630ebb0ad = L.geoJson(null, {\n", - " onEachFeature: geo_json_e09d8d2ff6b14aaea3432a1630ebb0ad_onEachFeature,\n", + " var geo_json_a4ff82a4331fd6bdc5707672b8e4f64e = L.geoJson(null, {\n", + " onEachFeature: geo_json_a4ff82a4331fd6bdc5707672b8e4f64e_onEachFeature,\n", " \n", - " style: geo_json_e09d8d2ff6b14aaea3432a1630ebb0ad_styler,\n", + " style: geo_json_a4ff82a4331fd6bdc5707672b8e4f64e_styler,\n", " });\n", "\n", - " function geo_json_e09d8d2ff6b14aaea3432a1630ebb0ad_add (data) {\n", - " geo_json_e09d8d2ff6b14aaea3432a1630ebb0ad\n", + " function geo_json_a4ff82a4331fd6bdc5707672b8e4f64e_add (data) {\n", + " geo_json_a4ff82a4331fd6bdc5707672b8e4f64e\n", " .addData(data)\n", - " .addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " .addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " }\n", - " geo_json_e09d8d2ff6b14aaea3432a1630ebb0ad_add({"features": [{"geometry": {"coordinates": [[34.83556, -19.81795], [34.83819, -19.81844], [34.83853, -19.81854], [34.83953, -19.81912], [34.84032, -19.81949], [34.8397, -19.82038], [34.83969, -19.82046], [34.83972, -19.82053], [34.84011, -19.82076], [34.83903, -19.8224], [34.83771, -19.82436], [34.83749, -19.82463], [34.83719, -19.82494], [34.83723, -19.82556], [34.83747, -19.82571], [34.83701, -19.82639], [34.83678, -19.82674], [34.83687, -19.82671], [34.83705, -19.82667], [34.83719, -19.8267], [34.8373, -19.82676], [34.83758, -19.82692], [34.83786, -19.82706], [34.83822, -19.82728], [34.83839, -19.82744], [34.83846, -19.82765], [34.83858, -19.82772], [34.83886, -19.82788], [34.83918, -19.82809], [34.83945, -19.82825], [34.8396, -19.82833], [34.8398, -19.82829], [34.83988, -19.82829], [34.83998, -19.82831], [34.84031, -19.82851], [34.84083, -19.82882], [34.84113, -19.829], [34.84125, -19.82907], [34.84175, -19.82936], [34.84186, -19.82943], [34.84281, -19.83003], [34.84303, -19.83016], [34.84348, -19.83045], [34.84368, -19.83054], [34.84376, -19.83051], [34.84385, -19.8305], [34.84422, -19.83006], [34.8443, -19.82994], [34.84464, -19.82947], [34.84482, -19.82921], [34.84503, -19.82892], [34.84543, -19.82835], [34.84552, -19.82822], [34.84559, -19.82812], [34.84652, -19.82679], [34.84673, -19.82649], [34.84715, -19.82588], [34.84874, -19.82362], [34.84892, -19.82336], [34.84904, -19.82319], [34.84928, -19.82285], [34.85027, -19.82143], [34.85077, -19.82073], [34.85121, -19.82011], [34.85153, -19.81965], [34.8526, -19.81812], [34.85283, -19.81779], [34.85309, -19.81744], [34.85493, -19.81479], [34.85594, -19.81339], [34.85685, -19.81209], [34.85788, -19.81062], [34.85871, -19.8094], [34.85965, -19.8081], [34.86122, -19.8059], [34.86254, -19.8041], [34.86452, -19.80136], [34.86739, -19.79749], [34.86777, -19.79701], [34.86948, -19.79469], [34.86995, -19.79402], [34.87074, -19.79293], [34.87154, -19.79186], [34.8719, -19.79137], [34.87238, -19.79071], [34.87266, -19.79033], [34.87689, -19.7846], [34.87973, -19.78078], [34.87986, -19.78061], [34.88065, -19.77959], [34.88199, -19.77768], [34.88226, -19.77722], [34.88237, -19.777], [34.88259, -19.77656], [34.88276, -19.77614], [34.88301, -19.77539], [34.88313, -19.77494], [34.88319, -19.77463], [34.88329, -19.77373], [34.88332, -19.77307], [34.8833, -19.77263], [34.88323, -19.77194], [34.88307, -19.77115], [34.88296, -19.77073], [34.88273, -19.77], [34.8825, -19.76937], [34.88222, -19.76867], [34.88217, -19.76853], [34.88197, -19.76804], [34.88193, -19.76793], [34.88149, -19.76667], [34.88092, -19.76519], [34.8807, -19.76461], [34.88028, -19.76346], [34.8799, -19.76256], [34.87969, -19.76203], [34.8795, -19.76149], [34.87909, -19.76043], [34.87859, -19.75907], [34.87847, -19.75881], [34.87822, -19.75811], [34.87807, -19.75775], [34.87794, -19.75739], [34.87781, -19.75706], [34.87747, -19.75614], [34.87722, -19.75557], [34.87718, -19.75547], [34.87712, -19.75528], [34.8767, -19.75413], [34.8766, -19.75387], [34.87617, -19.75278], [34.87599, -19.75238], [34.87561, -19.75164], [34.87544, -19.75138], [34.87516, -19.75096], [34.87474, -19.75041], [34.87457, -19.75021], [34.87415, -19.74978], [34.87368, -19.74932], [34.8732, -19.74894], [34.87292, -19.74872], [34.87216, -19.74813], [34.87141, -19.74757], [34.87031, -19.74668], [34.87013, -19.74654], [34.8689, -19.74554], [34.86854, -19.74524], [34.86833, -19.74506], [34.86717, -19.74418], [34.86707, -19.74409], [34.86588, -19.74314], [34.86562, -19.74296], [34.86476, -19.7423], [34.86457, -19.74243], [34.86451, -19.7425], [34.86444, -19.7426], [34.86414, -19.74297], [34.86399, -19.74318], [34.86377, -19.74336], [34.86345, -19.74369], [34.86324, -19.74385], [34.8631, -19.74393], [34.86301, -19.74395], [34.86297, -19.74394], [34.86279, -19.7443], [34.86274, -19.74442], [34.86226, -19.74433], [34.86162, -19.74578], [34.86103, -19.74726], [34.86059, -19.7471], [34.86103, -19.74726], [34.86162, -19.74578], [34.86226, -19.74433], [34.86274, -19.74442], [34.86279, -19.7443], [34.86297, -19.74394], [34.86301, -19.74395], [34.8631, -19.74393], [34.86324, -19.74385], [34.86345, -19.74369], [34.86377, -19.74336], [34.86399, -19.74318], [34.86414, -19.74297], [34.86444, -19.7426], [34.86451, -19.7425], [34.86457, -19.74243], [34.86476, -19.7423], [34.8641, -19.74185], [34.86375, -19.74164], [34.86329, -19.7414], [34.8628, -19.74116], [34.86232, -19.74095], [34.862, -19.74085], [34.86134, -19.74069], [34.86016, -19.74045], [34.85893, -19.74024], [34.858, -19.74007], [34.85712, -19.7399], [34.85666, -19.73982], [34.85497, -19.73951], [34.85341, -19.73928], [34.8528, -19.73915], [34.85169, -19.73894], [34.85083, -19.73879], [34.84769, -19.73823], [34.84441, -19.73766], [34.84416, -19.73762], [34.84299, -19.73742], [34.84048, -19.73697], [34.83812, -19.73655], [34.83612, -19.73622], [34.834, -19.7358], [34.83346, -19.73567], [34.8325, -19.73532], [34.83191, -19.73505], [34.83128, -19.73474], [34.83035, -19.73424], [34.827, -19.73241], [34.8257, -19.73171], [34.82387, -19.73072], [34.82299, -19.73025], [34.82264, -19.73005], [34.82162, -19.72949], [34.8213, -19.72934], [34.82004, -19.72863], [34.81971, -19.72847], [34.8183, -19.72768], [34.81752, -19.72727], [34.8168, -19.72687], [34.81644, -19.72669], [34.81539, -19.7261], [34.81546, -19.72606], [34.81732, -19.72708], [34.81785, -19.7268], [34.81835, -19.72649], [34.81867, -19.72616], [34.81919, -19.72568], [34.81975, -19.72515], [34.81919, -19.72568], [34.81867, -19.72616], [34.81835, -19.72649], [34.81785, -19.7268], [34.81711, -19.72643], [34.81692, -19.72627], [34.81674, -19.72619], [34.81662, -19.72604], [34.81621, -19.72561], [34.81614, -19.72554], [34.81546, -19.72606], [34.81539, -19.7261], [34.814, -19.72534], [34.81371, -19.72519], [34.81252, -19.72455], [34.8115, -19.724], [34.81043, -19.7234], [34.80981, -19.72309], [34.8093, -19.72281], [34.80894, -19.72263], [34.80852, -19.72237], [34.80822, -19.72222], [34.80802, -19.72211], [34.80782, -19.72197], [34.80728, -19.72155], [34.80701, -19.72131], [34.80579, -19.72009], [34.8047, -19.71903], [34.80393, -19.71825], [34.8032, -19.71751], [34.80232, -19.71661], [34.80086, -19.71518], [34.79889, -19.71319], [34.79604, -19.71036], [34.79538, -19.70967], [34.79497, -19.70928], [34.79022, -19.70448], [34.78927, -19.70353], [34.78894, -19.70319], [34.78819, -19.70244], [34.78667, -19.70098], [34.78556, -19.69984], [34.78314, -19.69746], [34.78138, -19.69557], [34.7795, -19.69346], [34.77872, -19.69261], [34.77826, -19.69208], [34.77809, -19.69186], [34.77796, -19.69167], [34.77776, -19.6912], [34.7777, -19.69096], [34.77766, -19.69063], [34.77765, -19.6904], [34.77772, -19.68934], [34.77778, -19.68884], [34.77785, -19.68828], [34.77798, -19.68692], [34.77811, -19.68532], [34.77852, -19.68158], [34.77867, -19.68005], [34.77891, -19.67785], [34.77903, -19.6766], [34.77917, -19.67562], [34.7793, -19.67518], [34.77946, -19.67449], [34.77956, -19.67393], [34.77965, -19.67252], [34.77979, -19.67142], [34.77985, -19.67104], [34.78019, -19.66938], [34.78023, -19.66901], [34.78022, -19.6681], [34.78015, -19.66759], [34.78006, -19.6673], [34.77997, -19.667], [34.77979, -19.66653], [34.7796, -19.66613], [34.7794, -19.66582], [34.77925, -19.66559], [34.77885, -19.66508], [34.77854, -19.66474], [34.77669, -19.66291], [34.77325, -19.65946], [34.7711, -19.65733], [34.77055, -19.65677], [34.77017, -19.65637], [34.76772, -19.65392], [34.76717, -19.65338], [34.76695, -19.65314], [34.76584, -19.65202], [34.76553, -19.6517], [34.76393, -19.65009], [34.76339, -19.64956], [34.76286, -19.64901], [34.76235, -19.64851], [34.76228, -19.64844], [34.76236, -19.64838], [34.76242, -19.64844], [34.76343, -19.64945], [34.76379, -19.64905], [34.7644, -19.64854], [34.76452, -19.64865], [34.76468, -19.64874], [34.7658, -19.64977], [34.76624, -19.6502], [34.7658, -19.64977], [34.76468, -19.64874], [34.76452, -19.64865], [34.7644, -19.64854], [34.76379, -19.64905], [34.76343, -19.64945], [34.76731, -19.65337], [34.76717, -19.65338], [34.76695, -19.65314], [34.76584, -19.65202], [34.76553, -19.6517], [34.76393, -19.65009], [34.76339, -19.64956], [34.76286, -19.64901], [34.76235, -19.64851], [34.76228, -19.64844], [34.76088, -19.64703], [34.75849, -19.6446], [34.75706, -19.64319], [34.75703, -19.64315], [34.7555, -19.64155], [34.75419, -19.64026], [34.75341, -19.63953], [34.75306, -19.63916], [34.75278, -19.63887], [34.75231, -19.63827], [34.75135, -19.63699], [34.75099, -19.6364], [34.75057, -19.63561], [34.75025, -19.63492], [34.74975, -19.63355], [34.74958, -19.6329], [34.74923, -19.63141], [34.7491, -19.63074], [34.74872, -19.62909], [34.74825, -19.62706], [34.74806, -19.6262], [34.74778, -19.62476], [34.74753, -19.62373], [34.74697, -19.62131], [34.74649, -19.61888], [34.74622, -19.61746], [34.74618, -19.61727], [34.74601, -19.61649], [34.74582, -19.61545], [34.74555, -19.6142], [34.74545, -19.61364], [34.74528, -19.61273], [34.74527, -19.61263], [34.74509, -19.61173], [34.74496, -19.61136], [34.74471, -19.6108], [34.74429, -19.61006], [34.74414, -19.60972], [34.74393, -19.6092], [34.74329, -19.60742], [34.74305, -19.60682], [34.7426, -19.60548], [34.74149, -19.60233], [34.74065, -19.59974], [34.73975, -19.59724], [34.73888, -19.59477], [34.73851, -19.5937], [34.73813, -19.59257], [34.73784, -19.59179], [34.73775, -19.59153], [34.73772, -19.59145], [34.73732, -19.59031], [34.73691, -19.58902], [34.73645, -19.58779], [34.73626, -19.58723], [34.73497, -19.58351], [34.73425, -19.58157], [34.73406, -19.58114], [34.73395, -19.58094], [34.73355, -19.58038], [34.73317, -19.58001], [34.73277, -19.57971], [34.7324, -19.57951], [34.73172, -19.57926], [34.73115, -19.57914], [34.73039, -19.57907], [34.72892, -19.57893], [34.72692, -19.57876], [34.72665, -19.57873], [34.72622, -19.57862], [34.72593, -19.57853], [34.72557, -19.5784], [34.72534, -19.57828], [34.7248, -19.57797], [34.72449, -19.57778], [34.72363, -19.57727], [34.72296, -19.57685], [34.72259, -19.57664], [34.72208, -19.57632], [34.72178, -19.57613], [34.72123, -19.5758], [34.72112, -19.57573], [34.72084, -19.57557], [34.71974, -19.57491], [34.71947, -19.57471], [34.71832, -19.57402], [34.71776, -19.57368], [34.7173, -19.5734], [34.71625, -19.57279], [34.71562, -19.5726], [34.71543, -19.57256], [34.71512, -19.57251], [34.71443, -19.57248], [34.71424, -19.57251], [34.71276, -19.5727], [34.71258, -19.57272], [34.711, -19.5729], [34.70802, -19.57325], [34.7057, -19.57351], [34.70442, -19.57363], [34.70411, -19.57363], [34.7038, -19.5736], [34.70346, -19.57353], [34.70316, -19.57344], [34.70279, -19.5733], [34.70242, -19.57313], [34.69915, -19.57157], [34.69884, -19.57143], [34.69644, -19.57025], [34.69439, -19.56925], [34.69192, -19.56804], [34.68681, -19.5657], [34.68555, -19.56521], [34.68365, -19.56457], [34.68344, -19.5645], [34.67938, -19.56319], [34.67795, -19.56275], [34.67513, -19.56185], [34.67395, -19.56147], [34.67371, -19.56139], [34.67183, -19.56079], [34.66935, -19.56001], [34.66916, -19.55995], [34.66761, -19.55947], [34.6653, -19.55873], [34.66345, -19.55815], [34.66135, -19.55749], [34.66053, -19.55723], [34.66031, -19.55716], [34.65822, -19.55647], [34.65784, -19.55635], [34.65465, -19.55531], [34.6535, -19.55493], [34.65282, -19.55464], [34.65218, -19.55424], [34.64742, -19.55008], [34.6471, -19.5498], [34.64548, -19.54827], [34.64402, -19.54685], [34.64199, -19.54485], [34.64009, -19.54296], [34.63894, -19.54183], [34.63849, -19.54138], [34.63818, -19.54108], [34.63727, -19.54017], [34.63656, -19.53947], [34.63584, -19.53875], [34.63532, -19.53823], [34.63458, -19.5375], [34.63378, -19.5367], [34.63359, -19.53652], [34.63158, -19.53449], [34.63043, -19.53333], [34.63004, -19.53291], [34.62961, -19.53241], [34.62845, -19.53072], [34.62806, -19.53012], [34.62762, -19.52948], [34.6248, -19.52521], [34.62459, -19.52488], [34.6243, -19.52444], [34.62427, -19.52438], [34.62404, -19.52404], [34.62389, -19.52383], [34.62385, -19.52372], [34.62368, -19.52344], [34.62187, -19.52052], [34.62179, -19.5204], [34.62108, -19.51925], [34.62012, -19.5177], [34.61905, -19.51605], [34.61882, -19.51577], [34.61853, -19.51548], [34.61817, -19.51517], [34.61657, -19.51405], [34.61528, -19.51308], [34.61116, -19.51011], [34.61104, -19.51002], [34.60924, -19.5087], [34.60755, -19.50747], [34.60631, -19.50657], [34.60557, -19.50607], [34.6054, -19.50595], [34.60245, -19.50385], [34.60091, -19.50283], [34.60007, -19.50225], [34.59937, -19.50177], [34.59746, -19.50051], [34.59692, -19.50015], [34.5965, -19.49988], [34.59614, -19.49965], [34.59549, -19.49923], [34.59506, -19.49895], [34.59501, -19.49892], [34.5947, -19.49873], [34.59425, -19.49839], [34.59386, -19.49809], [34.59324, -19.49746], [34.5929, -19.49693], [34.59231, -19.49601], [34.59208, -19.49569], [34.59171, -19.49526], [34.59141, -19.495], [34.5905, -19.4944], [34.58704, -19.49187], [34.58538, -19.49068], [34.58373, -19.48949], [34.57981, -19.48658], [34.57586, -19.48372], [34.57461, -19.48286], [34.57128, -19.48043], [34.57076, -19.48004], [34.5704, -19.47971], [34.57012, -19.47942], [34.56967, -19.47892], [34.56286, -19.47044], [34.56174, -19.46905], [34.56063, -19.46768], [34.55953, -19.4663], [34.55757, -19.46392], [34.55711, -19.46345], [34.55607, -19.46221], [34.5524, -19.45793], [34.5516, -19.45701], [34.55091, -19.45622], [34.55248, -19.45497], [34.55353, -19.45431], [34.55372, -19.45412], [34.55384, -19.45389], [34.5539, -19.45364], [34.55416, -19.45269], [34.55422, -19.45226], [34.55433, -19.45202], [34.55432, -19.45185], [34.55439, -19.45132], [34.55455, -19.45092], [34.55463, -19.45049], [34.55473, -19.45024], [34.55479, -19.44975], [34.55501, -19.44896], [34.55518, -19.44786], [34.55527, -19.4476], [34.55535, -19.44727], [34.55545, -19.4471], [34.55543, -19.44677], [34.55534, -19.44665], [34.55532, -19.4465], [34.55533, -19.4464], [34.55542, -19.44628], [34.55581, -19.44609], [34.55592, -19.44596], [34.55607, -19.44578], [34.55661, -19.4453], [34.55688, -19.44499], [34.55696, -19.44487], [34.55715, -19.44449], [34.55726, -19.44431], [34.55733, -19.44411], [34.55737, -19.44406], [34.55754, -19.44396], [34.55787, -19.44365], [34.55791, -19.44352], [34.55804, -19.44329], [34.55816, -19.44313], [34.55842, -19.44295], [34.55854, -19.44282], [34.55859, -19.44278], [34.55886, -19.44269], [34.55903, -19.44256], [34.55913, -19.4425], [34.5592, -19.44244], [34.55934, -19.44228], [34.55942, -19.44213], [34.55946, -19.44211], [34.55972, -19.44201], [34.55976, -19.44198], [34.55981, -19.44188], [34.55987, -19.44182], [34.55998, -19.44176], [34.56017, -19.44158], [34.5603, -19.4415], [34.56051, -19.44115], [34.56053, -19.44106], [34.56061, -19.4409], [34.56074, -19.44071], [34.56081, -19.44062], [34.56101, -19.4405], [34.56109, -19.44042], [34.56128, -19.44028], [34.56137, -19.44026], [34.56151, -19.44014], [34.56168, -19.44006], [34.56133, -19.43632], [34.56066, -19.42988], [34.56063, -19.42934], [34.56066, -19.42926], [34.56078, -19.42891], [34.56082, -19.4286], [34.56092, -19.42836], [34.56103, -19.42819], [34.56122, -19.42786], [34.56147, -19.4266], [34.56154, -19.42638], [34.56167, -19.42595], [34.56181, -19.42564], [34.56222, -19.42501], [34.56244, -19.42459], [34.56256, -19.42411], [34.56266, -19.42343], [34.56318, -19.42198], [34.56421, -19.42043], [34.56454, -19.42006], [34.56468, -19.41976], [34.56516, -19.41817], [34.56548, -19.41745], [34.5656, -19.41698], [34.56572, -19.41582], [34.56587, -19.41516], [34.56616, -19.41429], [34.56664, -19.41307], [34.56675, -19.41273], [34.56678, -19.41233], [34.56651, -19.41104], [34.56621, -19.40988], [34.56609, -19.40854], [34.56611, -19.40824], [34.56631, -19.40648], [34.56691, -19.40475], [34.56697, -19.40458], [34.56765, -19.4019], [34.56776, -19.40144], [34.56796, -19.40109], [34.56806, -19.40091], [34.56853, -19.40021], [34.56984, -19.39879], [34.57329, -19.3949], [34.57545, -19.39258], [34.57655, -19.39139], [34.57937, -19.38825], [34.57983, -19.38783], [34.58016, -19.38767], [34.58034, -19.3876], [34.58061, -19.38751], [34.58086, -19.38746], [34.58117, -19.38743], [34.5854, -19.38728], [34.58573, -19.38728], [34.58641, -19.38731], [34.58812, -19.38709], [34.58913, -19.38704], [34.59117, -19.38696], [34.59137, -19.38691], [34.59162, -19.38679], [34.59184, -19.3866], [34.5922, -19.38625], [34.59238, -19.38608], [34.59244, -19.38599], [34.59257, -19.38567], [34.59271, -19.38521], [34.59274, -19.38465], [34.59262, -19.38364], [34.59248, -19.38243], [34.59243, -19.38223], [34.59234, -19.3818], [34.59234, -19.38176], [34.59234, -19.38173], [34.59236, -19.38155], [34.59237, -19.38147], [34.59235, -19.38135], [34.59228, -19.38073], [34.59214, -19.37946], [34.59212, -19.37915], [34.5921, -19.37905], [34.59202, -19.3787], [34.59195, -19.37853], [34.59187, -19.3784], [34.59175, -19.37826], [34.59156, -19.37812], [34.59154, -19.37797], [34.59154, -19.37791], [34.59178, -19.37703], [34.59213, -19.37651], [34.59228, -19.37611], [34.59221, -19.37585], [34.59215, -19.37565], [34.59212, -19.37554], [34.59211, -19.37524], [34.59219, -19.37442], [34.59237, -19.3733], [34.59237, -19.37307], [34.59238, -19.37245], [34.59233, -19.37177], [34.59194, -19.3705], [34.59178, -19.37025], [34.5917, -19.36996], [34.59166, -19.36946], [34.59161, -19.36922], [34.59112, -19.36824], [34.59108, -19.36799], [34.59116, -19.36747], [34.59069, -19.36617], [34.59064, -19.36575], [34.59064, -19.36502], [34.59041, -19.36454], [34.59037, -19.36442], [34.59028, -19.36413], [34.58993, -19.36362], [34.58974, -19.36307], [34.58942, -19.36263], [34.58904, -19.36227], [34.5886, -19.36141], [34.58828, -19.36097], [34.58816, -19.36064], [34.58801, -19.3604], [34.58784, -19.36027], [34.58762, -19.36015], [34.58721, -19.35987], [34.58632, -19.35971], [34.58551, -19.35964], [34.58506, -19.35947], [34.58429, -19.35922], [34.58354, -19.35901], [34.58324, -19.3589], [34.58293, -19.35871], [34.58263, -19.35861], [34.58247, -19.35845], [34.58233, -19.35822], [34.58238, -19.35807], [34.58238, -19.35748], [34.58241, -19.35719], [34.58256, -19.35711], [34.5821, -19.35703], [34.58182, -19.35703], [34.58121, -19.35699], [34.58063, -19.35705], [34.58005, -19.3571], [34.57983, -19.3571], [34.57964, -19.35718], [34.57943, -19.3574], [34.5789, -19.35799], [34.57887, -19.35804], [34.5787, -19.35835], [34.57844, -19.35872], [34.57846, -19.35892], [34.57837, -19.35915], [34.57851, -19.35934], [34.57856, -19.35988], [34.57869, -19.36022], [34.57865, -19.36076], [34.57839, -19.36137], [34.57814, -19.36145], [34.57779, -19.3617], [34.57764, -19.36177], [34.5776, -19.36189], [34.57759, -19.36201], [34.57717, -19.36252], [34.5771, -19.36256], [34.57682, -19.36246], [34.57659, -19.36232], [34.57648, -19.36221], [34.57634, -19.36216], [34.57619, -19.36218], [34.5758, -19.36242], [34.5757, -19.36262], [34.57564, -19.3627], [34.57548, -19.363], [34.57564, -19.3627], [34.5757, -19.36262], [34.5758, -19.36242], [34.57619, -19.36218], [34.57634, -19.36216], [34.57648, -19.36221], [34.57659, -19.36232], [34.57682, -19.36246], [34.5771, -19.36256], [34.57717, -19.36252], [34.57759, -19.36201], [34.5776, -19.36189], [34.57764, -19.36177], [34.57779, -19.3617], [34.57814, -19.36145], [34.57839, -19.36137], [34.57865, -19.36076], [34.57869, -19.36022], [34.57856, -19.35988], [34.57851, -19.35934], [34.57837, -19.35915], [34.57846, -19.35892], [34.57844, -19.35872], [34.5787, -19.35835], [34.57887, -19.35804], [34.5789, -19.35799], [34.57943, -19.3574], [34.57964, -19.35718], [34.57983, -19.3571], [34.58005, -19.3571], [34.58063, -19.35705], [34.58121, -19.35699], [34.58182, -19.35703], [34.5821, -19.35703], [34.58256, -19.35711], [34.58241, -19.35719], [34.58238, -19.35748], [34.58238, -19.35807], [34.58233, -19.35822], [34.58247, -19.35845], [34.58263, -19.35861], [34.58293, -19.35871], [34.58324, -19.3589], [34.58354, -19.35901], [34.58429, -19.35922], [34.58506, -19.35947], [34.58551, -19.35964], [34.58632, -19.35971], [34.58721, -19.35987], [34.58762, -19.36015], [34.58784, -19.36027], [34.58801, -19.3604], [34.58816, -19.36064], [34.58828, -19.36097], [34.5886, -19.36141], [34.58904, -19.36227], [34.58942, -19.36263], [34.58974, -19.36307], [34.58993, -19.36362], [34.59028, -19.36413], [34.59037, -19.36442], [34.59041, -19.36454], [34.59064, -19.36502], [34.59064, -19.36575], [34.59069, -19.36617], [34.59116, -19.36747], [34.59108, -19.36799], [34.59112, -19.36824], [34.59161, -19.36922], [34.59166, -19.36946], [34.5917, -19.36996], [34.59178, -19.37025], [34.59194, -19.3705], [34.59233, -19.37177], [34.59238, -19.37245], [34.59237, -19.37307], [34.59237, -19.3733], [34.59219, -19.37442], [34.59211, -19.37524], [34.59212, -19.37554], [34.59215, -19.37565], [34.59221, -19.37585], [34.59228, -19.37611], [34.59213, -19.37651], [34.59178, -19.37703], [34.59154, -19.37791], [34.59154, -19.37797], [34.59156, -19.37812], [34.59175, -19.37826], [34.59187, -19.3784], [34.59195, -19.37853], [34.59202, -19.3787], [34.5921, -19.37905], [34.59212, -19.37915], [34.59214, -19.37946], [34.59228, -19.38073], [34.59235, -19.38135], [34.59237, -19.38147], [34.59236, -19.38155], [34.59234, -19.38173], [34.59234, -19.38176], [34.59234, -19.3818], [34.59243, -19.38223], [34.59248, -19.38243], [34.59262, -19.38364], [34.59274, -19.38465], [34.59271, -19.38521], [34.59257, -19.38567], [34.59244, -19.38599], [34.59238, -19.38608], [34.5922, -19.38625], [34.59184, -19.3866], [34.59162, -19.38679], [34.59137, -19.38691], [34.59117, -19.38696], [34.58913, -19.38704], [34.58812, -19.38709], [34.58641, -19.38731], [34.58573, -19.38728], [34.5854, -19.38728], [34.58117, -19.38743], [34.58086, -19.38746], [34.58061, -19.38751], [34.58034, -19.3876], [34.58016, -19.38767], [34.57983, -19.38783], [34.57937, -19.38825], [34.57655, -19.39139], [34.57545, -19.39258], [34.57329, -19.3949], [34.56984, -19.39879], [34.56853, -19.40021], [34.56806, -19.40091], [34.56796, -19.40109], [34.56776, -19.40144], [34.56765, -19.4019], [34.56697, -19.40458], [34.56691, -19.40475], [34.56631, -19.40648], [34.56611, -19.40824], [34.56609, -19.40854], [34.56621, -19.40988], [34.56651, -19.41104], [34.56678, -19.41233], [34.56675, -19.41273], [34.56664, -19.41307], [34.56616, -19.41429], [34.56587, -19.41516], [34.56572, -19.41582], [34.5656, -19.41698], [34.56548, -19.41745], [34.56516, -19.41817], [34.56468, -19.41976], [34.56454, -19.42006], [34.56421, -19.42043], [34.56318, -19.42198], [34.56266, -19.42343], [34.56256, -19.42411], [34.56244, -19.42459], [34.56222, -19.42501], [34.56181, -19.42564], [34.56167, -19.42595], [34.56154, -19.42638], [34.56147, -19.4266], [34.56122, -19.42786], [34.56103, -19.42819], [34.56092, -19.42836], [34.56082, -19.4286], [34.56078, -19.42891], [34.56066, -19.42926], [34.56063, -19.42934], [34.56066, -19.42988], [34.56133, -19.43632], [34.56168, -19.44006], [34.56151, -19.44014], [34.56137, -19.44026], [34.56128, -19.44028], [34.56109, -19.44042], [34.56101, -19.4405], [34.56081, -19.44062], [34.56074, -19.44071], [34.56061, -19.4409], [34.56053, -19.44106], [34.56051, -19.44115], [34.5603, -19.4415], [34.56017, -19.44158], [34.55998, -19.44176], [34.55987, -19.44182], [34.55981, -19.44188], [34.55976, -19.44198], [34.55972, -19.44201], [34.55946, -19.44211], [34.55942, -19.44213], [34.55934, -19.44228], [34.5592, -19.44244], [34.55913, -19.4425], [34.55903, -19.44256], [34.55886, -19.44269], [34.55859, -19.44278], [34.55854, -19.44282], [34.55842, -19.44295], [34.55816, -19.44313], [34.55804, -19.44329], [34.55791, -19.44352], [34.55787, -19.44365], [34.55754, -19.44396], [34.55737, -19.44406], [34.55733, -19.44411], [34.55726, -19.44431], [34.55715, -19.44449], [34.55696, -19.44487], [34.55688, -19.44499], [34.55661, -19.4453], [34.55607, -19.44578], [34.55592, -19.44596], [34.55581, -19.44609], [34.55542, -19.44628], [34.55533, -19.4464], [34.55532, -19.4465], [34.55534, -19.44665], [34.55543, -19.44677], [34.55545, -19.4471], [34.55535, -19.44727], [34.55527, -19.4476], [34.55518, -19.44786], [34.55501, -19.44896], [34.55479, -19.44975], [34.55473, -19.45024], [34.55463, -19.45049], [34.55455, -19.45092], [34.55439, -19.45132], [34.55432, -19.45185], [34.55433, -19.45202], [34.55422, -19.45226], [34.55416, -19.45269], [34.5539, -19.45364], [34.55384, -19.45389], [34.55372, -19.45412], [34.55353, -19.45431], [34.55248, -19.45497], [34.55091, -19.45622], [34.54899, -19.45401], [34.54852, -19.45353], [34.54828, -19.45333], [34.5478, -19.45295], [34.54746, -19.45273], [34.54726, -19.45261], [34.54674, -19.45235], [34.54626, -19.45214], [34.54561, -19.45194], [34.54531, -19.45186], [34.54458, -19.45174], [34.54353, -19.4517], [34.54209, -19.45173], [34.54151, -19.4517], [34.54131, -19.45172], [34.54103, -19.45172], [34.54056, -19.45167], [34.54024, -19.4516], [34.53988, -19.45148], [34.5397, -19.4514], [34.53927, -19.45116], [34.53898, -19.45094], [34.53858, -19.45055], [34.53832, -19.4502], [34.53821, -19.45], [34.53808, -19.44975], [34.53761, -19.44872], [34.53721, -19.44789], [34.53716, -19.44774], [34.53706, -19.44751], [34.5369, -19.4472], [34.53671, -19.44691], [34.53649, -19.44664], [34.53625, -19.44639], [34.53598, -19.44616], [34.53554, -19.44586], [34.53522, -19.4457], [34.53489, -19.44556], [34.53455, -19.44545], [34.53419, -19.44537], [34.53401, -19.44535], [34.53344, -19.44532], [34.53287, -19.44536], [34.52907, -19.44609], [34.52812, -19.44621], [34.52739, -19.44624], [34.5269, -19.44624], [34.52637, -19.44619], [34.52551, -19.44607], [34.5248, -19.44591], [34.52378, -19.44557], [34.52287, -19.44519], [34.52167, -19.44475], [34.52039, -19.44426], [34.51582, -19.44242], [34.51526, -19.44221], [34.51234, -19.44094], [34.51167, -19.44066], [34.50599, -19.43821], [34.50582, -19.43813], [34.49545, -19.4337], [34.47752, -19.426], [34.47277, -19.42396], [34.47271, -19.42394], [34.46171, -19.41922], [34.4581, -19.41764], [34.45654, -19.41699], [34.45591, -19.41671], [34.45584, -19.41668], [34.45474, -19.41622], [34.45198, -19.41503], [34.45092, -19.41457], [34.45056, -19.41441], [34.45012, -19.41422], [34.44973, -19.41406], [34.44929, -19.41387], [34.44916, -19.41381], [34.44873, -19.41363], [34.44824, -19.41341], [34.4482, -19.4134], [34.44817, -19.41338], [34.44683, -19.41282], [34.44675, -19.41278], [34.4459, -19.41242], [34.44558, -19.41228], [34.44499, -19.41203], [34.44378, -19.41151], [34.44348, -19.41137], [34.44347, -19.41137], [34.44331, -19.4113], [34.443, -19.41114], [34.44254, -19.41087], [34.44202, -19.41047], [34.44136, -19.40998], [34.44129, -19.40992], [34.43923, -19.40821], [34.43688, -19.40634], [34.43543, -19.40515], [34.43445, -19.40436], [34.43442, -19.40434], [34.43399, -19.404], [34.43383, -19.40387], [34.43206, -19.40249], [34.43111, -19.40172], [34.43066, -19.40135], [34.4301, -19.40089], [34.4292, -19.40004], [34.42911, -19.39994], [34.4283, -19.39897], [34.42781, -19.39842], [34.42723, -19.39787], [34.42685, -19.39758], [34.42659, -19.39738], [34.42615, -19.39709], [34.42548, -19.39673], [34.42529, -19.39663], [34.42413, -19.39597], [34.424, -19.3959], [34.4234, -19.39547], [34.42033, -19.39299], [34.42018, -19.39287], [34.41688, -19.39022], [34.41669, -19.39007], [34.41484, -19.38858], [34.41402, -19.38792], [34.40748, -19.38266], [34.40691, -19.38219], [34.40666, -19.382], [34.40656, -19.38192], [34.40618, -19.38161], [34.40442, -19.38018], [34.40296, -19.379], [34.40238, -19.37854], [34.4019, -19.37815], [34.40151, -19.37784], [34.40146, -19.3778], [34.40074, -19.37722], [34.40063, -19.37713], [34.40017, -19.37676], [34.39975, -19.37643], [34.39929, -19.37606], [34.39547, -19.37298], [34.39541, -19.37293], [34.39425, -19.372], [34.38542, -19.36485], [34.38046, -19.36087], [34.37877, -19.35952], [34.37724, -19.35826], [34.37672, -19.35784], [34.3712, -19.35339], [34.3704, -19.3528], [34.3696, -19.35226], [34.36887, -19.35182], [34.36799, -19.35135], [34.36573, -19.35039], [34.36475, -19.35002], [34.36362, -19.34958], [34.36349, -19.34953], [34.36296, -19.34932], [34.3598, -19.34811], [34.35974, -19.34809], [34.3589, -19.34777], [34.35874, -19.34771], [34.35871, -19.3477], [34.35756, -19.34726], [34.35751, -19.34724], [34.35681, -19.34698], [34.35637, -19.34681], [34.35506, -19.34631], [34.35306, -19.34554], [34.35068, -19.34463], [34.34859, -19.34384], [34.34824, -19.34371], [34.34314, -19.34174], [34.33992, -19.3405], [34.33961, -19.34038], [34.33819, -19.33984], [34.33745, -19.33956], [34.33594, -19.33898], [34.33563, -19.33886], [34.3309, -19.33705], [34.33075, -19.337], [34.32851, -19.33613], [34.32751, -19.33575], [34.32725, -19.33565], [34.32497, -19.33477], [34.32401, -19.33441], [34.32268, -19.33391], [34.3217, -19.33355], [34.32106, -19.3333], [34.32032, -19.33301], [34.32026, -19.33299], [34.31842, -19.33228], [34.31773, -19.33205], [34.31746, -19.33195], [34.31701, -19.33177], [34.31582, -19.33129], [34.31506, -19.33098], [34.31403, -19.33052], [34.31067, -19.32892], [34.30968, -19.32846], [34.30515, -19.32628], [34.30224, -19.32492], [34.29627, -19.32204], [34.29041, -19.31922], [34.28637, -19.31729], [34.28422, -19.31627], [34.2823, -19.31535], [34.28109, -19.31477], [34.2797, -19.31411], [34.26755, -19.30828], [34.26348, -19.30634], [34.26319, -19.3062], [34.26297, -19.30609], [34.24679, -19.29833], [34.23868, -19.29446], [34.23604, -19.29319], [34.23424, -19.29233], [34.23339, -19.29189], [34.23225, -19.29123], [34.23166, -19.29083], [34.23084, -19.29023], [34.23056, -19.29001], [34.22978, -19.28935], [34.22876, -19.28838], [34.22681, -19.28658], [34.22585, -19.28568], [34.22458, -19.28451], [34.22286, -19.28289], [34.22221, -19.28229], [34.22175, -19.28185], [34.2212, -19.28134], [34.22041, -19.28059], [34.21972, -19.27997], [34.21879, -19.27911], [34.21823, -19.27856], [34.21797, -19.27834], [34.21765, -19.27802], [34.21645, -19.2769], [34.21581, -19.27631], [34.21486, -19.27545], [34.21455, -19.27514], [34.21398, -19.2746], [34.21381, -19.27445], [34.21345, -19.27411], [34.21332, -19.274], [34.21196, -19.27273], [34.21172, -19.2725], [34.21108, -19.2719], [34.21074, -19.27159], [34.21006, -19.27097], [34.20923, -19.27018], [34.20899, -19.26996], [34.20852, -19.26953], [34.20846, -19.26948], [34.20806, -19.26909], [34.20725, -19.26833], [34.20697, -19.26807], [34.20659, -19.26774], [34.20567, -19.267], [34.20548, -19.26685], [34.20502, -19.26649], [34.20449, -19.26611], [34.20405, -19.26579], [34.2037, -19.26558], [34.203, -19.26517], [34.20251, -19.26492], [34.20216, -19.26475], [34.20169, -19.26451], [34.20119, -19.26426], [34.20029, -19.26392], [34.19768, -19.26297], [34.19603, -19.26235], [34.19014, -19.26011], [34.18953, -19.25988], [34.18853, -19.25951], [34.18484, -19.2581], [34.18189, -19.25698], [34.17988, -19.25621], [34.17812, -19.25554], [34.1763, -19.25487], [34.17514, -19.25442], [34.17499, -19.25436], [34.17439, -19.25412], [34.17382, -19.2539], [34.1726, -19.25346], [34.17126, -19.25296], [34.17086, -19.25282], [34.17032, -19.25268], [34.16988, -19.25259], [34.16717, -19.25214], [34.16255, -19.25137], [34.15793, -19.25057], [34.15655, -19.25037], [34.1549, -19.25009], [34.15382, -19.24991], [34.15308, -19.2498], [34.15235, -19.24978], [34.15211, -19.2498], [34.15151, -19.24991], [34.15085, -19.2501], [34.15053, -19.25024], [34.14838, -19.25123], [34.14751, -19.25164], [34.14697, -19.25188], [34.14638, -19.25208], [34.1461, -19.25215], [34.14576, -19.25222], [34.14536, -19.25226], [34.14492, -19.25228], [34.14433, -19.25223], [34.14376, -19.25212], [34.14318, -19.25194], [34.14271, -19.25174], [34.14143, -19.25119], [34.14021, -19.25068], [34.13917, -19.25024], [34.13807, -19.24972], [34.13448, -19.24815], [34.13207, -19.24711], [34.13078, -19.24655], [34.12855, -19.24558], [34.12764, -19.24518], [34.12671, -19.24478], [34.12487, -19.24398], [34.12437, -19.24376], [34.124, -19.24359], [34.12354, -19.24339], [34.12343, -19.24334], [34.12226, -19.24283], [34.12223, -19.24281], [34.12161, -19.24254], [34.12131, -19.24241], [34.12035, -19.24198], [34.11971, -19.2417], [34.11778, -19.24087], [34.11771, -19.24084], [34.11714, -19.24059], [34.11688, -19.24047], [34.11652, -19.24032], [34.11629, -19.24022], [34.11572, -19.24002], [34.11459, -19.23976], [34.11205, -19.2393], [34.11055, -19.23903], [34.10952, -19.23887], [34.1088, -19.23876], [34.10577, -19.23852], [34.10091, -19.23812], [34.10066, -19.23809], [34.10024, -19.23801], [34.09982, -19.23789], [34.09928, -19.2377], [34.09562, -19.23645], [34.08721, -19.23358], [34.08413, -19.23252], [34.08241, -19.23194], [34.08162, -19.23167], [34.08113, -19.23151], [34.08077, -19.23139], [34.07966, -19.23101], [34.07864, -19.23066], [34.07781, -19.2304], [34.07743, -19.23031], [34.07722, -19.23026], [34.07639, -19.2301], [34.0759, -19.23005], [34.07573, -19.23003], [34.07511, -19.23002], [34.07438, -19.23005], [34.07027, -19.23055], [34.06701, -19.23096], [34.06225, -19.2316], [34.05978, -19.23196], [34.05736, -19.2323], [34.05659, -19.23243], [34.05582, -19.23261], [34.05527, -19.23278], [34.05503, -19.23285], [34.05401, -19.23331], [34.0535, -19.23358], [34.05297, -19.23385], [34.04692, -19.23707], [34.04527, -19.23794], [34.04154, -19.23993], [34.04149, -19.23995], [34.04041, -19.24052], [34.0398, -19.24083], [34.03874, -19.24141], [34.03851, -19.24153], [34.03841, -19.24159], [34.03805, -19.24176], [34.03761, -19.24201], [34.0373, -19.24217], [34.03689, -19.24238], [34.03683, -19.24242], [34.03627, -19.24268], [34.03569, -19.24293], [34.03548, -19.243], [34.03462, -19.24327], [34.03396, -19.24341], [34.03357, -19.24347], [34.0333, -19.24351], [34.033, -19.24354], [34.03214, -19.24357], [34.03163, -19.24356], [34.03124, -19.24353], [34.03116, -19.24352], [34.03044, -19.24342], [34.03012, -19.24336], [34.02944, -19.24319], [34.02809, -19.24276], [34.02772, -19.24264], [34.02752, -19.24258], [34.0266, -19.24227], [34.02557, -19.24193], [34.02539, -19.24187], [34.02481, -19.24168], [34.02338, -19.24122], [34.02243, -19.24091], [34.022, -19.24077], [34.02175, -19.24069], [34.02155, -19.24063], [34.02075, -19.24037], [34.02002, -19.24014], [34.01971, -19.24004], [34.01968, -19.24003], [34.01947, -19.23996], [34.01667, -19.23905], [34.01441, -19.23831], [34.01392, -19.23815], [34.0127, -19.23775], [34.0118, -19.23747], [34.01122, -19.23729], [34.01067, -19.23717], [34.01058, -19.23715], [34.00996, -19.23703], [34.00628, -19.23637], [33.99981, -19.23521], [33.9997, -19.23519], [33.99774, -19.23484], [33.99497, -19.23434], [33.99443, -19.23424], [33.99414, -19.23419], [33.99396, -19.23416], [33.99281, -19.23395], [33.98995, -19.23344], [33.98879, -19.23323], [33.98788, -19.23301], [33.9871, -19.23277], [33.98297, -19.23102], [33.97918, -19.22941], [33.97815, -19.22897], [33.97766, -19.22876], [33.97668, -19.22842], [33.97324, -19.22735], [33.97012, -19.22638], [33.96994, -19.22632], [33.96857, -19.2259], [33.96738, -19.22554], [33.96567, -19.22501], [33.96471, -19.22469], [33.96373, -19.22425], [33.96288, -19.22371], [33.96212, -19.22313], [33.95936, -19.22099], [33.95028, -19.21393], [33.94994, -19.2137], [33.94937, -19.21335], [33.94892, -19.21311], [33.94845, -19.21289], [33.94778, -19.21263], [33.94736, -19.2125], [33.94567, -19.21204], [33.94488, -19.21182], [33.94442, -19.21175], [33.94276, -19.21133], [33.94223, -19.21121], [33.94146, -19.21108], [33.94059, -19.21101], [33.938, -19.21086], [33.93757, -19.21082], [33.93745, -19.21081], [33.93705, -19.21075], [33.93664, -19.21067], [33.93603, -19.21047], [33.93564, -19.21028], [33.93533, -19.21012], [33.93485, -19.20979], [33.93466, -19.20962], [33.93402, -19.20915], [33.9338, -19.20903], [33.93346, -19.20898], [33.9333, -19.20898], [33.93301, -19.20891], [33.93281, -19.20883], [33.93214, -19.20833], [33.93197, -19.20825], [33.93184, -19.20824], [33.93171, -19.20827], [33.93118, -19.20854], [33.93165, -19.20815], [33.93215, -19.20762], [33.93258, -19.2072], [33.93363, -19.20622], [33.93366, -19.20619], [33.93387, -19.20602], [33.93408, -19.20587], [33.93483, -19.20543], [33.93505, -19.20529], [33.93523, -19.20518], [33.93578, -19.20485], [33.9358, -19.20484], [33.93605, -19.20469], [33.93693, -19.20417], [33.93783, -19.20365], [33.93862, -19.20319], [33.93926, -19.20287], [33.93992, -19.20262], [33.9407, -19.20237], [33.94172, -19.20216], [33.94281, -19.20202], [33.94373, -19.20196], [33.94762, -19.20171], [33.95164, -19.20145], [33.95841, -19.20101], [33.96195, -19.20078], [33.96272, -19.20074], [33.96452, -19.20063], [33.96527, -19.20059], [33.96632, -19.20053], [33.9668, -19.20051], [33.96738, -19.20047], [33.96775, -19.20045], [33.96812, -19.20048], [33.9682, -19.20048], [33.96933, -19.20055], [33.97333, -19.20092], [33.97503, -19.20108], [33.97639, -19.2012], [33.97731, -19.20129], [33.97748, -19.2013], [33.97813, -19.20136], [33.97854, -19.20139], [33.97918, -19.20144], [33.97973, -19.20144], [33.98008, -19.20142], [33.98054, -19.2014], [33.98133, -19.20128], [33.98199, -19.20112], [33.9821, -19.20109], [33.9855, -19.2], [33.98563, -19.19996], [33.98747, -19.19938], [33.98859, -19.19893], [33.9894, -19.19858], [33.99055, -19.19809], [33.99205, -19.19741], [33.99294, -19.19696], [33.99305, -19.1969], [33.99395, -19.19626], [33.99442, -19.19586], [33.99485, -19.19545], [33.99535, -19.19488], [33.99577, -19.19432], [33.99611, -19.1938], [33.99632, -19.19345], [33.9969, -19.19247], [33.99725, -19.1919], [33.99782, -19.19093], [33.99829, -19.19022], [33.99879, -19.18959], [33.99959, -19.18878], [33.99961, -19.18876], [33.99979, -19.18859], [34.00013, -19.18833], [34.00047, -19.18809], [34.00088, -19.18781], [34.00194, -19.18715], [34.00314, -19.18636], [34.00323, -19.1863], [34.0043, -19.18564], [34.00547, -19.18489], [34.00612, -19.18445], [34.00678, -19.18386], [34.00748, -19.18307], [34.00773, -19.18279], [34.00831, -19.1819], [34.00948, -19.18009], [34.00974, -19.1797], [34.00997, -19.17934], [34.01094, -19.17779], [34.01106, -19.17755], [34.01116, -19.17736], [34.01136, -19.17697], [34.01173, -19.17616], [34.01266, -19.17381], [34.01271, -19.17368], [34.01317, -19.17253], [34.01355, -19.17154], [34.01402, -19.17023], [34.01423, -19.16923], [34.01425, -19.16901], [34.01425, -19.16893], [34.01437, -19.16751], [34.01442, -19.16678], [34.01461, -19.16352], [34.01463, -19.16337], [34.01467, -19.1627], [34.01488, -19.15981], [34.0149, -19.15921], [34.01501, -19.15756], [34.01519, -19.15449], [34.01524, -19.15363], [34.01526, -19.15345], [34.01532, -19.1524], [34.01547, -19.1514], [34.01591, -19.15008], [34.01626, -19.1491], [34.01694, -19.14716], [34.01707, -19.14695], [34.01718, -19.14676], [34.01727, -19.14661], [34.01742, -19.14634], [34.01753, -19.14618], [34.01792, -19.14566], [34.01879, -19.14473], [34.01949, -19.14408], [34.02085, -19.1428], [34.02177, -19.14193], [34.02194, -19.14178], [34.02341, -19.1404], [34.02439, -19.13948], [34.02636, -19.13763], [34.02664, -19.13736], [34.02701, -19.1371], [34.02744, -19.13681], [34.02782, -19.13653], [34.0296, -19.13562], [34.02974, -19.13557], [34.0311, -19.13502], [34.03129, -19.13495], [34.03193, -19.13469], [34.03198, -19.13469], [34.03286, -19.13432], [34.03314, -19.13421], [34.0335, -19.13406], [34.03459, -19.13362], [34.03467, -19.13359], [34.03482, -19.13353], [34.03504, -19.13344], [34.03564, -19.13321], [34.03662, -19.13275], [34.03736, -19.13231], [34.03758, -19.13217], [34.03827, -19.13161], [34.03878, -19.13108], [34.03949, -19.13014], [34.03997, -19.1294], [34.04053, -19.12856], [34.04083, -19.12808], [34.041, -19.12772], [34.04106, -19.12757], [34.04114, -19.12737], [34.04125, -19.12698], [34.04129, -19.12673], [34.04133, -19.12643], [34.04135, -19.12595], [34.04134, -19.12577], [34.04131, -19.1248], [34.04129, -19.12447], [34.04125, -19.12328], [34.0412, -19.12176], [34.04114, -19.12051], [34.04065, -19.11508], [34.04041, -19.11234], [34.04028, -19.11092], [34.04027, -19.11013], [34.04043, -19.10941], [34.04063, -19.10887], [34.041, -19.10819], [34.04155, -19.10741], [34.04365, -19.10448], [34.0438, -19.10425], [34.04419, -19.10354], [34.04447, -19.10294], [34.0447, -19.1023], [34.04481, -19.10192], [34.04499, -19.10117], [34.04584, -19.09761], [34.04678, -19.0936], [34.04695, -19.0929], [34.04695, -19.09288], [34.04723, -19.0917], [34.04741, -19.09067], [34.04743, -19.09029], [34.04744, -19.08994], [34.04737, -19.08909], [34.04725, -19.08851], [34.04709, -19.08794], [34.04697, -19.08758], [34.0467, -19.08674], [34.04641, -19.0858], [34.04622, -19.08515], [34.04606, -19.08434], [34.04601, -19.08342], [34.04608, -19.08272], [34.0462, -19.08208], [34.04625, -19.08183], [34.04638, -19.08122], [34.04674, -19.07954], [34.0468, -19.07926], [34.04687, -19.07894], [34.04705, -19.07812], [34.04722, -19.0773], [34.04732, -19.07684], [34.04764, -19.07559], [34.04791, -19.07492], [34.04838, -19.07405], [34.04879, -19.07353], [34.04924, -19.07295], [34.04928, -19.0729], [34.05, -19.07225], [34.05088, -19.07157], [34.05107, -19.07143], [34.05386, -19.06929], [34.05468, -19.06863], [34.05547, -19.06786], [34.05596, -19.06727], [34.05633, -19.06682], [34.05733, -19.0656], [34.05799, -19.0648], [34.05921, -19.06294], [34.05926, -19.06288], [34.05931, -19.06279], [34.05998, -19.0618], [34.06099, -19.06019], [34.06181, -19.05904], [34.06266, -19.05809], [34.06331, -19.05745], [34.06455, -19.05621], [34.06649, -19.05421], [34.06681, -19.05389], [34.06802, -19.05235], [34.06832, -19.05197], [34.0684, -19.05185], [34.06892, -19.05109], [34.0698, -19.04984], [34.06989, -19.04971], [34.07004, -19.04951], [34.0712, -19.04783], [34.07173, -19.04707], [34.07254, -19.04592], [34.07297, -19.04513], [34.07306, -19.04489], [34.07325, -19.04434], [34.07334, -19.04402], [34.07344, -19.04348], [34.07351, -19.04257], [34.07343, -19.04171], [34.07335, -19.04131], [34.0732, -19.04069], [34.07319, -19.04066], [34.07308, -19.0403], [34.07257, -19.03828], [34.07209, -19.03642], [34.07197, -19.03564], [34.07199, -19.0348], [34.07208, -19.03437], [34.07217, -19.03406], [34.07231, -19.0337], [34.07255, -19.03324], [34.07286, -19.03277], [34.07731, -19.02674], [34.07882, -19.02473], [34.07966, -19.02348], [34.08018, -19.0225], [34.08052, -19.02158], [34.08111, -19.01943], [34.08132, -19.01874], [34.08307, -19.01234], [34.08333, -19.01133], [34.08343, -19.01068], [34.08352, -19.01013], [34.08362, -19.00951], [34.08374, -19.00838], [34.08375, -19.00823], [34.08396, -19.00705], [34.08418, -19.00595], [34.08427, -19.00573], [34.08474, -19.00447], [34.08478, -19.00436], [34.08529, -19.00299], [34.08541, -19.00257], [34.08569, -19.00164], [34.08579, -19.0009], [34.08587, -19.00004], [34.08588, -18.99965], [34.08583, -18.99915], [34.08559, -18.99775], [34.08554, -18.99758], [34.08545, -18.99744], [34.08536, -18.99731], [34.08524, -18.99722], [34.08507, -18.99716], [34.08476, -18.99704], [34.0846, -18.99695], [34.08447, -18.99684], [34.08436, -18.99669], [34.08429, -18.99653], [34.08423, -18.99633], [34.08422, -18.99603], [34.08425, -18.99586], [34.08435, -18.99563], [34.08459, -18.99533], [34.08731, -18.99231], [34.08785, -18.99175], [34.08815, -18.99151], [34.08839, -18.99134], [34.08869, -18.99117], [34.08903, -18.99102], [34.08958, -18.99086], [34.08995, -18.9908], [34.09008, -18.99078], [34.09177, -18.99069], [34.09221, -18.99066], [34.09225, -18.99066], [34.09232, -18.99065], [34.09267, -18.99058], [34.09297, -18.99048], [34.09321, -18.99038], [34.09348, -18.99025], [34.09371, -18.99011], [34.09414, -18.98982], [34.09436, -18.98966], [34.09449, -18.98957], [34.09724, -18.98779], [34.10033, -18.9857], [34.10071, -18.9854], [34.10106, -18.98506], [34.10128, -18.98481], [34.10147, -18.98456], [34.10169, -18.98414], [34.10198, -18.98352], [34.10228, -18.98204], [34.10256, -18.97966], [34.10273, -18.97876], [34.10302, -18.97804], [34.10629, -18.97344], [34.10695, -18.97233], [34.10937, -18.96682], [34.10981, -18.96576], [34.11006, -18.96524], [34.11037, -18.9647], [34.11095, -18.96384], [34.11163, -18.96291], [34.11474, -18.95916], [34.11535, -18.95848], [34.11608, -18.95786], [34.11701, -18.95722], [34.12004, -18.95522], [34.12051, -18.95487], [34.12108, -18.95437], [34.12133, -18.95411], [34.12165, -18.95375], [34.1223, -18.95288], [34.12249, -18.95265], [34.1229, -18.9522], [34.12373, -18.95144], [34.12449, -18.95083], [34.12596, -18.94965], [34.12624, -18.94941], [34.12669, -18.94905], [34.12714, -18.94872], [34.12735, -18.94861], [34.12809, -18.94826], [34.12931, -18.94775], [34.13, -18.94742], [34.13052, -18.94714], [34.13101, -18.94675], [34.13126, -18.94652], [34.13164, -18.94605], [34.13199, -18.94556], [34.13216, -18.94518], [34.13236, -18.94457], [34.13249, -18.94381], [34.13268, -18.94223], [34.13274, -18.9411], [34.13268, -18.94033], [34.13234, -18.93797], [34.13236, -18.93736], [34.13244, -18.93664], [34.13255, -18.93605], [34.133, -18.93427], [34.13307, -18.93356], [34.13307, -18.93323], [34.13303, -18.93267], [34.13288, -18.93204], [34.13227, -18.93001], [34.13188, -18.9289], [34.13152, -18.92814], [34.13112, -18.92749], [34.13012, -18.92617], [34.12971, -18.92563], [34.12909, -18.92461], [34.12883, -18.92391], [34.12784, -18.92108], [34.12758, -18.92053], [34.12709, -18.91973], [34.12527, -18.91727], [34.12492, -18.91678], [34.12482, -18.91662], [34.12456, -18.91618], [34.12425, -18.91546], [34.12402, -18.91469], [34.1239, -18.91382], [34.12386, -18.91318], [34.12373, -18.91105], [34.1236, -18.90989], [34.12347, -18.90936], [34.12343, -18.9092], [34.12321, -18.90861], [34.12259, -18.90731], [34.12223, -18.90647], [34.12202, -18.90564], [34.12201, -18.90542], [34.12197, -18.90484], [34.12202, -18.90397], [34.12238, -18.90171], [34.12262, -18.89972], [34.12259, -18.89889], [34.12235, -18.89784], [34.12215, -18.89738], [34.12092, -18.89523], [34.1191, -18.89223], [34.11861, -18.89148], [34.11786, -18.89079], [34.11716, -18.89029], [34.11627, -18.88988], [34.11427, -18.88914], [34.11333, -18.88868], [34.11267, -18.88823], [34.11195, -18.88759], [34.11154, -18.88708], [34.11098, -18.88617], [34.1107, -18.8856], [34.10906, -18.88249], [34.10848, -18.88167], [34.10791, -18.8811], [34.10613, -18.87987], [34.105, -18.87914], [34.10436, -18.87862], [34.10352, -18.87765], [34.1031, -18.87703], [34.10161, -18.87402], [34.09982, -18.87044], [34.09849, -18.86781], [34.09833, -18.86745], [34.09825, -18.86725], [34.09804, -18.86656], [34.09795, -18.86604], [34.09791, -18.8651], [34.098, -18.86443], [34.09834, -18.86325], [34.09895, -18.8615], [34.09913, -18.86045], [34.09912, -18.85984], [34.09895, -18.85863], [34.09876, -18.85777], [34.09871, -18.85713], [34.09874, -18.85641], [34.09886, -18.85565], [34.09912, -18.85474], [34.10024, -18.85105], [34.10038, -18.85073], [34.10069, -18.85004], [34.10121, -18.84913], [34.10238, -18.84729], [34.10254, -18.84699], [34.10271, -18.84667], [34.10291, -18.8463], [34.10317, -18.84552], [34.10327, -18.84489], [34.1033, -18.84417], [34.10312, -18.84147], [34.10304, -18.84074], [34.10287, -18.83833], [34.10285, -18.83775], [34.10289, -18.83725], [34.103, -18.83677], [34.10386, -18.83444], [34.10406, -18.83386], [34.10417, -18.83346], [34.10426, -18.8329], [34.10427, -18.83268], [34.10429, -18.83241], [34.10427, -18.83154], [34.1041, -18.82608], [34.10405, -18.82436], [34.10397, -18.82365], [34.10377, -18.82297], [34.10347, -18.82223], [34.10309, -18.82164], [34.10181, -18.81989], [34.09984, -18.8172], [34.09912, -18.81618], [34.09815, -18.81487], [34.09769, -18.81413], [34.09741, -18.81349], [34.09727, -18.81298], [34.09574, -18.80445], [34.09568, -18.80393], [34.09566, -18.80351], [34.09567, -18.80324], [34.09572, -18.80281], [34.09672, -18.79948], [34.09691, -18.79888], [34.09924, -18.79101], [34.09972, -18.78919], [34.09975, -18.78822], [34.09966, -18.78752], [34.09956, -18.78701], [34.09924, -18.78629], [34.09916, -18.7861], [34.09878, -18.78548], [34.09815, -18.78476], [34.09774, -18.78436], [34.09741, -18.78407], [34.0949, -18.78194], [34.09287, -18.78014], [34.09228, -18.77943], [34.09189, -18.77881], [34.09155, -18.7779], [34.09151, -18.77746], [34.09147, -18.77694], [34.09153, -18.77613], [34.09175, -18.77539], [34.09203, -18.77469], [34.09298, -18.77217], [34.09367, -18.77038], [34.09477, -18.76748], [34.09568, -18.76511], [34.0959, -18.76437], [34.09596, -18.76376], [34.09596, -18.76331], [34.0959, -18.76276], [34.09586, -18.7626], [34.09574, -18.76219], [34.09556, -18.76174], [34.0953, -18.76127], [34.09502, -18.76085], [34.09414, -18.75968], [34.09293, -18.75805], [34.09227, -18.75716], [34.09157, -18.75635], [34.09096, -18.75578], [34.08989, -18.75498], [34.08872, -18.75413], [34.08838, -18.75388], [34.08789, -18.75347], [34.08752, -18.75305], [34.08716, -18.75254], [34.0868, -18.7518], [34.08666, -18.75127], [34.08655, -18.75056], [34.08636, -18.74828], [34.08623, -18.74699], [34.08618, -18.7462], [34.08616, -18.74593], [34.0861, -18.74556], [34.08565, -18.74436], [34.08516, -18.74366], [34.0848, -18.74329], [34.08457, -18.74305], [34.08368, -18.74219], [34.08219, -18.74075], [34.08156, -18.74006], [34.08013, -18.73812], [34.07997, -18.7379], [34.07835, -18.73568], [34.07728, -18.73426], [34.07719, -18.73413], [34.077, -18.73389], [34.07664, -18.73331], [34.07643, -18.73281], [34.07448, -18.72742], [34.07428, -18.72691], [34.07385, -18.7256], [34.07374, -18.72507], [34.07369, -18.72459], [34.07371, -18.72414], [34.07379, -18.72355], [34.07381, -18.72324], [34.07425, -18.72231], [34.07565, -18.71955], [34.07652, -18.71784], [34.07781, -18.71531], [34.07809, -18.71476], [34.07841, -18.71382], [34.07843, -18.71373], [34.0785, -18.71323], [34.07847, -18.7124], [34.07835, -18.71173], [34.07788, -18.71011], [34.07687, -18.70658], [34.07656, -18.70551], [34.0764, -18.70487], [34.07629, -18.70452], [34.07588, -18.70366], [34.07584, -18.70356], [34.07576, -18.70339], [34.07497, -18.70183], [34.07475, -18.7014], [34.07428, -18.70047], [34.07396, -18.69975], [34.07368, -18.69927], [34.07296, -18.69783], [34.07196, -18.69582], [34.07157, -18.69499], [34.07127, -18.69424], [34.07101, -18.69343], [34.07086, -18.69254], [34.07058, -18.69066], [34.07024, -18.68829], [34.07017, -18.68772], [34.07001, -18.68665], [34.06998, -18.68642], [34.06991, -18.68578], [34.06995, -18.68538], [34.0702, -18.68424], [34.07039, -18.68355], [34.07062, -18.68271], [34.07143, -18.67938], [34.07163, -18.67878], [34.07193, -18.67825], [34.07229, -18.67768], [34.07295, -18.67663], [34.07302, -18.67653], [34.07385, -18.67525], [34.07508, -18.67332], [34.07531, -18.673], [34.07571, -18.67252], [34.07618, -18.67201], [34.07651, -18.67168], [34.07694, -18.67125], [34.0771, -18.67109], [34.07733, -18.67081], [34.07753, -18.67051], [34.07777, -18.67005], [34.0779, -18.66968], [34.07801, -18.66922], [34.07825, -18.66743], [34.07827, -18.66689], [34.07832, -18.66608], [34.07828, -18.66557], [34.07825, -18.66515], [34.07814, -18.66457], [34.07801, -18.66412], [34.07791, -18.66387], [34.07704, -18.66176], [34.07701, -18.66169], [34.07687, -18.66134], [34.07682, -18.66123], [34.07671, -18.66097], [34.07574, -18.65855], [34.07558, -18.65817], [34.07518, -18.65717], [34.07512, -18.65701], [34.07479, -18.65622], [34.07427, -18.65495], [34.07411, -18.65455], [34.07402, -18.65433], [34.0734, -18.65279], [34.07186, -18.64899], [34.07075, -18.64627], [34.0706, -18.64579], [34.06981, -18.64388], [34.06956, -18.64318], [34.06945, -18.64277], [34.06939, -18.64236], [34.06936, -18.64189], [34.06939, -18.64154], [34.06945, -18.641], [34.06954, -18.6407], [34.07033, -18.63769], [34.07036, -18.63756], [34.07073, -18.63608], [34.07125, -18.63415], [34.07149, -18.63315], [34.07154, -18.6326], [34.07152, -18.63205], [34.07144, -18.63159], [34.0713, -18.63107], [34.07111, -18.6306], [34.07093, -18.63025], [34.07076, -18.63], [34.07059, -18.6297], [34.06963, -18.62839], [34.06904, -18.62761], [34.06851, -18.62687], [34.06796, -18.62599], [34.06763, -18.62528], [34.06739, -18.62463], [34.06724, -18.62398], [34.06709, -18.6234], [34.06685, -18.62256], [34.06665, -18.62174], [34.0666, -18.62149], [34.06614, -18.61961], [34.06594, -18.6189], [34.06575, -18.61837], [34.06538, -18.61758], [34.06499, -18.6169], [34.06462, -18.61637], [34.06409, -18.61572], [34.06383, -18.61545], [34.0636, -18.61522], [34.06308, -18.61476], [34.06244, -18.61427], [34.06001, -18.61265], [34.05874, -18.61179], [34.05829, -18.61156], [34.05783, -18.61138], [34.05723, -18.61118], [34.05662, -18.61106], [34.05625, -18.61103], [34.05597, -18.61101], [34.05518, -18.611], [34.04865, -18.61115], [34.04791, -18.61112], [34.04746, -18.61107], [34.04704, -18.61102], [34.04692, -18.611], [34.04636, -18.61088], [34.04565, -18.61065], [34.04503, -18.61039], [34.04453, -18.61014], [34.04392, -18.60973], [34.04342, -18.60935], [34.04296, -18.60896], [34.04062, -18.60646], [34.03911, -18.60485], [34.03857, -18.60427], [34.03678, -18.60235], [34.03415, -18.59955], [34.03392, -18.59931], [34.03366, -18.59904], [34.03357, -18.59894], [34.03308, -18.59841], [34.03224, -18.59767], [34.03209, -18.59756], [34.03205, -18.59752], [34.03161, -18.59723], [34.03147, -18.59712], [34.0311, -18.59688], [34.03052, -18.59657], [34.02948, -18.59602], [34.02898, -18.59575], [34.02833, -18.59541], [34.02729, -18.59484], [34.02671, -18.59443], [34.02614, -18.59393], [34.02565, -18.59336], [34.02559, -18.59328], [34.02518, -18.59262], [34.02498, -18.59225], [34.02484, -18.59201], [34.02473, -18.59181], [34.02379, -18.59021], [34.0232, -18.58921], [34.02277, -18.58846], [34.02248, -18.58797], [34.02216, -18.58749], [34.02124, -18.58616], [34.02106, -18.58595], [34.02042, -18.58518], [34.01605, -18.58043], [34.01536, -18.57972], [34.01505, -18.57934], [34.01462, -18.57879], [34.01411, -18.57792], [34.01361, -18.57679], [34.01337, -18.57601], [34.01325, -18.57543], [34.01314, -18.57453], [34.01281, -18.56936], [34.0126, -18.56537], [34.01252, -18.56432], [34.01245, -18.56352], [34.01234, -18.56292], [34.01218, -18.5624], [34.01203, -18.56201], [34.01199, -18.56194], [34.01172, -18.56146], [34.01144, -18.56104], [34.01108, -18.56064], [34.01071, -18.56029], [34.01007, -18.55983], [34.00963, -18.55953], [34.00838, -18.55867], [34.00832, -18.55863], [34.00673, -18.55751], [34.00601, -18.557], [34.00518, -18.55619], [34.00505, -18.55603], [34.00453, -18.55539], [34.00427, -18.55499], [34.00403, -18.5546], [34.00394, -18.55444], [34.00369, -18.55392], [34.00338, -18.55328], [34.00314, -18.55273], [34.0025, -18.55128], [34.0022, -18.55062], [34.0016, -18.54925], [34.00062, -18.54697], [33.99985, -18.54523], [33.99889, -18.54316], [33.99662, -18.538], [33.99578, -18.53608], [33.99532, -18.53485], [33.995, -18.53383], [33.99471, -18.5328], [33.99452, -18.53222], [33.99421, -18.53158], [33.99393, -18.53118], [33.99379, -18.53101], [33.99357, -18.53077], [33.99328, -18.53048], [33.99296, -18.5302], [33.99288, -18.53015], [33.99277, -18.53007], [33.9923, -18.52979], [33.99073, -18.52894], [33.98928, -18.52808], [33.98837, -18.52758], [33.98575, -18.52612], [33.98529, -18.52584], [33.98413, -18.52521], [33.98316, -18.52465], [33.98241, -18.52414], [33.982, -18.52387], [33.98137, -18.52334], [33.98042, -18.52248], [33.97834, -18.52017], [33.97675, -18.51832], [33.97552, -18.51698], [33.9724, -18.51337], [33.97071, -18.51145], [33.96919, -18.50969], [33.96812, -18.50823], [33.96758, -18.50724], [33.96526, -18.50284], [33.96325, -18.49895], [33.96243, -18.49737], [33.9618, -18.49626], [33.96123, -18.49537], [33.96043, -18.49415], [33.95922, -18.4924], [33.95641, -18.48827], [33.95441, -18.48536], [33.95396, -18.48478], [33.95355, -18.48433], [33.95292, -18.48371], [33.95264, -18.48349], [33.95192, -18.48296], [33.94974, -18.48161], [33.94592, -18.47922], [33.94444, -18.4783], [33.94382, -18.47789], [33.94323, -18.47741], [33.94296, -18.47715], [33.94256, -18.47672], [33.9423, -18.47639], [33.94197, -18.47592], [33.94161, -18.47523], [33.94139, -18.47474], [33.94058, -18.47267], [33.9402, -18.47179], [33.93917, -18.46923], [33.93838, -18.46722], [33.93752, -18.46511], [33.937, -18.46379], [33.93443, -18.45739], [33.934, -18.45614], [33.9337, -18.45502], [33.93341, -18.4536], [33.93206, -18.44363], [33.93184, -18.44237], [33.93152, -18.44132], [33.93119, -18.44066], [33.93085, -18.4401], [33.93055, -18.43968], [33.93015, -18.43922], [33.92928, -18.43834], [33.92903, -18.43809], [33.92561, -18.43468], [33.92447, -18.43354], [33.92118, -18.43031], [33.92049, -18.42948], [33.92011, -18.42901], [33.91975, -18.42832], [33.91961, -18.42804], [33.91945, -18.42773], [33.91911, -18.42656], [33.91892, -18.4255], [33.9184, -18.42251], [33.91778, -18.41882], [33.91752, -18.41726], [33.91727, -18.41539], [33.91722, -18.41504], [33.91718, -18.41368], [33.9171, -18.41063], [33.91689, -18.40314], [33.91659, -18.39108], [33.9163, -18.37846], [33.91618, -18.3744], [33.91618, -18.37436], [33.91615, -18.3732], [33.9161, -18.37101], [33.91604, -18.36854], [33.91605, -18.3658], [33.91613, -18.34721], [33.91619, -18.34485], [33.91631, -18.34412], [33.91646, -18.3435], [33.91662, -18.34297], [33.91696, -18.34212], [33.91746, -18.34112], [33.91782, -18.34043], [33.92603, -18.32401], [33.92615, -18.32378], [33.92745, -18.32116], [33.92859, -18.31904], [33.92929, -18.31809], [33.92989, -18.31744], [33.93084, -18.31667], [33.93696, -18.31215], [33.93926, -18.31044], [33.93988, -18.30998], [33.94073, -18.30954], [33.94142, -18.30928], [33.94222, -18.30905], [33.94294, -18.30894], [33.94347, -18.30891], [33.94408, -18.30892], [33.94619, -18.309], [33.94633, -18.30901], [33.94664, -18.30902], [33.95123, -18.30924], [33.95245, -18.30933], [33.95306, -18.30941], [33.95379, -18.30952], [33.95459, -18.30966], [33.96333, -18.31136], [33.96358, -18.31141], [33.96413, -18.31151], [33.9649, -18.31153], [33.96524, -18.3115], [33.96547, -18.31147], [33.96602, -18.31135], [33.96628, -18.31127], [33.96684, -18.31104], [33.96732, -18.31077], [33.96761, -18.31057], [33.97439, -18.30498], [33.97505, -18.30449], [33.97563, -18.30416], [33.97626, -18.3039], [33.97675, -18.30376], [33.97725, -18.3037], [33.97771, -18.30367], [33.97841, -18.30372], [33.97921, -18.30381], [33.98413, -18.30427], [33.98469, -18.30428], [33.98522, -18.30422], [33.98578, -18.30411], [33.98634, -18.30395], [33.98682, -18.30372], [33.98724, -18.30346], [33.98768, -18.30312], [33.98846, -18.30245], [33.98962, -18.3014], [33.99194, -18.29925], [33.9931, -18.29807], [33.99359, -18.29743], [33.99646, -18.2935], [33.99734, -18.29232], [33.99795, -18.29166], [33.99846, -18.2912], [33.99902, -18.29076], [33.99985, -18.29023], [34.00753, -18.28558], [34.01024, -18.28391], [34.01218, -18.28289], [34.01251, -18.28271], [34.01483, -18.28194], [34.02694, -18.27935], [34.02747, -18.27919], [34.02794, -18.27901], [34.0284, -18.27878], [34.02885, -18.27846], [34.02925, -18.27812], [34.03067, -18.27643], [34.0343, -18.27194], [34.03838, -18.26702], [34.04028, -18.26531], [34.04195, -18.26393], [34.04294, -18.26294], [34.04356, -18.26222], [34.04855, -18.2554], [34.04924, -18.25442], [34.05006, -18.25337], [34.05042, -18.25302], [34.05083, -18.25271], [34.05138, -18.25239], [34.05304, -18.25158], [34.05563, -18.25035], [34.05609, -18.25013], [34.0584, -18.24902], [34.05945, -18.24853], [34.06004, -18.2482], [34.06052, -18.24784], [34.06142, -18.24711], [34.06406, -18.24446], [34.06542, -18.24312], [34.06665, -18.24176], [34.06705, -18.24092], [34.06731, -18.23973], [34.06897, -18.22754], [34.06935, -18.22514], [34.06963, -18.22449], [34.06993, -18.22393], [34.07056, -18.22306], [34.0736, -18.21908], [34.07448, -18.21792], [34.07498, -18.21723], [34.07723, -18.21427], [34.07737, -18.21409], [34.0792, -18.21166], [34.07963, -18.21117], [34.0797, -18.21109], [34.08003, -18.21072], [34.08032, -18.21049], [34.08091, -18.21012], [34.09001, -18.20622], [34.09443, -18.20433], [34.09577, -18.20374], [34.09623, -18.20348], [34.09662, -18.20319], [34.09701, -18.20284], [34.09745, -18.20232], [34.0978, -18.20178], [34.09804, -18.20136], [34.10014, -18.19772], [34.102, -18.19454], [34.10283, -18.19315], [34.10344, -18.19219], [34.10577, -18.18863], [34.10635, -18.18771], [34.1073, -18.18628], [34.10769, -18.1855], [34.10793, -18.18494], [34.1082, -18.18416], [34.10853, -18.18271], [34.10878, -18.1815], [34.10896, -18.18078], [34.10919, -18.18023], [34.10944, -18.17978], [34.10964, -18.17949], [34.11003, -18.17904], [34.11061, -18.17854], [34.11121, -18.17818], [34.11172, -18.17795], [34.11288, -18.17757], [34.11397, -18.17729], [34.11467, -18.17723], [34.11521, -18.17726], [34.11582, -18.17736], [34.11638, -18.17753], [34.11701, -18.1778], [34.11751, -18.1781], [34.11847, -18.17877], [34.11924, -18.17932], [34.11995, -18.17981], [34.12031, -18.18003], [34.12083, -18.18027], [34.12127, -18.18043], [34.12167, -18.18053], [34.12227, -18.18061], [34.12295, -18.18061], [34.12405, -18.18048], [34.13362, -18.1793], [34.13503, -18.17917], [34.13607, -18.17917], [34.13713, -18.17929], [34.13852, -18.17961], [34.1458, -18.18132], [34.1464, -18.18144], [34.14695, -18.18148], [34.14747, -18.18147], [34.14791, -18.18142], [34.14838, -18.18131], [34.14915, -18.18105], [34.15066, -18.18048], [34.15517, -18.17874], [34.15657, -18.17822], [34.15762, -18.17796], [34.1601, -18.17757], [34.16258, -18.17716], [34.16329, -18.17708], [34.16384, -18.17709], [34.16443, -18.17717], [34.16512, -18.17735], [34.16563, -18.17758], [34.16594, -18.17775], [34.16645, -18.17807], [34.17254, -18.18205], [34.17314, -18.18259], [34.17354, -18.1831], [34.17386, -18.18365], [34.17434, -18.18467], [34.17473, -18.18557], [34.17518, -18.18688], [34.17544, -18.18791], [34.17585, -18.18978], [34.17647, -18.19246], [34.17665, -18.19294], [34.17689, -18.19342], [34.17717, -18.19384], [34.17751, -18.19425], [34.17879, -18.19559], [34.17959, -18.19649], [34.17991, -18.19699], [34.18014, -18.19746], [34.18031, -18.19802], [34.1804, -18.19853], [34.18043, -18.19915], [34.18016, -18.20451], [34.18011, -18.20559], [34.1801, -18.20625], [34.18025, -18.207], [34.18044, -18.20757], [34.1807, -18.20813], [34.18128, -18.20904], [34.18215, -18.21032], [34.18552, -18.21546], [34.18647, -18.21694], [34.18718, -18.21787], [34.18755, -18.21832], [34.18797, -18.21874], [34.18893, -18.21963], [34.19504, -18.22541], [34.19612, -18.22642], [34.19655, -18.22678], [34.19701, -18.2271], [34.19741, -18.22732], [34.19796, -18.22754], [34.19849, -18.22769], [34.20057, -18.22813], [34.20118, -18.22831], [34.20162, -18.22851], [34.2022, -18.22894], [34.20266, -18.22938], [34.20909, -18.23594], [34.21525, -18.24225], [34.21692, -18.24394], [34.21761, -18.2446], [34.21822, -18.24504], [34.21908, -18.24541], [34.2213, -18.24612], [34.22226, -18.2464], [34.22299, -18.24653], [34.22379, -18.24653], [34.22852, -18.24543], [34.22945, -18.24527], [34.22991, -18.24522], [34.23085, -18.24519], [34.23464, -18.24539], [34.2384, -18.24561], [34.23976, -18.24579], [34.24082, -18.24609], [34.24772, -18.24837], [34.25001, -18.24892], [34.2572, -18.25031], [34.25852, -18.25047], [34.25962, -18.25039], [34.2603, -18.25023], [34.26119, -18.24987], [34.26196, -18.24932], [34.26262, -18.24879], [34.26362, -18.24768], [34.26428, -18.24705], [34.26466, -18.2468], [34.26567, -18.24645], [34.26746, -18.24607], [34.26868, -18.24562], [34.26937, -18.24523], [34.27001, -18.24478], [34.27064, -18.24424], [34.27118, -18.24362], [34.27169, -18.24293], [34.27315, -18.24086], [34.27437, -18.23919], [34.27486, -18.23857], [34.27572, -18.23801], [34.27652, -18.23772], [34.27742, -18.23736], [34.27807, -18.23695], [34.27866, -18.23646], [34.28027, -18.23418], [34.28068, -18.23373], [34.28127, -18.23328], [34.28196, -18.23291], [34.29789, -18.22709], [34.29999, -18.22634], [34.30174, -18.22579], [34.30268, -18.22559], [34.30878, -18.22492], [34.30941, -18.22495], [34.31003, -18.22508], [34.31122, -18.2255], [34.31238, -18.22599], [34.31322, -18.22628], [34.31388, -18.22643], [34.31457, -18.22654], [34.31497, -18.22658], [34.31608, -18.22667], [34.31855, -18.22685], [34.31911, -18.22679], [34.31958, -18.2267], [34.32024, -18.22644], [34.32161, -18.22557], [34.32411, -18.22407], [34.33011, -18.22035], [34.33115, -18.21974], [34.33175, -18.21937], [34.3323, -18.21911], [34.33307, -18.21891], [34.33391, -18.21887], [34.34178, -18.21904], [34.34465, -18.21906], [34.35196, -18.21918], [34.3546, -18.21921], [34.35582, -18.21929], [34.35693, -18.21947], [34.3615, -18.22066], [34.39208, -18.22846], [34.39327, -18.22878], [34.39797, -18.23075], [34.40209, -18.2325], [34.4057, -18.23399], [34.40565, -18.23335], [34.40576, -18.23276], [34.40569, -18.23162], [34.40559, -18.23083], [34.40548, -18.23036], [34.40576, -18.22863], [34.40595, -18.22775], [34.40632, -18.2271], [34.40645, -18.22643], [34.40704, -18.226], [34.40753, -18.2257], [34.40787, -18.22538], [34.40789, -18.22497], [34.40808, -18.22458], [34.408, -18.22372], [34.40816, -18.22344], [34.40886, -18.22314], [34.40911, -18.22276], [34.40939, -18.22116], [34.40929, -18.22077], [34.40912, -18.21998], [34.40944, -18.21951], [34.40959, -18.21873], [34.40997, -18.21811], [34.40981, -18.21766], [34.4098, -18.21702], [34.40993, -18.21654], [34.41011, -18.21558], [34.41038, -18.21491], [34.4111, -18.21146], [34.41133, -18.21078], [34.4113, -18.20991], [34.41166, -18.20864], [34.41168, -18.20819], [34.41146, -18.20721], [34.41174, -18.20663], [34.41192, -18.20608], [34.41218, -18.20463], [34.41273, -18.20318], [34.41297, -18.20284], [34.41435, -18.19985], [34.41521, -18.19827], [34.41656, -18.19542], [34.41699, -18.19394], [34.41735, -18.19291], [34.41751, -18.19108], [34.41772, -18.18971], [34.41799, -18.18848], [34.41801, -18.18806], [34.41815, -18.18742], [34.41815, -18.18666], [34.41844, -18.185], [34.41833, -18.18432], [34.41835, -18.18337], [34.41808, -18.18249], [34.41795, -18.18108], [34.41794, -18.18028], [34.41773, -18.17962], [34.418, -18.17764], [34.41846, -18.17669], [34.41867, -18.17608], [34.4191, -18.17543], [34.41918, -18.17422], [34.41894, -18.17281], [34.41913, -18.17172], [34.41935, -18.17086], [34.42002, -18.16974], [34.4202, -18.16921], [34.42096, -18.16858], [34.42157, -18.16763], [34.42218, -18.16711], [34.42237, -18.16632], [34.42277, -18.16538], [34.42279, -18.16487], [34.42277, -18.16483], [34.4224, -18.16301], [34.42248, -18.1618], [34.42272, -18.15921], [34.42364, -18.15693], [34.42391, -18.15605], [34.42399, -18.15548], [34.42441, -18.15498], [34.42524, -18.15386], [34.42531, -18.15297], [34.42509, -18.15187], [34.42496, -18.15114], [34.4245, -18.15064], [34.42419, -18.15013], [34.42422, -18.14909], [34.42443, -18.14814], [34.42455, -18.14732], [34.42457, -18.14581], [34.42477, -18.14438], [34.42539, -18.14275], [34.42589, -18.14148], [34.42601, -18.14067], [34.42651, -18.13945], [34.42693, -18.13806], [34.42763, -18.137], [34.42859, -18.13665], [34.42897, -18.13619], [34.42885, -18.1357], [34.42861, -18.13537], [34.42875, -18.13474], [34.42936, -18.13409], [34.43012, -18.13377], [34.43193, -18.13167], [34.43234, -18.13131], [34.43334, -18.1297], [34.43506, -18.12816], [34.43583, -18.12775], [34.4365, -18.12699], [34.43767, -18.12552], [34.4394, -18.1248], [34.43999, -18.12446], [34.44069, -18.12367], [34.44101, -18.12297], [34.4427, -18.12107], [34.44331, -18.12041], [34.44384, -18.11953], [34.44411, -18.11885], [34.4448, -18.11784], [34.44524, -18.11752], [34.44583, -18.11731], [34.44596, -18.11709], [34.44669, -18.1163], [34.44772, -18.11539], [34.44916, -18.11426], [34.45027, -18.11378], [34.45148, -18.11313], [34.45213, -18.11243], [34.45232, -18.11181], [34.4525, -18.1107], [34.45235, -18.10977], [34.45236, -18.1086], [34.45231, -18.10759], [34.45223, -18.10676], [34.45217, -18.10633], [34.4521, -18.10617], [34.45175, -18.10566], [34.45154, -18.10533], [34.45141, -18.1051], [34.45134, -18.10488], [34.4512, -18.10307], [34.4511, -18.10231], [34.45087, -18.1013], [34.45055, -18.10024], [34.4502, -18.0993], [34.44931, -18.09725], [34.44863, -18.09583], [34.44816, -18.09503], [34.44791, -18.09428], [34.44788, -18.09409], [34.44793, -18.09383], [34.44836, -18.093], [34.44845, -18.09276], [34.44855, -18.0921], [34.44862, -18.08926], [34.44858, -18.08885], [34.44802, -18.08561], [34.44795, -18.08537], [34.44688, -18.08363], [34.4458, -18.08193], [34.44567, -18.08179], [34.44545, -18.08168], [34.44519, -18.08163], [34.44233, -18.08166], [34.43964, -18.0814], [34.43639, -18.08144], [34.43584, -18.08135], [34.43542, -18.08113], [34.43451, -18.08028], [34.43413, -18.07999], [34.43393, -18.07987], [34.43303, -18.07933], [34.4323, -18.07895], [34.43199, -18.07888], [34.43158, -18.07887], [34.42885, -18.07899], [34.42841, -18.0789], [34.42801, -18.0787], [34.42748, -18.07822], [34.42694, -18.07762], [34.42589, -18.07611], [34.42514, -18.07491], [34.4242, -18.07313], [34.42406, -18.07278], [34.42358, -18.07119], [34.42346, -18.07062], [34.42338, -18.07039], [34.42324, -18.07013], [34.42311, -18.06988], [34.42301, -18.06961], [34.42251, -18.06789], [34.42223, -18.06694], [34.42181, -18.06563], [34.42144, -18.06425], [34.42138, -18.06376], [34.42139, -18.06337], [34.42154, -18.06288], [34.42226, -18.06075], [34.423, -18.05819], [34.42347, -18.05599], [34.42356, -18.05549], [34.4235, -18.05505], [34.42335, -18.05459], [34.42294, -18.05359], [34.42251, -18.05258], [34.42215, -18.05197], [34.42191, -18.05166], [34.42157, -18.05134], [34.41922, -18.0494], [34.41753, -18.0479], [34.41552, -18.04625], [34.41283, -18.04391], [34.41227, -18.04335], [34.41194, -18.04285], [34.41176, -18.04248], [34.41164, -18.04148], [34.41162, -18.03997], [34.41145, -18.03955], [34.41122, -18.03921], [34.41079, -18.03878], [34.41031, -18.03839], [34.41, -18.03814], [34.40943, -18.03775], [34.40864, -18.03742], [34.40737, -18.0371], [34.40506, -18.03634], [34.40368, -18.03581], [34.40301, -18.03551], [34.40249, -18.03521], [34.40212, -18.03501], [34.40152, -18.0346], [34.40073, -18.03395], [34.39871, -18.03195], [34.39779, -18.03096], [34.39685, -18.02964], [34.39667, -18.02932], [34.39655, -18.02895], [34.39638, -18.02789], [34.39613, -18.02681], [34.39561, -18.0248], [34.39548, -18.02448], [34.39475, -18.02327], [34.39433, -18.02246], [34.39359, -18.02072], [34.39278, -18.01842], [34.39247, -18.01769], [34.3919, -18.01645], [34.39175, -18.0157], [34.39148, -18.01419], [34.39136, -18.0138], [34.38942, -18.00925], [34.38924, -18.00855], [34.38892, -18.00728], [34.38888, -18.00709], [34.38873, -18.0065], [34.38834, -18.00526], [34.38815, -18.00456], [34.38791, -18.00376], [34.38775, -18.00344], [34.3872, -18.00213], [34.3871, -18.00179], [34.38705, -18.00139], [34.38698, -17.99908], [34.38671, -17.99362], [34.38679, -17.99135], [34.38684, -17.99063], [34.38714, -17.98866], [34.38716, -17.98811], [34.38709, -17.98752], [34.38696, -17.98713], [34.38653, -17.98619], [34.38638, -17.98569], [34.38618, -17.98452], [34.38611, -17.98392], [34.38607, -17.98341], [34.38604, -17.98277], [34.38599, -17.98202], [34.38595, -17.98181], [34.38579, -17.98151], [34.38499, -17.98019], [34.38478, -17.97983], [34.38348, -17.97729], [34.38331, -17.97689], [34.38315, -17.9762], [34.38313, -17.9757], [34.38312, -17.97375], [34.38316, -17.97326], [34.38348, -17.97197], [34.38353, -17.97129], [34.38347, -17.97051], [34.38335, -17.96979], [34.38332, -17.96937], [34.38335, -17.96835], [34.3834, -17.96818], [34.38346, -17.96733], [34.38358, -17.9671], [34.38403, -17.96654], [34.38437, -17.96623], [34.38485, -17.96527], [34.38547, -17.96434], [34.3868, -17.96232], [34.38776, -17.96088], [34.38904, -17.95904], [34.3893, -17.95866], [34.38938, -17.95853], [34.38955, -17.95826], [34.38968, -17.95806], [34.38991, -17.95742], [34.38997, -17.95705], [34.39009, -17.95641], [34.39021, -17.9559], [34.39028, -17.95559], [34.39035, -17.95527], [34.39053, -17.95468], [34.39071, -17.95419], [34.39167, -17.95254], [34.39148, -17.95158], [34.39139, -17.95131], [34.39125, -17.95106], [34.39015, -17.94951], [34.38999, -17.94918], [34.38989, -17.9489], [34.38989, -17.94861], [34.39028, -17.94765], [34.39074, -17.94676], [34.39139, -17.94586], [34.3923, -17.94486], [34.3924, -17.94463], [34.39242, -17.94442], [34.39239, -17.94425], [34.39232, -17.94402], [34.39213, -17.94377], [34.39179, -17.94347], [34.39134, -17.94328], [34.39094, -17.94315], [34.39052, -17.94301], [34.39033, -17.94288], [34.39019, -17.9427], [34.38975, -17.94202], [34.38887, -17.94049], [34.38817, -17.93958], [34.38759, -17.93887], [34.38734, -17.93867], [34.38694, -17.93841], [34.38647, -17.93817], [34.38493, -17.93722], [34.38477, -17.93706], [34.38467, -17.93689], [34.38455, -17.93661], [34.38417, -17.93484], [34.38309, -17.93226], [34.38294, -17.93185], [34.38273, -17.93127], [34.38235, -17.9296], [34.38228, -17.92937], [34.38213, -17.92909], [34.38059, -17.92697], [34.38041, -17.92675], [34.3804, -17.92598], [34.38031, -17.92486], [34.38023, -17.92448], [34.37973, -17.92331], [34.37935, -17.92253], [34.37897, -17.92182], [34.3789, -17.9216], [34.37885, -17.92134], [34.37866, -17.91987], [34.37855, -17.91933], [34.37807, -17.918], [34.37726, -17.91608], [34.37708, -17.91572], [34.37622, -17.91475], [34.37567, -17.91395], [34.37537, -17.91341], [34.37504, -17.91248], [34.375, -17.91218], [34.37525, -17.91099], [34.37541, -17.9105], [34.37568, -17.9101], [34.37629, -17.90959], [34.37677, -17.909], [34.37783, -17.90728], [34.37831, -17.90637], [34.37947, -17.90363], [34.37977, -17.90308], [34.3802, -17.9026], [34.38186, -17.90127], [34.38212, -17.90097], [34.38248, -17.9003], [34.38271, -17.89995], [34.38295, -17.89971], [34.38447, -17.89838], [34.38485, -17.89798], [34.38523, -17.89745], [34.38567, -17.8968], [34.38735, -17.89484], [34.38765, -17.8944], [34.38777, -17.8941], [34.38847, -17.89279], [34.38934, -17.89134], [34.3895, -17.89075], [34.38952, -17.89043], [34.38942, -17.89004], [34.3889, -17.88851], [34.38802, -17.88519], [34.38596, -17.88109], [34.38582, -17.8807], [34.38577, -17.88039], [34.38555, -17.87401], [34.38561, -17.87276], [34.38676, -17.86762], [34.38684, -17.86713], [34.38683, -17.86689], [34.38628, -17.86287], [34.38621, -17.86254], [34.38328, -17.85697], [34.38299, -17.85606], [34.3828, -17.85496], [34.38274, -17.85425], [34.38309, -17.85012], [34.3832, -17.84696], [34.38308, -17.8446], [34.38295, -17.84372], [34.38186, -17.83803], [34.38155, -17.83679], [34.3813, -17.83591], [34.38095, -17.83504], [34.38058, -17.83386], [34.38052, -17.83336], [34.38036, -17.82969], [34.38031, -17.82858], [34.37997, -17.82622], [34.37981, -17.82554], [34.37865, -17.82137], [34.37808, -17.81851], [34.37793, -17.81751], [34.3759, -17.80963], [34.37581, -17.80912], [34.37581, -17.80868], [34.37639, -17.80518], [34.37647, -17.80409], [34.37645, -17.8031], [34.37589, -17.79787], [34.37543, -17.79133], [34.37508, -17.7858], [34.3742, -17.7791], [34.37406, -17.778], [34.37402, -17.77722], [34.37383, -17.77296], [34.37361, -17.76992], [34.37356, -17.76923], [34.37322, -17.76153], [34.3732, -17.76013], [34.37323, -17.75959], [34.37359, -17.75783], [34.37398, -17.75637], [34.37405, -17.75595], [34.37406, -17.75549], [34.37402, -17.75473], [34.37388, -17.75389], [34.37367, -17.75309], [34.37352, -17.75262], [34.37125, -17.74893], [34.37104, -17.74865], [34.37078, -17.74842], [34.36937, -17.74756], [34.36879, -17.74719], [34.36846, -17.74683], [34.36833, -17.74663], [34.36823, -17.74634], [34.36807, -17.74541], [34.36755, -17.74053], [34.36748, -17.73981], [34.36752, -17.73905], [34.36785, -17.73641], [34.36786, -17.73604], [34.36776, -17.73554], [34.36762, -17.73514], [34.36674, -17.73374], [34.36357, -17.73076], [34.35425, -17.7208], [34.35391, -17.72051], [34.35175, -17.71928], [34.35128, -17.71909], [34.34897, -17.71832], [34.34842, -17.71806], [34.34791, -17.71762], [34.34747, -17.71712], [34.34705, -17.71643], [34.34655, -17.71549], [34.34594, -17.71413], [34.34549, -17.71289], [34.34529, -17.71203], [34.34523, -17.7116], [34.34524, -17.71103], [34.34517, -17.70965], [34.345, -17.70853], [34.34471, -17.70696], [34.34451, -17.70604], [34.34433, -17.70548], [34.34393, -17.70485], [34.34359, -17.70452], [34.343, -17.70414], [34.3428, -17.70396], [34.34253, -17.70354], [34.34071, -17.70053], [34.33762, -17.69621], [34.33701, -17.69498], [34.33598, -17.69249], [34.33572, -17.69205], [34.33532, -17.69152], [34.33464, -17.69069], [34.33424, -17.69002], [34.33392, -17.68934], [34.33375, -17.68886], [34.33294, -17.6852], [34.33262, -17.68353], [34.3325, -17.68281], [34.3325, -17.68239], [34.33295, -17.67595], [34.33298, -17.67519], [34.33293, -17.67466], [34.33283, -17.67402], [34.33082, -17.66453], [34.33067, -17.66393], [34.33055, -17.66366], [34.3256, -17.65679], [34.32499, -17.65569], [34.32456, -17.65455], [34.32418, -17.65362], [34.32369, -17.65274], [34.32294, -17.65159], [34.32186, -17.65018], [34.32143, -17.64985], [34.31885, -17.6487], [34.31686, -17.64815], [34.31162, -17.6471], [34.31066, -17.64676], [34.30997, -17.6464], [34.30915, -17.64576], [34.30838, -17.64497], [34.30801, -17.64446], [34.30768, -17.64383], [34.30565, -17.63737], [34.30554, -17.6369], [34.3055, -17.63651], [34.30552, -17.63612], [34.30573, -17.63431], [34.30581, -17.63375], [34.30583, -17.6333], [34.30578, -17.63129], [34.30571, -17.63007], [34.30563, -17.62912], [34.30554, -17.62838], [34.30518, -17.62688], [34.30472, -17.62517], [34.30447, -17.62432], [34.30263, -17.62011], [34.30247, -17.61963], [34.30229, -17.61894], [34.30201, -17.61768], [34.30186, -17.6168], [34.30185, -17.61648], [34.30192, -17.61597], [34.30202, -17.61548], [34.30315, -17.61173], [34.304, -17.60903], [34.30431, -17.60759], [34.30442, -17.60657], [34.30444, -17.60395], [34.30447, -17.60311], [34.30454, -17.60262], [34.30581, -17.5977], [34.30596, -17.59687], [34.30593, -17.59629], [34.30582, -17.59563], [34.30576, -17.59511], [34.30577, -17.5938], [34.30583, -17.592], [34.30592, -17.59139], [34.30612, -17.59091], [34.30648, -17.59041], [34.30817, -17.58862], [34.30978, -17.58719], [34.31116, -17.58611], [34.31125, -17.58596], [34.31127, -17.58576], [34.31123, -17.58559], [34.31013, -17.58392], [34.30983, -17.58326], [34.30973, -17.58296], [34.30971, -17.58262], [34.30977, -17.58233], [34.30978, -17.58228], [34.31011, -17.58111], [34.31035, -17.57975], [34.3114, -17.57628], [34.31056, -17.57685], [34.31038, -17.57693], [34.31027, -17.57693], [34.3102, -17.57688], [34.30885, -17.57337], [34.30857, -17.57126], [34.30896, -17.56962], [34.3082, -17.56697], [34.30729, -17.56525], [34.30615, -17.56357], [34.30595, -17.56248], [34.305, -17.56186], [34.30246, -17.55984], [34.30192, -17.55808], [34.30204, -17.55464], [34.30199, -17.55292], [34.30222, -17.54967], [34.30273, -17.54634], [34.303, -17.543], [34.30518, -17.53747], [34.30538, -17.53524], [34.30592, -17.53193], [34.30601, -17.52898], [34.30672, -17.52587], [34.30778, -17.52384], [34.30777, -17.52215], [34.30768, -17.52188], [34.30723, -17.52083], [34.30716, -17.52053], [34.30718, -17.52018], [34.30734, -17.51985], [34.30751, -17.51963], [34.30832, -17.51919], [34.30866, -17.51904], [34.30889, -17.5189], [34.31058, -17.51823], [34.31076, -17.51796], [34.31087, -17.51752], [34.31074, -17.51696], [34.31029, -17.51618], [34.30934, -17.51508], [34.30714, -17.51324], [34.30628, -17.51078], [34.3048, -17.50931], [34.30461, -17.50912], [34.30307, -17.50778], [34.29989, -17.50582], [34.29581, -17.50353], [34.29299, -17.50079], [34.29188, -17.49839], [34.29047, -17.49049], [34.29037, -17.48988], [34.28979, -17.48698], [34.28965, -17.48343], [34.2864, -17.47192], [34.28437, -17.46984], [34.28273, -17.4672], [34.28121, -17.46448], [34.2801, -17.46143], [34.28129, -17.45798], [34.28168, -17.45685], [34.28245, -17.45436], [34.28281, -17.45188], [34.28178, -17.44868], [34.27786, -17.44306], [34.27785, -17.43916], [34.2774, -17.4338], [34.27785, -17.42871], [34.2769, -17.42016], [34.27757, -17.41735], [34.2774, -17.41579], [34.27655, -17.41439], [34.27641, -17.41217], [34.27479, -17.40957], [34.27286, -17.40629], [34.26757, -17.39487], [34.26731, -17.39455], [34.26669, -17.39436], [34.26559, -17.39413], [34.26421, -17.39277], [34.26267, -17.38892], [34.26335, -17.36838], [34.26062, -17.35297], [34.26171, -17.35062], [34.25932, -17.34547], [34.26183, -17.33685], [34.26432, -17.33443], [34.26553, -17.33322], [34.26621, -17.33224], [34.26808, -17.32895], [34.26839, -17.3282], [34.26842, -17.32687], [34.26854, -17.32644], [34.27073, -17.32436], [34.27175, -17.32387], [34.27235, -17.32361], [34.27823, -17.32036], [34.27953, -17.31895], [34.28062, -17.31776], [34.28129, -17.31716]], "type": "LineString"}, "properties": {"color": "green"}, "type": "Feature"}], "type": "FeatureCollection"});\n", + " geo_json_a4ff82a4331fd6bdc5707672b8e4f64e_add({"features": [{"geometry": {"coordinates": [[34.83556, -19.81795], [34.83819, -19.81844], [34.83853, -19.81854], [34.83953, -19.81912], [34.84032, -19.81949], [34.8397, -19.82038], [34.83969, -19.82046], [34.83972, -19.82053], [34.84011, -19.82076], [34.83903, -19.8224], [34.83771, -19.82436], [34.83749, -19.82463], [34.83719, -19.82494], [34.83723, -19.82556], [34.83747, -19.82571], [34.83701, -19.82639], [34.83699, -19.82642], [34.83707, -19.82659], [34.83719, -19.8267], [34.8373, -19.82676], [34.83758, -19.82692], [34.83786, -19.82706], [34.83822, -19.82728], [34.83839, -19.82744], [34.83846, -19.82765], [34.83858, -19.82772], [34.83886, -19.82788], [34.83918, -19.82809], [34.83945, -19.82825], [34.8396, -19.82833], [34.8398, -19.82829], [34.83988, -19.82829], [34.83998, -19.82831], [34.84031, -19.82851], [34.84083, -19.82882], [34.84113, -19.829], [34.84125, -19.82907], [34.84175, -19.82936], [34.84186, -19.82943], [34.84281, -19.83003], [34.84303, -19.83016], [34.84318, -19.83026], [34.8434, -19.8304], [34.84348, -19.83045], [34.84368, -19.83054], [34.84376, -19.83051], [34.84385, -19.8305], [34.84397, -19.83054], [34.84405, -19.83061], [34.84409, -19.8307], [34.84409, -19.8308], [34.84448, -19.83101], [34.84469, -19.83113], [34.84482, -19.83121], [34.84495, -19.83129], [34.84529, -19.83149], [34.84559, -19.83167], [34.84569, -19.83173], [34.84596, -19.83189], [34.8466, -19.83228], [34.84687, -19.83244], [34.84699, -19.83251], [34.84713, -19.8326], [34.84897, -19.8337], [34.84911, -19.83378], [34.84942, -19.83396], [34.84976, -19.83415], [34.84988, -19.83423], [34.85056, -19.83464], [34.85069, -19.83471], [34.8516, -19.83527], [34.85231, -19.8357], [34.85245, -19.83578], [34.85276, -19.83597], [34.85343, -19.83636], [34.85358, -19.83645], [34.85483, -19.8372], [34.85516, -19.83737], [34.85538, -19.83746], [34.85543, -19.83744], [34.85553, -19.83743], [34.85564, -19.83745], [34.85574, -19.8375], [34.85581, -19.83759], [34.85585, -19.83769], [34.85584, -19.8378], [34.8558, -19.8379], [34.85577, -19.83795], [34.8556, -19.83828], [34.8555, -19.83856], [34.85525, -19.8409], [34.8551, -19.842], [34.85508, -19.84215], [34.85507, -19.84223], [34.85499, -19.84303], [34.8549, -19.84379], [34.85488, -19.84396], [34.85483, -19.84461], [34.85482, -19.84469], [34.8547, -19.8457], [34.85467, -19.84589], [34.85462, -19.84637], [34.85453, -19.84693], [34.85454, -19.84712], [34.85459, -19.84742], [34.85462, -19.84753], [34.85482, -19.84767], [34.85501, -19.84776], [34.85524, -19.84786], [34.85569, -19.84801], [34.85603, -19.84806], [34.85709, -19.84826], [34.85766, -19.84836], [34.85868, -19.84856], [34.85954, -19.84862], [34.86068, -19.84869], [34.86096, -19.84871], [34.8612, -19.84874], [34.86158, -19.84878], [34.86196, -19.84886], [34.86273, -19.8491], [34.8637, -19.8494], [34.86378, -19.84945], [34.86381, -19.84947], [34.86413, -19.84953], [34.86698, -19.85006], [34.86722, -19.85011], [34.87001, -19.85063], [34.87021, -19.85066], [34.87196, -19.85098], [34.87233, -19.85102], [34.87381, -19.85104], [34.87444, -19.85105], [34.87486, -19.85103], [34.87545, -19.85084], [34.87578, -19.85061], [34.87582, -19.85057], [34.87583, -19.85028], [34.87577, -19.85011], [34.87556, -19.84953], [34.87552, -19.84941], [34.87536, -19.84898], [34.87552, -19.84941], [34.87556, -19.84953], [34.87699, -19.84912], [34.87862, -19.84865], [34.87979, -19.84831], [34.88118, -19.84788], [34.88083, -19.84684], [34.88051, -19.84585], [34.88032, -19.84525], [34.8803, -19.8452], [34.88024, -19.84502], [34.88023, -19.84498], [34.88015, -19.84474], [34.87994, -19.8441], [34.8797, -19.84338], [34.87931, -19.84218], [34.8789, -19.84099], [34.87879, -19.84073], [34.87871, -19.84057], [34.87836, -19.84011], [34.87821, -19.83991], [34.87778, -19.83935], [34.87772, -19.83928], [34.87767, -19.83922], [34.87748, -19.839], [34.87674, -19.83807], [34.876, -19.83715], [34.87592, -19.83705], [34.87569, -19.83685], [34.87543, -19.83667], [34.87512, -19.8365], [34.87495, -19.83639], [34.87494, -19.83638], [34.87464, -19.83619], [34.87405, -19.83585], [34.87399, -19.83581], [34.8736, -19.83558], [34.87281, -19.83509], [34.87232, -19.8348], [34.87144, -19.83427], [34.87017, -19.83352], [34.86987, -19.83334], [34.86947, -19.8331], [34.86847, -19.83249], [34.86711, -19.83168], [34.86702, -19.83164], [34.86687, -19.83161], [34.86665, -19.8314], [34.86656, -19.83135], [34.86665, -19.8314], [34.86687, -19.83161], [34.86702, -19.83164], [34.8673, -19.83121], [34.86753, -19.83079], [34.86778, -19.83034], [34.86803, -19.82986], [34.86852, -19.82894], [34.86854, -19.82891], [34.86854, -19.8289], [34.86863, -19.82874], [34.86864, -19.82873], [34.86895, -19.82816], [34.86957, -19.827], [34.87036, -19.82551], [34.87107, -19.8242], [34.87145, -19.82349], [34.87196, -19.82251], [34.87232, -19.82192], [34.87253, -19.82166], [34.8727, -19.82151], [34.8729, -19.82139], [34.87371, -19.82098], [34.87398, -19.82084], [34.87425, -19.82067], [34.87464, -19.82027], [34.87476, -19.82013], [34.87541, -19.81942], [34.875, -19.81917], [34.87454, -19.8189], [34.8742, -19.8187], [34.87415, -19.81866], [34.87302, -19.81799], [34.87191, -19.81732], [34.87108, -19.81683], [34.87036, -19.81639], [34.8697, -19.81599], [34.86943, -19.81583], [34.86906, -19.81562], [34.86822, -19.81511], [34.86737, -19.8146], [34.86663, -19.81416], [34.86609, -19.81384], [34.86468, -19.81299], [34.8641, -19.81264], [34.86358, -19.81233], [34.86283, -19.81189], [34.86264, -19.81179], [34.8624, -19.81164], [34.86189, -19.81131], [34.86103, -19.8108], [34.86081, -19.81066], [34.86025, -19.81033], [34.85942, -19.80982], [34.85899, -19.80958], [34.8588, -19.80944], [34.85871, -19.8094], [34.85965, -19.8081], [34.86122, -19.8059], [34.86254, -19.8041], [34.86452, -19.80136], [34.86739, -19.79749], [34.86777, -19.79701], [34.86948, -19.79469], [34.86995, -19.79402], [34.87074, -19.79293], [34.87154, -19.79186], [34.87238, -19.79071], [34.87689, -19.7846], [34.87973, -19.78078], [34.87986, -19.78061], [34.88065, -19.77959], [34.88199, -19.77768], [34.88226, -19.77722], [34.88237, -19.777], [34.88259, -19.77656], [34.88276, -19.77614], [34.88301, -19.77539], [34.88313, -19.77494], [34.88319, -19.77463], [34.88329, -19.77373], [34.88332, -19.77307], [34.8833, -19.77263], [34.88323, -19.77194], [34.88307, -19.77115], [34.88296, -19.77073], [34.88273, -19.77], [34.8825, -19.76937], [34.88222, -19.76867], [34.88217, -19.76853], [34.88197, -19.76804], [34.88193, -19.76793], [34.88149, -19.76667], [34.88092, -19.76519], [34.8807, -19.76461], [34.88028, -19.76346], [34.8799, -19.76256], [34.87969, -19.76203], [34.8795, -19.76149], [34.87909, -19.76043], [34.87859, -19.75907], [34.87847, -19.75881], [34.87822, -19.75811], [34.87807, -19.75775], [34.87794, -19.75739], [34.87781, -19.75706], [34.87747, -19.75614], [34.87722, -19.75557], [34.87718, -19.75547], [34.87712, -19.75528], [34.8767, -19.75413], [34.8766, -19.75387], [34.87617, -19.75278], [34.87599, -19.75238], [34.87561, -19.75164], [34.87544, -19.75138], [34.87516, -19.75096], [34.87474, -19.75041], [34.87457, -19.75021], [34.87415, -19.74978], [34.87368, -19.74932], [34.8732, -19.74894], [34.87292, -19.74872], [34.87216, -19.74813], [34.87141, -19.74757], [34.87031, -19.74668], [34.87013, -19.74654], [34.8689, -19.74554], [34.86854, -19.74524], [34.86833, -19.74506], [34.86717, -19.74418], [34.86707, -19.74409], [34.86588, -19.74314], [34.86562, -19.74296], [34.86476, -19.7423], [34.86457, -19.74243], [34.86451, -19.7425], [34.86444, -19.7426], [34.86414, -19.74297], [34.86399, -19.74318], [34.86377, -19.74336], [34.86345, -19.74369], [34.86324, -19.74385], [34.8631, -19.74393], [34.86301, -19.74395], [34.86297, -19.74394], [34.86279, -19.7443], [34.86274, -19.74442], [34.86226, -19.74433], [34.86162, -19.74578], [34.86103, -19.74726], [34.86059, -19.7471], [34.86103, -19.74726], [34.86162, -19.74578], [34.86226, -19.74433], [34.86274, -19.74442], [34.86279, -19.7443], [34.86297, -19.74394], [34.86301, -19.74395], [34.8631, -19.74393], [34.86324, -19.74385], [34.86345, -19.74369], [34.86377, -19.74336], [34.86399, -19.74318], [34.86414, -19.74297], [34.86444, -19.7426], [34.86451, -19.7425], [34.86457, -19.74243], [34.86476, -19.7423], [34.8641, -19.74185], [34.86375, -19.74164], [34.86329, -19.7414], [34.8628, -19.74116], [34.86232, -19.74095], [34.862, -19.74085], [34.86134, -19.74069], [34.86016, -19.74045], [34.85893, -19.74024], [34.858, -19.74007], [34.85712, -19.7399], [34.85666, -19.73982], [34.85497, -19.73951], [34.85341, -19.73928], [34.8528, -19.73915], [34.85169, -19.73894], [34.85083, -19.73879], [34.84769, -19.73823], [34.84441, -19.73766], [34.84416, -19.73762], [34.84299, -19.73742], [34.84048, -19.73697], [34.83812, -19.73655], [34.83612, -19.73622], [34.834, -19.7358], [34.83346, -19.73567], [34.8325, -19.73532], [34.83191, -19.73505], [34.83128, -19.73474], [34.83035, -19.73424], [34.827, -19.73241], [34.8259, -19.73181], [34.82526, -19.73148], [34.82387, -19.73072], [34.82299, -19.73025], [34.82264, -19.73005], [34.82162, -19.72949], [34.8213, -19.72934], [34.82004, -19.72863], [34.81971, -19.72847], [34.8183, -19.72768], [34.81752, -19.72727], [34.8168, -19.72687], [34.81644, -19.72669], [34.81539, -19.7261], [34.814, -19.72534], [34.81371, -19.72519], [34.81252, -19.72455], [34.8115, -19.724], [34.81043, -19.7234], [34.80981, -19.72309], [34.8093, -19.72281], [34.80894, -19.72263], [34.80852, -19.72237], [34.80822, -19.72222], [34.80802, -19.72211], [34.80782, -19.72197], [34.80728, -19.72155], [34.80701, -19.72131], [34.80579, -19.72009], [34.8047, -19.71903], [34.80393, -19.71825], [34.8032, -19.71751], [34.80232, -19.71661], [34.80086, -19.71518], [34.79889, -19.71319], [34.79604, -19.71036], [34.79538, -19.70967], [34.79497, -19.70928], [34.79022, -19.70448], [34.78927, -19.70353], [34.78894, -19.70319], [34.78819, -19.70244], [34.78667, -19.70098], [34.78556, -19.69984], [34.78314, -19.69746], [34.78138, -19.69557], [34.7795, -19.69346], [34.77872, -19.69261], [34.77826, -19.69208], [34.77809, -19.69186], [34.77796, -19.69167], [34.77776, -19.6912], [34.7777, -19.69096], [34.77766, -19.69063], [34.77765, -19.6904], [34.77772, -19.68934], [34.77778, -19.68884], [34.77785, -19.68828], [34.77798, -19.68692], [34.77811, -19.68532], [34.77852, -19.68158], [34.77867, -19.68005], [34.7778, -19.67984], [34.77736, -19.6797], [34.77607, -19.67927], [34.77566, -19.67914], [34.77505, -19.67894], [34.77371, -19.67853], [34.77294, -19.67832], [34.77235, -19.67823], [34.77192, -19.67805], [34.77186, -19.67817], [34.77113, -19.67878], [34.77083, -19.67908], [34.7703, -19.6795], [34.77006, -19.67983], [34.76985, -19.68001], [34.76858, -19.68111], [34.7679, -19.68178], [34.76737, -19.68227], [34.76696, -19.68258], [34.76654, -19.68291], [34.76609, -19.68334], [34.76584, -19.68349], [34.76508, -19.68372], [34.76455, -19.68405], [34.7643, -19.68426], [34.76382, -19.68484], [34.76345, -19.68515], [34.76283, -19.68539], [34.76246, -19.68551], [34.76191, -19.68562], [34.76179, -19.68568], [34.76169, -19.68578], [34.76158, -19.68596], [34.7614, -19.68614], [34.7612, -19.68629], [34.76104, -19.68637], [34.76058, -19.68648], [34.76041, -19.68657], [34.76032, -19.68667], [34.76008, -19.68664], [34.76032, -19.68667], [34.76041, -19.68657], [34.76058, -19.68648], [34.76104, -19.68637], [34.7612, -19.68629], [34.7614, -19.68614], [34.76158, -19.68596], [34.76169, -19.68578], [34.76179, -19.68568], [34.76191, -19.68562], [34.76246, -19.68551], [34.76283, -19.68539], [34.76345, -19.68515], [34.76355, -19.68402], [34.76398, -19.68], [34.76408, -19.67898], [34.76409, -19.67895], [34.76414, -19.67835], [34.76421, -19.67742], [34.76424, -19.67721], [34.76438, -19.67663], [34.76444, -19.67626], [34.76451, -19.67523], [34.76487, -19.67136], [34.76504, -19.66927], [34.76504, -19.66907], [34.76502, -19.66889], [34.76503, -19.66862], [34.76501, -19.6685], [34.76496, -19.66837], [34.76472, -19.66804], [34.76449, -19.66768], [34.76457, -19.66757], [34.76542, -19.66685], [34.76917, -19.66327], [34.77105, -19.66154], [34.77275, -19.65992], [34.77325, -19.65946], [34.7711, -19.65733], [34.77055, -19.65677], [34.77017, -19.65637], [34.76772, -19.65392], [34.76717, -19.65338], [34.76695, -19.65314], [34.76584, -19.65202], [34.76553, -19.6517], [34.76393, -19.65009], [34.76339, -19.64956], [34.76286, -19.64901], [34.76235, -19.64851], [34.76228, -19.64844], [34.76088, -19.64703], [34.75849, -19.6446], [34.75706, -19.64319], [34.75703, -19.64315], [34.7555, -19.64155], [34.75419, -19.64026], [34.75341, -19.63953], [34.75306, -19.63916], [34.75278, -19.63887], [34.75231, -19.63827], [34.75135, -19.63699], [34.75099, -19.6364], [34.75057, -19.63561], [34.75025, -19.63492], [34.74975, -19.63355], [34.74958, -19.6329], [34.74923, -19.63141], [34.7491, -19.63074], [34.74872, -19.62909], [34.74825, -19.62706], [34.74806, -19.6262], [34.74778, -19.62476], [34.74753, -19.62373], [34.74697, -19.62131], [34.74649, -19.61888], [34.74622, -19.61746], [34.74618, -19.61727], [34.74601, -19.61649], [34.74582, -19.61545], [34.74555, -19.6142], [34.74545, -19.61364], [34.74528, -19.61273], [34.74527, -19.61263], [34.74509, -19.61173], [34.74496, -19.61136], [34.74471, -19.6108], [34.74429, -19.61006], [34.74414, -19.60972], [34.74393, -19.6092], [34.74329, -19.60742], [34.74305, -19.60682], [34.7426, -19.60548], [34.74149, -19.60233], [34.74065, -19.59974], [34.73975, -19.59724], [34.73888, -19.59477], [34.73851, -19.5937], [34.73813, -19.59257], [34.73784, -19.59179], [34.73775, -19.59153], [34.73772, -19.59145], [34.73732, -19.59031], [34.73691, -19.58902], [34.73645, -19.58779], [34.73626, -19.58723], [34.73497, -19.58351], [34.73425, -19.58157], [34.73406, -19.58114], [34.73395, -19.58094], [34.73355, -19.58038], [34.73317, -19.58001], [34.73277, -19.57971], [34.7324, -19.57951], [34.73172, -19.57926], [34.73115, -19.57914], [34.73039, -19.57907], [34.72892, -19.57893], [34.72692, -19.57876], [34.72665, -19.57873], [34.72622, -19.57862], [34.72593, -19.57853], [34.72557, -19.5784], [34.72534, -19.57828], [34.7248, -19.57797], [34.72449, -19.57778], [34.72363, -19.57727], [34.72296, -19.57685], [34.72259, -19.57664], [34.72208, -19.57632], [34.72178, -19.57613], [34.72123, -19.5758], [34.72112, -19.57573], [34.72084, -19.57557], [34.71974, -19.57491], [34.71947, -19.57471], [34.71832, -19.57402], [34.71776, -19.57368], [34.7173, -19.5734], [34.71625, -19.57279], [34.71562, -19.5726], [34.71543, -19.57256], [34.71512, -19.57251], [34.71443, -19.57248], [34.71424, -19.57251], [34.71276, -19.5727], [34.71258, -19.57272], [34.711, -19.5729], [34.70802, -19.57325], [34.7057, -19.57351], [34.70442, -19.57363], [34.70411, -19.57363], [34.7038, -19.5736], [34.70346, -19.57353], [34.70316, -19.57344], [34.70279, -19.5733], [34.70242, -19.57313], [34.69915, -19.57157], [34.69884, -19.57143], [34.69644, -19.57025], [34.69439, -19.56925], [34.69192, -19.56804], [34.68681, -19.5657], [34.68555, -19.56521], [34.68365, -19.56457], [34.68344, -19.5645], [34.67938, -19.56319], [34.67795, -19.56275], [34.67513, -19.56185], [34.67395, -19.56147], [34.67371, -19.56139], [34.67183, -19.56079], [34.66935, -19.56001], [34.66916, -19.55995], [34.66761, -19.55947], [34.6653, -19.55873], [34.66345, -19.55815], [34.66135, -19.55749], [34.66053, -19.55723], [34.66031, -19.55716], [34.65822, -19.55647], [34.65784, -19.55635], [34.65465, -19.55531], [34.6535, -19.55493], [34.65282, -19.55464], [34.65218, -19.55424], [34.64742, -19.55008], [34.6471, -19.5498], [34.64548, -19.54827], [34.64402, -19.54685], [34.64199, -19.54485], [34.64009, -19.54296], [34.63894, -19.54183], [34.63849, -19.54138], [34.63818, -19.54108], [34.63727, -19.54017], [34.63656, -19.53947], [34.63584, -19.53875], [34.63532, -19.53823], [34.63458, -19.5375], [34.63378, -19.5367], [34.63359, -19.53652], [34.63158, -19.53449], [34.63043, -19.53333], [34.63004, -19.53291], [34.62961, -19.53241], [34.62845, -19.53072], [34.62806, -19.53012], [34.62762, -19.52948], [34.6248, -19.52521], [34.62459, -19.52488], [34.6243, -19.52444], [34.62427, -19.52438], [34.62404, -19.52404], [34.62389, -19.52383], [34.62385, -19.52372], [34.62368, -19.52344], [34.62187, -19.52052], [34.62179, -19.5204], [34.62108, -19.51925], [34.62012, -19.5177], [34.61905, -19.51605], [34.61882, -19.51577], [34.61853, -19.51548], [34.61817, -19.51517], [34.61657, -19.51405], [34.61528, -19.51308], [34.61116, -19.51011], [34.61104, -19.51002], [34.60924, -19.5087], [34.60755, -19.50747], [34.60631, -19.50657], [34.60557, -19.50607], [34.6054, -19.50595], [34.60245, -19.50385], [34.60091, -19.50283], [34.60007, -19.50225], [34.59937, -19.50177], [34.59746, -19.50051], [34.59692, -19.50015], [34.5965, -19.49988], [34.59614, -19.49965], [34.59602, -19.49982], [34.59592, -19.49992], [34.59557, -19.5004], [34.5954, -19.50066], [34.59507, -19.50111], [34.59483, -19.50145], [34.59463, -19.50167], [34.59448, -19.50192], [34.59444, -19.50203], [34.59443, -19.50212], [34.59443, -19.50232], [34.59443, -19.50258], [34.59439, -19.50265], [34.59427, -19.50263], [34.59414, -19.50255], [34.59408, -19.5026], [34.59396, -19.50277], [34.59391, -19.50279], [34.59378, -19.50274], [34.59373, -19.50281], [34.59366, -19.50297], [34.5936, -19.50302], [34.59352, -19.503], [34.59344, -19.50299], [34.59329, -19.50301], [34.59344, -19.50299], [34.59352, -19.503], [34.5936, -19.50302], [34.59366, -19.50297], [34.59373, -19.50281], [34.59378, -19.50274], [34.59391, -19.50279], [34.59396, -19.50277], [34.59408, -19.5026], [34.59414, -19.50255], [34.59427, -19.50263], [34.59439, -19.50265], [34.59443, -19.50258], [34.59443, -19.50232], [34.59443, -19.50212], [34.59444, -19.50203], [34.59448, -19.50192], [34.59463, -19.50167], [34.59483, -19.50145], [34.59507, -19.50111], [34.5954, -19.50066], [34.59557, -19.5004], [34.59592, -19.49992], [34.59602, -19.49982], [34.59614, -19.49965], [34.59549, -19.49923], [34.59506, -19.49895], [34.59501, -19.49892], [34.5947, -19.49873], [34.59425, -19.49839], [34.59386, -19.49809], [34.59324, -19.49746], [34.5929, -19.49693], [34.59231, -19.49601], [34.59208, -19.49569], [34.59171, -19.49526], [34.59141, -19.495], [34.5905, -19.4944], [34.58704, -19.49187], [34.58538, -19.49068], [34.58373, -19.48949], [34.57981, -19.48658], [34.57586, -19.48372], [34.57461, -19.48286], [34.57128, -19.48043], [34.57076, -19.48004], [34.5704, -19.47971], [34.57012, -19.47942], [34.56967, -19.47892], [34.56286, -19.47044], [34.56174, -19.46905], [34.56063, -19.46768], [34.55953, -19.4663], [34.55757, -19.46392], [34.55711, -19.46345], [34.55607, -19.46221], [34.5524, -19.45793], [34.5516, -19.45701], [34.55091, -19.45622], [34.54899, -19.45401], [34.54852, -19.45353], [34.54828, -19.45333], [34.5478, -19.45295], [34.54746, -19.45273], [34.54726, -19.45261], [34.54674, -19.45235], [34.54626, -19.45214], [34.54561, -19.45194], [34.54531, -19.45186], [34.54458, -19.45174], [34.54353, -19.4517], [34.54209, -19.45173], [34.54151, -19.4517], [34.54131, -19.45172], [34.54103, -19.45172], [34.54056, -19.45167], [34.54024, -19.4516], [34.53988, -19.45148], [34.5397, -19.4514], [34.53927, -19.45116], [34.53898, -19.45094], [34.53858, -19.45055], [34.53832, -19.4502], [34.53821, -19.45], [34.53808, -19.44975], [34.53761, -19.44872], [34.53721, -19.44789], [34.53716, -19.44774], [34.53706, -19.44751], [34.5369, -19.4472], [34.53671, -19.44691], [34.53649, -19.44664], [34.53625, -19.44639], [34.53598, -19.44616], [34.53554, -19.44586], [34.53522, -19.4457], [34.53489, -19.44556], [34.53455, -19.44545], [34.53419, -19.44537], [34.53401, -19.44535], [34.53344, -19.44532], [34.53287, -19.44536], [34.52907, -19.44609], [34.52812, -19.44621], [34.52739, -19.44624], [34.5269, -19.44624], [34.52637, -19.44619], [34.52551, -19.44607], [34.5248, -19.44591], [34.52378, -19.44557], [34.52287, -19.44519], [34.52167, -19.44475], [34.52039, -19.44426], [34.51582, -19.44242], [34.51526, -19.44221], [34.51234, -19.44094], [34.51167, -19.44066], [34.50599, -19.43821], [34.50582, -19.43813], [34.49545, -19.4337], [34.47752, -19.426], [34.47277, -19.42396], [34.47271, -19.42394], [34.46171, -19.41922], [34.4581, -19.41764], [34.45654, -19.41699], [34.45591, -19.41671], [34.45584, -19.41668], [34.45474, -19.41622], [34.45198, -19.41503], [34.45092, -19.41457], [34.45056, -19.41441], [34.45012, -19.41422], [34.44973, -19.41406], [34.44929, -19.41387], [34.44916, -19.41381], [34.44873, -19.41363], [34.44824, -19.41341], [34.4482, -19.4134], [34.44817, -19.41338], [34.44683, -19.41282], [34.44675, -19.41278], [34.4459, -19.41242], [34.44558, -19.41228], [34.44499, -19.41203], [34.44378, -19.41151], [34.44348, -19.41137], [34.44347, -19.41137], [34.44331, -19.4113], [34.443, -19.41114], [34.44254, -19.41087], [34.44202, -19.41047], [34.44136, -19.40998], [34.44096, -19.41047], [34.44091, -19.41054], [34.44051, -19.41106], [34.44012, -19.41151], [34.43993, -19.41174], [34.43917, -19.41272], [34.43897, -19.41306], [34.43858, -19.41376], [34.4381, -19.41468], [34.43775, -19.41531], [34.43751, -19.41572], [34.43709, -19.41643], [34.43704, -19.41652], [34.43679, -19.41699], [34.43645, -19.41767], [34.4362, -19.41815], [34.43579, -19.41879], [34.43556, -19.41911], [34.43534, -19.41935], [34.43503, -19.41956], [34.43484, -19.41965], [34.43457, -19.41974], [34.43411, -19.41983], [34.43265, -19.42002], [34.43176, -19.42015], [34.43135, -19.4203], [34.43091, -19.42053], [34.43058, -19.4207], [34.43055, -19.42072], [34.42964, -19.42119], [34.42953, -19.42125], [34.42894, -19.42155], [34.42881, -19.42162], [34.4287, -19.42168], [34.42863, -19.42172], [34.42831, -19.4219], [34.428, -19.42212], [34.4277, -19.42237], [34.42744, -19.42264], [34.42694, -19.42322], [34.42686, -19.42331], [34.4261, -19.42415], [34.42586, -19.42441], [34.42579, -19.4245], [34.42567, -19.42466], [34.42563, -19.4247], [34.42539, -19.42497], [34.42491, -19.42545], [34.42472, -19.4256], [34.42345, -19.42643], [34.42149, -19.42771], [34.42124, -19.42784], [34.42057, -19.42812], [34.42053, -19.42813], [34.42003, -19.42833], [34.41815, -19.42888], [34.41625, -19.42943], [34.4147, -19.4299], [34.41351, -19.43026], [34.41254, -19.43057], [34.41031, -19.43123], [34.40578, -19.43259], [34.40476, -19.43289], [34.40287, -19.43345], [34.4018, -19.43377], [34.4016, -19.43383], [34.40137, -19.43395], [34.40117, -19.43405], [34.4009, -19.43418], [34.40077, -19.43429], [34.40065, -19.43441], [34.40039, -19.43464], [34.40017, -19.43494], [34.4, -19.43518], [34.3992, -19.4364], [34.39892, -19.43683], [34.39819, -19.43795], [34.39782, -19.43852], [34.39751, -19.43899], [34.39709, -19.43964], [34.39614, -19.44108], [34.3961, -19.44115], [34.39468, -19.44332], [34.3938, -19.44466], [34.39303, -19.4462], [34.39296, -19.44635], [34.39224, -19.44781], [34.39171, -19.44885], [34.39148, -19.44934], [34.39076, -19.45073], [34.39062, -19.45105], [34.38985, -19.4526], [34.38968, -19.45296], [34.38886, -19.4546], [34.38831, -19.45565], [34.38775, -19.45681], [34.38748, -19.45737], [34.38737, -19.45787], [34.38726, -19.45935], [34.38723, -19.45968], [34.3872, -19.45983], [34.38691, -19.46063], [34.38638, -19.46165], [34.38628, -19.46187], [34.38617, -19.46223], [34.38615, -19.46238], [34.38611, -19.46271], [34.38604, -19.46634], [34.38597, -19.46672], [34.38543, -19.46899], [34.38139, -19.48605], [34.38067, -19.48901], [34.3804, -19.49017], [34.3783, -19.49912], [34.37799, -19.50023], [34.37788, -19.50047], [34.37772, -19.50076], [34.37743, -19.50121], [34.37704, -19.50159], [34.37664, -19.50193], [34.37626, -19.50217], [34.3742, -19.50323], [34.37398, -19.50339], [34.3738, -19.50358], [34.37364, -19.50377], [34.37349, -19.50399], [34.37338, -19.50427], [34.37263, -19.50639], [34.37203, -19.50778], [34.37191, -19.50813], [34.37104, -19.51057], [34.37092, -19.51096], [34.37083, -19.51132], [34.37079, -19.51182], [34.37059, -19.5129], [34.37058, -19.51305], [34.37004, -19.517], [34.3693, -19.52213], [34.36926, -19.52252], [34.36906, -19.52384], [34.36877, -19.52603], [34.36876, -19.52618], [34.3674, -19.53641], [34.36698, -19.53945], [34.36696, -19.53963], [34.36693, -19.5403], [34.36701, -19.54079], [34.36708, -19.54105], [34.3672, -19.5414], [34.36844, -19.54471], [34.36851, -19.54485], [34.36895, -19.54589], [34.36896, -19.54599], [34.36967, -19.54736], [34.37046, -19.54868], [34.37084, -19.54915], [34.3714, -19.54974], [34.37266, -19.55088], [34.37604, -19.55334], [34.37743, -19.55419], [34.38235, -19.55722], [34.38344, -19.55798], [34.3849, -19.55939], [34.38599, -19.56062], [34.38647, -19.56105], [34.38675, -19.56127], [34.38714, -19.56153], [34.38776, -19.56189], [34.38809, -19.56199], [34.38864, -19.56215], [34.38986, -19.5623], [34.39024, -19.56236], [34.3905, -19.56244], [34.3915, -19.56279], [34.39232, -19.56314], [34.39328, -19.56364], [34.39412, -19.56416], [34.39473, -19.56469], [34.39637, -19.5665], [34.39711, -19.56726], [34.39754, -19.56766], [34.40318, -19.57225], [34.4036, -19.57255], [34.40596, -19.57396], [34.40681, -19.57439], [34.40708, -19.57455], [34.40751, -19.57477], [34.40796, -19.57496], [34.40839, -19.57512], [34.40885, -19.57522], [34.4095, -19.57527], [34.41241, -19.57515], [34.41438, -19.57515], [34.41484, -19.57521], [34.41511, -19.57526], [34.4154, -19.57537], [34.41587, -19.5756], [34.41624, -19.57586], [34.41709, -19.57665], [34.41868, -19.57815], [34.42021, -19.57951], [34.42514, -19.58381], [34.42799, -19.58643], [34.42832, -19.58674], [34.43063, -19.58886], [34.43115, -19.58942], [34.43147, -19.58968], [34.43277, -19.5904], [34.43387, -19.59119], [34.43629, -19.59277], [34.4373, -19.59339], [34.43857, -19.59423], [34.43914, -19.59477], [34.44042, -19.59606], [34.44185, -19.59749], [34.44342, -19.59901], [34.4439, -19.59965], [34.4441, -19.59998], [34.44419, -19.6002], [34.44425, -19.60065], [34.4442, -19.60111], [34.44377, -19.60283], [34.4437, -19.60325], [34.4437, -19.60378], [34.44376, -19.60428], [34.4439, -19.60542], [34.44396, -19.60598], [34.44399, -19.60618], [34.44404, -19.60643], [34.44477, -19.60808], [34.44553, -19.60971], [34.44608, -19.61093], [34.44612, -19.61101], [34.44823, -19.61592], [34.44842, -19.61628], [34.44916, -19.61743], [34.45067, -19.61961], [34.45078, -19.61977], [34.45099, -19.62008], [34.4512, -19.62035], [34.45142, -19.62074], [34.45162, -19.62118], [34.45179, -19.62158], [34.45188, -19.62191], [34.45195, -19.62258], [34.45203, -19.62478], [34.45204, -19.62618], [34.45205, -19.62695], [34.45207, -19.62728], [34.45211, -19.6276], [34.45217, -19.62781], [34.45239, -19.62829], [34.45256, -19.62858], [34.45296, -19.62908], [34.45392, -19.63007], [34.45457, -19.63088], [34.45729, -19.63438], [34.45901, -19.63649], [34.45931, -19.63698], [34.46076, -19.63903], [34.46111, -19.63967], [34.46215, -19.6418], [34.46333, -19.64495], [34.46375, -19.64615], [34.4638, -19.64647], [34.46384, -19.64716], [34.4638, -19.64791], [34.4637, -19.64857], [34.46369, -19.64898], [34.46376, -19.64939], [34.46399, -19.65089], [34.46401, -19.65135], [34.46373, -19.65361], [34.46375, -19.65403], [34.46388, -19.65479], [34.46438, -19.65726], [34.46581, -19.66417], [34.46642, -19.66666], [34.46726, -19.67006], [34.46732, -19.67059], [34.46763, -19.68082], [34.46767, -19.68112], [34.46782, -19.68146], [34.4683, -19.68203], [34.47495, -19.68894], [34.47521, -19.68921], [34.4754, -19.6894], [34.47604, -19.69009], [34.4765, -19.69049], [34.4771, -19.69092], [34.47813, -19.69151], [34.47986, -19.69246], [34.48026, -19.69278], [34.48056, -19.69306], [34.48083, -19.69341], [34.48104, -19.69382], [34.48131, -19.69445], [34.48153, -19.69491], [34.48172, -19.69535], [34.48213, -19.6961], [34.48325, -19.6979], [34.48403, -19.69929], [34.48424, -19.69975], [34.48441, -19.70023], [34.48454, -19.70078], [34.48556, -19.70644], [34.48583, -19.70806], [34.48594, -19.70857], [34.48611, -19.70953], [34.48634, -19.71115], [34.48644, -19.7118], [34.48644, -19.71245], [34.48642, -19.71269], [34.48626, -19.71315], [34.48612, -19.71348], [34.48575, -19.71428], [34.48281, -19.72044], [34.48267, -19.72071], [34.48247, -19.72112], [34.48231, -19.72152], [34.48165, -19.72314], [34.48143, -19.7237], [34.48109, -19.72453], [34.48068, -19.72554], [34.47835, -19.73355], [34.47824, -19.73393], [34.47813, -19.73455], [34.47811, -19.73503], [34.47819, -19.73548], [34.47907, -19.738], [34.48289, -19.74817], [34.49215, -19.77261], [34.49232, -19.77304], [34.4925, -19.77352], [34.49461, -19.77892], [34.49636, -19.78371], [34.49647, -19.78415], [34.4965, -19.7846], [34.49637, -19.78541], [34.494, -19.79877], [34.49342, -19.802], [34.4934, -19.80209], [34.49336, -19.80232], [34.49306, -19.80397], [34.49264, -19.80619], [34.49114, -19.81412], [34.49044, -19.81802], [34.4901, -19.81955], [34.48984, -19.821], [34.48946, -19.82293], [34.48913, -19.82467], [34.48898, -19.82522], [34.48889, -19.82539], [34.48862, -19.82604], [34.48849, -19.82622], [34.48065, -19.84218], [34.47831, -19.84694], [34.47808, -19.84729], [34.47781, -19.84756], [34.47614, -19.84893], [34.47259, -19.85183], [34.47225, -19.85226], [34.47213, -19.8525], [34.47205, -19.85267], [34.47197, -19.853], [34.472, -19.85344], [34.47217, -19.85441], [34.47232, -19.85517], [34.47268, -19.85715], [34.47286, -19.85813], [34.47354, -19.86175], [34.47364, -19.86196], [34.47382, -19.86222], [34.47402, -19.86239], [34.4743, -19.86257], [34.47639, -19.86371], [34.47797, -19.86453], [34.47812, -19.8646], [34.47834, -19.86469], [34.47841, -19.8647], [34.4789, -19.86481], [34.47977, -19.86495], [34.47999, -19.86499], [34.48169, -19.86527], [34.48211, -19.86538], [34.48233, -19.86546], [34.48357, -19.86595], [34.48766, -19.86758], [34.48844, -19.86789], [34.49799, -19.87171], [34.50074, -19.87283], [34.50124, -19.873], [34.50153, -19.87305], [34.50188, -19.87306], [34.50374, -19.87292], [34.50431, -19.87288], [34.50524, -19.87285], [34.50667, -19.87275], [34.50746, -19.87262], [34.50818, -19.87248], [34.50922, -19.87227], [34.50983, -19.87214], [34.51486, -19.87109], [34.51521, -19.87106], [34.51557, -19.8711], [34.51987, -19.87234], [34.52154, -19.87279], [34.53416, -19.87637], [34.53463, -19.87644], [34.535, -19.8764], [34.53529, -19.87627], [34.53546, -19.87611], [34.53631, -19.87509], [34.53661, -19.87489], [34.53691, -19.8748], [34.53727, -19.87481], [34.53755, -19.87487], [34.53803, -19.87511], [34.53923, -19.87601], [34.5415, -19.87763], [34.54462, -19.8799], [34.54595, -19.88088], [34.54648, -19.88129], [34.54673, -19.88155], [34.54716, -19.88212], [34.54783, -19.88296], [34.54813, -19.88331], [34.54838, -19.88355], [34.54858, -19.88364], [34.5488, -19.88368], [34.54913, -19.88367], [34.54946, -19.8836], [34.54973, -19.8835], [34.54999, -19.88332], [34.55065, -19.88261], [34.55783, -19.87428], [34.56327, -19.86766], [34.56402, -19.86683], [34.56413, -19.86674], [34.56422, -19.8667], [34.56432, -19.8667], [34.56444, -19.86671], [34.56467, -19.8668], [34.5651, -19.867], [34.56639, -19.86769], [34.56682, -19.86789], [34.56715, -19.86795], [34.56751, -19.86794], [34.56791, -19.86783], [34.5681, -19.86773], [34.56824, -19.8676], [34.57212, -19.8628], [34.57243, -19.86256], [34.57266, -19.86247], [34.57278, -19.86242], [34.57315, -19.8624], [34.57508, -19.86255], [34.5771, -19.86271], [34.57738, -19.86277], [34.57761, -19.8629], [34.57929, -19.86424], [34.58035, -19.865], [34.58072, -19.86516], [34.58423, -19.86609], [34.58468, -19.86625], [34.58484, -19.86635], [34.585, -19.86651], [34.58509, -19.86667], [34.5869, -19.87055], [34.58731, -19.87145], [34.58768, -19.87225], [34.58796, -19.87285], [34.58805, -19.87299], [34.58822, -19.87315], [34.58825, -19.87316], [34.58834, -19.87323], [34.589, -19.87372], [34.59306, -19.87669], [34.59298, -19.87682], [34.59168, -19.87842], [34.59152, -19.87862], [34.59036, -19.88001], [34.58988, -19.88047], [34.58976, -19.88057], [34.59019, -19.88087], [34.59296, -19.88273], [34.59019, -19.88087], [34.58976, -19.88057], [34.58988, -19.88047], [34.59036, -19.88001], [34.59152, -19.87862], [34.59168, -19.87842], [34.59298, -19.87682], [34.59306, -19.87669], [34.589, -19.87372], [34.58834, -19.87323], [34.58825, -19.87316], [34.58822, -19.87315], [34.58805, -19.87299], [34.58796, -19.87285], [34.58768, -19.87225], [34.58731, -19.87145], [34.5869, -19.87055], [34.58509, -19.86667], [34.585, -19.86651], [34.58484, -19.86635], [34.58468, -19.86625], [34.58423, -19.86609], [34.58072, -19.86516], [34.58035, -19.865], [34.57929, -19.86424], [34.57761, -19.8629], [34.57738, -19.86277], [34.5771, -19.86271], [34.57508, -19.86255], [34.57315, -19.8624], [34.57278, -19.86242], [34.57266, -19.86247], [34.57243, -19.86256], [34.57212, -19.8628], [34.56824, -19.8676], [34.5681, -19.86773], [34.56791, -19.86783], [34.56751, -19.86794], [34.56715, -19.86795], [34.56682, -19.86789], [34.56639, -19.86769], [34.5651, -19.867], [34.56467, -19.8668], [34.56444, -19.86671], [34.56432, -19.8667], [34.56422, -19.8667], [34.56413, -19.86674], [34.56402, -19.86683], [34.56327, -19.86766], [34.55783, -19.87428], [34.55065, -19.88261], [34.54999, -19.88332], [34.54973, -19.8835], [34.54946, -19.8836], [34.54913, -19.88367], [34.5488, -19.88368], [34.54858, -19.88364], [34.54838, -19.88355], [34.54813, -19.88331], [34.54783, -19.88296], [34.54716, -19.88212], [34.54673, -19.88155], [34.54648, -19.88129], [34.54595, -19.88088], [34.54462, -19.8799], [34.5415, -19.87763], [34.53923, -19.87601], [34.53803, -19.87511], [34.53755, -19.87487], [34.53727, -19.87481], [34.53691, -19.8748], [34.53661, -19.87489], [34.53631, -19.87509], [34.53546, -19.87611], [34.53529, -19.87627], [34.535, -19.8764], [34.53463, -19.87644], [34.53416, -19.87637], [34.52154, -19.87279], [34.51987, -19.87234], [34.51557, -19.8711], [34.51521, -19.87106], [34.51486, -19.87109], [34.50983, -19.87214], [34.50922, -19.87227], [34.50818, -19.87248], [34.50746, -19.87262], [34.50667, -19.87275], [34.50524, -19.87285], [34.50431, -19.87288], [34.50374, -19.87292], [34.50188, -19.87306], [34.50153, -19.87305], [34.50124, -19.873], [34.50074, -19.87283], [34.49799, -19.87171], [34.48844, -19.86789], [34.48731, -19.87184], [34.48665, -19.87404], [34.48636, -19.87498], [34.4852, -19.87924], [34.48513, -19.87948], [34.48496, -19.8801], [34.4849, -19.88035], [34.48479, -19.88074], [34.48474, -19.88094], [34.48468, -19.88121], [34.48408, -19.88371], [34.48336, -19.88651], [34.48335, -19.88656], [34.4827, -19.88904], [34.48255, -19.88937], [34.48235, -19.88965], [34.48159, -19.8903], [34.48136, -19.89047], [34.48034, -19.8912], [34.47916, -19.89226], [34.47821, -19.89307], [34.47753, -19.89368], [34.47689, -19.89422], [34.47592, -19.8951], [34.47468, -19.8962], [34.47446, -19.89639], [34.47393, -19.89681], [34.47364, -19.89718], [34.47328, -19.89778], [34.47307, -19.89837], [34.47292, -19.89893], [34.47299, -19.89982], [34.4735, -19.90229], [34.47393, -19.90456], [34.47403, -19.9052], [34.47414, -19.90597], [34.47418, -19.90636], [34.47423, -19.90693], [34.47423, -19.90798], [34.47424, -19.90847], [34.47427, -19.9111], [34.47426, -19.91271], [34.47423, -19.91464], [34.47424, -19.91508], [34.47425, -19.91542], [34.47425, -19.91561], [34.4743, -19.91876], [34.47429, -19.925], [34.47431, -19.92527], [34.47435, -19.92552], [34.47449, -19.92611], [34.47471, -19.92646], [34.47485, -19.92668], [34.4746, -19.92655], [34.4743, -19.9264], [34.47336, -19.92597], [34.46859, -19.92364], [34.46838, -19.92357], [34.46816, -19.9235], [34.46712, -19.92333], [34.46117, -19.92242], [34.46014, -19.92243], [34.45654, -19.92248], [34.45381, -19.92252], [34.45205, -19.92255], [34.44708, -19.92263], [34.44305, -19.92269], [34.43898, -19.92275], [34.43859, -19.92275], [34.43668, -19.92278], [34.42689, -19.92292], [34.42293, -19.92302], [34.41486, -19.92311], [34.41074, -19.92315], [34.40867, -19.92318], [34.40663, -19.9232], [34.40468, -19.92323], [34.39843, -19.92325], [34.39558, -19.92326], [34.3916, -19.92327], [34.39114, -19.92327], [34.38979, -19.92327], [34.38919, -19.92324], [34.38889, -19.92319], [34.38866, -19.92311], [34.38844, -19.92301], [34.38818, -19.92286], [34.38434, -19.92066], [34.37988, -19.9181], [34.37745, -19.91672], [34.37408, -19.91473], [34.36888, -19.91169], [34.36715, -19.91065], [34.36558, -19.90969], [34.36427, -19.9089], [34.36211, -19.90759], [34.36037, -19.90653], [34.35836, -19.9053], [34.35772, -19.90491], [34.35542, -19.90349], [34.35498, -19.90327], [34.35478, -19.90323], [34.35441, -19.90323], [34.35422, -19.90326], [34.35389, -19.9034], [34.35367, -19.90353], [34.35346, -19.90368], [34.35141, -19.90559], [34.35034, -19.90659], [34.34825, -19.90852], [34.34725, -19.90947], [34.34699, -19.90972], [34.34583, -19.91081], [34.34437, -19.9122], [34.34433, -19.91224], [34.34301, -19.91349], [34.34232, -19.91413], [34.34196, -19.91443], [34.34142, -19.9147], [34.34018, -19.91527], [34.33981, -19.91544], [34.33934, -19.91568], [34.33898, -19.91592], [34.33662, -19.91779], [34.335, -19.91908], [34.33448, -19.9195], [34.33217, -19.92132], [34.33159, -19.92178], [34.33048, -19.92266], [34.32983, -19.92319], [34.32873, -19.92415], [34.32826, -19.92456], [34.32774, -19.925], [34.32648, -19.92607], [34.32474, -19.92755], [34.32453, -19.92773], [34.32308, -19.92896], [34.32213, -19.92977], [34.32003, -19.93155], [34.31727, -19.93389], [34.31565, -19.93489], [34.31539, -19.93514], [34.31472, -19.93603], [34.31424, -19.93666], [34.31374, -19.93734], [34.31344, -19.93774], [34.31128, -19.94062], [34.3069, -19.9464], [34.30651, -19.94682], [34.3061, -19.94715], [34.30554, -19.94748], [34.30522, -19.94768], [34.30498, -19.94784], [34.30476, -19.94804], [34.30459, -19.94826], [34.30419, -19.94896], [34.30406, -19.94935], [34.30388, -19.95032], [34.30375, -19.9506], [34.30166, -19.95332], [34.30101, -19.9542], [34.30075, -19.95461], [34.30057, -19.95498], [34.30046, -19.95526], [34.30031, -19.95582], [34.30022, -19.9563], [34.30024, -19.9565], [34.30029, -19.95675], [34.30085, -19.95775], [34.30096, -19.95806], [34.30101, -19.95834], [34.30101, -19.95849], [34.301, -19.95859], [34.30095, -19.95881], [34.30086, -19.95901], [34.30076, -19.95913], [34.30055, -19.95933], [34.30037, -19.95946], [34.30027, -19.95954], [34.29999, -19.95973], [34.29979, -19.95983], [34.29958, -19.95989], [34.29915, -19.95996], [34.29792, -19.96013], [34.29712, -19.96019], [34.29661, -19.96018], [34.29632, -19.96016], [34.29596, -19.96012], [34.29424, -19.95977], [34.29411, -19.95971], [34.29397, -19.95964], [34.29373, -19.95944], [34.29355, -19.95925], [34.2925, -19.95781], [34.29183, -19.95697], [34.29156, -19.95664], [34.29139, -19.95646], [34.29133, -19.95639], [34.29108, -19.95623], [34.29091, -19.95617], [34.29075, -19.95614], [34.29066, -19.95616], [34.29061, -19.95618], [34.29042, -19.95628], [34.28886, -19.95737], [34.28859, -19.95757], [34.2884, -19.95771], [34.28825, -19.95778], [34.2881, -19.95779], [34.28667, -19.95765], [34.2863, -19.95761], [34.28616, -19.95764], [34.28358, -19.95863], [34.28334, -19.9587], [34.28314, -19.95873], [34.28297, -19.95873], [34.28283, -19.95869], [34.28271, -19.95864], [34.28257, -19.95852], [34.2824, -19.9582], [34.28235, -19.9581], [34.28213, -19.95766], [34.2819, -19.95734], [34.28172, -19.95714], [34.28139, -19.95685], [34.28112, -19.95664], [34.28024, -19.95612], [34.27988, -19.95594], [34.27963, -19.95586], [34.27934, -19.9558], [34.27908, -19.95578], [34.27866, -19.9558], [34.27527, -19.95602], [34.27215, -19.95623], [34.27196, -19.95624], [34.26974, -19.95639], [34.26617, -19.95663], [34.25922, -19.95702], [34.25707, -19.95717], [34.24984, -19.9577], [34.24868, -19.95781], [34.24826, -19.95787], [34.2478, -19.95796], [34.24292, -19.95907], [34.23762, -19.96032], [34.23158, -19.96172], [34.2312, -19.9618], [34.2279, -19.96248], [34.22183, -19.96389], [34.21951, -19.96447], [34.21939, -19.9645], [34.21856, -19.96471], [34.21747, -19.96499], [34.21718, -19.96506], [34.21685, -19.96515], [34.21641, -19.96526], [34.21589, -19.96539], [34.21456, -19.96572], [34.21422, -19.96581], [34.21304, -19.96612], [34.21112, -19.96661], [34.20935, -19.9671], [34.20852, -19.9673], [34.20739, -19.96757], [34.20533, -19.968], [34.20515, -19.96801], [34.20451, -19.96789], [34.20285, -19.96732], [34.20144, -19.96682], [34.20111, -19.96673], [34.20091, -19.9667], [34.19664, -19.96682], [34.18491, -19.9672], [34.18429, -19.96717], [34.18267, -19.96701], [34.17984, -19.96677], [34.1752, -19.96644], [34.17402, -19.96636], [34.17358, -19.96636], [34.17335, -19.96639], [34.17319, -19.96646], [34.17292, -19.9666], [34.1725, -19.96691], [34.17211, -19.9674], [34.17162, -19.96822], [34.1697, -19.97164], [34.16837, -19.97404], [34.16744, -19.97555], [34.16735, -19.9757], [34.1672, -19.97591], [34.16692, -19.97632], [34.16662, -19.97665], [34.16636, -19.97683], [34.16596, -19.97701], [34.16524, -19.97729], [34.16485, -19.97739], [34.16426, -19.97757], [34.16414, -19.97759], [34.16364, -19.97767], [34.16269, -19.97772], [34.16218, -19.97775], [34.16158, -19.97778], [34.16038, -19.97785], [34.15929, -19.9779], [34.15746, -19.97802], [34.15717, -19.97804], [34.15579, -19.97806], [34.15451, -19.97811], [34.1535, -19.97822], [34.15013, -19.97842], [34.14845, -19.97856], [34.1482, -19.97856], [34.14762, -19.97856], [34.14763, -19.97874], [34.14767, -19.97893], [34.14774, -19.97909], [34.14782, -19.97942], [34.14783, -19.97972], [34.1478, -19.9801], [34.14769, -19.98035], [34.14755, -19.98054], [34.14747, -19.98063], [34.14742, -19.98067], [34.14689, -19.98078], [34.14666, -19.98081], [34.14655, -19.98085], [34.14614, -19.98117], [34.14602, -19.98132], [34.14575, -19.9819], [34.14542, -19.98252], [34.1451, -19.98297], [34.1448, -19.98321], [34.14412, -19.98356], [34.14405, -19.98362], [34.14399, -19.98369], [34.14398, -19.98385], [34.14381, -19.98461], [34.14388, -19.98511], [34.14385, -19.98598], [34.14391, -19.9866], [34.14385, -19.98744], [34.14373, -19.98836], [34.14364, -19.9888], [34.14346, -19.9893], [34.14339, -19.99009], [34.14336, -19.9908], [34.14331, -19.99103], [34.14314, -19.99155], [34.14311, -19.99183], [34.14312, -19.99206], [34.14321, -19.99243], [34.14412, -19.99487], [34.145, -19.99729], [34.14594, -19.99973], [34.14607, -20.0], [34.14694, -20.00175], [34.14701, -20.00199], [34.14715, -20.00288], [34.14743, -20.00359], [34.14785, -20.00488], [34.14796, -20.00532], [34.14803, -20.00547], [34.14824, -20.00575], [34.14859, -20.00644], [34.14879, -20.00702], [34.14934, -20.00821], [34.14958, -20.00891], [34.14974, -20.00923], [34.14981, -20.00949], [34.14987, -20.00962], [34.15006, -20.00992], [34.15032, -20.01036], [34.15051, -20.0106], [34.15088, -20.0112], [34.15102, -20.01146], [34.1511, -20.01177], [34.15117, -20.01267], [34.15145, -20.01327], [34.15173, -20.01393], [34.15183, -20.01421], [34.15191, -20.01445], [34.15201, -20.01468], [34.1529, -20.01606], [34.15353, -20.01715], [34.15402, -20.01818], [34.15416, -20.01854], [34.15469, -20.01986], [34.15502, -20.02092], [34.15521, -20.02142], [34.1555, -20.02349], [34.15554, -20.02372], [34.15603, -20.0246], [34.15674, -20.02629], [34.15678, -20.02794], [34.15709, -20.02966], [34.15754, -20.03201], [34.15788, -20.03422], [34.15792, -20.03468], [34.15772, -20.03511], [34.15748, -20.03597], [34.15761, -20.0363], [34.15768, -20.03669], [34.1577, -20.03722], [34.15764, -20.03769], [34.15748, -20.03814], [34.15727, -20.0385], [34.15461, -20.04366], [34.15426, -20.04759], [34.15335, -20.05482], [34.1533, -20.05579], [34.15321, -20.05692], [34.15318, -20.05763], [34.15316, -20.05773], [34.15308, -20.05822], [34.15311, -20.05841], [34.1532, -20.05864], [34.15332, -20.05881], [34.15358, -20.05909], [34.15385, -20.05932], [34.15423, -20.05979], [34.15434, -20.06003], [34.15446, -20.06053], [34.15446, -20.0607], [34.15425, -20.06153], [34.15421, -20.06177], [34.15419, -20.062], [34.15422, -20.06241], [34.15428, -20.06279], [34.15428, -20.06302], [34.15416, -20.06347], [34.154, -20.06393], [34.15366, -20.0648], [34.15287, -20.06638], [34.15263, -20.06681], [34.15244, -20.06727], [34.15226, -20.06758], [34.15205, -20.06787], [34.15162, -20.06841], [34.15118, -20.06892], [34.15076, -20.06937], [34.15038, -20.06983], [34.15007, -20.07026], [34.14996, -20.07042], [34.14987, -20.07062], [34.14979, -20.07103], [34.14963, -20.07198], [34.14956, -20.07279], [34.14954, -20.07347], [34.14941, -20.07531], [34.14933, -20.07779], [34.14933, -20.07828], [34.14925, -20.07924], [34.14913, -20.08349], [34.14901, -20.08555], [34.14901, -20.08624], [34.14907, -20.08846], [34.1491, -20.08883], [34.14915, -20.0894], [34.14922, -20.09073], [34.14928, -20.09112], [34.14936, -20.09182], [34.14948, -20.09287], [34.14952, -20.09342], [34.14961, -20.09412], [34.1498, -20.09553], [34.15002, -20.09748], [34.15006, -20.09776], [34.15019, -20.09845], [34.15044, -20.10056], [34.15049, -20.10112], [34.15062, -20.10222], [34.15095, -20.10443], [34.15103, -20.10487], [34.15121, -20.10644], [34.15134, -20.10718], [34.15154, -20.10851], [34.15163, -20.10912], [34.15189, -20.1113], [34.15195, -20.11192], [34.15214, -20.11292], [34.15218, -20.11355], [34.15241, -20.11518], [34.15253, -20.1159], [34.1527, -20.11748], [34.15276, -20.11774], [34.15275, -20.11862], [34.15287, -20.12011], [34.15294, -20.12143], [34.15309, -20.12265], [34.1531, -20.12279], [34.15316, -20.1234], [34.15322, -20.12401], [34.15327, -20.12523], [34.15335, -20.12557], [34.15337, -20.12608], [34.15279, -20.12827], [34.15278, -20.12835], [34.1527, -20.12885], [34.15261, -20.1295], [34.15244, -20.13054], [34.1523, -20.13212], [34.15223, -20.13265], [34.15221, -20.13295], [34.15217, -20.13313], [34.15207, -20.13384], [34.15203, -20.13435], [34.15196, -20.13515], [34.15159, -20.13816], [34.15141, -20.14001], [34.15139, -20.14008], [34.15135, -20.14036], [34.15123, -20.14142], [34.1512, -20.14212], [34.15116, -20.14235], [34.15113, -20.14264], [34.15112, -20.14273], [34.15109, -20.1428], [34.15105, -20.14302], [34.15099, -20.14369], [34.15084, -20.1446], [34.15079, -20.14533], [34.15077, -20.14553], [34.15054, -20.14741], [34.15049, -20.14766], [34.15047, -20.14793], [34.15049, -20.14815], [34.15045, -20.1484], [34.15042, -20.1489], [34.15039, -20.14904], [34.15031, -20.14963], [34.15031, -20.14971], [34.1503, -20.14992], [34.15022, -20.15053], [34.1501, -20.15165], [34.15, -20.15159], [34.14988, -20.15157], [34.14961, -20.15146], [34.14956, -20.15145], [34.14939, -20.15127], [34.14926, -20.15118], [34.14918, -20.15118], [34.14909, -20.15111], [34.14903, -20.1511], [34.14889, -20.15111], [34.14864, -20.1511], [34.14855, -20.15115], [34.14841, -20.15116], [34.1483, -20.15119], [34.14824, -20.15122], [34.14803, -20.15123], [34.14792, -20.1512], [34.1478, -20.15123], [34.14764, -20.15124], [34.14759, -20.15125], [34.14755, -20.1513], [34.14748, -20.15131], [34.14742, -20.15128], [34.14735, -20.15129], [34.14732, -20.15131], [34.14724, -20.15133], [34.14692, -20.15129], [34.14666, -20.1513], [34.14654, -20.15132], [34.14614, -20.15128], [34.14608, -20.15125], [34.14597, -20.15128], [34.1459, -20.15126], [34.14567, -20.15123], [34.14521, -20.15144], [34.14508, -20.15142], [34.14501, -20.15147], [34.14484, -20.15154], [34.14475, -20.15156], [34.14462, -20.15166], [34.1436, -20.15183], [34.14333, -20.15181], [34.14308, -20.15184], [34.14296, -20.1518], [34.14278, -20.15181], [34.14264, -20.15176], [34.14243, -20.15189], [34.14212, -20.15187], [34.14208, -20.15192], [34.14143, -20.15195], [34.14114, -20.1519], [34.14107, -20.15193], [34.14088, -20.15208], [34.1406, -20.1522], [34.14015, -20.15216], [34.13944, -20.15214], [34.13924, -20.15217], [34.13884, -20.15219], [34.13879, -20.15216], [34.13864, -20.15216], [34.13846, -20.15213], [34.13834, -20.15215], [34.13803, -20.15214], [34.1378, -20.15217], [34.13767, -20.15215], [34.13709, -20.15215], [34.13697, -20.15218], [34.13687, -20.15224], [34.13678, -20.15245], [34.13669, -20.15252], [34.13655, -20.1526], [34.13635, -20.15268], [34.13591, -20.15272], [34.13571, -20.15271], [34.13551, -20.15269], [34.13541, -20.15269], [34.13531, -20.15273], [34.13518, -20.15282], [34.13509, -20.15282], [34.13486, -20.15278], [34.13471, -20.15279], [34.13444, -20.15285], [34.13411, -20.1528], [34.13396, -20.1528], [34.1338, -20.15282], [34.1335, -20.1529], [34.13339, -20.15298], [34.13317, -20.1531], [34.13311, -20.15316], [34.13299, -20.15323], [34.13295, -20.15329], [34.13287, -20.1533], [34.13279, -20.15338], [34.13264, -20.15344], [34.13256, -20.15348], [34.13241, -20.15364], [34.13239, -20.15374], [34.13234, -20.15381], [34.13227, -20.15384], [34.13213, -20.15382], [34.13152, -20.15387], [34.13141, -20.1539], [34.13121, -20.15401], [34.13097, -20.15401], [34.13085, -20.15403], [34.1304, -20.15392], [34.13026, -20.15393], [34.13019, -20.15395], [34.13011, -20.15395], [34.1298, -20.15404], [34.12971, -20.15409], [34.12968, -20.15417], [34.12962, -20.15421], [34.1295, -20.1542], [34.12932, -20.15415], [34.12923, -20.15415], [34.12906, -20.15418], [34.12889, -20.15418], [34.12881, -20.15415], [34.12866, -20.15407], [34.12851, -20.15403], [34.12842, -20.15404], [34.12819, -20.15413], [34.12808, -20.15414], [34.12796, -20.15411], [34.12785, -20.1541], [34.12777, -20.15415], [34.12766, -20.15416], [34.12752, -20.15411], [34.12721, -20.15395], [34.12697, -20.15396], [34.1268, -20.15393], [34.12666, -20.15388], [34.12657, -20.1538], [34.1265, -20.15379], [34.12641, -20.15383], [34.12635, -20.15388], [34.12626, -20.15393], [34.12608, -20.15392], [34.12596, -20.15402], [34.12587, -20.15412], [34.12584, -20.15419], [34.12572, -20.15425], [34.12563, -20.15432], [34.12544, -20.15433], [34.1253, -20.1545], [34.12522, -20.15455], [34.12509, -20.15458], [34.12499, -20.15457], [34.12487, -20.15462], [34.12476, -20.15465], [34.12474, -20.15468], [34.12459, -20.15473], [34.12432, -20.15476], [34.12423, -20.15479], [34.12401, -20.15481], [34.12377, -20.1548], [34.12372, -20.15482], [34.12346, -20.15463], [34.1233, -20.15457], [34.1233, -20.15462], [34.12314, -20.15473], [34.12296, -20.15472], [34.12291, -20.15468], [34.1227, -20.15471], [34.12234, -20.1547], [34.12213, -20.1547], [34.12197, -20.15473], [34.12185, -20.15469], [34.1217, -20.1547], [34.12153, -20.15465], [34.12145, -20.15464], [34.12136, -20.15467], [34.12117, -20.15471], [34.12086, -20.15481], [34.1207, -20.15481], [34.12057, -20.15479], [34.12048, -20.15483], [34.12035, -20.15484], [34.12016, -20.15496], [34.12, -20.15496], [34.11994, -20.15493], [34.11989, -20.15497], [34.11969, -20.15496], [34.11962, -20.15501], [34.11935, -20.15506], [34.11923, -20.15514], [34.11905, -20.15519], [34.11896, -20.15517], [34.11868, -20.15507], [34.1186, -20.15506], [34.11851, -20.15501], [34.11834, -20.15499], [34.11825, -20.15495], [34.11815, -20.15497], [34.11807, -20.15503], [34.11777, -20.15493], [34.11765, -20.15495], [34.11753, -20.15498], [34.11708, -20.15503], [34.11673, -20.1553], [34.11662, -20.1552], [34.11646, -20.15511], [34.11631, -20.15499], [34.11627, -20.15488], [34.11628, -20.1547], [34.11622, -20.15457], [34.1162, -20.15437], [34.1161, -20.15412], [34.11607, -20.15398], [34.11601, -20.15386], [34.11589, -20.15376], [34.11571, -20.15369], [34.11557, -20.15358], [34.11543, -20.15351], [34.1152, -20.15345], [34.11499, -20.15344], [34.11491, -20.15338], [34.11479, -20.15323], [34.11464, -20.1532], [34.11457, -20.15318], [34.11436, -20.15295], [34.11421, -20.15275], [34.1141, -20.15263], [34.11407, -20.15238], [34.11401, -20.15227], [34.11384, -20.1521], [34.11366, -20.152], [34.11352, -20.15187], [34.11331, -20.15165], [34.11302, -20.15149], [34.11259, -20.15113], [34.11245, -20.15093], [34.11207, -20.15059], [34.11192, -20.15046], [34.11181, -20.15043], [34.11166, -20.15026], [34.11152, -20.15019], [34.11112, -20.1501], [34.11085, -20.15009], [34.11074, -20.14997], [34.11046, -20.14995], [34.11029, -20.14985], [34.10997, -20.14978], [34.10988, -20.14973], [34.10917, -20.14969], [34.10908, -20.1497], [34.10896, -20.14968], [34.1088, -20.14949], [34.10871, -20.14943], [34.10845, -20.14944], [34.10823, -20.14939], [34.1076, -20.14927], [34.10733, -20.1492], [34.10697, -20.14915], [34.10651, -20.1492], [34.10626, -20.14906], [34.10604, -20.14897], [34.10577, -20.14895], [34.10577, -20.14916], [34.10571, -20.14924], [34.10542, -20.14943], [34.10544, -20.14962], [34.10535, -20.14974], [34.10515, -20.14986], [34.10512, -20.14998], [34.10507, -20.15002], [34.10499, -20.15014], [34.10493, -20.15034], [34.10483, -20.15046], [34.10471, -20.15067], [34.10423, -20.15107], [34.10413, -20.15113], [34.10389, -20.15121], [34.10382, -20.15127], [34.10371, -20.15133], [34.10349, -20.15161], [34.10333, -20.15174], [34.10322, -20.15178], [34.10316, -20.15185], [34.10315, -20.15197], [34.10319, -20.15217], [34.1031, -20.15237], [34.10302, -20.15246], [34.10293, -20.15252], [34.10287, -20.15265], [34.10283, -20.15277], [34.10281, -20.15314], [34.10278, -20.15328], [34.10282, -20.15337], [34.10279, -20.15365], [34.10268, -20.15386], [34.10264, -20.15397], [34.10265, -20.15406], [34.10281, -20.15424], [34.10286, -20.15432], [34.10291, -20.15447], [34.10299, -20.15461], [34.10318, -20.15505], [34.10327, -20.15517], [34.1033, -20.15538], [34.10316, -20.15536], [34.10305, -20.1553], [34.10287, -20.15529], [34.10251, -20.15515], [34.10232, -20.1551], [34.10216, -20.15503], [34.10203, -20.15493], [34.10185, -20.15493], [34.10171, -20.15483], [34.10122, -20.15476], [34.10094, -20.15467], [34.10068, -20.15457], [34.10037, -20.15453], [34.10011, -20.15455], [34.09984, -20.15454], [34.09959, -20.15449], [34.09901, -20.15432], [34.09869, -20.15435], [34.09825, -20.15433], [34.09773, -20.15425], [34.09758, -20.15419], [34.09739, -20.15417], [34.09727, -20.15428], [34.09669, -20.15418], [34.09628, -20.15402], [34.0957, -20.15376], [34.09545, -20.1536], [34.09489, -20.1533], [34.09424, -20.15299], [34.09374, -20.15273], [34.0936, -20.15263], [34.09337, -20.1524], [34.09303, -20.152], [34.09292, -20.15194], [34.09265, -20.15171], [34.09221, -20.15138], [34.09196, -20.1513], [34.09138, -20.15121], [34.09118, -20.15115], [34.09116, -20.15102], [34.09107, -20.15089], [34.09095, -20.1509], [34.09086, -20.15097], [34.09017, -20.15091], [34.08987, -20.15075], [34.0898, -20.15069], [34.0896, -20.15071], [34.08941, -20.15053], [34.0893, -20.1505], [34.08916, -20.15032], [34.08903, -20.15026], [34.08896, -20.15018], [34.08853, -20.14997], [34.08821, -20.14991], [34.08774, -20.14988], [34.08762, -20.14976], [34.08743, -20.14974], [34.08725, -20.14961], [34.08709, -20.14942], [34.08701, -20.14925], [34.08678, -20.14918], [34.08656, -20.14914], [34.08609, -20.14885], [34.08601, -20.14875], [34.08554, -20.14866], [34.08532, -20.14861], [34.08508, -20.14851], [34.08483, -20.14835], [34.08456, -20.14837], [34.08437, -20.14828], [34.08413, -20.14827], [34.08402, -20.14824], [34.08392, -20.14825], [34.08381, -20.14829], [34.08349, -20.14834], [34.08337, -20.14839], [34.08319, -20.14832], [34.0829, -20.14829], [34.08257, -20.14832], [34.08231, -20.14823], [34.08216, -20.14825], [34.08203, -20.14829], [34.08193, -20.14826], [34.08166, -20.14822], [34.08156, -20.14819], [34.08147, -20.14808], [34.08132, -20.14796], [34.08076, -20.14768], [34.08061, -20.14756], [34.08047, -20.14735], [34.08026, -20.14726], [34.08025, -20.14717], [34.08013, -20.1471], [34.08013, -20.14702], [34.08007, -20.14696], [34.08005, -20.14683], [34.07994, -20.14676], [34.07947, -20.14659], [34.07923, -20.14616], [34.07912, -20.14583], [34.079, -20.14552], [34.07882, -20.14538], [34.07876, -20.14524], [34.07875, -20.14505], [34.07867, -20.14488], [34.07857, -20.14475], [34.0785, -20.1447], [34.07836, -20.14454], [34.07813, -20.1444], [34.07779, -20.14428], [34.07745, -20.14421], [34.07706, -20.14415], [34.07694, -20.14415], [34.07666, -20.14422], [34.07637, -20.14427], [34.07624, -20.14425], [34.07591, -20.14433], [34.07575, -20.14438], [34.07566, -20.14447], [34.07562, -20.14461], [34.07552, -20.14468], [34.07522, -20.14482], [34.07511, -20.14496], [34.07503, -20.1451], [34.07486, -20.14523], [34.07477, -20.14533], [34.07465, -20.14569], [34.0745, -20.14606], [34.07435, -20.14631], [34.07418, -20.14644], [34.07384, -20.14677], [34.07373, -20.14684], [34.07368, -20.14695], [34.07304, -20.14757], [34.07291, -20.14766], [34.07289, -20.14778], [34.07282, -20.14792], [34.07267, -20.14814], [34.07255, -20.14823], [34.07249, -20.14833], [34.07226, -20.14846], [34.07217, -20.1485], [34.07211, -20.14857], [34.07197, -20.1486], [34.07164, -20.14851], [34.07148, -20.14835], [34.0714, -20.14834], [34.07127, -20.14837], [34.07119, -20.14836], [34.07106, -20.14818], [34.07098, -20.1481], [34.07087, -20.14806], [34.07072, -20.14815], [34.07059, -20.14813], [34.0705, -20.1481], [34.07038, -20.14811], [34.07027, -20.14802], [34.07005, -20.14788], [34.07003, -20.14781], [34.06977, -20.14763], [34.06958, -20.14733], [34.06945, -20.14719], [34.0693, -20.14708], [34.0693, -20.14698], [34.06937, -20.14661], [34.0694, -20.14635], [34.06947, -20.14629], [34.06958, -20.14629], [34.06964, -20.14621], [34.06971, -20.1462], [34.06977, -20.14614], [34.06983, -20.14597], [34.06994, -20.14584], [34.06997, -20.14569], [34.06977, -20.14553], [34.06961, -20.14536], [34.06948, -20.14528], [34.06936, -20.14532], [34.06903, -20.14535], [34.06864, -20.14535], [34.06861, -20.14526], [34.0688, -20.14498], [34.06885, -20.14482], [34.06879, -20.1447], [34.06868, -20.14451], [34.06857, -20.14428], [34.06857, -20.14411], [34.06851, -20.144], [34.06849, -20.14389], [34.06855, -20.14367], [34.06859, -20.14329], [34.06853, -20.14309], [34.06843, -20.14293], [34.0684, -20.1428], [34.06842, -20.14265], [34.0682, -20.1425], [34.06801, -20.1421], [34.06782, -20.14168], [34.06785, -20.14155], [34.06815, -20.14158], [34.06825, -20.14153], [34.06842, -20.1414], [34.06868, -20.14114], [34.06884, -20.14107], [34.06904, -20.14094], [34.06897, -20.14092], [34.06884, -20.14042], [34.06874, -20.14029], [34.06846, -20.14017], [34.06825, -20.14], [34.06783, -20.14], [34.06746, -20.13996], [34.06723, -20.13991], [34.06707, -20.1399], [34.06619, -20.1396], [34.06559, -20.13944], [34.06531, -20.1393], [34.06512, -20.13917], [34.06485, -20.1391], [34.06471, -20.13902], [34.0645, -20.13895], [34.06397, -20.13885], [34.06374, -20.1387], [34.06336, -20.1386], [34.06312, -20.13856], [34.06277, -20.13854], [34.06243, -20.13842], [34.06177, -20.13825], [34.06134, -20.13813], [34.06103, -20.13788], [34.06086, -20.13758], [34.06083, -20.13742], [34.06073, -20.13723], [34.06063, -20.13693], [34.06066, -20.13649], [34.06076, -20.13626], [34.06087, -20.13615], [34.06098, -20.13609], [34.06106, -20.13604], [34.06111, -20.13596], [34.06139, -20.13569], [34.06144, -20.13557], [34.06143, -20.13542], [34.06136, -20.13524], [34.06123, -20.13511], [34.06111, -20.13505], [34.0609, -20.1349], [34.06075, -20.13451], [34.0607, -20.13422], [34.06069, -20.13399], [34.06065, -20.13382], [34.06052, -20.13367], [34.05988, -20.13324], [34.0598, -20.13308], [34.05978, -20.13294], [34.05973, -20.13273], [34.05957, -20.13246], [34.05947, -20.13236], [34.05931, -20.1323], [34.0593, -20.13219], [34.05933, -20.13206], [34.05929, -20.1321], [34.05906, -20.13226], [34.05879, -20.13238], [34.0586, -20.13245], [34.05828, -20.13252], [34.05766, -20.13277], [34.05762, -20.13277], [34.05672, -20.13367], [34.05628, -20.13427], [34.05615, -20.13443], [34.05555, -20.13482], [34.05501, -20.1351], [34.05475, -20.13532], [34.05447, -20.13546], [34.0542, -20.1357], [34.05404, -20.13575], [34.05362, -20.13577], [34.05355, -20.13576], [34.05347, -20.13579], [34.05322, -20.13595], [34.05284, -20.13628], [34.05252, -20.13662], [34.05227, -20.13677], [34.05205, -20.13682], [34.05199, -20.13689], [34.05156, -20.13708], [34.05121, -20.13717], [34.0503, -20.13748], [34.04995, -20.13753], [34.04976, -20.13751], [34.04947, -20.13749], [34.04894, -20.13749], [34.04822, -20.13734], [34.04788, -20.13723], [34.04766, -20.13719], [34.04737, -20.13718], [34.04685, -20.13725], [34.04673, -20.13723], [34.04659, -20.13719], [34.04624, -20.13717], [34.04511, -20.13731], [34.04442, -20.13763], [34.04422, -20.13764], [34.04404, -20.13768], [34.04379, -20.13782], [34.04342, -20.13797], [34.04312, -20.13806], [34.04281, -20.13814], [34.04251, -20.1382], [34.04225, -20.13828], [34.04208, -20.13837], [34.04146, -20.13906], [34.04137, -20.13913], [34.04006, -20.13947], [34.03969, -20.13952], [34.03927, -20.13948], [34.03862, -20.13936], [34.03786, -20.13922], [34.03725, -20.13921], [34.03673, -20.13921], [34.03582, -20.13911], [34.03535, -20.13899], [34.03507, -20.13903], [34.03468, -20.13897], [34.03424, -20.13903], [34.03351, -20.13923], [34.03292, -20.13943], [34.03254, -20.13958], [34.03117, -20.13986], [34.03029, -20.14012], [34.02958, -20.14024], [34.02916, -20.14024], [34.02902, -20.14025], [34.02836, -20.14023], [34.0272, -20.13988], [34.02683, -20.13983], [34.0261, -20.13999], [34.02568, -20.14001], [34.02536, -20.13996], [34.02504, -20.13986], [34.02483, -20.13974], [34.02447, -20.1396], [34.02402, -20.13946], [34.02361, -20.1394], [34.02325, -20.13943], [34.02269, -20.13943], [34.02224, -20.13957], [34.02159, -20.13968], [34.02139, -20.13973], [34.02107, -20.13972], [34.02015, -20.13918], [34.01993, -20.13895], [34.01964, -20.13869], [34.01927, -20.13854], [34.01886, -20.13848], [34.01778, -20.13881], [34.01749, -20.13885], [34.01634, -20.13852], [34.01613, -20.13854], [34.01589, -20.13853], [34.01559, -20.13836], [34.01549, -20.13812], [34.01546, -20.13778], [34.01539, -20.13765], [34.0152, -20.13744], [34.01512, -20.1373], [34.01496, -20.13713], [34.01455, -20.13691], [34.0143, -20.13689], [34.01403, -20.13692], [34.01375, -20.13689], [34.01324, -20.13678], [34.01292, -20.13668], [34.01252, -20.13665], [34.01225, -20.13667], [34.01195, -20.13684], [34.01155, -20.13703], [34.01094, -20.13745], [34.01037, -20.13767], [34.01032, -20.13771], [34.0101, -20.1379], [34.00964, -20.13838], [34.00938, -20.13879], [34.00888, -20.13963], [34.00844, -20.14043], [34.00826, -20.14084], [34.00811, -20.14105], [34.00778, -20.14135], [34.00739, -20.14151], [34.00579, -20.14207], [34.00465, -20.14244], [34.00413, -20.14275], [34.00358, -20.14286], [34.0033, -20.14293], [34.003, -20.14294], [34.00258, -20.14292], [34.00227, -20.14294], [34.00186, -20.14305], [34.00139, -20.14316], [34.00079, -20.14337], [34.00052, -20.14339], [33.99942, -20.14333], [33.99902, -20.14334], [33.99835, -20.14347], [33.99807, -20.1435], [33.99738, -20.14331], [33.99698, -20.14324], [33.99649, -20.14301], [33.99619, -20.1429], [33.99607, -20.1429], [33.99591, -20.14294], [33.99567, -20.14296], [33.99545, -20.14295], [33.99527, -20.14292], [33.99504, -20.14284], [33.9948, -20.14279], [33.99459, -20.14277], [33.99439, -20.14279], [33.99338, -20.14264], [33.9924, -20.14252], [33.99152, -20.14244], [33.99093, -20.14242], [33.99024, -20.14251], [33.98974, -20.14262], [33.98818, -20.14328], [33.98695, -20.14375], [33.9851, -20.14392], [33.98437, -20.14397], [33.98352, -20.14406], [33.98271, -20.14428], [33.98183, -20.14436], [33.98131, -20.14439], [33.98094, -20.14457], [33.98003, -20.14491], [33.97926, -20.14522], [33.97857, -20.14554], [33.97771, -20.14605], [33.9769, -20.1466], [33.97631, -20.1471], [33.97592, -20.14735], [33.97539, -20.14755], [33.97415, -20.1479], [33.97282, -20.1482], [33.9721, -20.1483], [33.97128, -20.14847], [33.97069, -20.14865], [33.97023, -20.1488], [33.96972, -20.14887], [33.96819, -20.1489], [33.96545, -20.14909], [33.96476, -20.14918], [33.96407, -20.14929], [33.9633, -20.14944], [33.96279, -20.1496], [33.96156, -20.14986], [33.96072, -20.15012], [33.95959, -20.15053], [33.95884, -20.15066], [33.95826, -20.15088], [33.95758, -20.1512], [33.95721, -20.15133], [33.95693, -20.1513], [33.956, -20.15084], [33.95584, -20.15061], [33.95561, -20.15044], [33.95531, -20.1503], [33.9548, -20.15014], [33.95459, -20.15011], [33.95233, -20.15182], [33.95171, -20.15225], [33.94776, -20.15508], [33.94756, -20.15523], [33.94209, -20.15914], [33.93594, -20.1636], [33.93183, -20.16658], [33.93056, -20.16755], [33.92866, -20.16895], [33.92577, -20.17112], [33.92479, -20.17178], [33.92409, -20.17208], [33.92177, -20.17281], [33.91394, -20.17419], [33.90993, -20.1749], [33.9096, -20.17213], [33.90943, -20.17101], [33.90936, -20.17045], [33.90816, -20.16045], [33.9077, -20.15662], [33.90763, -20.15598], [33.90754, -20.15547], [33.9074, -20.1549], [33.90721, -20.15427], [33.9071, -20.15398], [33.90694, -20.15361], [33.90667, -20.15306], [33.90634, -20.1525], [33.90598, -20.15198], [33.90558, -20.15147], [33.90462, -20.15046], [33.8976, -20.14326], [33.88296, -20.12828], [33.87825, -20.12346], [33.87614, -20.12126], [33.87565, -20.12076], [33.87527, -20.12036], [33.87305, -20.11805], [33.87111, -20.11614], [33.87099, -20.11601], [33.86987, -20.11486], [33.86933, -20.1142], [33.86869, -20.11315], [33.86825, -20.11215], [33.86792, -20.11108], [33.86776, -20.11], [33.86772, -20.10898], [33.86785, -20.10784], [33.86795, -20.10718], [33.8683, -20.10502], [33.87031, -20.09344], [33.87147, -20.08662], [33.87149, -20.08651], [33.87156, -20.08609], [33.8718, -20.08471], [33.87185, -20.08442], [33.87218, -20.08244], [33.8729, -20.07833], [33.87296, -20.07717], [33.8729, -20.07626], [33.87283, -20.07578], [33.87274, -20.07529], [33.8726, -20.07481], [33.87244, -20.07434], [33.87166, -20.07266], [33.87062, -20.07128], [33.86722, -20.06765], [33.86713, -20.06755], [33.86542, -20.06564], [33.86413, -20.06424], [33.85907, -20.05845], [33.85446, -20.05318], [33.85201, -20.05038], [33.85032, -20.04838], [33.84646, -20.04325], [33.84492, -20.04122], [33.84367, -20.03943], [33.84347, -20.03905], [33.84333, -20.03881], [33.84237, -20.03646], [33.84173, -20.03477], [33.84108, -20.03285], [33.841, -20.03255], [33.84083, -20.03155], [33.84078, -20.03053], [33.84079, -20.03024], [33.84089, -20.0293], [33.84115, -20.02814], [33.84162, -20.02679], [33.8417, -20.02655], [33.84228, -20.02494], [33.84245, -20.02433], [33.84251, -20.02388], [33.84253, -20.02356], [33.84252, -20.02325], [33.84246, -20.02273], [33.84235, -20.02227], [33.84224, -20.02195], [33.84187, -20.02106], [33.83983, -20.0167], [33.83966, -20.01629], [33.83918, -20.01514], [33.83865, -20.01319], [33.83647, -20.00429], [33.83611, -20.00325], [33.83572, -20.0025], [33.8354, -20.00196], [33.83501, -20.00138], [33.83453, -20.00085], [33.83323, -19.99953], [33.82796, -19.99436], [33.82522, -19.99163], [33.8224, -19.98894], [33.81718, -19.98384], [33.81636, -19.983], [33.8158, -19.98232], [33.81523, -19.98144], [33.81474, -19.98046], [33.81213, -19.97438], [33.81198, -19.97382], [33.81185, -19.97325], [33.81182, -19.9727], [33.81188, -19.97168], [33.81216, -19.97072], [33.81256, -19.96991], [33.81317, -19.96885], [33.81721, -19.96169], [33.8191, -19.95836], [33.82237, -19.95345], [33.82327, -19.95219], [33.82465, -19.94987], [33.82484, -19.9494], [33.82539, -19.94768], [33.82555, -19.94652], [33.82568, -19.94514], [33.8258, -19.94435], [33.82604, -19.94346], [33.82638, -19.9427], [33.82798, -19.94002], [33.82827, -19.93932], [33.82847, -19.93861], [33.82854, -19.93782], [33.8284, -19.93652], [33.82803, -19.93514], [33.82788, -19.93479], [33.82744, -19.93397], [33.82694, -19.93303], [33.82669, -19.93255], [33.82649, -19.93218], [33.82434, -19.92817], [33.82342, -19.92644], [33.82182, -19.92342], [33.82167, -19.92313], [33.82189, -19.92304], [33.82204, -19.923], [33.82215, -19.92292], [33.82232, -19.92283], [33.82256, -19.92267], [33.82285, -19.92252], [33.82307, -19.92238], [33.8233, -19.92226], [33.82353, -19.92213], [33.82366, -19.92206], [33.82376, -19.92203], [33.82407, -19.92203], [33.82422, -19.92202], [33.82439, -19.92199], [33.82463, -19.9219], [33.8247, -19.9219], [33.82491, -19.92195], [33.8259, -19.92189], [33.82607, -19.92187], [33.82628, -19.92179], [33.82643, -19.92178], [33.82666, -19.92182], [33.82697, -19.92184], [33.82708, -19.9219], [33.82722, -19.92193], [33.82754, -19.92195], [33.82768, -19.92183], [33.8279, -19.92172], [33.82795, -19.92165], [33.82798, -19.92133], [33.82802, -19.92123], [33.82819, -19.92105], [33.82826, -19.92088], [33.82829, -19.92075], [33.82839, -19.92063], [33.82867, -19.92033], [33.82874, -19.92032], [33.82901, -19.92045], [33.82912, -19.92047], [33.8293, -19.92048], [33.82948, -19.92037], [33.8301, -19.91988], [33.83294, -19.91796], [33.83334, -19.91756], [33.8342, -19.91672], [33.83504, -19.91585], [33.83556, -19.91533], [33.83568, -19.91526], [33.83751, -19.91332], [33.83831, -19.91254], [33.83877, -19.912], [33.83889, -19.91194], [33.83916, -19.91192], [33.83932, -19.91185], [33.83971, -19.91143], [33.83992, -19.91115], [33.84017, -19.91072], [33.8403, -19.91019], [33.84032, -19.91003], [33.84043, -19.9098], [33.84081, -19.9093], [33.84135, -19.90854], [33.84139, -19.90845], [33.84145, -19.90825], [33.8415, -19.90818], [33.84175, -19.90807], [33.84212, -19.90768], [33.84234, -19.90738], [33.84257, -19.90711], [33.84317, -19.90631], [33.84356, -19.90585], [33.84371, -19.90569], [33.84404, -19.90527], [33.84439, -19.90487], [33.84505, -19.90406], [33.84545, -19.90363], [33.84563, -19.90336], [33.84624, -19.9026], [33.84715, -19.90137], [33.84744, -19.90096], [33.84786, -19.9003], [33.84829, -19.89954], [33.84843, -19.89921], [33.84864, -19.89884], [33.84875, -19.89873], [33.84887, -19.89859], [33.84898, -19.89838], [33.8496, -19.89737], [33.84965, -19.89713], [33.84974, -19.89693], [33.84992, -19.89661], [33.85053, -19.89577], [33.85104, -19.89514], [33.8513, -19.89484], [33.85149, -19.89458], [33.85178, -19.89414], [33.85202, -19.89382], [33.85222, -19.89364], [33.85229, -19.89354], [33.85235, -19.89343], [33.85302, -19.89265], [33.85399, -19.89139], [33.85452, -19.8906], [33.85494, -19.89003], [33.85513, -19.88979], [33.85536, -19.88935], [33.85563, -19.88888], [33.85633, -19.88752], [33.85663, -19.8871], [33.85685, -19.88685], [33.85694, -19.8867], [33.85719, -19.88609], [33.85744, -19.8857], [33.8578, -19.88521], [33.85793, -19.88502], [33.85819, -19.88473], [33.85844, -19.88435], [33.85861, -19.88414], [33.85919, -19.88352], [33.85952, -19.88313], [33.86028, -19.88219], [33.86089, -19.8815], [33.86128, -19.88099], [33.86141, -19.88089], [33.86152, -19.88088], [33.8619, -19.88088], [33.86195, -19.88084], [33.86201, -19.88076], [33.86217, -19.88], [33.86229, -19.87976], [33.86246, -19.87951], [33.86299, -19.87885], [33.86322, -19.87853], [33.86371, -19.87796], [33.86391, -19.8777], [33.86426, -19.87722], [33.86457, -19.87674], [33.86481, -19.87629], [33.86493, -19.87614], [33.86512, -19.87596], [33.86527, -19.87572], [33.86542, -19.87538], [33.86557, -19.87517], [33.86569, -19.87488], [33.86634, -19.87366], [33.86665, -19.87309], [33.86679, -19.87279], [33.86689, -19.87253], [33.86726, -19.87181], [33.86747, -19.87133], [33.86769, -19.87089], [33.86782, -19.87039], [33.8678, -19.8701], [33.86789, -19.86937], [33.86786, -19.86903], [33.86781, -19.86891], [33.86778, -19.86878], [33.8678, -19.86865], [33.86787, -19.86854], [33.86808, -19.86836], [33.8684, -19.86802], [33.86844, -19.86793], [33.86848, -19.86786], [33.86852, -19.8677], [33.86859, -19.86763], [33.86867, -19.86758], [33.86881, -19.86743], [33.8694, -19.86659], [33.87307, -19.86116], [33.87457, -19.8588], [33.87574, -19.85731], [33.8765, -19.85615], [33.87996, -19.8503], [33.88067, -19.84927], [33.88139, -19.84811], [33.88206, -19.84709], [33.88254, -19.84652], [33.88255, -19.84638], [33.88276, -19.84596], [33.88292, -19.84589], [33.88316, -19.84571], [33.88351, -19.84522], [33.88414, -19.84423], [33.88421, -19.84397], [33.88417, -19.84366], [33.88418, -19.84359], [33.88423, -19.84354], [33.88472, -19.84337], [33.88495, -19.84326], [33.88535, -19.84266], [33.88736, -19.83944], [33.88931, -19.83712], [33.89054, -19.83575], [33.89336, -19.83311], [33.89405, -19.8323], [33.8955, -19.83032], [33.89507, -19.83002], [33.89498, -19.82977], [33.89528, -19.8294], [33.89596, -19.82945], [33.89617, -19.82936], [33.89634, -19.8292], [33.89673, -19.82857], [33.89717, -19.82786], [33.89735, -19.82749], [33.89821, -19.82609], [33.89872, -19.82548], [33.89915, -19.82487], [33.89939, -19.82461], [33.89968, -19.82425], [33.89994, -19.82398], [33.90024, -19.82379], [33.90129, -19.82285], [33.90252, -19.82184], [33.90294, -19.82142], [33.90356, -19.82085], [33.9054, -19.81913], [33.90579, -19.81868], [33.90587, -19.81854], [33.90588, -19.81846], [33.90582, -19.81842], [33.9057, -19.81841], [33.9056, -19.81836], [33.90531, -19.8176], [33.905, -19.81727], [33.90503, -19.81674], [33.90524, -19.8166], [33.90546, -19.81655], [33.90595, -19.81664], [33.90609, -19.81664], [33.90623, -19.81658], [33.90635, -19.81645], [33.90666, -19.81629], [33.90682, -19.81595], [33.90682, -19.81581], [33.90695, -19.81547], [33.90711, -19.81536], [33.90729, -19.81529], [33.90743, -19.81515], [33.90759, -19.81486], [33.9077, -19.81474], [33.90792, -19.81471], [33.90802, -19.81466], [33.90844, -19.8136], [33.90841, -19.81351], [33.90833, -19.81339], [33.90837, -19.81324], [33.90872, -19.81263], [33.90897, -19.81233], [33.90948, -19.81151], [33.90973, -19.81119], [33.911, -19.80934], [33.91191, -19.80822], [33.91355, -19.80605], [33.91378, -19.80568], [33.91461, -19.80443], [33.91466, -19.8043], [33.91476, -19.80417], [33.91512, -19.80387], [33.91567, -19.80314], [33.91678, -19.80146], [33.91734, -19.80076], [33.91839, -19.79936], [33.91852, -19.7993], [33.91869, -19.79929], [33.91884, -19.79931], [33.9194, -19.79894], [33.91998, -19.79861], [33.92018, -19.79846], [33.9203, -19.79829], [33.92039, -19.7981], [33.92042, -19.79793], [33.92059, -19.79755], [33.92072, -19.79722], [33.92076, -19.79679], [33.92078, -19.79627], [33.92105, -19.79583], [33.92123, -19.79548], [33.92154, -19.79501], [33.92158, -19.7948], [33.92151, -19.79461], [33.9212, -19.79438], [33.92073, -19.79398], [33.92075, -19.79369], [33.92071, -19.79333], [33.92079, -19.79324], [33.9209, -19.7932], [33.92104, -19.79322], [33.92136, -19.79348], [33.92175, -19.79363], [33.92212, -19.79385], [33.92223, -19.79382], [33.92236, -19.79362], [33.92273, -19.79287], [33.92295, -19.79246], [33.92312, -19.79239], [33.92325, -19.79229], [33.92336, -19.79215], [33.92486, -19.79239], [33.92652, -19.79275], [33.92714, -19.79275], [33.92754, -19.79278], [33.92787, -19.79284], [33.92919, -19.79283], [33.92996, -19.79282], [33.93085, -19.79292], [33.93131, -19.79302], [33.9326, -19.79337], [33.93366, -19.79361], [33.93405, -19.79363], [33.93441, -19.79362], [33.93493, -19.79352], [33.93504, -19.79348], [33.93654, -19.79342], [33.93682, -19.79347], [33.93717, -19.79361], [33.93763, -19.79391], [33.93815, -19.79402], [33.93876, -19.79431], [33.94004, -19.79499], [33.94055, -19.79524], [33.94119, -19.79537], [33.9415, -19.79551], [33.942, -19.79558], [33.94219, -19.79563], [33.9429, -19.79566], [33.94418, -19.79563], [33.94448, -19.79567], [33.94537, -19.79563], [33.94565, -19.79571], [33.9463, -19.79568], [33.94662, -19.79572], [33.94745, -19.79576], [33.94788, -19.79579], [33.94818, -19.79584], [33.94823, -19.79584], [33.9484, -19.79582], [33.9486, -19.79585], [33.94874, -19.79598], [33.94898, -19.79608], [33.94932, -19.79625], [33.9495, -19.79629], [33.9497, -19.79629], [33.95011, -19.79623], [33.95068, -19.79638], [33.95109, -19.79653], [33.95129, -19.79667], [33.95261, -19.79702], [33.9528, -19.79705], [33.95296, -19.79712], [33.95302, -19.79712], [33.95317, -19.79717], [33.95352, -19.79729], [33.95387, -19.79745], [33.95559, -19.79797], [33.95571, -19.79799], [33.95585, -19.79797], [33.95597, -19.798], [33.95614, -19.79805], [33.95636, -19.79807], [33.95723, -19.79827], [33.95825, -19.79856], [33.95843, -19.79857], [33.95883, -19.79864], [33.95952, -19.79883], [33.95989, -19.79882], [33.96061, -19.79904], [33.96115, -19.79936], [33.96223, -19.80012], [33.963, -19.80074], [33.96335, -19.80105], [33.96379, -19.80153], [33.96453, -19.8023], [33.96519, -19.80321], [33.9663, -19.80473], [33.96747, -19.80623], [33.96771, -19.80702], [33.96788, -19.8079], [33.96823, -19.80955], [33.96829, -19.80974], [33.96836, -19.80999], [33.96961, -19.81265], [33.96966, -19.81272], [33.96996, -19.81324], [33.97024, -19.81363], [33.97107, -19.81464], [33.97163, -19.81521], [33.9722, -19.81572], [33.97379, -19.81704], [33.97466, -19.81774], [33.97636, -19.81919], [33.97915, -19.8205], [33.97983, -19.82074], [33.98019, -19.82083], [33.98046, -19.82085], [33.98071, -19.82092], [33.98085, -19.82094], [33.98237, -19.82115], [33.98279, -19.82121], [33.9829, -19.82122], [33.98312, -19.82126], [33.98339, -19.82129], [33.98408, -19.82117], [33.98453, -19.82103], [33.9847, -19.82098], [33.98518, -19.82078], [33.98581, -19.82052], [33.98557, -19.82016], [33.98554, -19.82012]], "type": "LineString"}, "properties": {"color": "green"}, "type": "Feature"}], "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " geo_json_e09d8d2ff6b14aaea3432a1630ebb0ad.bindTooltip(\n", + " geo_json_a4ff82a4331fd6bdc5707672b8e4f64e.bindTooltip(\n", " `<div>\n", " <h4>Vehicle 0</h4>\n", - " <b>Distance</b> 474009.0 m <br>\n", - " <b>Duration</b> 28365.0 secs\n", + " <b>Distance</b> 339333 m <br>\n", + " <b>Duration</b> 25798 secs\n", " \n", " </div>`,\n", " {"sticky": true}\n", " );\n", " \n", " \n", - " function geo_json_67a9c9f1e6ffe905547bc302067c3c20_styler(feature) {\n", + " function geo_json_537f9ee75ae4ed436042b498f51c3b01_styler(feature) {\n", " switch(feature.properties.color) {\n", " default:\n", " return {"color": "red"};\n", " }\n", " }\n", "\n", - " function geo_json_67a9c9f1e6ffe905547bc302067c3c20_onEachFeature(feature, layer) {\n", + " function geo_json_537f9ee75ae4ed436042b498f51c3b01_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_67a9c9f1e6ffe905547bc302067c3c20 = L.geoJson(null, {\n", - " onEachFeature: geo_json_67a9c9f1e6ffe905547bc302067c3c20_onEachFeature,\n", + " var geo_json_537f9ee75ae4ed436042b498f51c3b01 = L.geoJson(null, {\n", + " onEachFeature: geo_json_537f9ee75ae4ed436042b498f51c3b01_onEachFeature,\n", " \n", - " style: geo_json_67a9c9f1e6ffe905547bc302067c3c20_styler,\n", + " style: geo_json_537f9ee75ae4ed436042b498f51c3b01_styler,\n", " });\n", "\n", - " function geo_json_67a9c9f1e6ffe905547bc302067c3c20_add (data) {\n", - " geo_json_67a9c9f1e6ffe905547bc302067c3c20\n", + " function geo_json_537f9ee75ae4ed436042b498f51c3b01_add (data) {\n", + " geo_json_537f9ee75ae4ed436042b498f51c3b01\n", " .addData(data)\n", - " .addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " .addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " }\n", - " geo_json_67a9c9f1e6ffe905547bc302067c3c20_add({"features": [{"geometry": {"coordinates": [[34.83556, -19.81795], [34.83819, -19.81844], [34.83853, -19.81854], [34.83953, -19.81912], [34.84032, -19.81949], [34.8397, -19.82038], [34.83969, -19.82046], [34.83972, -19.82053], [34.84011, -19.82076], [34.83903, -19.8224], [34.83771, -19.82436], [34.83749, -19.82463], [34.83719, -19.82494], [34.83723, -19.82556], [34.83747, -19.82571], [34.83701, -19.82639], [34.83678, -19.82674], [34.83687, -19.82671], [34.83705, -19.82667], [34.83719, -19.8267], [34.8373, -19.82676], [34.83758, -19.82692], [34.83786, -19.82706], [34.83822, -19.82728], [34.83839, -19.82744], [34.83846, -19.82765], [34.83858, -19.82772], [34.83886, -19.82788], [34.83918, -19.82809], [34.83945, -19.82825], [34.8396, -19.82833], [34.8398, -19.82829], [34.83988, -19.82829], [34.83998, -19.82831], [34.84031, -19.82851], [34.84083, -19.82882], [34.84113, -19.829], [34.84125, -19.82907], [34.84175, -19.82936], [34.84186, -19.82943], [34.84281, -19.83003], [34.84303, -19.83016], [34.84348, -19.83045], [34.84368, -19.83054], [34.84376, -19.83051], [34.84385, -19.8305], [34.84422, -19.83006], [34.8443, -19.82994], [34.84464, -19.82947], [34.84482, -19.82921], [34.84503, -19.82892], [34.84543, -19.82835], [34.84552, -19.82822], [34.84559, -19.82812], [34.84652, -19.82679], [34.84673, -19.82649], [34.84715, -19.82588], [34.84874, -19.82362], [34.84892, -19.82336], [34.84904, -19.82319], [34.84928, -19.82285], [34.85027, -19.82143], [34.85077, -19.82073], [34.85121, -19.82011], [34.85153, -19.81965], [34.8526, -19.81812], [34.85283, -19.81779], [34.85309, -19.81744], [34.85493, -19.81479], [34.85594, -19.81339], [34.85685, -19.81209], [34.85788, -19.81062], [34.85871, -19.8094], [34.85965, -19.8081], [34.86122, -19.8059], [34.86254, -19.8041], [34.86452, -19.80136], [34.86739, -19.79749], [34.86777, -19.79701], [34.86948, -19.79469], [34.86995, -19.79402], [34.87074, -19.79293], [34.87154, -19.79186], [34.8719, -19.79137], [34.87238, -19.79071], [34.87266, -19.79033], [34.87689, -19.7846], [34.87973, -19.78078], [34.87986, -19.78061], [34.88065, -19.77959], [34.88199, -19.77768], [34.88226, -19.77722], [34.88237, -19.777], [34.88259, -19.77656], [34.88276, -19.77614], [34.88301, -19.77539], [34.88313, -19.77494], [34.88319, -19.77463], [34.88329, -19.77373], [34.88332, -19.77307], [34.8833, -19.77263], [34.88323, -19.77194], [34.88307, -19.77115], [34.88296, -19.77073], [34.88273, -19.77], [34.8825, -19.76937], [34.88222, -19.76867], [34.88217, -19.76853], [34.88197, -19.76804], [34.88193, -19.76793], [34.88149, -19.76667], [34.88092, -19.76519], [34.8807, -19.76461], [34.88028, -19.76346], [34.8799, -19.76256], [34.87969, -19.76203], [34.8795, -19.76149], [34.87909, -19.76043], [34.87859, -19.75907], [34.87847, -19.75881], [34.87822, -19.75811], [34.87807, -19.75775], [34.87794, -19.75739], [34.87781, -19.75706], [34.87747, -19.75614], [34.87722, -19.75557], [34.87718, -19.75547], [34.87712, -19.75528], [34.8767, -19.75413], [34.8766, -19.75387], [34.87617, -19.75278], [34.87599, -19.75238], [34.87561, -19.75164], [34.87544, -19.75138], [34.87516, -19.75096], [34.87474, -19.75041], [34.87457, -19.75021], [34.87415, -19.74978], [34.87368, -19.74932], [34.8732, -19.74894], [34.87292, -19.74872], [34.87216, -19.74813], [34.87141, -19.74757], [34.87031, -19.74668], [34.87013, -19.74654], [34.8689, -19.74554], [34.86854, -19.74524], [34.86833, -19.74506], [34.86717, -19.74418], [34.86707, -19.74409], [34.86588, -19.74314], [34.86562, -19.74296], [34.86476, -19.7423], [34.8641, -19.74185], [34.86375, -19.74164], [34.86329, -19.7414], [34.8628, -19.74116], [34.86232, -19.74095], [34.862, -19.74085], [34.86134, -19.74069], [34.86016, -19.74045], [34.85893, -19.74024], [34.858, -19.74007], [34.85712, -19.7399], [34.85666, -19.73982], [34.85497, -19.73951], [34.85341, -19.73928], [34.8528, -19.73915], [34.85169, -19.73894], [34.85083, -19.73879], [34.84769, -19.73823], [34.84441, -19.73766], [34.84416, -19.73762], [34.84299, -19.73742], [34.84048, -19.73697], [34.83812, -19.73655], [34.83612, -19.73622], [34.834, -19.7358], [34.83346, -19.73567], [34.8325, -19.73532], [34.83191, -19.73505], [34.83128, -19.73474], [34.83035, -19.73424], [34.827, -19.73241], [34.8257, -19.73171], [34.82387, -19.73072], [34.82299, -19.73025], [34.82264, -19.73005], [34.82162, -19.72949], [34.8213, -19.72934], [34.82004, -19.72863], [34.81971, -19.72847], [34.8183, -19.72768], [34.81752, -19.72727], [34.8168, -19.72687], [34.81644, -19.72669], [34.81539, -19.7261], [34.814, -19.72534], [34.81371, -19.72519], [34.81252, -19.72455], [34.8115, -19.724], [34.81043, -19.7234], [34.80981, -19.72309], [34.8093, -19.72281], [34.80894, -19.72263], [34.80852, -19.72237], [34.80822, -19.72222], [34.80802, -19.72211], [34.80782, -19.72197], [34.80728, -19.72155], [34.80701, -19.72131], [34.80579, -19.72009], [34.8047, -19.71903], [34.80393, -19.71825], [34.8032, -19.71751], [34.80232, -19.71661], [34.80086, -19.71518], [34.79889, -19.71319], [34.79604, -19.71036], [34.79538, -19.70967], [34.79497, -19.70928], [34.79022, -19.70448], [34.78927, -19.70353], [34.78894, -19.70319], [34.78819, -19.70244], [34.78667, -19.70098], [34.78556, -19.69984], [34.78314, -19.69746], [34.78138, -19.69557], [34.7795, -19.69346], [34.77872, -19.69261], [34.77826, -19.69208], [34.77809, -19.69186], [34.77796, -19.69167], [34.77776, -19.6912], [34.7777, -19.69096], [34.77766, -19.69063], [34.77765, -19.6904], [34.77772, -19.68934], [34.77778, -19.68884], [34.77785, -19.68828], [34.77798, -19.68692], [34.77811, -19.68532], [34.77852, -19.68158], [34.77867, -19.68005], [34.77891, -19.67785], [34.77903, -19.6766], [34.77917, -19.67562], [34.7793, -19.67518], [34.77946, -19.67449], [34.77956, -19.67393], [34.77965, -19.67252], [34.77979, -19.67142], [34.77985, -19.67104], [34.78019, -19.66938], [34.78023, -19.66901], [34.78022, -19.6681], [34.78015, -19.66759], [34.78006, -19.6673], [34.77997, -19.667], [34.77979, -19.66653], [34.7796, -19.66613], [34.7794, -19.66582], [34.77925, -19.66559], [34.77885, -19.66508], [34.77854, -19.66474], [34.77669, -19.66291], [34.77325, -19.65946], [34.7711, -19.65733], [34.77055, -19.65677], [34.77017, -19.65637], [34.76772, -19.65392], [34.76717, -19.65338], [34.76695, -19.65314], [34.76584, -19.65202], [34.76553, -19.6517], [34.76393, -19.65009], [34.76339, -19.64956], [34.76286, -19.64901], [34.76235, -19.64851], [34.76228, -19.64844], [34.76088, -19.64703], [34.75849, -19.6446], [34.75706, -19.64319], [34.75703, -19.64315], [34.7555, -19.64155], [34.75419, -19.64026], [34.75341, -19.63953], [34.75306, -19.63916], [34.75278, -19.63887], [34.75231, -19.63827], [34.75165, -19.63875], [34.75072, -19.63943], [34.74971, -19.64021], [34.74968, -19.64024], [34.74957, -19.64037], [34.74933, -19.64069], [34.74826, -19.64237], [34.74802, -19.64272], [34.74758, -19.64209], [34.74755, -19.64204], [34.74726, -19.64159], [34.74722, -19.64149], [34.74719, -19.64143], [34.74703, -19.64128], [34.74693, -19.64109], [34.74674, -19.6408], [34.74635, -19.64029], [34.74597, -19.63976], [34.74469, -19.63809], [34.74445, -19.63765], [34.74413, -19.63716], [34.7434, -19.63607], [34.743, -19.63555], [34.74285, -19.63527], [34.74265, -19.63497], [34.74228, -19.63449], [34.74189, -19.63401], [34.74155, -19.63347], [34.7411, -19.63283], [34.74066, -19.63219], [34.74016, -19.63137], [34.74, -19.63117], [34.7399, -19.63108], [34.7398, -19.63098], [34.73902, -19.62978], [34.73818, -19.62865], [34.73791, -19.62822], [34.73746, -19.62759], [34.73712, -19.62707], [34.7371, -19.62704], [34.73674, -19.62655], [34.73654, -19.62636], [34.73648, -19.62629], [34.73606, -19.62556], [34.73603, -19.62551], [34.73555, -19.62498], [34.7351, -19.62451], [34.73467, -19.62404], [34.73449, -19.62382], [34.73442, -19.62376], [34.73413, -19.62359], [34.73392, -19.62343], [34.73369, -19.62322], [34.73323, -19.62279], [34.73225, -19.62195], [34.73116, -19.62098], [34.73073, -19.6205], [34.72997, -19.6199], [34.72872, -19.61879], [34.72863, -19.61878], [34.72856, -19.61879], [34.72849, -19.61883], [34.72793, -19.61923], [34.72789, -19.61928], [34.7278, -19.61943], [34.72772, -19.61954], [34.7276, -19.61963], [34.72746, -19.61973], [34.72701, -19.61993], [34.72677, -19.62007], [34.72659, -19.6202], [34.72623, -19.62059], [34.72577, -19.62103], [34.72562, -19.62122], [34.72546, -19.62156], [34.72529, -19.62215], [34.72524, -19.62228], [34.72502, -19.6225], [34.72464, -19.62275], [34.72445, -19.62285], [34.72424, -19.62292], [34.72408, -19.62294], [34.72396, -19.62293], [34.72378, -19.6229], [34.72347, -19.62298], [34.72323, -19.6231], [34.72259, -19.62356], [34.72119, -19.62449], [34.72061, -19.62508], [34.72014, -19.62546], [34.7198, -19.6257], [34.71975, -19.62579], [34.7197, -19.62593], [34.71968, -19.62616], [34.71963, -19.62625], [34.71948, -19.62633], [34.7194, -19.62645], [34.7191, -19.6267], [34.71905, -19.62676], [34.71883, -19.62733], [34.71878, -19.62745], [34.71872, -19.62753], [34.71867, -19.62758], [34.7186, -19.62761], [34.71816, -19.62777], [34.71755, -19.62823], [34.71728, -19.62848], [34.71731, -19.62856], [34.71734, -19.62874], [34.71734, -19.62883], [34.71732, -19.62896], [34.71697, -19.62945], [34.71732, -19.62896], [34.71734, -19.62883], [34.71734, -19.62874], [34.71731, -19.62856], [34.71728, -19.62848], [34.71755, -19.62823], [34.71816, -19.62777], [34.7186, -19.62761], [34.71867, -19.62758], [34.71872, -19.62753], [34.71878, -19.62745], [34.71883, -19.62733], [34.71905, -19.62676], [34.7191, -19.6267], [34.7194, -19.62645], [34.71948, -19.62633], [34.71963, -19.62625], [34.71968, -19.62616], [34.7197, -19.62593], [34.71975, -19.62579], [34.7198, -19.6257], [34.72014, -19.62546], [34.72061, -19.62508], [34.72119, -19.62449], [34.72259, -19.62356], [34.72323, -19.6231], [34.72347, -19.62298], [34.72378, -19.6229], [34.72396, -19.62293], [34.72408, -19.62294], [34.72424, -19.62292], [34.72445, -19.62285], [34.72464, -19.62275], [34.72502, -19.6225], [34.72524, -19.62228], [34.72529, -19.62215], [34.72546, -19.62156], [34.72562, -19.62122], [34.72577, -19.62103], [34.72623, -19.62059], [34.72659, -19.6202], [34.72677, -19.62007], [34.72701, -19.61993], [34.72746, -19.61973], [34.7276, -19.61963], [34.72772, -19.61954], [34.7278, -19.61943], [34.72789, -19.61928], [34.72793, -19.61923], [34.72849, -19.61883], [34.72856, -19.61879], [34.72863, -19.61878], [34.72872, -19.61879], [34.72997, -19.6199], [34.73073, -19.6205], [34.73116, -19.62098], [34.73225, -19.62195], [34.73323, -19.62279], [34.73491, -19.62145], [34.73504, -19.62135], [34.7359, -19.62068], [34.73665, -19.62008], [34.73677, -19.61998], [34.73798, -19.61902], [34.73935, -19.61797], [34.73966, -19.6177], [34.73975, -19.61763], [34.74016, -19.61732], [34.74036, -19.61717], [34.74065, -19.61691], [34.74095, -19.61791], [34.74099, -19.61795], [34.74111, -19.61798], [34.74129, -19.61791], [34.74139, -19.6181], [34.74129, -19.61791], [34.74173, -19.61779], [34.74188, -19.61774], [34.7428, -19.61749], [34.74248, -19.61638], [34.74221, -19.61549], [34.74405, -19.61499], [34.74532, -19.61464], [34.74555, -19.6142], [34.74545, -19.61364], [34.74528, -19.61273], [34.74527, -19.61263], [34.74509, -19.61173], [34.74496, -19.61136], [34.74471, -19.6108], [34.74429, -19.61006], [34.74414, -19.60972], [34.74393, -19.6092], [34.74329, -19.60742], [34.74305, -19.60682], [34.7426, -19.60548], [34.74149, -19.60233], [34.74065, -19.59974], [34.73975, -19.59724], [34.73888, -19.59477], [34.73851, -19.5937], [34.73813, -19.59257], [34.73784, -19.59179], [34.73775, -19.59153], [34.73772, -19.59145], [34.73732, -19.59031], [34.73691, -19.58902], [34.73645, -19.58779], [34.73626, -19.58723], [34.73497, -19.58351], [34.73425, -19.58157], [34.73406, -19.58114], [34.73395, -19.58094], [34.73355, -19.58038], [34.73317, -19.58001], [34.73277, -19.57971], [34.7324, -19.57951], [34.73172, -19.57926], [34.73115, -19.57914], [34.73039, -19.57907], [34.72892, -19.57893], [34.72692, -19.57876], [34.72665, -19.57873], [34.72622, -19.57862], [34.72593, -19.57853], [34.72557, -19.5784], [34.72534, -19.57828], [34.7248, -19.57797], [34.72449, -19.57778], [34.72363, -19.57727], [34.72296, -19.57685], [34.72259, -19.57664], [34.72208, -19.57632], [34.72178, -19.57613], [34.72123, -19.5758], [34.72112, -19.57573], [34.72084, -19.57557], [34.71974, -19.57491], [34.71947, -19.57471], [34.71832, -19.57402], [34.71776, -19.57368], [34.7173, -19.5734], [34.71625, -19.57279], [34.71562, -19.5726], [34.71543, -19.57256], [34.71512, -19.57251], [34.71443, -19.57248], [34.71424, -19.57251], [34.71276, -19.5727], [34.71258, -19.57272], [34.711, -19.5729], [34.70802, -19.57325], [34.7057, -19.57351], [34.70442, -19.57363], [34.70411, -19.57363], [34.7038, -19.5736], [34.70346, -19.57353], [34.70316, -19.57344], [34.70279, -19.5733], [34.70242, -19.57313], [34.69915, -19.57157], [34.69884, -19.57143], [34.69644, -19.57025], [34.69439, -19.56925], [34.69192, -19.56804], [34.68681, -19.5657], [34.68555, -19.56521], [34.68365, -19.56457], [34.68344, -19.5645], [34.67938, -19.56319], [34.67795, -19.56275], [34.67513, -19.56185], [34.67395, -19.56147], [34.67371, -19.56139], [34.67183, -19.56079], [34.66935, -19.56001], [34.66916, -19.55995], [34.66761, -19.55947], [34.6653, -19.55873], [34.66345, -19.55815], [34.66135, -19.55749], [34.66053, -19.55723], [34.66031, -19.55716], [34.65822, -19.55647], [34.65784, -19.55635], [34.65465, -19.55531], [34.6535, -19.55493], [34.65282, -19.55464], [34.65218, -19.55424], [34.64742, -19.55008], [34.6471, -19.5498], [34.64548, -19.54827], [34.64402, -19.54685], [34.64199, -19.54485], [34.64009, -19.54296], [34.63894, -19.54183], [34.63849, -19.54138], [34.63818, -19.54108], [34.63727, -19.54017], [34.63656, -19.53947], [34.63584, -19.53875], [34.63532, -19.53823], [34.63458, -19.5375], [34.63442, -19.5376], [34.63419, -19.53779], [34.634, -19.53791], [34.6338, -19.53799], [34.63345, -19.53819], [34.63329, -19.53828], [34.63313, -19.53839], [34.63298, -19.53862], [34.63296, -19.5387], [34.63292, -19.53881], [34.63264, -19.53921], [34.63232, -19.53966], [34.63224, -19.53976], [34.63205, -19.54], [34.63167, -19.54049], [34.63152, -19.54057], [34.63141, -19.54062], [34.63128, -19.54078], [34.63094, -19.54125], [34.63086, -19.54153], [34.63072, -19.5417], [34.63059, -19.54185], [34.63046, -19.54196], [34.63034, -19.54199], [34.6299, -19.54172], [34.62925, -19.54258], [34.62885, -19.5424], [34.62863, -19.54239], [34.62817, -19.54208], [34.62794, -19.54193], [34.62743, -19.54159], [34.62688, -19.54232], [34.62673, -19.54255], [34.62645, -19.54289], [34.62609, -19.54339], [34.62589, -19.54365], [34.62609, -19.54339], [34.62645, -19.54289], [34.62673, -19.54255], [34.62688, -19.54232], [34.62743, -19.54159], [34.62762, -19.54145], [34.62683, -19.54094], [34.62699, -19.54071], [34.6271, -19.54056], [34.62724, -19.54035], [34.62661, -19.53992], [34.62637, -19.53969], [34.62641, -19.53964], [34.62594, -19.53931], [34.62436, -19.53824], [34.62375, -19.53783], [34.62342, -19.53754], [34.62291, -19.53708], [34.62339, -19.5364], [34.62464, -19.53468], [34.62575, -19.53314], [34.6273, -19.53102], [34.62747, -19.53074], [34.6277, -19.53027], [34.62777, -19.53017], [34.62788, -19.53012], [34.62806, -19.53012], [34.62762, -19.52948], [34.6248, -19.52521], [34.62459, -19.52488], [34.6243, -19.52444], [34.62427, -19.52438], [34.62404, -19.52404], [34.62389, -19.52383], [34.62385, -19.52372], [34.62368, -19.52344], [34.62187, -19.52052], [34.62179, -19.5204], [34.62108, -19.51925], [34.62012, -19.5177], [34.61905, -19.51605], [34.61882, -19.51577], [34.61853, -19.51548], [34.61817, -19.51517], [34.61657, -19.51405], [34.61528, -19.51308], [34.61116, -19.51011], [34.61104, -19.51002], [34.60924, -19.5087], [34.60755, -19.50747], [34.60631, -19.50657], [34.60557, -19.50607], [34.6054, -19.50595], [34.60245, -19.50385], [34.60091, -19.50283], [34.60007, -19.50225], [34.59937, -19.50177], [34.59746, -19.50051], [34.59692, -19.50015], [34.5965, -19.49988], [34.59614, -19.49965], [34.59549, -19.49923], [34.59506, -19.49895], [34.59501, -19.49892], [34.5947, -19.49873], [34.59425, -19.49839], [34.59386, -19.49809], [34.59324, -19.49746], [34.5929, -19.49693], [34.59231, -19.49601], [34.59208, -19.49569], [34.59171, -19.49526], [34.59141, -19.495], [34.5905, -19.4944], [34.58704, -19.49187], [34.58538, -19.49068], [34.58373, -19.48949], [34.57981, -19.48658], [34.57586, -19.48372], [34.57461, -19.48286], [34.57128, -19.48043], [34.57076, -19.48004], [34.5704, -19.47971], [34.57012, -19.47942], [34.56967, -19.47892], [34.56286, -19.47044], [34.56174, -19.46905], [34.56063, -19.46768], [34.55953, -19.4663], [34.55757, -19.46392], [34.55711, -19.46345], [34.55607, -19.46221], [34.5524, -19.45793], [34.5516, -19.45701], [34.55091, -19.45622], [34.54899, -19.45401], [34.54852, -19.45353], [34.54828, -19.45333], [34.5478, -19.45295], [34.54746, -19.45273], [34.54726, -19.45261], [34.54674, -19.45235], [34.54626, -19.45214], [34.54561, -19.45194], [34.54531, -19.45186], [34.54458, -19.45174], [34.54353, -19.4517], [34.54209, -19.45173], [34.54151, -19.4517], [34.54131, -19.45172], [34.54103, -19.45172], [34.54056, -19.45167], [34.54024, -19.4516], [34.53988, -19.45148], [34.5397, -19.4514], [34.53927, -19.45116], [34.53898, -19.45094], [34.53858, -19.45055], [34.53832, -19.4502], [34.53821, -19.45], [34.53808, -19.44975], [34.53761, -19.44872], [34.53721, -19.44789], [34.53716, -19.44774], [34.53706, -19.44751], [34.5369, -19.4472], [34.53671, -19.44691], [34.53649, -19.44664], [34.53625, -19.44639], [34.53598, -19.44616], [34.53554, -19.44586], [34.53522, -19.4457], [34.53489, -19.44556], [34.53455, -19.44545], [34.53419, -19.44537], [34.53401, -19.44535], [34.53344, -19.44532], [34.53287, -19.44536], [34.52907, -19.44609], [34.52812, -19.44621], [34.52739, -19.44624], [34.5269, -19.44624], [34.52637, -19.44619], [34.52551, -19.44607], [34.5248, -19.44591], [34.52378, -19.44557], [34.52287, -19.44519], [34.52167, -19.44475], [34.52039, -19.44426], [34.51582, -19.44242], [34.51526, -19.44221], [34.51234, -19.44094], [34.51167, -19.44066], [34.50599, -19.43821], [34.50582, -19.43813], [34.49545, -19.4337], [34.47752, -19.426], [34.47277, -19.42396], [34.47271, -19.42394], [34.46171, -19.41922], [34.4581, -19.41764], [34.45654, -19.41699], [34.45591, -19.41671], [34.45584, -19.41668], [34.45474, -19.41622], [34.45198, -19.41503], [34.45092, -19.41457], [34.45056, -19.41441], [34.45012, -19.41422], [34.44973, -19.41406], [34.44929, -19.41387], [34.44916, -19.41381], [34.44873, -19.41363], [34.44824, -19.41341], [34.4482, -19.4134], [34.44817, -19.41338], [34.44683, -19.41282], [34.44675, -19.41278], [34.4459, -19.41242], [34.44558, -19.41228], [34.44499, -19.41203], [34.44378, -19.41151], [34.44348, -19.41137], [34.44347, -19.41137], [34.44331, -19.4113], [34.443, -19.41114], [34.44254, -19.41087], [34.44202, -19.41047], [34.44136, -19.40998], [34.44096, -19.41047], [34.44091, -19.41054], [34.44051, -19.41106], [34.44012, -19.41151], [34.43993, -19.41174], [34.43917, -19.41272], [34.43897, -19.41306], [34.43858, -19.41376], [34.4381, -19.41468], [34.43775, -19.41531], [34.43751, -19.41572], [34.43709, -19.41643], [34.43704, -19.41652], [34.43679, -19.41699], [34.43645, -19.41767], [34.4362, -19.41815], [34.43579, -19.41879], [34.43556, -19.41911], [34.43534, -19.41935], [34.43503, -19.41956], [34.43484, -19.41965], [34.43457, -19.41974], [34.43411, -19.41983], [34.43265, -19.42002], [34.43176, -19.42015], [34.43135, -19.4203], [34.43091, -19.42053], [34.43058, -19.4207], [34.43055, -19.42072], [34.42964, -19.42119], [34.42953, -19.42125], [34.42894, -19.42155], [34.42881, -19.42162], [34.4287, -19.42168], [34.42863, -19.42172], [34.42831, -19.4219], [34.428, -19.42212], [34.4277, -19.42237], [34.42744, -19.42264], [34.42694, -19.42322], [34.42686, -19.42331], [34.4261, -19.42415], [34.42586, -19.42441], [34.42579, -19.4245], [34.42567, -19.42466], [34.42563, -19.4247], [34.42539, -19.42497], [34.42491, -19.42545], [34.42472, -19.4256], [34.42345, -19.42643], [34.42149, -19.42771], [34.42124, -19.42784], [34.42057, -19.42812], [34.42053, -19.42813], [34.42003, -19.42833], [34.41815, -19.42888], [34.41625, -19.42943], [34.4147, -19.4299], [34.41351, -19.43026], [34.41254, -19.43057], [34.41031, -19.43123], [34.40578, -19.43259], [34.40476, -19.43289], [34.40287, -19.43345], [34.4018, -19.43377], [34.4016, -19.43383], [34.40137, -19.43395], [34.40117, -19.43405], [34.4009, -19.43418], [34.40077, -19.43429], [34.40065, -19.43441], [34.40039, -19.43464], [34.40017, -19.43494], [34.4, -19.43518], [34.3992, -19.4364], [34.39892, -19.43683], [34.39819, -19.43795], [34.39782, -19.43852], [34.39751, -19.43899], [34.39709, -19.43964], [34.39614, -19.44108], [34.3961, -19.44115], [34.39468, -19.44332], [34.3938, -19.44466], [34.39303, -19.4462], [34.39296, -19.44635], [34.39224, -19.44781], [34.39171, -19.44885], [34.39148, -19.44934], [34.39076, -19.45073], [34.39062, -19.45105], [34.38985, -19.4526], [34.38968, -19.45296], [34.38886, -19.4546], [34.38831, -19.45565], [34.38775, -19.45681], [34.38761, -19.4571], [34.38751, -19.45746], [34.38733, -19.45845], [34.38733, -19.45918], [34.38738, -19.45975], [34.38737, -19.45989], [34.38729, -19.46014], [34.38716, -19.46046], [34.38701, -19.46071], [34.38638, -19.46165], [34.38628, -19.46187], [34.38617, -19.46223], [34.38615, -19.46238], [34.38611, -19.46271], [34.38604, -19.46634], [34.38597, -19.46672], [34.38543, -19.46899], [34.38139, -19.48605], [34.38067, -19.48901], [34.3804, -19.49017], [34.3783, -19.49912], [34.37794, -19.5006], [34.37777, -19.50091], [34.3776, -19.50118], [34.37728, -19.50166], [34.37707, -19.50181], [34.37655, -19.50208], [34.37583, -19.50245], [34.3742, -19.50323], [34.37398, -19.50339], [34.3738, -19.50358], [34.37364, -19.50377], [34.37349, -19.50399], [34.37338, -19.50427], [34.37263, -19.50639], [34.37105, -19.5106], [34.37092, -19.51096], [34.37079, -19.51182], [34.37048, -19.51409], [34.36984, -19.51843], [34.36911, -19.52381], [34.36698, -19.53945], [34.36696, -19.53963], [34.36693, -19.5403], [34.36701, -19.54079], [34.36715, -19.54128], [34.36844, -19.54471], [34.36851, -19.54485], [34.36895, -19.54589], [34.36896, -19.54599], [34.36967, -19.54736], [34.37046, -19.54868], [34.37084, -19.54915], [34.3714, -19.54974], [34.37266, -19.55088], [34.37604, -19.55334], [34.37743, -19.55419], [34.38235, -19.55722], [34.38344, -19.55798], [34.3849, -19.55939], [34.38685, -19.56138], [34.38711, -19.56162], [34.38736, -19.5618], [34.38757, -19.56192], [34.38779, -19.562], [34.38804, -19.56205], [34.38954, -19.56221], [34.38994, -19.56229], [34.3905, -19.56244], [34.3915, -19.56279], [34.39232, -19.56314], [34.39328, -19.56364], [34.39412, -19.56416], [34.39473, -19.56469], [34.39637, -19.5665], [34.39711, -19.56726], [34.39754, -19.56766], [34.40318, -19.57225], [34.4036, -19.57255], [34.40596, -19.57396], [34.4064, -19.57419], [34.40684, -19.57445], [34.407, -19.57456], [34.40748, -19.57482], [34.40796, -19.57503], [34.40839, -19.57512], [34.41106, -19.57515], [34.41326, -19.57515], [34.41473, -19.575], [34.41496, -19.575], [34.41517, -19.57503], [34.4154, -19.57511], [34.41576, -19.57532], [34.41604, -19.57555], [34.41709, -19.57665], [34.41868, -19.57815], [34.42021, -19.57951], [34.42514, -19.58381], [34.42799, -19.58643], [34.42832, -19.58674], [34.43063, -19.58886], [34.43115, -19.58942], [34.43147, -19.58968], [34.43277, -19.5904], [34.43387, -19.59119], [34.43629, -19.59277], [34.4373, -19.59339], [34.43857, -19.59423], [34.43914, -19.59477], [34.44042, -19.59606], [34.44185, -19.59749], [34.44417, -19.59974], [34.44434, -19.60001], [34.4444, -19.60033], [34.44437, -19.60061], [34.44377, -19.60283], [34.4437, -19.60325], [34.4437, -19.60378], [34.44376, -19.60428], [34.4439, -19.60542], [34.44396, -19.60598], [34.44399, -19.60618], [34.44404, -19.60643], [34.44477, -19.60808], [34.44553, -19.60971], [34.44632, -19.61145], [34.44823, -19.61592], [34.44842, -19.61628], [34.44916, -19.61743], [34.45158, -19.62121], [34.45179, -19.62158], [34.45188, -19.62191], [34.45195, -19.62258], [34.45208, -19.62619], [34.45214, -19.62736], [34.45223, -19.62775], [34.45234, -19.62794], [34.45244, -19.6281], [34.45729, -19.63438], [34.45901, -19.63649], [34.45931, -19.63698], [34.46076, -19.63903], [34.46111, -19.63967], [34.46215, -19.6418], [34.46333, -19.64495], [34.46375, -19.64615], [34.4638, -19.64647], [34.46384, -19.64716], [34.4638, -19.64791], [34.4637, -19.64857], [34.46369, -19.64898], [34.46376, -19.64939], [34.46399, -19.65089], [34.46401, -19.65135], [34.46373, -19.65361], [34.46375, -19.65403], [34.46388, -19.65479], [34.46438, -19.65726], [34.46581, -19.66417], [34.46642, -19.66666], [34.46726, -19.67006], [34.46732, -19.67059], [34.46763, -19.68082], [34.46767, -19.68112], [34.46782, -19.68146], [34.4683, -19.68203], [34.47495, -19.68894], [34.4754, -19.6894], [34.47573, -19.68974], [34.47741, -19.69134], [34.47807, -19.69183], [34.47978, -19.69289], [34.48053, -19.69342], [34.48085, -19.69379], [34.48125, -19.69459], [34.48137, -19.69486], [34.48153, -19.69515], [34.48213, -19.6961], [34.48325, -19.6979], [34.48403, -19.69929], [34.48424, -19.69975], [34.48441, -19.70023], [34.48454, -19.70078], [34.48556, -19.70644], [34.48583, -19.70806], [34.48594, -19.70857], [34.48611, -19.70953], [34.48634, -19.71115], [34.48647, -19.71173], [34.48651, -19.71225], [34.48648, -19.71265], [34.48622, -19.71336], [34.48612, -19.71348], [34.48575, -19.71428], [34.48281, -19.72044], [34.48267, -19.72071], [34.48247, -19.72112], [34.48231, -19.72152], [34.48165, -19.72314], [34.48143, -19.7237], [34.48109, -19.72453], [34.48068, -19.72554], [34.47835, -19.73355], [34.47807, -19.73451], [34.47805, -19.73504], [34.47814, -19.73553], [34.48289, -19.74817], [34.49215, -19.77261], [34.49232, -19.77304], [34.4925, -19.77352], [34.49461, -19.77892], [34.49636, -19.78371], [34.49647, -19.78415], [34.4965, -19.7846], [34.49637, -19.78541], [34.494, -19.79877], [34.49342, -19.802], [34.4934, -19.80209], [34.49336, -19.80232], [34.49306, -19.80397], [34.49264, -19.80619], [34.49114, -19.81412], [34.49044, -19.81802], [34.4901, -19.81955], [34.48984, -19.821], [34.48946, -19.82293], [34.48913, -19.82467], [34.48898, -19.82522], [34.48889, -19.82539], [34.48862, -19.82604], [34.48849, -19.82622], [34.48065, -19.84218], [34.47831, -19.84694], [34.47808, -19.84729], [34.47781, -19.84756], [34.47614, -19.84893], [34.47259, -19.85183], [34.47225, -19.85226], [34.47213, -19.8525], [34.47205, -19.85267], [34.47197, -19.853], [34.472, -19.85344], [34.47217, -19.85441], [34.47232, -19.85517], [34.47286, -19.85813], [34.47288, -19.85824], [34.47354, -19.86175], [34.4736, -19.86202], [34.47402, -19.86239], [34.4743, -19.86257], [34.47639, -19.86371], [34.47785, -19.86447], [34.47812, -19.8646], [34.47834, -19.86469], [34.47841, -19.8647], [34.4789, -19.86481], [34.48118, -19.86518], [34.48169, -19.86527], [34.48211, -19.86538], [34.48253, -19.86553], [34.48357, -19.86595], [34.48766, -19.86758], [34.48844, -19.86789], [34.49799, -19.87171], [34.50074, -19.87283], [34.50124, -19.873], [34.50153, -19.87305], [34.50188, -19.87306], [34.50374, -19.87292], [34.50431, -19.87288], [34.50524, -19.87285], [34.50667, -19.87275], [34.50746, -19.87262], [34.50818, -19.87248], [34.50922, -19.87227], [34.50983, -19.87214], [34.51486, -19.87109], [34.51521, -19.87106], [34.51557, -19.8711], [34.51987, -19.87234], [34.52154, -19.87279], [34.53416, -19.87637], [34.53463, -19.87644], [34.535, -19.8764], [34.53529, -19.87627], [34.53546, -19.87611], [34.53631, -19.87509], [34.53661, -19.87489], [34.53691, -19.8748], [34.53727, -19.87481], [34.53755, -19.87487], [34.53803, -19.87511], [34.53923, -19.87601], [34.5415, -19.87763], [34.54462, -19.8799], [34.54595, -19.88088], [34.54648, -19.88129], [34.54673, -19.88155], [34.54716, -19.88212], [34.54783, -19.88296], [34.54813, -19.88331], [34.54838, -19.88355], [34.54858, -19.88364], [34.5488, -19.88368], [34.54913, -19.88367], [34.54946, -19.8836], [34.54973, -19.8835], [34.54999, -19.88332], [34.55065, -19.88261], [34.55783, -19.87428], [34.56327, -19.86766], [34.56402, -19.86683], [34.56413, -19.86674], [34.56422, -19.8667], [34.56432, -19.8667], [34.56444, -19.86671], [34.56467, -19.8668], [34.5651, -19.867], [34.56639, -19.86769], [34.56682, -19.86789], [34.56715, -19.86795], [34.56751, -19.86794], [34.56791, -19.86783], [34.5681, -19.86773], [34.56824, -19.8676], [34.57212, -19.8628], [34.57243, -19.86256], [34.57266, -19.86247], [34.57278, -19.86242], [34.57315, -19.8624], [34.57508, -19.86255], [34.5771, -19.86271], [34.57738, -19.86277], [34.57761, -19.8629], [34.57929, -19.86424], [34.58035, -19.865], [34.58072, -19.86516], [34.58423, -19.86609], [34.58468, -19.86625], [34.58484, -19.86635], [34.585, -19.86651], [34.58509, -19.86667], [34.5869, -19.87055], [34.58731, -19.87145], [34.58768, -19.87225], [34.58796, -19.87285], [34.58805, -19.87299], [34.58822, -19.87315], [34.58825, -19.87316], [34.58834, -19.87323], [34.589, -19.87372], [34.59306, -19.87669], [34.59298, -19.87682], [34.59168, -19.87842], [34.59152, -19.87862], [34.59036, -19.88001], [34.58988, -19.88047], [34.58976, -19.88057], [34.59019, -19.88087], [34.59296, -19.88273], [34.59019, -19.88087], [34.58976, -19.88057], [34.58988, -19.88047], [34.59036, -19.88001], [34.59152, -19.87862], [34.59168, -19.87842], [34.59298, -19.87682], [34.59306, -19.87669], [34.589, -19.87372], [34.58834, -19.87323], [34.58825, -19.87316], [34.58822, -19.87315], [34.58805, -19.87299], [34.58796, -19.87285], [34.58768, -19.87225], [34.58731, -19.87145], [34.5869, -19.87055], [34.58509, -19.86667], [34.585, -19.86651], [34.58484, -19.86635], [34.58468, -19.86625], [34.58423, -19.86609], [34.58072, -19.86516], [34.58035, -19.865], [34.57929, -19.86424], [34.57761, -19.8629], [34.57738, -19.86277], [34.5771, -19.86271], [34.57508, -19.86255], [34.57315, -19.8624], [34.57278, -19.86242], [34.57266, -19.86247], [34.57243, -19.86256], [34.57212, -19.8628], [34.56824, -19.8676], [34.5681, -19.86773], [34.56791, -19.86783], [34.56751, -19.86794], [34.56715, -19.86795], [34.56682, -19.86789], [34.56639, -19.86769], [34.5651, -19.867], [34.56467, -19.8668], [34.56444, -19.86671], [34.56432, -19.8667], [34.56422, -19.8667], [34.56413, -19.86674], [34.56402, -19.86683], [34.56327, -19.86766], [34.55783, -19.87428], [34.55065, -19.88261], [34.54999, -19.88332], [34.54973, -19.8835], [34.54946, -19.8836], [34.54913, -19.88367], [34.5488, -19.88368], [34.54858, -19.88364], [34.54838, -19.88355], [34.54813, -19.88331], [34.54783, -19.88296], [34.54716, -19.88212], [34.54673, -19.88155], [34.54648, -19.88129], [34.54595, -19.88088], [34.54462, -19.8799], [34.5415, -19.87763], [34.53923, -19.87601], [34.53803, -19.87511], [34.53755, -19.87487], [34.53727, -19.87481], [34.53691, -19.8748], [34.53661, -19.87489], [34.53631, -19.87509], [34.53546, -19.87611], [34.53529, -19.87627], [34.535, -19.8764], [34.53463, -19.87644], [34.53416, -19.87637], [34.52154, -19.87279], [34.51987, -19.87234], [34.51557, -19.8711], [34.51521, -19.87106], [34.51486, -19.87109], [34.50983, -19.87214], [34.50922, -19.87227], [34.50818, -19.87248], [34.50746, -19.87262], [34.50667, -19.87275], [34.50524, -19.87285], [34.50431, -19.87288], [34.50374, -19.87292], [34.50188, -19.87306], [34.50153, -19.87305], [34.50124, -19.873], [34.50074, -19.87283], [34.49799, -19.87171], [34.48844, -19.86789], [34.48731, -19.87184], [34.48665, -19.87404], [34.48636, -19.87498], [34.4852, -19.87924], [34.48513, -19.87948], [34.48496, -19.8801], [34.4849, -19.88035], [34.48479, -19.88074], [34.48474, -19.88094], [34.48468, -19.88121], [34.48408, -19.88371], [34.48336, -19.88651], [34.48335, -19.88656], [34.4827, -19.88904], [34.48255, -19.88937], [34.48235, -19.88965], [34.48159, -19.8903], [34.48136, -19.89047], [34.48034, -19.8912], [34.47916, -19.89226], [34.47823, -19.89325], [34.47763, -19.89381], [34.47716, -19.8942], [34.47619, -19.89507], [34.47489, -19.89585], [34.47474, -19.89602], [34.47465, -19.8963], [34.47463, -19.89755], [34.47462, -19.90255], [34.47461, -19.90614], [34.47462, -19.90703], [34.47462, -19.90826], [34.47465, -19.91466], [34.47466, -19.91546], [34.47467, -19.91751], [34.47467, -19.91882], [34.4747, -19.92634], [34.47485, -19.92668], [34.4746, -19.92655], [34.4745, -19.9265], [34.47336, -19.92597], [34.46859, -19.92364], [34.46838, -19.92357], [34.46816, -19.9235], [34.46712, -19.92333], [34.46117, -19.92242], [34.46014, -19.92243], [34.45654, -19.92248], [34.45381, -19.92252], [34.45205, -19.92255], [34.44708, -19.92263], [34.44305, -19.92269], [34.43898, -19.92275], [34.43859, -19.92275], [34.43668, -19.92278], [34.42689, -19.92292], [34.42293, -19.92302], [34.41486, -19.92311], [34.41074, -19.92315], [34.40867, -19.92318], [34.40663, -19.9232], [34.40468, -19.92323], [34.39843, -19.92325], [34.39558, -19.92326], [34.3916, -19.92327], [34.39114, -19.92327], [34.38979, -19.92327], [34.38919, -19.92324], [34.38889, -19.92319], [34.38866, -19.92311], [34.38844, -19.92301], [34.38818, -19.92286], [34.38434, -19.92066], [34.37988, -19.9181], [34.37745, -19.91672], [34.37408, -19.91473], [34.36888, -19.91169], [34.36715, -19.91065], [34.36558, -19.90969], [34.36427, -19.9089], [34.36211, -19.90759], [34.36037, -19.90653], [34.35836, -19.9053], [34.35772, -19.90491], [34.35542, -19.90349], [34.35498, -19.90327], [34.35478, -19.90323], [34.35441, -19.90323], [34.35422, -19.90326], [34.35389, -19.9034], [34.35367, -19.90353], [34.35346, -19.90368], [34.35141, -19.90559], [34.35034, -19.90659], [34.34825, -19.90852], [34.34725, -19.90947], [34.34699, -19.90972], [34.34583, -19.91081], [34.34437, -19.9122], [34.34433, -19.91224], [34.34301, -19.91349], [34.34232, -19.91413], [34.34196, -19.91443], [34.34142, -19.9147], [34.34018, -19.91527], [34.33981, -19.91544], [34.33934, -19.91568], [34.33898, -19.91592], [34.33662, -19.91779], [34.335, -19.91908], [34.33448, -19.9195], [34.33217, -19.92132], [34.33159, -19.92178], [34.33048, -19.92266], [34.32983, -19.92319], [34.32873, -19.92415], [34.32826, -19.92456], [34.32774, -19.925], [34.32648, -19.92607], [34.32474, -19.92755], [34.32453, -19.92773], [34.32308, -19.92896], [34.32213, -19.92977], [34.32003, -19.93155], [34.31727, -19.93389], [34.31565, -19.93489], [34.31539, -19.93514], [34.31472, -19.93603], [34.31424, -19.93666], [34.31374, -19.93734], [34.31344, -19.93774], [34.31128, -19.94062], [34.3069, -19.9464], [34.30651, -19.94682], [34.3061, -19.94715], [34.30554, -19.94748], [34.30522, -19.94768], [34.30498, -19.94784], [34.30476, -19.94804], [34.30459, -19.94826], [34.30419, -19.94896], [34.30406, -19.94935], [34.30388, -19.95032], [34.30375, -19.9506], [34.30166, -19.95332], [34.30101, -19.9542], [34.30075, -19.95461], [34.30057, -19.95498], [34.30046, -19.95526], [34.30031, -19.95582], [34.30022, -19.9563], [34.30024, -19.9565], [34.30029, -19.95675], [34.30085, -19.95775], [34.30096, -19.95806], [34.30101, -19.95834], [34.30101, -19.95849], [34.301, -19.95859], [34.30095, -19.95881], [34.30086, -19.95901], [34.30076, -19.95913], [34.30055, -19.95933], [34.30037, -19.95946], [34.30027, -19.95954], [34.29999, -19.95973], [34.29979, -19.95983], [34.29958, -19.95989], [34.29915, -19.95996], [34.29792, -19.96013], [34.29712, -19.96019], [34.29661, -19.96018], [34.29632, -19.96016], [34.29596, -19.96012], [34.29424, -19.95977], [34.29411, -19.95971], [34.29397, -19.95964], [34.29373, -19.95944], [34.29355, -19.95925], [34.2925, -19.95781], [34.29183, -19.95697], [34.29156, -19.95664], [34.29139, -19.95646], [34.29133, -19.95639], [34.29108, -19.95623], [34.29091, -19.95617], [34.29075, -19.95614], [34.29066, -19.95616], [34.29061, -19.95618], [34.29042, -19.95628], [34.28886, -19.95737], [34.28859, -19.95757], [34.2884, -19.95771], [34.28825, -19.95778], [34.2881, -19.95779], [34.28667, -19.95765], [34.2863, -19.95761], [34.28616, -19.95764], [34.28358, -19.95863], [34.28334, -19.9587], [34.28314, -19.95873], [34.28297, -19.95873], [34.28283, -19.95869], [34.28271, -19.95864], [34.28257, -19.95852], [34.2824, -19.9582], [34.28235, -19.9581], [34.28213, -19.95766], [34.2819, -19.95734], [34.28172, -19.95714], [34.28139, -19.95685], [34.28112, -19.95664], [34.28024, -19.95612], [34.27988, -19.95594], [34.27963, -19.95586], [34.27934, -19.9558], [34.27908, -19.95578], [34.27866, -19.9558], [34.27527, -19.95602], [34.27215, -19.95623], [34.27196, -19.95624], [34.26974, -19.95639], [34.26617, -19.95663], [34.25922, -19.95702], [34.25707, -19.95717], [34.24984, -19.9577], [34.24868, -19.95781], [34.24826, -19.95787], [34.2478, -19.95796], [34.24292, -19.95907], [34.23762, -19.96032], [34.23158, -19.96172], [34.2312, -19.9618], [34.2279, -19.96248], [34.22183, -19.96389], [34.21951, -19.96447], [34.21939, -19.9645], [34.21856, -19.96471], [34.21747, -19.96499], [34.21718, -19.96506], [34.21685, -19.96515], [34.21641, -19.96526], [34.21589, -19.96539], [34.21456, -19.96572], [34.21422, -19.96581], [34.21304, -19.96612], [34.21112, -19.96661], [34.20935, -19.9671], [34.20852, -19.9673], [34.20739, -19.96757], [34.20533, -19.968], [34.20515, -19.96801], [34.20451, -19.96789], [34.20285, -19.96732], [34.20144, -19.96682], [34.20111, -19.96673], [34.20091, -19.9667], [34.19664, -19.96682], [34.18491, -19.9672], [34.18429, -19.96717], [34.18267, -19.96701], [34.17984, -19.96677], [34.1752, -19.96644], [34.17402, -19.96636], [34.17358, -19.96636], [34.17335, -19.96639], [34.17319, -19.96646], [34.17292, -19.9666], [34.1725, -19.96691], [34.17211, -19.9674], [34.17162, -19.96822], [34.1697, -19.97164], [34.16837, -19.97404], [34.16744, -19.97555], [34.16735, -19.9757], [34.1672, -19.97591], [34.16692, -19.97632], [34.16662, -19.97665], [34.16636, -19.97683], [34.16596, -19.97701], [34.16524, -19.97729], [34.16485, -19.97739], [34.16426, -19.97757], [34.16414, -19.97759], [34.16364, -19.97767], [34.16269, -19.97772], [34.16218, -19.97775], [34.16158, -19.97778], [34.16038, -19.97785], [34.15929, -19.9779], [34.15746, -19.97802], [34.15717, -19.97804], [34.15579, -19.97806], [34.15451, -19.97811], [34.1535, -19.97822], [34.15013, -19.97842], [34.14845, -19.97856], [34.1482, -19.97856], [34.14762, -19.97856], [34.14763, -19.97874], [34.14767, -19.97893], [34.14774, -19.97909], [34.14782, -19.97942], [34.14783, -19.97972], [34.1478, -19.9801], [34.14769, -19.98035], [34.14755, -19.98054], [34.14747, -19.98063], [34.14742, -19.98067], [34.14689, -19.98078], [34.14666, -19.98081], [34.14655, -19.98085], [34.14614, -19.98117], [34.14602, -19.98132], [34.14575, -19.9819], [34.14542, -19.98252], [34.1451, -19.98297], [34.1448, -19.98321], [34.14412, -19.98356], [34.14405, -19.98362], [34.14399, -19.98369], [34.14398, -19.98385], [34.14381, -19.98461], [34.14388, -19.98511], [34.14385, -19.98598], [34.14391, -19.9866], [34.14385, -19.98744], [34.14373, -19.98836], [34.14364, -19.9888], [34.14346, -19.9893], [34.14339, -19.99009], [34.14336, -19.9908], [34.14331, -19.99103], [34.14314, -19.99155], [34.14311, -19.99183], [34.14312, -19.99206], [34.14321, -19.99243], [34.14412, -19.99487], [34.145, -19.99729], [34.14594, -19.99973], [34.14607, -20.0], [34.14694, -20.00175], [34.14701, -20.00199], [34.14715, -20.00288], [34.14743, -20.00359], [34.14785, -20.00488], [34.14796, -20.00532], [34.14803, -20.00547], [34.14824, -20.00575], [34.14859, -20.00644], [34.14879, -20.00702], [34.14934, -20.00821], [34.14958, -20.00891], [34.14974, -20.00923], [34.14981, -20.00949], [34.14987, -20.00962], [34.15006, -20.00992], [34.15032, -20.01036], [34.15051, -20.0106], [34.15088, -20.0112], [34.15102, -20.01146], [34.1511, -20.01177], [34.15117, -20.01267], [34.15145, -20.01327], [34.15173, -20.01393], [34.15183, -20.01421], [34.15191, -20.01445], [34.15201, -20.01468], [34.1529, -20.01606], [34.15353, -20.01715], [34.15402, -20.01818], [34.15416, -20.01854], [34.15469, -20.01986], [34.15502, -20.02092], [34.15521, -20.02142], [34.1555, -20.02349], [34.15554, -20.02372], [34.15603, -20.0246], [34.15674, -20.02629], [34.15678, -20.02794], [34.15709, -20.02966], [34.15754, -20.03201], [34.15788, -20.03422], [34.15792, -20.03468], [34.15772, -20.03511], [34.15748, -20.03597], [34.15761, -20.0363], [34.15768, -20.03669], [34.1577, -20.03722], [34.15764, -20.03769], [34.15748, -20.03814], [34.15727, -20.0385], [34.15461, -20.04366], [34.15426, -20.04759], [34.15335, -20.05482], [34.1533, -20.05579], [34.15321, -20.05692], [34.15318, -20.05763], [34.15316, -20.05773], [34.15308, -20.05822], [34.15311, -20.05841], [34.1532, -20.05864], [34.15332, -20.05881], [34.15358, -20.05909], [34.15385, -20.05932], [34.15423, -20.05979], [34.15434, -20.06003], [34.15446, -20.06053], [34.15446, -20.0607], [34.15425, -20.06153], [34.15421, -20.06177], [34.15419, -20.062], [34.15422, -20.06241], [34.15428, -20.06279], [34.15428, -20.06302], [34.15416, -20.06347], [34.154, -20.06393], [34.15366, -20.0648], [34.15287, -20.06638], [34.15263, -20.06681], [34.15244, -20.06727], [34.15226, -20.06758], [34.15205, -20.06787], [34.15162, -20.06841], [34.15118, -20.06892], [34.15076, -20.06937], [34.15038, -20.06983], [34.15007, -20.07026], [34.14996, -20.07042], [34.14987, -20.07062], [34.14979, -20.07103], [34.14963, -20.07198], [34.14956, -20.07279], [34.14954, -20.07347], [34.14941, -20.07531], [34.14933, -20.07779], [34.14933, -20.07828], [34.14925, -20.07924], [34.14913, -20.08349], [34.14901, -20.08555], [34.14901, -20.08624], [34.14907, -20.08846], [34.1491, -20.08883], [34.14915, -20.0894], [34.14922, -20.09073], [34.14928, -20.09112], [34.14936, -20.09182], [34.14948, -20.09287], [34.14952, -20.09342], [34.14961, -20.09412], [34.1498, -20.09553], [34.15002, -20.09748], [34.15006, -20.09776], [34.15019, -20.09845], [34.15044, -20.10056], [34.15049, -20.10112], [34.15062, -20.10222], [34.15095, -20.10443], [34.15103, -20.10487], [34.15121, -20.10644], [34.15134, -20.10718], [34.15154, -20.10851], [34.15163, -20.10912], [34.15189, -20.1113], [34.15195, -20.11192], [34.15214, -20.11292], [34.15218, -20.11355], [34.15241, -20.11518], [34.15253, -20.1159], [34.1527, -20.11748], [34.15276, -20.11774], [34.15275, -20.11862], [34.15287, -20.12011], [34.15294, -20.12143], [34.15309, -20.12265], [34.1531, -20.12279], [34.15316, -20.1234], [34.15322, -20.12401], [34.15327, -20.12523], [34.15335, -20.12557], [34.15337, -20.12608], [34.15279, -20.12827], [34.15278, -20.12835], [34.1527, -20.12885], [34.15261, -20.1295], [34.15244, -20.13054], [34.1523, -20.13212], [34.15223, -20.13265], [34.15221, -20.13295], [34.15217, -20.13313], [34.15207, -20.13384], [34.15203, -20.13435], [34.15196, -20.13515], [34.15159, -20.13816], [34.15141, -20.14001], [34.15139, -20.14008], [34.15135, -20.14036], [34.15123, -20.14142], [34.1512, -20.14212], [34.15116, -20.14235], [34.15113, -20.14264], [34.15112, -20.14273], [34.15109, -20.1428], [34.15105, -20.14302], [34.15099, -20.14369], [34.15084, -20.1446], [34.15079, -20.14533], [34.15077, -20.14553], [34.15054, -20.14741], [34.15049, -20.14766], [34.15047, -20.14793], [34.15049, -20.14815], [34.15045, -20.1484], [34.15042, -20.1489], [34.15039, -20.14904], [34.15031, -20.14963], [34.15031, -20.14971], [34.1503, -20.14992], [34.15022, -20.15053], [34.1501, -20.15165], [34.15, -20.15159], [34.14988, -20.15157], [34.14961, -20.15146], [34.14956, -20.15145], [34.14939, -20.15127], [34.14926, -20.15118], [34.14918, -20.15118], [34.14909, -20.15111], [34.14903, -20.1511], [34.14889, -20.15111], [34.14864, -20.1511], [34.14855, -20.15115], [34.14841, -20.15116], [34.1483, -20.15119], [34.14824, -20.15122], [34.14803, -20.15123], [34.14792, -20.1512], [34.1478, -20.15123], [34.14764, -20.15124], [34.14759, -20.15125], [34.14755, -20.1513], [34.14748, -20.15131], [34.14742, -20.15128], [34.14735, -20.15129], [34.14732, -20.15131], [34.14724, -20.15133], [34.14692, -20.15129], [34.14666, -20.1513], [34.14654, -20.15132], [34.14614, -20.15128], [34.14608, -20.15125], [34.14597, -20.15128], [34.1459, -20.15126], [34.14567, -20.15123], [34.14521, -20.15144], [34.14508, -20.15142], [34.14501, -20.15147], [34.14484, -20.15154], [34.14475, -20.15156], [34.14462, -20.15166], [34.1436, -20.15183], [34.14333, -20.15181], [34.14308, -20.15184], [34.14296, -20.1518], [34.14278, -20.15181], [34.14264, -20.15176], [34.14243, -20.15189], [34.14212, -20.15187], [34.14208, -20.15192], [34.14143, -20.15195], [34.14114, -20.1519], [34.14107, -20.15193], [34.14088, -20.15208], [34.1406, -20.1522], [34.14015, -20.15216], [34.13944, -20.15214], [34.13924, -20.15217], [34.13884, -20.15219], [34.13879, -20.15216], [34.13864, -20.15216], [34.13846, -20.15213], [34.13834, -20.15215], [34.13803, -20.15214], [34.1378, -20.15217], [34.13767, -20.15215], [34.13709, -20.15215], [34.13697, -20.15218], [34.13687, -20.15224], [34.13678, -20.15245], [34.13669, -20.15252], [34.13655, -20.1526], [34.13635, -20.15268], [34.13591, -20.15272], [34.13571, -20.15271], [34.13551, -20.15269], [34.13541, -20.15269], [34.13531, -20.15273], [34.13518, -20.15282], [34.13509, -20.15282], [34.13486, -20.15278], [34.13471, -20.15279], [34.13444, -20.15285], [34.13411, -20.1528], [34.13396, -20.1528], [34.1338, -20.15282], [34.1335, -20.1529], [34.13339, -20.15298], [34.13317, -20.1531], [34.13311, -20.15316], [34.13299, -20.15323], [34.13295, -20.15329], [34.13287, -20.1533], [34.13279, -20.15338], [34.13264, -20.15344], [34.13256, -20.15348], [34.13241, -20.15364], [34.13239, -20.15374], [34.13234, -20.15381], [34.13227, -20.15384], [34.13213, -20.15382], [34.13152, -20.15387], [34.13141, -20.1539], [34.13121, -20.15401], [34.13097, -20.15401], [34.13085, -20.15403], [34.1304, -20.15392], [34.13026, -20.15393], [34.13019, -20.15395], [34.13011, -20.15395], [34.1298, -20.15404], [34.12971, -20.15409], [34.12968, -20.15417], [34.12962, -20.15421], [34.1295, -20.1542], [34.12932, -20.15415], [34.12923, -20.15415], [34.12906, -20.15418], [34.12889, -20.15418], [34.12881, -20.15415], [34.12866, -20.15407], [34.12851, -20.15403], [34.12842, -20.15404], [34.12819, -20.15413], [34.12808, -20.15414], [34.12796, -20.15411], [34.12785, -20.1541], [34.12777, -20.15415], [34.12766, -20.15416], [34.12752, -20.15411], [34.12721, -20.15395], [34.12697, -20.15396], [34.1268, -20.15393], [34.12666, -20.15388], [34.12657, -20.1538], [34.1265, -20.15379], [34.12641, -20.15383], [34.12635, -20.15388], [34.12626, -20.15393], [34.12608, -20.15392], [34.12596, -20.15402], [34.12587, -20.15412], [34.12584, -20.15419], [34.12572, -20.15425], [34.12563, -20.15432], [34.12544, -20.15433], [34.1253, -20.1545], [34.12522, -20.15455], [34.12509, -20.15458], [34.12499, -20.15457], [34.12487, -20.15462], [34.12476, -20.15465], [34.12474, -20.15468], [34.12459, -20.15473], [34.12432, -20.15476], [34.12423, -20.15479], [34.12401, -20.15481], [34.12377, -20.1548], [34.12372, -20.15482], [34.12346, -20.15463], [34.1233, -20.15457], [34.1233, -20.15462], [34.12314, -20.15473], [34.12296, -20.15472], [34.12291, -20.15468], [34.1227, -20.15471], [34.12234, -20.1547], [34.12213, -20.1547], [34.12197, -20.15473], [34.12185, -20.15469], [34.1217, -20.1547], [34.12153, -20.15465], [34.12145, -20.15464], [34.12136, -20.15467], [34.12117, -20.15471], [34.12086, -20.15481], [34.1207, -20.15481], [34.12057, -20.15479], [34.12048, -20.15483], [34.12035, -20.15484], [34.12016, -20.15496], [34.12, -20.15496], [34.11994, -20.15493], [34.11989, -20.15497], [34.11969, -20.15496], [34.11962, -20.15501], [34.11935, -20.15506], [34.11923, -20.15514], [34.11905, -20.15519], [34.11896, -20.15517], [34.11868, -20.15507], [34.1186, -20.15506], [34.11851, -20.15501], [34.11834, -20.15499], [34.11825, -20.15495], [34.11815, -20.15497], [34.11807, -20.15503], [34.11777, -20.15493], [34.11765, -20.15495], [34.11753, -20.15498], [34.11708, -20.15503], [34.11673, -20.1553], [34.11662, -20.1552], [34.11646, -20.15511], [34.11631, -20.15499], [34.11627, -20.15488], [34.11628, -20.1547], [34.11622, -20.15457], [34.1162, -20.15437], [34.1161, -20.15412], [34.11607, -20.15398], [34.11601, -20.15386], [34.11589, -20.15376], [34.11571, -20.15369], [34.11557, -20.15358], [34.11543, -20.15351], [34.1152, -20.15345], [34.11499, -20.15344], [34.11491, -20.15338], [34.11479, -20.15323], [34.11464, -20.1532], [34.11457, -20.15318], [34.11436, -20.15295], [34.11421, -20.15275], [34.1141, -20.15263], [34.11407, -20.15238], [34.11401, -20.15227], [34.11384, -20.1521], [34.11366, -20.152], [34.11352, -20.15187], [34.11331, -20.15165], [34.11302, -20.15149], [34.11259, -20.15113], [34.11245, -20.15093], [34.11207, -20.15059], [34.11192, -20.15046], [34.11181, -20.15043], [34.11166, -20.15026], [34.11152, -20.15019], [34.11112, -20.1501], [34.11085, -20.15009], [34.11074, -20.14997], [34.11046, -20.14995], [34.11029, -20.14985], [34.10997, -20.14978], [34.10988, -20.14973], [34.10917, -20.14969], [34.10908, -20.1497], [34.10896, -20.14968], [34.1088, -20.14949], [34.10871, -20.14943], [34.10845, -20.14944], [34.10823, -20.14939], [34.1076, -20.14927], [34.10733, -20.1492], [34.10697, -20.14915], [34.10651, -20.1492], [34.10626, -20.14906], [34.10604, -20.14897], [34.10577, -20.14895], [34.10577, -20.14916], [34.10571, -20.14924], [34.10542, -20.14943], [34.10544, -20.14962], [34.10535, -20.14974], [34.10515, -20.14986], [34.10512, -20.14998], [34.10507, -20.15002], [34.10499, -20.15014], [34.10493, -20.15034], [34.10483, -20.15046], [34.10471, -20.15067], [34.10423, -20.15107], [34.10413, -20.15113], [34.10389, -20.15121], [34.10382, -20.15127], [34.10371, -20.15133], [34.10349, -20.15161], [34.10333, -20.15174], [34.10322, -20.15178], [34.10316, -20.15185], [34.10315, -20.15197], [34.10319, -20.15217], [34.1031, -20.15237], [34.10302, -20.15246], [34.10293, -20.15252], [34.10287, -20.15265], [34.10283, -20.15277], [34.10281, -20.15314], [34.10278, -20.15328], [34.10282, -20.15337], [34.10279, -20.15365], [34.10268, -20.15386], [34.10264, -20.15397], [34.10265, -20.15406], [34.10281, -20.15424], [34.10286, -20.15432], [34.10291, -20.15447], [34.10299, -20.15461], [34.10318, -20.15505], [34.10327, -20.15517], [34.1033, -20.15538], [34.10316, -20.15536], [34.10305, -20.1553], [34.10287, -20.15529], [34.10251, -20.15515], [34.10232, -20.1551], [34.10216, -20.15503], [34.10203, -20.15493], [34.10185, -20.15493], [34.10171, -20.15483], [34.10122, -20.15476], [34.10094, -20.15467], [34.10068, -20.15457], [34.10037, -20.15453], [34.10011, -20.15455], [34.09984, -20.15454], [34.09959, -20.15449], [34.09901, -20.15432], [34.09869, -20.15435], [34.09825, -20.15433], [34.09773, -20.15425], [34.09758, -20.15419], [34.09739, -20.15417], [34.09727, -20.15428], [34.09669, -20.15418], [34.09628, -20.15402], [34.0957, -20.15376], [34.09545, -20.1536], [34.09489, -20.1533], [34.09424, -20.15299], [34.09374, -20.15273], [34.0936, -20.15263], [34.09337, -20.1524], [34.09303, -20.152], [34.09292, -20.15194], [34.09265, -20.15171], [34.09221, -20.15138], [34.09196, -20.1513], [34.09138, -20.15121], [34.09118, -20.15115], [34.09116, -20.15102], [34.09107, -20.15089], [34.09095, -20.1509], [34.09086, -20.15097], [34.09017, -20.15091], [34.08987, -20.15075], [34.0898, -20.15069], [34.0896, -20.15071], [34.08941, -20.15053], [34.0893, -20.1505], [34.08916, -20.15032], [34.08903, -20.15026], [34.08896, -20.15018], [34.08853, -20.14997], [34.08821, -20.14991], [34.08774, -20.14988], [34.08762, -20.14976], [34.08743, -20.14974], [34.08725, -20.14961], [34.08709, -20.14942], [34.08701, -20.14925], [34.08678, -20.14918], [34.08656, -20.14914], [34.08609, -20.14885], [34.08601, -20.14875], [34.08554, -20.14866], [34.08532, -20.14861], [34.08508, -20.14851], [34.08483, -20.14835], [34.08456, -20.14837], [34.08437, -20.14828], [34.08413, -20.14827], [34.08402, -20.14824], [34.08392, -20.14825], [34.08381, -20.14829], [34.08349, -20.14834], [34.08337, -20.14839], [34.08319, -20.14832], [34.0829, -20.14829], [34.08257, -20.14832], [34.08231, -20.14823], [34.08216, -20.14825], [34.08203, -20.14829], [34.08193, -20.14826], [34.08166, -20.14822], [34.08156, -20.14819], [34.08147, -20.14808], [34.08132, -20.14796], [34.08076, -20.14768], [34.08061, -20.14756], [34.08047, -20.14735], [34.08026, -20.14726], [34.08025, -20.14717], [34.08013, -20.1471], [34.08013, -20.14702], [34.08007, -20.14696], [34.08005, -20.14683], [34.07994, -20.14676], [34.07947, -20.14659], [34.07923, -20.14616], [34.07912, -20.14583], [34.079, -20.14552], [34.07882, -20.14538], [34.07876, -20.14524], [34.07875, -20.14505], [34.07867, -20.14488], [34.07857, -20.14475], [34.0785, -20.1447], [34.07836, -20.14454], [34.07813, -20.1444], [34.07779, -20.14428], [34.07745, -20.14421], [34.07706, -20.14415], [34.07694, -20.14415], [34.07666, -20.14422], [34.07637, -20.14427], [34.07624, -20.14425], [34.07591, -20.14433], [34.07575, -20.14438], [34.07566, -20.14447], [34.07562, -20.14461], [34.07552, -20.14468], [34.07522, -20.14482], [34.07511, -20.14496], [34.07503, -20.1451], [34.07486, -20.14523], [34.07477, -20.14533], [34.07465, -20.14569], [34.0745, -20.14606], [34.07435, -20.14631], [34.07418, -20.14644], [34.07384, -20.14677], [34.07373, -20.14684], [34.07368, -20.14695], [34.07304, -20.14757], [34.07291, -20.14766], [34.07289, -20.14778], [34.07282, -20.14792], [34.07267, -20.14814], [34.07255, -20.14823], [34.07249, -20.14833], [34.07226, -20.14846], [34.07217, -20.1485], [34.07211, -20.14857], [34.07197, -20.1486], [34.07164, -20.14851], [34.07148, -20.14835], [34.0714, -20.14834], [34.07127, -20.14837], [34.07119, -20.14836], [34.07106, -20.14818], [34.07098, -20.1481], [34.07087, -20.14806], [34.07072, -20.14815], [34.07059, -20.14813], [34.0705, -20.1481], [34.07038, -20.14811], [34.07027, -20.14802], [34.07005, -20.14788], [34.07003, -20.14781], [34.06977, -20.14763], [34.06958, -20.14733], [34.06945, -20.14719], [34.0693, -20.14708], [34.0693, -20.14698], [34.06937, -20.14661], [34.0694, -20.14635], [34.06947, -20.14629], [34.06958, -20.14629], [34.06964, -20.14621], [34.06971, -20.1462], [34.06977, -20.14614], [34.06983, -20.14597], [34.06994, -20.14584], [34.06997, -20.14569], [34.06977, -20.14553], [34.06961, -20.14536], [34.06948, -20.14528], [34.06936, -20.14532], [34.06903, -20.14535], [34.06864, -20.14535], [34.06861, -20.14526], [34.0688, -20.14498], [34.06885, -20.14482], [34.06879, -20.1447], [34.06868, -20.14451], [34.06857, -20.14428], [34.06857, -20.14411], [34.06851, -20.144], [34.06849, -20.14389], [34.06855, -20.14367], [34.06859, -20.14329], [34.06853, -20.14309], [34.06843, -20.14293], [34.0684, -20.1428], [34.06842, -20.14265], [34.0682, -20.1425], [34.06801, -20.1421], [34.06782, -20.14168], [34.06785, -20.14155], [34.06815, -20.14158], [34.06825, -20.14153], [34.06842, -20.1414], [34.06868, -20.14114], [34.06884, -20.14107], [34.06904, -20.14094], [34.06897, -20.14092], [34.06884, -20.14042], [34.06874, -20.14029], [34.06846, -20.14017], [34.06825, -20.14], [34.06783, -20.14], [34.06746, -20.13996], [34.06723, -20.13991], [34.06707, -20.1399], [34.06619, -20.1396], [34.06559, -20.13944], [34.06531, -20.1393], [34.06512, -20.13917], [34.06485, -20.1391], [34.06471, -20.13902], [34.0645, -20.13895], [34.06397, -20.13885], [34.06374, -20.1387], [34.06336, -20.1386], [34.06312, -20.13856], [34.06277, -20.13854], [34.06243, -20.13842], [34.06177, -20.13825], [34.06134, -20.13813], [34.06103, -20.13788], [34.06086, -20.13758], [34.06083, -20.13742], [34.06073, -20.13723], [34.06063, -20.13693], [34.06066, -20.13649], [34.06076, -20.13626], [34.06087, -20.13615], [34.06098, -20.13609], [34.06106, -20.13604], [34.06111, -20.13596], [34.06139, -20.13569], [34.06144, -20.13557], [34.06143, -20.13542], [34.06136, -20.13524], [34.06123, -20.13511], [34.06111, -20.13505], [34.0609, -20.1349], [34.06075, -20.13451], [34.0607, -20.13422], [34.06069, -20.13399], [34.06065, -20.13382], [34.06052, -20.13367], [34.05988, -20.13324], [34.0598, -20.13308], [34.05978, -20.13294], [34.05973, -20.13273], [34.05957, -20.13246], [34.05947, -20.13236], [34.05931, -20.1323], [34.0593, -20.13219], [34.05933, -20.13206], [34.05929, -20.1321], [34.05906, -20.13226], [34.05879, -20.13238], [34.0586, -20.13245], [34.05828, -20.13252], [34.05766, -20.13277], [34.05762, -20.13277], [34.05672, -20.13367], [34.05628, -20.13427], [34.05615, -20.13443], [34.05555, -20.13482], [34.05501, -20.1351], [34.05475, -20.13532], [34.05447, -20.13546], [34.0542, -20.1357], [34.05404, -20.13575], [34.05362, -20.13577], [34.05355, -20.13576], [34.05347, -20.13579], [34.05322, -20.13595], [34.05284, -20.13628], [34.05252, -20.13662], [34.05227, -20.13677], [34.05205, -20.13682], [34.05199, -20.13689], [34.05156, -20.13708], [34.05121, -20.13717], [34.0503, -20.13748], [34.04995, -20.13753], [34.04976, -20.13751], [34.04947, -20.13749], [34.04894, -20.13749], [34.04822, -20.13734], [34.04788, -20.13723], [34.04766, -20.13719], [34.04737, -20.13718], [34.04685, -20.13725], [34.04673, -20.13723], [34.04659, -20.13719], [34.04624, -20.13717], [34.04511, -20.13731], [34.04442, -20.13763], [34.04422, -20.13764], [34.04404, -20.13768], [34.04379, -20.13782], [34.04342, -20.13797], [34.04312, -20.13806], [34.04281, -20.13814], [34.04251, -20.1382], [34.04225, -20.13828], [34.04208, -20.13837], [34.04146, -20.13906], [34.04137, -20.13913], [34.04006, -20.13947], [34.03969, -20.13952], [34.03927, -20.13948], [34.03862, -20.13936], [34.03786, -20.13922], [34.03725, -20.13921], [34.03673, -20.13921], [34.03582, -20.13911], [34.03535, -20.13899], [34.03507, -20.13903], [34.03468, -20.13897], [34.03424, -20.13903], [34.03351, -20.13923], [34.03292, -20.13943], [34.03254, -20.13958], [34.03117, -20.13986], [34.03029, -20.14012], [34.02958, -20.14024], [34.02916, -20.14024], [34.02902, -20.14025], [34.02836, -20.14023], [34.0272, -20.13988], [34.02683, -20.13983], [34.0261, -20.13999], [34.02568, -20.14001], [34.02536, -20.13996], [34.02504, -20.13986], [34.02483, -20.13974], [34.02447, -20.1396], [34.02402, -20.13946], [34.02361, -20.1394], [34.02325, -20.13943], [34.02269, -20.13943], [34.02224, -20.13957], [34.02159, -20.13968], [34.02139, -20.13973], [34.02107, -20.13972], [34.02015, -20.13918], [34.01993, -20.13895], [34.01964, -20.13869], [34.01927, -20.13854], [34.01886, -20.13848], [34.01778, -20.13881], [34.01749, -20.13885], [34.01634, -20.13852], [34.01613, -20.13854], [34.01589, -20.13853], [34.01559, -20.13836], [34.01549, -20.13812], [34.01546, -20.13778], [34.01539, -20.13765], [34.0152, -20.13744], [34.01512, -20.1373], [34.01496, -20.13713], [34.01455, -20.13691], [34.0143, -20.13689], [34.01403, -20.13692], [34.01375, -20.13689], [34.01324, -20.13678], [34.01292, -20.13668], [34.01252, -20.13665], [34.01225, -20.13667], [34.01195, -20.13684], [34.01155, -20.13703], [34.01094, -20.13745], [34.01037, -20.13767], [34.01032, -20.13771], [34.0101, -20.1379], [34.00964, -20.13838], [34.00938, -20.13879], [34.00888, -20.13963], [34.00844, -20.14043], [34.00826, -20.14084], [34.00811, -20.14105], [34.00778, -20.14135], [34.00739, -20.14151], [34.00579, -20.14207], [34.00465, -20.14244], [34.00413, -20.14275], [34.00358, -20.14286], [34.0033, -20.14293], [34.003, -20.14294], [34.00258, -20.14292], [34.00227, -20.14294], [34.00186, -20.14305], [34.00139, -20.14316], [34.00079, -20.14337], [34.00052, -20.14339], [33.99942, -20.14333], [33.99902, -20.14334], [33.99835, -20.14347], [33.99807, -20.1435], [33.99738, -20.14331], [33.99698, -20.14324], [33.99649, -20.14301], [33.99619, -20.1429], [33.99607, -20.1429], [33.99591, -20.14294], [33.99567, -20.14296], [33.99545, -20.14295], [33.99527, -20.14292], [33.99504, -20.14284], [33.9948, -20.14279], [33.99459, -20.14277], [33.99439, -20.14279], [33.99338, -20.14264], [33.9924, -20.14252], [33.99152, -20.14244], [33.99093, -20.14242], [33.99024, -20.14251], [33.98974, -20.14262], [33.98818, -20.14328], [33.98695, -20.14375], [33.9851, -20.14392], [33.98437, -20.14397], [33.98352, -20.14406], [33.98271, -20.14428], [33.98183, -20.14436], [33.98131, -20.14439], [33.98094, -20.14457], [33.98003, -20.14491], [33.97926, -20.14522], [33.97857, -20.14554], [33.97771, -20.14605], [33.9769, -20.1466], [33.97631, -20.1471], [33.97592, -20.14735], [33.97539, -20.14755], [33.97415, -20.1479], [33.97282, -20.1482], [33.9721, -20.1483], [33.97128, -20.14847], [33.97069, -20.14865], [33.97023, -20.1488], [33.96972, -20.14887], [33.96819, -20.1489], [33.96545, -20.14909], [33.96476, -20.14918], [33.96407, -20.14929], [33.9633, -20.14944], [33.96279, -20.1496], [33.96156, -20.14986], [33.96072, -20.15012], [33.95959, -20.15053], [33.95884, -20.15066], [33.95826, -20.15088], [33.95758, -20.1512], [33.95721, -20.15133], [33.95693, -20.1513], [33.956, -20.15084], [33.95584, -20.15061], [33.95561, -20.15044], [33.95531, -20.1503], [33.9548, -20.15014], [33.95459, -20.15011], [33.95233, -20.15182], [33.95171, -20.15225], [33.94776, -20.15508], [33.94756, -20.15523], [33.94209, -20.15914], [33.93594, -20.1636], [33.93183, -20.16658], [33.93056, -20.16755], [33.92866, -20.16895], [33.92577, -20.17112], [33.92479, -20.17178], [33.92409, -20.17208], [33.92177, -20.17281], [33.91394, -20.17419], [33.90993, -20.1749], [33.9096, -20.17213], [33.90943, -20.17101], [33.90936, -20.17045], [33.90816, -20.16045], [33.9077, -20.15662], [33.90763, -20.15598], [33.90754, -20.15547], [33.9074, -20.1549], [33.90721, -20.15427], [33.9071, -20.15398], [33.90694, -20.15361], [33.90667, -20.15306], [33.90634, -20.1525], [33.90598, -20.15198], [33.90558, -20.15147], [33.90462, -20.15046], [33.8976, -20.14326], [33.88296, -20.12828], [33.87825, -20.12346], [33.87614, -20.12126], [33.87565, -20.12076], [33.87527, -20.12036], [33.87305, -20.11805], [33.87111, -20.11614], [33.87099, -20.11601], [33.86987, -20.11486], [33.86933, -20.1142], [33.86869, -20.11315], [33.86825, -20.11215], [33.86792, -20.11108], [33.86776, -20.11], [33.86772, -20.10898], [33.86785, -20.10784], [33.86795, -20.10718], [33.8683, -20.10502], [33.87031, -20.09344], [33.87147, -20.08662], [33.87149, -20.08651], [33.87156, -20.08609], [33.8718, -20.08471], [33.87185, -20.08442], [33.87218, -20.08244], [33.8729, -20.07833], [33.87296, -20.07717], [33.8729, -20.07626], [33.87283, -20.07578], [33.87274, -20.07529], [33.8726, -20.07481], [33.87244, -20.07434], [33.87166, -20.07266], [33.87062, -20.07128], [33.86722, -20.06765], [33.86713, -20.06755], [33.86542, -20.06564], [33.86413, -20.06424], [33.85907, -20.05845], [33.85446, -20.05318], [33.85201, -20.05038], [33.85032, -20.04838], [33.84646, -20.04325], [33.84492, -20.04122], [33.84367, -20.03943], [33.84347, -20.03905], [33.84333, -20.03881], [33.84237, -20.03646], [33.84173, -20.03477], [33.84108, -20.03285], [33.841, -20.03255], [33.84083, -20.03155], [33.84078, -20.03053], [33.84079, -20.03024], [33.84089, -20.0293], [33.84115, -20.02814], [33.84162, -20.02679], [33.8417, -20.02655], [33.84228, -20.02494], [33.84245, -20.02433], [33.84251, -20.02388], [33.84253, -20.02356], [33.84252, -20.02325], [33.84246, -20.02273], [33.84235, -20.02227], [33.84224, -20.02195], [33.84187, -20.02106], [33.83983, -20.0167], [33.83966, -20.01629], [33.83918, -20.01514], [33.83865, -20.01319], [33.83647, -20.00429], [33.83611, -20.00325], [33.83572, -20.0025], [33.8354, -20.00196], [33.83501, -20.00138], [33.83453, -20.00085], [33.83323, -19.99953], [33.82796, -19.99436], [33.82522, -19.99163], [33.8224, -19.98894], [33.81718, -19.98384], [33.81636, -19.983], [33.8158, -19.98232], [33.81523, -19.98144], [33.81474, -19.98046], [33.81213, -19.97438], [33.81198, -19.97382], [33.81185, -19.97325], [33.81182, -19.9727], [33.81188, -19.97168], [33.81216, -19.97072], [33.81256, -19.96991], [33.81317, -19.96885], [33.81721, -19.96169], [33.8191, -19.95836], [33.82237, -19.95345], [33.82327, -19.95219], [33.82465, -19.94987], [33.82484, -19.9494], [33.82539, -19.94768], [33.82555, -19.94652], [33.82568, -19.94514], [33.8258, -19.94435], [33.82604, -19.94346], [33.82638, -19.9427], [33.82798, -19.94002], [33.82827, -19.93932], [33.82847, -19.93861], [33.82854, -19.93782], [33.8284, -19.93652], [33.82803, -19.93514], [33.82788, -19.93479], [33.82744, -19.93397], [33.82694, -19.93303], [33.82669, -19.93255], [33.82649, -19.93218], [33.82434, -19.92817], [33.82342, -19.92644], [33.82182, -19.92342], [33.82167, -19.92313], [33.82189, -19.92304], [33.82204, -19.923], [33.82215, -19.92292], [33.82232, -19.92283], [33.82256, -19.92267], [33.82285, -19.92252], [33.82307, -19.92238], [33.8233, -19.92226], [33.82353, -19.92213], [33.82366, -19.92206], [33.82376, -19.92203], [33.82407, -19.92203], [33.82422, -19.92202], [33.82439, -19.92199], [33.82463, -19.9219], [33.8247, -19.9219], [33.82491, -19.92195], [33.8259, -19.92189], [33.82607, -19.92187], [33.82628, -19.92179], [33.82643, -19.92178], [33.82666, -19.92182], [33.82697, -19.92184], [33.82708, -19.9219], [33.82722, -19.92193], [33.82754, -19.92195], [33.82768, -19.92183], [33.8279, -19.92172], [33.82795, -19.92165], [33.82798, -19.92133], [33.82802, -19.92123], [33.82819, -19.92105], [33.82826, -19.92088], [33.82829, -19.92075], [33.82839, -19.92063], [33.82867, -19.92033], [33.82874, -19.92032], [33.82901, -19.92045], [33.82912, -19.92047], [33.8293, -19.92048], [33.82948, -19.92037], [33.8301, -19.91988], [33.83294, -19.91796], [33.83334, -19.91756], [33.8342, -19.91672], [33.83504, -19.91585], [33.83556, -19.91533], [33.83568, -19.91526], [33.83751, -19.91332], [33.83831, -19.91254], [33.83877, -19.912], [33.83889, -19.91194], [33.83916, -19.91192], [33.83932, -19.91185], [33.83971, -19.91143], [33.83992, -19.91115], [33.84017, -19.91072], [33.8403, -19.91019], [33.84032, -19.91003], [33.84043, -19.9098], [33.84081, -19.9093], [33.84135, -19.90854], [33.84139, -19.90845], [33.84145, -19.90825], [33.8415, -19.90818], [33.84175, -19.90807], [33.84212, -19.90768], [33.84234, -19.90738], [33.84257, -19.90711], [33.84317, -19.90631], [33.84356, -19.90585], [33.84371, -19.90569], [33.84404, -19.90527], [33.84439, -19.90487], [33.84505, -19.90406], [33.84545, -19.90363], [33.84563, -19.90336], [33.84624, -19.9026], [33.84715, -19.90137], [33.84744, -19.90096], [33.84786, -19.9003], [33.84829, -19.89954], [33.84843, -19.89921], [33.84864, -19.89884], [33.84875, -19.89873], [33.84887, -19.89859], [33.84898, -19.89838], [33.8496, -19.89737], [33.84965, -19.89713], [33.84974, -19.89693], [33.84992, -19.89661], [33.85053, -19.89577], [33.85104, -19.89514], [33.8513, -19.89484], [33.85149, -19.89458], [33.85178, -19.89414], [33.85202, -19.89382], [33.85222, -19.89364], [33.85229, -19.89354], [33.85235, -19.89343], [33.85302, -19.89265], [33.85399, -19.89139], [33.85452, -19.8906], [33.85494, -19.89003], [33.85513, -19.88979], [33.85536, -19.88935], [33.85563, -19.88888], [33.85633, -19.88752], [33.85663, -19.8871], [33.85685, -19.88685], [33.85694, -19.8867], [33.85719, -19.88609], [33.85744, -19.8857], [33.8578, -19.88521], [33.85793, -19.88502], [33.85819, -19.88473], [33.85844, -19.88435], [33.85861, -19.88414], [33.85919, -19.88352], [33.85952, -19.88313], [33.86028, -19.88219], [33.86089, -19.8815], [33.86128, -19.88099], [33.86141, -19.88089], [33.86152, -19.88088], [33.8619, -19.88088], [33.86195, -19.88084], [33.86201, -19.88076], [33.86217, -19.88], [33.86229, -19.87976], [33.86246, -19.87951], [33.86299, -19.87885], [33.86322, -19.87853], [33.86371, -19.87796], [33.86391, -19.8777], [33.86426, -19.87722], [33.86457, -19.87674], [33.86481, -19.87629], [33.86493, -19.87614], [33.86512, -19.87596], [33.86527, -19.87572], [33.86542, -19.87538], [33.86557, -19.87517], [33.86569, -19.87488], [33.86634, -19.87366], [33.86665, -19.87309], [33.86679, -19.87279], [33.86689, -19.87253], [33.86726, -19.87181], [33.86747, -19.87133], [33.86769, -19.87089], [33.86782, -19.87039], [33.8678, -19.8701], [33.86789, -19.86937], [33.86786, -19.86903], [33.86781, -19.86891], [33.86778, -19.86878], [33.8678, -19.86865], [33.86787, -19.86854], [33.86808, -19.86836], [33.8684, -19.86802], [33.86844, -19.86793], [33.86848, -19.86786], [33.86852, -19.8677], [33.86859, -19.86763], [33.86867, -19.86758], [33.86881, -19.86743], [33.8694, -19.86659], [33.87307, -19.86116], [33.87457, -19.8588], [33.87574, -19.85731], [33.8765, -19.85615], [33.87996, -19.8503], [33.88067, -19.84927], [33.88139, -19.84811], [33.88206, -19.84709], [33.88254, -19.84652], [33.88255, -19.84638], [33.88276, -19.84596], [33.88292, -19.84589], [33.88316, -19.84571], [33.88351, -19.84522], [33.88414, -19.84423], [33.88421, -19.84397], [33.88417, -19.84366], [33.88418, -19.84359], [33.88423, -19.84354], [33.88472, -19.84337], [33.88495, -19.84326], [33.88535, -19.84266], [33.88736, -19.83944], [33.88931, -19.83712], [33.89054, -19.83575], [33.89336, -19.83311], [33.89405, -19.8323], [33.8955, -19.83032], [33.89507, -19.83002], [33.89498, -19.82977], [33.89528, -19.8294], [33.89596, -19.82945], [33.89617, -19.82936], [33.89634, -19.8292], [33.89673, -19.82857], [33.89717, -19.82786], [33.89735, -19.82749], [33.89821, -19.82609], [33.89872, -19.82548], [33.89915, -19.82487], [33.89939, -19.82461], [33.89968, -19.82425], [33.89994, -19.82398], [33.90024, -19.82379], [33.90129, -19.82285], [33.90252, -19.82184], [33.90294, -19.82142], [33.90356, -19.82085], [33.9054, -19.81913], [33.90579, -19.81868], [33.90587, -19.81854], [33.90588, -19.81846], [33.90582, -19.81842], [33.9057, -19.81841], [33.9056, -19.81836], [33.90531, -19.8176], [33.905, -19.81727], [33.90503, -19.81674], [33.90524, -19.8166], [33.90546, -19.81655], [33.90595, -19.81664], [33.90609, -19.81664], [33.90623, -19.81658], [33.90635, -19.81645], [33.90666, -19.81629], [33.90682, -19.81595], [33.90682, -19.81581], [33.90695, -19.81547], [33.90711, -19.81536], [33.90729, -19.81529], [33.90743, -19.81515], [33.90759, -19.81486], [33.9077, -19.81474], [33.90792, -19.81471], [33.90802, -19.81466], [33.90844, -19.8136], [33.90841, -19.81351], [33.90833, -19.81339], [33.90837, -19.81324], [33.90872, -19.81263], [33.90897, -19.81233], [33.90948, -19.81151], [33.90973, -19.81119], [33.911, -19.80934], [33.91191, -19.80822], [33.91355, -19.80605], [33.91378, -19.80568], [33.91461, -19.80443], [33.91466, -19.8043], [33.91476, -19.80417], [33.91512, -19.80387], [33.91567, -19.80314], [33.91678, -19.80146], [33.91734, -19.80076], [33.91839, -19.79936], [33.91852, -19.7993], [33.91869, -19.79929], [33.91884, -19.79931], [33.9194, -19.79894], [33.91998, -19.79861], [33.92018, -19.79846], [33.9203, -19.79829], [33.92039, -19.7981], [33.92042, -19.79793], [33.92059, -19.79755], [33.92072, -19.79722], [33.92076, -19.79679], [33.92078, -19.79627], [33.92105, -19.79583], [33.92123, -19.79548], [33.92154, -19.79501], [33.92158, -19.7948], [33.92151, -19.79461], [33.9212, -19.79438], [33.92073, -19.79398], [33.92075, -19.79369], [33.92071, -19.79333], [33.92079, -19.79324], [33.9209, -19.7932], [33.92104, -19.79322], [33.92136, -19.79348], [33.92175, -19.79363], [33.92212, -19.79385], [33.92223, -19.79382], [33.92236, -19.79362], [33.92273, -19.79287], [33.92295, -19.79246], [33.92312, -19.79239], [33.92325, -19.79229], [33.92336, -19.79215], [33.92486, -19.79239], [33.92652, -19.79275], [33.92714, -19.79275], [33.92754, -19.79278], [33.92787, -19.79284], [33.92919, -19.79283], [33.92996, -19.79282], [33.93085, -19.79292], [33.93131, -19.79302], [33.9326, -19.79337], [33.93366, -19.79361], [33.93405, -19.79363], [33.93441, -19.79362], [33.93493, -19.79352], [33.93504, -19.79348], [33.93654, -19.79342], [33.93682, -19.79347], [33.93717, -19.79361], [33.93763, -19.79391], [33.93815, -19.79402], [33.93876, -19.79431], [33.94004, -19.79499], [33.94055, -19.79524], [33.94119, -19.79537], [33.9415, -19.79551], [33.942, -19.79558], [33.94219, -19.79563], [33.9429, -19.79566], [33.94418, -19.79563], [33.94448, -19.79567], [33.94537, -19.79563], [33.94565, -19.79571], [33.9463, -19.79568], [33.94662, -19.79572], [33.94745, -19.79576], [33.94788, -19.79579], [33.94818, -19.79584], [33.94823, -19.79584], [33.9484, -19.79582], [33.9486, -19.79585], [33.94874, -19.79598], [33.94898, -19.79608], [33.94932, -19.79625], [33.9495, -19.79629], [33.9497, -19.79629], [33.95011, -19.79623], [33.95068, -19.79638], [33.95109, -19.79653], [33.95129, -19.79667], [33.95261, -19.79702], [33.9528, -19.79705], [33.95296, -19.79712], [33.95302, -19.79712], [33.95317, -19.79717], [33.95352, -19.79729], [33.95387, -19.79745], [33.95559, -19.79797], [33.95571, -19.79799], [33.95585, -19.79797], [33.95597, -19.798], [33.95614, -19.79805], [33.95636, -19.79807], [33.95723, -19.79827], [33.95825, -19.79856], [33.95843, -19.79857], [33.95883, -19.79864], [33.95952, -19.79883], [33.95989, -19.79882], [33.96061, -19.79904], [33.96115, -19.79936], [33.96223, -19.80012], [33.963, -19.80074], [33.96335, -19.80105], [33.96379, -19.80153], [33.96453, -19.8023], [33.96519, -19.80321], [33.9663, -19.80473], [33.96747, -19.80623], [33.96771, -19.80702], [33.96788, -19.8079], [33.96823, -19.80955], [33.96829, -19.80974], [33.96836, -19.80999], [33.96961, -19.81265], [33.96966, -19.81272], [33.96996, -19.81324], [33.97024, -19.81363], [33.97107, -19.81464], [33.97163, -19.81521], [33.9722, -19.81572], [33.97379, -19.81704], [33.97466, -19.81774], [33.97636, -19.81919], [33.97915, -19.8205], [33.97983, -19.82074], [33.98019, -19.82083], [33.98046, -19.82085], [33.98071, -19.82092], [33.98085, -19.82094], [33.98237, -19.82115], [33.98279, -19.82121], [33.9829, -19.82122], [33.98312, -19.82126], [33.98339, -19.82129], [33.98408, -19.82117], [33.98453, -19.82103], [33.9847, -19.82098], [33.98518, -19.82078], [33.98581, -19.82052], [33.98557, -19.82016], [33.98554, -19.82012]], "type": "LineString"}, "properties": {"color": "red"}, "type": "Feature"}], "type": "FeatureCollection"});\n", + " geo_json_537f9ee75ae4ed436042b498f51c3b01_add({"features": [{"geometry": {"coordinates": [[34.83556, -19.81795], [34.83819, -19.81844], [34.83853, -19.81854], [34.83953, -19.81912], [34.84032, -19.81949], [34.8397, -19.82038], [34.83969, -19.82046], [34.83972, -19.82053], [34.84011, -19.82076], [34.83903, -19.8224], [34.83771, -19.82436], [34.83749, -19.82463], [34.83719, -19.82494], [34.83723, -19.82556], [34.83747, -19.82571], [34.83701, -19.82639], [34.83699, -19.82642], [34.83707, -19.82659], [34.83719, -19.8267], [34.8373, -19.82676], [34.83758, -19.82692], [34.83786, -19.82706], [34.83822, -19.82728], [34.83839, -19.82744], [34.83846, -19.82765], [34.83858, -19.82772], [34.83886, -19.82788], [34.83918, -19.82809], [34.83945, -19.82825], [34.8396, -19.82833], [34.8398, -19.82829], [34.83988, -19.82829], [34.83998, -19.82831], [34.84031, -19.82851], [34.84083, -19.82882], [34.84113, -19.829], [34.84125, -19.82907], [34.84175, -19.82936], [34.84186, -19.82943], [34.84281, -19.83003], [34.84303, -19.83016], [34.84318, -19.83026], [34.8434, -19.8304], [34.84348, -19.83045], [34.84368, -19.83054], [34.84376, -19.83051], [34.84385, -19.8305], [34.84395, -19.83038], [34.84422, -19.83006], [34.8443, -19.82994], [34.84464, -19.82947], [34.84482, -19.82921], [34.84503, -19.82892], [34.84543, -19.82835], [34.84552, -19.82822], [34.84559, -19.82812], [34.84652, -19.82679], [34.84673, -19.82649], [34.84715, -19.82588], [34.84874, -19.82362], [34.84892, -19.82336], [34.84904, -19.82319], [34.84928, -19.82285], [34.85027, -19.82143], [34.85077, -19.82073], [34.85121, -19.82011], [34.85153, -19.81965], [34.8526, -19.81812], [34.85283, -19.81779], [34.85309, -19.81744], [34.85493, -19.81479], [34.85594, -19.81339], [34.85685, -19.81209], [34.85788, -19.81062], [34.85871, -19.8094], [34.85965, -19.8081], [34.86122, -19.8059], [34.86254, -19.8041], [34.86452, -19.80136], [34.86739, -19.79749], [34.86777, -19.79701], [34.86948, -19.79469], [34.86995, -19.79402], [34.87074, -19.79293], [34.87154, -19.79186], [34.87238, -19.79071], [34.87689, -19.7846], [34.877, -19.78431], [34.87751, -19.78334], [34.87781, -19.78271], [34.87789, -19.78262], [34.87806, -19.78249], [34.8781, -19.78254], [34.87858, -19.78296], [34.8786, -19.78298], [34.87914, -19.78347], [34.87961, -19.78395], [34.88036, -19.78461], [34.88121, -19.7854], [34.8819, -19.78603], [34.88198, -19.78609], [34.88219, -19.78628], [34.88296, -19.78698], [34.88344, -19.78742], [34.88367, -19.78765], [34.88467, -19.78858], [34.88532, -19.7892], [34.88628, -19.79008], [34.88776, -19.79144], [34.88779, -19.79146], [34.88847, -19.79209], [34.88966, -19.79319], [34.89038, -19.79387], [34.89123, -19.79466], [34.89211, -19.79549], [34.89249, -19.79583], [34.89401, -19.79724], [34.89359, -19.79766], [34.89331, -19.79788], [34.89312, -19.79809], [34.89229, -19.79925], [34.89205, -19.79959], [34.89166, -19.80013], [34.89162, -19.80019], [34.89158, -19.80023], [34.89146, -19.80042], [34.89125, -19.80075], [34.89104, -19.80103], [34.89083, -19.80138], [34.89082, -19.8015], [34.89071, -19.80165], [34.89082, -19.8015], [34.89083, -19.80138], [34.89104, -19.80103], [34.89125, -19.80075], [34.89146, -19.80042], [34.89158, -19.80023], [34.89162, -19.80019], [34.89166, -19.80013], [34.89205, -19.79959], [34.89229, -19.79925], [34.89312, -19.79809], [34.89331, -19.79788], [34.89359, -19.79766], [34.89401, -19.79724], [34.89249, -19.79583], [34.89211, -19.79549], [34.89123, -19.79466], [34.89038, -19.79387], [34.88966, -19.79319], [34.88847, -19.79209], [34.88779, -19.79146], [34.88776, -19.79144], [34.88628, -19.79008], [34.88532, -19.7892], [34.88467, -19.78858], [34.88367, -19.78765], [34.88344, -19.78742], [34.88296, -19.78698], [34.88219, -19.78628], [34.88198, -19.78609], [34.8819, -19.78603], [34.88121, -19.7854], [34.88036, -19.78461], [34.87961, -19.78395], [34.87914, -19.78347], [34.8786, -19.78298], [34.87858, -19.78296], [34.8781, -19.78254], [34.87806, -19.78249], [34.87809, -19.78245], [34.87813, -19.78231], [34.87816, -19.78225], [34.87827, -19.78214], [34.87876, -19.78167], [34.87973, -19.78078], [34.87986, -19.78061], [34.88065, -19.77959], [34.88199, -19.77768], [34.88226, -19.77722], [34.88237, -19.777], [34.88259, -19.77656], [34.88276, -19.77614], [34.88301, -19.77539], [34.88313, -19.77494], [34.88319, -19.77463], [34.88329, -19.77373], [34.88332, -19.77307], [34.8833, -19.77263], [34.88323, -19.77194], [34.88307, -19.77115], [34.88296, -19.77073], [34.88273, -19.77], [34.8825, -19.76937], [34.88222, -19.76867], [34.88217, -19.76853], [34.88197, -19.76804], [34.88193, -19.76793], [34.88149, -19.76667], [34.88092, -19.76519], [34.8807, -19.76461], [34.88028, -19.76346], [34.8799, -19.76256], [34.87969, -19.76203], [34.8795, -19.76149], [34.87909, -19.76043], [34.87859, -19.75907], [34.87847, -19.75881], [34.87822, -19.75811], [34.87807, -19.75775], [34.87794, -19.75739], [34.87781, -19.75706], [34.87747, -19.75614], [34.87722, -19.75557], [34.87718, -19.75547], [34.87712, -19.75528], [34.8767, -19.75413], [34.8766, -19.75387], [34.87617, -19.75278], [34.87599, -19.75238], [34.87561, -19.75164], [34.87544, -19.75138], [34.87516, -19.75096], [34.87474, -19.75041], [34.87457, -19.75021], [34.87415, -19.74978], [34.87368, -19.74932], [34.8732, -19.74894], [34.87292, -19.74872], [34.87216, -19.74813], [34.87141, -19.74757], [34.87031, -19.74668], [34.87013, -19.74654], [34.8689, -19.74554], [34.86854, -19.74524], [34.86833, -19.74506], [34.86717, -19.74418], [34.86707, -19.74409], [34.86588, -19.74314], [34.86562, -19.74296], [34.86476, -19.7423], [34.8641, -19.74185], [34.86375, -19.74164], [34.86329, -19.7414], [34.8628, -19.74116], [34.86232, -19.74095], [34.862, -19.74085], [34.86134, -19.74069], [34.86016, -19.74045], [34.85893, -19.74024], [34.858, -19.74007], [34.85712, -19.7399], [34.85666, -19.73982], [34.85497, -19.73951], [34.85341, -19.73928], [34.8528, -19.73915], [34.85169, -19.73894], [34.85083, -19.73879], [34.84769, -19.73823], [34.84441, -19.73766], [34.84416, -19.73762], [34.84299, -19.73742], [34.84048, -19.73697], [34.83812, -19.73655], [34.83612, -19.73622], [34.834, -19.7358], [34.83346, -19.73567], [34.8325, -19.73532], [34.83191, -19.73505], [34.83128, -19.73474], [34.83035, -19.73424], [34.827, -19.73241], [34.8259, -19.73181], [34.82526, -19.73148], [34.82387, -19.73072], [34.82299, -19.73025], [34.82264, -19.73005], [34.82162, -19.72949], [34.8213, -19.72934], [34.82004, -19.72863], [34.81971, -19.72847], [34.8183, -19.72768], [34.81752, -19.72727], [34.8168, -19.72687], [34.81644, -19.72669], [34.81539, -19.7261], [34.814, -19.72534], [34.81371, -19.72519], [34.81252, -19.72455], [34.8115, -19.724], [34.81043, -19.7234], [34.80981, -19.72309], [34.8093, -19.72281], [34.80894, -19.72263], [34.80852, -19.72237], [34.80822, -19.72222], [34.80802, -19.72211], [34.80782, -19.72197], [34.80728, -19.72155], [34.80701, -19.72131], [34.80579, -19.72009], [34.8047, -19.71903], [34.80393, -19.71825], [34.8032, -19.71751], [34.80232, -19.71661], [34.80086, -19.71518], [34.79889, -19.71319], [34.79604, -19.71036], [34.79538, -19.70967], [34.79497, -19.70928], [34.79022, -19.70448], [34.78927, -19.70353], [34.78894, -19.70319], [34.78819, -19.70244], [34.78667, -19.70098], [34.78556, -19.69984], [34.78314, -19.69746], [34.78138, -19.69557], [34.7795, -19.69346], [34.77872, -19.69261], [34.77826, -19.69208], [34.77809, -19.69186], [34.77796, -19.69167], [34.77776, -19.6912], [34.7777, -19.69096], [34.77766, -19.69063], [34.77765, -19.6904], [34.77772, -19.68934], [34.77778, -19.68884], [34.77785, -19.68828], [34.77798, -19.68692], [34.77811, -19.68532], [34.77852, -19.68158], [34.77867, -19.68005], [34.77891, -19.67785], [34.77903, -19.6766], [34.77917, -19.67562], [34.7793, -19.67518], [34.77946, -19.67449], [34.77956, -19.67393], [34.77965, -19.67252], [34.77979, -19.67142], [34.77985, -19.67104], [34.78019, -19.66938], [34.78023, -19.66901], [34.78022, -19.6681], [34.78015, -19.66759], [34.78006, -19.6673], [34.77997, -19.667], [34.77979, -19.66653], [34.7796, -19.66613], [34.7794, -19.66582], [34.77925, -19.66559], [34.77885, -19.66508], [34.77854, -19.66474], [34.77669, -19.66291], [34.77325, -19.65946], [34.7711, -19.65733], [34.77055, -19.65677], [34.77017, -19.65637], [34.76772, -19.65392], [34.76717, -19.65338], [34.76695, -19.65314], [34.76584, -19.65202], [34.76553, -19.6517], [34.76393, -19.65009], [34.76339, -19.64956], [34.76286, -19.64901], [34.76235, -19.64851], [34.76228, -19.64844], [34.76088, -19.64703], [34.75849, -19.6446], [34.75706, -19.64319], [34.75703, -19.64315], [34.7555, -19.64155], [34.75419, -19.64026], [34.75341, -19.63953], [34.75306, -19.63916], [34.75278, -19.63887], [34.75231, -19.63827], [34.75165, -19.63875], [34.75072, -19.63943], [34.74971, -19.64021], [34.74968, -19.64024], [34.74957, -19.64037], [34.74933, -19.64069], [34.74826, -19.64237], [34.74802, -19.64272], [34.74758, -19.64209], [34.74755, -19.64204], [34.74726, -19.64159], [34.74722, -19.64149], [34.74719, -19.64143], [34.74703, -19.64128], [34.74693, -19.64109], [34.74674, -19.6408], [34.74635, -19.64029], [34.74597, -19.63976], [34.74469, -19.63809], [34.74445, -19.63765], [34.74413, -19.63716], [34.7434, -19.63607], [34.743, -19.63555], [34.74285, -19.63527], [34.74265, -19.63497], [34.74228, -19.63449], [34.74189, -19.63401], [34.74155, -19.63347], [34.7411, -19.63283], [34.74066, -19.63219], [34.74016, -19.63137], [34.74, -19.63117], [34.7399, -19.63108], [34.7398, -19.63098], [34.73902, -19.62978], [34.73818, -19.62865], [34.73791, -19.62822], [34.73746, -19.62759], [34.73712, -19.62707], [34.7371, -19.62704], [34.73674, -19.62655], [34.73654, -19.62636], [34.73648, -19.62629], [34.73606, -19.62556], [34.73603, -19.62551], [34.73555, -19.62498], [34.7351, -19.62451], [34.73467, -19.62404], [34.73449, -19.62382], [34.73442, -19.62376], [34.73413, -19.62359], [34.73392, -19.62343], [34.73369, -19.62322], [34.73323, -19.62279], [34.73225, -19.62195], [34.73116, -19.62098], [34.73073, -19.6205], [34.72997, -19.6199], [34.72872, -19.61879], [34.72863, -19.61878], [34.72856, -19.61879], [34.72849, -19.61883], [34.72793, -19.61923], [34.72789, -19.61928], [34.7278, -19.61943], [34.72772, -19.61954], [34.7276, -19.61963], [34.72746, -19.61973], [34.72701, -19.61993], [34.72677, -19.62007], [34.72659, -19.6202], [34.72623, -19.62059], [34.72577, -19.62103], [34.72562, -19.62122], [34.72546, -19.62156], [34.72529, -19.62215], [34.72524, -19.62228], [34.72502, -19.6225], [34.72464, -19.62275], [34.72445, -19.62285], [34.72424, -19.62292], [34.72408, -19.62294], [34.72396, -19.62293], [34.72378, -19.6229], [34.72347, -19.62298], [34.72323, -19.6231], [34.72259, -19.62356], [34.72119, -19.62449], [34.72061, -19.62508], [34.72014, -19.62546], [34.7198, -19.6257], [34.71975, -19.62579], [34.7197, -19.62593], [34.71968, -19.62616], [34.71963, -19.62625], [34.71948, -19.62633], [34.7194, -19.62645], [34.7191, -19.6267], [34.71905, -19.62676], [34.71883, -19.62733], [34.71878, -19.62745], [34.71872, -19.62753], [34.71867, -19.62758], [34.7186, -19.62761], [34.71816, -19.62777], [34.71755, -19.62823], [34.71728, -19.62848], [34.71731, -19.62856], [34.71734, -19.62874], [34.71734, -19.62883], [34.71732, -19.62896], [34.71697, -19.62945], [34.71732, -19.62896], [34.71734, -19.62883], [34.71734, -19.62874], [34.71731, -19.62856], [34.71728, -19.62848], [34.71755, -19.62823], [34.71816, -19.62777], [34.7186, -19.62761], [34.71867, -19.62758], [34.71872, -19.62753], [34.71878, -19.62745], [34.71883, -19.62733], [34.71905, -19.62676], [34.7191, -19.6267], [34.7194, -19.62645], [34.71948, -19.62633], [34.71963, -19.62625], [34.71968, -19.62616], [34.7197, -19.62593], [34.71975, -19.62579], [34.7198, -19.6257], [34.72014, -19.62546], [34.72061, -19.62508], [34.72119, -19.62449], [34.72259, -19.62356], [34.72323, -19.6231], [34.72347, -19.62298], [34.72378, -19.6229], [34.72396, -19.62293], [34.72408, -19.62294], [34.72424, -19.62292], [34.72445, -19.62285], [34.72464, -19.62275], [34.72502, -19.6225], [34.72524, -19.62228], [34.72529, -19.62215], [34.72546, -19.62156], [34.72562, -19.62122], [34.72577, -19.62103], [34.72623, -19.62059], [34.72659, -19.6202], [34.72677, -19.62007], [34.72701, -19.61993], [34.72746, -19.61973], [34.7276, -19.61963], [34.72772, -19.61954], [34.7278, -19.61943], [34.72789, -19.61928], [34.72793, -19.61923], [34.72849, -19.61883], [34.72856, -19.61879], [34.72863, -19.61878], [34.72872, -19.61879], [34.72997, -19.6199], [34.73073, -19.6205], [34.73116, -19.62098], [34.73225, -19.62195], [34.73323, -19.62279], [34.73491, -19.62145], [34.73504, -19.62135], [34.7359, -19.62068], [34.73665, -19.62008], [34.73677, -19.61998], [34.73798, -19.61902], [34.73935, -19.61797], [34.73966, -19.6177], [34.73975, -19.61763], [34.74016, -19.61732], [34.74036, -19.61717], [34.74065, -19.61691], [34.74095, -19.61791], [34.74099, -19.61795], [34.74111, -19.61798], [34.74129, -19.61791], [34.74139, -19.6181], [34.74129, -19.61791], [34.74173, -19.61779], [34.74188, -19.61774], [34.7428, -19.61749], [34.74248, -19.61638], [34.74221, -19.61549], [34.74405, -19.61499], [34.74532, -19.61464], [34.74555, -19.6142], [34.74545, -19.61364], [34.74528, -19.61273], [34.74527, -19.61263], [34.74509, -19.61173], [34.74496, -19.61136], [34.74471, -19.6108], [34.74429, -19.61006], [34.74414, -19.60972], [34.74393, -19.6092], [34.74329, -19.60742], [34.74305, -19.60682], [34.7426, -19.60548], [34.74149, -19.60233], [34.74065, -19.59974], [34.73975, -19.59724], [34.73888, -19.59477], [34.73851, -19.5937], [34.73813, -19.59257], [34.73784, -19.59179], [34.73775, -19.59153], [34.73772, -19.59145], [34.73732, -19.59031], [34.73691, -19.58902], [34.73645, -19.58779], [34.73626, -19.58723], [34.73497, -19.58351], [34.73425, -19.58157], [34.73406, -19.58114], [34.73395, -19.58094], [34.73355, -19.58038], [34.73317, -19.58001], [34.73277, -19.57971], [34.7324, -19.57951], [34.73172, -19.57926], [34.73115, -19.57914], [34.73039, -19.57907], [34.72892, -19.57893], [34.72692, -19.57876], [34.72665, -19.57873], [34.72622, -19.57862], [34.72593, -19.57853], [34.72557, -19.5784], [34.72534, -19.57828], [34.7248, -19.57797], [34.72449, -19.57778], [34.72363, -19.57727], [34.72296, -19.57685], [34.72259, -19.57664], [34.72208, -19.57632], [34.72178, -19.57613], [34.72123, -19.5758], [34.72112, -19.57573], [34.72084, -19.57557], [34.71974, -19.57491], [34.71947, -19.57471], [34.71832, -19.57402], [34.71776, -19.57368], [34.7173, -19.5734], [34.71625, -19.57279], [34.71562, -19.5726], [34.71543, -19.57256], [34.71512, -19.57251], [34.71443, -19.57248], [34.71424, -19.57251], [34.71276, -19.5727], [34.71258, -19.57272], [34.711, -19.5729], [34.70802, -19.57325], [34.7057, -19.57351], [34.70442, -19.57363], [34.70411, -19.57363], [34.7038, -19.5736], [34.70346, -19.57353], [34.70316, -19.57344], [34.70279, -19.5733], [34.70242, -19.57313], [34.69915, -19.57157], [34.69884, -19.57143], [34.69644, -19.57025], [34.69439, -19.56925], [34.69192, -19.56804], [34.68681, -19.5657], [34.68555, -19.56521], [34.68365, -19.56457], [34.68344, -19.5645], [34.67938, -19.56319], [34.67795, -19.56275], [34.67513, -19.56185], [34.67395, -19.56147], [34.67371, -19.56139], [34.67183, -19.56079], [34.66935, -19.56001], [34.66916, -19.55995], [34.66761, -19.55947], [34.6653, -19.55873], [34.66345, -19.55815], [34.66135, -19.55749], [34.66053, -19.55723], [34.66031, -19.55716], [34.65822, -19.55647], [34.65784, -19.55635], [34.65465, -19.55531], [34.6535, -19.55493], [34.65282, -19.55464], [34.65218, -19.55424], [34.64742, -19.55008], [34.6471, -19.5498], [34.64548, -19.54827], [34.64402, -19.54685], [34.64199, -19.54485], [34.64009, -19.54296], [34.63894, -19.54183], [34.63849, -19.54138], [34.63818, -19.54108], [34.63727, -19.54017], [34.63656, -19.53947], [34.63584, -19.53875], [34.63532, -19.53823], [34.63458, -19.5375], [34.63378, -19.5367], [34.63359, -19.53652], [34.63158, -19.53449], [34.63043, -19.53333], [34.63004, -19.53291], [34.62961, -19.53241], [34.62845, -19.53072], [34.62806, -19.53012], [34.62762, -19.52948], [34.6248, -19.52521], [34.62459, -19.52488], [34.6243, -19.52444], [34.62427, -19.52438], [34.62404, -19.52404], [34.62389, -19.52383], [34.62385, -19.52372], [34.62368, -19.52344], [34.62187, -19.52052], [34.62179, -19.5204], [34.62108, -19.51925], [34.62012, -19.5177], [34.61905, -19.51605], [34.61882, -19.51577], [34.61853, -19.51548], [34.61817, -19.51517], [34.61657, -19.51405], [34.61528, -19.51308], [34.61116, -19.51011], [34.61104, -19.51002], [34.60924, -19.5087], [34.60755, -19.50747], [34.60631, -19.50657], [34.60557, -19.50607], [34.6054, -19.50595], [34.60245, -19.50385], [34.60091, -19.50283], [34.60007, -19.50225], [34.59937, -19.50177], [34.59746, -19.50051], [34.59692, -19.50015], [34.5965, -19.49988], [34.59614, -19.49965], [34.59549, -19.49923], [34.59506, -19.49895], [34.59501, -19.49892], [34.5947, -19.49873], [34.59425, -19.49839], [34.59386, -19.49809], [34.59324, -19.49746], [34.5929, -19.49693], [34.59231, -19.49601], [34.59208, -19.49569], [34.59171, -19.49526], [34.59141, -19.495], [34.5905, -19.4944], [34.58704, -19.49187], [34.58538, -19.49068], [34.58373, -19.48949], [34.57981, -19.48658], [34.57586, -19.48372], [34.57461, -19.48286], [34.57128, -19.48043], [34.57076, -19.48004], [34.5704, -19.47971], [34.57012, -19.47942], [34.56967, -19.47892], [34.56286, -19.47044], [34.56174, -19.46905], [34.56063, -19.46768], [34.55953, -19.4663], [34.55757, -19.46392], [34.55711, -19.46345], [34.55607, -19.46221], [34.5524, -19.45793], [34.5516, -19.45701], [34.55091, -19.45622], [34.54899, -19.45401], [34.54852, -19.45353], [34.54828, -19.45333], [34.5478, -19.45295], [34.54746, -19.45273], [34.54726, -19.45261], [34.54674, -19.45235], [34.54626, -19.45214], [34.54561, -19.45194], [34.54531, -19.45186], [34.54458, -19.45174], [34.54353, -19.4517], [34.54209, -19.45173], [34.54151, -19.4517], [34.54131, -19.45172], [34.54103, -19.45172], [34.54056, -19.45167], [34.54024, -19.4516], [34.53988, -19.45148], [34.5397, -19.4514], [34.53927, -19.45116], [34.53898, -19.45094], [34.53858, -19.45055], [34.53832, -19.4502], [34.53821, -19.45], [34.53808, -19.44975], [34.53761, -19.44872], [34.53721, -19.44789], [34.53716, -19.44774], [34.53706, -19.44751], [34.5369, -19.4472], [34.53671, -19.44691], [34.53649, -19.44664], [34.53625, -19.44639], [34.53598, -19.44616], [34.53554, -19.44586], [34.53522, -19.4457], [34.53489, -19.44556], [34.53455, -19.44545], [34.53419, -19.44537], [34.53401, -19.44535], [34.53344, -19.44532], [34.53287, -19.44536], [34.52907, -19.44609], [34.52812, -19.44621], [34.52739, -19.44624], [34.5269, -19.44624], [34.52637, -19.44619], [34.52551, -19.44607], [34.5248, -19.44591], [34.52378, -19.44557], [34.52287, -19.44519], [34.52167, -19.44475], [34.52039, -19.44426], [34.51582, -19.44242], [34.51526, -19.44221], [34.51234, -19.44094], [34.51167, -19.44066], [34.50599, -19.43821], [34.50582, -19.43813], [34.49545, -19.4337], [34.47752, -19.426], [34.47277, -19.42396], [34.47271, -19.42394], [34.46171, -19.41922], [34.4581, -19.41764], [34.45654, -19.41699], [34.45591, -19.41671], [34.45584, -19.41668], [34.45474, -19.41622], [34.45198, -19.41503], [34.45092, -19.41457], [34.45056, -19.41441], [34.45012, -19.41422], [34.44973, -19.41406], [34.44929, -19.41387], [34.44916, -19.41381], [34.44873, -19.41363], [34.44824, -19.41341], [34.4482, -19.4134], [34.44817, -19.41338], [34.44683, -19.41282], [34.44675, -19.41278], [34.4459, -19.41242], [34.44558, -19.41228], [34.44499, -19.41203], [34.44378, -19.41151], [34.44348, -19.41137], [34.44347, -19.41137], [34.44331, -19.4113], [34.443, -19.41114], [34.44254, -19.41087], [34.44202, -19.41047], [34.44136, -19.40998], [34.44129, -19.40992], [34.43923, -19.40821], [34.43688, -19.40634], [34.43543, -19.40515], [34.43445, -19.40436], [34.43442, -19.40434], [34.43399, -19.404], [34.43383, -19.40387], [34.43206, -19.40249], [34.43111, -19.40172], [34.43066, -19.40135], [34.4301, -19.40089], [34.4292, -19.40004], [34.42911, -19.39994], [34.4283, -19.39897], [34.42781, -19.39842], [34.42723, -19.39787], [34.42685, -19.39758], [34.42659, -19.39738], [34.42615, -19.39709], [34.42548, -19.39673], [34.42529, -19.39663], [34.42413, -19.39597], [34.424, -19.3959], [34.4234, -19.39547], [34.42033, -19.39299], [34.42018, -19.39287], [34.41688, -19.39022], [34.41669, -19.39007], [34.41484, -19.38858], [34.41402, -19.38792], [34.40748, -19.38266], [34.40691, -19.38219], [34.40666, -19.382], [34.40656, -19.38192], [34.40618, -19.38161], [34.40442, -19.38018], [34.40296, -19.379], [34.40238, -19.37854], [34.4019, -19.37815], [34.40151, -19.37784], [34.40146, -19.3778], [34.40074, -19.37722], [34.40063, -19.37713], [34.40017, -19.37676], [34.39975, -19.37643], [34.39929, -19.37606], [34.39547, -19.37298], [34.39541, -19.37293], [34.39425, -19.372], [34.38542, -19.36485], [34.38046, -19.36087], [34.37877, -19.35952], [34.37724, -19.35826], [34.37672, -19.35784], [34.3712, -19.35339], [34.3704, -19.3528], [34.3696, -19.35226], [34.36887, -19.35182], [34.36799, -19.35135], [34.36573, -19.35039], [34.36475, -19.35002], [34.36362, -19.34958], [34.36349, -19.34953], [34.36296, -19.34932], [34.3598, -19.34811], [34.35974, -19.34809], [34.3589, -19.34777], [34.35874, -19.34771], [34.35871, -19.3477], [34.35756, -19.34726], [34.35751, -19.34724], [34.35681, -19.34698], [34.35637, -19.34681], [34.35506, -19.34631], [34.35306, -19.34554], [34.35068, -19.34463], [34.34859, -19.34384], [34.34824, -19.34371], [34.34314, -19.34174], [34.33992, -19.3405], [34.33961, -19.34038], [34.33819, -19.33984], [34.33745, -19.33956], [34.33594, -19.33898], [34.33563, -19.33886], [34.3309, -19.33705], [34.33075, -19.337], [34.32851, -19.33613], [34.32751, -19.33575], [34.32725, -19.33565], [34.32497, -19.33477], [34.32401, -19.33441], [34.32268, -19.33391], [34.3217, -19.33355], [34.32106, -19.3333], [34.32032, -19.33301], [34.32026, -19.33299], [34.31842, -19.33228], [34.31773, -19.33205], [34.31746, -19.33195], [34.31701, -19.33177], [34.31582, -19.33129], [34.31506, -19.33098], [34.31403, -19.33052], [34.31067, -19.32892], [34.30968, -19.32846], [34.30515, -19.32628], [34.30224, -19.32492], [34.29627, -19.32204], [34.29041, -19.31922], [34.28637, -19.31729], [34.28422, -19.31627], [34.2823, -19.31535], [34.28109, -19.31477], [34.2797, -19.31411], [34.26755, -19.30828], [34.26348, -19.30634], [34.26319, -19.3062], [34.26297, -19.30609], [34.24679, -19.29833], [34.23868, -19.29446], [34.23604, -19.29319], [34.23424, -19.29233], [34.23339, -19.29189], [34.23225, -19.29123], [34.23166, -19.29083], [34.23084, -19.29023], [34.23056, -19.29001], [34.22978, -19.28935], [34.22876, -19.28838], [34.22681, -19.28658], [34.22585, -19.28568], [34.22458, -19.28451], [34.22286, -19.28289], [34.22221, -19.28229], [34.22175, -19.28185], [34.2212, -19.28134], [34.22041, -19.28059], [34.21972, -19.27997], [34.21879, -19.27911], [34.21823, -19.27856], [34.21797, -19.27834], [34.21765, -19.27802], [34.21645, -19.2769], [34.21581, -19.27631], [34.21486, -19.27545], [34.21455, -19.27514], [34.21398, -19.2746], [34.21381, -19.27445], [34.21345, -19.27411], [34.21332, -19.274], [34.21196, -19.27273], [34.21172, -19.2725], [34.21108, -19.2719], [34.21074, -19.27159], [34.21006, -19.27097], [34.20923, -19.27018], [34.20899, -19.26996], [34.20852, -19.26953], [34.20846, -19.26948], [34.20806, -19.26909], [34.20725, -19.26833], [34.20697, -19.26807], [34.20659, -19.26774], [34.20567, -19.267], [34.20548, -19.26685], [34.20502, -19.26649], [34.20449, -19.26611], [34.20405, -19.26579], [34.2037, -19.26558], [34.203, -19.26517], [34.20251, -19.26492], [34.20216, -19.26475], [34.20169, -19.26451], [34.20119, -19.26426], [34.20029, -19.26392], [34.19768, -19.26297], [34.19603, -19.26235], [34.19014, -19.26011], [34.18953, -19.25988], [34.18853, -19.25951], [34.18484, -19.2581], [34.18189, -19.25698], [34.17988, -19.25621], [34.17812, -19.25554], [34.1763, -19.25487], [34.17514, -19.25442], [34.17499, -19.25436], [34.17439, -19.25412], [34.17382, -19.2539], [34.1726, -19.25346], [34.17126, -19.25296], [34.17086, -19.25282], [34.17032, -19.25268], [34.16988, -19.25259], [34.16717, -19.25214], [34.16255, -19.25137], [34.15793, -19.25057], [34.15655, -19.25037], [34.1549, -19.25009], [34.15382, -19.24991], [34.15308, -19.2498], [34.15235, -19.24978], [34.15211, -19.2498], [34.15151, -19.24991], [34.15085, -19.2501], [34.15053, -19.25024], [34.14838, -19.25123], [34.14751, -19.25164], [34.14697, -19.25188], [34.14638, -19.25208], [34.1461, -19.25215], [34.14576, -19.25222], [34.14536, -19.25226], [34.14492, -19.25228], [34.14433, -19.25223], [34.14376, -19.25212], [34.14318, -19.25194], [34.14271, -19.25174], [34.14143, -19.25119], [34.14021, -19.25068], [34.13917, -19.25024], [34.13807, -19.24972], [34.13448, -19.24815], [34.13207, -19.24711], [34.13078, -19.24655], [34.12855, -19.24558], [34.12764, -19.24518], [34.12671, -19.24478], [34.12487, -19.24398], [34.12437, -19.24376], [34.124, -19.24359], [34.12354, -19.24339], [34.12343, -19.24334], [34.12226, -19.24283], [34.12223, -19.24281], [34.12161, -19.24254], [34.12131, -19.24241], [34.12035, -19.24198], [34.11971, -19.2417], [34.11778, -19.24087], [34.11771, -19.24084], [34.11714, -19.24059], [34.11688, -19.24047], [34.11652, -19.24032], [34.11629, -19.24022], [34.11572, -19.24002], [34.11459, -19.23976], [34.11205, -19.2393], [34.11055, -19.23903], [34.10952, -19.23887], [34.1088, -19.23876], [34.10577, -19.23852], [34.10091, -19.23812], [34.10066, -19.23809], [34.10024, -19.23801], [34.09982, -19.23789], [34.09928, -19.2377], [34.09562, -19.23645], [34.08721, -19.23358], [34.08413, -19.23252], [34.08241, -19.23194], [34.08162, -19.23167], [34.08113, -19.23151], [34.08077, -19.23139], [34.07966, -19.23101], [34.07864, -19.23066], [34.07781, -19.2304], [34.07743, -19.23031], [34.07722, -19.23026], [34.07639, -19.2301], [34.0759, -19.23005], [34.07573, -19.23003], [34.07511, -19.23002], [34.07438, -19.23005], [34.07027, -19.23055], [34.06701, -19.23096], [34.06225, -19.2316], [34.05978, -19.23196], [34.05736, -19.2323], [34.05659, -19.23243], [34.05582, -19.23261], [34.05527, -19.23278], [34.05503, -19.23285], [34.05401, -19.23331], [34.0535, -19.23358], [34.05297, -19.23385], [34.04692, -19.23707], [34.04527, -19.23794], [34.04154, -19.23993], [34.04149, -19.23995], [34.04041, -19.24052], [34.0398, -19.24083], [34.03874, -19.24141], [34.03851, -19.24153], [34.03841, -19.24159], [34.03805, -19.24176], [34.03761, -19.24201], [34.0373, -19.24217], [34.03689, -19.24238], [34.03683, -19.24242], [34.03627, -19.24268], [34.03569, -19.24293], [34.03548, -19.243], [34.03462, -19.24327], [34.03396, -19.24341], [34.03357, -19.24347], [34.0333, -19.24351], [34.033, -19.24354], [34.03214, -19.24357], [34.03163, -19.24356], [34.03124, -19.24353], [34.03116, -19.24352], [34.03044, -19.24342], [34.03012, -19.24336], [34.02944, -19.24319], [34.02809, -19.24276], [34.02772, -19.24264], [34.02752, -19.24258], [34.0266, -19.24227], [34.02557, -19.24193], [34.02539, -19.24187], [34.02481, -19.24168], [34.02338, -19.24122], [34.02243, -19.24091], [34.022, -19.24077], [34.02175, -19.24069], [34.02155, -19.24063], [34.02075, -19.24037], [34.02002, -19.24014], [34.01971, -19.24004], [34.01968, -19.24003], [34.01947, -19.23996], [34.01667, -19.23905], [34.01441, -19.23831], [34.01392, -19.23815], [34.0127, -19.23775], [34.0118, -19.23747], [34.01122, -19.23729], [34.01067, -19.23717], [34.01058, -19.23715], [34.00996, -19.23703], [34.00628, -19.23637], [33.99981, -19.23521], [33.9997, -19.23519], [33.99774, -19.23484], [33.99497, -19.23434], [33.99443, -19.23424], [33.99414, -19.23419], [33.99396, -19.23416], [33.99281, -19.23395], [33.98995, -19.23344], [33.98879, -19.23323], [33.98788, -19.23301], [33.9871, -19.23277], [33.98297, -19.23102], [33.97918, -19.22941], [33.97815, -19.22897], [33.97766, -19.22876], [33.97668, -19.22842], [33.97324, -19.22735], [33.97012, -19.22638], [33.96994, -19.22632], [33.96857, -19.2259], [33.96738, -19.22554], [33.96567, -19.22501], [33.96471, -19.22469], [33.96373, -19.22425], [33.96288, -19.22371], [33.96212, -19.22313], [33.95936, -19.22099], [33.95028, -19.21393], [33.94994, -19.2137], [33.94937, -19.21335], [33.94892, -19.21311], [33.94845, -19.21289], [33.94778, -19.21263], [33.94736, -19.2125], [33.94567, -19.21204], [33.94488, -19.21182], [33.94442, -19.21175], [33.94276, -19.21133], [33.94223, -19.21121], [33.94146, -19.21108], [33.94059, -19.21101], [33.938, -19.21086], [33.93757, -19.21082], [33.93745, -19.21081], [33.93705, -19.21075], [33.93664, -19.21067], [33.93603, -19.21047], [33.93564, -19.21028], [33.93533, -19.21012], [33.93485, -19.20979], [33.93466, -19.20962], [33.93402, -19.20915], [33.9338, -19.20903], [33.93346, -19.20898], [33.9333, -19.20898], [33.93301, -19.20891], [33.93281, -19.20883], [33.93214, -19.20833], [33.93197, -19.20825], [33.93184, -19.20824], [33.93171, -19.20827], [33.93118, -19.20854], [33.93165, -19.20815], [33.93215, -19.20762], [33.93258, -19.2072], [33.93363, -19.20622], [33.93366, -19.20619], [33.93387, -19.20602], [33.93408, -19.20587], [33.93483, -19.20543], [33.93505, -19.20529], [33.93523, -19.20518], [33.93578, -19.20485], [33.9358, -19.20484], [33.93605, -19.20469], [33.93693, -19.20417], [33.93783, -19.20365], [33.93862, -19.20319], [33.93926, -19.20287], [33.93992, -19.20262], [33.9407, -19.20237], [33.94172, -19.20216], [33.94281, -19.20202], [33.94373, -19.20196], [33.94762, -19.20171], [33.95164, -19.20145], [33.95841, -19.20101], [33.96195, -19.20078], [33.96272, -19.20074], [33.96452, -19.20063], [33.96527, -19.20059], [33.96632, -19.20053], [33.9668, -19.20051], [33.96738, -19.20047], [33.96775, -19.20045], [33.96812, -19.20048], [33.9682, -19.20048], [33.96933, -19.20055], [33.97333, -19.20092], [33.97503, -19.20108], [33.97639, -19.2012], [33.97731, -19.20129], [33.97748, -19.2013], [33.97813, -19.20136], [33.97854, -19.20139], [33.97918, -19.20144], [33.97973, -19.20144], [33.98008, -19.20142], [33.98054, -19.2014], [33.98133, -19.20128], [33.98199, -19.20112], [33.9821, -19.20109], [33.9855, -19.2], [33.98563, -19.19996], [33.98747, -19.19938], [33.98859, -19.19893], [33.9894, -19.19858], [33.99055, -19.19809], [33.99205, -19.19741], [33.99294, -19.19696], [33.99305, -19.1969], [33.99395, -19.19626], [33.99442, -19.19586], [33.99485, -19.19545], [33.99535, -19.19488], [33.99577, -19.19432], [33.99611, -19.1938], [33.99632, -19.19345], [33.9969, -19.19247], [33.99725, -19.1919], [33.99782, -19.19093], [33.99829, -19.19022], [33.99879, -19.18959], [33.99959, -19.18878], [33.99961, -19.18876], [33.99979, -19.18859], [34.00013, -19.18833], [34.00047, -19.18809], [34.00088, -19.18781], [34.00194, -19.18715], [34.00314, -19.18636], [34.00323, -19.1863], [34.0043, -19.18564], [34.00547, -19.18489], [34.00612, -19.18445], [34.00678, -19.18386], [34.00748, -19.18307], [34.00773, -19.18279], [34.00831, -19.1819], [34.00948, -19.18009], [34.00974, -19.1797], [34.00997, -19.17934], [34.01094, -19.17779], [34.01106, -19.17755], [34.01116, -19.17736], [34.01136, -19.17697], [34.01173, -19.17616], [34.01266, -19.17381], [34.01271, -19.17368], [34.01317, -19.17253], [34.01355, -19.17154], [34.01402, -19.17023], [34.01423, -19.16923], [34.01425, -19.16901], [34.01425, -19.16893], [34.01437, -19.16751], [34.01442, -19.16678], [34.01461, -19.16352], [34.01463, -19.16337], [34.01467, -19.1627], [34.01488, -19.15981], [34.0149, -19.15921], [34.01501, -19.15756], [34.01519, -19.15449], [34.01524, -19.15363], [34.01526, -19.15345], [34.01532, -19.1524], [34.01547, -19.1514], [34.01591, -19.15008], [34.01626, -19.1491], [34.01694, -19.14716], [34.01707, -19.14695], [34.01718, -19.14676], [34.01727, -19.14661], [34.01742, -19.14634], [34.01753, -19.14618], [34.01792, -19.14566], [34.01879, -19.14473], [34.01949, -19.14408], [34.02085, -19.1428], [34.02177, -19.14193], [34.02194, -19.14178], [34.02341, -19.1404], [34.02439, -19.13948], [34.02636, -19.13763], [34.02664, -19.13736], [34.02701, -19.1371], [34.02744, -19.13681], [34.02782, -19.13653], [34.0296, -19.13562], [34.02974, -19.13557], [34.0311, -19.13502], [34.03129, -19.13495], [34.03193, -19.13469], [34.03198, -19.13469], [34.03286, -19.13432], [34.03314, -19.13421], [34.0335, -19.13406], [34.03459, -19.13362], [34.03467, -19.13359], [34.03482, -19.13353], [34.03504, -19.13344], [34.03564, -19.13321], [34.03662, -19.13275], [34.03736, -19.13231], [34.03758, -19.13217], [34.03827, -19.13161], [34.03878, -19.13108], [34.03949, -19.13014], [34.03997, -19.1294], [34.04053, -19.12856], [34.04083, -19.12808], [34.041, -19.12772], [34.04106, -19.12757], [34.04114, -19.12737], [34.04125, -19.12698], [34.04129, -19.12673], [34.04133, -19.12643], [34.04135, -19.12595], [34.04134, -19.12577], [34.04131, -19.1248], [34.04129, -19.12447], [34.04125, -19.12328], [34.0412, -19.12176], [34.04114, -19.12051], [34.04065, -19.11508], [34.04041, -19.11234], [34.04028, -19.11092], [34.04027, -19.11013], [34.04043, -19.10941], [34.04063, -19.10887], [34.041, -19.10819], [34.04155, -19.10741], [34.04365, -19.10448], [34.0438, -19.10425], [34.04419, -19.10354], [34.04447, -19.10294], [34.0447, -19.1023], [34.04481, -19.10192], [34.04499, -19.10117], [34.04584, -19.09761], [34.04678, -19.0936], [34.04695, -19.0929], [34.04695, -19.09288], [34.04723, -19.0917], [34.04741, -19.09067], [34.04743, -19.09029], [34.04744, -19.08994], [34.04737, -19.08909], [34.04725, -19.08851], [34.04709, -19.08794], [34.04697, -19.08758], [34.0467, -19.08674], [34.04641, -19.0858], [34.04622, -19.08515], [34.04606, -19.08434], [34.04601, -19.08342], [34.04608, -19.08272], [34.0462, -19.08208], [34.04625, -19.08183], [34.04638, -19.08122], [34.04674, -19.07954], [34.0468, -19.07926], [34.04687, -19.07894], [34.04705, -19.07812], [34.04722, -19.0773], [34.04732, -19.07684], [34.04764, -19.07559], [34.04791, -19.07492], [34.04838, -19.07405], [34.04879, -19.07353], [34.04924, -19.07295], [34.04928, -19.0729], [34.05, -19.07225], [34.05088, -19.07157], [34.05107, -19.07143], [34.05386, -19.06929], [34.05468, -19.06863], [34.05547, -19.06786], [34.05596, -19.06727], [34.05633, -19.06682], [34.05733, -19.0656], [34.05799, -19.0648], [34.05921, -19.06294], [34.05926, -19.06288], [34.05931, -19.06279], [34.05998, -19.0618], [34.06099, -19.06019], [34.06181, -19.05904], [34.06266, -19.05809], [34.06331, -19.05745], [34.06455, -19.05621], [34.06649, -19.05421], [34.06681, -19.05389], [34.06802, -19.05235], [34.06832, -19.05197], [34.0684, -19.05185], [34.06892, -19.05109], [34.0698, -19.04984], [34.06989, -19.04971], [34.07004, -19.04951], [34.0712, -19.04783], [34.07173, -19.04707], [34.07254, -19.04592], [34.07297, -19.04513], [34.07306, -19.04489], [34.07325, -19.04434], [34.07334, -19.04402], [34.07344, -19.04348], [34.07351, -19.04257], [34.07343, -19.04171], [34.07335, -19.04131], [34.0732, -19.04069], [34.07319, -19.04066], [34.07308, -19.0403], [34.07257, -19.03828], [34.07209, -19.03642], [34.07197, -19.03564], [34.07199, -19.0348], [34.07208, -19.03437], [34.07217, -19.03406], [34.07231, -19.0337], [34.07255, -19.03324], [34.07286, -19.03277], [34.07731, -19.02674], [34.07882, -19.02473], [34.07966, -19.02348], [34.08018, -19.0225], [34.08052, -19.02158], [34.08111, -19.01943], [34.08132, -19.01874], [34.08307, -19.01234], [34.08333, -19.01133], [34.08343, -19.01068], [34.08352, -19.01013], [34.08362, -19.00951], [34.08374, -19.00838], [34.08375, -19.00823], [34.08396, -19.00705], [34.08418, -19.00595], [34.08427, -19.00573], [34.08474, -19.00447], [34.08478, -19.00436], [34.08529, -19.00299], [34.08541, -19.00257], [34.08569, -19.00164], [34.08579, -19.0009], [34.08587, -19.00004], [34.08588, -18.99965], [34.08583, -18.99915], [34.08559, -18.99775], [34.08554, -18.99758], [34.08545, -18.99744], [34.08536, -18.99731], [34.08524, -18.99722], [34.08507, -18.99716], [34.08476, -18.99704], [34.0846, -18.99695], [34.08447, -18.99684], [34.08436, -18.99669], [34.08429, -18.99653], [34.08423, -18.99633], [34.08422, -18.99603], [34.08425, -18.99586], [34.08435, -18.99563], [34.08459, -18.99533], [34.08731, -18.99231], [34.08785, -18.99175], [34.08815, -18.99151], [34.08839, -18.99134], [34.08869, -18.99117], [34.08903, -18.99102], [34.08958, -18.99086], [34.08995, -18.9908], [34.09008, -18.99078], [34.09177, -18.99069], [34.09221, -18.99066], [34.09225, -18.99066], [34.09232, -18.99065], [34.09267, -18.99058], [34.09297, -18.99048], [34.09321, -18.99038], [34.09348, -18.99025], [34.09371, -18.99011], [34.09414, -18.98982], [34.09436, -18.98966], [34.09449, -18.98957], [34.09724, -18.98779], [34.10033, -18.9857], [34.10071, -18.9854], [34.10106, -18.98506], [34.10128, -18.98481], [34.10147, -18.98456], [34.10169, -18.98414], [34.10198, -18.98352], [34.10228, -18.98204], [34.10256, -18.97966], [34.10273, -18.97876], [34.10302, -18.97804], [34.10629, -18.97344], [34.10695, -18.97233], [34.10937, -18.96682], [34.10981, -18.96576], [34.11006, -18.96524], [34.11037, -18.9647], [34.11095, -18.96384], [34.11163, -18.96291], [34.11474, -18.95916], [34.11535, -18.95848], [34.11608, -18.95786], [34.11701, -18.95722], [34.12004, -18.95522], [34.12051, -18.95487], [34.12108, -18.95437], [34.12133, -18.95411], [34.12165, -18.95375], [34.1223, -18.95288], [34.12249, -18.95265], [34.1229, -18.9522], [34.12373, -18.95144], [34.12449, -18.95083], [34.12596, -18.94965], [34.12624, -18.94941], [34.12669, -18.94905], [34.12714, -18.94872], [34.12735, -18.94861], [34.12809, -18.94826], [34.12931, -18.94775], [34.13, -18.94742], [34.13052, -18.94714], [34.13101, -18.94675], [34.13126, -18.94652], [34.13164, -18.94605], [34.13199, -18.94556], [34.13216, -18.94518], [34.13236, -18.94457], [34.13249, -18.94381], [34.13268, -18.94223], [34.13274, -18.9411], [34.13268, -18.94033], [34.13234, -18.93797], [34.13236, -18.93736], [34.13244, -18.93664], [34.13255, -18.93605], [34.133, -18.93427], [34.13307, -18.93356], [34.13307, -18.93323], [34.13303, -18.93267], [34.13288, -18.93204], [34.13227, -18.93001], [34.13188, -18.9289], [34.13152, -18.92814], [34.13112, -18.92749], [34.13012, -18.92617], [34.12971, -18.92563], [34.12909, -18.92461], [34.12883, -18.92391], [34.12784, -18.92108], [34.12758, -18.92053], [34.12709, -18.91973], [34.12527, -18.91727], [34.12492, -18.91678], [34.12482, -18.91662], [34.12456, -18.91618], [34.12425, -18.91546], [34.12402, -18.91469], [34.1239, -18.91382], [34.12386, -18.91318], [34.12373, -18.91105], [34.1236, -18.90989], [34.12347, -18.90936], [34.12343, -18.9092], [34.12321, -18.90861], [34.12259, -18.90731], [34.12223, -18.90647], [34.12202, -18.90564], [34.12201, -18.90542], [34.12197, -18.90484], [34.12202, -18.90397], [34.12238, -18.90171], [34.12262, -18.89972], [34.12259, -18.89889], [34.12235, -18.89784], [34.12215, -18.89738], [34.12092, -18.89523], [34.1191, -18.89223], [34.11861, -18.89148], [34.11786, -18.89079], [34.11716, -18.89029], [34.11627, -18.88988], [34.11427, -18.88914], [34.11333, -18.88868], [34.11267, -18.88823], [34.11195, -18.88759], [34.11154, -18.88708], [34.11098, -18.88617], [34.1107, -18.8856], [34.10906, -18.88249], [34.10848, -18.88167], [34.10791, -18.8811], [34.10613, -18.87987], [34.105, -18.87914], [34.10436, -18.87862], [34.10352, -18.87765], [34.1031, -18.87703], [34.10161, -18.87402], [34.09982, -18.87044], [34.09849, -18.86781], [34.09833, -18.86745], [34.09825, -18.86725], [34.09804, -18.86656], [34.09795, -18.86604], [34.09791, -18.8651], [34.098, -18.86443], [34.09834, -18.86325], [34.09895, -18.8615], [34.09913, -18.86045], [34.09912, -18.85984], [34.09895, -18.85863], [34.09876, -18.85777], [34.09871, -18.85713], [34.09874, -18.85641], [34.09886, -18.85565], [34.09912, -18.85474], [34.10024, -18.85105], [34.10038, -18.85073], [34.10069, -18.85004], [34.10121, -18.84913], [34.10238, -18.84729], [34.10254, -18.84699], [34.10271, -18.84667], [34.10291, -18.8463], [34.10317, -18.84552], [34.10327, -18.84489], [34.1033, -18.84417], [34.10312, -18.84147], [34.10304, -18.84074], [34.10287, -18.83833], [34.10285, -18.83775], [34.10289, -18.83725], [34.103, -18.83677], [34.10386, -18.83444], [34.10406, -18.83386], [34.10417, -18.83346], [34.10426, -18.8329], [34.10427, -18.83268], [34.10429, -18.83241], [34.10427, -18.83154], [34.1041, -18.82608], [34.10405, -18.82436], [34.10397, -18.82365], [34.10377, -18.82297], [34.10347, -18.82223], [34.10309, -18.82164], [34.10181, -18.81989], [34.09984, -18.8172], [34.09912, -18.81618], [34.09815, -18.81487], [34.09769, -18.81413], [34.09741, -18.81349], [34.09727, -18.81298], [34.09574, -18.80445], [34.09568, -18.80393], [34.09566, -18.80351], [34.09567, -18.80324], [34.09572, -18.80281], [34.09672, -18.79948], [34.09691, -18.79888], [34.09924, -18.79101], [34.09972, -18.78919], [34.09975, -18.78822], [34.09966, -18.78752], [34.09956, -18.78701], [34.09924, -18.78629], [34.09916, -18.7861], [34.09878, -18.78548], [34.09815, -18.78476], [34.09774, -18.78436], [34.09741, -18.78407], [34.0949, -18.78194], [34.09287, -18.78014], [34.09228, -18.77943], [34.09189, -18.77881], [34.09155, -18.7779], [34.09151, -18.77746], [34.09147, -18.77694], [34.09153, -18.77613], [34.09175, -18.77539], [34.09203, -18.77469], [34.09298, -18.77217], [34.09367, -18.77038], [34.09477, -18.76748], [34.09568, -18.76511], [34.0959, -18.76437], [34.09596, -18.76376], [34.09596, -18.76331], [34.0959, -18.76276], [34.09586, -18.7626], [34.09574, -18.76219], [34.09556, -18.76174], [34.0953, -18.76127], [34.09502, -18.76085], [34.09414, -18.75968], [34.09293, -18.75805], [34.09227, -18.75716], [34.09157, -18.75635], [34.09096, -18.75578], [34.08989, -18.75498], [34.08872, -18.75413], [34.08838, -18.75388], [34.08789, -18.75347], [34.08752, -18.75305], [34.08716, -18.75254], [34.0868, -18.7518], [34.08666, -18.75127], [34.08655, -18.75056], [34.08636, -18.74828], [34.08623, -18.74699], [34.08618, -18.7462], [34.08616, -18.74593], [34.0861, -18.74556], [34.08565, -18.74436], [34.08516, -18.74366], [34.0848, -18.74329], [34.08457, -18.74305], [34.08368, -18.74219], [34.08219, -18.74075], [34.08156, -18.74006], [34.08013, -18.73812], [34.07997, -18.7379], [34.07835, -18.73568], [34.07728, -18.73426], [34.07719, -18.73413], [34.077, -18.73389], [34.07664, -18.73331], [34.07643, -18.73281], [34.07448, -18.72742], [34.07428, -18.72691], [34.07385, -18.7256], [34.07374, -18.72507], [34.07369, -18.72459], [34.07371, -18.72414], [34.07379, -18.72355], [34.07381, -18.72324], [34.07425, -18.72231], [34.07565, -18.71955], [34.07652, -18.71784], [34.07781, -18.71531], [34.07809, -18.71476], [34.07841, -18.71382], [34.07843, -18.71373], [34.0785, -18.71323], [34.07847, -18.7124], [34.07835, -18.71173], [34.07788, -18.71011], [34.07687, -18.70658], [34.07656, -18.70551], [34.0764, -18.70487], [34.07629, -18.70452], [34.07588, -18.70366], [34.07584, -18.70356], [34.07576, -18.70339], [34.07497, -18.70183], [34.07475, -18.7014], [34.07428, -18.70047], [34.07396, -18.69975], [34.07368, -18.69927], [34.07296, -18.69783], [34.07196, -18.69582], [34.07157, -18.69499], [34.07127, -18.69424], [34.07101, -18.69343], [34.07086, -18.69254], [34.07058, -18.69066], [34.07024, -18.68829], [34.07017, -18.68772], [34.07001, -18.68665], [34.06998, -18.68642], [34.06991, -18.68578], [34.06995, -18.68538], [34.0702, -18.68424], [34.07039, -18.68355], [34.07062, -18.68271], [34.07143, -18.67938], [34.07163, -18.67878], [34.07193, -18.67825], [34.07229, -18.67768], [34.07295, -18.67663], [34.07302, -18.67653], [34.07385, -18.67525], [34.07508, -18.67332], [34.07531, -18.673], [34.07571, -18.67252], [34.07618, -18.67201], [34.07651, -18.67168], [34.07694, -18.67125], [34.0771, -18.67109], [34.07733, -18.67081], [34.07753, -18.67051], [34.07777, -18.67005], [34.0779, -18.66968], [34.07801, -18.66922], [34.07825, -18.66743], [34.07827, -18.66689], [34.07832, -18.66608], [34.07828, -18.66557], [34.07825, -18.66515], [34.07814, -18.66457], [34.07801, -18.66412], [34.07791, -18.66387], [34.07704, -18.66176], [34.07701, -18.66169], [34.07687, -18.66134], [34.07682, -18.66123], [34.07671, -18.66097], [34.07574, -18.65855], [34.07558, -18.65817], [34.07518, -18.65717], [34.07512, -18.65701], [34.07479, -18.65622], [34.07427, -18.65495], [34.07411, -18.65455], [34.07402, -18.65433], [34.0734, -18.65279], [34.07186, -18.64899], [34.07075, -18.64627], [34.0706, -18.64579], [34.06981, -18.64388], [34.06956, -18.64318], [34.06945, -18.64277], [34.06939, -18.64236], [34.06936, -18.64189], [34.06939, -18.64154], [34.06945, -18.641], [34.06954, -18.6407], [34.07033, -18.63769], [34.07036, -18.63756], [34.07073, -18.63608], [34.07125, -18.63415], [34.07149, -18.63315], [34.07154, -18.6326], [34.07152, -18.63205], [34.07144, -18.63159], [34.0713, -18.63107], [34.07111, -18.6306], [34.07093, -18.63025], [34.07076, -18.63], [34.07059, -18.6297], [34.06963, -18.62839], [34.06904, -18.62761], [34.06851, -18.62687], [34.06796, -18.62599], [34.06763, -18.62528], [34.06739, -18.62463], [34.06724, -18.62398], [34.06709, -18.6234], [34.06685, -18.62256], [34.06665, -18.62174], [34.0666, -18.62149], [34.06614, -18.61961], [34.06594, -18.6189], [34.06575, -18.61837], [34.06538, -18.61758], [34.06499, -18.6169], [34.06462, -18.61637], [34.06409, -18.61572], [34.06383, -18.61545], [34.0636, -18.61522], [34.06308, -18.61476], [34.06244, -18.61427], [34.06001, -18.61265], [34.05874, -18.61179], [34.05829, -18.61156], [34.05783, -18.61138], [34.05723, -18.61118], [34.05662, -18.61106], [34.05625, -18.61103], [34.05597, -18.61101], [34.05518, -18.611], [34.04865, -18.61115], [34.04791, -18.61112], [34.04746, -18.61107], [34.04704, -18.61102], [34.04692, -18.611], [34.04636, -18.61088], [34.04565, -18.61065], [34.04503, -18.61039], [34.04453, -18.61014], [34.04392, -18.60973], [34.04342, -18.60935], [34.04296, -18.60896], [34.04062, -18.60646], [34.03911, -18.60485], [34.03857, -18.60427], [34.03678, -18.60235], [34.03415, -18.59955], [34.03392, -18.59931], [34.03366, -18.59904], [34.03357, -18.59894], [34.03308, -18.59841], [34.03224, -18.59767], [34.03209, -18.59756], [34.03205, -18.59752], [34.03161, -18.59723], [34.03147, -18.59712], [34.0311, -18.59688], [34.03052, -18.59657], [34.02948, -18.59602], [34.02898, -18.59575], [34.02833, -18.59541], [34.02729, -18.59484], [34.02671, -18.59443], [34.02614, -18.59393], [34.02565, -18.59336], [34.02559, -18.59328], [34.02518, -18.59262], [34.02498, -18.59225], [34.02484, -18.59201], [34.02473, -18.59181], [34.02379, -18.59021], [34.0232, -18.58921], [34.02277, -18.58846], [34.02248, -18.58797], [34.02216, -18.58749], [34.02124, -18.58616], [34.02106, -18.58595], [34.02042, -18.58518], [34.01605, -18.58043], [34.01536, -18.57972], [34.01505, -18.57934], [34.01462, -18.57879], [34.01411, -18.57792], [34.01361, -18.57679], [34.01337, -18.57601], [34.01325, -18.57543], [34.01314, -18.57453], [34.01281, -18.56936], [34.0126, -18.56537], [34.01252, -18.56432], [34.01245, -18.56352], [34.01234, -18.56292], [34.01218, -18.5624], [34.01203, -18.56201], [34.01199, -18.56194], [34.01172, -18.56146], [34.01144, -18.56104], [34.01108, -18.56064], [34.01071, -18.56029], [34.01007, -18.55983], [34.00963, -18.55953], [34.00838, -18.55867], [34.00832, -18.55863], [34.00673, -18.55751], [34.00601, -18.557], [34.00518, -18.55619], [34.00505, -18.55603], [34.00453, -18.55539], [34.00427, -18.55499], [34.00403, -18.5546], [34.00394, -18.55444], [34.00369, -18.55392], [34.00338, -18.55328], [34.00314, -18.55273], [34.0025, -18.55128], [34.0022, -18.55062], [34.0016, -18.54925], [34.00062, -18.54697], [33.99985, -18.54523], [33.99889, -18.54316], [33.99662, -18.538], [33.99578, -18.53608], [33.99532, -18.53485], [33.995, -18.53383], [33.99471, -18.5328], [33.99452, -18.53222], [33.99421, -18.53158], [33.99393, -18.53118], [33.99379, -18.53101], [33.99357, -18.53077], [33.99328, -18.53048], [33.99296, -18.5302], [33.99288, -18.53015], [33.99277, -18.53007], [33.9923, -18.52979], [33.99073, -18.52894], [33.98928, -18.52808], [33.98837, -18.52758], [33.98575, -18.52612], [33.98529, -18.52584], [33.98413, -18.52521], [33.98316, -18.52465], [33.98241, -18.52414], [33.982, -18.52387], [33.98137, -18.52334], [33.98042, -18.52248], [33.97834, -18.52017], [33.97675, -18.51832], [33.97552, -18.51698], [33.9724, -18.51337], [33.97071, -18.51145], [33.96919, -18.50969], [33.96812, -18.50823], [33.96758, -18.50724], [33.96526, -18.50284], [33.96325, -18.49895], [33.96243, -18.49737], [33.9618, -18.49626], [33.96123, -18.49537], [33.96043, -18.49415], [33.95922, -18.4924], [33.95641, -18.48827], [33.95441, -18.48536], [33.95396, -18.48478], [33.95355, -18.48433], [33.95292, -18.48371], [33.95264, -18.48349], [33.95192, -18.48296], [33.94974, -18.48161], [33.94592, -18.47922], [33.94444, -18.4783], [33.94382, -18.47789], [33.94323, -18.47741], [33.94296, -18.47715], [33.94256, -18.47672], [33.9423, -18.47639], [33.94197, -18.47592], [33.94161, -18.47523], [33.94139, -18.47474], [33.94058, -18.47267], [33.9402, -18.47179], [33.93917, -18.46923], [33.93838, -18.46722], [33.93752, -18.46511], [33.937, -18.46379], [33.93443, -18.45739], [33.934, -18.45614], [33.9337, -18.45502], [33.93341, -18.4536], [33.93206, -18.44363], [33.93184, -18.44237], [33.93152, -18.44132], [33.93119, -18.44066], [33.93085, -18.4401], [33.93055, -18.43968], [33.93015, -18.43922], [33.92928, -18.43834], [33.92903, -18.43809], [33.92561, -18.43468], [33.92447, -18.43354], [33.92118, -18.43031], [33.92049, -18.42948], [33.92011, -18.42901], [33.91975, -18.42832], [33.91961, -18.42804], [33.91945, -18.42773], [33.91911, -18.42656], [33.91892, -18.4255], [33.9184, -18.42251], [33.91778, -18.41882], [33.91752, -18.41726], [33.91727, -18.41539], [33.91722, -18.41504], [33.91718, -18.41368], [33.9171, -18.41063], [33.91689, -18.40314], [33.91659, -18.39108], [33.9163, -18.37846], [33.91618, -18.3744], [33.91618, -18.37436], [33.91615, -18.3732], [33.9161, -18.37101], [33.91604, -18.36854], [33.91605, -18.3658], [33.91613, -18.34721], [33.91619, -18.34485], [33.91631, -18.34412], [33.91646, -18.3435], [33.91662, -18.34297], [33.91696, -18.34212], [33.91746, -18.34112], [33.91782, -18.34043], [33.92603, -18.32401], [33.92615, -18.32378], [33.92745, -18.32116], [33.92859, -18.31904], [33.92929, -18.31809], [33.92989, -18.31744], [33.93084, -18.31667], [33.93696, -18.31215], [33.93926, -18.31044], [33.93988, -18.30998], [33.94073, -18.30954], [33.94142, -18.30928], [33.94222, -18.30905], [33.94294, -18.30894], [33.94347, -18.30891], [33.94408, -18.30892], [33.94619, -18.309], [33.94633, -18.30901], [33.94664, -18.30902], [33.95123, -18.30924], [33.95245, -18.30933], [33.95306, -18.30941], [33.95379, -18.30952], [33.95459, -18.30966], [33.96333, -18.31136], [33.96358, -18.31141], [33.96413, -18.31151], [33.9649, -18.31153], [33.96524, -18.3115], [33.96547, -18.31147], [33.96602, -18.31135], [33.96628, -18.31127], [33.96684, -18.31104], [33.96732, -18.31077], [33.96761, -18.31057], [33.97439, -18.30498], [33.97505, -18.30449], [33.97563, -18.30416], [33.97626, -18.3039], [33.97675, -18.30376], [33.97725, -18.3037], [33.97771, -18.30367], [33.97841, -18.30372], [33.97921, -18.30381], [33.98413, -18.30427], [33.98469, -18.30428], [33.98522, -18.30422], [33.98578, -18.30411], [33.98634, -18.30395], [33.98682, -18.30372], [33.98724, -18.30346], [33.98768, -18.30312], [33.98846, -18.30245], [33.98962, -18.3014], [33.99194, -18.29925], [33.9931, -18.29807], [33.99359, -18.29743], [33.99646, -18.2935], [33.99734, -18.29232], [33.99795, -18.29166], [33.99846, -18.2912], [33.99902, -18.29076], [33.99985, -18.29023], [34.00753, -18.28558], [34.01024, -18.28391], [34.01218, -18.28289], [34.01251, -18.28271], [34.01483, -18.28194], [34.02694, -18.27935], [34.02747, -18.27919], [34.02794, -18.27901], [34.0284, -18.27878], [34.02885, -18.27846], [34.02925, -18.27812], [34.03067, -18.27643], [34.0343, -18.27194], [34.03838, -18.26702], [34.04028, -18.26531], [34.04195, -18.26393], [34.04294, -18.26294], [34.04356, -18.26222], [34.04855, -18.2554], [34.04924, -18.25442], [34.05006, -18.25337], [34.05042, -18.25302], [34.05083, -18.25271], [34.05138, -18.25239], [34.05304, -18.25158], [34.05563, -18.25035], [34.05609, -18.25013], [34.0584, -18.24902], [34.05945, -18.24853], [34.06004, -18.2482], [34.06052, -18.24784], [34.06142, -18.24711], [34.06406, -18.24446], [34.06542, -18.24312], [34.06665, -18.24176], [34.06705, -18.24092], [34.06731, -18.23973], [34.06897, -18.22754], [34.06935, -18.22514], [34.06963, -18.22449], [34.06993, -18.22393], [34.07056, -18.22306], [34.0736, -18.21908], [34.07448, -18.21792], [34.07498, -18.21723], [34.07723, -18.21427], [34.07737, -18.21409], [34.0792, -18.21166], [34.07963, -18.21117], [34.0797, -18.21109], [34.08003, -18.21072], [34.08032, -18.21049], [34.08091, -18.21012], [34.09001, -18.20622], [34.09443, -18.20433], [34.09577, -18.20374], [34.09623, -18.20348], [34.09662, -18.20319], [34.09701, -18.20284], [34.09745, -18.20232], [34.0978, -18.20178], [34.09804, -18.20136], [34.10014, -18.19772], [34.102, -18.19454], [34.10283, -18.19315], [34.10344, -18.19219], [34.10577, -18.18863], [34.10635, -18.18771], [34.1073, -18.18628], [34.10769, -18.1855], [34.10793, -18.18494], [34.1082, -18.18416], [34.10853, -18.18271], [34.10878, -18.1815], [34.10896, -18.18078], [34.10919, -18.18023], [34.10944, -18.17978], [34.10964, -18.17949], [34.11003, -18.17904], [34.11061, -18.17854], [34.11121, -18.17818], [34.11172, -18.17795], [34.11288, -18.17757], [34.11397, -18.17729], [34.11467, -18.17723], [34.11521, -18.17726], [34.11582, -18.17736], [34.11638, -18.17753], [34.11701, -18.1778], [34.11751, -18.1781], [34.11847, -18.17877], [34.11924, -18.17932], [34.11995, -18.17981], [34.12031, -18.18003], [34.12083, -18.18027], [34.12127, -18.18043], [34.12167, -18.18053], [34.12227, -18.18061], [34.12295, -18.18061], [34.12405, -18.18048], [34.13362, -18.1793], [34.13503, -18.17917], [34.13607, -18.17917], [34.13713, -18.17929], [34.13852, -18.17961], [34.1458, -18.18132], [34.1464, -18.18144], [34.14695, -18.18148], [34.14747, -18.18147], [34.14791, -18.18142], [34.14838, -18.18131], [34.14915, -18.18105], [34.15066, -18.18048], [34.15517, -18.17874], [34.15657, -18.17822], [34.15762, -18.17796], [34.1601, -18.17757], [34.16258, -18.17716], [34.16329, -18.17708], [34.16384, -18.17709], [34.16443, -18.17717], [34.16512, -18.17735], [34.16563, -18.17758], [34.16594, -18.17775], [34.16645, -18.17807], [34.17254, -18.18205], [34.17314, -18.18259], [34.17354, -18.1831], [34.17386, -18.18365], [34.17434, -18.18467], [34.17473, -18.18557], [34.17518, -18.18688], [34.17544, -18.18791], [34.17585, -18.18978], [34.17647, -18.19246], [34.17665, -18.19294], [34.17689, -18.19342], [34.17717, -18.19384], [34.17751, -18.19425], [34.17879, -18.19559], [34.17959, -18.19649], [34.17991, -18.19699], [34.18014, -18.19746], [34.18031, -18.19802], [34.1804, -18.19853], [34.18043, -18.19915], [34.18016, -18.20451], [34.18011, -18.20559], [34.1801, -18.20625], [34.18025, -18.207], [34.18044, -18.20757], [34.1807, -18.20813], [34.18128, -18.20904], [34.18215, -18.21032], [34.18552, -18.21546], [34.18647, -18.21694], [34.18718, -18.21787], [34.18755, -18.21832], [34.18797, -18.21874], [34.18893, -18.21963], [34.19504, -18.22541], [34.19612, -18.22642], [34.19655, -18.22678], [34.19701, -18.2271], [34.19741, -18.22732], [34.19796, -18.22754], [34.19849, -18.22769], [34.20057, -18.22813], [34.20118, -18.22831], [34.20162, -18.22851], [34.2022, -18.22894], [34.20266, -18.22938], [34.20909, -18.23594], [34.21525, -18.24225], [34.21692, -18.24394], [34.21761, -18.2446], [34.21822, -18.24504], [34.21908, -18.24541], [34.2213, -18.24612], [34.22226, -18.2464], [34.22299, -18.24653], [34.22379, -18.24653], [34.22852, -18.24543], [34.22945, -18.24527], [34.22991, -18.24522], [34.23085, -18.24519], [34.23464, -18.24539], [34.2384, -18.24561], [34.23976, -18.24579], [34.24082, -18.24609], [34.24772, -18.24837], [34.25001, -18.24892], [34.2572, -18.25031], [34.25852, -18.25047], [34.25962, -18.25039], [34.2603, -18.25023], [34.26119, -18.24987], [34.26196, -18.24932], [34.26262, -18.24879], [34.26362, -18.24768], [34.26428, -18.24705], [34.26466, -18.2468], [34.26567, -18.24645], [34.26746, -18.24607], [34.26868, -18.24562], [34.26937, -18.24523], [34.27001, -18.24478], [34.27064, -18.24424], [34.27118, -18.24362], [34.27169, -18.24293], [34.27315, -18.24086], [34.27437, -18.23919], [34.27486, -18.23857], [34.27572, -18.23801], [34.27652, -18.23772], [34.27742, -18.23736], [34.27807, -18.23695], [34.27866, -18.23646], [34.28027, -18.23418], [34.28068, -18.23373], [34.28127, -18.23328], [34.28196, -18.23291], [34.29789, -18.22709], [34.29999, -18.22634], [34.30174, -18.22579], [34.30268, -18.22559], [34.30878, -18.22492], [34.30941, -18.22495], [34.31003, -18.22508], [34.31122, -18.2255], [34.31238, -18.22599], [34.31322, -18.22628], [34.31388, -18.22643], [34.31457, -18.22654], [34.31497, -18.22658], [34.31608, -18.22667], [34.31855, -18.22685], [34.31911, -18.22679], [34.31958, -18.2267], [34.32024, -18.22644], [34.32161, -18.22557], [34.32411, -18.22407], [34.33011, -18.22035], [34.33115, -18.21974], [34.33175, -18.21937], [34.3323, -18.21911], [34.33307, -18.21891], [34.33391, -18.21887], [34.34178, -18.21904], [34.34465, -18.21906], [34.35196, -18.21918], [34.3546, -18.21921], [34.35582, -18.21929], [34.35693, -18.21947], [34.3615, -18.22066], [34.39208, -18.22846], [34.39327, -18.22878], [34.39797, -18.23075], [34.40209, -18.2325], [34.4057, -18.23399], [34.4064, -18.23418], [34.40701, -18.23431], [34.40757, -18.23436], [34.40855, -18.23437], [34.41505, -18.2343], [34.42353, -18.23405], [34.43169, -18.23388], [34.43222, -18.23383], [34.43281, -18.23371], [34.4333, -18.23355], [34.43379, -18.2333], [34.43428, -18.233], [34.43471, -18.23266], [34.43497, -18.23239], [34.43529, -18.23203], [34.43555, -18.23167], [34.43591, -18.23098], [34.4362, -18.23031], [34.4379, -18.2267], [34.4393, -18.22364], [34.43999, -18.22239], [34.44062, -18.22157], [34.44141, -18.22071], [34.44229, -18.21995], [34.44652, -18.21735], [34.45478, -18.21244], [34.45679, -18.21117], [34.4589, -18.20995], [34.46704, -18.20512], [34.46801, -18.20468], [34.4696, -18.2042], [34.47194, -18.20362], [34.4789, -18.2019], [34.49181, -18.19879], [34.49241, -18.19863], [34.4972, -18.19749], [34.50739, -18.19503], [34.50882, -18.19467], [34.51007, -18.1945], [34.51711, -18.19415], [34.51947, -18.19399], [34.5219, -18.19351], [34.52286, -18.19319], [34.52415, -18.19259], [34.52526, -18.19199], [34.52632, -18.19128], [34.52804, -18.18981], [34.53074, -18.18742], [34.5328, -18.18572], [34.53415, -18.18467], [34.53496, -18.18404], [34.53648, -18.18283], [34.53724, -18.18223], [34.53881, -18.18098], [34.54, -18.18004], [34.54008, -18.17997], [34.54104, -18.17925], [34.54129, -18.17905], [34.54277, -18.17785], [34.54396, -18.17701], [34.545, -18.17643], [34.54724, -18.17555], [34.55182, -18.17373], [34.56545, -18.1685], [34.57682, -18.1641], [34.57763, -18.16376], [34.57831, -18.1634], [34.57902, -18.16295], [34.58035, -18.16193], [34.58508, -18.15822], [34.5857, -18.15783], [34.58668, -18.15724], [34.5875, -18.15682], [34.5882, -18.15644], [34.58893, -18.15606], [34.58958, -18.1558], [34.59001, -18.15567], [34.59049, -18.15557], [34.59177, -18.15541], [34.59818, -18.1547], [34.60169, -18.15428], [34.60325, -18.15414], [34.60445, -18.15397], [34.60556, -18.15371], [34.62202, -18.14835], [34.62283, -18.14808], [34.62397, -18.14757], [34.6504, -18.13426], [34.65625, -18.13136], [34.65719, -18.13095], [34.6615, -18.12967], [34.66378, -18.12879], [34.67032, -18.12521], [34.6716, -18.12438], [34.67238, -18.12375], [34.67618, -18.11956], [34.67658, -18.1191], [34.67778, -18.11774], [34.67882, -18.11662], [34.67921, -18.11625], [34.67963, -18.11588], [34.68011, -18.11552], [34.68066, -18.11516], [34.6841, -18.11314], [34.68516, -18.11249], [34.68598, -18.11209], [34.68665, -18.11182], [34.68734, -18.1116], [34.68822, -18.11141], [34.68866, -18.11133], [34.68973, -18.11124], [34.70478, -18.11103], [34.70545, -18.11099], [34.70611, -18.11092], [34.7067, -18.11081], [34.7074, -18.11063], [34.70845, -18.1103], [34.7141, -18.10842], [34.72753, -18.10401], [34.72767, -18.10397], [34.7391, -18.1002], [34.74253, -18.09911], [34.74338, -18.09885], [34.74401, -18.09869], [34.74487, -18.09855], [34.74579, -18.09849], [34.7483, -18.09858], [34.7635, -18.0993], [34.76547, -18.09936], [34.76626, -18.09933], [34.7672, -18.0992], [34.76841, -18.09889], [34.77184, -18.09769], [34.77531, -18.09654], [34.77703, -18.09593], [34.77754, -18.09572], [34.77814, -18.09543], [34.77871, -18.09513], [34.77995, -18.09439], [34.78062, -18.094], [34.78185, -18.09329], [34.78319, -18.09254], [34.78393, -18.09213], [34.78476, -18.09173], [34.78543, -18.09145], [34.78635, -18.09119], [34.78741, -18.091], [34.7884, -18.09095], [34.78919, -18.09095], [34.78987, -18.09101], [34.79116, -18.09125], [34.79196, -18.09152], [34.79555, -18.09279], [34.79633, -18.09309], [34.79858, -18.0939], [34.80473, -18.09607], [34.80608, -18.09663], [34.80688, -18.0971], [34.80798, -18.09787], [34.80872, -18.09863], [34.81016, -18.10041], [34.81294, -18.10402], [34.81446, -18.10595], [34.81524, -18.10701], [34.81602, -18.10792], [34.81697, -18.10875], [34.81776, -18.1093], [34.81862, -18.10975], [34.81978, -18.11024], [34.82044, -18.11043], [34.82881, -18.11205], [34.82983, -18.11227], [34.83965, -18.11413], [34.84387, -18.11497], [34.84618, -18.1154], [34.84711, -18.11545], [34.84812, -18.11545], [34.85358, -18.11516], [34.88071, -18.11377], [34.89348, -18.11309], [34.89462, -18.1131], [34.89595, -18.11326], [34.89755, -18.1137], [34.90448, -18.11607], [34.90982, -18.11791], [34.91266, -18.11884], [34.91389, -18.11922], [34.91514, -18.1194], [34.91646, -18.11944], [34.91755, -18.11931], [34.9223, -18.1186], [34.92354, -18.11846], [34.92487, -18.11847], [34.93937, -18.11842], [34.94026, -18.11836], [34.94276, -18.11808], [34.94373, -18.11797], [34.94539, -18.11777], [34.94616, -18.11768], [34.94892, -18.11736], [34.94964, -18.11722], [34.95579, -18.11554], [34.96922, -18.11186], [34.97054, -18.11153], [34.97136, -18.11137], [34.97232, -18.11132], [34.97372, -18.11144], [34.97486, -18.11174], [34.97591, -18.1122], [34.97719, -18.11281], [34.97828, -18.11331], [34.97996, -18.11414], [34.98078, -18.11465], [34.98451, -18.11737], [34.98685, -18.11904], [34.99091, -18.122], [34.99241, -18.12306], [34.9943, -18.12443], [34.99686, -18.1263], [34.99775, -18.12692], [34.99913, -18.12762], [35.00358, -18.12921], [35.01296, -18.13253], [35.01577, -18.13354], [35.01705, -18.13382], [35.0184, -18.13394], [35.01963, -18.13385], [35.02087, -18.13364], [35.04674, -18.12783], [35.04789, -18.12774], [35.04963, -18.12785], [35.06394, -18.1309], [35.06628, -18.13169], [35.06857, -18.13253], [35.07087, -18.13317], [35.07327, -18.13328], [35.07563, -18.13285], [35.07778, -18.13184], [35.07965, -18.1304], [35.08855, -18.12317], [35.08886, -18.12291], [35.09065, -18.12143], [35.0917, -18.1207], [35.09242, -18.12028], [35.09314, -18.11995], [35.09421, -18.11956], [35.09524, -18.11932], [35.10518, -18.11772], [35.10784, -18.11733], [35.10915, -18.11694], [35.11023, -18.11645], [35.11601, -18.113], [35.1166, -18.11262], [35.12211, -18.10934], [35.12841, -18.10548], [35.13052, -18.10417], [35.13153, -18.10348], [35.13253, -18.10258], [35.13423, -18.10092], [35.159, -18.07744], [35.17134, -18.06582], [35.17293, -18.06413], [35.17365, -18.06295], [35.1762, -18.05839], [35.18147, -18.04905], [35.18284, -18.0474], [35.18492, -18.04588], [35.19097, -18.0418], [35.19331, -18.04028], [35.19484, -18.03931], [35.19537, -18.03897], [35.19713, -18.03734], [35.2027, -18.03192], [35.20404, -18.03062], [35.20575, -18.02902], [35.20775, -18.02768], [35.21607, -18.02294], [35.22436, -18.01814], [35.22648, -18.01685], [35.23079, -18.01444], [35.23199, -18.0138], [35.2332, -18.01334], [35.23401, -18.01315], [35.23553, -18.01303], [35.23662, -18.01303], [35.23777, -18.01316], [35.2432, -18.01388], [35.24359, -18.01394], [35.24383, -18.01397], [35.24555, -18.01417], [35.24949, -18.01468], [35.25188, -18.01501], [35.25611, -18.01559], [35.25703, -18.01566], [35.2584, -18.01561], [35.25896, -18.01553], [35.25947, -18.01541], [35.26046, -18.01514], [35.26195, -18.01451], [35.26855, -18.01157], [35.27631, -18.00807], [35.27743, -18.00756], [35.27797, -18.00724], [35.27941, -18.00622], [35.28048, -18.0053], [35.28712, -17.99965], [35.28863, -17.99834], [35.28939, -17.99746], [35.28997, -17.99666], [35.29035, -17.99591], [35.29067, -17.9952], [35.29088, -17.99451], [35.29106, -17.99377], [35.29156, -17.99092], [35.29364, -17.97883], [35.29414, -17.97606], [35.29431, -17.9753], [35.29457, -17.97439], [35.29487, -17.97362], [35.29711, -17.9671], [35.29815, -17.96414], [35.29845, -17.96327], [35.29849, -17.96316], [35.29944, -17.96035], [35.29986, -17.95942], [35.30282, -17.95424], [35.30432, -17.95163], [35.30818, -17.94478], [35.30852, -17.94417], [35.30883, -17.94347], [35.30906, -17.9429], [35.30925, -17.94223], [35.30938, -17.94156], [35.30946, -17.94083], [35.30973, -17.93785], [35.31093, -17.92574], [35.3111, -17.92409], [35.3117, -17.91793], [35.3118, -17.91715], [35.31192, -17.91641], [35.3121, -17.9158], [35.31247, -17.91503], [35.31332, -17.91383], [35.31367, -17.91336], [35.31404, -17.91287], [35.31495, -17.91204], [35.31538, -17.91171], [35.31625, -17.91116], [35.31699, -17.91077], [35.31724, -17.91064], [35.31955, -17.90955], [35.32071, -17.90899], [35.32157, -17.90842], [35.32225, -17.90787], [35.32305, -17.90706], [35.32382, -17.90605], [35.32434, -17.90509], [35.32488, -17.90373], [35.32509, -17.90282], [35.32995, -17.87798], [35.33016, -17.87729], [35.33055, -17.87639], [35.33094, -17.87566], [35.33177, -17.8745], [35.33235, -17.87381], [35.33464, -17.87089], [35.33516, -17.87001], [35.33553, -17.86906], [35.33571, -17.86818], [35.3358, -17.86757], [35.33586, -17.86518], [35.33586, -17.86409], [35.33573, -17.86304], [35.33557, -17.86228], [35.33486, -17.85864], [35.33435, -17.85624], [35.33405, -17.8548], [35.3336, -17.8525], [35.33353, -17.85203], [35.33349, -17.8515], [35.33348, -17.85103], [35.33356, -17.85003], [35.33395, -17.84778], [35.33411, -17.84698], [35.33439, -17.84544], [35.33448, -17.84495], [35.33459, -17.84453], [35.33472, -17.84411], [35.33492, -17.84358], [35.33515, -17.84307], [35.33543, -17.84253], [35.33565, -17.84215], [35.33594, -17.84173], [35.33664, -17.84087], [35.33748, -17.83991], [35.33763, -17.83974], [35.33913, -17.83796], [35.34126, -17.83548], [35.34217, -17.83445], [35.34264, -17.83397], [35.34251, -17.83388], [35.34198, -17.83356], [35.34142, -17.83328], [35.34087, -17.83297], [35.34039, -17.83273], [35.34048, -17.83246], [35.34108, -17.83079], [35.34128, -17.8303], [35.34172, -17.82903], [35.34193, -17.82843], [35.34203, -17.82779], [35.34199, -17.82746], [35.3418, -17.82653], [35.3416, -17.82568], [35.3414, -17.82475], [35.34118, -17.82388], [35.34109, -17.82344], [35.34102, -17.82325], [35.34002, -17.82026], [35.33969, -17.81935], [35.33945, -17.8189], [35.33748, -17.81687], [35.33732, -17.81671], [35.33628, -17.81564], [35.33572, -17.81506], [35.33545, -17.81465], [35.33524, -17.81444], [35.33513, -17.81438], [35.33492, -17.81429], [35.33477, -17.81414], [35.33441, -17.81361], [35.33424, -17.81333], [35.33343, -17.81176], [35.3332, -17.81132], [35.33294, -17.81084], [35.33259, -17.81027], [35.33237, -17.80995], [35.33213, -17.80965], [35.33189, -17.8094], [35.33159, -17.80914], [35.33135, -17.80892], [35.33105, -17.8087], [35.33072, -17.80847], [35.33041, -17.80829], [35.32967, -17.80784], [35.32893, -17.80743], [35.32743, -17.80652], [35.32593, -17.80564], [35.32504, -17.80513], [35.3244, -17.80476], [35.32324, -17.80405], [35.3219, -17.8033], [35.32063, -17.80256], [35.31936, -17.8018], [35.31875, -17.80144], [35.31813, -17.80106], [35.30824, -17.79524], [35.30442, -17.79302], [35.30075, -17.79083], [35.2997, -17.79023], [35.2949, -17.78742], [35.28728, -17.78294], [35.27818, -17.77762], [35.27756, -17.77724], [35.2772, -17.77696], [35.27691, -17.77665], [35.27665, -17.77629], [35.27625, -17.77615], [35.27533, -17.77585], [35.27479, -17.77552], [35.27453, -17.77552], [35.27106, -17.77653], [35.26888, -17.7772], [35.26713, -17.7777], [35.26331, -17.77884], [35.26242, -17.77908], [35.26136, -17.77944], [35.25982, -17.78032], [35.25926, -17.78055], [35.25775, -17.78096], [35.25757, -17.78116], [35.25723, -17.78115], [35.25632, -17.78122], [35.25497, -17.78109], [35.25398, -17.78122], [35.2533, -17.78117], [35.252, -17.78084], [35.25151, -17.78088], [35.25108, -17.78081], [35.25044, -17.78064], [35.24982, -17.78061], [35.2484, -17.78067], [35.24762, -17.78079], [35.24738, -17.78075], [35.24724, -17.7808], [35.24716, -17.78095], [35.24677, -17.78097]], "type": "LineString"}, "properties": {"color": "red"}, "type": "Feature"}], "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " geo_json_67a9c9f1e6ffe905547bc302067c3c20.bindTooltip(\n", + " geo_json_537f9ee75ae4ed436042b498f51c3b01.bindTooltip(\n", " `<div>\n", " <h4>Vehicle 1</h4>\n", - " <b>Distance</b> 333880.0 m <br>\n", - " <b>Duration</b> 27028.0 secs\n", + " <b>Distance</b> 474543 m <br>\n", + " <b>Duration</b> 23615 secs\n", " \n", " </div>`,\n", " {"sticky": true}\n", " );\n", " \n", " \n", - " function geo_json_ae8c1d6ecbda18b50037a7a41aa600b2_styler(feature) {\n", + " function geo_json_e846dc4b122e7f48deaa229ffac8dd37_styler(feature) {\n", " switch(feature.properties.color) {\n", " default:\n", " return {"color": "blue"};\n", " }\n", " }\n", "\n", - " function geo_json_ae8c1d6ecbda18b50037a7a41aa600b2_onEachFeature(feature, layer) {\n", + " function geo_json_e846dc4b122e7f48deaa229ffac8dd37_onEachFeature(feature, layer) {\n", " layer.on({\n", " });\n", " };\n", - " var geo_json_ae8c1d6ecbda18b50037a7a41aa600b2 = L.geoJson(null, {\n", - " onEachFeature: geo_json_ae8c1d6ecbda18b50037a7a41aa600b2_onEachFeature,\n", + " var geo_json_e846dc4b122e7f48deaa229ffac8dd37 = L.geoJson(null, {\n", + " onEachFeature: geo_json_e846dc4b122e7f48deaa229ffac8dd37_onEachFeature,\n", " \n", - " style: geo_json_ae8c1d6ecbda18b50037a7a41aa600b2_styler,\n", + " style: geo_json_e846dc4b122e7f48deaa229ffac8dd37_styler,\n", " });\n", "\n", - " function geo_json_ae8c1d6ecbda18b50037a7a41aa600b2_add (data) {\n", - " geo_json_ae8c1d6ecbda18b50037a7a41aa600b2\n", + " function geo_json_e846dc4b122e7f48deaa229ffac8dd37_add (data) {\n", + " geo_json_e846dc4b122e7f48deaa229ffac8dd37\n", " .addData(data)\n", - " .addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " .addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " }\n", - " geo_json_ae8c1d6ecbda18b50037a7a41aa600b2_add({"features": [{"geometry": {"coordinates": [[34.83556, -19.81795], [34.83819, -19.81844], [34.83853, -19.81854], [34.83953, -19.81912], [34.84032, -19.81949], [34.8397, -19.82038], [34.83969, -19.82046], [34.83972, -19.82053], [34.84011, -19.82076], [34.83903, -19.8224], [34.83771, -19.82436], [34.83749, -19.82463], [34.83719, -19.82494], [34.83723, -19.82556], [34.83747, -19.82571], [34.83701, -19.82639], [34.83678, -19.82674], [34.83687, -19.82671], [34.83705, -19.82667], [34.83719, -19.8267], [34.8373, -19.82676], [34.83758, -19.82692], [34.83786, -19.82706], [34.83822, -19.82728], [34.83839, -19.82744], [34.83846, -19.82765], [34.83858, -19.82772], [34.83886, -19.82788], [34.83918, -19.82809], [34.83945, -19.82825], [34.8396, -19.82833], [34.8398, -19.82829], [34.83988, -19.82829], [34.83998, -19.82831], [34.84031, -19.82851], [34.84083, -19.82882], [34.84113, -19.829], [34.84125, -19.82907], [34.84175, -19.82936], [34.84186, -19.82943], [34.84281, -19.83003], [34.84303, -19.83016], [34.84348, -19.83045], [34.84368, -19.83054], [34.84376, -19.83051], [34.84385, -19.8305], [34.84422, -19.83006], [34.8443, -19.82994], [34.84442, -19.82998], [34.8445, -19.83002], [34.84471, -19.83], [34.84538, -19.82984], [34.84576, -19.82974], [34.84584, -19.82973], [34.84662, -19.82966], [34.84698, -19.82963], [34.84799, -19.82956], [34.84949, -19.82947], [34.84988, -19.82947], [34.85076, -19.8295], [34.85103, -19.82952], [34.85181, -19.82956], [34.85272, -19.82961], [34.85328, -19.82964], [34.85381, -19.82969], [34.85444, -19.82983], [34.85552, -19.83006], [34.85628, -19.83016], [34.85633, -19.83009], [34.85642, -19.83007], [34.85649, -19.83013], [34.8565, -19.83019], [34.85714, -19.83027], [34.85729, -19.83031], [34.85759, -19.83042], [34.8577, -19.83046], [34.85778, -19.8305], [34.85799, -19.8306], [34.85874, -19.83098], [34.85962, -19.83142], [34.8601, -19.83166], [34.86057, -19.83189], [34.86064, -19.83192], [34.86118, -19.83219], [34.86151, -19.83236], [34.8618, -19.83234], [34.86211, -19.83231], [34.86248, -19.83226], [34.86307, -19.83217], [34.86364, -19.83209], [34.86421, -19.832], [34.86677, -19.83161], [34.86687, -19.83161], [34.86665, -19.8314], [34.86656, -19.83135], [34.86665, -19.8314], [34.86687, -19.83161], [34.86702, -19.83164], [34.86711, -19.83168], [34.86847, -19.83249], [34.86947, -19.8331], [34.86987, -19.83334], [34.87017, -19.83352], [34.87144, -19.83427], [34.87232, -19.8348], [34.87281, -19.83509], [34.8736, -19.83558], [34.87399, -19.83581], [34.87405, -19.83585], [34.87464, -19.83619], [34.87494, -19.83638], [34.87495, -19.83639], [34.87512, -19.8365], [34.87543, -19.83667], [34.87569, -19.83685], [34.87592, -19.83705], [34.876, -19.83715], [34.87674, -19.83807], [34.87748, -19.839], [34.87767, -19.83922], [34.87772, -19.83928], [34.87778, -19.83935], [34.87821, -19.83991], [34.87836, -19.84011], [34.87871, -19.84057], [34.87879, -19.84073], [34.8789, -19.84099], [34.87931, -19.84218], [34.8797, -19.84338], [34.87994, -19.8441], [34.88015, -19.84474], [34.88023, -19.84498], [34.88024, -19.84502], [34.8803, -19.8452], [34.88032, -19.84525], [34.88051, -19.84585], [34.88083, -19.84684], [34.88118, -19.84788], [34.87979, -19.84831], [34.87862, -19.84865], [34.87699, -19.84912], [34.87556, -19.84953], [34.87536, -19.84898], [34.87556, -19.84953], [34.87577, -19.85011], [34.87583, -19.85028], [34.87599, -19.85052], [34.87606, -19.85055], [34.8764, -19.85052], [34.87673, -19.85047], [34.87737, -19.85028], [34.8778, -19.85016], [34.87895, -19.84982], [34.88017, -19.84945], [34.88155, -19.84906], [34.88249, -19.84878], [34.88295, -19.84864], [34.88303, -19.84862], [34.88414, -19.84829], [34.88522, -19.84797], [34.88608, -19.84772], [34.88635, -19.84764], [34.88685, -19.84749], [34.88776, -19.84722], [34.88887, -19.84689], [34.88912, -19.84682], [34.88927, -19.84678], [34.89015, -19.84652], [34.89085, -19.84631], [34.89214, -19.84591], [34.89374, -19.84546], [34.89507, -19.84507], [34.8953, -19.845], [34.89608, -19.84478], [34.89688, -19.84454], [34.89753, -19.84432], [34.89767, -19.84428], [34.89778, -19.8442], [34.89803, -19.84391], [34.8986, -19.84313], [34.89932, -19.84224], [34.8994, -19.84205], [34.89943, -19.84189], [34.89948, -19.84117], [34.89954, -19.84046], [34.89957, -19.8398], [34.8996, -19.83951], [34.89972, -19.83895], [34.89985, -19.83846], [34.89999, -19.8378], [34.90063, -19.8349], [34.9008, -19.83417], [34.9014, -19.83144], [34.90149, -19.83105], [34.90162, -19.83045], [34.9019, -19.82919], [34.90191, -19.82913], [34.90204, -19.82855], [34.90206, -19.82849], [34.90209, -19.82831], [34.90228, -19.82748], [34.90232, -19.8273], [34.90255, -19.82627], [34.90274, -19.82533], [34.9029, -19.82467], [34.90301, -19.8241], [34.90322, -19.8233], [34.90355, -19.82179], [34.90357, -19.82166], [34.90361, -19.82148], [34.90366, -19.82121], [34.90371, -19.82096], [34.90378, -19.82066], [34.90381, -19.82052], [34.90405, -19.81948], [34.90417, -19.81893], [34.90426, -19.8185], [34.90442, -19.8178], [34.90449, -19.81744], [34.90488, -19.81574], [34.90506, -19.81488], [34.90508, -19.81467], [34.90508, -19.81445], [34.90499, -19.81392], [34.90451, -19.81255], [34.90441, -19.81218], [34.9044, -19.81204], [34.90441, -19.81184], [34.9048, -19.80992], [34.90499, -19.8084], [34.90504, -19.80824], [34.9051, -19.8079], [34.90529, -19.80663], [34.90528, -19.80641], [34.90525, -19.80621], [34.90519, -19.806], [34.90501, -19.8055], [34.90456, -19.80454], [34.90442, -19.80433], [34.90419, -19.80411], [34.90388, -19.80388], [34.90336, -19.80355], [34.90296, -19.80327], [34.90259, -19.80304], [34.90108, -19.80209], [34.90001, -19.8014], [34.8998, -19.80126], [34.89942, -19.80103], [34.89924, -19.80092], [34.89856, -19.80048], [34.89579, -19.79874], [34.89519, -19.79836], [34.89401, -19.79724], [34.89359, -19.79766], [34.89331, -19.79788], [34.89312, -19.79809], [34.89229, -19.79925], [34.89205, -19.79959], [34.89166, -19.80013], [34.89162, -19.80019], [34.89158, -19.80023], [34.89146, -19.80042], [34.89125, -19.80075], [34.89104, -19.80103], [34.89083, -19.80138], [34.89082, -19.8015], [34.89071, -19.80165], [34.89082, -19.8015], [34.89083, -19.80138], [34.89104, -19.80103], [34.89125, -19.80075], [34.89146, -19.80042], [34.89158, -19.80023], [34.89162, -19.80019], [34.89166, -19.80013], [34.89205, -19.79959], [34.89229, -19.79925], [34.89312, -19.79809], [34.89331, -19.79788], [34.89359, -19.79766], [34.89401, -19.79724], [34.89249, -19.79583], [34.89211, -19.79549], [34.89123, -19.79466], [34.89038, -19.79387], [34.88966, -19.79319], [34.88847, -19.79209], [34.88779, -19.79146], [34.88776, -19.79144], [34.88628, -19.79008], [34.88532, -19.7892], [34.88467, -19.78858], [34.88367, -19.78765], [34.88344, -19.78742], [34.88296, -19.78698], [34.88219, -19.78628], [34.88198, -19.78609], [34.8819, -19.78603], [34.88121, -19.7854], [34.88036, -19.78461], [34.87961, -19.78395], [34.87914, -19.78347], [34.8786, -19.78298], [34.87858, -19.78296], [34.8781, -19.78254], [34.87806, -19.78249], [34.8776, -19.78208], [34.87738, -19.78188], [34.87654, -19.78117], [34.87535, -19.78047], [34.87516, -19.78036], [34.87498, -19.78028], [34.87485, -19.78026], [34.87434, -19.78028], [34.87398, -19.7803], [34.87268, -19.78038], [34.87252, -19.77995], [34.87234, -19.77949], [34.87214, -19.77895], [34.87191, -19.77835], [34.87006, -19.77894], [34.86965, -19.7785], [34.86923, -19.77802], [34.86913, -19.77803], [34.86873, -19.7769], [34.8684, -19.77598], [34.868, -19.77499], [34.86783, -19.77453], [34.86765, -19.77403], [34.86725, -19.77304], [34.86692, -19.77211], [34.86662, -19.77136], [34.86617, -19.77021], [34.86599, -19.76976], [34.8658, -19.76927], [34.86544, -19.76827], [34.86541, -19.76822], [34.86505, -19.76734], [34.86488, -19.76681], [34.86471, -19.76638], [34.86435, -19.76541], [34.86399, -19.7645], [34.86363, -19.76357], [34.8634, -19.76295], [34.86315, -19.76226], [34.86279, -19.76135], [34.86266, -19.76101], [34.8624, -19.76033], [34.86135, -19.75758], [34.86128, -19.75739], [34.86083, -19.75617], [34.86038, -19.75504], [34.85984, -19.75368], [34.85979, -19.75358], [34.85969, -19.75348], [34.85935, -19.75317], [34.85917, -19.75304], [34.85887, -19.75286], [34.85825, -19.7525], [34.85809, -19.75242], [34.85763, -19.75212], [34.85573, -19.751], [34.85526, -19.75074], [34.85419, -19.7501], [34.8537, -19.74981], [34.85263, -19.74917], [34.85219, -19.74892], [34.85046, -19.74789], [34.84944, -19.74729], [34.84872, -19.7469], [34.84828, -19.74665], [34.8479, -19.74641], [34.84732, -19.74605], [34.8471, -19.74592], [34.84669, -19.74568], [34.84557, -19.74502], [34.84548, -19.74497], [34.84384, -19.74401], [34.84356, -19.74384], [34.84324, -19.74368], [34.84271, -19.74352], [34.84222, -19.74343], [34.84129, -19.74336], [34.84058, -19.74328], [34.83931, -19.74315], [34.83876, -19.74305], [34.83819, -19.74287], [34.83793, -19.74276], [34.83781, -19.74271], [34.83763, -19.74262], [34.83664, -19.7421], [34.83523, -19.74135], [34.83438, -19.74091], [34.83349, -19.74042], [34.83343, -19.74038], [34.83171, -19.73946], [34.82993, -19.73852], [34.82825, -19.73762], [34.82791, -19.73744], [34.82661, -19.73675], [34.82602, -19.73637], [34.82585, -19.73623], [34.82552, -19.73589], [34.8255, -19.73586], [34.82521, -19.73543], [34.82433, -19.7343], [34.82374, -19.73351], [34.82371, -19.73347], [34.82331, -19.73293], [34.82272, -19.73219], [34.82227, -19.73152], [34.82219, -19.73137], [34.82216, -19.73122], [34.82215, -19.73095], [34.82219, -19.73081], [34.82229, -19.73057], [34.82247, -19.73029], [34.82264, -19.73005], [34.82162, -19.72949], [34.8213, -19.72934], [34.82004, -19.72863], [34.81971, -19.72847], [34.8183, -19.72768], [34.81752, -19.72727], [34.8168, -19.72687], [34.81644, -19.72669], [34.81539, -19.7261], [34.814, -19.72534], [34.81371, -19.72519], [34.81252, -19.72455], [34.8115, -19.724], [34.81043, -19.7234], [34.80981, -19.72309], [34.8093, -19.72281], [34.80894, -19.72263], [34.80852, -19.72237], [34.80822, -19.72222], [34.80802, -19.72211], [34.80782, -19.72197], [34.80728, -19.72155], [34.80701, -19.72131], [34.80579, -19.72009], [34.8047, -19.71903], [34.80393, -19.71825], [34.8032, -19.71751], [34.80232, -19.71661], [34.80086, -19.71518], [34.79889, -19.71319], [34.79604, -19.71036], [34.79538, -19.70967], [34.79497, -19.70928], [34.79022, -19.70448], [34.78927, -19.70353], [34.78894, -19.70319], [34.78819, -19.70244], [34.78667, -19.70098], [34.78556, -19.69984], [34.78314, -19.69746], [34.78138, -19.69557], [34.7795, -19.69346], [34.77872, -19.69261], [34.77826, -19.69208], [34.77809, -19.69186], [34.77796, -19.69167], [34.77776, -19.6912], [34.7777, -19.69096], [34.77766, -19.69063], [34.77765, -19.6904], [34.77772, -19.68934], [34.77778, -19.68884], [34.77785, -19.68828], [34.77798, -19.68692], [34.77811, -19.68532], [34.77852, -19.68158], [34.77867, -19.68005], [34.7778, -19.67984], [34.77736, -19.6797], [34.77607, -19.67927], [34.77566, -19.67914], [34.77505, -19.67894], [34.77371, -19.67853], [34.77294, -19.67832], [34.77235, -19.67823], [34.77192, -19.67805], [34.77186, -19.67817], [34.77113, -19.67878], [34.77083, -19.67908], [34.7703, -19.6795], [34.77006, -19.67983], [34.76985, -19.68001], [34.76858, -19.68111], [34.7679, -19.68178], [34.76737, -19.68227], [34.76696, -19.68258], [34.76654, -19.68291], [34.76609, -19.68334], [34.76584, -19.68349], [34.76508, -19.68372], [34.76455, -19.68405], [34.7643, -19.68426], [34.76382, -19.68484], [34.76345, -19.68515], [34.76283, -19.68539], [34.76246, -19.68551], [34.76191, -19.68562], [34.76179, -19.68568], [34.76169, -19.68578], [34.76158, -19.68596], [34.7614, -19.68614], [34.7612, -19.68629], [34.76104, -19.68637], [34.76058, -19.68648], [34.76041, -19.68657], [34.76032, -19.68667], [34.76008, -19.68664], [34.76032, -19.68667], [34.76041, -19.68657], [34.76058, -19.68648], [34.76104, -19.68637], [34.7612, -19.68629], [34.7614, -19.68614], [34.76158, -19.68596], [34.76169, -19.68578], [34.76179, -19.68568], [34.76191, -19.68562], [34.76246, -19.68551], [34.76283, -19.68539], [34.76345, -19.68515], [34.76355, -19.68402], [34.76398, -19.68], [34.76408, -19.67898], [34.76409, -19.67895], [34.76414, -19.67835], [34.76421, -19.67742], [34.76424, -19.67721], [34.76438, -19.67663], [34.76444, -19.67626], [34.76451, -19.67523], [34.76487, -19.67136], [34.76504, -19.66927], [34.76504, -19.66907], [34.76502, -19.66889], [34.76503, -19.66862], [34.76501, -19.6685], [34.76496, -19.66837], [34.76472, -19.66804], [34.76449, -19.66768], [34.76457, -19.66757], [34.76542, -19.66685], [34.76917, -19.66327], [34.77105, -19.66154], [34.77275, -19.65992], [34.77325, -19.65946], [34.7711, -19.65733], [34.77055, -19.65677], [34.77017, -19.65637], [34.76772, -19.65392], [34.76717, -19.65338], [34.76695, -19.65314], [34.76584, -19.65202], [34.76553, -19.6517], [34.76393, -19.65009], [34.76339, -19.64956], [34.76286, -19.64901], [34.76235, -19.64851], [34.76228, -19.64844], [34.76088, -19.64703], [34.75849, -19.6446], [34.75706, -19.64319], [34.75703, -19.64315], [34.7555, -19.64155], [34.75419, -19.64026], [34.75341, -19.63953], [34.75306, -19.63916], [34.75278, -19.63887], [34.75231, -19.63827], [34.75135, -19.63699], [34.75099, -19.6364], [34.75057, -19.63561], [34.75025, -19.63492], [34.74975, -19.63355], [34.74958, -19.6329], [34.74923, -19.63141], [34.7491, -19.63074], [34.74872, -19.62909], [34.74825, -19.62706], [34.74806, -19.6262], [34.74778, -19.62476], [34.74753, -19.62373], [34.74697, -19.62131], [34.74649, -19.61888], [34.74622, -19.61746], [34.74618, -19.61727], [34.74601, -19.61649], [34.74582, -19.61545], [34.74555, -19.6142], [34.74545, -19.61364], [34.74528, -19.61273], [34.74527, -19.61263], [34.74509, -19.61173], [34.74496, -19.61136], [34.74471, -19.6108], [34.74429, -19.61006], [34.74414, -19.60972], [34.74393, -19.6092], [34.74329, -19.60742], [34.74305, -19.60682], [34.7426, -19.60548], [34.74149, -19.60233], [34.74065, -19.59974], [34.73975, -19.59724], [34.73888, -19.59477], [34.73851, -19.5937], [34.73813, -19.59257], [34.73784, -19.59179], [34.73775, -19.59153], [34.73772, -19.59145], [34.73732, -19.59031], [34.73691, -19.58902], [34.73645, -19.58779], [34.73626, -19.58723], [34.73497, -19.58351], [34.73425, -19.58157], [34.73406, -19.58114], [34.73395, -19.58094], [34.73355, -19.58038], [34.73317, -19.58001], [34.73277, -19.57971], [34.7324, -19.57951], [34.73172, -19.57926], [34.73115, -19.57914], [34.73039, -19.57907], [34.72892, -19.57893], [34.72692, -19.57876], [34.72665, -19.57873], [34.72622, -19.57862], [34.72593, -19.57853], [34.72557, -19.5784], [34.72534, -19.57828], [34.7248, -19.57797], [34.72449, -19.57778], [34.72363, -19.57727], [34.72296, -19.57685], [34.72259, -19.57664], [34.72208, -19.57632], [34.72178, -19.57613], [34.72123, -19.5758], [34.72112, -19.57573], [34.72084, -19.57557], [34.71974, -19.57491], [34.71947, -19.57471], [34.71832, -19.57402], [34.71776, -19.57368], [34.7173, -19.5734], [34.71625, -19.57279], [34.71562, -19.5726], [34.71543, -19.57256], [34.71512, -19.57251], [34.71443, -19.57248], [34.71424, -19.57251], [34.71276, -19.5727], [34.71258, -19.57272], [34.711, -19.5729], [34.70802, -19.57325], [34.7057, -19.57351], [34.70442, -19.57363], [34.70411, -19.57363], [34.7038, -19.5736], [34.70346, -19.57353], [34.70316, -19.57344], [34.70279, -19.5733], [34.70242, -19.57313], [34.69915, -19.57157], [34.69884, -19.57143], [34.69644, -19.57025], [34.69439, -19.56925], [34.69192, -19.56804], [34.68681, -19.5657], [34.68555, -19.56521], [34.68365, -19.56457], [34.68344, -19.5645], [34.67938, -19.56319], [34.67795, -19.56275], [34.67513, -19.56185], [34.67395, -19.56147], [34.67371, -19.56139], [34.67183, -19.56079], [34.66935, -19.56001], [34.66916, -19.55995], [34.66761, -19.55947], [34.6653, -19.55873], [34.66345, -19.55815], [34.66135, -19.55749], [34.66053, -19.55723], [34.66031, -19.55716], [34.65822, -19.55647], [34.65784, -19.55635], [34.65465, -19.55531], [34.6535, -19.55493], [34.65282, -19.55464], [34.65218, -19.55424], [34.64742, -19.55008], [34.6471, -19.5498], [34.64548, -19.54827], [34.64402, -19.54685], [34.64199, -19.54485], [34.64009, -19.54296], [34.63894, -19.54183], [34.63849, -19.54138], [34.63818, -19.54108], [34.63727, -19.54017], [34.63656, -19.53947], [34.63584, -19.53875], [34.63532, -19.53823], [34.63458, -19.5375], [34.63378, -19.5367], [34.63359, -19.53652], [34.63158, -19.53449], [34.63043, -19.53333], [34.63004, -19.53291], [34.62961, -19.53241], [34.62845, -19.53072], [34.62806, -19.53012], [34.62762, -19.52948], [34.6248, -19.52521], [34.62459, -19.52488], [34.6243, -19.52444], [34.62427, -19.52438], [34.62404, -19.52404], [34.62389, -19.52383], [34.62385, -19.52372], [34.62368, -19.52344], [34.62187, -19.52052], [34.62179, -19.5204], [34.62108, -19.51925], [34.62012, -19.5177], [34.61905, -19.51605], [34.61882, -19.51577], [34.61853, -19.51548], [34.61817, -19.51517], [34.61657, -19.51405], [34.61528, -19.51308], [34.61116, -19.51011], [34.61104, -19.51002], [34.60924, -19.5087], [34.60755, -19.50747], [34.60631, -19.50657], [34.60557, -19.50607], [34.6054, -19.50595], [34.60245, -19.50385], [34.60091, -19.50283], [34.60007, -19.50225], [34.59937, -19.50177], [34.59746, -19.50051], [34.59692, -19.50015], [34.5965, -19.49988], [34.59614, -19.49965], [34.59602, -19.49982], [34.59592, -19.49992], [34.59557, -19.5004], [34.5954, -19.50066], [34.59507, -19.50111], [34.59483, -19.50145], [34.59463, -19.50167], [34.59448, -19.50192], [34.59444, -19.50203], [34.59443, -19.50212], [34.59443, -19.50232], [34.59443, -19.50258], [34.59439, -19.50265], [34.59427, -19.50263], [34.59414, -19.50255], [34.59408, -19.5026], [34.59396, -19.50277], [34.59391, -19.50279], [34.59378, -19.50274], [34.59373, -19.50281], [34.59366, -19.50297], [34.5936, -19.50302], [34.59352, -19.503], [34.59344, -19.50299], [34.59329, -19.50301], [34.59344, -19.50299], [34.59352, -19.503], [34.5936, -19.50302], [34.59366, -19.50297], [34.59373, -19.50281], [34.59378, -19.50274], [34.59391, -19.50279], [34.59396, -19.50277], [34.59408, -19.5026], [34.59414, -19.50255], [34.59427, -19.50263], [34.59439, -19.50265], [34.59443, -19.50258], [34.59443, -19.50232], [34.59443, -19.50212], [34.59444, -19.50203], [34.59448, -19.50192], [34.59463, -19.50167], [34.59483, -19.50145], [34.59507, -19.50111], [34.5954, -19.50066], [34.59557, -19.5004], [34.59592, -19.49992], [34.59602, -19.49982], [34.59614, -19.49965], [34.59549, -19.49923], [34.59506, -19.49895], [34.59501, -19.49892], [34.5947, -19.49873], [34.59425, -19.49839], [34.59386, -19.49809], [34.59324, -19.49746], [34.5929, -19.49693], [34.59231, -19.49601], [34.59208, -19.49569], [34.59171, -19.49526], [34.59141, -19.495], [34.5905, -19.4944], [34.58704, -19.49187], [34.58538, -19.49068], [34.58373, -19.48949], [34.57981, -19.48658], [34.57586, -19.48372], [34.57461, -19.48286], [34.57128, -19.48043], [34.57076, -19.48004], [34.5704, -19.47971], [34.57012, -19.47942], [34.56967, -19.47892], [34.56286, -19.47044], [34.56174, -19.46905], [34.56063, -19.46768], [34.55953, -19.4663], [34.55757, -19.46392], [34.55711, -19.46345], [34.55607, -19.46221], [34.5524, -19.45793], [34.5516, -19.45701], [34.55091, -19.45622], [34.54899, -19.45401], [34.54852, -19.45353], [34.54828, -19.45333], [34.5478, -19.45295], [34.54746, -19.45273], [34.54726, -19.45261], [34.54674, -19.45235], [34.54626, -19.45214], [34.54561, -19.45194], [34.54531, -19.45186], [34.54458, -19.45174], [34.54353, -19.4517], [34.54209, -19.45173], [34.54151, -19.4517], [34.54131, -19.45172], [34.54103, -19.45172], [34.54056, -19.45167], [34.54024, -19.4516], [34.53988, -19.45148], [34.5397, -19.4514], [34.53927, -19.45116], [34.53898, -19.45094], [34.53858, -19.45055], [34.53832, -19.4502], [34.53821, -19.45], [34.53808, -19.44975], [34.53761, -19.44872], [34.53721, -19.44789], [34.53716, -19.44774], [34.53706, -19.44751], [34.5369, -19.4472], [34.53671, -19.44691], [34.53649, -19.44664], [34.53625, -19.44639], [34.53598, -19.44616], [34.53554, -19.44586], [34.53522, -19.4457], [34.53489, -19.44556], [34.53455, -19.44545], [34.53419, -19.44537], [34.53401, -19.44535], [34.53344, -19.44532], [34.53287, -19.44536], [34.52907, -19.44609], [34.52812, -19.44621], [34.52739, -19.44624], [34.5269, -19.44624], [34.52637, -19.44619], [34.52551, -19.44607], [34.5248, -19.44591], [34.52378, -19.44557], [34.52287, -19.44519], [34.52167, -19.44475], [34.52039, -19.44426], [34.51582, -19.44242], [34.51526, -19.44221], [34.51234, -19.44094], [34.51167, -19.44066], [34.50599, -19.43821], [34.50582, -19.43813], [34.49545, -19.4337], [34.47752, -19.426], [34.47277, -19.42396], [34.47271, -19.42394], [34.46171, -19.41922], [34.4581, -19.41764], [34.45654, -19.41699], [34.45591, -19.41671], [34.45584, -19.41668], [34.45474, -19.41622], [34.45198, -19.41503], [34.45092, -19.41457], [34.45056, -19.41441], [34.45012, -19.41422], [34.44973, -19.41406], [34.44929, -19.41387], [34.44916, -19.41381], [34.44873, -19.41363], [34.44824, -19.41341], [34.4482, -19.4134], [34.44817, -19.41338], [34.44683, -19.41282], [34.44675, -19.41278], [34.4459, -19.41242], [34.44558, -19.41228], [34.44499, -19.41203], [34.44378, -19.41151], [34.44348, -19.41137], [34.44347, -19.41137], [34.44331, -19.4113], [34.443, -19.41114], [34.44254, -19.41087], [34.44202, -19.41047], [34.44136, -19.40998], [34.44129, -19.40992], [34.43923, -19.40821], [34.43688, -19.40634], [34.43543, -19.40515], [34.43445, -19.40436], [34.43442, -19.40434], [34.43399, -19.404], [34.43383, -19.40387], [34.43206, -19.40249], [34.43111, -19.40172], [34.43066, -19.40135], [34.4301, -19.40089], [34.4292, -19.40004], [34.42911, -19.39994], [34.4283, -19.39897], [34.42781, -19.39842], [34.42723, -19.39787], [34.42685, -19.39758], [34.42659, -19.39738], [34.42615, -19.39709], [34.42548, -19.39673], [34.42529, -19.39663], [34.42413, -19.39597], [34.424, -19.3959], [34.4234, -19.39547], [34.42033, -19.39299], [34.42018, -19.39287], [34.41688, -19.39022], [34.41669, -19.39007], [34.41484, -19.38858], [34.41402, -19.38792], [34.40748, -19.38266], [34.40691, -19.38219], [34.40666, -19.382], [34.40656, -19.38192], [34.40618, -19.38161], [34.40442, -19.38018], [34.40296, -19.379], [34.40238, -19.37854], [34.4019, -19.37815], [34.40151, -19.37784], [34.40146, -19.3778], [34.40074, -19.37722], [34.40063, -19.37713], [34.40017, -19.37676], [34.39975, -19.37643], [34.39929, -19.37606], [34.39547, -19.37298], [34.39541, -19.37293], [34.39425, -19.372], [34.38542, -19.36485], [34.38046, -19.36087], [34.37877, -19.35952], [34.37724, -19.35826], [34.37672, -19.35784], [34.3712, -19.35339], [34.3704, -19.3528], [34.3696, -19.35226], [34.36887, -19.35182], [34.36799, -19.35135], [34.36573, -19.35039], [34.36475, -19.35002], [34.36362, -19.34958], [34.36349, -19.34953], [34.36296, -19.34932], [34.3598, -19.34811], [34.35974, -19.34809], [34.3589, -19.34777], [34.35874, -19.34771], [34.35871, -19.3477], [34.35756, -19.34726], [34.35751, -19.34724], [34.35681, -19.34698], [34.35637, -19.34681], [34.35506, -19.34631], [34.35306, -19.34554], [34.35068, -19.34463], [34.34859, -19.34384], [34.34824, -19.34371], [34.34314, -19.34174], [34.33992, -19.3405], [34.33961, -19.34038], [34.33819, -19.33984], [34.33745, -19.33956], [34.33594, -19.33898], [34.33563, -19.33886], [34.3309, -19.33705], [34.33075, -19.337], [34.32851, -19.33613], [34.32751, -19.33575], [34.32725, -19.33565], [34.32497, -19.33477], [34.32401, -19.33441], [34.32268, -19.33391], [34.3217, -19.33355], [34.32106, -19.3333], [34.32032, -19.33301], [34.32026, -19.33299], [34.31842, -19.33228], [34.31773, -19.33205], [34.31746, -19.33195], [34.31701, -19.33177], [34.31582, -19.33129], [34.31506, -19.33098], [34.31403, -19.33052], [34.31067, -19.32892], [34.30968, -19.32846], [34.30515, -19.32628], [34.30224, -19.32492], [34.29627, -19.32204], [34.29041, -19.31922], [34.28637, -19.31729], [34.28422, -19.31627], [34.2823, -19.31535], [34.28109, -19.31477], [34.2797, -19.31411], [34.26755, -19.30828], [34.26348, -19.30634], [34.26319, -19.3062], [34.26297, -19.30609], [34.24679, -19.29833], [34.23868, -19.29446], [34.23604, -19.29319], [34.23424, -19.29233], [34.23339, -19.29189], [34.23225, -19.29123], [34.23166, -19.29083], [34.23084, -19.29023], [34.23056, -19.29001], [34.22978, -19.28935], [34.22876, -19.28838], [34.22681, -19.28658], [34.22585, -19.28568], [34.22458, -19.28451], [34.22286, -19.28289], [34.22221, -19.28229], [34.22175, -19.28185], [34.2212, -19.28134], [34.22041, -19.28059], [34.21972, -19.27997], [34.21879, -19.27911], [34.21823, -19.27856], [34.21797, -19.27834], [34.21765, -19.27802], [34.21645, -19.2769], [34.21581, -19.27631], [34.21486, -19.27545], [34.21455, -19.27514], [34.21398, -19.2746], [34.21381, -19.27445], [34.21345, -19.27411], [34.21332, -19.274], [34.21196, -19.27273], [34.21172, -19.2725], [34.21108, -19.2719], [34.21074, -19.27159], [34.21006, -19.27097], [34.20923, -19.27018], [34.20899, -19.26996], [34.20852, -19.26953], [34.20846, -19.26948], [34.20806, -19.26909], [34.20725, -19.26833], [34.20697, -19.26807], [34.20659, -19.26774], [34.20567, -19.267], [34.20548, -19.26685], [34.20502, -19.26649], [34.20449, -19.26611], [34.20405, -19.26579], [34.2037, -19.26558], [34.203, -19.26517], [34.20251, -19.26492], [34.20216, -19.26475], [34.20169, -19.26451], [34.20119, -19.26426], [34.20029, -19.26392], [34.19768, -19.26297], [34.19603, -19.26235], [34.19014, -19.26011], [34.18953, -19.25988], [34.18853, -19.25951], [34.18484, -19.2581], [34.18189, -19.25698], [34.17988, -19.25621], [34.17812, -19.25554], [34.1763, -19.25487], [34.17514, -19.25442], [34.17499, -19.25436], [34.17439, -19.25412], [34.17382, -19.2539], [34.1726, -19.25346], [34.17126, -19.25296], [34.17086, -19.25282], [34.17032, -19.25268], [34.16988, -19.25259], [34.16717, -19.25214], [34.16255, -19.25137], [34.15793, -19.25057], [34.15655, -19.25037], [34.1549, -19.25009], [34.15382, -19.24991], [34.15308, -19.2498], [34.15235, -19.24978], [34.15211, -19.2498], [34.15151, -19.24991], [34.15085, -19.2501], [34.15053, -19.25024], [34.14838, -19.25123], [34.14751, -19.25164], [34.14697, -19.25188], [34.14638, -19.25208], [34.1461, -19.25215], [34.14576, -19.25222], [34.14536, -19.25226], [34.14492, -19.25228], [34.14433, -19.25223], [34.14376, -19.25212], [34.14318, -19.25194], [34.14271, -19.25174], [34.14143, -19.25119], [34.14021, -19.25068], [34.13917, -19.25024], [34.13807, -19.24972], [34.13448, -19.24815], [34.13207, -19.24711], [34.13078, -19.24655], [34.12855, -19.24558], [34.12764, -19.24518], [34.12671, -19.24478], [34.12487, -19.24398], [34.12437, -19.24376], [34.124, -19.24359], [34.12354, -19.24339], [34.12343, -19.24334], [34.12226, -19.24283], [34.12223, -19.24281], [34.12161, -19.24254], [34.12131, -19.24241], [34.12035, -19.24198], [34.11971, -19.2417], [34.11778, -19.24087], [34.11771, -19.24084], [34.11714, -19.24059], [34.11688, -19.24047], [34.11652, -19.24032], [34.11629, -19.24022], [34.11572, -19.24002], [34.11459, -19.23976], [34.11205, -19.2393], [34.11055, -19.23903], [34.10952, -19.23887], [34.1088, -19.23876], [34.10577, -19.23852], [34.10091, -19.23812], [34.10066, -19.23809], [34.10024, -19.23801], [34.09982, -19.23789], [34.09928, -19.2377], [34.09562, -19.23645], [34.08721, -19.23358], [34.08413, -19.23252], [34.08241, -19.23194], [34.08162, -19.23167], [34.08113, -19.23151], [34.08077, -19.23139], [34.07966, -19.23101], [34.07864, -19.23066], [34.07781, -19.2304], [34.07743, -19.23031], [34.07722, -19.23026], [34.07639, -19.2301], [34.0759, -19.23005], [34.07573, -19.23003], [34.07511, -19.23002], [34.07438, -19.23005], [34.07027, -19.23055], [34.06701, -19.23096], [34.06225, -19.2316], [34.05978, -19.23196], [34.05736, -19.2323], [34.05659, -19.23243], [34.05582, -19.23261], [34.05527, -19.23278], [34.05503, -19.23285], [34.05401, -19.23331], [34.0535, -19.23358], [34.05297, -19.23385], [34.04692, -19.23707], [34.04527, -19.23794], [34.04154, -19.23993], [34.04149, -19.23995], [34.04041, -19.24052], [34.0398, -19.24083], [34.03874, -19.24141], [34.03851, -19.24153], [34.03841, -19.24159], [34.03805, -19.24176], [34.03761, -19.24201], [34.0373, -19.24217], [34.03689, -19.24238], [34.03683, -19.24242], [34.03627, -19.24268], [34.03569, -19.24293], [34.03548, -19.243], [34.03462, -19.24327], [34.03396, -19.24341], [34.03357, -19.24347], [34.0333, -19.24351], [34.033, -19.24354], [34.03214, -19.24357], [34.03163, -19.24356], [34.03124, -19.24353], [34.03116, -19.24352], [34.03044, -19.24342], [34.03012, -19.24336], [34.02944, -19.24319], [34.02809, -19.24276], [34.02772, -19.24264], [34.02752, -19.24258], [34.0266, -19.24227], [34.02557, -19.24193], [34.02539, -19.24187], [34.02481, -19.24168], [34.02338, -19.24122], [34.02243, -19.24091], [34.022, -19.24077], [34.02175, -19.24069], [34.02155, -19.24063], [34.02075, -19.24037], [34.02002, -19.24014], [34.01971, -19.24004], [34.01968, -19.24003], [34.01947, -19.23996], [34.01667, -19.23905], [34.01441, -19.23831], [34.01392, -19.23815], [34.0127, -19.23775], [34.0118, -19.23747], [34.01122, -19.23729], [34.01067, -19.23717], [34.01058, -19.23715], [34.00996, -19.23703], [34.00628, -19.23637], [33.99981, -19.23521], [33.9997, -19.23519], [33.99774, -19.23484], [33.99497, -19.23434], [33.99443, -19.23424], [33.99414, -19.23419], [33.99396, -19.23416], [33.99281, -19.23395], [33.98995, -19.23344], [33.98879, -19.23323], [33.98788, -19.23301], [33.9871, -19.23277], [33.98297, -19.23102], [33.97918, -19.22941], [33.97815, -19.22897], [33.97766, -19.22876], [33.97668, -19.22842], [33.97324, -19.22735], [33.97012, -19.22638], [33.96994, -19.22632], [33.96857, -19.2259], [33.96738, -19.22554], [33.96567, -19.22501], [33.96471, -19.22469], [33.96373, -19.22425], [33.96288, -19.22371], [33.96212, -19.22313], [33.95936, -19.22099], [33.95028, -19.21393], [33.94994, -19.2137], [33.94937, -19.21335], [33.94892, -19.21311], [33.94845, -19.21289], [33.94778, -19.21263], [33.94736, -19.2125], [33.94567, -19.21204], [33.94488, -19.21182], [33.94442, -19.21175], [33.94276, -19.21133], [33.94223, -19.21121], [33.94146, -19.21108], [33.94059, -19.21101], [33.938, -19.21086], [33.93757, -19.21082], [33.93745, -19.21081], [33.93705, -19.21075], [33.93664, -19.21067], [33.93603, -19.21047], [33.93564, -19.21028], [33.93533, -19.21012], [33.93485, -19.20979], [33.93466, -19.20962], [33.93402, -19.20915], [33.9338, -19.20903], [33.93346, -19.20898], [33.9333, -19.20898], [33.93301, -19.20891], [33.93281, -19.20883], [33.93214, -19.20833], [33.93197, -19.20825], [33.93184, -19.20824], [33.93171, -19.20827], [33.93118, -19.20854], [33.93165, -19.20815], [33.93215, -19.20762], [33.93258, -19.2072], [33.93363, -19.20622], [33.93366, -19.20619], [33.93387, -19.20602], [33.93408, -19.20587], [33.93483, -19.20543], [33.93505, -19.20529], [33.93523, -19.20518], [33.93578, -19.20485], [33.9358, -19.20484], [33.93605, -19.20469], [33.93693, -19.20417], [33.93783, -19.20365], [33.93862, -19.20319], [33.93926, -19.20287], [33.93992, -19.20262], [33.9407, -19.20237], [33.94172, -19.20216], [33.94281, -19.20202], [33.94373, -19.20196], [33.94762, -19.20171], [33.95164, -19.20145], [33.95841, -19.20101], [33.96195, -19.20078], [33.96272, -19.20074], [33.96452, -19.20063], [33.96527, -19.20059], [33.96632, -19.20053], [33.9668, -19.20051], [33.96738, -19.20047], [33.96775, -19.20045], [33.96812, -19.20048], [33.9682, -19.20048], [33.96933, -19.20055], [33.97333, -19.20092], [33.97503, -19.20108], [33.97639, -19.2012], [33.97731, -19.20129], [33.97748, -19.2013], [33.97813, -19.20136], [33.97854, -19.20139], [33.97918, -19.20144], [33.97973, -19.20144], [33.98008, -19.20142], [33.98054, -19.2014], [33.98133, -19.20128], [33.98199, -19.20112], [33.9821, -19.20109], [33.9855, -19.2], [33.98563, -19.19996], [33.98747, -19.19938], [33.98859, -19.19893], [33.9894, -19.19858], [33.99055, -19.19809], [33.99205, -19.19741], [33.99294, -19.19696], [33.99305, -19.1969], [33.99395, -19.19626], [33.99442, -19.19586], [33.99485, -19.19545], [33.99535, -19.19488], [33.99577, -19.19432], [33.99611, -19.1938], [33.99632, -19.19345], [33.9969, -19.19247], [33.99725, -19.1919], [33.99782, -19.19093], [33.99829, -19.19022], [33.99879, -19.18959], [33.99959, -19.18878], [33.99961, -19.18876], [33.99979, -19.18859], [34.00013, -19.18833], [34.00047, -19.18809], [34.00088, -19.18781], [34.00194, -19.18715], [34.00314, -19.18636], [34.00323, -19.1863], [34.0043, -19.18564], [34.00547, -19.18489], [34.00612, -19.18445], [34.00678, -19.18386], [34.00748, -19.18307], [34.00773, -19.18279], [34.00831, -19.1819], [34.00948, -19.18009], [34.00974, -19.1797], [34.00997, -19.17934], [34.01094, -19.17779], [34.01106, -19.17755], [34.01116, -19.17736], [34.01136, -19.17697], [34.01173, -19.17616], [34.01266, -19.17381], [34.01271, -19.17368], [34.01317, -19.17253], [34.01355, -19.17154], [34.01402, -19.17023], [34.01423, -19.16923], [34.01425, -19.16901], [34.01425, -19.16893], [34.01437, -19.16751], [34.01442, -19.16678], [34.01461, -19.16352], [34.01463, -19.16337], [34.01467, -19.1627], [34.01488, -19.15981], [34.0149, -19.15921], [34.01501, -19.15756], [34.01519, -19.15449], [34.01524, -19.15363], [34.01526, -19.15345], [34.01532, -19.1524], [34.01547, -19.1514], [34.01591, -19.15008], [34.01626, -19.1491], [34.01694, -19.14716], [34.01707, -19.14695], [34.01718, -19.14676], [34.01727, -19.14661], [34.01742, -19.14634], [34.01753, -19.14618], [34.01792, -19.14566], [34.01879, -19.14473], [34.01949, -19.14408], [34.02085, -19.1428], [34.02177, -19.14193], [34.02194, -19.14178], [34.02341, -19.1404], [34.02439, -19.13948], [34.02636, -19.13763], [34.02664, -19.13736], [34.02701, -19.1371], [34.02744, -19.13681], [34.02782, -19.13653], [34.0296, -19.13562], [34.02974, -19.13557], [34.0311, -19.13502], [34.03129, -19.13495], [34.03193, -19.13469], [34.03198, -19.13469], [34.03286, -19.13432], [34.03314, -19.13421], [34.0335, -19.13406], [34.03459, -19.13362], [34.03467, -19.13359], [34.03482, -19.13353], [34.03504, -19.13344], [34.03564, -19.13321], [34.03662, -19.13275], [34.03736, -19.13231], [34.03758, -19.13217], [34.03827, -19.13161], [34.03878, -19.13108], [34.03949, -19.13014], [34.03997, -19.1294], [34.04053, -19.12856], [34.04083, -19.12808], [34.041, -19.12772], [34.04106, -19.12757], [34.04114, -19.12737], [34.04125, -19.12698], [34.04129, -19.12673], [34.04133, -19.12643], [34.04135, -19.12595], [34.04134, -19.12577], [34.04131, -19.1248], [34.04129, -19.12447], [34.04125, -19.12328], [34.0412, -19.12176], [34.04114, -19.12051], [34.04065, -19.11508], [34.04041, -19.11234], [34.04028, -19.11092], [34.04027, -19.11013], [34.04043, -19.10941], [34.04063, -19.10887], [34.041, -19.10819], [34.04155, -19.10741], [34.04365, -19.10448], [34.0438, -19.10425], [34.04419, -19.10354], [34.04447, -19.10294], [34.0447, -19.1023], [34.04481, -19.10192], [34.04499, -19.10117], [34.04584, -19.09761], [34.04678, -19.0936], [34.04695, -19.0929], [34.04695, -19.09288], [34.04723, -19.0917], [34.04741, -19.09067], [34.04743, -19.09029], [34.04744, -19.08994], [34.04737, -19.08909], [34.04725, -19.08851], [34.04709, -19.08794], [34.04697, -19.08758], [34.0467, -19.08674], [34.04641, -19.0858], [34.04622, -19.08515], [34.04606, -19.08434], [34.04601, -19.08342], [34.04608, -19.08272], [34.0462, -19.08208], [34.04625, -19.08183], [34.04638, -19.08122], [34.04674, -19.07954], [34.0468, -19.07926], [34.04687, -19.07894], [34.04705, -19.07812], [34.04722, -19.0773], [34.04732, -19.07684], [34.04764, -19.07559], [34.04791, -19.07492], [34.04838, -19.07405], [34.04879, -19.07353], [34.04924, -19.07295], [34.04928, -19.0729], [34.05, -19.07225], [34.05088, -19.07157], [34.05107, -19.07143], [34.05386, -19.06929], [34.05468, -19.06863], [34.05547, -19.06786], [34.05596, -19.06727], [34.05633, -19.06682], [34.05733, -19.0656], [34.05799, -19.0648], [34.05921, -19.06294], [34.05926, -19.06288], [34.05931, -19.06279], [34.05998, -19.0618], [34.06099, -19.06019], [34.06181, -19.05904], [34.06266, -19.05809], [34.06331, -19.05745], [34.06455, -19.05621], [34.06649, -19.05421], [34.06681, -19.05389], [34.06802, -19.05235], [34.06832, -19.05197], [34.0684, -19.05185], [34.06892, -19.05109], [34.0698, -19.04984], [34.06989, -19.04971], [34.07004, -19.04951], [34.0712, -19.04783], [34.07173, -19.04707], [34.07254, -19.04592], [34.07297, -19.04513], [34.07306, -19.04489], [34.07325, -19.04434], [34.07334, -19.04402], [34.07344, -19.04348], [34.07351, -19.04257], [34.07343, -19.04171], [34.07335, -19.04131], [34.0732, -19.04069], [34.07319, -19.04066], [34.07308, -19.0403], [34.07257, -19.03828], [34.07209, -19.03642], [34.07197, -19.03564], [34.07199, -19.0348], [34.07208, -19.03437], [34.07217, -19.03406], [34.07231, -19.0337], [34.07255, -19.03324], [34.07286, -19.03277], [34.07731, -19.02674], [34.07882, -19.02473], [34.07966, -19.02348], [34.08018, -19.0225], [34.08052, -19.02158], [34.08111, -19.01943], [34.08132, -19.01874], [34.08307, -19.01234], [34.08333, -19.01133], [34.08343, -19.01068], [34.08352, -19.01013], [34.08362, -19.00951], [34.08374, -19.00838], [34.08375, -19.00823], [34.08396, -19.00705], [34.08418, -19.00595], [34.08427, -19.00573], [34.08474, -19.00447], [34.08478, -19.00436], [34.08529, -19.00299], [34.08541, -19.00257], [34.08569, -19.00164], [34.08579, -19.0009], [34.08587, -19.00004], [34.08588, -18.99965], [34.08583, -18.99915], [34.08559, -18.99775], [34.08554, -18.99758], [34.08545, -18.99744], [34.08536, -18.99731], [34.08524, -18.99722], [34.08507, -18.99716], [34.08476, -18.99704], [34.0846, -18.99695], [34.08447, -18.99684], [34.08436, -18.99669], [34.08429, -18.99653], [34.08423, -18.99633], [34.08422, -18.99603], [34.08425, -18.99586], [34.08435, -18.99563], [34.08459, -18.99533], [34.08731, -18.99231], [34.08785, -18.99175], [34.08815, -18.99151], [34.08839, -18.99134], [34.08869, -18.99117], [34.08903, -18.99102], [34.08958, -18.99086], [34.08995, -18.9908], [34.09008, -18.99078], [34.09177, -18.99069], [34.09221, -18.99066], [34.09225, -18.99066], [34.09232, -18.99065], [34.09267, -18.99058], [34.09297, -18.99048], [34.09321, -18.99038], [34.09348, -18.99025], [34.09371, -18.99011], [34.09414, -18.98982], [34.09436, -18.98966], [34.09449, -18.98957], [34.09724, -18.98779], [34.10033, -18.9857], [34.10071, -18.9854], [34.10106, -18.98506], [34.10128, -18.98481], [34.10147, -18.98456], [34.10169, -18.98414], [34.10198, -18.98352], [34.10228, -18.98204], [34.10256, -18.97966], [34.10273, -18.97876], [34.10302, -18.97804], [34.10629, -18.97344], [34.10695, -18.97233], [34.10937, -18.96682], [34.10981, -18.96576], [34.11006, -18.96524], [34.11037, -18.9647], [34.11095, -18.96384], [34.11163, -18.96291], [34.11474, -18.95916], [34.11535, -18.95848], [34.11608, -18.95786], [34.11701, -18.95722], [34.12004, -18.95522], [34.12051, -18.95487], [34.12108, -18.95437], [34.12133, -18.95411], [34.12165, -18.95375], [34.1223, -18.95288], [34.12249, -18.95265], [34.1229, -18.9522], [34.12373, -18.95144], [34.12449, -18.95083], [34.12596, -18.94965], [34.12624, -18.94941], [34.12669, -18.94905], [34.12714, -18.94872], [34.12735, -18.94861], [34.12809, -18.94826], [34.12931, -18.94775], [34.13, -18.94742], [34.13052, -18.94714], [34.13101, -18.94675], [34.13126, -18.94652], [34.13164, -18.94605], [34.13199, -18.94556], [34.13216, -18.94518], [34.13236, -18.94457], [34.13249, -18.94381], [34.13268, -18.94223], [34.13274, -18.9411], [34.13268, -18.94033], [34.13234, -18.93797], [34.13236, -18.93736], [34.13244, -18.93664], [34.13255, -18.93605], [34.133, -18.93427], [34.13307, -18.93356], [34.13307, -18.93323], [34.13303, -18.93267], [34.13288, -18.93204], [34.13227, -18.93001], [34.13188, -18.9289], [34.13152, -18.92814], [34.13112, -18.92749], [34.13012, -18.92617], [34.12971, -18.92563], [34.12909, -18.92461], [34.12883, -18.92391], [34.12784, -18.92108], [34.12758, -18.92053], [34.12709, -18.91973], [34.12527, -18.91727], [34.12492, -18.91678], [34.12482, -18.91662], [34.12456, -18.91618], [34.12425, -18.91546], [34.12402, -18.91469], [34.1239, -18.91382], [34.12386, -18.91318], [34.12373, -18.91105], [34.1236, -18.90989], [34.12347, -18.90936], [34.12343, -18.9092], [34.12321, -18.90861], [34.12259, -18.90731], [34.12223, -18.90647], [34.12202, -18.90564], [34.12201, -18.90542], [34.12197, -18.90484], [34.12202, -18.90397], [34.12238, -18.90171], [34.12262, -18.89972], [34.12259, -18.89889], [34.12235, -18.89784], [34.12215, -18.89738], [34.12092, -18.89523], [34.1191, -18.89223], [34.11861, -18.89148], [34.11786, -18.89079], [34.11716, -18.89029], [34.11627, -18.88988], [34.11427, -18.88914], [34.11333, -18.88868], [34.11267, -18.88823], [34.11195, -18.88759], [34.11154, -18.88708], [34.11098, -18.88617], [34.1107, -18.8856], [34.10906, -18.88249], [34.10848, -18.88167], [34.10791, -18.8811], [34.10613, -18.87987], [34.105, -18.87914], [34.10436, -18.87862], [34.10352, -18.87765], [34.1031, -18.87703], [34.10161, -18.87402], [34.09982, -18.87044], [34.09849, -18.86781], [34.09833, -18.86745], [34.09825, -18.86725], [34.09804, -18.86656], [34.09795, -18.86604], [34.09791, -18.8651], [34.098, -18.86443], [34.09834, -18.86325], [34.09895, -18.8615], [34.09913, -18.86045], [34.09912, -18.85984], [34.09895, -18.85863], [34.09876, -18.85777], [34.09871, -18.85713], [34.09874, -18.85641], [34.09886, -18.85565], [34.09912, -18.85474], [34.10024, -18.85105], [34.10038, -18.85073], [34.10069, -18.85004], [34.10121, -18.84913], [34.10238, -18.84729], [34.10254, -18.84699], [34.10271, -18.84667], [34.10291, -18.8463], [34.10317, -18.84552], [34.10327, -18.84489], [34.1033, -18.84417], [34.10312, -18.84147], [34.10304, -18.84074], [34.10287, -18.83833], [34.10285, -18.83775], [34.10289, -18.83725], [34.103, -18.83677], [34.10386, -18.83444], [34.10406, -18.83386], [34.10417, -18.83346], [34.10426, -18.8329], [34.10427, -18.83268], [34.10429, -18.83241], [34.10427, -18.83154], [34.1041, -18.82608], [34.10405, -18.82436], [34.10397, -18.82365], [34.10377, -18.82297], [34.10347, -18.82223], [34.10309, -18.82164], [34.10181, -18.81989], [34.09984, -18.8172], [34.09912, -18.81618], [34.09815, -18.81487], [34.09769, -18.81413], [34.09741, -18.81349], [34.09727, -18.81298], [34.09574, -18.80445], [34.09568, -18.80393], [34.09566, -18.80351], [34.09567, -18.80324], [34.09572, -18.80281], [34.09672, -18.79948], [34.09691, -18.79888], [34.09924, -18.79101], [34.09972, -18.78919], [34.09975, -18.78822], [34.09966, -18.78752], [34.09956, -18.78701], [34.09924, -18.78629], [34.09916, -18.7861], [34.09878, -18.78548], [34.09815, -18.78476], [34.09774, -18.78436], [34.09741, -18.78407], [34.0949, -18.78194], [34.09287, -18.78014], [34.09228, -18.77943], [34.09189, -18.77881], [34.09155, -18.7779], [34.09151, -18.77746], [34.09147, -18.77694], [34.09153, -18.77613], [34.09175, -18.77539], [34.09203, -18.77469], [34.09298, -18.77217], [34.09367, -18.77038], [34.09477, -18.76748], [34.09568, -18.76511], [34.0959, -18.76437], [34.09596, -18.76376], [34.09596, -18.76331], [34.0959, -18.76276], [34.09586, -18.7626], [34.09574, -18.76219], [34.09556, -18.76174], [34.0953, -18.76127], [34.09502, -18.76085], [34.09414, -18.75968], [34.09293, -18.75805], [34.09227, -18.75716], [34.09157, -18.75635], [34.09096, -18.75578], [34.08989, -18.75498], [34.08872, -18.75413], [34.08838, -18.75388], [34.08789, -18.75347], [34.08752, -18.75305], [34.08716, -18.75254], [34.0868, -18.7518], [34.08666, -18.75127], [34.08655, -18.75056], [34.08636, -18.74828], [34.08623, -18.74699], [34.08618, -18.7462], [34.08616, -18.74593], [34.0861, -18.74556], [34.08565, -18.74436], [34.08516, -18.74366], [34.0848, -18.74329], [34.08457, -18.74305], [34.08368, -18.74219], [34.08219, -18.74075], [34.08156, -18.74006], [34.08013, -18.73812], [34.07997, -18.7379], [34.07835, -18.73568], [34.07728, -18.73426], [34.07719, -18.73413], [34.077, -18.73389], [34.07664, -18.73331], [34.07643, -18.73281], [34.07448, -18.72742], [34.07428, -18.72691], [34.07385, -18.7256], [34.07374, -18.72507], [34.07369, -18.72459], [34.07371, -18.72414], [34.07379, -18.72355], [34.07381, -18.72324], [34.07425, -18.72231], [34.07565, -18.71955], [34.07652, -18.71784], [34.07781, -18.71531], [34.07809, -18.71476], [34.07841, -18.71382], [34.07843, -18.71373], [34.0785, -18.71323], [34.07847, -18.7124], [34.07835, -18.71173], [34.07788, -18.71011], [34.07687, -18.70658], [34.07656, -18.70551], [34.0764, -18.70487], [34.07629, -18.70452], [34.07588, -18.70366], [34.07584, -18.70356], [34.07576, -18.70339], [34.07497, -18.70183], [34.07475, -18.7014], [34.07428, -18.70047], [34.07396, -18.69975], [34.07368, -18.69927], [34.07296, -18.69783], [34.07196, -18.69582], [34.07157, -18.69499], [34.07127, -18.69424], [34.07101, -18.69343], [34.07086, -18.69254], [34.07058, -18.69066], [34.07024, -18.68829], [34.07017, -18.68772], [34.07001, -18.68665], [34.06998, -18.68642], [34.06991, -18.68578], [34.06995, -18.68538], [34.0702, -18.68424], [34.07039, -18.68355], [34.07062, -18.68271], [34.07143, -18.67938], [34.07163, -18.67878], [34.07193, -18.67825], [34.07229, -18.67768], [34.07295, -18.67663], [34.07302, -18.67653], [34.07385, -18.67525], [34.07508, -18.67332], [34.07531, -18.673], [34.07571, -18.67252], [34.07618, -18.67201], [34.07651, -18.67168], [34.07694, -18.67125], [34.0771, -18.67109], [34.07733, -18.67081], [34.07753, -18.67051], [34.07777, -18.67005], [34.0779, -18.66968], [34.07801, -18.66922], [34.07825, -18.66743], [34.07827, -18.66689], [34.07832, -18.66608], [34.07828, -18.66557], [34.07825, -18.66515], [34.07814, -18.66457], [34.07801, -18.66412], [34.07791, -18.66387], [34.07704, -18.66176], [34.07701, -18.66169], [34.07687, -18.66134], [34.07682, -18.66123], [34.07671, -18.66097], [34.07574, -18.65855], [34.07558, -18.65817], [34.07518, -18.65717], [34.07512, -18.65701], [34.07479, -18.65622], [34.07427, -18.65495], [34.07411, -18.65455], [34.07402, -18.65433], [34.0734, -18.65279], [34.07186, -18.64899], [34.07075, -18.64627], [34.0706, -18.64579], [34.06981, -18.64388], [34.06956, -18.64318], [34.06945, -18.64277], [34.06939, -18.64236], [34.06936, -18.64189], [34.06939, -18.64154], [34.06945, -18.641], [34.06954, -18.6407], [34.07033, -18.63769], [34.07036, -18.63756], [34.07073, -18.63608], [34.07125, -18.63415], [34.07149, -18.63315], [34.07154, -18.6326], [34.07152, -18.63205], [34.07144, -18.63159], [34.0713, -18.63107], [34.07111, -18.6306], [34.07093, -18.63025], [34.07076, -18.63], [34.07059, -18.6297], [34.06963, -18.62839], [34.06904, -18.62761], [34.06851, -18.62687], [34.06796, -18.62599], [34.06763, -18.62528], [34.06739, -18.62463], [34.06724, -18.62398], [34.06709, -18.6234], [34.06685, -18.62256], [34.06665, -18.62174], [34.0666, -18.62149], [34.06614, -18.61961], [34.06594, -18.6189], [34.06575, -18.61837], [34.06538, -18.61758], [34.06499, -18.6169], [34.06462, -18.61637], [34.06409, -18.61572], [34.06383, -18.61545], [34.0636, -18.61522], [34.06308, -18.61476], [34.06244, -18.61427], [34.06001, -18.61265], [34.05874, -18.61179], [34.05829, -18.61156], [34.05783, -18.61138], [34.05723, -18.61118], [34.05662, -18.61106], [34.05625, -18.61103], [34.05597, -18.61101], [34.05518, -18.611], [34.04865, -18.61115], [34.04791, -18.61112], [34.04746, -18.61107], [34.04704, -18.61102], [34.04692, -18.611], [34.04636, -18.61088], [34.04565, -18.61065], [34.04503, -18.61039], [34.04453, -18.61014], [34.04392, -18.60973], [34.04342, -18.60935], [34.04296, -18.60896], [34.04062, -18.60646], [34.03911, -18.60485], [34.03857, -18.60427], [34.03678, -18.60235], [34.03415, -18.59955], [34.03392, -18.59931], [34.03366, -18.59904], [34.03357, -18.59894], [34.03308, -18.59841], [34.03224, -18.59767], [34.03209, -18.59756], [34.03205, -18.59752], [34.03161, -18.59723], [34.03147, -18.59712], [34.0311, -18.59688], [34.03052, -18.59657], [34.02948, -18.59602], [34.02898, -18.59575], [34.02833, -18.59541], [34.02729, -18.59484], [34.02671, -18.59443], [34.02614, -18.59393], [34.02565, -18.59336], [34.02559, -18.59328], [34.02518, -18.59262], [34.02498, -18.59225], [34.02484, -18.59201], [34.02473, -18.59181], [34.02379, -18.59021], [34.0232, -18.58921], [34.02277, -18.58846], [34.02248, -18.58797], [34.02216, -18.58749], [34.02124, -18.58616], [34.02106, -18.58595], [34.02042, -18.58518], [34.01605, -18.58043], [34.01536, -18.57972], [34.01505, -18.57934], [34.01462, -18.57879], [34.01411, -18.57792], [34.01361, -18.57679], [34.01337, -18.57601], [34.01325, -18.57543], [34.01314, -18.57453], [34.01281, -18.56936], [34.0126, -18.56537], [34.01252, -18.56432], [34.01245, -18.56352], [34.01234, -18.56292], [34.01218, -18.5624], [34.01203, -18.56201], [34.01199, -18.56194], [34.01172, -18.56146], [34.01144, -18.56104], [34.01108, -18.56064], [34.01071, -18.56029], [34.01007, -18.55983], [34.00963, -18.55953], [34.00838, -18.55867], [34.00832, -18.55863], [34.00673, -18.55751], [34.00601, -18.557], [34.00518, -18.55619], [34.00505, -18.55603], [34.00453, -18.55539], [34.00427, -18.55499], [34.00403, -18.5546], [34.00394, -18.55444], [34.00369, -18.55392], [34.00338, -18.55328], [34.00314, -18.55273], [34.0025, -18.55128], [34.0022, -18.55062], [34.0016, -18.54925], [34.00062, -18.54697], [33.99985, -18.54523], [33.99889, -18.54316], [33.99662, -18.538], [33.99578, -18.53608], [33.99532, -18.53485], [33.995, -18.53383], [33.99471, -18.5328], [33.99452, -18.53222], [33.99421, -18.53158], [33.99393, -18.53118], [33.99379, -18.53101], [33.99357, -18.53077], [33.99328, -18.53048], [33.99296, -18.5302], [33.99288, -18.53015], [33.99277, -18.53007], [33.9923, -18.52979], [33.99073, -18.52894], [33.98928, -18.52808], [33.98837, -18.52758], [33.98575, -18.52612], [33.98529, -18.52584], [33.98413, -18.52521], [33.98316, -18.52465], [33.98241, -18.52414], [33.982, -18.52387], [33.98137, -18.52334], [33.98042, -18.52248], [33.97834, -18.52017], [33.97675, -18.51832], [33.97552, -18.51698], [33.9724, -18.51337], [33.97071, -18.51145], [33.96919, -18.50969], [33.96812, -18.50823], [33.96758, -18.50724], [33.96526, -18.50284], [33.96325, -18.49895], [33.96243, -18.49737], [33.9618, -18.49626], [33.96123, -18.49537], [33.96043, -18.49415], [33.95922, -18.4924], [33.95641, -18.48827], [33.95441, -18.48536], [33.95396, -18.48478], [33.95355, -18.48433], [33.95292, -18.48371], [33.95264, -18.48349], [33.95192, -18.48296], [33.94974, -18.48161], [33.94592, -18.47922], [33.94444, -18.4783], [33.94382, -18.47789], [33.94323, -18.47741], [33.94296, -18.47715], [33.94256, -18.47672], [33.9423, -18.47639], [33.94197, -18.47592], [33.94161, -18.47523], [33.94139, -18.47474], [33.94058, -18.47267], [33.9402, -18.47179], [33.93917, -18.46923], [33.93838, -18.46722], [33.93752, -18.46511], [33.937, -18.46379], [33.93443, -18.45739], [33.934, -18.45614], [33.9337, -18.45502], [33.93341, -18.4536], [33.93206, -18.44363], [33.93184, -18.44237], [33.93152, -18.44132], [33.93119, -18.44066], [33.93085, -18.4401], [33.93055, -18.43968], [33.93015, -18.43922], [33.92928, -18.43834], [33.92903, -18.43809], [33.92561, -18.43468], [33.92447, -18.43354], [33.92118, -18.43031], [33.92049, -18.42948], [33.92011, -18.42901], [33.91975, -18.42832], [33.91961, -18.42804], [33.91945, -18.42773], [33.91911, -18.42656], [33.91892, -18.4255], [33.9184, -18.42251], [33.91778, -18.41882], [33.91752, -18.41726], [33.91727, -18.41539], [33.91722, -18.41504], [33.91718, -18.41368], [33.9171, -18.41063], [33.91689, -18.40314], [33.91659, -18.39108], [33.9163, -18.37846], [33.91618, -18.3744], [33.91618, -18.37436], [33.91615, -18.3732], [33.9161, -18.37101], [33.91604, -18.36854], [33.91605, -18.3658], [33.91613, -18.34721], [33.91619, -18.34485], [33.91631, -18.34412], [33.91646, -18.3435], [33.91662, -18.34297], [33.91696, -18.34212], [33.91746, -18.34112], [33.91782, -18.34043], [33.92603, -18.32401], [33.92615, -18.32378], [33.92745, -18.32116], [33.92859, -18.31904], [33.92929, -18.31809], [33.92989, -18.31744], [33.93084, -18.31667], [33.93696, -18.31215], [33.93926, -18.31044], [33.93988, -18.30998], [33.94073, -18.30954], [33.94142, -18.30928], [33.94222, -18.30905], [33.94294, -18.30894], [33.94347, -18.30891], [33.94408, -18.30892], [33.94619, -18.309], [33.94633, -18.30901], [33.94664, -18.30902], [33.95123, -18.30924], [33.95245, -18.30933], [33.95306, -18.30941], [33.95379, -18.30952], [33.95459, -18.30966], [33.96333, -18.31136], [33.96358, -18.31141], [33.96413, -18.31151], [33.9649, -18.31153], [33.96524, -18.3115], [33.96547, -18.31147], [33.96602, -18.31135], [33.96628, -18.31127], [33.96684, -18.31104], [33.96732, -18.31077], [33.96761, -18.31057], [33.97439, -18.30498], [33.97505, -18.30449], [33.97563, -18.30416], [33.97626, -18.3039], [33.97675, -18.30376], [33.97725, -18.3037], [33.97771, -18.30367], [33.97841, -18.30372], [33.97921, -18.30381], [33.98413, -18.30427], [33.98469, -18.30428], [33.98522, -18.30422], [33.98578, -18.30411], [33.98634, -18.30395], [33.98682, -18.30372], [33.98724, -18.30346], [33.98768, -18.30312], [33.98846, -18.30245], [33.98962, -18.3014], [33.99194, -18.29925], [33.9931, -18.29807], [33.99359, -18.29743], [33.99646, -18.2935], [33.99734, -18.29232], [33.99795, -18.29166], [33.99846, -18.2912], [33.99902, -18.29076], [33.99985, -18.29023], [34.00753, -18.28558], [34.01024, -18.28391], [34.01218, -18.28289], [34.01251, -18.28271], [34.01483, -18.28194], [34.02694, -18.27935], [34.02747, -18.27919], [34.02794, -18.27901], [34.0284, -18.27878], [34.02885, -18.27846], [34.02925, -18.27812], [34.03067, -18.27643], [34.0343, -18.27194], [34.03838, -18.26702], [34.04028, -18.26531], [34.04195, -18.26393], [34.04294, -18.26294], [34.04356, -18.26222], [34.04855, -18.2554], [34.04924, -18.25442], [34.05006, -18.25337], [34.05042, -18.25302], [34.05083, -18.25271], [34.05138, -18.25239], [34.05304, -18.25158], [34.05563, -18.25035], [34.05609, -18.25013], [34.0584, -18.24902], [34.05945, -18.24853], [34.06004, -18.2482], [34.06052, -18.24784], [34.06142, -18.24711], [34.06406, -18.24446], [34.06542, -18.24312], [34.06665, -18.24176], [34.06705, -18.24092], [34.06731, -18.23973], [34.06897, -18.22754], [34.06935, -18.22514], [34.06963, -18.22449], [34.06993, -18.22393], [34.07056, -18.22306], [34.0736, -18.21908], [34.07448, -18.21792], [34.07498, -18.21723], [34.07723, -18.21427], [34.07737, -18.21409], [34.0792, -18.21166], [34.07963, -18.21117], [34.0797, -18.21109], [34.08003, -18.21072], [34.08032, -18.21049], [34.08091, -18.21012], [34.09001, -18.20622], [34.09443, -18.20433], [34.09577, -18.20374], [34.09623, -18.20348], [34.09662, -18.20319], [34.09701, -18.20284], [34.09745, -18.20232], [34.0978, -18.20178], [34.09804, -18.20136], [34.10014, -18.19772], [34.102, -18.19454], [34.10283, -18.19315], [34.10344, -18.19219], [34.10577, -18.18863], [34.10635, -18.18771], [34.1073, -18.18628], [34.10769, -18.1855], [34.10793, -18.18494], [34.1082, -18.18416], [34.10853, -18.18271], [34.10878, -18.1815], [34.10896, -18.18078], [34.10919, -18.18023], [34.10944, -18.17978], [34.10964, -18.17949], [34.11003, -18.17904], [34.11061, -18.17854], [34.11121, -18.17818], [34.11172, -18.17795], [34.11288, -18.17757], [34.11397, -18.17729], [34.11467, -18.17723], [34.11521, -18.17726], [34.11582, -18.17736], [34.11638, -18.17753], [34.11701, -18.1778], [34.11751, -18.1781], [34.11847, -18.17877], [34.11924, -18.17932], [34.11995, -18.17981], [34.12031, -18.18003], [34.12083, -18.18027], [34.12127, -18.18043], [34.12167, -18.18053], [34.12227, -18.18061], [34.12295, -18.18061], [34.12405, -18.18048], [34.13362, -18.1793], [34.13503, -18.17917], [34.13607, -18.17917], [34.13713, -18.17929], [34.13852, -18.17961], [34.1458, -18.18132], [34.1464, -18.18144], [34.14695, -18.18148], [34.14747, -18.18147], [34.14791, -18.18142], [34.14838, -18.18131], [34.14915, -18.18105], [34.15066, -18.18048], [34.15517, -18.17874], [34.15657, -18.17822], [34.15762, -18.17796], [34.1601, -18.17757], [34.16258, -18.17716], [34.16329, -18.17708], [34.16384, -18.17709], [34.16443, -18.17717], [34.16512, -18.17735], [34.16563, -18.17758], [34.16594, -18.17775], [34.16645, -18.17807], [34.17254, -18.18205], [34.17314, -18.18259], [34.17354, -18.1831], [34.17386, -18.18365], [34.17434, -18.18467], [34.17473, -18.18557], [34.17518, -18.18688], [34.17544, -18.18791], [34.17585, -18.18978], [34.17647, -18.19246], [34.17665, -18.19294], [34.17689, -18.19342], [34.17717, -18.19384], [34.17751, -18.19425], [34.17879, -18.19559], [34.17959, -18.19649], [34.17991, -18.19699], [34.18014, -18.19746], [34.18031, -18.19802], [34.1804, -18.19853], [34.18043, -18.19915], [34.18016, -18.20451], [34.18011, -18.20559], [34.1801, -18.20625], [34.18025, -18.207], [34.18044, -18.20757], [34.1807, -18.20813], [34.18128, -18.20904], [34.18215, -18.21032], [34.18552, -18.21546], [34.18647, -18.21694], [34.18718, -18.21787], [34.18755, -18.21832], [34.18797, -18.21874], [34.18893, -18.21963], [34.19504, -18.22541], [34.19612, -18.22642], [34.19655, -18.22678], [34.19701, -18.2271], [34.19741, -18.22732], [34.19796, -18.22754], [34.19849, -18.22769], [34.20057, -18.22813], [34.20118, -18.22831], [34.20162, -18.22851], [34.2022, -18.22894], [34.20266, -18.22938], [34.20909, -18.23594], [34.21525, -18.24225], [34.21692, -18.24394], [34.21761, -18.2446], [34.21822, -18.24504], [34.21908, -18.24541], [34.2213, -18.24612], [34.22226, -18.2464], [34.22299, -18.24653], [34.22379, -18.24653], [34.22852, -18.24543], [34.22945, -18.24527], [34.22991, -18.24522], [34.23085, -18.24519], [34.23464, -18.24539], [34.2384, -18.24561], [34.23976, -18.24579], [34.24082, -18.24609], [34.24772, -18.24837], [34.25001, -18.24892], [34.2572, -18.25031], [34.25852, -18.25047], [34.25962, -18.25039], [34.2603, -18.25023], [34.26119, -18.24987], [34.26196, -18.24932], [34.26262, -18.24879], [34.26362, -18.24768], [34.26428, -18.24705], [34.26466, -18.2468], [34.26567, -18.24645], [34.26746, -18.24607], [34.26868, -18.24562], [34.26937, -18.24523], [34.27001, -18.24478], [34.27064, -18.24424], [34.27118, -18.24362], [34.27169, -18.24293], [34.27315, -18.24086], [34.27437, -18.23919], [34.27486, -18.23857], [34.27572, -18.23801], [34.27652, -18.23772], [34.27742, -18.23736], [34.27807, -18.23695], [34.27866, -18.23646], [34.28027, -18.23418], [34.28068, -18.23373], [34.28127, -18.23328], [34.28196, -18.23291], [34.29789, -18.22709], [34.29999, -18.22634], [34.30174, -18.22579], [34.30268, -18.22559], [34.30878, -18.22492], [34.30941, -18.22495], [34.31003, -18.22508], [34.31122, -18.2255], [34.31238, -18.22599], [34.31322, -18.22628], [34.31388, -18.22643], [34.31457, -18.22654], [34.31497, -18.22658], [34.31608, -18.22667], [34.31855, -18.22685], [34.31911, -18.22679], [34.31958, -18.2267], [34.32024, -18.22644], [34.32161, -18.22557], [34.32411, -18.22407], [34.33011, -18.22035], [34.33115, -18.21974], [34.33175, -18.21937], [34.3323, -18.21911], [34.33307, -18.21891], [34.33391, -18.21887], [34.34178, -18.21904], [34.34465, -18.21906], [34.35196, -18.21918], [34.3546, -18.21921], [34.35582, -18.21929], [34.35693, -18.21947], [34.3615, -18.22066], [34.39208, -18.22846], [34.39327, -18.22878], [34.39797, -18.23075], [34.40209, -18.2325], [34.4057, -18.23399], [34.4064, -18.23418], [34.40701, -18.23431], [34.40757, -18.23436], [34.40855, -18.23437], [34.41505, -18.2343], [34.42353, -18.23405], [34.43169, -18.23388], [34.43222, -18.23383], [34.43281, -18.23371], [34.4333, -18.23355], [34.43379, -18.2333], [34.43428, -18.233], [34.43471, -18.23266], [34.43497, -18.23239], [34.43529, -18.23203], [34.43555, -18.23167], [34.43591, -18.23098], [34.4362, -18.23031], [34.4379, -18.2267], [34.4393, -18.22364], [34.43999, -18.22239], [34.44062, -18.22157], [34.44141, -18.22071], [34.44229, -18.21995], [34.44652, -18.21735], [34.45478, -18.21244], [34.45679, -18.21117], [34.4589, -18.20995], [34.46704, -18.20512], [34.46801, -18.20468], [34.4696, -18.2042], [34.47194, -18.20362], [34.4789, -18.2019], [34.49181, -18.19879], [34.49241, -18.19863], [34.4972, -18.19749], [34.50739, -18.19503], [34.50882, -18.19467], [34.51007, -18.1945], [34.51711, -18.19415], [34.51947, -18.19399], [34.5219, -18.19351], [34.52415, -18.19259], [34.52526, -18.19199], [34.52632, -18.19128], [34.52804, -18.18981], [34.53074, -18.18742], [34.5328, -18.18572], [34.53415, -18.18467], [34.53496, -18.18404], [34.53648, -18.18283], [34.53724, -18.18223], [34.53881, -18.18098], [34.54, -18.18004], [34.54008, -18.17997], [34.54104, -18.17925], [34.54129, -18.17905], [34.54277, -18.17785], [34.54396, -18.17701], [34.545, -18.17643], [34.54724, -18.17555], [34.55182, -18.17373], [34.56545, -18.1685], [34.57682, -18.1641], [34.57763, -18.16376], [34.57831, -18.1634], [34.57902, -18.16295], [34.58035, -18.16193], [34.58508, -18.15822], [34.5857, -18.15783], [34.58668, -18.15724], [34.5875, -18.15682], [34.5882, -18.15644], [34.58893, -18.15606], [34.58958, -18.1558], [34.59001, -18.15567], [34.59049, -18.15557], [34.59177, -18.15541], [34.59818, -18.1547], [34.60169, -18.15428], [34.60325, -18.15414], [34.60445, -18.15397], [34.60556, -18.15371], [34.62202, -18.14835], [34.62283, -18.14808], [34.62397, -18.14757], [34.6504, -18.13426], [34.65625, -18.13136], [34.65719, -18.13095], [34.6615, -18.12967], [34.66378, -18.12879], [34.67032, -18.12521], [34.6716, -18.12438], [34.67238, -18.12375], [34.67618, -18.11956], [34.67658, -18.1191], [34.67778, -18.11774], [34.67882, -18.11662], [34.67921, -18.11625], [34.67963, -18.11588], [34.68011, -18.11552], [34.68066, -18.11516], [34.6841, -18.11314], [34.68516, -18.11249], [34.68598, -18.11209], [34.68665, -18.11182], [34.68734, -18.1116], [34.68822, -18.11141], [34.68866, -18.11133], [34.68973, -18.11124], [34.70478, -18.11103], [34.70545, -18.11099], [34.70611, -18.11092], [34.7067, -18.11081], [34.7074, -18.11063], [34.70845, -18.1103], [34.7141, -18.10842], [34.72753, -18.10401], [34.72767, -18.10397], [34.7391, -18.1002], [34.74253, -18.09911], [34.74338, -18.09885], [34.74401, -18.09869], [34.74487, -18.09855], [34.74579, -18.09849], [34.7483, -18.09858], [34.7635, -18.0993], [34.76547, -18.09936], [34.76626, -18.09933], [34.7672, -18.0992], [34.76841, -18.09889], [34.77184, -18.09769], [34.77531, -18.09654], [34.77703, -18.09593], [34.77754, -18.09572], [34.77814, -18.09543], [34.77871, -18.09513], [34.77995, -18.09439], [34.78062, -18.094], [34.78185, -18.09329], [34.78319, -18.09254], [34.78393, -18.09213], [34.78476, -18.09173], [34.78543, -18.09145], [34.78635, -18.09119], [34.78741, -18.091], [34.7884, -18.09095], [34.78919, -18.09095], [34.78987, -18.09101], [34.79116, -18.09125], [34.79196, -18.09152], [34.79555, -18.09279], [34.79633, -18.09309], [34.79858, -18.0939], [34.80473, -18.09607], [34.80608, -18.09663], [34.80688, -18.0971], [34.80798, -18.09787], [34.80872, -18.09863], [34.81016, -18.10041], [34.81294, -18.10402], [34.81446, -18.10595], [34.81524, -18.10701], [34.81602, -18.10792], [34.81697, -18.10875], [34.81776, -18.1093], [34.81862, -18.10975], [34.81978, -18.11024], [34.82044, -18.11043], [34.82881, -18.11205], [34.82983, -18.11227], [34.83965, -18.11413], [34.84387, -18.11497], [34.84618, -18.1154], [34.84711, -18.11545], [34.84812, -18.11545], [34.85358, -18.11516], [34.88071, -18.11377], [34.89348, -18.11309], [34.89462, -18.1131], [34.89595, -18.11326], [34.89755, -18.1137], [34.90448, -18.11607], [34.90982, -18.11791], [34.91266, -18.11884], [34.91389, -18.11922], [34.91514, -18.1194], [34.91646, -18.11944], [34.91755, -18.11931], [34.9223, -18.1186], [34.92354, -18.11846], [34.92487, -18.11847], [34.93937, -18.11842], [34.94026, -18.11836], [34.94276, -18.11808], [34.94373, -18.11797], [34.94539, -18.11777], [34.94616, -18.11768], [34.94892, -18.11736], [34.94964, -18.11722], [34.95579, -18.11554], [34.96922, -18.11186], [34.97054, -18.11153], [34.97136, -18.11137], [34.97232, -18.11132], [34.97372, -18.11144], [34.97486, -18.11174], [34.97591, -18.1122], [34.97719, -18.11281], [34.97828, -18.11331], [34.97996, -18.11414], [34.98078, -18.11465], [34.98451, -18.11737], [34.98685, -18.11904], [34.99091, -18.122], [34.99241, -18.12306], [34.9943, -18.12443], [34.99686, -18.1263], [34.99775, -18.12692], [34.99913, -18.12762], [35.00358, -18.12921], [35.01296, -18.13253], [35.01577, -18.13354], [35.01705, -18.13382], [35.0184, -18.13394], [35.01963, -18.13385], [35.02087, -18.13364], [35.04674, -18.12783], [35.04789, -18.12774], [35.04963, -18.12785], [35.06394, -18.1309], [35.06628, -18.13169], [35.06857, -18.13253], [35.07087, -18.13317], [35.07327, -18.13328], [35.07563, -18.13285], [35.07778, -18.13184], [35.07965, -18.1304], [35.08855, -18.12317], [35.08886, -18.12291], [35.09065, -18.12143], [35.0917, -18.1207], [35.09242, -18.12028], [35.09314, -18.11995], [35.09421, -18.11956], [35.09524, -18.11932], [35.10518, -18.11772], [35.10784, -18.11733], [35.10915, -18.11694], [35.11023, -18.11645], [35.11601, -18.113], [35.1166, -18.11262], [35.12211, -18.10934], [35.12841, -18.10548], [35.13052, -18.10417], [35.13153, -18.10348], [35.13253, -18.10258], [35.13423, -18.10092], [35.159, -18.07744], [35.17134, -18.06582], [35.17293, -18.06413], [35.17365, -18.06295], [35.1762, -18.05839], [35.18147, -18.04905], [35.18284, -18.0474], [35.18492, -18.04588], [35.19097, -18.0418], [35.19331, -18.04028], [35.19484, -18.03931], [35.19537, -18.03897], [35.19713, -18.03734], [35.2027, -18.03192], [35.20404, -18.03062], [35.20575, -18.02902], [35.20775, -18.02768], [35.21607, -18.02294], [35.22436, -18.01814], [35.22648, -18.01685], [35.23079, -18.01444], [35.23199, -18.0138], [35.2332, -18.01334], [35.23401, -18.01315], [35.23553, -18.01303], [35.23662, -18.01303], [35.23777, -18.01316], [35.2432, -18.01388], [35.24359, -18.01394], [35.24383, -18.01397], [35.24555, -18.01417], [35.24949, -18.01468], [35.25188, -18.01501], [35.25611, -18.01559], [35.25703, -18.01566], [35.2584, -18.01561], [35.25896, -18.01553], [35.25947, -18.01541], [35.26046, -18.01514], [35.26195, -18.01451], [35.26855, -18.01157], [35.27631, -18.00807], [35.27743, -18.00756], [35.27797, -18.00724], [35.27941, -18.00622], [35.28048, -18.0053], [35.28712, -17.99965], [35.28863, -17.99834], [35.28939, -17.99746], [35.28997, -17.99666], [35.29035, -17.99591], [35.29067, -17.9952], [35.29088, -17.99451], [35.29106, -17.99377], [35.29156, -17.99092], [35.29364, -17.97883], [35.29414, -17.97606], [35.29431, -17.9753], [35.29457, -17.97439], [35.29487, -17.97362], [35.29711, -17.9671], [35.29815, -17.96414], [35.29845, -17.96327], [35.29849, -17.96316], [35.29944, -17.96035], [35.29986, -17.95942], [35.30282, -17.95424], [35.30432, -17.95163], [35.30818, -17.94478], [35.30852, -17.94417], [35.30883, -17.94347], [35.30906, -17.9429], [35.30925, -17.94223], [35.30938, -17.94156], [35.30946, -17.94083], [35.30973, -17.93785], [35.31093, -17.92574], [35.3111, -17.92409], [35.3117, -17.91793], [35.3118, -17.91715], [35.31192, -17.91641], [35.3121, -17.9158], [35.31247, -17.91503], [35.31332, -17.91383], [35.31367, -17.91336], [35.31404, -17.91287], [35.31495, -17.91204], [35.31538, -17.91171], [35.31625, -17.91116], [35.31699, -17.91077], [35.31724, -17.91064], [35.31955, -17.90955], [35.32071, -17.90899], [35.32157, -17.90842], [35.32225, -17.90787], [35.32305, -17.90706], [35.32382, -17.90605], [35.32434, -17.90509], [35.32488, -17.90373], [35.32509, -17.90282], [35.32995, -17.87798], [35.33016, -17.87729], [35.33055, -17.87639], [35.33094, -17.87566], [35.33177, -17.8745], [35.33235, -17.87381], [35.33464, -17.87089], [35.33516, -17.87001], [35.33553, -17.86906], [35.33571, -17.86818], [35.3358, -17.86757], [35.33586, -17.86518], [35.33586, -17.86409], [35.33573, -17.86304], [35.33557, -17.86228], [35.33486, -17.85864], [35.33435, -17.85624], [35.33405, -17.8548], [35.3336, -17.8525], [35.33353, -17.85203], [35.33349, -17.8515], [35.33348, -17.85103], [35.33356, -17.85003], [35.33395, -17.84778], [35.33411, -17.84698], [35.33439, -17.84544], [35.33448, -17.84495], [35.33459, -17.84453], [35.33472, -17.84411], [35.33492, -17.84358], [35.33515, -17.84307], [35.33543, -17.84253], [35.33565, -17.84215], [35.33594, -17.84173], [35.33664, -17.84087], [35.33748, -17.83991], [35.33763, -17.83974], [35.33913, -17.83796], [35.34126, -17.83548], [35.34217, -17.83445], [35.34264, -17.83397], [35.34251, -17.83388], [35.34198, -17.83356], [35.34142, -17.83328], [35.34087, -17.83297], [35.34039, -17.83273], [35.34048, -17.83246], [35.34108, -17.83079], [35.34128, -17.8303], [35.34172, -17.82903], [35.34193, -17.82843], [35.34203, -17.82779], [35.34199, -17.82746], [35.3418, -17.82653], [35.3416, -17.82568], [35.3414, -17.82475], [35.34118, -17.82388], [35.34109, -17.82344], [35.34102, -17.82325], [35.34002, -17.82026], [35.33969, -17.81935], [35.33945, -17.8189], [35.33748, -17.81687], [35.33732, -17.81671], [35.33628, -17.81564], [35.33572, -17.81506], [35.33545, -17.81465], [35.33524, -17.81444], [35.33492, -17.81429], [35.33477, -17.81414], [35.33441, -17.81361], [35.33424, -17.81333], [35.33343, -17.81176], [35.3332, -17.81132], [35.33294, -17.81084], [35.33259, -17.81027], [35.33237, -17.80995], [35.33213, -17.80965], [35.33189, -17.8094], [35.33159, -17.80914], [35.33135, -17.80892], [35.33105, -17.8087], [35.33072, -17.80847], [35.33041, -17.80829], [35.32967, -17.80784], [35.32893, -17.80743], [35.32743, -17.80652], [35.32593, -17.80564], [35.32504, -17.80513], [35.3244, -17.80476], [35.32324, -17.80405], [35.3219, -17.8033], [35.32063, -17.80256], [35.31936, -17.8018], [35.31875, -17.80144], [35.31813, -17.80106], [35.30824, -17.79524], [35.30442, -17.79302], [35.30075, -17.79083], [35.2997, -17.79023], [35.2949, -17.78742], [35.28728, -17.78294], [35.27818, -17.77762], [35.27756, -17.77724], [35.2772, -17.77696], [35.27691, -17.77665], [35.27665, -17.77629], [35.27625, -17.77615], [35.27533, -17.77585], [35.27479, -17.77552], [35.27453, -17.77552], [35.27106, -17.77653], [35.26888, -17.7772], [35.26713, -17.7777], [35.26331, -17.77884], [35.26242, -17.77908], [35.26136, -17.77944], [35.25982, -17.78032], [35.25926, -17.78055], [35.25775, -17.78096], [35.25757, -17.78116], [35.25723, -17.78115], [35.25632, -17.78122], [35.25497, -17.78109], [35.25398, -17.78122], [35.2533, -17.78117], [35.252, -17.78084], [35.25151, -17.78088], [35.25108, -17.78081], [35.25044, -17.78064], [35.24982, -17.78061], [35.2484, -17.78067], [35.24762, -17.78079], [35.24738, -17.78075], [35.24724, -17.7808], [35.24716, -17.78095], [35.24677, -17.78097]], "type": "LineString"}, "properties": {"color": "blue"}, "type": "Feature"}], "type": "FeatureCollection"});\n", + " geo_json_e846dc4b122e7f48deaa229ffac8dd37_add({"features": [{"geometry": {"coordinates": [[34.83556, -19.81795], [34.83819, -19.81844], [34.83853, -19.81854], [34.83953, -19.81912], [34.84032, -19.81949], [34.8397, -19.82038], [34.83969, -19.82046], [34.83972, -19.82053], [34.84011, -19.82076], [34.83903, -19.8224], [34.83771, -19.82436], [34.83749, -19.82463], [34.83719, -19.82494], [34.83723, -19.82556], [34.83747, -19.82571], [34.83701, -19.82639], [34.83699, -19.82642], [34.83707, -19.82659], [34.83719, -19.8267], [34.8373, -19.82676], [34.83758, -19.82692], [34.83786, -19.82706], [34.83822, -19.82728], [34.83839, -19.82744], [34.83846, -19.82765], [34.83858, -19.82772], [34.83886, -19.82788], [34.83918, -19.82809], [34.83945, -19.82825], [34.8396, -19.82833], [34.8398, -19.82829], [34.83988, -19.82829], [34.83998, -19.82831], [34.84031, -19.82851], [34.84083, -19.82882], [34.84113, -19.829], [34.84125, -19.82907], [34.84175, -19.82936], [34.84186, -19.82943], [34.84281, -19.83003], [34.84303, -19.83016], [34.84318, -19.83026], [34.8434, -19.8304], [34.84348, -19.83045], [34.84368, -19.83054], [34.84376, -19.83051], [34.84385, -19.8305], [34.84395, -19.83038], [34.84422, -19.83006], [34.8443, -19.82994], [34.84464, -19.82947], [34.84482, -19.82921], [34.84503, -19.82892], [34.84543, -19.82835], [34.84552, -19.82822], [34.84559, -19.82812], [34.84652, -19.82679], [34.84673, -19.82649], [34.84715, -19.82588], [34.84874, -19.82362], [34.84892, -19.82336], [34.84904, -19.82319], [34.84928, -19.82285], [34.85027, -19.82143], [34.85077, -19.82073], [34.85121, -19.82011], [34.85153, -19.81965], [34.8526, -19.81812], [34.85283, -19.81779], [34.85309, -19.81744], [34.85493, -19.81479], [34.85594, -19.81339], [34.85685, -19.81209], [34.85788, -19.81062], [34.85871, -19.8094], [34.85965, -19.8081], [34.86122, -19.8059], [34.86254, -19.8041], [34.86452, -19.80136], [34.86739, -19.79749], [34.86777, -19.79701], [34.86948, -19.79469], [34.86995, -19.79402], [34.87074, -19.79293], [34.87154, -19.79186], [34.87238, -19.79071], [34.87689, -19.7846], [34.877, -19.78431], [34.87751, -19.78334], [34.87781, -19.78271], [34.87782, -19.7826], [34.87781, -19.7825], [34.87777, -19.78239], [34.87766, -19.78222], [34.8776, -19.78208], [34.87738, -19.78188], [34.87654, -19.78117], [34.87535, -19.78047], [34.87516, -19.78036], [34.87498, -19.78028], [34.87485, -19.78026], [34.87434, -19.78028], [34.87398, -19.7803], [34.87268, -19.78038], [34.87252, -19.77995], [34.87234, -19.77949], [34.87214, -19.77895], [34.87191, -19.77835], [34.87006, -19.77894], [34.86965, -19.7785], [34.86923, -19.77802], [34.86913, -19.77803], [34.86873, -19.7769], [34.8684, -19.77598], [34.868, -19.77499], [34.86783, -19.77453], [34.86765, -19.77403], [34.86725, -19.77304], [34.86692, -19.77211], [34.86662, -19.77136], [34.86617, -19.77021], [34.86599, -19.76976], [34.8658, -19.76927], [34.86544, -19.76827], [34.86541, -19.76822], [34.86505, -19.76734], [34.86488, -19.76681], [34.86471, -19.76638], [34.86435, -19.76541], [34.86399, -19.7645], [34.86363, -19.76357], [34.8634, -19.76295], [34.86315, -19.76226], [34.86279, -19.76135], [34.86266, -19.76101], [34.8624, -19.76033], [34.86135, -19.75758], [34.86128, -19.75739], [34.86083, -19.75617], [34.86038, -19.75504], [34.85984, -19.75368], [34.85979, -19.75358], [34.85969, -19.75348], [34.85935, -19.75317], [34.85917, -19.75304], [34.85887, -19.75286], [34.85825, -19.7525], [34.85809, -19.75242], [34.85763, -19.75212], [34.85573, -19.751], [34.85526, -19.75074], [34.85419, -19.7501], [34.8537, -19.74981], [34.85263, -19.74917], [34.85219, -19.74892], [34.85046, -19.74789], [34.84944, -19.74729], [34.84872, -19.7469], [34.84828, -19.74665], [34.8479, -19.74641], [34.84732, -19.74605], [34.8471, -19.74592], [34.84669, -19.74568], [34.84557, -19.74502], [34.84548, -19.74497], [34.84384, -19.74401], [34.84356, -19.74384], [34.84324, -19.74368], [34.84271, -19.74352], [34.84222, -19.74343], [34.84129, -19.74336], [34.84058, -19.74328], [34.83931, -19.74315], [34.83876, -19.74305], [34.83819, -19.74287], [34.83793, -19.74276], [34.83781, -19.74271], [34.83763, -19.74262], [34.83664, -19.7421], [34.83523, -19.74135], [34.83438, -19.74091], [34.83349, -19.74042], [34.83343, -19.74038], [34.83171, -19.73946], [34.82993, -19.73852], [34.82825, -19.73762], [34.82791, -19.73744], [34.82661, -19.73675], [34.82602, -19.73637], [34.82585, -19.73623], [34.82552, -19.73589], [34.8255, -19.73586], [34.82521, -19.73543], [34.82433, -19.7343], [34.82374, -19.73351], [34.82371, -19.73347], [34.82299, -19.73253], [34.82272, -19.73219], [34.8224, -19.73172], [34.82227, -19.73152], [34.82219, -19.73137], [34.82216, -19.73122], [34.82215, -19.73095], [34.82219, -19.73081], [34.82229, -19.73057], [34.82247, -19.73029], [34.82264, -19.73005], [34.82162, -19.72949], [34.8213, -19.72934], [34.82004, -19.72863], [34.81971, -19.72847], [34.8183, -19.72768], [34.81752, -19.72727], [34.8168, -19.72687], [34.81644, -19.72669], [34.81539, -19.7261], [34.81546, -19.72606], [34.81732, -19.72708], [34.81785, -19.7268], [34.81835, -19.72649], [34.81867, -19.72616], [34.81919, -19.72568], [34.81975, -19.72515], [34.81919, -19.72568], [34.81867, -19.72616], [34.81835, -19.72649], [34.81785, -19.7268], [34.81711, -19.72643], [34.81692, -19.72627], [34.81674, -19.72619], [34.81662, -19.72604], [34.81621, -19.72561], [34.81614, -19.72554], [34.81546, -19.72606], [34.81539, -19.7261], [34.814, -19.72534], [34.81371, -19.72519], [34.81252, -19.72455], [34.8115, -19.724], [34.81043, -19.7234], [34.80981, -19.72309], [34.8093, -19.72281], [34.80894, -19.72263], [34.80852, -19.72237], [34.80822, -19.72222], [34.80802, -19.72211], [34.80782, -19.72197], [34.80728, -19.72155], [34.80701, -19.72131], [34.80579, -19.72009], [34.8047, -19.71903], [34.80393, -19.71825], [34.8032, -19.71751], [34.80232, -19.71661], [34.80086, -19.71518], [34.79889, -19.71319], [34.79604, -19.71036], [34.79538, -19.70967], [34.79497, -19.70928], [34.79022, -19.70448], [34.78927, -19.70353], [34.78894, -19.70319], [34.78819, -19.70244], [34.78667, -19.70098], [34.78556, -19.69984], [34.78314, -19.69746], [34.78138, -19.69557], [34.7795, -19.69346], [34.77872, -19.69261], [34.77826, -19.69208], [34.77809, -19.69186], [34.77796, -19.69167], [34.77776, -19.6912], [34.7777, -19.69096], [34.77766, -19.69063], [34.77765, -19.6904], [34.77772, -19.68934], [34.77778, -19.68884], [34.77785, -19.68828], [34.77798, -19.68692], [34.77811, -19.68532], [34.77852, -19.68158], [34.77867, -19.68005], [34.77891, -19.67785], [34.77903, -19.6766], [34.77917, -19.67562], [34.7793, -19.67518], [34.77946, -19.67449], [34.77956, -19.67393], [34.77965, -19.67252], [34.77979, -19.67142], [34.77985, -19.67104], [34.78019, -19.66938], [34.78023, -19.66901], [34.78022, -19.6681], [34.78015, -19.66759], [34.78006, -19.6673], [34.77997, -19.667], [34.77979, -19.66653], [34.7796, -19.66613], [34.7794, -19.66582], [34.77925, -19.66559], [34.77885, -19.66508], [34.77854, -19.66474], [34.77669, -19.66291], [34.77325, -19.65946], [34.7711, -19.65733], [34.77055, -19.65677], [34.77017, -19.65637], [34.76772, -19.65392], [34.76717, -19.65338], [34.76695, -19.65314], [34.76584, -19.65202], [34.76553, -19.6517], [34.76393, -19.65009], [34.76339, -19.64956], [34.76286, -19.64901], [34.76235, -19.64851], [34.76228, -19.64844], [34.76236, -19.64838], [34.76242, -19.64844], [34.76343, -19.64945], [34.76379, -19.64905], [34.7644, -19.64854], [34.76452, -19.64865], [34.76468, -19.64874], [34.7658, -19.64977], [34.76624, -19.6502], [34.7658, -19.64977], [34.76468, -19.64874], [34.76452, -19.64865], [34.7644, -19.64854], [34.76379, -19.64905], [34.76343, -19.64945], [34.76731, -19.65337], [34.76717, -19.65338], [34.76695, -19.65314], [34.76584, -19.65202], [34.76553, -19.6517], [34.76393, -19.65009], [34.76339, -19.64956], [34.76286, -19.64901], [34.76235, -19.64851], [34.76228, -19.64844], [34.76088, -19.64703], [34.75849, -19.6446], [34.75706, -19.64319], [34.75703, -19.64315], [34.7555, -19.64155], [34.75419, -19.64026], [34.75341, -19.63953], [34.75306, -19.63916], [34.75278, -19.63887], [34.75231, -19.63827], [34.75135, -19.63699], [34.75099, -19.6364], [34.75057, -19.63561], [34.75025, -19.63492], [34.74975, -19.63355], [34.74958, -19.6329], [34.74923, -19.63141], [34.7491, -19.63074], [34.74872, -19.62909], [34.74825, -19.62706], [34.74806, -19.6262], [34.74778, -19.62476], [34.74753, -19.62373], [34.74697, -19.62131], [34.74649, -19.61888], [34.74622, -19.61746], [34.74618, -19.61727], [34.74601, -19.61649], [34.74582, -19.61545], [34.74555, -19.6142], [34.74545, -19.61364], [34.74528, -19.61273], [34.74527, -19.61263], [34.74509, -19.61173], [34.74496, -19.61136], [34.74471, -19.6108], [34.74429, -19.61006], [34.74414, -19.60972], [34.74393, -19.6092], [34.74329, -19.60742], [34.74305, -19.60682], [34.7426, -19.60548], [34.74149, -19.60233], [34.74065, -19.59974], [34.73975, -19.59724], [34.73888, -19.59477], [34.73851, -19.5937], [34.73813, -19.59257], [34.73784, -19.59179], [34.73775, -19.59153], [34.73772, -19.59145], [34.73732, -19.59031], [34.73691, -19.58902], [34.73645, -19.58779], [34.73626, -19.58723], [34.73497, -19.58351], [34.73425, -19.58157], [34.73406, -19.58114], [34.73395, -19.58094], [34.73355, -19.58038], [34.73317, -19.58001], [34.73277, -19.57971], [34.7324, -19.57951], [34.73172, -19.57926], [34.73115, -19.57914], [34.73039, -19.57907], [34.72892, -19.57893], [34.72692, -19.57876], [34.72665, -19.57873], [34.72622, -19.57862], [34.72593, -19.57853], [34.72557, -19.5784], [34.72534, -19.57828], [34.7248, -19.57797], [34.72449, -19.57778], [34.72363, -19.57727], [34.72296, -19.57685], [34.72259, -19.57664], [34.72208, -19.57632], [34.72178, -19.57613], [34.72123, -19.5758], [34.72112, -19.57573], [34.72084, -19.57557], [34.71974, -19.57491], [34.71947, -19.57471], [34.71832, -19.57402], [34.71776, -19.57368], [34.7173, -19.5734], [34.71625, -19.57279], [34.71562, -19.5726], [34.71543, -19.57256], [34.71512, -19.57251], [34.71443, -19.57248], [34.71424, -19.57251], [34.71276, -19.5727], [34.71258, -19.57272], [34.711, -19.5729], [34.70802, -19.57325], [34.7057, -19.57351], [34.70442, -19.57363], [34.70411, -19.57363], [34.7038, -19.5736], [34.70346, -19.57353], [34.70316, -19.57344], [34.70279, -19.5733], [34.70242, -19.57313], [34.69915, -19.57157], [34.69884, -19.57143], [34.69644, -19.57025], [34.69439, -19.56925], [34.69192, -19.56804], [34.68681, -19.5657], [34.68555, -19.56521], [34.68365, -19.56457], [34.68344, -19.5645], [34.67938, -19.56319], [34.67795, -19.56275], [34.67513, -19.56185], [34.67395, -19.56147], [34.67371, -19.56139], [34.67183, -19.56079], [34.66935, -19.56001], [34.66916, -19.55995], [34.66761, -19.55947], [34.6653, -19.55873], [34.66345, -19.55815], [34.66135, -19.55749], [34.66053, -19.55723], [34.66031, -19.55716], [34.65822, -19.55647], [34.65784, -19.55635], [34.65465, -19.55531], [34.6535, -19.55493], [34.65282, -19.55464], [34.65218, -19.55424], [34.64742, -19.55008], [34.6471, -19.5498], [34.64548, -19.54827], [34.64402, -19.54685], [34.64199, -19.54485], [34.64009, -19.54296], [34.63894, -19.54183], [34.63849, -19.54138], [34.63818, -19.54108], [34.63727, -19.54017], [34.63656, -19.53947], [34.63584, -19.53875], [34.63532, -19.53823], [34.63458, -19.5375], [34.63442, -19.5376], [34.63419, -19.53779], [34.634, -19.53791], [34.6338, -19.53799], [34.63345, -19.53819], [34.63329, -19.53828], [34.63313, -19.53839], [34.63298, -19.53862], [34.63296, -19.5387], [34.63292, -19.53881], [34.63264, -19.53921], [34.63232, -19.53966], [34.63224, -19.53976], [34.63205, -19.54], [34.63167, -19.54049], [34.63152, -19.54057], [34.63141, -19.54062], [34.63128, -19.54078], [34.63094, -19.54125], [34.63086, -19.54153], [34.63072, -19.5417], [34.63059, -19.54185], [34.63046, -19.54196], [34.63034, -19.54199], [34.6299, -19.54172], [34.62925, -19.54258], [34.62885, -19.5424], [34.62863, -19.54239], [34.62817, -19.54208], [34.62794, -19.54193], [34.62743, -19.54159], [34.62688, -19.54232], [34.62673, -19.54255], [34.62645, -19.54289], [34.62609, -19.54339], [34.62589, -19.54365], [34.62609, -19.54339], [34.62645, -19.54289], [34.62673, -19.54255], [34.62688, -19.54232], [34.62743, -19.54159], [34.62762, -19.54145], [34.62683, -19.54094], [34.62699, -19.54071], [34.6271, -19.54056], [34.62724, -19.54035], [34.62661, -19.53992], [34.62637, -19.53969], [34.62641, -19.53964], [34.62594, -19.53931], [34.62436, -19.53824], [34.62375, -19.53783], [34.62342, -19.53754], [34.62291, -19.53708], [34.62339, -19.5364], [34.62464, -19.53468], [34.62575, -19.53314], [34.6273, -19.53102], [34.62747, -19.53074], [34.6277, -19.53027], [34.62777, -19.53017], [34.62788, -19.53012], [34.62806, -19.53012], [34.62762, -19.52948], [34.6248, -19.52521], [34.62459, -19.52488], [34.6243, -19.52444], [34.62427, -19.52438], [34.62404, -19.52404], [34.62389, -19.52383], [34.62385, -19.52372], [34.62368, -19.52344], [34.62187, -19.52052], [34.62179, -19.5204], [34.62108, -19.51925], [34.62012, -19.5177], [34.61905, -19.51605], [34.61882, -19.51577], [34.61853, -19.51548], [34.61817, -19.51517], [34.61657, -19.51405], [34.61528, -19.51308], [34.61116, -19.51011], [34.61104, -19.51002], [34.60924, -19.5087], [34.60755, -19.50747], [34.60631, -19.50657], [34.60557, -19.50607], [34.6054, -19.50595], [34.60245, -19.50385], [34.60091, -19.50283], [34.60007, -19.50225], [34.59937, -19.50177], [34.59746, -19.50051], [34.59692, -19.50015], [34.5965, -19.49988], [34.59614, -19.49965], [34.59549, -19.49923], [34.59506, -19.49895], [34.59501, -19.49892], [34.5947, -19.49873], [34.59425, -19.49839], [34.59386, -19.49809], [34.59324, -19.49746], [34.5929, -19.49693], [34.59231, -19.49601], [34.59208, -19.49569], [34.59171, -19.49526], [34.59141, -19.495], [34.5905, -19.4944], [34.58704, -19.49187], [34.58538, -19.49068], [34.58373, -19.48949], [34.57981, -19.48658], [34.57586, -19.48372], [34.57461, -19.48286], [34.57128, -19.48043], [34.57076, -19.48004], [34.5704, -19.47971], [34.57012, -19.47942], [34.56967, -19.47892], [34.56286, -19.47044], [34.56174, -19.46905], [34.56063, -19.46768], [34.55953, -19.4663], [34.55757, -19.46392], [34.55711, -19.46345], [34.55607, -19.46221], [34.5524, -19.45793], [34.5516, -19.45701], [34.55091, -19.45622], [34.55248, -19.45497], [34.55353, -19.45431], [34.55372, -19.45412], [34.55384, -19.45389], [34.5539, -19.45364], [34.55416, -19.45269], [34.55422, -19.45226], [34.55433, -19.45202], [34.55432, -19.45185], [34.55439, -19.45132], [34.55455, -19.45092], [34.55463, -19.45049], [34.55473, -19.45024], [34.55479, -19.44975], [34.55501, -19.44896], [34.55518, -19.44786], [34.55527, -19.4476], [34.55535, -19.44727], [34.55545, -19.4471], [34.55543, -19.44677], [34.55534, -19.44665], [34.55532, -19.4465], [34.55533, -19.4464], [34.55542, -19.44628], [34.55581, -19.44609], [34.55592, -19.44596], [34.55607, -19.44578], [34.55661, -19.4453], [34.55688, -19.44499], [34.55696, -19.44487], [34.55715, -19.44449], [34.55726, -19.44431], [34.55733, -19.44411], [34.55737, -19.44406], [34.55754, -19.44396], [34.55787, -19.44365], [34.55791, -19.44352], [34.55804, -19.44329], [34.55816, -19.44313], [34.55842, -19.44295], [34.55854, -19.44282], [34.55859, -19.44278], [34.55886, -19.44269], [34.55903, -19.44256], [34.55913, -19.4425], [34.5592, -19.44244], [34.55934, -19.44228], [34.55942, -19.44213], [34.55946, -19.44211], [34.55972, -19.44201], [34.55976, -19.44198], [34.55981, -19.44188], [34.55987, -19.44182], [34.55998, -19.44176], [34.56017, -19.44158], [34.5603, -19.4415], [34.56051, -19.44115], [34.56053, -19.44106], [34.56061, -19.4409], [34.56074, -19.44071], [34.56081, -19.44062], [34.56101, -19.4405], [34.56109, -19.44042], [34.56128, -19.44028], [34.56137, -19.44026], [34.56151, -19.44014], [34.56168, -19.44006], [34.56133, -19.43632], [34.56066, -19.42988], [34.56063, -19.42934], [34.56066, -19.42926], [34.56078, -19.42891], [34.56082, -19.4286], [34.56092, -19.42836], [34.56103, -19.42819], [34.56122, -19.42786], [34.56147, -19.4266], [34.56154, -19.42638], [34.56167, -19.42595], [34.56181, -19.42564], [34.56222, -19.42501], [34.56244, -19.42459], [34.56256, -19.42411], [34.56266, -19.42343], [34.56318, -19.42198], [34.56421, -19.42043], [34.56454, -19.42006], [34.56468, -19.41976], [34.56516, -19.41817], [34.56548, -19.41745], [34.5656, -19.41698], [34.56572, -19.41582], [34.56587, -19.41516], [34.56616, -19.41429], [34.56664, -19.41307], [34.56675, -19.41273], [34.56678, -19.41233], [34.56651, -19.41104], [34.56621, -19.40988], [34.56609, -19.40854], [34.56611, -19.40824], [34.56631, -19.40648], [34.56691, -19.40475], [34.56697, -19.40458], [34.56765, -19.4019], [34.56776, -19.40144], [34.56796, -19.40109], [34.56806, -19.40091], [34.56853, -19.40021], [34.56984, -19.39879], [34.57329, -19.3949], [34.57545, -19.39258], [34.57655, -19.39139], [34.57937, -19.38825], [34.57983, -19.38783], [34.58016, -19.38767], [34.58034, -19.3876], [34.58061, -19.38751], [34.58086, -19.38746], [34.58117, -19.38743], [34.5854, -19.38728], [34.58573, -19.38728], [34.58641, -19.38731], [34.58812, -19.38709], [34.58913, -19.38704], [34.59117, -19.38696], [34.59137, -19.38691], [34.59162, -19.38679], [34.59184, -19.3866], [34.5922, -19.38625], [34.59238, -19.38608], [34.59244, -19.38599], [34.59257, -19.38567], [34.59271, -19.38521], [34.59274, -19.38465], [34.59262, -19.38364], [34.59248, -19.38243], [34.59243, -19.38223], [34.59234, -19.3818], [34.59234, -19.38176], [34.59234, -19.38173], [34.59236, -19.38155], [34.59237, -19.38147], [34.59235, -19.38135], [34.59228, -19.38073], [34.59214, -19.37946], [34.59212, -19.37915], [34.5921, -19.37905], [34.59202, -19.3787], [34.59195, -19.37853], [34.59187, -19.3784], [34.59175, -19.37826], [34.59156, -19.37812], [34.59154, -19.37797], [34.59154, -19.37791], [34.59178, -19.37703], [34.59213, -19.37651], [34.59228, -19.37611], [34.59221, -19.37585], [34.59215, -19.37565], [34.59212, -19.37554], [34.59211, -19.37524], [34.59219, -19.37442], [34.59237, -19.3733], [34.59237, -19.37307], [34.59238, -19.37245], [34.59233, -19.37177], [34.59194, -19.3705], [34.59178, -19.37025], [34.5917, -19.36996], [34.59166, -19.36946], [34.59161, -19.36922], [34.59112, -19.36824], [34.59108, -19.36799], [34.59116, -19.36747], [34.59069, -19.36617], [34.59064, -19.36575], [34.59064, -19.36502], [34.59041, -19.36454], [34.59037, -19.36442], [34.59028, -19.36413], [34.58993, -19.36362], [34.58974, -19.36307], [34.58942, -19.36263], [34.58904, -19.36227], [34.5886, -19.36141], [34.58828, -19.36097], [34.58816, -19.36064], [34.58801, -19.3604], [34.58784, -19.36027], [34.58762, -19.36015], [34.58721, -19.35987], [34.58632, -19.35971], [34.58551, -19.35964], [34.58506, -19.35947], [34.58429, -19.35922], [34.58354, -19.35901], [34.58324, -19.3589], [34.58293, -19.35871], [34.58263, -19.35861], [34.58247, -19.35845], [34.58233, -19.35822], [34.58238, -19.35807], [34.58238, -19.35748], [34.58241, -19.35719], [34.58256, -19.35711], [34.5821, -19.35703], [34.58182, -19.35703], [34.58121, -19.35699], [34.58063, -19.35705], [34.58005, -19.3571], [34.57983, -19.3571], [34.57964, -19.35718], [34.57943, -19.3574], [34.5789, -19.35799], [34.57887, -19.35804], [34.5787, -19.35835], [34.57844, -19.35872], [34.57846, -19.35892], [34.57837, -19.35915], [34.57851, -19.35934], [34.57856, -19.35988], [34.57869, -19.36022], [34.57865, -19.36076], [34.57839, -19.36137], [34.57814, -19.36145], [34.57779, -19.3617], [34.57764, -19.36177], [34.5776, -19.36189], [34.57759, -19.36201], [34.57717, -19.36252], [34.5771, -19.36256], [34.57682, -19.36246], [34.57659, -19.36232], [34.57648, -19.36221], [34.57634, -19.36216], [34.57619, -19.36218], [34.5758, -19.36242], [34.5757, -19.36262], [34.57564, -19.3627], [34.57548, -19.363], [34.57564, -19.3627], [34.5757, -19.36262], [34.5758, -19.36242], [34.57619, -19.36218], [34.57634, -19.36216], [34.57648, -19.36221], [34.57659, -19.36232], [34.57682, -19.36246], [34.5771, -19.36256], [34.57717, -19.36252], [34.57759, -19.36201], [34.5776, -19.36189], [34.57764, -19.36177], [34.57779, -19.3617], [34.57814, -19.36145], [34.57839, -19.36137], [34.57865, -19.36076], [34.57869, -19.36022], [34.57856, -19.35988], [34.57851, -19.35934], [34.57837, -19.35915], [34.57846, -19.35892], [34.57844, -19.35872], [34.5787, -19.35835], [34.57887, -19.35804], [34.5789, -19.35799], [34.57943, -19.3574], [34.57964, -19.35718], [34.57983, -19.3571], [34.58005, -19.3571], [34.58063, -19.35705], [34.58121, -19.35699], [34.58182, -19.35703], [34.5821, -19.35703], [34.58256, -19.35711], [34.58241, -19.35719], [34.58238, -19.35748], [34.58238, -19.35807], [34.58233, -19.35822], [34.58247, -19.35845], [34.58263, -19.35861], [34.58293, -19.35871], [34.58324, -19.3589], [34.58354, -19.35901], [34.58429, -19.35922], [34.58506, -19.35947], [34.58551, -19.35964], [34.58632, -19.35971], [34.58721, -19.35987], [34.58762, -19.36015], [34.58784, -19.36027], [34.58801, -19.3604], [34.58816, -19.36064], [34.58828, -19.36097], [34.5886, -19.36141], [34.58904, -19.36227], [34.58942, -19.36263], [34.58974, -19.36307], [34.58993, -19.36362], [34.59028, -19.36413], [34.59037, -19.36442], [34.59041, -19.36454], [34.59064, -19.36502], [34.59064, -19.36575], [34.59069, -19.36617], [34.59116, -19.36747], [34.59108, -19.36799], [34.59112, -19.36824], [34.59161, -19.36922], [34.59166, -19.36946], [34.5917, -19.36996], [34.59178, -19.37025], [34.59194, -19.3705], [34.59233, -19.37177], [34.59238, -19.37245], [34.59237, -19.37307], [34.59237, -19.3733], [34.59219, -19.37442], [34.59211, -19.37524], [34.59212, -19.37554], [34.59215, -19.37565], [34.59221, -19.37585], [34.59228, -19.37611], [34.59213, -19.37651], [34.59178, -19.37703], [34.59154, -19.37791], [34.59154, -19.37797], [34.59156, -19.37812], [34.59175, -19.37826], [34.59187, -19.3784], [34.59195, -19.37853], [34.59202, -19.3787], [34.5921, -19.37905], [34.59212, -19.37915], [34.59214, -19.37946], [34.59228, -19.38073], [34.59235, -19.38135], [34.59237, -19.38147], [34.59236, -19.38155], [34.59234, -19.38173], [34.59234, -19.38176], [34.59234, -19.3818], [34.59243, -19.38223], [34.59248, -19.38243], [34.59262, -19.38364], [34.59274, -19.38465], [34.59271, -19.38521], [34.59257, -19.38567], [34.59244, -19.38599], [34.59238, -19.38608], [34.5922, -19.38625], [34.59184, -19.3866], [34.59162, -19.38679], [34.59137, -19.38691], [34.59117, -19.38696], [34.58913, -19.38704], [34.58812, -19.38709], [34.58641, -19.38731], [34.58573, -19.38728], [34.5854, -19.38728], [34.58117, -19.38743], [34.58086, -19.38746], [34.58061, -19.38751], [34.58034, -19.3876], [34.58016, -19.38767], [34.57983, -19.38783], [34.57937, -19.38825], [34.57655, -19.39139], [34.57545, -19.39258], [34.57329, -19.3949], [34.56984, -19.39879], [34.56853, -19.40021], [34.56806, -19.40091], [34.56796, -19.40109], [34.56776, -19.40144], [34.56765, -19.4019], [34.56697, -19.40458], [34.56691, -19.40475], [34.56631, -19.40648], [34.56611, -19.40824], [34.56609, -19.40854], [34.56621, -19.40988], [34.56651, -19.41104], [34.56678, -19.41233], [34.56675, -19.41273], [34.56664, -19.41307], [34.56616, -19.41429], [34.56587, -19.41516], [34.56572, -19.41582], [34.5656, -19.41698], [34.56548, -19.41745], [34.56516, -19.41817], [34.56468, -19.41976], [34.56454, -19.42006], [34.56421, -19.42043], [34.56318, -19.42198], [34.56266, -19.42343], [34.56256, -19.42411], [34.56244, -19.42459], [34.56222, -19.42501], [34.56181, -19.42564], [34.56167, -19.42595], [34.56154, -19.42638], [34.56147, -19.4266], [34.56122, -19.42786], [34.56103, -19.42819], [34.56092, -19.42836], [34.56082, -19.4286], [34.56078, -19.42891], [34.56066, -19.42926], [34.56063, -19.42934], [34.56066, -19.42988], [34.56133, -19.43632], [34.56168, -19.44006], [34.56151, -19.44014], [34.56137, -19.44026], [34.56128, -19.44028], [34.56109, -19.44042], [34.56101, -19.4405], [34.56081, -19.44062], [34.56074, -19.44071], [34.56061, -19.4409], [34.56053, -19.44106], [34.56051, -19.44115], [34.5603, -19.4415], [34.56017, -19.44158], [34.55998, -19.44176], [34.55987, -19.44182], [34.55981, -19.44188], [34.55976, -19.44198], [34.55972, -19.44201], [34.55946, -19.44211], [34.55942, -19.44213], [34.55934, -19.44228], [34.5592, -19.44244], [34.55913, -19.4425], [34.55903, -19.44256], [34.55886, -19.44269], [34.55859, -19.44278], [34.55854, -19.44282], [34.55842, -19.44295], [34.55816, -19.44313], [34.55804, -19.44329], [34.55791, -19.44352], [34.55787, -19.44365], [34.55754, -19.44396], [34.55737, -19.44406], [34.55733, -19.44411], [34.55726, -19.44431], [34.55715, -19.44449], [34.55696, -19.44487], [34.55688, -19.44499], [34.55661, -19.4453], [34.55607, -19.44578], [34.55592, -19.44596], [34.55581, -19.44609], [34.55542, -19.44628], [34.55533, -19.4464], [34.55532, -19.4465], [34.55534, -19.44665], [34.55543, -19.44677], [34.55545, -19.4471], [34.55535, -19.44727], [34.55527, -19.4476], [34.55518, -19.44786], [34.55501, -19.44896], [34.55479, -19.44975], [34.55473, -19.45024], [34.55463, -19.45049], [34.55455, -19.45092], [34.55439, -19.45132], [34.55432, -19.45185], [34.55433, -19.45202], [34.55422, -19.45226], [34.55416, -19.45269], [34.5539, -19.45364], [34.55384, -19.45389], [34.55372, -19.45412], [34.55353, -19.45431], [34.55248, -19.45497], [34.55091, -19.45622], [34.54899, -19.45401], [34.54852, -19.45353], [34.54828, -19.45333], [34.5478, -19.45295], [34.54746, -19.45273], [34.54726, -19.45261], [34.54674, -19.45235], [34.54626, -19.45214], [34.54561, -19.45194], [34.54531, -19.45186], [34.54458, -19.45174], [34.54353, -19.4517], [34.54209, -19.45173], [34.54151, -19.4517], [34.54131, -19.45172], [34.54103, -19.45172], [34.54056, -19.45167], [34.54024, -19.4516], [34.53988, -19.45148], [34.5397, -19.4514], [34.53927, -19.45116], [34.53898, -19.45094], [34.53858, -19.45055], [34.53832, -19.4502], [34.53821, -19.45], [34.53808, -19.44975], [34.53761, -19.44872], [34.53721, -19.44789], [34.53716, -19.44774], [34.53706, -19.44751], [34.5369, -19.4472], [34.53671, -19.44691], [34.53649, -19.44664], [34.53625, -19.44639], [34.53598, -19.44616], [34.53554, -19.44586], [34.53522, -19.4457], [34.53489, -19.44556], [34.53455, -19.44545], [34.53419, -19.44537], [34.53401, -19.44535], [34.53344, -19.44532], [34.53287, -19.44536], [34.52907, -19.44609], [34.52812, -19.44621], [34.52739, -19.44624], [34.5269, -19.44624], [34.52637, -19.44619], [34.52551, -19.44607], [34.5248, -19.44591], [34.52378, -19.44557], [34.52287, -19.44519], [34.52167, -19.44475], [34.52039, -19.44426], [34.51582, -19.44242], [34.51526, -19.44221], [34.51234, -19.44094], [34.51167, -19.44066], [34.50599, -19.43821], [34.50582, -19.43813], [34.49545, -19.4337], [34.47752, -19.426], [34.47277, -19.42396], [34.47271, -19.42394], [34.46171, -19.41922], [34.4581, -19.41764], [34.45654, -19.41699], [34.45591, -19.41671], [34.45584, -19.41668], [34.45474, -19.41622], [34.45198, -19.41503], [34.45092, -19.41457], [34.45056, -19.41441], [34.45012, -19.41422], [34.44973, -19.41406], [34.44929, -19.41387], [34.44916, -19.41381], [34.44873, -19.41363], [34.44824, -19.41341], [34.4482, -19.4134], [34.44817, -19.41338], [34.44683, -19.41282], [34.44675, -19.41278], [34.4459, -19.41242], [34.44558, -19.41228], [34.44499, -19.41203], [34.44378, -19.41151], [34.44348, -19.41137], [34.44347, -19.41137], [34.44331, -19.4113], [34.443, -19.41114], [34.44254, -19.41087], [34.44202, -19.41047], [34.44136, -19.40998], [34.44129, -19.40992], [34.43923, -19.40821], [34.43688, -19.40634], [34.43543, -19.40515], [34.43445, -19.40436], [34.43442, -19.40434], [34.43399, -19.404], [34.43383, -19.40387], [34.43206, -19.40249], [34.43111, -19.40172], [34.43066, -19.40135], [34.4301, -19.40089], [34.4292, -19.40004], [34.42911, -19.39994], [34.4283, -19.39897], [34.42781, -19.39842], [34.42723, -19.39787], [34.42685, -19.39758], [34.42659, -19.39738], [34.42615, -19.39709], [34.42548, -19.39673], [34.42529, -19.39663], [34.42413, -19.39597], [34.424, -19.3959], [34.4234, -19.39547], [34.42033, -19.39299], [34.42018, -19.39287], [34.41688, -19.39022], [34.41669, -19.39007], [34.41484, -19.38858], [34.41402, -19.38792], [34.40748, -19.38266], [34.40691, -19.38219], [34.40666, -19.382], [34.40656, -19.38192], [34.40618, -19.38161], [34.40442, -19.38018], [34.40296, -19.379], [34.40238, -19.37854], [34.4019, -19.37815], [34.40151, -19.37784], [34.40146, -19.3778], [34.40074, -19.37722], [34.40063, -19.37713], [34.40017, -19.37676], [34.39975, -19.37643], [34.39929, -19.37606], [34.39547, -19.37298], [34.39541, -19.37293], [34.39425, -19.372], [34.38542, -19.36485], [34.38046, -19.36087], [34.37877, -19.35952], [34.37724, -19.35826], [34.37672, -19.35784], [34.3712, -19.35339], [34.3704, -19.3528], [34.3696, -19.35226], [34.36887, -19.35182], [34.36799, -19.35135], [34.36573, -19.35039], [34.36475, -19.35002], [34.36362, -19.34958], [34.36349, -19.34953], [34.36296, -19.34932], [34.3598, -19.34811], [34.35974, -19.34809], [34.3589, -19.34777], [34.35874, -19.34771], [34.35871, -19.3477], [34.35756, -19.34726], [34.35751, -19.34724], [34.35681, -19.34698], [34.35637, -19.34681], [34.35506, -19.34631], [34.35306, -19.34554], [34.35068, -19.34463], [34.34859, -19.34384], [34.34824, -19.34371], [34.34314, -19.34174], [34.33992, -19.3405], [34.33961, -19.34038], [34.33819, -19.33984], [34.33745, -19.33956], [34.33594, -19.33898], [34.33563, -19.33886], [34.3309, -19.33705], [34.33075, -19.337], [34.32851, -19.33613], [34.32751, -19.33575], [34.32725, -19.33565], [34.32497, -19.33477], [34.32401, -19.33441], [34.32268, -19.33391], [34.3217, -19.33355], [34.32106, -19.3333], [34.32032, -19.33301], [34.32026, -19.33299], [34.31842, -19.33228], [34.31773, -19.33205], [34.31746, -19.33195], [34.31701, -19.33177], [34.31582, -19.33129], [34.31506, -19.33098], [34.31403, -19.33052], [34.31067, -19.32892], [34.30968, -19.32846], [34.30515, -19.32628], [34.30224, -19.32492], [34.29627, -19.32204], [34.29041, -19.31922], [34.28637, -19.31729], [34.28422, -19.31627], [34.2823, -19.31535], [34.28109, -19.31477], [34.2797, -19.31411], [34.26755, -19.30828], [34.26348, -19.30634], [34.26319, -19.3062], [34.26297, -19.30609], [34.24679, -19.29833], [34.23868, -19.29446], [34.23604, -19.29319], [34.23424, -19.29233], [34.23339, -19.29189], [34.23225, -19.29123], [34.23166, -19.29083], [34.23084, -19.29023], [34.23056, -19.29001], [34.22978, -19.28935], [34.22876, -19.28838], [34.22681, -19.28658], [34.22585, -19.28568], [34.22458, -19.28451], [34.22286, -19.28289], [34.22221, -19.28229], [34.22175, -19.28185], [34.2212, -19.28134], [34.22041, -19.28059], [34.21972, -19.27997], [34.21879, -19.27911], [34.21823, -19.27856], [34.21797, -19.27834], [34.21765, -19.27802], [34.21645, -19.2769], [34.21581, -19.27631], [34.21486, -19.27545], [34.21455, -19.27514], [34.21398, -19.2746], [34.21381, -19.27445], [34.21345, -19.27411], [34.21332, -19.274], [34.21196, -19.27273], [34.21172, -19.2725], [34.21108, -19.2719], [34.21074, -19.27159], [34.21006, -19.27097], [34.20923, -19.27018], [34.20899, -19.26996], [34.20852, -19.26953], [34.20846, -19.26948], [34.20806, -19.26909], [34.20725, -19.26833], [34.20697, -19.26807], [34.20659, -19.26774], [34.20567, -19.267], [34.20548, -19.26685], [34.20502, -19.26649], [34.20449, -19.26611], [34.20405, -19.26579], [34.2037, -19.26558], [34.203, -19.26517], [34.20251, -19.26492], [34.20216, -19.26475], [34.20169, -19.26451], [34.20119, -19.26426], [34.20029, -19.26392], [34.19768, -19.26297], [34.19603, -19.26235], [34.19014, -19.26011], [34.18953, -19.25988], [34.18853, -19.25951], [34.18484, -19.2581], [34.18189, -19.25698], [34.17988, -19.25621], [34.17812, -19.25554], [34.1763, -19.25487], [34.17514, -19.25442], [34.17499, -19.25436], [34.17439, -19.25412], [34.17382, -19.2539], [34.1726, -19.25346], [34.17126, -19.25296], [34.17086, -19.25282], [34.17032, -19.25268], [34.16988, -19.25259], [34.16717, -19.25214], [34.16255, -19.25137], [34.15793, -19.25057], [34.15655, -19.25037], [34.1549, -19.25009], [34.15382, -19.24991], [34.15308, -19.2498], [34.15235, -19.24978], [34.15211, -19.2498], [34.15151, -19.24991], [34.15085, -19.2501], [34.15053, -19.25024], [34.14838, -19.25123], [34.14751, -19.25164], [34.14697, -19.25188], [34.14638, -19.25208], [34.1461, -19.25215], [34.14576, -19.25222], [34.14536, -19.25226], [34.14492, -19.25228], [34.14433, -19.25223], [34.14376, -19.25212], [34.14318, -19.25194], [34.14271, -19.25174], [34.14143, -19.25119], [34.14021, -19.25068], [34.13917, -19.25024], [34.13807, -19.24972], [34.13448, -19.24815], [34.13207, -19.24711], [34.13078, -19.24655], [34.12855, -19.24558], [34.12764, -19.24518], [34.12671, -19.24478], [34.12487, -19.24398], [34.12437, -19.24376], [34.124, -19.24359], [34.12354, -19.24339], [34.12343, -19.24334], [34.12226, -19.24283], [34.12223, -19.24281], [34.12161, -19.24254], [34.12131, -19.24241], [34.12035, -19.24198], [34.11971, -19.2417], [34.11778, -19.24087], [34.11771, -19.24084], [34.11714, -19.24059], [34.11688, -19.24047], [34.11652, -19.24032], [34.11629, -19.24022], [34.11572, -19.24002], [34.11459, -19.23976], [34.11205, -19.2393], [34.11055, -19.23903], [34.10952, -19.23887], [34.1088, -19.23876], [34.10577, -19.23852], [34.10091, -19.23812], [34.10066, -19.23809], [34.10024, -19.23801], [34.09982, -19.23789], [34.09928, -19.2377], [34.09562, -19.23645], [34.08721, -19.23358], [34.08413, -19.23252], [34.08241, -19.23194], [34.08162, -19.23167], [34.08113, -19.23151], [34.08077, -19.23139], [34.07966, -19.23101], [34.07864, -19.23066], [34.07781, -19.2304], [34.07743, -19.23031], [34.07722, -19.23026], [34.07639, -19.2301], [34.0759, -19.23005], [34.07573, -19.23003], [34.07511, -19.23002], [34.07438, -19.23005], [34.07027, -19.23055], [34.06701, -19.23096], [34.06225, -19.2316], [34.05978, -19.23196], [34.05736, -19.2323], [34.05659, -19.23243], [34.05582, -19.23261], [34.05527, -19.23278], [34.05503, -19.23285], [34.05401, -19.23331], [34.0535, -19.23358], [34.05297, -19.23385], [34.04692, -19.23707], [34.04527, -19.23794], [34.04154, -19.23993], [34.04149, -19.23995], [34.04041, -19.24052], [34.0398, -19.24083], [34.03874, -19.24141], [34.03851, -19.24153], [34.03841, -19.24159], [34.03805, -19.24176], [34.03761, -19.24201], [34.0373, -19.24217], [34.03689, -19.24238], [34.03683, -19.24242], [34.03627, -19.24268], [34.03569, -19.24293], [34.03548, -19.243], [34.03462, -19.24327], [34.03396, -19.24341], [34.03357, -19.24347], [34.0333, -19.24351], [34.033, -19.24354], [34.03214, -19.24357], [34.03163, -19.24356], [34.03124, -19.24353], [34.03116, -19.24352], [34.03044, -19.24342], [34.03012, -19.24336], [34.02944, -19.24319], [34.02809, -19.24276], [34.02772, -19.24264], [34.02752, -19.24258], [34.0266, -19.24227], [34.02557, -19.24193], [34.02539, -19.24187], [34.02481, -19.24168], [34.02338, -19.24122], [34.02243, -19.24091], [34.022, -19.24077], [34.02175, -19.24069], [34.02155, -19.24063], [34.02075, -19.24037], [34.02002, -19.24014], [34.01971, -19.24004], [34.01968, -19.24003], [34.01947, -19.23996], [34.01667, -19.23905], [34.01441, -19.23831], [34.01392, -19.23815], [34.0127, -19.23775], [34.0118, -19.23747], [34.01122, -19.23729], [34.01067, -19.23717], [34.01058, -19.23715], [34.00996, -19.23703], [34.00628, -19.23637], [33.99981, -19.23521], [33.9997, -19.23519], [33.99774, -19.23484], [33.99497, -19.23434], [33.99443, -19.23424], [33.99414, -19.23419], [33.99396, -19.23416], [33.99281, -19.23395], [33.98995, -19.23344], [33.98879, -19.23323], [33.98788, -19.23301], [33.9871, -19.23277], [33.98297, -19.23102], [33.97918, -19.22941], [33.97815, -19.22897], [33.97766, -19.22876], [33.97668, -19.22842], [33.97324, -19.22735], [33.97012, -19.22638], [33.96994, -19.22632], [33.96857, -19.2259], [33.96738, -19.22554], [33.96567, -19.22501], [33.96471, -19.22469], [33.96373, -19.22425], [33.96288, -19.22371], [33.96212, -19.22313], [33.95936, -19.22099], [33.95028, -19.21393], [33.94994, -19.2137], [33.94937, -19.21335], [33.94892, -19.21311], [33.94845, -19.21289], [33.94778, -19.21263], [33.94736, -19.2125], [33.94567, -19.21204], [33.94488, -19.21182], [33.94442, -19.21175], [33.94276, -19.21133], [33.94223, -19.21121], [33.94146, -19.21108], [33.94059, -19.21101], [33.938, -19.21086], [33.93757, -19.21082], [33.93745, -19.21081], [33.93705, -19.21075], [33.93664, -19.21067], [33.93603, -19.21047], [33.93564, -19.21028], [33.93533, -19.21012], [33.93485, -19.20979], [33.93466, -19.20962], [33.93402, -19.20915], [33.9338, -19.20903], [33.93346, -19.20898], [33.9333, -19.20898], [33.93301, -19.20891], [33.93281, -19.20883], [33.93214, -19.20833], [33.93197, -19.20825], [33.93184, -19.20824], [33.93171, -19.20827], [33.93118, -19.20854], [33.93165, -19.20815], [33.93215, -19.20762], [33.93258, -19.2072], [33.93363, -19.20622], [33.93366, -19.20619], [33.93387, -19.20602], [33.93408, -19.20587], [33.93483, -19.20543], [33.93505, -19.20529], [33.93523, -19.20518], [33.93578, -19.20485], [33.9358, -19.20484], [33.93605, -19.20469], [33.93693, -19.20417], [33.93783, -19.20365], [33.93862, -19.20319], [33.93926, -19.20287], [33.93992, -19.20262], [33.9407, -19.20237], [33.94172, -19.20216], [33.94281, -19.20202], [33.94373, -19.20196], [33.94762, -19.20171], [33.95164, -19.20145], [33.95841, -19.20101], [33.96195, -19.20078], [33.96272, -19.20074], [33.96452, -19.20063], [33.96527, -19.20059], [33.96632, -19.20053], [33.9668, -19.20051], [33.96738, -19.20047], [33.96775, -19.20045], [33.96812, -19.20048], [33.9682, -19.20048], [33.96933, -19.20055], [33.97333, -19.20092], [33.97503, -19.20108], [33.97639, -19.2012], [33.97731, -19.20129], [33.97748, -19.2013], [33.97813, -19.20136], [33.97854, -19.20139], [33.97918, -19.20144], [33.97973, -19.20144], [33.98008, -19.20142], [33.98054, -19.2014], [33.98133, -19.20128], [33.98199, -19.20112], [33.9821, -19.20109], [33.9855, -19.2], [33.98563, -19.19996], [33.98747, -19.19938], [33.98859, -19.19893], [33.9894, -19.19858], [33.99055, -19.19809], [33.99205, -19.19741], [33.99294, -19.19696], [33.99305, -19.1969], [33.99395, -19.19626], [33.99442, -19.19586], [33.99485, -19.19545], [33.99535, -19.19488], [33.99577, -19.19432], [33.99611, -19.1938], [33.99632, -19.19345], [33.9969, -19.19247], [33.99725, -19.1919], [33.99782, -19.19093], [33.99829, -19.19022], [33.99879, -19.18959], [33.99959, -19.18878], [33.99961, -19.18876], [33.99979, -19.18859], [34.00013, -19.18833], [34.00047, -19.18809], [34.00088, -19.18781], [34.00194, -19.18715], [34.00314, -19.18636], [34.00323, -19.1863], [34.0043, -19.18564], [34.00547, -19.18489], [34.00612, -19.18445], [34.00678, -19.18386], [34.00748, -19.18307], [34.00773, -19.18279], [34.00831, -19.1819], [34.00948, -19.18009], [34.00974, -19.1797], [34.00997, -19.17934], [34.01094, -19.17779], [34.01106, -19.17755], [34.01116, -19.17736], [34.01136, -19.17697], [34.01173, -19.17616], [34.01266, -19.17381], [34.01271, -19.17368], [34.01317, -19.17253], [34.01355, -19.17154], [34.01402, -19.17023], [34.01423, -19.16923], [34.01425, -19.16901], [34.01425, -19.16893], [34.01437, -19.16751], [34.01442, -19.16678], [34.01461, -19.16352], [34.01463, -19.16337], [34.01467, -19.1627], [34.01488, -19.15981], [34.0149, -19.15921], [34.01501, -19.15756], [34.01519, -19.15449], [34.01524, -19.15363], [34.01526, -19.15345], [34.01532, -19.1524], [34.01547, -19.1514], [34.01591, -19.15008], [34.01626, -19.1491], [34.01694, -19.14716], [34.01707, -19.14695], [34.01718, -19.14676], [34.01727, -19.14661], [34.01742, -19.14634], [34.01753, -19.14618], [34.01792, -19.14566], [34.01879, -19.14473], [34.01949, -19.14408], [34.02085, -19.1428], [34.02177, -19.14193], [34.02194, -19.14178], [34.02341, -19.1404], [34.02439, -19.13948], [34.02636, -19.13763], [34.02664, -19.13736], [34.02701, -19.1371], [34.02744, -19.13681], [34.02782, -19.13653], [34.0296, -19.13562], [34.02974, -19.13557], [34.0311, -19.13502], [34.03129, -19.13495], [34.03193, -19.13469], [34.03198, -19.13469], [34.03286, -19.13432], [34.03314, -19.13421], [34.0335, -19.13406], [34.03459, -19.13362], [34.03467, -19.13359], [34.03482, -19.13353], [34.03504, -19.13344], [34.03564, -19.13321], [34.03662, -19.13275], [34.03736, -19.13231], [34.03758, -19.13217], [34.03827, -19.13161], [34.03878, -19.13108], [34.03949, -19.13014], [34.03997, -19.1294], [34.04053, -19.12856], [34.04083, -19.12808], [34.041, -19.12772], [34.04106, -19.12757], [34.04114, -19.12737], [34.04125, -19.12698], [34.04129, -19.12673], [34.04133, -19.12643], [34.04135, -19.12595], [34.04134, -19.12577], [34.04131, -19.1248], [34.04129, -19.12447], [34.04125, -19.12328], [34.0412, -19.12176], [34.04114, -19.12051], [34.04065, -19.11508], [34.04041, -19.11234], [34.04028, -19.11092], [34.04027, -19.11013], [34.04043, -19.10941], [34.04063, -19.10887], [34.041, -19.10819], [34.04155, -19.10741], [34.04365, -19.10448], [34.0438, -19.10425], [34.04419, -19.10354], [34.04447, -19.10294], [34.0447, -19.1023], [34.04481, -19.10192], [34.04499, -19.10117], [34.04584, -19.09761], [34.04678, -19.0936], [34.04695, -19.0929], [34.04695, -19.09288], [34.04723, -19.0917], [34.04741, -19.09067], [34.04743, -19.09029], [34.04744, -19.08994], [34.04737, -19.08909], [34.04725, -19.08851], [34.04709, -19.08794], [34.04697, -19.08758], [34.0467, -19.08674], [34.04641, -19.0858], [34.04622, -19.08515], [34.04606, -19.08434], [34.04601, -19.08342], [34.04608, -19.08272], [34.0462, -19.08208], [34.04625, -19.08183], [34.04638, -19.08122], [34.04674, -19.07954], [34.0468, -19.07926], [34.04687, -19.07894], [34.04705, -19.07812], [34.04722, -19.0773], [34.04732, -19.07684], [34.04764, -19.07559], [34.04791, -19.07492], [34.04838, -19.07405], [34.04879, -19.07353], [34.04924, -19.07295], [34.04928, -19.0729], [34.05, -19.07225], [34.05088, -19.07157], [34.05107, -19.07143], [34.05386, -19.06929], [34.05468, -19.06863], [34.05547, -19.06786], [34.05596, -19.06727], [34.05633, -19.06682], [34.05733, -19.0656], [34.05799, -19.0648], [34.05921, -19.06294], [34.05926, -19.06288], [34.05931, -19.06279], [34.05998, -19.0618], [34.06099, -19.06019], [34.06181, -19.05904], [34.06266, -19.05809], [34.06331, -19.05745], [34.06455, -19.05621], [34.06649, -19.05421], [34.06681, -19.05389], [34.06802, -19.05235], [34.06832, -19.05197], [34.0684, -19.05185], [34.06892, -19.05109], [34.0698, -19.04984], [34.06989, -19.04971], [34.07004, -19.04951], [34.0712, -19.04783], [34.07173, -19.04707], [34.07254, -19.04592], [34.07297, -19.04513], [34.07306, -19.04489], [34.07325, -19.04434], [34.07334, -19.04402], [34.07344, -19.04348], [34.07351, -19.04257], [34.07343, -19.04171], [34.07335, -19.04131], [34.0732, -19.04069], [34.07319, -19.04066], [34.07308, -19.0403], [34.07257, -19.03828], [34.07209, -19.03642], [34.07197, -19.03564], [34.07199, -19.0348], [34.07208, -19.03437], [34.07217, -19.03406], [34.07231, -19.0337], [34.07255, -19.03324], [34.07286, -19.03277], [34.07731, -19.02674], [34.07882, -19.02473], [34.07966, -19.02348], [34.08018, -19.0225], [34.08052, -19.02158], [34.08111, -19.01943], [34.08132, -19.01874], [34.08307, -19.01234], [34.08333, -19.01133], [34.08343, -19.01068], [34.08352, -19.01013], [34.08362, -19.00951], [34.08374, -19.00838], [34.08375, -19.00823], [34.08396, -19.00705], [34.08418, -19.00595], [34.08427, -19.00573], [34.08474, -19.00447], [34.08478, -19.00436], [34.08529, -19.00299], [34.08541, -19.00257], [34.08569, -19.00164], [34.08579, -19.0009], [34.08587, -19.00004], [34.08588, -18.99965], [34.08583, -18.99915], [34.08559, -18.99775], [34.08554, -18.99758], [34.08545, -18.99744], [34.08536, -18.99731], [34.08524, -18.99722], [34.08507, -18.99716], [34.08476, -18.99704], [34.0846, -18.99695], [34.08447, -18.99684], [34.08436, -18.99669], [34.08429, -18.99653], [34.08423, -18.99633], [34.08422, -18.99603], [34.08425, -18.99586], [34.08435, -18.99563], [34.08459, -18.99533], [34.08731, -18.99231], [34.08785, -18.99175], [34.08815, -18.99151], [34.08839, -18.99134], [34.08869, -18.99117], [34.08903, -18.99102], [34.08958, -18.99086], [34.08995, -18.9908], [34.09008, -18.99078], [34.09177, -18.99069], [34.09221, -18.99066], [34.09225, -18.99066], [34.09232, -18.99065], [34.09267, -18.99058], [34.09297, -18.99048], [34.09321, -18.99038], [34.09348, -18.99025], [34.09371, -18.99011], [34.09414, -18.98982], [34.09436, -18.98966], [34.09449, -18.98957], [34.09724, -18.98779], [34.10033, -18.9857], [34.10071, -18.9854], [34.10106, -18.98506], [34.10128, -18.98481], [34.10147, -18.98456], [34.10169, -18.98414], [34.10198, -18.98352], [34.10228, -18.98204], [34.10256, -18.97966], [34.10273, -18.97876], [34.10302, -18.97804], [34.10629, -18.97344], [34.10695, -18.97233], [34.10937, -18.96682], [34.10981, -18.96576], [34.11006, -18.96524], [34.11037, -18.9647], [34.11095, -18.96384], [34.11163, -18.96291], [34.11474, -18.95916], [34.11535, -18.95848], [34.11608, -18.95786], [34.11701, -18.95722], [34.12004, -18.95522], [34.12051, -18.95487], [34.12108, -18.95437], [34.12133, -18.95411], [34.12165, -18.95375], [34.1223, -18.95288], [34.12249, -18.95265], [34.1229, -18.9522], [34.12373, -18.95144], [34.12449, -18.95083], [34.12596, -18.94965], [34.12624, -18.94941], [34.12669, -18.94905], [34.12714, -18.94872], [34.12735, -18.94861], [34.12809, -18.94826], [34.12931, -18.94775], [34.13, -18.94742], [34.13052, -18.94714], [34.13101, -18.94675], [34.13126, -18.94652], [34.13164, -18.94605], [34.13199, -18.94556], [34.13216, -18.94518], [34.13236, -18.94457], [34.13249, -18.94381], [34.13268, -18.94223], [34.13274, -18.9411], [34.13268, -18.94033], [34.13234, -18.93797], [34.13236, -18.93736], [34.13244, -18.93664], [34.13255, -18.93605], [34.133, -18.93427], [34.13307, -18.93356], [34.13307, -18.93323], [34.13303, -18.93267], [34.13288, -18.93204], [34.13227, -18.93001], [34.13188, -18.9289], [34.13152, -18.92814], [34.13112, -18.92749], [34.13012, -18.92617], [34.12971, -18.92563], [34.12909, -18.92461], [34.12883, -18.92391], [34.12784, -18.92108], [34.12758, -18.92053], [34.12709, -18.91973], [34.12527, -18.91727], [34.12492, -18.91678], [34.12482, -18.91662], [34.12456, -18.91618], [34.12425, -18.91546], [34.12402, -18.91469], [34.1239, -18.91382], [34.12386, -18.91318], [34.12373, -18.91105], [34.1236, -18.90989], [34.12347, -18.90936], [34.12343, -18.9092], [34.12321, -18.90861], [34.12259, -18.90731], [34.12223, -18.90647], [34.12202, -18.90564], [34.12201, -18.90542], [34.12197, -18.90484], [34.12202, -18.90397], [34.12238, -18.90171], [34.12262, -18.89972], [34.12259, -18.89889], [34.12235, -18.89784], [34.12215, -18.89738], [34.12092, -18.89523], [34.1191, -18.89223], [34.11861, -18.89148], [34.11786, -18.89079], [34.11716, -18.89029], [34.11627, -18.88988], [34.11427, -18.88914], [34.11333, -18.88868], [34.11267, -18.88823], [34.11195, -18.88759], [34.11154, -18.88708], [34.11098, -18.88617], [34.1107, -18.8856], [34.10906, -18.88249], [34.10848, -18.88167], [34.10791, -18.8811], [34.10613, -18.87987], [34.105, -18.87914], [34.10436, -18.87862], [34.10352, -18.87765], [34.1031, -18.87703], [34.10161, -18.87402], [34.09982, -18.87044], [34.09849, -18.86781], [34.09833, -18.86745], [34.09825, -18.86725], [34.09804, -18.86656], [34.09795, -18.86604], [34.09791, -18.8651], [34.098, -18.86443], [34.09834, -18.86325], [34.09895, -18.8615], [34.09913, -18.86045], [34.09912, -18.85984], [34.09895, -18.85863], [34.09876, -18.85777], [34.09871, -18.85713], [34.09874, -18.85641], [34.09886, -18.85565], [34.09912, -18.85474], [34.10024, -18.85105], [34.10038, -18.85073], [34.10069, -18.85004], [34.10121, -18.84913], [34.10238, -18.84729], [34.10254, -18.84699], [34.10271, -18.84667], [34.10291, -18.8463], [34.10317, -18.84552], [34.10327, -18.84489], [34.1033, -18.84417], [34.10312, -18.84147], [34.10304, -18.84074], [34.10287, -18.83833], [34.10285, -18.83775], [34.10289, -18.83725], [34.103, -18.83677], [34.10386, -18.83444], [34.10406, -18.83386], [34.10417, -18.83346], [34.10426, -18.8329], [34.10427, -18.83268], [34.10429, -18.83241], [34.10427, -18.83154], [34.1041, -18.82608], [34.10405, -18.82436], [34.10397, -18.82365], [34.10377, -18.82297], [34.10347, -18.82223], [34.10309, -18.82164], [34.10181, -18.81989], [34.09984, -18.8172], [34.09912, -18.81618], [34.09815, -18.81487], [34.09769, -18.81413], [34.09741, -18.81349], [34.09727, -18.81298], [34.09574, -18.80445], [34.09568, -18.80393], [34.09566, -18.80351], [34.09567, -18.80324], [34.09572, -18.80281], [34.09672, -18.79948], [34.09691, -18.79888], [34.09924, -18.79101], [34.09972, -18.78919], [34.09975, -18.78822], [34.09966, -18.78752], [34.09956, -18.78701], [34.09924, -18.78629], [34.09916, -18.7861], [34.09878, -18.78548], [34.09815, -18.78476], [34.09774, -18.78436], [34.09741, -18.78407], [34.0949, -18.78194], [34.09287, -18.78014], [34.09228, -18.77943], [34.09189, -18.77881], [34.09155, -18.7779], [34.09151, -18.77746], [34.09147, -18.77694], [34.09153, -18.77613], [34.09175, -18.77539], [34.09203, -18.77469], [34.09298, -18.77217], [34.09367, -18.77038], [34.09477, -18.76748], [34.09568, -18.76511], [34.0959, -18.76437], [34.09596, -18.76376], [34.09596, -18.76331], [34.0959, -18.76276], [34.09586, -18.7626], [34.09574, -18.76219], [34.09556, -18.76174], [34.0953, -18.76127], [34.09502, -18.76085], [34.09414, -18.75968], [34.09293, -18.75805], [34.09227, -18.75716], [34.09157, -18.75635], [34.09096, -18.75578], [34.08989, -18.75498], [34.08872, -18.75413], [34.08838, -18.75388], [34.08789, -18.75347], [34.08752, -18.75305], [34.08716, -18.75254], [34.0868, -18.7518], [34.08666, -18.75127], [34.08655, -18.75056], [34.08636, -18.74828], [34.08623, -18.74699], [34.08618, -18.7462], [34.08616, -18.74593], [34.0861, -18.74556], [34.08565, -18.74436], [34.08516, -18.74366], [34.0848, -18.74329], [34.08457, -18.74305], [34.08368, -18.74219], [34.08219, -18.74075], [34.08156, -18.74006], [34.08013, -18.73812], [34.07997, -18.7379], [34.07835, -18.73568], [34.07728, -18.73426], [34.07719, -18.73413], [34.077, -18.73389], [34.07664, -18.73331], [34.07643, -18.73281], [34.07448, -18.72742], [34.07428, -18.72691], [34.07385, -18.7256], [34.07374, -18.72507], [34.07369, -18.72459], [34.07371, -18.72414], [34.07379, -18.72355], [34.07381, -18.72324], [34.07425, -18.72231], [34.07565, -18.71955], [34.07652, -18.71784], [34.07781, -18.71531], [34.07809, -18.71476], [34.07841, -18.71382], [34.07843, -18.71373], [34.0785, -18.71323], [34.07847, -18.7124], [34.07835, -18.71173], [34.07788, -18.71011], [34.07687, -18.70658], [34.07656, -18.70551], [34.0764, -18.70487], [34.07629, -18.70452], [34.07588, -18.70366], [34.07584, -18.70356], [34.07576, -18.70339], [34.07497, -18.70183], [34.07475, -18.7014], [34.07428, -18.70047], [34.07396, -18.69975], [34.07368, -18.69927], [34.07296, -18.69783], [34.07196, -18.69582], [34.07157, -18.69499], [34.07127, -18.69424], [34.07101, -18.69343], [34.07086, -18.69254], [34.07058, -18.69066], [34.07024, -18.68829], [34.07017, -18.68772], [34.07001, -18.68665], [34.06998, -18.68642], [34.06991, -18.68578], [34.06995, -18.68538], [34.0702, -18.68424], [34.07039, -18.68355], [34.07062, -18.68271], [34.07143, -18.67938], [34.07163, -18.67878], [34.07193, -18.67825], [34.07229, -18.67768], [34.07295, -18.67663], [34.07302, -18.67653], [34.07385, -18.67525], [34.07508, -18.67332], [34.07531, -18.673], [34.07571, -18.67252], [34.07618, -18.67201], [34.07651, -18.67168], [34.07694, -18.67125], [34.0771, -18.67109], [34.07733, -18.67081], [34.07753, -18.67051], [34.07777, -18.67005], [34.0779, -18.66968], [34.07801, -18.66922], [34.07825, -18.66743], [34.07827, -18.66689], [34.07832, -18.66608], [34.07828, -18.66557], [34.07825, -18.66515], [34.07814, -18.66457], [34.07801, -18.66412], [34.07791, -18.66387], [34.07704, -18.66176], [34.07701, -18.66169], [34.07687, -18.66134], [34.07682, -18.66123], [34.07671, -18.66097], [34.07574, -18.65855], [34.07558, -18.65817], [34.07518, -18.65717], [34.07512, -18.65701], [34.07479, -18.65622], [34.07427, -18.65495], [34.07411, -18.65455], [34.07402, -18.65433], [34.0734, -18.65279], [34.07186, -18.64899], [34.07075, -18.64627], [34.0706, -18.64579], [34.06981, -18.64388], [34.06956, -18.64318], [34.06945, -18.64277], [34.06939, -18.64236], [34.06936, -18.64189], [34.06939, -18.64154], [34.06945, -18.641], [34.06954, -18.6407], [34.07033, -18.63769], [34.07036, -18.63756], [34.07073, -18.63608], [34.07125, -18.63415], [34.07149, -18.63315], [34.07154, -18.6326], [34.07152, -18.63205], [34.07144, -18.63159], [34.0713, -18.63107], [34.07111, -18.6306], [34.07093, -18.63025], [34.07076, -18.63], [34.07059, -18.6297], [34.06963, -18.62839], [34.06904, -18.62761], [34.06851, -18.62687], [34.06796, -18.62599], [34.06763, -18.62528], [34.06739, -18.62463], [34.06724, -18.62398], [34.06709, -18.6234], [34.06685, -18.62256], [34.06665, -18.62174], [34.0666, -18.62149], [34.06614, -18.61961], [34.06594, -18.6189], [34.06575, -18.61837], [34.06538, -18.61758], [34.06499, -18.6169], [34.06462, -18.61637], [34.06409, -18.61572], [34.06383, -18.61545], [34.0636, -18.61522], [34.06308, -18.61476], [34.06244, -18.61427], [34.06001, -18.61265], [34.05874, -18.61179], [34.05829, -18.61156], [34.05783, -18.61138], [34.05723, -18.61118], [34.05662, -18.61106], [34.05625, -18.61103], [34.05597, -18.61101], [34.05518, -18.611], [34.04865, -18.61115], [34.04791, -18.61112], [34.04746, -18.61107], [34.04704, -18.61102], [34.04692, -18.611], [34.04636, -18.61088], [34.04565, -18.61065], [34.04503, -18.61039], [34.04453, -18.61014], [34.04392, -18.60973], [34.04342, -18.60935], [34.04296, -18.60896], [34.04062, -18.60646], [34.03911, -18.60485], [34.03857, -18.60427], [34.03678, -18.60235], [34.03415, -18.59955], [34.03392, -18.59931], [34.03366, -18.59904], [34.03357, -18.59894], [34.03308, -18.59841], [34.03224, -18.59767], [34.03209, -18.59756], [34.03205, -18.59752], [34.03161, -18.59723], [34.03147, -18.59712], [34.0311, -18.59688], [34.03052, -18.59657], [34.02948, -18.59602], [34.02898, -18.59575], [34.02833, -18.59541], [34.02729, -18.59484], [34.02671, -18.59443], [34.02614, -18.59393], [34.02565, -18.59336], [34.02559, -18.59328], [34.02518, -18.59262], [34.02498, -18.59225], [34.02484, -18.59201], [34.02473, -18.59181], [34.02379, -18.59021], [34.0232, -18.58921], [34.02277, -18.58846], [34.02248, -18.58797], [34.02216, -18.58749], [34.02124, -18.58616], [34.02106, -18.58595], [34.02042, -18.58518], [34.01605, -18.58043], [34.01536, -18.57972], [34.01505, -18.57934], [34.01462, -18.57879], [34.01411, -18.57792], [34.01361, -18.57679], [34.01337, -18.57601], [34.01325, -18.57543], [34.01314, -18.57453], [34.01281, -18.56936], [34.0126, -18.56537], [34.01252, -18.56432], [34.01245, -18.56352], [34.01234, -18.56292], [34.01218, -18.5624], [34.01203, -18.56201], [34.01199, -18.56194], [34.01172, -18.56146], [34.01144, -18.56104], [34.01108, -18.56064], [34.01071, -18.56029], [34.01007, -18.55983], [34.00963, -18.55953], [34.00838, -18.55867], [34.00832, -18.55863], [34.00673, -18.55751], [34.00601, -18.557], [34.00518, -18.55619], [34.00505, -18.55603], [34.00453, -18.55539], [34.00427, -18.55499], [34.00403, -18.5546], [34.00394, -18.55444], [34.00369, -18.55392], [34.00338, -18.55328], [34.00314, -18.55273], [34.0025, -18.55128], [34.0022, -18.55062], [34.0016, -18.54925], [34.00062, -18.54697], [33.99985, -18.54523], [33.99889, -18.54316], [33.99662, -18.538], [33.99578, -18.53608], [33.99532, -18.53485], [33.995, -18.53383], [33.99471, -18.5328], [33.99452, -18.53222], [33.99421, -18.53158], [33.99393, -18.53118], [33.99379, -18.53101], [33.99357, -18.53077], [33.99328, -18.53048], [33.99296, -18.5302], [33.99288, -18.53015], [33.99277, -18.53007], [33.9923, -18.52979], [33.99073, -18.52894], [33.98928, -18.52808], [33.98837, -18.52758], [33.98575, -18.52612], [33.98529, -18.52584], [33.98413, -18.52521], [33.98316, -18.52465], [33.98241, -18.52414], [33.982, -18.52387], [33.98137, -18.52334], [33.98042, -18.52248], [33.97834, -18.52017], [33.97675, -18.51832], [33.97552, -18.51698], [33.9724, -18.51337], [33.97071, -18.51145], [33.96919, -18.50969], [33.96812, -18.50823], [33.96758, -18.50724], [33.96526, -18.50284], [33.96325, -18.49895], [33.96243, -18.49737], [33.9618, -18.49626], [33.96123, -18.49537], [33.96043, -18.49415], [33.95922, -18.4924], [33.95641, -18.48827], [33.95441, -18.48536], [33.95396, -18.48478], [33.95355, -18.48433], [33.95292, -18.48371], [33.95264, -18.48349], [33.95192, -18.48296], [33.94974, -18.48161], [33.94592, -18.47922], [33.94444, -18.4783], [33.94382, -18.47789], [33.94323, -18.47741], [33.94296, -18.47715], [33.94256, -18.47672], [33.9423, -18.47639], [33.94197, -18.47592], [33.94161, -18.47523], [33.94139, -18.47474], [33.94058, -18.47267], [33.9402, -18.47179], [33.93917, -18.46923], [33.93838, -18.46722], [33.93752, -18.46511], [33.937, -18.46379], [33.93443, -18.45739], [33.934, -18.45614], [33.9337, -18.45502], [33.93341, -18.4536], [33.93206, -18.44363], [33.93184, -18.44237], [33.93152, -18.44132], [33.93119, -18.44066], [33.93085, -18.4401], [33.93055, -18.43968], [33.93015, -18.43922], [33.92928, -18.43834], [33.92903, -18.43809], [33.92561, -18.43468], [33.92447, -18.43354], [33.92118, -18.43031], [33.92049, -18.42948], [33.92011, -18.42901], [33.91975, -18.42832], [33.91961, -18.42804], [33.91945, -18.42773], [33.91911, -18.42656], [33.91892, -18.4255], [33.9184, -18.42251], [33.91778, -18.41882], [33.91752, -18.41726], [33.91727, -18.41539], [33.91722, -18.41504], [33.91718, -18.41368], [33.9171, -18.41063], [33.91689, -18.40314], [33.91659, -18.39108], [33.9163, -18.37846], [33.91618, -18.3744], [33.91618, -18.37436], [33.91615, -18.3732], [33.9161, -18.37101], [33.91604, -18.36854], [33.91605, -18.3658], [33.91613, -18.34721], [33.91619, -18.34485], [33.91631, -18.34412], [33.91646, -18.3435], [33.91662, -18.34297], [33.91696, -18.34212], [33.91746, -18.34112], [33.91782, -18.34043], [33.92603, -18.32401], [33.92615, -18.32378], [33.92745, -18.32116], [33.92859, -18.31904], [33.92929, -18.31809], [33.92989, -18.31744], [33.93084, -18.31667], [33.93696, -18.31215], [33.93926, -18.31044], [33.93988, -18.30998], [33.94073, -18.30954], [33.94142, -18.30928], [33.94222, -18.30905], [33.94294, -18.30894], [33.94347, -18.30891], [33.94408, -18.30892], [33.94619, -18.309], [33.94633, -18.30901], [33.94664, -18.30902], [33.95123, -18.30924], [33.95245, -18.30933], [33.95306, -18.30941], [33.95379, -18.30952], [33.95459, -18.30966], [33.96333, -18.31136], [33.96358, -18.31141], [33.96413, -18.31151], [33.9649, -18.31153], [33.96524, -18.3115], [33.96547, -18.31147], [33.96602, -18.31135], [33.96628, -18.31127], [33.96684, -18.31104], [33.96732, -18.31077], [33.96761, -18.31057], [33.97439, -18.30498], [33.97505, -18.30449], [33.97563, -18.30416], [33.97626, -18.3039], [33.97675, -18.30376], [33.97725, -18.3037], [33.97771, -18.30367], [33.97841, -18.30372], [33.97921, -18.30381], [33.98413, -18.30427], [33.98469, -18.30428], [33.98522, -18.30422], [33.98578, -18.30411], [33.98634, -18.30395], [33.98682, -18.30372], [33.98724, -18.30346], [33.98768, -18.30312], [33.98846, -18.30245], [33.98962, -18.3014], [33.99194, -18.29925], [33.9931, -18.29807], [33.99359, -18.29743], [33.99646, -18.2935], [33.99734, -18.29232], [33.99795, -18.29166], [33.99846, -18.2912], [33.99902, -18.29076], [33.99985, -18.29023], [34.00753, -18.28558], [34.01024, -18.28391], [34.01218, -18.28289], [34.01251, -18.28271], [34.01483, -18.28194], [34.02694, -18.27935], [34.02747, -18.27919], [34.02794, -18.27901], [34.0284, -18.27878], [34.02885, -18.27846], [34.02925, -18.27812], [34.03067, -18.27643], [34.0343, -18.27194], [34.03838, -18.26702], [34.04028, -18.26531], [34.04195, -18.26393], [34.04294, -18.26294], [34.04356, -18.26222], [34.04855, -18.2554], [34.04924, -18.25442], [34.05006, -18.25337], [34.05042, -18.25302], [34.05083, -18.25271], [34.05138, -18.25239], [34.05304, -18.25158], [34.05563, -18.25035], [34.05609, -18.25013], [34.0584, -18.24902], [34.05945, -18.24853], [34.06004, -18.2482], [34.06052, -18.24784], [34.06142, -18.24711], [34.06406, -18.24446], [34.06542, -18.24312], [34.06665, -18.24176], [34.06705, -18.24092], [34.06731, -18.23973], [34.06897, -18.22754], [34.06935, -18.22514], [34.06963, -18.22449], [34.06993, -18.22393], [34.07056, -18.22306], [34.0736, -18.21908], [34.07448, -18.21792], [34.07498, -18.21723], [34.07723, -18.21427], [34.07737, -18.21409], [34.0792, -18.21166], [34.07963, -18.21117], [34.0797, -18.21109], [34.08003, -18.21072], [34.08032, -18.21049], [34.08091, -18.21012], [34.09001, -18.20622], [34.09443, -18.20433], [34.09577, -18.20374], [34.09623, -18.20348], [34.09662, -18.20319], [34.09701, -18.20284], [34.09745, -18.20232], [34.0978, -18.20178], [34.09804, -18.20136], [34.10014, -18.19772], [34.102, -18.19454], [34.10283, -18.19315], [34.10344, -18.19219], [34.10577, -18.18863], [34.10635, -18.18771], [34.1073, -18.18628], [34.10769, -18.1855], [34.10793, -18.18494], [34.1082, -18.18416], [34.10853, -18.18271], [34.10878, -18.1815], [34.10896, -18.18078], [34.10919, -18.18023], [34.10944, -18.17978], [34.10964, -18.17949], [34.11003, -18.17904], [34.11061, -18.17854], [34.11121, -18.17818], [34.11172, -18.17795], [34.11288, -18.17757], [34.11397, -18.17729], [34.11467, -18.17723], [34.11521, -18.17726], [34.11582, -18.17736], [34.11638, -18.17753], [34.11701, -18.1778], [34.11751, -18.1781], [34.11847, -18.17877], [34.11924, -18.17932], [34.11995, -18.17981], [34.12031, -18.18003], [34.12083, -18.18027], [34.12127, -18.18043], [34.12167, -18.18053], [34.12227, -18.18061], [34.12295, -18.18061], [34.12405, -18.18048], [34.13362, -18.1793], [34.13503, -18.17917], [34.13607, -18.17917], [34.13713, -18.17929], [34.13852, -18.17961], [34.1458, -18.18132], [34.1464, -18.18144], [34.14695, -18.18148], [34.14747, -18.18147], [34.14791, -18.18142], [34.14838, -18.18131], [34.14915, -18.18105], [34.15066, -18.18048], [34.15517, -18.17874], [34.15657, -18.17822], [34.15762, -18.17796], [34.1601, -18.17757], [34.16258, -18.17716], [34.16329, -18.17708], [34.16384, -18.17709], [34.16443, -18.17717], [34.16512, -18.17735], [34.16563, -18.17758], [34.16594, -18.17775], [34.16645, -18.17807], [34.17254, -18.18205], [34.17314, -18.18259], [34.17354, -18.1831], [34.17386, -18.18365], [34.17434, -18.18467], [34.17473, -18.18557], [34.17518, -18.18688], [34.17544, -18.18791], [34.17585, -18.18978], [34.17647, -18.19246], [34.17665, -18.19294], [34.17689, -18.19342], [34.17717, -18.19384], [34.17751, -18.19425], [34.17879, -18.19559], [34.17959, -18.19649], [34.17991, -18.19699], [34.18014, -18.19746], [34.18031, -18.19802], [34.1804, -18.19853], [34.18043, -18.19915], [34.18016, -18.20451], [34.18011, -18.20559], [34.1801, -18.20625], [34.18025, -18.207], [34.18044, -18.20757], [34.1807, -18.20813], [34.18128, -18.20904], [34.18215, -18.21032], [34.18552, -18.21546], [34.18647, -18.21694], [34.18718, -18.21787], [34.18755, -18.21832], [34.18797, -18.21874], [34.18893, -18.21963], [34.19504, -18.22541], [34.19612, -18.22642], [34.19655, -18.22678], [34.19701, -18.2271], [34.19741, -18.22732], [34.19796, -18.22754], [34.19849, -18.22769], [34.20057, -18.22813], [34.20118, -18.22831], [34.20162, -18.22851], [34.2022, -18.22894], [34.20266, -18.22938], [34.20909, -18.23594], [34.21525, -18.24225], [34.21692, -18.24394], [34.21761, -18.2446], [34.21822, -18.24504], [34.21908, -18.24541], [34.2213, -18.24612], [34.22226, -18.2464], [34.22299, -18.24653], [34.22379, -18.24653], [34.22852, -18.24543], [34.22945, -18.24527], [34.22991, -18.24522], [34.23085, -18.24519], [34.23464, -18.24539], [34.2384, -18.24561], [34.23976, -18.24579], [34.24082, -18.24609], [34.24772, -18.24837], [34.25001, -18.24892], [34.2572, -18.25031], [34.25852, -18.25047], [34.25962, -18.25039], [34.2603, -18.25023], [34.26119, -18.24987], [34.26196, -18.24932], [34.26262, -18.24879], [34.26362, -18.24768], [34.26428, -18.24705], [34.26466, -18.2468], [34.26567, -18.24645], [34.26746, -18.24607], [34.26868, -18.24562], [34.26937, -18.24523], [34.27001, -18.24478], [34.27064, -18.24424], [34.27118, -18.24362], [34.27169, -18.24293], [34.27315, -18.24086], [34.27437, -18.23919], [34.27486, -18.23857], [34.27572, -18.23801], [34.27652, -18.23772], [34.27742, -18.23736], [34.27807, -18.23695], [34.27866, -18.23646], [34.28027, -18.23418], [34.28068, -18.23373], [34.28127, -18.23328], [34.28196, -18.23291], [34.29789, -18.22709], [34.29999, -18.22634], [34.30174, -18.22579], [34.30268, -18.22559], [34.30878, -18.22492], [34.30941, -18.22495], [34.31003, -18.22508], [34.31122, -18.2255], [34.31238, -18.22599], [34.31322, -18.22628], [34.31388, -18.22643], [34.31457, -18.22654], [34.31497, -18.22658], [34.31608, -18.22667], [34.31855, -18.22685], [34.31911, -18.22679], [34.31958, -18.2267], [34.32024, -18.22644], [34.32161, -18.22557], [34.32411, -18.22407], [34.33011, -18.22035], [34.33115, -18.21974], [34.33175, -18.21937], [34.3323, -18.21911], [34.33307, -18.21891], [34.33391, -18.21887], [34.34178, -18.21904], [34.34465, -18.21906], [34.35196, -18.21918], [34.3546, -18.21921], [34.35582, -18.21929], [34.35693, -18.21947], [34.3615, -18.22066], [34.39208, -18.22846], [34.39327, -18.22878], [34.39797, -18.23075], [34.40209, -18.2325], [34.4057, -18.23399], [34.40565, -18.23335], [34.40576, -18.23276], [34.40569, -18.23162], [34.40559, -18.23083], [34.40548, -18.23036], [34.40576, -18.22863], [34.40595, -18.22775], [34.40632, -18.2271], [34.40645, -18.22643], [34.40704, -18.226], [34.40753, -18.2257], [34.40787, -18.22538], [34.40789, -18.22497], [34.40808, -18.22458], [34.408, -18.22372], [34.40816, -18.22344], [34.40886, -18.22314], [34.40911, -18.22276], [34.40939, -18.22116], [34.40929, -18.22077], [34.40912, -18.21998], [34.40944, -18.21951], [34.40959, -18.21873], [34.40997, -18.21811], [34.40981, -18.21766], [34.4098, -18.21702], [34.40993, -18.21654], [34.41011, -18.21558], [34.41038, -18.21491], [34.4111, -18.21146], [34.41133, -18.21078], [34.4113, -18.20991], [34.41166, -18.20864], [34.41168, -18.20819], [34.41146, -18.20721], [34.41174, -18.20663], [34.41192, -18.20608], [34.41218, -18.20463], [34.41273, -18.20318], [34.41297, -18.20284], [34.41435, -18.19985], [34.41521, -18.19827], [34.41656, -18.19542], [34.41699, -18.19394], [34.41735, -18.19291], [34.41751, -18.19108], [34.41772, -18.18971], [34.41799, -18.18848], [34.41801, -18.18806], [34.41815, -18.18742], [34.41815, -18.18666], [34.41844, -18.185], [34.41833, -18.18432], [34.41835, -18.18337], [34.41808, -18.18249], [34.41795, -18.18108], [34.41794, -18.18028], [34.41773, -18.17962], [34.418, -18.17764], [34.41846, -18.17669], [34.41867, -18.17608], [34.4191, -18.17543], [34.41918, -18.17422], [34.41894, -18.17281], [34.41913, -18.17172], [34.41935, -18.17086], [34.42002, -18.16974], [34.4202, -18.16921], [34.42096, -18.16858], [34.42157, -18.16763], [34.42218, -18.16711], [34.42237, -18.16632], [34.42277, -18.16538], [34.42279, -18.16487], [34.42277, -18.16483], [34.4224, -18.16301], [34.42248, -18.1618], [34.42272, -18.15921], [34.42364, -18.15693], [34.42391, -18.15605], [34.42399, -18.15548], [34.42441, -18.15498], [34.42524, -18.15386], [34.42531, -18.15297], [34.42509, -18.15187], [34.42496, -18.15114], [34.4245, -18.15064], [34.42419, -18.15013], [34.42422, -18.14909], [34.42443, -18.14814], [34.42455, -18.14732], [34.42457, -18.14581], [34.42477, -18.14438], [34.42539, -18.14275], [34.42589, -18.14148], [34.42601, -18.14067], [34.42651, -18.13945], [34.42693, -18.13806], [34.42763, -18.137], [34.42859, -18.13665], [34.42897, -18.13619], [34.42885, -18.1357], [34.42861, -18.13537], [34.42875, -18.13474], [34.42936, -18.13409], [34.43012, -18.13377], [34.43193, -18.13167], [34.43234, -18.13131], [34.43334, -18.1297], [34.43506, -18.12816], [34.43583, -18.12775], [34.4365, -18.12699], [34.43767, -18.12552], [34.4394, -18.1248], [34.43999, -18.12446], [34.44069, -18.12367], [34.44101, -18.12297], [34.4427, -18.12107], [34.44331, -18.12041], [34.44384, -18.11953], [34.44411, -18.11885], [34.4448, -18.11784], [34.44524, -18.11752], [34.44583, -18.11731], [34.44596, -18.11709], [34.44669, -18.1163], [34.44772, -18.11539], [34.44916, -18.11426], [34.45027, -18.11378], [34.45148, -18.11313], [34.45213, -18.11243], [34.45232, -18.11181], [34.4525, -18.1107], [34.45235, -18.10977], [34.45236, -18.1086], [34.45231, -18.10759], [34.45223, -18.10676], [34.45217, -18.10633], [34.4521, -18.10617], [34.45175, -18.10566], [34.45154, -18.10533], [34.45141, -18.1051], [34.45134, -18.10488], [34.4512, -18.10307], [34.4511, -18.10231], [34.45087, -18.1013], [34.45055, -18.10024], [34.4502, -18.0993], [34.44931, -18.09725], [34.44863, -18.09583], [34.44816, -18.09503], [34.44791, -18.09428], [34.44788, -18.09409], [34.44793, -18.09383], [34.44836, -18.093], [34.44845, -18.09276], [34.44855, -18.0921], [34.44862, -18.08926], [34.44858, -18.08885], [34.44802, -18.08561], [34.44795, -18.08537], [34.44688, -18.08363], [34.4458, -18.08193], [34.44567, -18.08179], [34.44545, -18.08168], [34.44519, -18.08163], [34.44233, -18.08166], [34.43964, -18.0814], [34.43639, -18.08144], [34.43584, -18.08135], [34.43542, -18.08113], [34.43451, -18.08028], [34.43413, -18.07999], [34.43393, -18.07987], [34.43303, -18.07933], [34.4323, -18.07895], [34.43199, -18.07888], [34.43158, -18.07887], [34.42885, -18.07899], [34.42841, -18.0789], [34.42801, -18.0787], [34.42748, -18.07822], [34.42694, -18.07762], [34.42589, -18.07611], [34.42514, -18.07491], [34.4242, -18.07313], [34.42406, -18.07278], [34.42358, -18.07119], [34.42346, -18.07062], [34.42338, -18.07039], [34.42324, -18.07013], [34.42311, -18.06988], [34.42301, -18.06961], [34.42251, -18.06789], [34.42223, -18.06694], [34.42181, -18.06563], [34.42144, -18.06425], [34.42138, -18.06376], [34.42139, -18.06337], [34.42154, -18.06288], [34.42226, -18.06075], [34.423, -18.05819], [34.42347, -18.05599], [34.42356, -18.05549], [34.4235, -18.05505], [34.42335, -18.05459], [34.42294, -18.05359], [34.42251, -18.05258], [34.42215, -18.05197], [34.42191, -18.05166], [34.42157, -18.05134], [34.41922, -18.0494], [34.41753, -18.0479], [34.41552, -18.04625], [34.41283, -18.04391], [34.41227, -18.04335], [34.41194, -18.04285], [34.41176, -18.04248], [34.41164, -18.04148], [34.41162, -18.03997], [34.41145, -18.03955], [34.41122, -18.03921], [34.41079, -18.03878], [34.41031, -18.03839], [34.41, -18.03814], [34.40943, -18.03775], [34.40864, -18.03742], [34.40737, -18.0371], [34.40506, -18.03634], [34.40368, -18.03581], [34.40301, -18.03551], [34.40249, -18.03521], [34.40212, -18.03501], [34.40152, -18.0346], [34.40073, -18.03395], [34.39871, -18.03195], [34.39779, -18.03096], [34.39685, -18.02964], [34.39667, -18.02932], [34.39655, -18.02895], [34.39638, -18.02789], [34.39613, -18.02681], [34.39561, -18.0248], [34.39548, -18.02448], [34.39475, -18.02327], [34.39433, -18.02246], [34.39359, -18.02072], [34.39278, -18.01842], [34.39247, -18.01769], [34.3919, -18.01645], [34.39175, -18.0157], [34.39148, -18.01419], [34.39136, -18.0138], [34.38942, -18.00925], [34.38924, -18.00855], [34.38892, -18.00728], [34.38888, -18.00709], [34.38873, -18.0065], [34.38834, -18.00526], [34.38815, -18.00456], [34.38791, -18.00376], [34.38775, -18.00344], [34.3872, -18.00213], [34.3871, -18.00179], [34.38705, -18.00139], [34.38698, -17.99908], [34.38671, -17.99362], [34.38679, -17.99135], [34.38684, -17.99063], [34.38714, -17.98866], [34.38716, -17.98811], [34.38709, -17.98752], [34.38696, -17.98713], [34.38653, -17.98619], [34.38638, -17.98569], [34.38618, -17.98452], [34.38611, -17.98392], [34.38607, -17.98341], [34.38604, -17.98277], [34.38599, -17.98202], [34.38595, -17.98181], [34.38579, -17.98151], [34.38499, -17.98019], [34.38478, -17.97983], [34.38348, -17.97729], [34.38331, -17.97689], [34.38315, -17.9762], [34.38313, -17.9757], [34.38312, -17.97375], [34.38316, -17.97326], [34.38348, -17.97197], [34.38353, -17.97129], [34.38347, -17.97051], [34.38335, -17.96979], [34.38332, -17.96937], [34.38335, -17.96835], [34.3834, -17.96818], [34.38346, -17.96733], [34.38358, -17.9671], [34.38403, -17.96654], [34.38437, -17.96623], [34.38485, -17.96527], [34.38547, -17.96434], [34.3868, -17.96232], [34.38776, -17.96088], [34.38904, -17.95904], [34.3893, -17.95866], [34.38938, -17.95853], [34.38955, -17.95826], [34.38968, -17.95806], [34.38991, -17.95742], [34.38997, -17.95705], [34.39009, -17.95641], [34.39021, -17.9559], [34.39028, -17.95559], [34.39035, -17.95527], [34.39053, -17.95468], [34.39071, -17.95419], [34.39167, -17.95254], [34.39148, -17.95158], [34.39139, -17.95131], [34.39125, -17.95106], [34.39015, -17.94951], [34.38999, -17.94918], [34.38989, -17.9489], [34.38989, -17.94861], [34.39028, -17.94765], [34.39074, -17.94676], [34.39139, -17.94586], [34.3923, -17.94486], [34.3924, -17.94463], [34.39242, -17.94442], [34.39239, -17.94425], [34.39232, -17.94402], [34.39213, -17.94377], [34.39179, -17.94347], [34.39134, -17.94328], [34.39094, -17.94315], [34.39052, -17.94301], [34.39033, -17.94288], [34.39019, -17.9427], [34.38975, -17.94202], [34.38887, -17.94049], [34.38817, -17.93958], [34.38759, -17.93887], [34.38734, -17.93867], [34.38694, -17.93841], [34.38647, -17.93817], [34.38493, -17.93722], [34.38477, -17.93706], [34.38467, -17.93689], [34.38455, -17.93661], [34.38417, -17.93484], [34.38309, -17.93226], [34.38294, -17.93185], [34.38273, -17.93127], [34.38235, -17.9296], [34.38228, -17.92937], [34.38213, -17.92909], [34.38059, -17.92697], [34.38041, -17.92675], [34.3804, -17.92598], [34.38031, -17.92486], [34.38023, -17.92448], [34.37973, -17.92331], [34.37935, -17.92253], [34.37897, -17.92182], [34.3789, -17.9216], [34.37885, -17.92134], [34.37866, -17.91987], [34.37855, -17.91933], [34.37807, -17.918], [34.37726, -17.91608], [34.37708, -17.91572], [34.37622, -17.91475], [34.37567, -17.91395], [34.37537, -17.91341], [34.37504, -17.91248], [34.375, -17.91218], [34.37525, -17.91099], [34.37541, -17.9105], [34.37568, -17.9101], [34.37629, -17.90959], [34.37677, -17.909], [34.37783, -17.90728], [34.37831, -17.90637], [34.37947, -17.90363], [34.37977, -17.90308], [34.3802, -17.9026], [34.38186, -17.90127], [34.38212, -17.90097], [34.38248, -17.9003], [34.38271, -17.89995], [34.38295, -17.89971], [34.38447, -17.89838], [34.38485, -17.89798], [34.38523, -17.89745], [34.38567, -17.8968], [34.38735, -17.89484], [34.38765, -17.8944], [34.38777, -17.8941], [34.38847, -17.89279], [34.38934, -17.89134], [34.3895, -17.89075], [34.38952, -17.89043], [34.38942, -17.89004], [34.3889, -17.88851], [34.38802, -17.88519], [34.38596, -17.88109], [34.38582, -17.8807], [34.38577, -17.88039], [34.38555, -17.87401], [34.38561, -17.87276], [34.38676, -17.86762], [34.38684, -17.86713], [34.38683, -17.86689], [34.38628, -17.86287], [34.38621, -17.86254], [34.38328, -17.85697], [34.38299, -17.85606], [34.3828, -17.85496], [34.38274, -17.85425], [34.38309, -17.85012], [34.3832, -17.84696], [34.38308, -17.8446], [34.38295, -17.84372], [34.38186, -17.83803], [34.38155, -17.83679], [34.3813, -17.83591], [34.38095, -17.83504], [34.38058, -17.83386], [34.38052, -17.83336], [34.38036, -17.82969], [34.38031, -17.82858], [34.37997, -17.82622], [34.37981, -17.82554], [34.37865, -17.82137], [34.37808, -17.81851], [34.37793, -17.81751], [34.3759, -17.80963], [34.37581, -17.80912], [34.37581, -17.80868], [34.37639, -17.80518], [34.37647, -17.80409], [34.37645, -17.8031], [34.37589, -17.79787], [34.37543, -17.79133], [34.37508, -17.7858], [34.3742, -17.7791], [34.37406, -17.778], [34.37402, -17.77722], [34.37383, -17.77296], [34.37361, -17.76992], [34.37356, -17.76923], [34.37322, -17.76153], [34.3732, -17.76013], [34.37323, -17.75959], [34.37359, -17.75783], [34.37398, -17.75637], [34.37405, -17.75595], [34.37406, -17.75549], [34.37402, -17.75473], [34.37388, -17.75389], [34.37367, -17.75309], [34.37352, -17.75262], [34.37125, -17.74893], [34.37104, -17.74865], [34.37078, -17.74842], [34.36937, -17.74756], [34.36879, -17.74719], [34.36846, -17.74683], [34.36833, -17.74663], [34.36823, -17.74634], [34.36807, -17.74541], [34.36755, -17.74053], [34.36748, -17.73981], [34.36752, -17.73905], [34.36785, -17.73641], [34.36786, -17.73604], [34.36776, -17.73554], [34.36762, -17.73514], [34.36674, -17.73374], [34.36357, -17.73076], [34.35425, -17.7208], [34.35391, -17.72051], [34.35175, -17.71928], [34.35128, -17.71909], [34.34897, -17.71832], [34.34842, -17.71806], [34.34791, -17.71762], [34.34747, -17.71712], [34.34705, -17.71643], [34.34655, -17.71549], [34.34594, -17.71413], [34.34549, -17.71289], [34.34529, -17.71203], [34.34523, -17.7116], [34.34524, -17.71103], [34.34517, -17.70965], [34.345, -17.70853], [34.34471, -17.70696], [34.34451, -17.70604], [34.34433, -17.70548], [34.34393, -17.70485], [34.34359, -17.70452], [34.343, -17.70414], [34.3428, -17.70396], [34.34253, -17.70354], [34.34071, -17.70053], [34.33762, -17.69621], [34.33701, -17.69498], [34.33598, -17.69249], [34.33572, -17.69205], [34.33532, -17.69152], [34.33464, -17.69069], [34.33424, -17.69002], [34.33392, -17.68934], [34.33375, -17.68886], [34.33294, -17.6852], [34.33262, -17.68353], [34.3325, -17.68281], [34.3325, -17.68239], [34.33295, -17.67595], [34.33298, -17.67519], [34.33293, -17.67466], [34.33283, -17.67402], [34.33082, -17.66453], [34.33067, -17.66393], [34.33055, -17.66366], [34.3256, -17.65679], [34.32499, -17.65569], [34.32456, -17.65455], [34.32418, -17.65362], [34.32369, -17.65274], [34.32294, -17.65159], [34.32186, -17.65018], [34.32143, -17.64985], [34.31885, -17.6487], [34.31686, -17.64815], [34.31162, -17.6471], [34.31066, -17.64676], [34.30997, -17.6464], [34.30915, -17.64576], [34.30838, -17.64497], [34.30801, -17.64446], [34.30768, -17.64383], [34.30565, -17.63737], [34.30554, -17.6369], [34.3055, -17.63651], [34.30552, -17.63612], [34.30573, -17.63431], [34.30581, -17.63375], [34.30583, -17.6333], [34.30578, -17.63129], [34.30571, -17.63007], [34.30563, -17.62912], [34.30554, -17.62838], [34.30518, -17.62688], [34.30472, -17.62517], [34.30447, -17.62432], [34.30263, -17.62011], [34.30247, -17.61963], [34.30229, -17.61894], [34.30201, -17.61768], [34.30186, -17.6168], [34.30185, -17.61648], [34.30192, -17.61597], [34.30202, -17.61548], [34.30315, -17.61173], [34.304, -17.60903], [34.30431, -17.60759], [34.30442, -17.60657], [34.30444, -17.60395], [34.30447, -17.60311], [34.30454, -17.60262], [34.30581, -17.5977], [34.30596, -17.59687], [34.30593, -17.59629], [34.30582, -17.59563], [34.30576, -17.59511], [34.30577, -17.5938], [34.30583, -17.592], [34.30592, -17.59139], [34.30612, -17.59091], [34.30648, -17.59041], [34.30817, -17.58862], [34.30978, -17.58719], [34.31116, -17.58611], [34.31125, -17.58596], [34.31127, -17.58576], [34.31123, -17.58559], [34.31013, -17.58392], [34.30983, -17.58326], [34.30973, -17.58296], [34.30971, -17.58262], [34.30977, -17.58233], [34.30978, -17.58228], [34.31011, -17.58111], [34.31035, -17.57975], [34.3114, -17.57628], [34.31056, -17.57685], [34.31038, -17.57693], [34.31027, -17.57693], [34.3102, -17.57688], [34.30885, -17.57337], [34.30857, -17.57126], [34.30896, -17.56962], [34.3082, -17.56697], [34.30729, -17.56525], [34.30615, -17.56357], [34.30595, -17.56248], [34.305, -17.56186], [34.30246, -17.55984], [34.30192, -17.55808], [34.30204, -17.55464], [34.30199, -17.55292], [34.30222, -17.54967], [34.30273, -17.54634], [34.303, -17.543], [34.30518, -17.53747], [34.30538, -17.53524], [34.30592, -17.53193], [34.30601, -17.52898], [34.30672, -17.52587], [34.30778, -17.52384], [34.30777, -17.52215], [34.30768, -17.52188], [34.30723, -17.52083], [34.30716, -17.52053], [34.30718, -17.52018], [34.30734, -17.51985], [34.30751, -17.51963], [34.30832, -17.51919], [34.30866, -17.51904], [34.30889, -17.5189], [34.31058, -17.51823], [34.31076, -17.51796], [34.31087, -17.51752], [34.31074, -17.51696], [34.31029, -17.51618], [34.30934, -17.51508], [34.30714, -17.51324], [34.30628, -17.51078], [34.3048, -17.50931], [34.30461, -17.50912], [34.30307, -17.50778], [34.29989, -17.50582], [34.29581, -17.50353], [34.29299, -17.50079], [34.29188, -17.49839], [34.29047, -17.49049], [34.29037, -17.48988], [34.28979, -17.48698], [34.28965, -17.48343], [34.2864, -17.47192], [34.28437, -17.46984], [34.28273, -17.4672], [34.28121, -17.46448], [34.2801, -17.46143], [34.28129, -17.45798], [34.28168, -17.45685], [34.28245, -17.45436], [34.28281, -17.45188], [34.28178, -17.44868], [34.27786, -17.44306], [34.27785, -17.43916], [34.2774, -17.4338], [34.27785, -17.42871], [34.2769, -17.42016], [34.27757, -17.41735], [34.2774, -17.41579], [34.27655, -17.41439], [34.27641, -17.41217], [34.27479, -17.40957], [34.27286, -17.40629], [34.26757, -17.39487], [34.26731, -17.39455], [34.26669, -17.39436], [34.26559, -17.39413], [34.26421, -17.39277], [34.26267, -17.38892], [34.26335, -17.36838], [34.26062, -17.35297], [34.26171, -17.35062], [34.25932, -17.34547], [34.26183, -17.33685], [34.26432, -17.33443], [34.26553, -17.33322], [34.26621, -17.33224], [34.26808, -17.32895], [34.26839, -17.3282], [34.26842, -17.32687], [34.26854, -17.32644], [34.27073, -17.32436], [34.27175, -17.32387], [34.27235, -17.32361], [34.27823, -17.32036], [34.27953, -17.31895], [34.28062, -17.31776], [34.28129, -17.31716]], "type": "LineString"}, "properties": {"color": "blue"}, "type": "Feature"}], "type": "FeatureCollection"});\n", "\n", " \n", " \n", - " geo_json_ae8c1d6ecbda18b50037a7a41aa600b2.bindTooltip(\n", + " geo_json_e846dc4b122e7f48deaa229ffac8dd37.bindTooltip(\n", " `<div>\n", " <h4>Vehicle 2</h4>\n", - " <b>Distance</b> 476172.0 m <br>\n", - " <b>Duration</b> 23679.0 secs\n", + " <b>Distance</b> 473790 m <br>\n", + " <b>Duration</b> 28710 secs\n", " \n", " </div>`,\n", " {"sticky": true}\n", " );\n", " \n", " \n", - " var layer_control_3a60ea9c27178ec29d6cd0c11736aad7 = {\n", + " var layer_control_081cf55cafcd2c5b803be06245678f15 = {\n", " base_layers : {\n", - " "cartodbpositron" : tile_layer_185ceec818627ce87a63c5ca5a25a2b0,\n", + " "cartodbpositron" : tile_layer_559fd68984a557efa3e5625a7bff41ed,\n", " },\n", " overlays : {\n", - " "Vehicle 0" : geo_json_e09d8d2ff6b14aaea3432a1630ebb0ad,\n", - " "Vehicle 1" : geo_json_67a9c9f1e6ffe905547bc302067c3c20,\n", - " "Vehicle 2" : geo_json_ae8c1d6ecbda18b50037a7a41aa600b2,\n", + " "Vehicle 0" : geo_json_a4ff82a4331fd6bdc5707672b8e4f64e,\n", + " "Vehicle 1" : geo_json_537f9ee75ae4ed436042b498f51c3b01,\n", + " "Vehicle 2" : geo_json_e846dc4b122e7f48deaa229ffac8dd37,\n", " },\n", " };\n", " L.control.layers(\n", - " layer_control_3a60ea9c27178ec29d6cd0c11736aad7.base_layers,\n", - " layer_control_3a60ea9c27178ec29d6cd0c11736aad7.overlays,\n", + " layer_control_081cf55cafcd2c5b803be06245678f15.base_layers,\n", + " layer_control_081cf55cafcd2c5b803be06245678f15.overlays,\n", " {"autoZIndex": true, "collapsed": true, "position": "topright"}\n", - " ).addTo(map_a7bf97288aa4c5099685b9f091297ee4);\n", + " ).addTo(map_241ecd9990c6a09d114dd67f6f74769a);\n", " \n", "</script>\n", "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, - "execution_count": 6, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# Initialize a client and make the request\n", - "configuration = ors.Configuration()\n", - "configuration.api_key['Authorization'] = \"your-api-key\"\n", - "\n", - "optimizationApi = ors.OptimizationApi(ors.ApiClient(configuration))\n", + "api_key = \"your-api-key\"\n", + "optimizationApi = ors.OptimizationApi(ors.apiClient(apiKey=api_key))\n", "body = ors.OptimizationBody(\n", " jobs=deliveries,\n", " vehicles=vehicles,\n", @@ -1282,11 +1281,11 @@ "result = optimizationApi.optimization_post(body)\n", "\n", "# Add the output to the map\n", - "for color, route in zip(['green', 'red', 'blue'], result.routes):\n", + "for color, route in zip(['green', 'red', 'blue'], result[\"routes\"]):\n", " gj = folium.GeoJson(\n", - " name='Vehicle {}'.format(route.vehicle),\n", + " name='Vehicle {}'.format(route[\"vehicle\"]),\n", " data={\"type\": \"FeatureCollection\", \"features\": [{\"type\": \"Feature\",\n", - " \"geometry\": ors.decode_polyline(route.geometry),\n", + " \"geometry\": ors.decode_polyline(route[\"geometry\"]),\n", " \"properties\": {\"color\": color}\n", " }]},\n", " style_function=lambda x: {\"color\": x['properties']['color']}\n", @@ -1322,7 +1321,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -1360,21 +1359,21 @@ " \n", " \n", " 0\n", - " 474009.0\n", - " [290]\n", - " 28365.0\n", + " 339333\n", + " [299]\n", + " 25798\n", " \n", " \n", " 1\n", - " 333880.0\n", + " 474543\n", " [295]\n", - " 27028.0\n", + " 23615\n", " \n", " \n", " 2\n", - " 476172.0\n", - " [295]\n", - " 23679.0\n", + " 473790\n", + " [286]\n", + " 28710\n", " \n", " \n", "\n", @@ -1383,12 +1382,12 @@ "text/plain": [ " distance amount duration\n", "vehicle \n", - "0 474009.0 [290] 28365.0\n", - "1 333880.0 [295] 27028.0\n", - "2 476172.0 [295] 23679.0" + "0 339333 [299] 25798\n", + "1 474543 [295] 23615\n", + "2 473790 [286] 28710" ] }, - "execution_count": 7, + "execution_count": 5, "metadata": {}, "output_type": "execute_result" } @@ -1396,7 +1395,7 @@ "source": [ "# Only extract relevant fields from the response\n", "extract_fields = ['distance', 'amount', 'duration']\n", - "data = [{key: getattr(route, key) for key in extract_fields} for route in result.routes]\n", + "data = [{key: route[key] for key in extract_fields} for route in result[\"routes\"]]\n", "\n", "vehicles_df = pd.DataFrame(data)\n", "vehicles_df.index.name = 'vehicle'\n", @@ -1413,20 +1412,20 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 6, "metadata": {}, "outputs": [], "source": [ "# Create a list to display the schedule for all vehicles\n", "stations = list()\n", - "for route in result.routes:\n", + "for route in result[\"routes\"]:\n", " vehicle = list()\n", - " for step in route.steps:\n", + " for step in route[\"steps\"]:\n", " vehicle.append(\n", " [\n", - " step.job if step.job else \"Depot\", # Station ID\n", - " step.arrival, # Arrival time\n", - " step.arrival + (step.service if step.service else 0), # Departure time\n", + " step[\"job\"] if \"job\" in step else \"Depot\", # Station ID\n", + " step[\"arrival\"], # Arrival time\n", + " step[\"arrival\"] + (step[\"service\"] if step[\"service\"] else 0), # Departure time\n", "\n", " ]\n", " )\n", @@ -1449,7 +1448,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -1482,44 +1481,62 @@ " \n", " 0\n", " Depot\n", - " 2019-03-22 08:12:45\n", - " 2019-03-22 08:12:45\n", + " 2019-03-22 08:07:31\n", + " 2019-03-22 08:07:31\n", " \n", " \n", " 1\n", - " 6\n", - " 2019-03-22 08:30:00\n", - " 2019-03-22 08:50:00\n", + " 5\n", + " 2019-03-22 08:20:23\n", + " 2019-03-22 08:40:23\n", " \n", " \n", " 2\n", - " 2\n", - " 2019-03-22 08:58:59\n", - " 2019-03-22 09:18:59\n", + " 4\n", + " 2019-03-22 08:45:10\n", + " 2019-03-22 09:05:10\n", " \n", " \n", " 3\n", - " 18\n", - " 2019-03-22 09:31:23\n", - " 2019-03-22 09:51:23\n", + " 6\n", + " 2019-03-22 09:19:10\n", + " 2019-03-22 09:39:10\n", " \n", " \n", " 4\n", - " 9\n", - " 2019-03-22 10:48:41\n", - " 2019-03-22 11:08:41\n", + " 14\n", + " 2019-03-22 10:00:00\n", + " 2019-03-22 10:20:00\n", " \n", " \n", " 5\n", - " 16\n", - " 2019-03-22 16:45:40\n", - " 2019-03-22 17:05:40\n", + " 10\n", + " 2019-03-22 10:50:58\n", + " 2019-03-22 11:10:58\n", " \n", " \n", " 6\n", - " 15\n", - " 2019-03-22 17:45:30\n", - " 2019-03-22 18:05:30\n", + " 8\n", + " 2019-03-22 12:47:16\n", + " 2019-03-22 13:07:16\n", + " \n", + " \n", + " 7\n", + " 17\n", + " 2019-03-22 14:58:30\n", + " 2019-03-22 15:18:30\n", + " \n", + " \n", + " 8\n", + " 1\n", + " 2019-03-22 17:37:29\n", + " 2019-03-22 17:57:29\n", + " \n", + " \n", + " 9\n", + " Depot\n", + " 2019-03-22 17:57:29\n", + " 2019-03-22 17:57:29\n", " \n", " \n", "\n", @@ -1527,16 +1544,19 @@ ], "text/plain": [ " Station ID Arrival Departure\n", - "0 Depot 2019-03-22 08:12:45 2019-03-22 08:12:45\n", - "1 6 2019-03-22 08:30:00 2019-03-22 08:50:00\n", - "2 2 2019-03-22 08:58:59 2019-03-22 09:18:59\n", - "3 18 2019-03-22 09:31:23 2019-03-22 09:51:23\n", - "4 9 2019-03-22 10:48:41 2019-03-22 11:08:41\n", - "5 16 2019-03-22 16:45:40 2019-03-22 17:05:40\n", - "6 15 2019-03-22 17:45:30 2019-03-22 18:05:30" + "0 Depot 2019-03-22 08:07:31 2019-03-22 08:07:31\n", + "1 5 2019-03-22 08:20:23 2019-03-22 08:40:23\n", + "2 4 2019-03-22 08:45:10 2019-03-22 09:05:10\n", + "3 6 2019-03-22 09:19:10 2019-03-22 09:39:10\n", + "4 14 2019-03-22 10:00:00 2019-03-22 10:20:00\n", + "5 10 2019-03-22 10:50:58 2019-03-22 11:10:58\n", + "6 8 2019-03-22 12:47:16 2019-03-22 13:07:16\n", + "7 17 2019-03-22 14:58:30 2019-03-22 15:18:30\n", + "8 1 2019-03-22 17:37:29 2019-03-22 17:57:29\n", + "9 Depot 2019-03-22 17:57:29 2019-03-22 17:57:29" ] }, - "execution_count": 9, + "execution_count": 7, "metadata": {}, "output_type": "execute_result" } @@ -1557,7 +1577,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 8, "metadata": {}, "outputs": [ { @@ -1590,44 +1610,38 @@ " \n", " 0\n", " Depot\n", - " 2019-03-22 08:00:00\n", - " 2019-03-22 08:00:00\n", + " 2019-03-22 09:44:18\n", + " 2019-03-22 09:44:18\n", " \n", " \n", " 1\n", - " 12\n", - " 2019-03-22 08:43:54\n", - " 2019-03-22 09:03:54\n", + " 7\n", + " 2019-03-22 10:00:00\n", + " 2019-03-22 10:20:00\n", " \n", " \n", " 2\n", - " 13\n", - " 2019-03-22 09:17:11\n", - " 2019-03-22 09:37:11\n", + " 12\n", + " 2019-03-22 10:58:47\n", + " 2019-03-22 11:18:47\n", " \n", " \n", " 3\n", - " 11\n", - " 2019-03-22 09:57:34\n", - " 2019-03-22 10:17:34\n", + " 13\n", + " 2019-03-22 11:32:04\n", + " 2019-03-22 11:52:04\n", " \n", " \n", " 4\n", - " 8\n", - " 2019-03-22 12:20:31\n", - " 2019-03-22 12:40:31\n", + " 20\n", + " 2019-03-22 17:17:53\n", + " 2019-03-22 17:37:53\n", " \n", " \n", " 5\n", - " 17\n", - " 2019-03-22 14:31:29\n", - " 2019-03-22 14:51:29\n", - " \n", - " \n", - " 6\n", - " 1\n", - " 2019-03-22 17:10:28\n", - " 2019-03-22 17:30:28\n", + " Depot\n", + " 2019-03-22 17:37:53\n", + " 2019-03-22 17:37:53\n", " \n", " \n", "\n", @@ -1635,16 +1649,15 @@ ], "text/plain": [ " Station ID Arrival Departure\n", - "0 Depot 2019-03-22 08:00:00 2019-03-22 08:00:00\n", - "1 12 2019-03-22 08:43:54 2019-03-22 09:03:54\n", - "2 13 2019-03-22 09:17:11 2019-03-22 09:37:11\n", - "3 11 2019-03-22 09:57:34 2019-03-22 10:17:34\n", - "4 8 2019-03-22 12:20:31 2019-03-22 12:40:31\n", - "5 17 2019-03-22 14:31:29 2019-03-22 14:51:29\n", - "6 1 2019-03-22 17:10:28 2019-03-22 17:30:28" + "0 Depot 2019-03-22 09:44:18 2019-03-22 09:44:18\n", + "1 7 2019-03-22 10:00:00 2019-03-22 10:20:00\n", + "2 12 2019-03-22 10:58:47 2019-03-22 11:18:47\n", + "3 13 2019-03-22 11:32:04 2019-03-22 11:52:04\n", + "4 20 2019-03-22 17:17:53 2019-03-22 17:37:53\n", + "5 Depot 2019-03-22 17:37:53 2019-03-22 17:37:53" ] }, - "execution_count": 10, + "execution_count": 8, "metadata": {}, "output_type": "execute_result" } @@ -1665,7 +1678,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 9, "metadata": {}, "outputs": [ { @@ -1698,50 +1711,56 @@ " \n", " 0\n", " Depot\n", - " 2019-03-22 08:53:23\n", - " 2019-03-22 08:53:23\n", + " 2019-03-22 08:00:00\n", + " 2019-03-22 08:00:00\n", " \n", " \n", " 1\n", - " 4\n", - " 2019-03-22 09:02:21\n", - " 2019-03-22 09:22:21\n", + " 3\n", + " 2019-03-22 08:16:30\n", + " 2019-03-22 08:36:30\n", " \n", " \n", " 2\n", - " 5\n", - " 2019-03-22 09:27:08\n", - " 2019-03-22 09:47:08\n", + " 2\n", + " 2019-03-22 08:42:01\n", + " 2019-03-22 09:02:01\n", " \n", " \n", " 3\n", - " 7\n", - " 2019-03-22 10:00:00\n", - " 2019-03-22 10:20:00\n", + " 18\n", + " 2019-03-22 09:14:25\n", + " 2019-03-22 09:34:25\n", " \n", " \n", " 4\n", - " 3\n", - " 2019-03-22 10:31:04\n", - " 2019-03-22 10:51:04\n", + " 11\n", + " 2019-03-22 09:57:35\n", + " 2019-03-22 10:17:35\n", " \n", " \n", " 5\n", - " 14\n", - " 2019-03-22 11:08:26\n", - " 2019-03-22 11:28:26\n", + " 9\n", + " 2019-03-22 11:01:41\n", + " 2019-03-22 11:21:41\n", " \n", " \n", " 6\n", - " 10\n", - " 2019-03-22 11:59:24\n", - " 2019-03-22 12:19:24\n", + " 16\n", + " 2019-03-22 16:58:40\n", + " 2019-03-22 17:18:40\n", " \n", " \n", " 7\n", - " 20\n", - " 2019-03-22 17:28:02\n", - " 2019-03-22 17:48:02\n", + " 15\n", + " 2019-03-22 17:58:30\n", + " 2019-03-22 18:18:30\n", + " \n", + " \n", + " 8\n", + " Depot\n", + " 2019-03-22 18:18:30\n", + " 2019-03-22 18:18:30\n", " \n", " \n", "\n", @@ -1749,17 +1768,18 @@ ], "text/plain": [ " Station ID Arrival Departure\n", - "0 Depot 2019-03-22 08:53:23 2019-03-22 08:53:23\n", - "1 4 2019-03-22 09:02:21 2019-03-22 09:22:21\n", - "2 5 2019-03-22 09:27:08 2019-03-22 09:47:08\n", - "3 7 2019-03-22 10:00:00 2019-03-22 10:20:00\n", - "4 3 2019-03-22 10:31:04 2019-03-22 10:51:04\n", - "5 14 2019-03-22 11:08:26 2019-03-22 11:28:26\n", - "6 10 2019-03-22 11:59:24 2019-03-22 12:19:24\n", - "7 20 2019-03-22 17:28:02 2019-03-22 17:48:02" + "0 Depot 2019-03-22 08:00:00 2019-03-22 08:00:00\n", + "1 3 2019-03-22 08:16:30 2019-03-22 08:36:30\n", + "2 2 2019-03-22 08:42:01 2019-03-22 09:02:01\n", + "3 18 2019-03-22 09:14:25 2019-03-22 09:34:25\n", + "4 11 2019-03-22 09:57:35 2019-03-22 10:17:35\n", + "5 9 2019-03-22 11:01:41 2019-03-22 11:21:41\n", + "6 16 2019-03-22 16:58:40 2019-03-22 17:18:40\n", + "7 15 2019-03-22 17:58:30 2019-03-22 18:18:30\n", + "8 Depot 2019-03-22 18:18:30 2019-03-22 18:18:30" ] }, - "execution_count": 11, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -1792,7 +1812,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.12" + "version": "3.11.6" }, "toc": { "base_numbering": 1, diff --git a/examples/ortools_pubcrawl.html b/examples/ortools_pubcrawl.html deleted file mode 100644 index af3ace61..00000000 --- a/examples/ortools_pubcrawl.html +++ /dev/null @@ -1,9826 +0,0 @@ - - - - - -ortools_pubcrawl - - - - - - - - - - - - -
- - - - - - - - - - - - - -
- - diff --git a/examples/ortools_pubcrawl.ipynb b/examples/ortools_pubcrawl.ipynb index 86707a3f..d7724d2b 100644 --- a/examples/ortools_pubcrawl.ipynb +++ b/examples/ortools_pubcrawl.ipynb @@ -22,7 +22,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -47,7 +47,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -69,97 +69,9 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 8, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "m = folium.Map(tiles='Stamen Toner', location=(aoi_centroid.y, aoi_centroid.x), zoom_start=14)\n", "folium.vector_layers.Polygon(aoi_coords,\n", @@ -183,14 +95,13 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ "import openrouteservice as ors\n", "\n", - "configuration = ors.Configuration()\n", - "configuration.api_key['Authorization'] = \"your-api-key\"" + "api_key = \"your-api-key\"" ] }, { @@ -204,45 +115,13 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "ename": "KeyboardInterrupt", - "evalue": "", - "output_type": "error", - "traceback": [ - "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[0;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)", - "\u001b[1;32m/home/jstolze/Code/ors-clients/openrouteservice-py/examples/ortools_pubcrawl.ipynb Cell 11\u001b[0m line \u001b[0;36m1\n\u001b[1;32m 3\u001b[0m poisApi \u001b[39m=\u001b[39m ors\u001b[39m.\u001b[39mPoisApi(ors\u001b[39m.\u001b[39mApiClient(configuration))\n\u001b[1;32m 4\u001b[0m body \u001b[39m=\u001b[39m ors\u001b[39m.\u001b[39mOpenpoiservicePoiRequest(\n\u001b[1;32m 5\u001b[0m request\u001b[39m=\u001b[39m\u001b[39m'\u001b[39m\u001b[39mpois\u001b[39m\u001b[39m'\u001b[39m,\n\u001b[1;32m 6\u001b[0m geometry\u001b[39m=\u001b[39mors\u001b[39m.\u001b[39mPoisGeometry(geojson\u001b[39m=\u001b[39maoi_json),\n\u001b[1;32m 7\u001b[0m filters\u001b[39m=\u001b[39mors\u001b[39m.\u001b[39mPoisFilters(category_ids\u001b[39m=\u001b[39m[\u001b[39m569\u001b[39m]),\n\u001b[1;32m 8\u001b[0m sortby\u001b[39m=\u001b[39m\u001b[39m'\u001b[39m\u001b[39mdistance\u001b[39m\u001b[39m'\u001b[39m\n\u001b[1;32m 9\u001b[0m )\n\u001b[0;32m---> 10\u001b[0m pubs \u001b[39m=\u001b[39m poisApi\u001b[39m.\u001b[39;49mpois_post(body)\u001b[39m.\u001b[39mfeatures\n\u001b[1;32m 12\u001b[0m \u001b[39m# Amount of pubs in Kreuzberg\u001b[39;00m\n\u001b[1;32m 13\u001b[0m \u001b[39mprint\u001b[39m(\u001b[39m\"\u001b[39m\u001b[39m\\n\u001b[39;00m\u001b[39mAmount of pubs: \u001b[39m\u001b[39m{}\u001b[39;00m\u001b[39m\"\u001b[39m\u001b[39m.\u001b[39mformat(\u001b[39mlen\u001b[39m(pubs)))\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/api/pois_api.py:54\u001b[0m, in \u001b[0;36mPoisApi.pois_post\u001b[0;34m(self, body, **kwargs)\u001b[0m\n\u001b[1;32m 52\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mpois_post_with_http_info(body, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkwargs) \u001b[39m# noqa: E501\u001b[39;00m\n\u001b[1;32m 53\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[0;32m---> 54\u001b[0m (data) \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mpois_post_with_http_info(body, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkwargs) \u001b[39m# noqa: E501\u001b[39;00m\n\u001b[1;32m 55\u001b[0m \u001b[39mreturn\u001b[39;00m data\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/api/pois_api.py:118\u001b[0m, in \u001b[0;36mPoisApi.pois_post_with_http_info\u001b[0;34m(self, body, **kwargs)\u001b[0m\n\u001b[1;32m 115\u001b[0m \u001b[39m# Authentication setting\u001b[39;00m\n\u001b[1;32m 116\u001b[0m auth_settings \u001b[39m=\u001b[39m [\u001b[39m'\u001b[39m\u001b[39mApiKeyAuth\u001b[39m\u001b[39m'\u001b[39m] \u001b[39m# noqa: E501\u001b[39;00m\n\u001b[0;32m--> 118\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mapi_client\u001b[39m.\u001b[39;49mcall_api(\n\u001b[1;32m 119\u001b[0m \u001b[39m'\u001b[39;49m\u001b[39m/pois\u001b[39;49m\u001b[39m'\u001b[39;49m, \u001b[39m'\u001b[39;49m\u001b[39mPOST\u001b[39;49m\u001b[39m'\u001b[39;49m,\n\u001b[1;32m 120\u001b[0m path_params,\n\u001b[1;32m 121\u001b[0m query_params,\n\u001b[1;32m 122\u001b[0m header_params,\n\u001b[1;32m 123\u001b[0m body\u001b[39m=\u001b[39;49mbody_params,\n\u001b[1;32m 124\u001b[0m post_params\u001b[39m=\u001b[39;49mform_params,\n\u001b[1;32m 125\u001b[0m files\u001b[39m=\u001b[39;49mlocal_var_files,\n\u001b[1;32m 126\u001b[0m response_type\u001b[39m=\u001b[39;49m\u001b[39m'\u001b[39;49m\u001b[39mOpenpoiservicePoiResponse\u001b[39;49m\u001b[39m'\u001b[39;49m, \u001b[39m# noqa: E501\u001b[39;49;00m\n\u001b[1;32m 127\u001b[0m auth_settings\u001b[39m=\u001b[39;49mauth_settings,\n\u001b[1;32m 128\u001b[0m async_req\u001b[39m=\u001b[39;49mparams\u001b[39m.\u001b[39;49mget(\u001b[39m'\u001b[39;49m\u001b[39masync_req\u001b[39;49m\u001b[39m'\u001b[39;49m),\n\u001b[1;32m 129\u001b[0m _return_http_data_only\u001b[39m=\u001b[39;49mparams\u001b[39m.\u001b[39;49mget(\u001b[39m'\u001b[39;49m\u001b[39m_return_http_data_only\u001b[39;49m\u001b[39m'\u001b[39;49m),\n\u001b[1;32m 130\u001b[0m _preload_content\u001b[39m=\u001b[39;49mparams\u001b[39m.\u001b[39;49mget(\u001b[39m'\u001b[39;49m\u001b[39m_preload_content\u001b[39;49m\u001b[39m'\u001b[39;49m, \u001b[39mTrue\u001b[39;49;00m),\n\u001b[1;32m 131\u001b[0m _request_timeout\u001b[39m=\u001b[39;49mparams\u001b[39m.\u001b[39;49mget(\u001b[39m'\u001b[39;49m\u001b[39m_request_timeout\u001b[39;49m\u001b[39m'\u001b[39;49m),\n\u001b[1;32m 132\u001b[0m collection_formats\u001b[39m=\u001b[39;49mcollection_formats)\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/api_client.py:316\u001b[0m, in \u001b[0;36mApiClient.call_api\u001b[0;34m(self, resource_path, method, path_params, query_params, header_params, body, post_params, files, response_type, auth_settings, async_req, _return_http_data_only, collection_formats, _preload_content, _request_timeout)\u001b[0m\n\u001b[1;32m 279\u001b[0m \u001b[39m\u001b[39m\u001b[39m\"\"\"Makes the HTTP request (synchronous) and returns deserialized data.\u001b[39;00m\n\u001b[1;32m 280\u001b[0m \n\u001b[1;32m 281\u001b[0m \u001b[39mTo make an async request, set the async_req parameter.\u001b[39;00m\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 313\u001b[0m \u001b[39m then the method will return the response directly.\u001b[39;00m\n\u001b[1;32m 314\u001b[0m \u001b[39m\"\"\"\u001b[39;00m\n\u001b[1;32m 315\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mnot\u001b[39;00m async_req:\n\u001b[0;32m--> 316\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m__call_api(resource_path, method,\n\u001b[1;32m 317\u001b[0m path_params, query_params, header_params,\n\u001b[1;32m 318\u001b[0m body, post_params, files,\n\u001b[1;32m 319\u001b[0m response_type, auth_settings,\n\u001b[1;32m 320\u001b[0m _return_http_data_only, collection_formats,\n\u001b[1;32m 321\u001b[0m _preload_content, _request_timeout)\n\u001b[1;32m 322\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m 323\u001b[0m thread \u001b[39m=\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mpool\u001b[39m.\u001b[39mapply_async(\u001b[39mself\u001b[39m\u001b[39m.\u001b[39m__call_api, (resource_path,\n\u001b[1;32m 324\u001b[0m method, path_params, query_params,\n\u001b[1;32m 325\u001b[0m header_params, body,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 329\u001b[0m collection_formats,\n\u001b[1;32m 330\u001b[0m _preload_content, _request_timeout))\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/api_client.py:148\u001b[0m, in \u001b[0;36mApiClient.__call_api\u001b[0;34m(self, resource_path, method, path_params, query_params, header_params, body, post_params, files, response_type, auth_settings, _return_http_data_only, collection_formats, _preload_content, _request_timeout)\u001b[0m\n\u001b[1;32m 145\u001b[0m url \u001b[39m=\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mconfiguration\u001b[39m.\u001b[39mhost \u001b[39m+\u001b[39m resource_path\n\u001b[1;32m 147\u001b[0m \u001b[39m# perform request and return response\u001b[39;00m\n\u001b[0;32m--> 148\u001b[0m response_data \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mrequest(\n\u001b[1;32m 149\u001b[0m method, url, query_params\u001b[39m=\u001b[39;49mquery_params, headers\u001b[39m=\u001b[39;49mheader_params,\n\u001b[1;32m 150\u001b[0m post_params\u001b[39m=\u001b[39;49mpost_params, body\u001b[39m=\u001b[39;49mbody,\n\u001b[1;32m 151\u001b[0m _preload_content\u001b[39m=\u001b[39;49m_preload_content,\n\u001b[1;32m 152\u001b[0m _request_timeout\u001b[39m=\u001b[39;49m_request_timeout)\n\u001b[1;32m 154\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mlast_response \u001b[39m=\u001b[39m response_data\n\u001b[1;32m 156\u001b[0m return_data \u001b[39m=\u001b[39m response_data\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/api_client.py:358\u001b[0m, in \u001b[0;36mApiClient.request\u001b[0;34m(self, method, url, query_params, headers, post_params, body, _preload_content, _request_timeout)\u001b[0m\n\u001b[1;32m 350\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mrest_client\u001b[39m.\u001b[39mOPTIONS(url,\n\u001b[1;32m 351\u001b[0m query_params\u001b[39m=\u001b[39mquery_params,\n\u001b[1;32m 352\u001b[0m headers\u001b[39m=\u001b[39mheaders,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 355\u001b[0m _request_timeout\u001b[39m=\u001b[39m_request_timeout,\n\u001b[1;32m 356\u001b[0m body\u001b[39m=\u001b[39mbody)\n\u001b[1;32m 357\u001b[0m \u001b[39melif\u001b[39;00m method \u001b[39m==\u001b[39m \u001b[39m\"\u001b[39m\u001b[39mPOST\u001b[39m\u001b[39m\"\u001b[39m:\n\u001b[0;32m--> 358\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mrest_client\u001b[39m.\u001b[39;49mPOST(url,\n\u001b[1;32m 359\u001b[0m query_params\u001b[39m=\u001b[39;49mquery_params,\n\u001b[1;32m 360\u001b[0m headers\u001b[39m=\u001b[39;49mheaders,\n\u001b[1;32m 361\u001b[0m post_params\u001b[39m=\u001b[39;49mpost_params,\n\u001b[1;32m 362\u001b[0m _preload_content\u001b[39m=\u001b[39;49m_preload_content,\n\u001b[1;32m 363\u001b[0m _request_timeout\u001b[39m=\u001b[39;49m_request_timeout,\n\u001b[1;32m 364\u001b[0m body\u001b[39m=\u001b[39;49mbody)\n\u001b[1;32m 365\u001b[0m \u001b[39melif\u001b[39;00m method \u001b[39m==\u001b[39m \u001b[39m\"\u001b[39m\u001b[39mPUT\u001b[39m\u001b[39m\"\u001b[39m:\n\u001b[1;32m 366\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mrest_client\u001b[39m.\u001b[39mPUT(url,\n\u001b[1;32m 367\u001b[0m query_params\u001b[39m=\u001b[39mquery_params,\n\u001b[1;32m 368\u001b[0m headers\u001b[39m=\u001b[39mheaders,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 371\u001b[0m _request_timeout\u001b[39m=\u001b[39m_request_timeout,\n\u001b[1;32m 372\u001b[0m body\u001b[39m=\u001b[39mbody)\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/rest.py:263\u001b[0m, in \u001b[0;36mRESTClientObject.POST\u001b[0;34m(self, url, headers, query_params, post_params, body, _preload_content, _request_timeout)\u001b[0m\n\u001b[1;32m 261\u001b[0m \u001b[39mdef\u001b[39;00m \u001b[39mPOST\u001b[39m(\u001b[39mself\u001b[39m, url, headers\u001b[39m=\u001b[39m\u001b[39mNone\u001b[39;00m, query_params\u001b[39m=\u001b[39m\u001b[39mNone\u001b[39;00m, post_params\u001b[39m=\u001b[39m\u001b[39mNone\u001b[39;00m,\n\u001b[1;32m 262\u001b[0m body\u001b[39m=\u001b[39m\u001b[39mNone\u001b[39;00m, _preload_content\u001b[39m=\u001b[39m\u001b[39mTrue\u001b[39;00m, _request_timeout\u001b[39m=\u001b[39m\u001b[39mNone\u001b[39;00m):\n\u001b[0;32m--> 263\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mrequest(\u001b[39m\"\u001b[39;49m\u001b[39mPOST\u001b[39;49m\u001b[39m\"\u001b[39;49m, url,\n\u001b[1;32m 264\u001b[0m headers\u001b[39m=\u001b[39;49mheaders,\n\u001b[1;32m 265\u001b[0m query_params\u001b[39m=\u001b[39;49mquery_params,\n\u001b[1;32m 266\u001b[0m post_params\u001b[39m=\u001b[39;49mpost_params,\n\u001b[1;32m 267\u001b[0m _preload_content\u001b[39m=\u001b[39;49m_preload_content,\n\u001b[1;32m 268\u001b[0m _request_timeout\u001b[39m=\u001b[39;49m_request_timeout,\n\u001b[1;32m 269\u001b[0m body\u001b[39m=\u001b[39;49mbody)\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/openrouteservice/rest.py:161\u001b[0m, in \u001b[0;36mRESTClientObject.request\u001b[0;34m(self, method, url, query_params, headers, body, post_params, _preload_content, _request_timeout)\u001b[0m\n\u001b[1;32m 159\u001b[0m \u001b[39mif\u001b[39;00m body \u001b[39mis\u001b[39;00m \u001b[39mnot\u001b[39;00m \u001b[39mNone\u001b[39;00m:\n\u001b[1;32m 160\u001b[0m request_body \u001b[39m=\u001b[39m json\u001b[39m.\u001b[39mdumps(body)\n\u001b[0;32m--> 161\u001b[0m r \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mpool_manager\u001b[39m.\u001b[39;49mrequest(\n\u001b[1;32m 162\u001b[0m method, url,\n\u001b[1;32m 163\u001b[0m body\u001b[39m=\u001b[39;49mrequest_body,\n\u001b[1;32m 164\u001b[0m preload_content\u001b[39m=\u001b[39;49m_preload_content,\n\u001b[1;32m 165\u001b[0m timeout\u001b[39m=\u001b[39;49mtimeout,\n\u001b[1;32m 166\u001b[0m headers\u001b[39m=\u001b[39;49mheaders)\n\u001b[1;32m 167\u001b[0m \u001b[39melif\u001b[39;00m headers[\u001b[39m'\u001b[39m\u001b[39mContent-Type\u001b[39m\u001b[39m'\u001b[39m] \u001b[39m==\u001b[39m \u001b[39m'\u001b[39m\u001b[39mapplication/x-www-form-urlencoded\u001b[39m\u001b[39m'\u001b[39m: \u001b[39m# noqa: E501\u001b[39;00m\n\u001b[1;32m 168\u001b[0m r \u001b[39m=\u001b[39m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mpool_manager\u001b[39m.\u001b[39mrequest(\n\u001b[1;32m 169\u001b[0m method, url,\n\u001b[1;32m 170\u001b[0m fields\u001b[39m=\u001b[39mpost_params,\n\u001b[0;32m (...)\u001b[0m\n\u001b[1;32m 173\u001b[0m timeout\u001b[39m=\u001b[39mtimeout,\n\u001b[1;32m 174\u001b[0m headers\u001b[39m=\u001b[39mheaders)\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/request.py:78\u001b[0m, in \u001b[0;36mRequestMethods.request\u001b[0;34m(self, method, url, fields, headers, **urlopen_kw)\u001b[0m\n\u001b[1;32m 74\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mrequest_encode_url(\n\u001b[1;32m 75\u001b[0m method, url, fields\u001b[39m=\u001b[39mfields, headers\u001b[39m=\u001b[39mheaders, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39murlopen_kw\n\u001b[1;32m 76\u001b[0m )\n\u001b[1;32m 77\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[0;32m---> 78\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mrequest_encode_body(\n\u001b[1;32m 79\u001b[0m method, url, fields\u001b[39m=\u001b[39;49mfields, headers\u001b[39m=\u001b[39;49mheaders, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49murlopen_kw\n\u001b[1;32m 80\u001b[0m )\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/request.py:170\u001b[0m, in \u001b[0;36mRequestMethods.request_encode_body\u001b[0;34m(self, method, url, fields, headers, encode_multipart, multipart_boundary, **urlopen_kw)\u001b[0m\n\u001b[1;32m 167\u001b[0m extra_kw[\u001b[39m\"\u001b[39m\u001b[39mheaders\u001b[39m\u001b[39m\"\u001b[39m]\u001b[39m.\u001b[39mupdate(headers)\n\u001b[1;32m 168\u001b[0m extra_kw\u001b[39m.\u001b[39mupdate(urlopen_kw)\n\u001b[0;32m--> 170\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49murlopen(method, url, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mextra_kw)\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/poolmanager.py:376\u001b[0m, in \u001b[0;36mPoolManager.urlopen\u001b[0;34m(self, method, url, redirect, **kw)\u001b[0m\n\u001b[1;32m 374\u001b[0m response \u001b[39m=\u001b[39m conn\u001b[39m.\u001b[39murlopen(method, url, \u001b[39m*\u001b[39m\u001b[39m*\u001b[39mkw)\n\u001b[1;32m 375\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[0;32m--> 376\u001b[0m response \u001b[39m=\u001b[39m conn\u001b[39m.\u001b[39;49murlopen(method, u\u001b[39m.\u001b[39;49mrequest_uri, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkw)\n\u001b[1;32m 378\u001b[0m redirect_location \u001b[39m=\u001b[39m redirect \u001b[39mand\u001b[39;00m response\u001b[39m.\u001b[39mget_redirect_location()\n\u001b[1;32m 379\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mnot\u001b[39;00m redirect_location:\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:714\u001b[0m, in \u001b[0;36mHTTPConnectionPool.urlopen\u001b[0;34m(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)\u001b[0m\n\u001b[1;32m 711\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_prepare_proxy(conn)\n\u001b[1;32m 713\u001b[0m \u001b[39m# Make the request on the httplib connection object.\u001b[39;00m\n\u001b[0;32m--> 714\u001b[0m httplib_response \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_make_request(\n\u001b[1;32m 715\u001b[0m conn,\n\u001b[1;32m 716\u001b[0m method,\n\u001b[1;32m 717\u001b[0m url,\n\u001b[1;32m 718\u001b[0m timeout\u001b[39m=\u001b[39;49mtimeout_obj,\n\u001b[1;32m 719\u001b[0m body\u001b[39m=\u001b[39;49mbody,\n\u001b[1;32m 720\u001b[0m headers\u001b[39m=\u001b[39;49mheaders,\n\u001b[1;32m 721\u001b[0m chunked\u001b[39m=\u001b[39;49mchunked,\n\u001b[1;32m 722\u001b[0m )\n\u001b[1;32m 724\u001b[0m \u001b[39m# If we're going to release the connection in ``finally:``, then\u001b[39;00m\n\u001b[1;32m 725\u001b[0m \u001b[39m# the response doesn't need to know about the connection. Otherwise\u001b[39;00m\n\u001b[1;32m 726\u001b[0m \u001b[39m# it will also try to release it and we'll have a double-release\u001b[39;00m\n\u001b[1;32m 727\u001b[0m \u001b[39m# mess.\u001b[39;00m\n\u001b[1;32m 728\u001b[0m response_conn \u001b[39m=\u001b[39m conn \u001b[39mif\u001b[39;00m \u001b[39mnot\u001b[39;00m release_conn \u001b[39melse\u001b[39;00m \u001b[39mNone\u001b[39;00m\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:466\u001b[0m, in \u001b[0;36mHTTPConnectionPool._make_request\u001b[0;34m(self, conn, method, url, timeout, chunked, **httplib_request_kw)\u001b[0m\n\u001b[1;32m 461\u001b[0m httplib_response \u001b[39m=\u001b[39m conn\u001b[39m.\u001b[39mgetresponse()\n\u001b[1;32m 462\u001b[0m \u001b[39mexcept\u001b[39;00m \u001b[39mBaseException\u001b[39;00m \u001b[39mas\u001b[39;00m e:\n\u001b[1;32m 463\u001b[0m \u001b[39m# Remove the TypeError from the exception chain in\u001b[39;00m\n\u001b[1;32m 464\u001b[0m \u001b[39m# Python 3 (including for exceptions like SystemExit).\u001b[39;00m\n\u001b[1;32m 465\u001b[0m \u001b[39m# Otherwise it looks like a bug in the code.\u001b[39;00m\n\u001b[0;32m--> 466\u001b[0m six\u001b[39m.\u001b[39;49mraise_from(e, \u001b[39mNone\u001b[39;49;00m)\n\u001b[1;32m 467\u001b[0m \u001b[39mexcept\u001b[39;00m (SocketTimeout, BaseSSLError, SocketError) \u001b[39mas\u001b[39;00m e:\n\u001b[1;32m 468\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_raise_timeout(err\u001b[39m=\u001b[39me, url\u001b[39m=\u001b[39murl, timeout_value\u001b[39m=\u001b[39mread_timeout)\n", - "File \u001b[0;32m:3\u001b[0m, in \u001b[0;36mraise_from\u001b[0;34m(value, from_value)\u001b[0m\n", - "File \u001b[0;32m~/.local/lib/python3.10/site-packages/urllib3/connectionpool.py:461\u001b[0m, in \u001b[0;36mHTTPConnectionPool._make_request\u001b[0;34m(self, conn, method, url, timeout, chunked, **httplib_request_kw)\u001b[0m\n\u001b[1;32m 458\u001b[0m \u001b[39mexcept\u001b[39;00m \u001b[39mTypeError\u001b[39;00m:\n\u001b[1;32m 459\u001b[0m \u001b[39m# Python 3\u001b[39;00m\n\u001b[1;32m 460\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[0;32m--> 461\u001b[0m httplib_response \u001b[39m=\u001b[39m conn\u001b[39m.\u001b[39;49mgetresponse()\n\u001b[1;32m 462\u001b[0m \u001b[39mexcept\u001b[39;00m \u001b[39mBaseException\u001b[39;00m \u001b[39mas\u001b[39;00m e:\n\u001b[1;32m 463\u001b[0m \u001b[39m# Remove the TypeError from the exception chain in\u001b[39;00m\n\u001b[1;32m 464\u001b[0m \u001b[39m# Python 3 (including for exceptions like SystemExit).\u001b[39;00m\n\u001b[1;32m 465\u001b[0m \u001b[39m# Otherwise it looks like a bug in the code.\u001b[39;00m\n\u001b[1;32m 466\u001b[0m six\u001b[39m.\u001b[39mraise_from(e, \u001b[39mNone\u001b[39;00m)\n", - "File \u001b[0;32m/usr/lib/python3.10/http/client.py:1375\u001b[0m, in \u001b[0;36mHTTPConnection.getresponse\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 1373\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[1;32m 1374\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[0;32m-> 1375\u001b[0m response\u001b[39m.\u001b[39;49mbegin()\n\u001b[1;32m 1376\u001b[0m \u001b[39mexcept\u001b[39;00m \u001b[39mConnectionError\u001b[39;00m:\n\u001b[1;32m 1377\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mclose()\n", - "File \u001b[0;32m/usr/lib/python3.10/http/client.py:318\u001b[0m, in \u001b[0;36mHTTPResponse.begin\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 316\u001b[0m \u001b[39m# read until we get a non-100 response\u001b[39;00m\n\u001b[1;32m 317\u001b[0m \u001b[39mwhile\u001b[39;00m \u001b[39mTrue\u001b[39;00m:\n\u001b[0;32m--> 318\u001b[0m version, status, reason \u001b[39m=\u001b[39m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_read_status()\n\u001b[1;32m 319\u001b[0m \u001b[39mif\u001b[39;00m status \u001b[39m!=\u001b[39m CONTINUE:\n\u001b[1;32m 320\u001b[0m \u001b[39mbreak\u001b[39;00m\n", - "File \u001b[0;32m/usr/lib/python3.10/http/client.py:279\u001b[0m, in \u001b[0;36mHTTPResponse._read_status\u001b[0;34m(self)\u001b[0m\n\u001b[1;32m 278\u001b[0m \u001b[39mdef\u001b[39;00m \u001b[39m_read_status\u001b[39m(\u001b[39mself\u001b[39m):\n\u001b[0;32m--> 279\u001b[0m line \u001b[39m=\u001b[39m \u001b[39mstr\u001b[39m(\u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mfp\u001b[39m.\u001b[39;49mreadline(_MAXLINE \u001b[39m+\u001b[39;49m \u001b[39m1\u001b[39;49m), \u001b[39m\"\u001b[39m\u001b[39miso-8859-1\u001b[39m\u001b[39m\"\u001b[39m)\n\u001b[1;32m 280\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mlen\u001b[39m(line) \u001b[39m>\u001b[39m _MAXLINE:\n\u001b[1;32m 281\u001b[0m \u001b[39mraise\u001b[39;00m LineTooLong(\u001b[39m\"\u001b[39m\u001b[39mstatus line\u001b[39m\u001b[39m\"\u001b[39m)\n", - "File \u001b[0;32m/usr/lib/python3.10/socket.py:705\u001b[0m, in \u001b[0;36mSocketIO.readinto\u001b[0;34m(self, b)\u001b[0m\n\u001b[1;32m 703\u001b[0m \u001b[39mwhile\u001b[39;00m \u001b[39mTrue\u001b[39;00m:\n\u001b[1;32m 704\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[0;32m--> 705\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_sock\u001b[39m.\u001b[39;49mrecv_into(b)\n\u001b[1;32m 706\u001b[0m \u001b[39mexcept\u001b[39;00m timeout:\n\u001b[1;32m 707\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_timeout_occurred \u001b[39m=\u001b[39m \u001b[39mTrue\u001b[39;00m\n", - "File \u001b[0;32m/usr/lib/python3.10/ssl.py:1274\u001b[0m, in \u001b[0;36mSSLSocket.recv_into\u001b[0;34m(self, buffer, nbytes, flags)\u001b[0m\n\u001b[1;32m 1270\u001b[0m \u001b[39mif\u001b[39;00m flags \u001b[39m!=\u001b[39m \u001b[39m0\u001b[39m:\n\u001b[1;32m 1271\u001b[0m \u001b[39mraise\u001b[39;00m \u001b[39mValueError\u001b[39;00m(\n\u001b[1;32m 1272\u001b[0m \u001b[39m\"\u001b[39m\u001b[39mnon-zero flags not allowed in calls to recv_into() on \u001b[39m\u001b[39m%s\u001b[39;00m\u001b[39m\"\u001b[39m \u001b[39m%\u001b[39m\n\u001b[1;32m 1273\u001b[0m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m\u001b[39m__class__\u001b[39m)\n\u001b[0;32m-> 1274\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49mread(nbytes, buffer)\n\u001b[1;32m 1275\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m 1276\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39msuper\u001b[39m()\u001b[39m.\u001b[39mrecv_into(buffer, nbytes, flags)\n", - "File \u001b[0;32m/usr/lib/python3.10/ssl.py:1130\u001b[0m, in \u001b[0;36mSSLSocket.read\u001b[0;34m(self, len, buffer)\u001b[0m\n\u001b[1;32m 1128\u001b[0m \u001b[39mtry\u001b[39;00m:\n\u001b[1;32m 1129\u001b[0m \u001b[39mif\u001b[39;00m buffer \u001b[39mis\u001b[39;00m \u001b[39mnot\u001b[39;00m \u001b[39mNone\u001b[39;00m:\n\u001b[0;32m-> 1130\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39;49m\u001b[39m.\u001b[39;49m_sslobj\u001b[39m.\u001b[39;49mread(\u001b[39mlen\u001b[39;49m, buffer)\n\u001b[1;32m 1131\u001b[0m \u001b[39melse\u001b[39;00m:\n\u001b[1;32m 1132\u001b[0m \u001b[39mreturn\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39m_sslobj\u001b[39m.\u001b[39mread(\u001b[39mlen\u001b[39m)\n", - "\u001b[0;31mKeyboardInterrupt\u001b[0m: " - ] - } - ], + "outputs": [], "source": [ "aoi_json = geometry.mapping(geometry.shape(aoi_geom))\n", "\n", - "poisApi = ors.PoisApi(ors.ApiClient(configuration))\n", + "poisApi = ors.PoisApi(ors.apiClient(apiKey=api_key))\n", "body = ors.OpenpoiservicePoiRequest(\n", " request='pois',\n", " geometry=ors.PoisGeometry(geojson=aoi_json),\n", @@ -268,16 +147,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\n", - "Amount of smoker pubs: 23\n" - ] - } - ], + "outputs": [], "source": [ "body.filters.smoking=['yes'] # Filter out smoker bars\n", "pubs_smoker = poisApi.pois_post(body).features\n", @@ -300,720 +170,11 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 8, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "pubs_addresses = []\n", "\n", - "geocodeApi = ors.GeocodeApi(ors.ApiClient(configuration))\n", + "geocodeApi = ors.GeocodeApi(ors.apiClient(apiKey=api_key))\n", "\n", "for feat in pubs_smoker:\n", " lon, lat = feat.geometry.coordinates\n", @@ -1046,19 +207,11 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Calculated 23x23 routes.\n" - ] - } - ], + "outputs": [], "source": [ "pubs_coords = [feat.geometry.coordinates for feat in pubs_smoker]\n", "\n", - "matrixApi = ors.MatrixServiceApi(ors.ApiClient(configuration))\n", + "matrixApi = ors.MatrixServiceApi(ors.apiClient(apiKey=api_key))\n", "body = ors.MatrixProfileBody(\n", " locations=pubs_coords,\n", " metrics=['duration']\n", @@ -1087,18 +240,7 @@ "metadata": { "scrolled": true }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Total duration: 51.63333333333333 minutes\n", - "\n", - "Route:\n", - "Blücherstraße 61 -> Fürbringerstraße 20a -> Alptraum -> Wirtschaftswunder -> Rausch Gold -> Mehringdamm 67 -> Gneisenaustraße 2 -> Heidelberger Krug -> Reichenberger Straße 177 -> multilayerladen -> Trinkteufel -> Jodelkeller -> Zum Goldenen Hahn -> Rummels Perle -> Reichenberger Straße 133 -> Weiße Taube -> Skalitzer Straße 75 -> Platzwart Kickerbar -> milchbar -> Monarch -> Dieffenbachstraße 36 -> Bierhaus Urban -> Urbanstraße 30 -> Blücherstraße 61\n" - ] - } - ], + "outputs": [], "source": [ "from ortools.constraint_solver import pywrapcp\n", "\n", @@ -1166,784 +308,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
Make this Notebook Trusted to load map: File -> Trust Notebook
" - ], - "text/plain": [ - "" - ] - }, - "execution_count": 11, - "metadata": {}, - "output_type": "execute_result" - } - ], + "outputs": [], "source": [ "def style_function(color):\n", " return lambda feature: dict(color=color,\n", @@ -1959,7 +324,7 @@ ")\n", "profile = 'driving-car'\n", "\n", - "directionsApi = ors.DirectionsServiceApi(ors.ApiClient(configuration))\n", + "directionsApi = ors.DirectionsServiceApi(ors.apiClient(api_key))\n", "random_route = directionsApi.get_geo_json_route(body, profile)\n", "\n", "folium.features.GeoJson(data=ors.todict(random_route),\n", @@ -1990,16 +355,7 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Duration optimal route: 51.857 mins\n", - "Duration random route: 139.505 mins\n" - ] - } - ], + "outputs": [], "source": [ "optimal_duration = 0\n", "random_duration = 0\n", @@ -2039,7 +395,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.12" + "version": "3.11.6" } }, "nbformat": 4, From 62cf6cb93368ca702b680e43ea9924f68a68b56a Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Tue, 19 Mar 2024 15:23:06 +0000 Subject: [PATCH 12/38] Generated update. Please review before merging. --- .gitignore | 72 ++++++++++++++++++++++++++++++++++------ .swagger-codegen/VERSION | 2 +- tests-config.ini | 2 ++ 3 files changed, 64 insertions(+), 12 deletions(-) create mode 100644 tests-config.ini diff --git a/.gitignore b/.gitignore index 7c5d3aff..a655050c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,64 @@ -# IDE -.vscode +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class -# Vitepress -/**/node_modules -.vitepress/cache +# C extensions +*.so -# Python -/**/__pycache__ -dist -*.egg-info +# Distribution / packaging +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg -# Secrets -tests-config.ini +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*,cover +.hypothesis/ +venv/ +.python-version + +# Translations +*.mo +*.pot + +# Django stuff: +*.log + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +#Ipython Notebook +.ipynb_checkpoints diff --git a/.swagger-codegen/VERSION b/.swagger-codegen/VERSION index 248908e6..27dedc56 100644 --- a/.swagger-codegen/VERSION +++ b/.swagger-codegen/VERSION @@ -1 +1 @@ -3.0.54 \ No newline at end of file +3.0.53-SNAPSHOT \ No newline at end of file diff --git a/tests-config.ini b/tests-config.ini new file mode 100644 index 00000000..687d42a3 --- /dev/null +++ b/tests-config.ini @@ -0,0 +1,2 @@ +[ORS]\n +apiKey = 5b3ce3597851110001cf624825699ac758834a3488254c37444a8a92\n From 07a851e1c4d515565be3aa1fff2f7fb1c0dcef92 Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Tue, 19 Mar 2024 15:42:31 +0000 Subject: [PATCH 13/38] Generated update. Please review before merging. --- .gitignore | 14 ++++++++++++++ README.md | 2 +- openrouteservice/api_client.py | 2 +- openrouteservice/configuration.py | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 6 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index a655050c..6c2747b3 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,17 @@ target/ #Ipython Notebook .ipynb_checkpoints + +# IDE +.vscode +.idea + +# API Key +openrouteservice-py/tests-config.ini + +# node_modules +openrouteservice-js/node_modules + +# Generated and used during building +client_version.txt +openrouteservice_ignore_paths.yaml diff --git a/README.md b/README.md index 2d64b0ca..53916b04 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ The openrouteservice library gives you painless access to the [openrouteservice] | API Version | Package version | Build package | | -------------- | ------------------ | ------------------ | -| 7.1.1 | 7.1.1 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | +| 7.1.1 | 7.1.1.post1 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | For further details, please visit: - our [homepage](https://openrouteservice.org) diff --git a/openrouteservice/api_client.py b/openrouteservice/api_client.py index 1af6d6fa..384d9fe4 100644 --- a/openrouteservice/api_client.py +++ b/openrouteservice/api_client.py @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/7.1.1/python' + self.user_agent = 'Swagger-Codegen/7.1.1.post1/python' def __del__(self): self.pool.close() diff --git a/openrouteservice/configuration.py b/openrouteservice/configuration.py index 4ff470ea..9bc071b0 100644 --- a/openrouteservice/configuration.py +++ b/openrouteservice/configuration.py @@ -247,5 +247,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 7.1.1\n"\ - "SDK Package Version: 7.1.1".\ + "SDK Package Version: 7.1.1.post1".\ format(env=sys.platform, pyversion=sys.version) diff --git a/pyproject.toml b/pyproject.toml index 0128dfa4..f10c3342 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "orspytest" -version = "7.1.1" +version = "7.1.1.post1" authors = [ {name = "HeiGIT gGmbH", email = "support@smartmobility.heigit.org"}, ] diff --git a/setup.py b/setup.py index e07bf922..ca254394 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "openrouteservice" -VERSION = "7.1.1" +VERSION = "7.1.1.post1" # To install the library, run the following # # python setup.py install From bfcd5090cf69dc9c50b82548a447e8bbc9361e70 Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Tue, 19 Mar 2024 17:13:57 +0100 Subject: [PATCH 14/38] refactor: add newline to trigger ci/cd --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 6c2747b3..e1780506 100644 --- a/.gitignore +++ b/.gitignore @@ -76,3 +76,4 @@ openrouteservice-js/node_modules # Generated and used during building client_version.txt openrouteservice_ignore_paths.yaml + From ffda12ac8fbe0203d5b5a4aefba915e46dfab192 Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Tue, 19 Mar 2024 17:15:44 +0100 Subject: [PATCH 15/38] feat: add newline to pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f10c3342..4dd90cfa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,4 +29,4 @@ dependencies = [ "Homepage" = "https://openrouteservice.org/" "Forum" = "https://ask.openrouteservice.org/c/sdks" "API Documentation" = "https://openrouteservice.org/documentation/" -"API Terms of service" = "https://openrouteservice.org/terms-of-service/" \ No newline at end of file +"API Terms of service" = "https://openrouteservice.org/terms-of-service/" From c64c69779718f68b4994b1eeac44a2d7465869b9 Mon Sep 17 00:00:00 2001 From: Julian Psotta Date: Tue, 19 Mar 2024 17:46:36 +0100 Subject: [PATCH 16/38] feat: Integrate poetry into the pyproject.toml --- poetry.lock | 425 +++++++++++++++++++++++++++++++++++++++++++++++++ pyproject.toml | 45 ++++-- 2 files changed, 453 insertions(+), 17 deletions(-) create mode 100644 poetry.lock diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 00000000..d181ede8 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,425 @@ +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. + +[[package]] +name = "cachetools" +version = "5.3.3" +description = "Extensible memoizing collections and decorators" +optional = false +python-versions = ">=3.7" +files = [ + {file = "cachetools-5.3.3-py3-none-any.whl", hash = "sha256:0abad1021d3f8325b2fc1d2e9c8b9c9d57b04c3932657a72465447332c24d945"}, + {file = "cachetools-5.3.3.tar.gz", hash = "sha256:ba29e2dfa0b8b556606f097407ed1aa62080ee108ab0dc5ec9d6a723a007d105"}, +] + +[[package]] +name = "certifi" +version = "2024.2.2" +description = "Python package for providing Mozilla's CA Bundle." +optional = false +python-versions = ">=3.6" +files = [ + {file = "certifi-2024.2.2-py3-none-any.whl", hash = "sha256:dc383c07b76109f368f6106eee2b593b04a011ea4d55f652c6ca24a754d1cdd1"}, + {file = "certifi-2024.2.2.tar.gz", hash = "sha256:0569859f95fc761b18b45ef421b1290a0f65f147e92a1e5eb3e635f9a5e4e66f"}, +] + +[[package]] +name = "chardet" +version = "5.2.0" +description = "Universal encoding detector for Python 3" +optional = false +python-versions = ">=3.7" +files = [ + {file = "chardet-5.2.0-py3-none-any.whl", hash = "sha256:e1cf59446890a00105fe7b7912492ea04b6e6f06d4b742b2c788469e34c82970"}, + {file = "chardet-5.2.0.tar.gz", hash = "sha256:1b3b6ff479a8c414bc3fa2c0852995695c4a026dcd6d0633b2dd092ca39c1cf7"}, +] + +[[package]] +name = "colorama" +version = "0.4.6" +description = "Cross-platform colored terminal text." +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +files = [ + {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, + {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, +] + +[[package]] +name = "coverage" +version = "7.4.4" +description = "Code coverage measurement for Python" +optional = false +python-versions = ">=3.8" +files = [ + {file = "coverage-7.4.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:e0be5efd5127542ef31f165de269f77560d6cdef525fffa446de6f7e9186cfb2"}, + {file = "coverage-7.4.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:ccd341521be3d1b3daeb41960ae94a5e87abe2f46f17224ba5d6f2b8398016cf"}, + {file = "coverage-7.4.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:09fa497a8ab37784fbb20ab699c246053ac294d13fc7eb40ec007a5043ec91f8"}, + {file = "coverage-7.4.4-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:b1a93009cb80730c9bca5d6d4665494b725b6e8e157c1cb7f2db5b4b122ea562"}, + {file = "coverage-7.4.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:690db6517f09336559dc0b5f55342df62370a48f5469fabf502db2c6d1cffcd2"}, + {file = "coverage-7.4.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:09c3255458533cb76ef55da8cc49ffab9e33f083739c8bd4f58e79fecfe288f7"}, + {file = "coverage-7.4.4-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:8ce1415194b4a6bd0cdcc3a1dfbf58b63f910dcb7330fe15bdff542c56949f87"}, + {file = "coverage-7.4.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:b91cbc4b195444e7e258ba27ac33769c41b94967919f10037e6355e998af255c"}, + {file = "coverage-7.4.4-cp310-cp310-win32.whl", hash = "sha256:598825b51b81c808cb6f078dcb972f96af96b078faa47af7dfcdf282835baa8d"}, + {file = "coverage-7.4.4-cp310-cp310-win_amd64.whl", hash = "sha256:09ef9199ed6653989ebbcaacc9b62b514bb63ea2f90256e71fea3ed74bd8ff6f"}, + {file = "coverage-7.4.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:0f9f50e7ef2a71e2fae92774c99170eb8304e3fdf9c8c3c7ae9bab3e7229c5cf"}, + {file = "coverage-7.4.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:623512f8ba53c422fcfb2ce68362c97945095b864cda94a92edbaf5994201083"}, + {file = "coverage-7.4.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0513b9508b93da4e1716744ef6ebc507aff016ba115ffe8ecff744d1322a7b63"}, + {file = "coverage-7.4.4-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:40209e141059b9370a2657c9b15607815359ab3ef9918f0196b6fccce8d3230f"}, + {file = "coverage-7.4.4-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8a2b2b78c78293782fd3767d53e6474582f62443d0504b1554370bde86cc8227"}, + {file = "coverage-7.4.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:73bfb9c09951125d06ee473bed216e2c3742f530fc5acc1383883125de76d9cd"}, + {file = "coverage-7.4.4-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:1f384c3cc76aeedce208643697fb3e8437604b512255de6d18dae3f27655a384"}, + {file = "coverage-7.4.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:54eb8d1bf7cacfbf2a3186019bcf01d11c666bd495ed18717162f7eb1e9dd00b"}, + {file = "coverage-7.4.4-cp311-cp311-win32.whl", hash = "sha256:cac99918c7bba15302a2d81f0312c08054a3359eaa1929c7e4b26ebe41e9b286"}, + {file = "coverage-7.4.4-cp311-cp311-win_amd64.whl", hash = "sha256:b14706df8b2de49869ae03a5ccbc211f4041750cd4a66f698df89d44f4bd30ec"}, + {file = "coverage-7.4.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:201bef2eea65e0e9c56343115ba3814e896afe6d36ffd37bab783261db430f76"}, + {file = "coverage-7.4.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:41c9c5f3de16b903b610d09650e5e27adbfa7f500302718c9ffd1c12cf9d6818"}, + {file = "coverage-7.4.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d898fe162d26929b5960e4e138651f7427048e72c853607f2b200909794ed978"}, + {file = "coverage-7.4.4-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3ea79bb50e805cd6ac058dfa3b5c8f6c040cb87fe83de10845857f5535d1db70"}, + {file = "coverage-7.4.4-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ce4b94265ca988c3f8e479e741693d143026632672e3ff924f25fab50518dd51"}, + {file = "coverage-7.4.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:00838a35b882694afda09f85e469c96367daa3f3f2b097d846a7216993d37f4c"}, + {file = "coverage-7.4.4-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:fdfafb32984684eb03c2d83e1e51f64f0906b11e64482df3c5db936ce3839d48"}, + {file = "coverage-7.4.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:69eb372f7e2ece89f14751fbcbe470295d73ed41ecd37ca36ed2eb47512a6ab9"}, + {file = "coverage-7.4.4-cp312-cp312-win32.whl", hash = "sha256:137eb07173141545e07403cca94ab625cc1cc6bc4c1e97b6e3846270e7e1fea0"}, + {file = "coverage-7.4.4-cp312-cp312-win_amd64.whl", hash = "sha256:d71eec7d83298f1af3326ce0ff1d0ea83c7cb98f72b577097f9083b20bdaf05e"}, + {file = "coverage-7.4.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:d5ae728ff3b5401cc320d792866987e7e7e880e6ebd24433b70a33b643bb0384"}, + {file = "coverage-7.4.4-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:cc4f1358cb0c78edef3ed237ef2c86056206bb8d9140e73b6b89fbcfcbdd40e1"}, + {file = "coverage-7.4.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8130a2aa2acb8788e0b56938786c33c7c98562697bf9f4c7d6e8e5e3a0501e4a"}, + {file = "coverage-7.4.4-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:cf271892d13e43bc2b51e6908ec9a6a5094a4df1d8af0bfc360088ee6c684409"}, + {file = "coverage-7.4.4-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a4cdc86d54b5da0df6d3d3a2f0b710949286094c3a6700c21e9015932b81447e"}, + {file = "coverage-7.4.4-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:ae71e7ddb7a413dd60052e90528f2f65270aad4b509563af6d03d53e979feafd"}, + {file = "coverage-7.4.4-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:38dd60d7bf242c4ed5b38e094baf6401faa114fc09e9e6632374388a404f98e7"}, + {file = "coverage-7.4.4-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:aa5b1c1bfc28384f1f53b69a023d789f72b2e0ab1b3787aae16992a7ca21056c"}, + {file = "coverage-7.4.4-cp38-cp38-win32.whl", hash = "sha256:dfa8fe35a0bb90382837b238fff375de15f0dcdb9ae68ff85f7a63649c98527e"}, + {file = "coverage-7.4.4-cp38-cp38-win_amd64.whl", hash = "sha256:b2991665420a803495e0b90a79233c1433d6ed77ef282e8e152a324bbbc5e0c8"}, + {file = "coverage-7.4.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3b799445b9f7ee8bf299cfaed6f5b226c0037b74886a4e11515e569b36fe310d"}, + {file = "coverage-7.4.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:b4d33f418f46362995f1e9d4f3a35a1b6322cb959c31d88ae56b0298e1c22357"}, + {file = "coverage-7.4.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:aadacf9a2f407a4688d700e4ebab33a7e2e408f2ca04dbf4aef17585389eff3e"}, + {file = "coverage-7.4.4-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:7c95949560050d04d46b919301826525597f07b33beba6187d04fa64d47ac82e"}, + {file = "coverage-7.4.4-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ff7687ca3d7028d8a5f0ebae95a6e4827c5616b31a4ee1192bdfde697db110d4"}, + {file = "coverage-7.4.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:5fc1de20b2d4a061b3df27ab9b7c7111e9a710f10dc2b84d33a4ab25065994ec"}, + {file = "coverage-7.4.4-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:c74880fc64d4958159fbd537a091d2a585448a8f8508bf248d72112723974cbd"}, + {file = "coverage-7.4.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:742a76a12aa45b44d236815d282b03cfb1de3b4323f3e4ec933acfae08e54ade"}, + {file = "coverage-7.4.4-cp39-cp39-win32.whl", hash = "sha256:d89d7b2974cae412400e88f35d86af72208e1ede1a541954af5d944a8ba46c57"}, + {file = "coverage-7.4.4-cp39-cp39-win_amd64.whl", hash = "sha256:9ca28a302acb19b6af89e90f33ee3e1906961f94b54ea37de6737b7ca9d8827c"}, + {file = "coverage-7.4.4-pp38.pp39.pp310-none-any.whl", hash = "sha256:b2c5edc4ac10a7ef6605a966c58929ec6c1bd0917fb8c15cb3363f65aa40e677"}, + {file = "coverage-7.4.4.tar.gz", hash = "sha256:c901df83d097649e257e803be22592aedfd5182f07b3cc87d640bbb9afd50f49"}, +] + +[package.dependencies] +tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""} + +[package.extras] +toml = ["tomli"] + +[[package]] +name = "distlib" +version = "0.3.8" +description = "Distribution utilities" +optional = false +python-versions = "*" +files = [ + {file = "distlib-0.3.8-py2.py3-none-any.whl", hash = "sha256:034db59a0b96f8ca18035f36290806a9a6e6bd9d1ff91e45a7f172eb17e51784"}, + {file = "distlib-0.3.8.tar.gz", hash = "sha256:1530ea13e350031b6312d8580ddb6b27a104275a31106523b8f123787f494f64"}, +] + +[[package]] +name = "exceptiongroup" +version = "1.2.0" +description = "Backport of PEP 654 (exception groups)" +optional = false +python-versions = ">=3.7" +files = [ + {file = "exceptiongroup-1.2.0-py3-none-any.whl", hash = "sha256:4bfd3996ac73b41e9b9628b04e079f193850720ea5945fc96a08633c66912f14"}, + {file = "exceptiongroup-1.2.0.tar.gz", hash = "sha256:91f5c769735f051a4290d52edd0858999b57e5876e9f85937691bd4c9fa3ed68"}, +] + +[package.extras] +test = ["pytest (>=6)"] + +[[package]] +name = "execnet" +version = "2.0.2" +description = "execnet: rapid multi-Python deployment" +optional = false +python-versions = ">=3.7" +files = [ + {file = "execnet-2.0.2-py3-none-any.whl", hash = "sha256:88256416ae766bc9e8895c76a87928c0012183da3cc4fc18016e6f050e025f41"}, + {file = "execnet-2.0.2.tar.gz", hash = "sha256:cc59bc4423742fd71ad227122eb0dd44db51efb3dc4095b45ac9a08c770096af"}, +] + +[package.extras] +testing = ["hatch", "pre-commit", "pytest", "tox"] + +[[package]] +name = "filelock" +version = "3.13.1" +description = "A platform independent file lock." +optional = false +python-versions = ">=3.8" +files = [ + {file = "filelock-3.13.1-py3-none-any.whl", hash = "sha256:57dbda9b35157b05fb3e58ee91448612eb674172fab98ee235ccb0b5bee19a1c"}, + {file = "filelock-3.13.1.tar.gz", hash = "sha256:521f5f56c50f8426f5e03ad3b281b490a87ef15bc6c526f168290f0c7148d44e"}, +] + +[package.extras] +docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.24)"] +testing = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "diff-cover (>=8)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-timeout (>=2.2)"] +typing = ["typing-extensions (>=4.8)"] + +[[package]] +name = "iniconfig" +version = "2.0.0" +description = "brain-dead simple config-ini parsing" +optional = false +python-versions = ">=3.7" +files = [ + {file = "iniconfig-2.0.0-py3-none-any.whl", hash = "sha256:b6a85871a79d2e3b22d2d1b94ac2824226a63c6b741c88f7ae975f18b6778374"}, + {file = "iniconfig-2.0.0.tar.gz", hash = "sha256:2d91e135bf72d31a410b17c16da610a82cb55f6b0477d1a902134b24a455b8b3"}, +] + +[[package]] +name = "packaging" +version = "24.0" +description = "Core utilities for Python packages" +optional = false +python-versions = ">=3.7" +files = [ + {file = "packaging-24.0-py3-none-any.whl", hash = "sha256:2ddfb553fdf02fb784c234c7ba6ccc288296ceabec964ad2eae3777778130bc5"}, + {file = "packaging-24.0.tar.gz", hash = "sha256:eb82c5e3e56209074766e6885bb04b8c38a0c015d0a30036ebe7ece34c9989e9"}, +] + +[[package]] +name = "platformdirs" +version = "4.2.0" +description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." +optional = false +python-versions = ">=3.8" +files = [ + {file = "platformdirs-4.2.0-py3-none-any.whl", hash = "sha256:0614df2a2f37e1a662acbd8e2b25b92ccf8632929bc6d43467e17fe89c75e068"}, + {file = "platformdirs-4.2.0.tar.gz", hash = "sha256:ef0cc731df711022c174543cb70a9b5bd22e5a9337c8624ef2c2ceb8ddad8768"}, +] + +[package.extras] +docs = ["furo (>=2023.9.10)", "proselint (>=0.13)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.25.2)"] +test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)"] + +[[package]] +name = "pluggy" +version = "1.4.0" +description = "plugin and hook calling mechanisms for python" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pluggy-1.4.0-py3-none-any.whl", hash = "sha256:7db9f7b503d67d1c5b95f59773ebb58a8c1c288129a88665838012cfb07b8981"}, + {file = "pluggy-1.4.0.tar.gz", hash = "sha256:8c85c2876142a764e5b7548e7d9a0e0ddb46f5185161049a79b7e974454223be"}, +] + +[package.extras] +dev = ["pre-commit", "tox"] +testing = ["pytest", "pytest-benchmark"] + +[[package]] +name = "py" +version = "1.11.0" +description = "library with cross-python path, ini-parsing, io, code, log facilities" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +files = [ + {file = "py-1.11.0-py2.py3-none-any.whl", hash = "sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378"}, + {file = "py-1.11.0.tar.gz", hash = "sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719"}, +] + +[[package]] +name = "pyproject-api" +version = "1.6.1" +description = "API to interact with the python pyproject.toml based projects" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pyproject_api-1.6.1-py3-none-any.whl", hash = "sha256:4c0116d60476b0786c88692cf4e325a9814965e2469c5998b830bba16b183675"}, + {file = "pyproject_api-1.6.1.tar.gz", hash = "sha256:1817dc018adc0d1ff9ca1ed8c60e1623d5aaca40814b953af14a9cf9a5cae538"}, +] + +[package.dependencies] +packaging = ">=23.1" +tomli = {version = ">=2.0.1", markers = "python_version < \"3.11\""} + +[package.extras] +docs = ["furo (>=2023.8.19)", "sphinx (<7.2)", "sphinx-autodoc-typehints (>=1.24)"] +testing = ["covdefaults (>=2.3)", "pytest (>=7.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.11.1)", "setuptools (>=68.1.2)", "wheel (>=0.41.2)"] + +[[package]] +name = "pytest" +version = "8.1.1" +description = "pytest: simple powerful testing with Python" +optional = false +python-versions = ">=3.8" +files = [ + {file = "pytest-8.1.1-py3-none-any.whl", hash = "sha256:2a8386cfc11fa9d2c50ee7b2a57e7d898ef90470a7a34c4b949ff59662bb78b7"}, + {file = "pytest-8.1.1.tar.gz", hash = "sha256:ac978141a75948948817d360297b7aae0fcb9d6ff6bc9ec6d514b85d5a65c044"}, +] + +[package.dependencies] +colorama = {version = "*", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} +iniconfig = "*" +packaging = "*" +pluggy = ">=1.4,<2.0" +tomli = {version = ">=1", markers = "python_version < \"3.11\""} + +[package.extras] +testing = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] + +[[package]] +name = "pytest-cov" +version = "4.1.0" +description = "Pytest plugin for measuring coverage." +optional = false +python-versions = ">=3.7" +files = [ + {file = "pytest-cov-4.1.0.tar.gz", hash = "sha256:3904b13dfbfec47f003b8e77fd5b589cd11904a21ddf1ab38a64f204d6a10ef6"}, + {file = "pytest_cov-4.1.0-py3-none-any.whl", hash = "sha256:6ba70b9e97e69fcc3fb45bfeab2d0a138fb65c4d0d6a41ef33983ad114be8c3a"}, +] + +[package.dependencies] +coverage = {version = ">=5.2.1", extras = ["toml"]} +pytest = ">=4.6" + +[package.extras] +testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtualenv"] + +[[package]] +name = "pytest-xdist" +version = "3.5.0" +description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pytest-xdist-3.5.0.tar.gz", hash = "sha256:cbb36f3d67e0c478baa57fa4edc8843887e0f6cfc42d677530a36d7472b32d8a"}, + {file = "pytest_xdist-3.5.0-py3-none-any.whl", hash = "sha256:d075629c7e00b611df89f490a5063944bee7a4362a5ff11c7cc7824a03dfce24"}, +] + +[package.dependencies] +execnet = ">=1.1" +pytest = ">=6.2.0" + +[package.extras] +psutil = ["psutil (>=3.0)"] +setproctitle = ["setproctitle"] +testing = ["filelock"] + +[[package]] +name = "python-dateutil" +version = "2.9.0.post0" +description = "Extensions to the standard Python datetime module" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" +files = [ + {file = "python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3"}, + {file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"}, +] + +[package.dependencies] +six = ">=1.5" + +[[package]] +name = "randomize" +version = "0.14" +description = "Randomize the order of the tests within a unittest.TestCase class" +optional = false +python-versions = "*" +files = [ + {file = "randomize-0.14-py2.py3-none-any.whl", hash = "sha256:79c72c1465060e7d22d8fa147fa0452550db83bf0bcf8c0b0694277ebc6f6ff6"}, + {file = "randomize-0.14.tar.gz", hash = "sha256:fe977435ed8f9786c891a0299c99a710751b748d4ddc23ff85fb5eba73983b6b"}, +] + +[[package]] +name = "six" +version = "1.16.0" +description = "Python 2 and 3 compatibility utilities" +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" +files = [ + {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, + {file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"}, +] + +[[package]] +name = "tomli" +version = "2.0.1" +description = "A lil' TOML parser" +optional = false +python-versions = ">=3.7" +files = [ + {file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"}, + {file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"}, +] + +[[package]] +name = "tox" +version = "4.14.1" +description = "tox is a generic virtualenv management and test command line tool" +optional = false +python-versions = ">=3.8" +files = [ + {file = "tox-4.14.1-py3-none-any.whl", hash = "sha256:b03754b6ee6dadc70f2611da82b4ed8f625fcafd247e15d1d0cb056f90a06d3b"}, + {file = "tox-4.14.1.tar.gz", hash = "sha256:f0ad758c3bbf7e237059c929d3595479363c3cdd5a06ac3e49d1dd020ffbee45"}, +] + +[package.dependencies] +cachetools = ">=5.3.2" +chardet = ">=5.2" +colorama = ">=0.4.6" +filelock = ">=3.13.1" +packaging = ">=23.2" +platformdirs = ">=4.1" +pluggy = ">=1.3" +pyproject-api = ">=1.6.1" +tomli = {version = ">=2.0.1", markers = "python_version < \"3.11\""} +virtualenv = ">=20.25" + +[package.extras] +docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-argparse-cli (>=1.11.1)", "sphinx-autodoc-typehints (>=1.25.2)", "sphinx-copybutton (>=0.5.2)", "sphinx-inline-tabs (>=2023.4.21)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=23.11)"] +testing = ["build[virtualenv] (>=1.0.3)", "covdefaults (>=2.3)", "detect-test-pollution (>=1.2)", "devpi-process (>=1)", "diff-cover (>=8.0.2)", "distlib (>=0.3.8)", "flaky (>=3.7)", "hatch-vcs (>=0.4)", "hatchling (>=1.21)", "psutil (>=5.9.7)", "pytest (>=7.4.4)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-xdist (>=3.5)", "re-assert (>=1.1)", "time-machine (>=2.13)", "wheel (>=0.42)"] + +[[package]] +name = "urllib3" +version = "2.2.1" +description = "HTTP library with thread-safe connection pooling, file post, and more." +optional = false +python-versions = ">=3.8" +files = [ + {file = "urllib3-2.2.1-py3-none-any.whl", hash = "sha256:450b20ec296a467077128bff42b73080516e71b56ff59a60a02bef2232c4fa9d"}, + {file = "urllib3-2.2.1.tar.gz", hash = "sha256:d0570876c61ab9e520d776c38acbbb5b05a776d3f9ff98a5c8fd5162a444cf19"}, +] + +[package.extras] +brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] +h2 = ["h2 (>=4,<5)"] +socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] +zstd = ["zstandard (>=0.18.0)"] + +[[package]] +name = "virtualenv" +version = "20.25.1" +description = "Virtual Python Environment builder" +optional = false +python-versions = ">=3.7" +files = [ + {file = "virtualenv-20.25.1-py3-none-any.whl", hash = "sha256:961c026ac520bac5f69acb8ea063e8a4f071bcc9457b9c1f28f6b085c511583a"}, + {file = "virtualenv-20.25.1.tar.gz", hash = "sha256:e08e13ecdca7a0bd53798f356d5831434afa5b07b93f0abdf0797b7a06ffe197"}, +] + +[package.dependencies] +distlib = ">=0.3.7,<1" +filelock = ">=3.12.2,<4" +platformdirs = ">=3.9.1,<5" + +[package.extras] +docs = ["furo (>=2023.7.26)", "proselint (>=0.13)", "sphinx (>=7.1.2)", "sphinx-argparse (>=0.4)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=23.6)"] +test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess (>=1)", "flaky (>=3.7)", "packaging (>=23.1)", "pytest (>=7.4)", "pytest-env (>=0.8.2)", "pytest-freezer (>=0.4.8)", "pytest-mock (>=3.11.1)", "pytest-randomly (>=3.12)", "pytest-timeout (>=2.1)", "setuptools (>=68)", "time-machine (>=2.10)"] + +[metadata] +lock-version = "2.0" +python-versions = ">=3.8, <4.0" +content-hash = "34d7287c4b27570a1498fe4fd4c371f48fe8fde30b18ee4be5ac65d03935395d" diff --git a/pyproject.toml b/pyproject.toml index 4dd90cfa..fec6eaad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,32 +1,43 @@ [build-system] -requires = ["setuptools", "setuptools-scm"] -build-backend = "setuptools.build_meta" +requires = ["poetry-core>=1.8.2"] +build-backend = "poetry.core.masonry.api" -[project] -name = "orspytest" +[tool.poetry] +name = "openrouteservice" version = "7.1.1.post1" -authors = [ - {name = "HeiGIT gGmbH", email = "support@smartmobility.heigit.org"}, -] +authors = ["HeiGIT gGmbH "] description = "Python client for requests to openrouteservice API services" readme = "README.md" -requires-python = ">=3.7" keywords = ["routing","accessibility","router","OSM","ORS","openrouteservice","openstreetmap","isochrone","POI","elevation","DEM","swagger"] -license = {text = "Apache 2.0"} +license = "Apache 2.0" classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ] -dependencies = [ - "urllib3 >= 1.15", - "six >= 1.10", - "certifi", - "python-dateutil" -] -[project.urls] -"Homepage" = "https://openrouteservice.org/" +[tool.poetry.dependencies] +python = ">=3.8, <4.0" +urllib3 = "^2.2.1" +six = "^1.16.0" +certifi = "^2024.2.2" +python-dateutil = "^2.9.0.post0" + +[tool.poetry.dev-dependencies] +pytest = "^8.1.1" +pytest-cov = "^4.1.0" +coverage = "^7.4.4" +pytest-xdist = "^3.5.0" +pluggy = "^1.4.0" +py = "^1.11.0" +randomize = "^0.14" +tox = "^4.14.1" + +[tool.pytest.ini_options] +addopts = "--cov=openrouteservice --cov-report xml --cov-report term-missing --cov-fail-under 50 -n auto" + +[tool.poetry.urls] +homepage = "https://openrouteservice.org/" "Forum" = "https://ask.openrouteservice.org/c/sdks" "API Documentation" = "https://openrouteservice.org/documentation/" "API Terms of service" = "https://openrouteservice.org/terms-of-service/" From e953b3324e3d510b858f05c3a9878982df9c5756 Mon Sep 17 00:00:00 2001 From: Julian Psotta Date: Tue, 19 Mar 2024 17:46:56 +0100 Subject: [PATCH 17/38] ci: Adjust the tox and the ci tests to use poetry --- .github/workflows/ci-tests.yml | 45 ++++++++++++++++++++++------------ tox.ini | 20 +++++++++------ 2 files changed, 42 insertions(+), 23 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index d107e74e..c5fbffb6 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -9,11 +9,21 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.8", "pypy3.9" ] - poetry-version: [ "1.5.1" ] + config: + - python-version: '3.7' + tox: py37 + - python-version: '3.8' + tox: py38 + - python-version: '3.9' + tox: py39 + - python-version: '3.10' + tox: py310 + - python-version: '3.11' + tox: py311 + poetry-version: [ "1.8.2" ] os: [ ubuntu-20.04, macos-latest, windows-latest ] runs-on: ${{ matrix.os }} - name: Python ${{ matrix.python-version }} / Poetry ${{ matrix.poetry-version }} / ${{ matrix.os }} + name: Python ${{ matrix.config.python-version }} / Poetry ${{ matrix.poetry-version }} / ${{ matrix.os }} defaults: run: shell: bash @@ -21,20 +31,25 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - name: Install poetry + run: pipx install poetry + - name: Install Python ${{ matrix.config.python-version }} + uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} - cache: 'pip' - - name: Install dependencies - run: pip install -r requirements.txt - - name: Install test dependencies - run: pip install -r test-requirements.txt - - name: Install tox - run: pip install tox + python-version: ${{ matrix.config.python-version }} + cache: 'poetry' + - name: Install packages + run: poetry install --no-root + - name: Load cached tox + uses: actions/cache@v3 + with: + path: .tox + key: tox-${{ matrix.os }}-poetry-${{ matrix.poetry-version }}-python-${{ matrix.config.python-version }}-${{ hashFiles('**/poetry.lock') }} - name: Setup API Key env: ORS_API_KEY: ${{ secrets.ORS_API_KEY }} run: printf "[ORS]\napiKey = $ORS_API_KEY\n" > tests-config.ini - - name: Run tests - run: python -m tox + - name: Run tox + run: | + poetry run tox -e pytest-${{ matrix.config.tox }} diff --git a/tox.ini b/tox.ini index a310bec9..559f71b2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,10 +1,14 @@ [tox] -envlist = py3 +env_list = pytest-{py37,py38,py39,py310,py311} -[testenv] -deps=-r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt - -commands= - nosetests \ - [] +[testenv:pytest-{py37,py38,py39,py310,py311}] +base_python = + py37: python3.8 + py38: python3.8 + py39: python3.9 + py310: python3.10 + py311: python3.11 +commands = + poetry install -v --no-interaction --no-root + pytest --cov=openrouteservice --cov-report xml --cov-report term-missing --cov-fail-under 50 -n auto +allowlist_externals = poetry From 1297a985696ecf884c9bae11a819fe7419f31b77 Mon Sep 17 00:00:00 2001 From: Julian Psotta Date: Tue, 19 Mar 2024 17:49:41 +0100 Subject: [PATCH 18/38] fix: Fix wrong python version identifier --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 559f71b2..d4882045 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ env_list = pytest-{py37,py38,py39,py310,py311} [testenv:pytest-{py37,py38,py39,py310,py311}] base_python = - py37: python3.8 + py37: python3.7 py38: python3.8 py39: python3.9 py310: python3.10 From a06b996d6c21cb7bf22aad4b9792181677ee37fd Mon Sep 17 00:00:00 2001 From: Julian Psotta Date: Tue, 19 Mar 2024 17:50:34 +0100 Subject: [PATCH 19/38] chore: Update to latest ubuntu image --- .github/workflows/ci-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index c5fbffb6..8e22fefb 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -21,7 +21,7 @@ jobs: - python-version: '3.11' tox: py311 poetry-version: [ "1.8.2" ] - os: [ ubuntu-20.04, macos-latest, windows-latest ] + os: [ ubuntu-22.04, macos-latest, windows-latest ] runs-on: ${{ matrix.os }} name: Python ${{ matrix.config.python-version }} / Poetry ${{ matrix.poetry-version }} / ${{ matrix.os }} defaults: From 76b54e55ec31671386077e9d8705586067773c0c Mon Sep 17 00:00:00 2001 From: Julian Psotta Date: Tue, 19 Mar 2024 17:51:43 +0100 Subject: [PATCH 20/38] chore: Remove python 3.7 --- .github/workflows/ci-tests.yml | 2 -- tox.ini | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 8e22fefb..88a32629 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -10,8 +10,6 @@ jobs: fail-fast: false matrix: config: - - python-version: '3.7' - tox: py37 - python-version: '3.8' tox: py38 - python-version: '3.9' diff --git a/tox.ini b/tox.ini index d4882045..10a9e81f 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,8 @@ [tox] -env_list = pytest-{py37,py38,py39,py310,py311} +env_list = pytest-{py38,py39,py310,py311} [testenv:pytest-{py37,py38,py39,py310,py311}] base_python = - py37: python3.7 py38: python3.8 py39: python3.9 py310: python3.10 From e0a863e9b755fff7693d1268ac8bfcd78ed971b1 Mon Sep 17 00:00:00 2001 From: Julian Psotta Date: Tue, 19 Mar 2024 17:55:06 +0100 Subject: [PATCH 21/38] fix: Add pytet to allowlist --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 10a9e81f..c6379fa9 100644 --- a/tox.ini +++ b/tox.ini @@ -10,4 +10,6 @@ base_python = commands = poetry install -v --no-interaction --no-root pytest --cov=openrouteservice --cov-report xml --cov-report term-missing --cov-fail-under 50 -n auto -allowlist_externals = poetry +allowlist_externals = + poetry + pytest From 7742aa33b55181702cd32480ec282cecce3701cb Mon Sep 17 00:00:00 2001 From: Julian Psotta Date: Tue, 19 Mar 2024 18:06:28 +0100 Subject: [PATCH 22/38] chore: Remove old test requirements --- test-requirements.txt | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 test-requirements.txt diff --git a/test-requirements.txt b/test-requirements.txt deleted file mode 100644 index d88e2832..00000000 --- a/test-requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -coverage>=4.0.3 -nose-py3>=1.6.2 -pluggy>=0.3.1 -py>=1.4.31 -randomize>=0.13 From f15d6fe989c4f3144d2992a67fcdc16c44388dc8 Mon Sep 17 00:00:00 2001 From: Julian Psotta Date: Tue, 19 Mar 2024 18:06:44 +0100 Subject: [PATCH 23/38] ci: Adjust the production pipeline --- .github/workflows/ci-production.yml | 74 ++++++++++++++--------------- 1 file changed, 35 insertions(+), 39 deletions(-) diff --git a/.github/workflows/ci-production.yml b/.github/workflows/ci-production.yml index 8216d075..fc80fd3a 100644 --- a/.github/workflows/ci-production.yml +++ b/.github/workflows/ci-production.yml @@ -14,11 +14,13 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11", "pypy3.8", "pypy3.9" ] - poetry-version: [ "latest" ] - os: [ ubuntu-20.04, macos-latest, windows-latest ] + config: + - python-version: '3.11' + tox: py311 + poetry-version: [ "1.8.2" ] + os: [ ubuntu-22.04, macos-latest, windows-latest ] runs-on: ${{ matrix.os }} - name: Python ${{ matrix.python-version }} / Poetry ${{ matrix.poetry-version }} / ${{ matrix.os }} + name: Python ${{ matrix.config.python-version }} / Poetry ${{ matrix.poetry-version }} / ${{ matrix.os }} defaults: run: shell: bash @@ -26,48 +28,42 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + - uses: actions/checkout@v4 + - name: Install poetry + run: pipx install poetry + - name: Install Python ${{ matrix.config.python-version }} + uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} - cache: 'pip' - - name: Update pip - run: | - python -m pip install --upgrade pip - - name: Run Poetry action - uses: abatilo/actions-poetry@v2 - with: - poetry-version: ${{ matrix.poetry-version }} - - name: View poetry --version - run: poetry --version - - name: Install dependencies - run: poetry install - - name: Run tests - run: poetry run pytest - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + python-version: ${{ matrix.config.python-version }} + cache: 'poetry' + - name: Install packages + run: poetry install --no-root + - name: Load cached tox + uses: actions/cache@v3 with: - token: ${{ secrets.CODECOV_TOKEN }} - flags: unittests - env_vars: OS,PYTHON - name: codecov-umbrella - fail_ci_if_error: true - verbose: true + path: .tox + key: tox-${{ matrix.os }}-poetry-${{ matrix.poetry-version }}-python-${{ matrix.config.python-version }}-${{ hashFiles('**/poetry.lock') }} + - name: Setup API Key + env: + ORS_API_KEY: ${{ secrets.ORS_API_KEY }} + run: printf "[ORS]\napiKey = $ORS_API_KEY\n" > tests-config.ini + - name: Run tox + run: | + poetry run tox -e pytest-${{ matrix.config.tox }} + build-and-publish: name: Build and publish Python distributions 📦 to PyPI and TestPyPI runs-on: ubuntu-20.04 - needs: - - pytest + needs: pytest steps: - - uses: actions/checkout@v2 - - name: Set up base Python 3.9 - uses: actions/setup-python@v2 - with: - python-version: 3.9 - - name: Python Poetry Action - uses: abatilo/actions-poetry@v2 + - uses: actions/checkout@v4 + - name: Install poetry + run: pipx install poetry + - name: Install Python ${{ matrix.config.python-version }} + uses: actions/setup-python@v5 with: - poetry-version: latest + python-version: ${{ matrix.config.python-version }} + cache: 'poetry' - name: Publish distribution 📦 with test.pypi.org if: startsWith(github.ref, 'refs/tags/v') run: | From 56ec3634c1f4b4d73e7e980f440ae7d35348ba43 Mon Sep 17 00:00:00 2001 From: Julian Psotta Date: Tue, 19 Mar 2024 18:10:56 +0100 Subject: [PATCH 24/38] chore: Remove unneeded files --- requirements.txt | 5 ----- setup.py | 39 --------------------------------------- 2 files changed, 44 deletions(-) delete mode 100644 requirements.txt delete mode 100644 setup.py diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index bafdc075..00000000 --- a/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -certifi >= 14.05.14 -six >= 1.10 -python_dateutil >= 2.5.3 -setuptools >= 21.0.0 -urllib3 >= 1.15.1 diff --git a/setup.py b/setup.py deleted file mode 100644 index ca254394..00000000 --- a/setup.py +++ /dev/null @@ -1,39 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -from setuptools import setup, find_packages # noqa: H301 - -NAME = "openrouteservice" -VERSION = "7.1.1.post1" -# To install the library, run the following -# -# python setup.py install -# -# prerequisite: setuptools -# http://pypi.python.org/pypi/setuptools - -REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"] - -setup( - name=NAME, - version=VERSION, - description="Openrouteservice", - author_email="support@smartmobility.heigit.org", - url="https://openrouteservice.org", - keywords=["routing","accessibility","router","OSM","ORS","openrouteservice","openstreetmap","isochrone","POI","elevation","DEM","swagger"], - install_requires=REQUIRES, - packages=find_packages(), - include_package_data=True, - long_description="""\ - Python client for requests to openrouteservice API services - """ -) From 78c4e084ca68c677f49923e2d58be4febe2a9778 Mon Sep 17 00:00:00 2001 From: Julian Psotta Date: Tue, 19 Mar 2024 18:12:16 +0100 Subject: [PATCH 25/38] chore: Remove double checkout action --- .github/workflows/ci-production.yml | 3 +-- .github/workflows/ci-tests.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-production.yml b/.github/workflows/ci-production.yml index fc80fd3a..6a4c7498 100644 --- a/.github/workflows/ci-production.yml +++ b/.github/workflows/ci-production.yml @@ -25,10 +25,9 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/checkout@v4 - name: Install poetry run: pipx install poetry - name: Install Python ${{ matrix.config.python-version }} diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 88a32629..88b637ad 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -26,10 +26,9 @@ jobs: run: shell: bash steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/checkout@v4 - name: Install poetry run: pipx install poetry - name: Install Python ${{ matrix.config.python-version }} From 8c7d8dd770757c74a2d4dd34a929b93b018f7220 Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Tue, 26 Mar 2024 14:38:01 +0100 Subject: [PATCH 26/38] feat: workflow for deploying to testpypi Deploys on push to generated-client branch to testpypi --- .github/workflows/ci-test-pypi.yml | 68 ++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 .github/workflows/ci-test-pypi.yml diff --git a/.github/workflows/ci-test-pypi.yml b/.github/workflows/ci-test-pypi.yml new file mode 100644 index 00000000..c4eceede --- /dev/null +++ b/.github/workflows/ci-test-pypi.yml @@ -0,0 +1,68 @@ +name: Test and deploy to TestPyPI | generated-client branch + +on: + push: + branches: + - generated-client + +jobs: + pytest: + strategy: + fail-fast: false + matrix: + config: + - python-version: '3.11' + tox: py311 + poetry-version: [ "1.8.2" ] + os: [ ubuntu-22.04, macos-latest, windows-latest ] + runs-on: ${{ matrix.os }} + name: Python ${{ matrix.config.python-version }} / Poetry ${{ matrix.poetry-version }} / ${{ matrix.os }} + defaults: + run: + shell: bash + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install poetry + run: pipx install poetry + - name: Install Python ${{ matrix.config.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.config.python-version }} + cache: 'poetry' + - name: Install packages + run: poetry install --no-root + - name: Load cached tox + uses: actions/cache@v3 + with: + path: .tox + key: tox-${{ matrix.os }}-poetry-${{ matrix.poetry-version }}-python-${{ matrix.config.python-version }}-${{ hashFiles('**/poetry.lock') }} + - name: Setup API Key + env: + ORS_API_KEY: ${{ secrets.ORS_API_KEY }} + run: printf "[ORS]\napiKey = $ORS_API_KEY\n" > tests-config.ini + - name: Run tox + run: | + poetry run tox -e pytest-${{ matrix.config.tox }} + + build-and-publish: + name: Build and publish Python distributions 📦 to TestPyPI + runs-on: ubuntu-20.04 + needs: pytest + steps: + - uses: actions/checkout@v4 + - name: Install poetry + run: pipx install poetry + - name: Install Python ${{ matrix.config.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.config.python-version }} + cache: 'poetry' + - name: Publish distribution 📦 with test.pypi.org + if: startsWith(github.ref, 'refs/tags/v') + run: | + poetry config repositories.testpypi https://test.pypi.org/legacy/ + poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_API_TOKEN }} + poetry build + poetry publish -r testpypi From 88e7ca98e6fef0f014895a36c903d4d1aca9c9b4 Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Tue, 26 Mar 2024 14:51:43 +0100 Subject: [PATCH 27/38] build: rebuild client using latest templates --- .gitignore | 1 - README.md | 7 +- docs/DirectionsService1.md | 35 - docs/DirectionsServiceApi.md | 8 +- ...onsService.md => DirectionsServiceBody.md} | 2 +- examples/Avoid_ConstructionSites.ipynb | 4 +- examples/Dieselgate_Routing.ipynb | 6 +- examples/ortools_pubcrawl.ipynb | 2 +- openrouteservice/__init__.py | 3 +- .../api/directions_service_api.py | 8 +- openrouteservice/api_client.py | 2 +- openrouteservice/configuration.py | 2 +- openrouteservice/models/__init__.py | 3 +- .../models/directions_service1.py | 875 ------------------ ..._service.py => directions_service_body.py} | 224 ++--- pyproject.toml | 2 +- setup.py | 39 + test/test_directions_service_api.py | 4 +- 18 files changed, 176 insertions(+), 1051 deletions(-) delete mode 100644 docs/DirectionsService1.md rename docs/{DirectionsService.md => DirectionsServiceBody.md} (99%) delete mode 100644 openrouteservice/models/directions_service1.py rename openrouteservice/models/{directions_service.py => directions_service_body.py} (81%) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index e1780506..6c2747b3 100644 --- a/.gitignore +++ b/.gitignore @@ -76,4 +76,3 @@ openrouteservice-js/node_modules # Generated and used during building client_version.txt openrouteservice_ignore_paths.yaml - diff --git a/README.md b/README.md index 53916b04..644d7848 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ The openrouteservice library gives you painless access to the [openrouteservice] | API Version | Package version | Build package | | -------------- | ------------------ | ------------------ | -| 7.1.1 | 7.1.1.post1 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | +| 7.1.1 | 7.1.1.post2 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | For further details, please visit: - our [homepage](https://openrouteservice.org) @@ -65,7 +65,7 @@ directionsApi = ors.DirectionsServiceApi( ) # create request body -body = ors.DirectionsService( +body = ors.DirectionsServiceBody( coordinates=[[8.34234,48.23424],[8.34423,48.26424]] ) @@ -126,8 +126,7 @@ Class | Method | HTTP request | Description ## Documentation For Models - [AlternativeRoutes](docs/AlternativeRoutes.md) - - [DirectionsService](docs/DirectionsService.md) - - [DirectionsService1](docs/DirectionsService1.md) + - [DirectionsServiceBody](docs/DirectionsServiceBody.md) - [ElevationLineBody](docs/ElevationLineBody.md) - [ElevationPointBody](docs/ElevationPointBody.md) - [IsochronesProfileBody](docs/IsochronesProfileBody.md) diff --git a/docs/DirectionsService1.md b/docs/DirectionsService1.md deleted file mode 100644 index 675ee163..00000000 --- a/docs/DirectionsService1.md +++ /dev/null @@ -1,35 +0,0 @@ -# DirectionsService1 - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**alternative_routes** | [**AlternativeRoutes**](AlternativeRoutes.md) | | [optional] -**attributes** | **list[str]** | List of route attributes | [optional] -**bearings** | **list[list[float]]** | Specifies a list of pairs (bearings and deviations) to filter the segments of the road network a waypoint can snap to. \"For example `bearings=[[45,10],[120,20]]`. \"Each pair is a comma-separated list that can consist of one or two float values, where the first value is the bearing and the second one is the allowed deviation from the bearing. \"The bearing can take values between `0` and `360` clockwise from true north. If the deviation is not set, then the default value of `100` degrees is used. \"The number of pairs must correspond to the number of waypoints. \"The number of bearings corresponds to the length of waypoints-1 or waypoints. If the bearing information for the last waypoint is given, then this will control the sector from which the destination waypoint may be reached. \"You can skip a bearing for a certain waypoint by passing an empty value for an array, e.g. `[30,20],[],[40,20]`. | [optional] -**continue_straight** | **bool** | Forces the route to keep going straight at waypoints restricting uturns there even if it would be faster. | [optional] [default to False] -**coordinates** | **list[list[float]]** | The waypoints to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) | -**elevation** | **bool** | Specifies whether to return elevation values for points. Please note that elevation also gets encoded for json response encoded polyline. | [optional] -**extra_info** | **list[str]** | The extra info items to include in the response | [optional] -**geometry** | **bool** | Specifies whether to return geometry. | [optional] [default to True] -**geometry_simplify** | **bool** | Specifies whether to simplify the geometry. Simplify geometry cannot be applied to routes with more than **one segment** and when `extra_info` is required. | [optional] [default to False] -**id** | **str** | Arbitrary identification string of the request reflected in the meta information. | [optional] -**ignore_transfers** | **bool** | Specifies if transfers as criterion should be ignored. | [optional] [default to False] -**instructions** | **bool** | Specifies whether to return instructions. | [optional] [default to True] -**instructions_format** | **str** | Select html for more verbose instructions. | [optional] [default to 'text'] -**language** | **str** | Language for the route instructions. | [optional] [default to 'en'] -**maneuvers** | **bool** | Specifies whether the maneuver object is included into the step object or not. | [optional] [default to False] -**maximum_speed** | **float** | The maximum speed specified by user. | [optional] -**options** | [**RouteOptions**](RouteOptions.md) | | [optional] -**preference** | **str** | Specifies the route preference | [optional] [default to 'recommended'] -**radiuses** | **list[float]** | A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. | [optional] -**roundabout_exits** | **bool** | Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. | [optional] [default to False] -**schedule** | **bool** | If true, return a public transport schedule starting at <departure> for the next <schedule_duration> minutes. | [optional] [default to False] -**schedule_duration** | **str** | The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations | [optional] -**schedule_rows** | **int** | The maximum amount of entries that should be returned when requesting a schedule. | [optional] -**skip_segments** | **list[int]** | Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. | [optional] -**suppress_warnings** | **bool** | Suppress warning messages in the response | [optional] -**units** | **str** | Specifies the distance unit. | [optional] [default to 'm'] -**walking_time** | **str** | Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations | [optional] [default to 'PT15M'] - -[[Back to Model list]](../README.md#documentation_for_models) [[Back to API list]](../README.md#documentation_for_api_endpoints) [[Back to README]](../README.md) - diff --git a/docs/DirectionsServiceApi.md b/docs/DirectionsServiceApi.md index bc220177..9ff96796 100644 --- a/docs/DirectionsServiceApi.md +++ b/docs/DirectionsServiceApi.md @@ -30,7 +30,7 @@ configuration.api_key['Authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = openrouteservice.DirectionsServiceApi(openrouteservice.ApiClient(configuration)) -body = openrouteservice.DirectionsService() # DirectionsService | +body = openrouteservice.DirectionsServiceBody() # DirectionsServiceBody | profile = 'profile_example' # str | Specifies the route profile. try: @@ -45,7 +45,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**DirectionsService**](DirectionsService.md)| | + **body** | [**DirectionsServiceBody**](DirectionsServiceBody.md)| | **profile** | **str**| Specifies the route profile. | ### Return type @@ -86,7 +86,7 @@ configuration.api_key['Authorization'] = 'YOUR_API_KEY' # create an instance of the API class api_instance = openrouteservice.DirectionsServiceApi(openrouteservice.ApiClient(configuration)) -body = openrouteservice.DirectionsService1() # DirectionsService1 | +body = openrouteservice.DirectionsServiceBody() # DirectionsServiceBody | profile = 'profile_example' # str | Specifies the route profile. try: @@ -101,7 +101,7 @@ except ApiException as e: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **body** | [**DirectionsService1**](DirectionsService1.md)| | + **body** | [**DirectionsServiceBody**](DirectionsServiceBody.md)| | **profile** | **str**| Specifies the route profile. | ### Return type diff --git a/docs/DirectionsService.md b/docs/DirectionsServiceBody.md similarity index 99% rename from docs/DirectionsService.md rename to docs/DirectionsServiceBody.md index 2980e80b..d8e2e61c 100644 --- a/docs/DirectionsService.md +++ b/docs/DirectionsServiceBody.md @@ -1,4 +1,4 @@ -# DirectionsService +# DirectionsServiceBody ## Properties Name | Type | Description | Notes diff --git a/examples/Avoid_ConstructionSites.ipynb b/examples/Avoid_ConstructionSites.ipynb index 04e47851..77e64aa4 100644 --- a/examples/Avoid_ConstructionSites.ipynb +++ b/examples/Avoid_ConstructionSites.ipynb @@ -5724,7 +5724,7 @@ "map2 = folium.Map(**map_params)\n", "\n", "api_instance = ors.DirectionsServiceApi(ors.apiClient(apiKey=api_key))\n", - "body = ors.DirectionsService(\n", + "body = ors.DirectionsServiceBody(\n", " coordinates=[[12.108259, 54.081919],[12.072063, 54.103684]],\n", " preference='shortest',\n", " instructions=False\n", @@ -6157,7 +6157,7 @@ ], "source": [ "# Add the site polygons to the request parameters\n", - "body = ors.DirectionsService(\n", + "body = ors.DirectionsServiceBody(\n", " coordinates=[[12.108259, 54.081919],[12.072063, 54.103684]],\n", " preference='shortest',\n", " instructions=False,\n", diff --git a/examples/Dieselgate_Routing.ipynb b/examples/Dieselgate_Routing.ipynb index b8219f50..4d466774 100644 --- a/examples/Dieselgate_Routing.ipynb +++ b/examples/Dieselgate_Routing.ipynb @@ -228,7 +228,7 @@ "\n", "# Request route\n", "coordinates = [[13.372582, 52.520295], [13.391476, 52.508856]]\n", - "body = ors.DirectionsService(\n", + "body = ors.DirectionsServiceBody(\n", " coordinates=coordinates,\n", " preference='shortest',\n", " geometry=True\n", @@ -549,7 +549,7 @@ "# Affected streets\n", "buffer = []\n", "for street in avoid_streets:\n", - " body = ors.DirectionsService(\n", + " body = ors.DirectionsServiceBody(\n", " coordinates=street['coords'],\n", " preference='shortest',\n", " geometry=True\n", @@ -911,7 +911,7 @@ } ], "source": [ - "body = ors.DirectionsService(\n", + "body = ors.DirectionsServiceBody(\n", " coordinates=coordinates,\n", " preference='shortest',\n", " instructions=False,\n", diff --git a/examples/ortools_pubcrawl.ipynb b/examples/ortools_pubcrawl.ipynb index d7724d2b..b4cc3f3c 100644 --- a/examples/ortools_pubcrawl.ipynb +++ b/examples/ortools_pubcrawl.ipynb @@ -318,7 +318,7 @@ "\n", "# See what a 'random' tour would have been\n", "pubs_coords.append(pubs_coords[0])\n", - "body = ors.DirectionsService(\n", + "body = ors.DirectionsServiceBody(\n", " coordinates=pubs_coords,\n", " geometry=True\n", ")\n", diff --git a/openrouteservice/__init__.py b/openrouteservice/__init__.py index aac52036..e3b51622 100644 --- a/openrouteservice/__init__.py +++ b/openrouteservice/__init__.py @@ -28,8 +28,7 @@ from openrouteservice.configuration import Configuration # import models into sdk package from openrouteservice.models.alternative_routes import AlternativeRoutes -from openrouteservice.models.directions_service import DirectionsService -from openrouteservice.models.directions_service1 import DirectionsService1 +from openrouteservice.models.directions_service_body import DirectionsServiceBody from openrouteservice.models.elevation_line_body import ElevationLineBody from openrouteservice.models.elevation_point_body import ElevationPointBody from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody diff --git a/openrouteservice/api/directions_service_api.py b/openrouteservice/api/directions_service_api.py index eab71948..4a1fc794 100644 --- a/openrouteservice/api/directions_service_api.py +++ b/openrouteservice/api/directions_service_api.py @@ -42,7 +42,7 @@ def get_geo_json_route(self, body, profile, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param DirectionsService body: (required) + :param DirectionsServiceBody body: (required) :param str profile: Specifies the route profile. (required) :return: JSONResponse If the method is called asynchronously, @@ -65,7 +65,7 @@ def get_geo_json_route_with_http_info(self, body, profile, **kwargs): # noqa: E >>> result = thread.get() :param async_req bool - :param DirectionsService body: (required) + :param DirectionsServiceBody body: (required) :param str profile: Specifies the route profile. (required) :return: JSONResponse If the method is called asynchronously, @@ -149,7 +149,7 @@ def get_json_route(self, body, profile, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param DirectionsService1 body: (required) + :param DirectionsServiceBody body: (required) :param str profile: Specifies the route profile. (required) :return: JSONResponse If the method is called asynchronously, @@ -172,7 +172,7 @@ def get_json_route_with_http_info(self, body, profile, **kwargs): # noqa: E501 >>> result = thread.get() :param async_req bool - :param DirectionsService1 body: (required) + :param DirectionsServiceBody body: (required) :param str profile: Specifies the route profile. (required) :return: JSONResponse If the method is called asynchronously, diff --git a/openrouteservice/api_client.py b/openrouteservice/api_client.py index 384d9fe4..a9aff6b3 100644 --- a/openrouteservice/api_client.py +++ b/openrouteservice/api_client.py @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/7.1.1.post1/python' + self.user_agent = 'Swagger-Codegen/7.1.1.post2/python' def __del__(self): self.pool.close() diff --git a/openrouteservice/configuration.py b/openrouteservice/configuration.py index 9bc071b0..cd7000e6 100644 --- a/openrouteservice/configuration.py +++ b/openrouteservice/configuration.py @@ -247,5 +247,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 7.1.1\n"\ - "SDK Package Version: 7.1.1.post1".\ + "SDK Package Version: 7.1.1.post2".\ format(env=sys.platform, pyversion=sys.version) diff --git a/openrouteservice/models/__init__.py b/openrouteservice/models/__init__.py index d3d8fd03..5a166f3a 100644 --- a/openrouteservice/models/__init__.py +++ b/openrouteservice/models/__init__.py @@ -15,8 +15,7 @@ # import models into model package from openrouteservice.models.alternative_routes import AlternativeRoutes -from openrouteservice.models.directions_service import DirectionsService -from openrouteservice.models.directions_service1 import DirectionsService1 +from openrouteservice.models.directions_service_body import DirectionsServiceBody from openrouteservice.models.elevation_line_body import ElevationLineBody from openrouteservice.models.elevation_point_body import ElevationPointBody from openrouteservice.models.isochrones_profile_body import IsochronesProfileBody diff --git a/openrouteservice/models/directions_service1.py b/openrouteservice/models/directions_service1.py deleted file mode 100644 index 328c2998..00000000 --- a/openrouteservice/models/directions_service1.py +++ /dev/null @@ -1,875 +0,0 @@ -# coding: utf-8 - -""" - Openrouteservice - - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - - OpenAPI spec version: 7.1.1 - Contact: support@smartmobility.heigit.org - Generated by: https://github.com/swagger-api/swagger-codegen.git -""" - -import pprint -import re # noqa: F401 - -import six - -class DirectionsService1(object): - """NOTE: This class is auto generated by the swagger code generator program. - - Do not edit the class manually. - """ - """ - Attributes: - swagger_types (dict): The key is attribute name - and the value is attribute type. - attribute_map (dict): The key is attribute name - and the value is json key in definition. - """ - swagger_types = { - 'alternative_routes': 'AlternativeRoutes', - 'attributes': 'list[str]', - 'bearings': 'list[list[float]]', - 'continue_straight': 'bool', - 'coordinates': 'list[list[float]]', - 'elevation': 'bool', - 'extra_info': 'list[str]', - 'geometry': 'bool', - 'geometry_simplify': 'bool', - 'id': 'str', - 'ignore_transfers': 'bool', - 'instructions': 'bool', - 'instructions_format': 'str', - 'language': 'str', - 'maneuvers': 'bool', - 'maximum_speed': 'float', - 'options': 'RouteOptions', - 'preference': 'str', - 'radiuses': 'list[float]', - 'roundabout_exits': 'bool', - 'schedule': 'bool', - 'schedule_duration': 'str', - 'schedule_rows': 'int', - 'skip_segments': 'list[int]', - 'suppress_warnings': 'bool', - 'units': 'str', - 'walking_time': 'str' - } - - attribute_map = { - 'alternative_routes': 'alternative_routes', - 'attributes': 'attributes', - 'bearings': 'bearings', - 'continue_straight': 'continue_straight', - 'coordinates': 'coordinates', - 'elevation': 'elevation', - 'extra_info': 'extra_info', - 'geometry': 'geometry', - 'geometry_simplify': 'geometry_simplify', - 'id': 'id', - 'ignore_transfers': 'ignore_transfers', - 'instructions': 'instructions', - 'instructions_format': 'instructions_format', - 'language': 'language', - 'maneuvers': 'maneuvers', - 'maximum_speed': 'maximum_speed', - 'options': 'options', - 'preference': 'preference', - 'radiuses': 'radiuses', - 'roundabout_exits': 'roundabout_exits', - 'schedule': 'schedule', - 'schedule_duration': 'schedule_duration', - 'schedule_rows': 'schedule_rows', - 'skip_segments': 'skip_segments', - 'suppress_warnings': 'suppress_warnings', - 'units': 'units', - 'walking_time': 'walking_time' - } - - def __init__(self, alternative_routes=None, attributes=None, bearings=None, continue_straight=False, coordinates=None, elevation=None, extra_info=None, geometry=True, geometry_simplify=False, id=None, ignore_transfers=False, instructions=True, instructions_format='text', language='en', maneuvers=False, maximum_speed=None, options=None, preference='recommended', radiuses=None, roundabout_exits=False, schedule=False, schedule_duration=None, schedule_rows=None, skip_segments=None, suppress_warnings=None, units='m', walking_time='PT15M'): # noqa: E501 - """DirectionsService1 - a model defined in Swagger""" # noqa: E501 - self._alternative_routes = None - self._attributes = None - self._bearings = None - self._continue_straight = None - self._coordinates = None - self._elevation = None - self._extra_info = None - self._geometry = None - self._geometry_simplify = None - self._id = None - self._ignore_transfers = None - self._instructions = None - self._instructions_format = None - self._language = None - self._maneuvers = None - self._maximum_speed = None - self._options = None - self._preference = None - self._radiuses = None - self._roundabout_exits = None - self._schedule = None - self._schedule_duration = None - self._schedule_rows = None - self._skip_segments = None - self._suppress_warnings = None - self._units = None - self._walking_time = None - self.discriminator = None - if alternative_routes is not None: - self.alternative_routes = alternative_routes - if attributes is not None: - self.attributes = attributes - if bearings is not None: - self.bearings = bearings - if continue_straight is not None: - self.continue_straight = continue_straight - self.coordinates = coordinates - if elevation is not None: - self.elevation = elevation - if extra_info is not None: - self.extra_info = extra_info - if geometry is not None: - self.geometry = geometry - if geometry_simplify is not None: - self.geometry_simplify = geometry_simplify - if id is not None: - self.id = id - if ignore_transfers is not None: - self.ignore_transfers = ignore_transfers - if instructions is not None: - self.instructions = instructions - if instructions_format is not None: - self.instructions_format = instructions_format - if language is not None: - self.language = language - if maneuvers is not None: - self.maneuvers = maneuvers - if maximum_speed is not None: - self.maximum_speed = maximum_speed - if options is not None: - self.options = options - if preference is not None: - self.preference = preference - if radiuses is not None: - self.radiuses = radiuses - if roundabout_exits is not None: - self.roundabout_exits = roundabout_exits - if schedule is not None: - self.schedule = schedule - if schedule_duration is not None: - self.schedule_duration = schedule_duration - if schedule_rows is not None: - self.schedule_rows = schedule_rows - if skip_segments is not None: - self.skip_segments = skip_segments - if suppress_warnings is not None: - self.suppress_warnings = suppress_warnings - if units is not None: - self.units = units - if walking_time is not None: - self.walking_time = walking_time - - @property - def alternative_routes(self): - """Gets the alternative_routes of this DirectionsService1. # noqa: E501 - - - :return: The alternative_routes of this DirectionsService1. # noqa: E501 - :rtype: AlternativeRoutes - """ - return self._alternative_routes - - @alternative_routes.setter - def alternative_routes(self, alternative_routes): - """Sets the alternative_routes of this DirectionsService1. - - - :param alternative_routes: The alternative_routes of this DirectionsService1. # noqa: E501 - :type: AlternativeRoutes - """ - - self._alternative_routes = alternative_routes - - @property - def attributes(self): - """Gets the attributes of this DirectionsService1. # noqa: E501 - - List of route attributes # noqa: E501 - - :return: The attributes of this DirectionsService1. # noqa: E501 - :rtype: list[str] - """ - return self._attributes - - @attributes.setter - def attributes(self, attributes): - """Sets the attributes of this DirectionsService1. - - List of route attributes # noqa: E501 - - :param attributes: The attributes of this DirectionsService1. # noqa: E501 - :type: list[str] - """ - allowed_values = ["avgspeed", "detourfactor", "percentage"] # noqa: E501 - if not set(attributes).issubset(set(allowed_values)): - raise ValueError( - "Invalid values for `attributes` [{0}], must be a subset of [{1}]" # noqa: E501 - .format(", ".join(map(str, set(attributes) - set(allowed_values))), # noqa: E501 - ", ".join(map(str, allowed_values))) - ) - - self._attributes = attributes - - @property - def bearings(self): - """Gets the bearings of this DirectionsService1. # noqa: E501 - - Specifies a list of pairs (bearings and deviations) to filter the segments of the road network a waypoint can snap to. \"For example `bearings=[[45,10],[120,20]]`. \"Each pair is a comma-separated list that can consist of one or two float values, where the first value is the bearing and the second one is the allowed deviation from the bearing. \"The bearing can take values between `0` and `360` clockwise from true north. If the deviation is not set, then the default value of `100` degrees is used. \"The number of pairs must correspond to the number of waypoints. \"The number of bearings corresponds to the length of waypoints-1 or waypoints. If the bearing information for the last waypoint is given, then this will control the sector from which the destination waypoint may be reached. \"You can skip a bearing for a certain waypoint by passing an empty value for an array, e.g. `[30,20],[],[40,20]`. # noqa: E501 - - :return: The bearings of this DirectionsService1. # noqa: E501 - :rtype: list[list[float]] - """ - return self._bearings - - @bearings.setter - def bearings(self, bearings): - """Sets the bearings of this DirectionsService1. - - Specifies a list of pairs (bearings and deviations) to filter the segments of the road network a waypoint can snap to. \"For example `bearings=[[45,10],[120,20]]`. \"Each pair is a comma-separated list that can consist of one or two float values, where the first value is the bearing and the second one is the allowed deviation from the bearing. \"The bearing can take values between `0` and `360` clockwise from true north. If the deviation is not set, then the default value of `100` degrees is used. \"The number of pairs must correspond to the number of waypoints. \"The number of bearings corresponds to the length of waypoints-1 or waypoints. If the bearing information for the last waypoint is given, then this will control the sector from which the destination waypoint may be reached. \"You can skip a bearing for a certain waypoint by passing an empty value for an array, e.g. `[30,20],[],[40,20]`. # noqa: E501 - - :param bearings: The bearings of this DirectionsService1. # noqa: E501 - :type: list[list[float]] - """ - - self._bearings = bearings - - @property - def continue_straight(self): - """Gets the continue_straight of this DirectionsService1. # noqa: E501 - - Forces the route to keep going straight at waypoints restricting uturns there even if it would be faster. # noqa: E501 - - :return: The continue_straight of this DirectionsService1. # noqa: E501 - :rtype: bool - """ - return self._continue_straight - - @continue_straight.setter - def continue_straight(self, continue_straight): - """Sets the continue_straight of this DirectionsService1. - - Forces the route to keep going straight at waypoints restricting uturns there even if it would be faster. # noqa: E501 - - :param continue_straight: The continue_straight of this DirectionsService1. # noqa: E501 - :type: bool - """ - - self._continue_straight = continue_straight - - @property - def coordinates(self): - """Gets the coordinates of this DirectionsService1. # noqa: E501 - - The waypoints to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 - - :return: The coordinates of this DirectionsService1. # noqa: E501 - :rtype: list[list[float]] - """ - return self._coordinates - - @coordinates.setter - def coordinates(self, coordinates): - """Sets the coordinates of this DirectionsService1. - - The waypoints to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 - - :param coordinates: The coordinates of this DirectionsService1. # noqa: E501 - :type: list[list[float]] - """ - if coordinates is None: - raise ValueError("Invalid value for `coordinates`, must not be `None`") # noqa: E501 - - self._coordinates = coordinates - - @property - def elevation(self): - """Gets the elevation of this DirectionsService1. # noqa: E501 - - Specifies whether to return elevation values for points. Please note that elevation also gets encoded for json response encoded polyline. # noqa: E501 - - :return: The elevation of this DirectionsService1. # noqa: E501 - :rtype: bool - """ - return self._elevation - - @elevation.setter - def elevation(self, elevation): - """Sets the elevation of this DirectionsService1. - - Specifies whether to return elevation values for points. Please note that elevation also gets encoded for json response encoded polyline. # noqa: E501 - - :param elevation: The elevation of this DirectionsService1. # noqa: E501 - :type: bool - """ - - self._elevation = elevation - - @property - def extra_info(self): - """Gets the extra_info of this DirectionsService1. # noqa: E501 - - The extra info items to include in the response # noqa: E501 - - :return: The extra_info of this DirectionsService1. # noqa: E501 - :rtype: list[str] - """ - return self._extra_info - - @extra_info.setter - def extra_info(self, extra_info): - """Sets the extra_info of this DirectionsService1. - - The extra info items to include in the response # noqa: E501 - - :param extra_info: The extra_info of this DirectionsService1. # noqa: E501 - :type: list[str] - """ - allowed_values = ["steepness", "suitability", "surface", "waycategory", "waytype", "tollways", "traildifficulty", "osmid", "roadaccessrestrictions", "countryinfo", "green", "noise", "csv", "shadow"] # noqa: E501 - if not set(extra_info).issubset(set(allowed_values)): - raise ValueError( - "Invalid values for `extra_info` [{0}], must be a subset of [{1}]" # noqa: E501 - .format(", ".join(map(str, set(extra_info) - set(allowed_values))), # noqa: E501 - ", ".join(map(str, allowed_values))) - ) - - self._extra_info = extra_info - - @property - def geometry(self): - """Gets the geometry of this DirectionsService1. # noqa: E501 - - Specifies whether to return geometry. # noqa: E501 - - :return: The geometry of this DirectionsService1. # noqa: E501 - :rtype: bool - """ - return self._geometry - - @geometry.setter - def geometry(self, geometry): - """Sets the geometry of this DirectionsService1. - - Specifies whether to return geometry. # noqa: E501 - - :param geometry: The geometry of this DirectionsService1. # noqa: E501 - :type: bool - """ - - self._geometry = geometry - - @property - def geometry_simplify(self): - """Gets the geometry_simplify of this DirectionsService1. # noqa: E501 - - Specifies whether to simplify the geometry. Simplify geometry cannot be applied to routes with more than **one segment** and when `extra_info` is required. # noqa: E501 - - :return: The geometry_simplify of this DirectionsService1. # noqa: E501 - :rtype: bool - """ - return self._geometry_simplify - - @geometry_simplify.setter - def geometry_simplify(self, geometry_simplify): - """Sets the geometry_simplify of this DirectionsService1. - - Specifies whether to simplify the geometry. Simplify geometry cannot be applied to routes with more than **one segment** and when `extra_info` is required. # noqa: E501 - - :param geometry_simplify: The geometry_simplify of this DirectionsService1. # noqa: E501 - :type: bool - """ - - self._geometry_simplify = geometry_simplify - - @property - def id(self): - """Gets the id of this DirectionsService1. # noqa: E501 - - Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - - :return: The id of this DirectionsService1. # noqa: E501 - :rtype: str - """ - return self._id - - @id.setter - def id(self, id): - """Sets the id of this DirectionsService1. - - Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - - :param id: The id of this DirectionsService1. # noqa: E501 - :type: str - """ - - self._id = id - - @property - def ignore_transfers(self): - """Gets the ignore_transfers of this DirectionsService1. # noqa: E501 - - Specifies if transfers as criterion should be ignored. # noqa: E501 - - :return: The ignore_transfers of this DirectionsService1. # noqa: E501 - :rtype: bool - """ - return self._ignore_transfers - - @ignore_transfers.setter - def ignore_transfers(self, ignore_transfers): - """Sets the ignore_transfers of this DirectionsService1. - - Specifies if transfers as criterion should be ignored. # noqa: E501 - - :param ignore_transfers: The ignore_transfers of this DirectionsService1. # noqa: E501 - :type: bool - """ - - self._ignore_transfers = ignore_transfers - - @property - def instructions(self): - """Gets the instructions of this DirectionsService1. # noqa: E501 - - Specifies whether to return instructions. # noqa: E501 - - :return: The instructions of this DirectionsService1. # noqa: E501 - :rtype: bool - """ - return self._instructions - - @instructions.setter - def instructions(self, instructions): - """Sets the instructions of this DirectionsService1. - - Specifies whether to return instructions. # noqa: E501 - - :param instructions: The instructions of this DirectionsService1. # noqa: E501 - :type: bool - """ - - self._instructions = instructions - - @property - def instructions_format(self): - """Gets the instructions_format of this DirectionsService1. # noqa: E501 - - Select html for more verbose instructions. # noqa: E501 - - :return: The instructions_format of this DirectionsService1. # noqa: E501 - :rtype: str - """ - return self._instructions_format - - @instructions_format.setter - def instructions_format(self, instructions_format): - """Sets the instructions_format of this DirectionsService1. - - Select html for more verbose instructions. # noqa: E501 - - :param instructions_format: The instructions_format of this DirectionsService1. # noqa: E501 - :type: str - """ - allowed_values = ["html", "text"] # noqa: E501 - if instructions_format not in allowed_values: - raise ValueError( - "Invalid value for `instructions_format` ({0}), must be one of {1}" # noqa: E501 - .format(instructions_format, allowed_values) - ) - - self._instructions_format = instructions_format - - @property - def language(self): - """Gets the language of this DirectionsService1. # noqa: E501 - - Language for the route instructions. # noqa: E501 - - :return: The language of this DirectionsService1. # noqa: E501 - :rtype: str - """ - return self._language - - @language.setter - def language(self, language): - """Sets the language of this DirectionsService1. - - Language for the route instructions. # noqa: E501 - - :param language: The language of this DirectionsService1. # noqa: E501 - :type: str - """ - allowed_values = ["cs", "cs-cz", "de", "de-de", "en", "en-us", "eo", "eo-eo", "es", "es-es", "fr", "fr-fr", "gr", "gr-gr", "he", "he-il", "hu", "hu-hu", "id", "id-id", "it", "it-it", "ja", "ja-jp", "ne", "ne-np", "nl", "nl-nl", "nb", "nb-no", "pl", "pl-pl", "pt", "pt-pt", "ro", "ro-ro", "ru", "ru-ru", "tr", "tr-tr", "zh", "zh-cn"] # noqa: E501 - if language not in allowed_values: - raise ValueError( - "Invalid value for `language` ({0}), must be one of {1}" # noqa: E501 - .format(language, allowed_values) - ) - - self._language = language - - @property - def maneuvers(self): - """Gets the maneuvers of this DirectionsService1. # noqa: E501 - - Specifies whether the maneuver object is included into the step object or not. # noqa: E501 - - :return: The maneuvers of this DirectionsService1. # noqa: E501 - :rtype: bool - """ - return self._maneuvers - - @maneuvers.setter - def maneuvers(self, maneuvers): - """Sets the maneuvers of this DirectionsService1. - - Specifies whether the maneuver object is included into the step object or not. # noqa: E501 - - :param maneuvers: The maneuvers of this DirectionsService1. # noqa: E501 - :type: bool - """ - - self._maneuvers = maneuvers - - @property - def maximum_speed(self): - """Gets the maximum_speed of this DirectionsService1. # noqa: E501 - - The maximum speed specified by user. # noqa: E501 - - :return: The maximum_speed of this DirectionsService1. # noqa: E501 - :rtype: float - """ - return self._maximum_speed - - @maximum_speed.setter - def maximum_speed(self, maximum_speed): - """Sets the maximum_speed of this DirectionsService1. - - The maximum speed specified by user. # noqa: E501 - - :param maximum_speed: The maximum_speed of this DirectionsService1. # noqa: E501 - :type: float - """ - - self._maximum_speed = maximum_speed - - @property - def options(self): - """Gets the options of this DirectionsService1. # noqa: E501 - - - :return: The options of this DirectionsService1. # noqa: E501 - :rtype: RouteOptions - """ - return self._options - - @options.setter - def options(self, options): - """Sets the options of this DirectionsService1. - - - :param options: The options of this DirectionsService1. # noqa: E501 - :type: RouteOptions - """ - - self._options = options - - @property - def preference(self): - """Gets the preference of this DirectionsService1. # noqa: E501 - - Specifies the route preference # noqa: E501 - - :return: The preference of this DirectionsService1. # noqa: E501 - :rtype: str - """ - return self._preference - - @preference.setter - def preference(self, preference): - """Sets the preference of this DirectionsService1. - - Specifies the route preference # noqa: E501 - - :param preference: The preference of this DirectionsService1. # noqa: E501 - :type: str - """ - allowed_values = ["fastest", "shortest", "recommended"] # noqa: E501 - if preference not in allowed_values: - raise ValueError( - "Invalid value for `preference` ({0}), must be one of {1}" # noqa: E501 - .format(preference, allowed_values) - ) - - self._preference = preference - - @property - def radiuses(self): - """Gets the radiuses of this DirectionsService1. # noqa: E501 - - A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. # noqa: E501 - - :return: The radiuses of this DirectionsService1. # noqa: E501 - :rtype: list[float] - """ - return self._radiuses - - @radiuses.setter - def radiuses(self, radiuses): - """Sets the radiuses of this DirectionsService1. - - A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. # noqa: E501 - - :param radiuses: The radiuses of this DirectionsService1. # noqa: E501 - :type: list[float] - """ - - self._radiuses = radiuses - - @property - def roundabout_exits(self): - """Gets the roundabout_exits of this DirectionsService1. # noqa: E501 - - Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. # noqa: E501 - - :return: The roundabout_exits of this DirectionsService1. # noqa: E501 - :rtype: bool - """ - return self._roundabout_exits - - @roundabout_exits.setter - def roundabout_exits(self, roundabout_exits): - """Sets the roundabout_exits of this DirectionsService1. - - Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. # noqa: E501 - - :param roundabout_exits: The roundabout_exits of this DirectionsService1. # noqa: E501 - :type: bool - """ - - self._roundabout_exits = roundabout_exits - - @property - def schedule(self): - """Gets the schedule of this DirectionsService1. # noqa: E501 - - If true, return a public transport schedule starting at for the next minutes. # noqa: E501 - - :return: The schedule of this DirectionsService1. # noqa: E501 - :rtype: bool - """ - return self._schedule - - @schedule.setter - def schedule(self, schedule): - """Sets the schedule of this DirectionsService1. - - If true, return a public transport schedule starting at for the next minutes. # noqa: E501 - - :param schedule: The schedule of this DirectionsService1. # noqa: E501 - :type: bool - """ - - self._schedule = schedule - - @property - def schedule_duration(self): - """Gets the schedule_duration of this DirectionsService1. # noqa: E501 - - The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 - - :return: The schedule_duration of this DirectionsService1. # noqa: E501 - :rtype: str - """ - return self._schedule_duration - - @schedule_duration.setter - def schedule_duration(self, schedule_duration): - """Sets the schedule_duration of this DirectionsService1. - - The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 - - :param schedule_duration: The schedule_duration of this DirectionsService1. # noqa: E501 - :type: str - """ - - self._schedule_duration = schedule_duration - - @property - def schedule_rows(self): - """Gets the schedule_rows of this DirectionsService1. # noqa: E501 - - The maximum amount of entries that should be returned when requesting a schedule. # noqa: E501 - - :return: The schedule_rows of this DirectionsService1. # noqa: E501 - :rtype: int - """ - return self._schedule_rows - - @schedule_rows.setter - def schedule_rows(self, schedule_rows): - """Sets the schedule_rows of this DirectionsService1. - - The maximum amount of entries that should be returned when requesting a schedule. # noqa: E501 - - :param schedule_rows: The schedule_rows of this DirectionsService1. # noqa: E501 - :type: int - """ - - self._schedule_rows = schedule_rows - - @property - def skip_segments(self): - """Gets the skip_segments of this DirectionsService1. # noqa: E501 - - Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. # noqa: E501 - - :return: The skip_segments of this DirectionsService1. # noqa: E501 - :rtype: list[int] - """ - return self._skip_segments - - @skip_segments.setter - def skip_segments(self, skip_segments): - """Sets the skip_segments of this DirectionsService1. - - Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. # noqa: E501 - - :param skip_segments: The skip_segments of this DirectionsService1. # noqa: E501 - :type: list[int] - """ - - self._skip_segments = skip_segments - - @property - def suppress_warnings(self): - """Gets the suppress_warnings of this DirectionsService1. # noqa: E501 - - Suppress warning messages in the response # noqa: E501 - - :return: The suppress_warnings of this DirectionsService1. # noqa: E501 - :rtype: bool - """ - return self._suppress_warnings - - @suppress_warnings.setter - def suppress_warnings(self, suppress_warnings): - """Sets the suppress_warnings of this DirectionsService1. - - Suppress warning messages in the response # noqa: E501 - - :param suppress_warnings: The suppress_warnings of this DirectionsService1. # noqa: E501 - :type: bool - """ - - self._suppress_warnings = suppress_warnings - - @property - def units(self): - """Gets the units of this DirectionsService1. # noqa: E501 - - Specifies the distance unit. # noqa: E501 - - :return: The units of this DirectionsService1. # noqa: E501 - :rtype: str - """ - return self._units - - @units.setter - def units(self, units): - """Sets the units of this DirectionsService1. - - Specifies the distance unit. # noqa: E501 - - :param units: The units of this DirectionsService1. # noqa: E501 - :type: str - """ - allowed_values = ["m", "km", "mi"] # noqa: E501 - if units not in allowed_values: - raise ValueError( - "Invalid value for `units` ({0}), must be one of {1}" # noqa: E501 - .format(units, allowed_values) - ) - - self._units = units - - @property - def walking_time(self): - """Gets the walking_time of this DirectionsService1. # noqa: E501 - - Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 - - :return: The walking_time of this DirectionsService1. # noqa: E501 - :rtype: str - """ - return self._walking_time - - @walking_time.setter - def walking_time(self, walking_time): - """Sets the walking_time of this DirectionsService1. - - Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 - - :param walking_time: The walking_time of this DirectionsService1. # noqa: E501 - :type: str - """ - - self._walking_time = walking_time - - def to_dict(self): - """Returns the model properties as a dict""" - result = {} - - for attr, _ in six.iteritems(self.swagger_types): - value = getattr(self, attr) - if isinstance(value, list): - result[attr] = list(map( - lambda x: x.to_dict() if hasattr(x, "to_dict") else x, - value - )) - elif hasattr(value, "to_dict"): - result[attr] = value.to_dict() - elif isinstance(value, dict): - result[attr] = dict(map( - lambda item: (item[0], item[1].to_dict()) - if hasattr(item[1], "to_dict") else item, - value.items() - )) - else: - result[attr] = value - if issubclass(DirectionsService1, dict): - for key, value in self.items(): - result[key] = value - - return result - - def to_str(self): - """Returns the string representation of the model""" - return pprint.pformat(self.to_dict()) - - def __repr__(self): - """For `print` and `pprint`""" - return self.to_str() - - def __eq__(self, other): - """Returns true if both objects are equal""" - if not isinstance(other, DirectionsService1): - return False - - return self.__dict__ == other.__dict__ - - def __ne__(self, other): - """Returns true if both objects are not equal""" - return not self == other diff --git a/openrouteservice/models/directions_service.py b/openrouteservice/models/directions_service_body.py similarity index 81% rename from openrouteservice/models/directions_service.py rename to openrouteservice/models/directions_service_body.py index 28488572..f553d2cd 100644 --- a/openrouteservice/models/directions_service.py +++ b/openrouteservice/models/directions_service_body.py @@ -15,7 +15,7 @@ import six -class DirectionsService(object): +class DirectionsServiceBody(object): """NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. @@ -88,7 +88,7 @@ class DirectionsService(object): } def __init__(self, alternative_routes=None, attributes=None, bearings=None, continue_straight=False, coordinates=None, elevation=None, extra_info=None, geometry=True, geometry_simplify=False, id=None, ignore_transfers=False, instructions=True, instructions_format='text', language='en', maneuvers=False, maximum_speed=None, options=None, preference='recommended', radiuses=None, roundabout_exits=False, schedule=False, schedule_duration=None, schedule_rows=None, skip_segments=None, suppress_warnings=None, units='m', walking_time='PT15M'): # noqa: E501 - """DirectionsService - a model defined in Swagger""" # noqa: E501 + """DirectionsServiceBody - a model defined in Swagger""" # noqa: E501 self._alternative_routes = None self._attributes = None self._bearings = None @@ -173,20 +173,20 @@ def __init__(self, alternative_routes=None, attributes=None, bearings=None, cont @property def alternative_routes(self): - """Gets the alternative_routes of this DirectionsService. # noqa: E501 + """Gets the alternative_routes of this DirectionsServiceBody. # noqa: E501 - :return: The alternative_routes of this DirectionsService. # noqa: E501 + :return: The alternative_routes of this DirectionsServiceBody. # noqa: E501 :rtype: AlternativeRoutes """ return self._alternative_routes @alternative_routes.setter def alternative_routes(self, alternative_routes): - """Sets the alternative_routes of this DirectionsService. + """Sets the alternative_routes of this DirectionsServiceBody. - :param alternative_routes: The alternative_routes of this DirectionsService. # noqa: E501 + :param alternative_routes: The alternative_routes of this DirectionsServiceBody. # noqa: E501 :type: AlternativeRoutes """ @@ -194,22 +194,22 @@ def alternative_routes(self, alternative_routes): @property def attributes(self): - """Gets the attributes of this DirectionsService. # noqa: E501 + """Gets the attributes of this DirectionsServiceBody. # noqa: E501 List of route attributes # noqa: E501 - :return: The attributes of this DirectionsService. # noqa: E501 + :return: The attributes of this DirectionsServiceBody. # noqa: E501 :rtype: list[str] """ return self._attributes @attributes.setter def attributes(self, attributes): - """Sets the attributes of this DirectionsService. + """Sets the attributes of this DirectionsServiceBody. List of route attributes # noqa: E501 - :param attributes: The attributes of this DirectionsService. # noqa: E501 + :param attributes: The attributes of this DirectionsServiceBody. # noqa: E501 :type: list[str] """ allowed_values = ["avgspeed", "detourfactor", "percentage"] # noqa: E501 @@ -224,22 +224,22 @@ def attributes(self, attributes): @property def bearings(self): - """Gets the bearings of this DirectionsService. # noqa: E501 + """Gets the bearings of this DirectionsServiceBody. # noqa: E501 Specifies a list of pairs (bearings and deviations) to filter the segments of the road network a waypoint can snap to. \"For example `bearings=[[45,10],[120,20]]`. \"Each pair is a comma-separated list that can consist of one or two float values, where the first value is the bearing and the second one is the allowed deviation from the bearing. \"The bearing can take values between `0` and `360` clockwise from true north. If the deviation is not set, then the default value of `100` degrees is used. \"The number of pairs must correspond to the number of waypoints. \"The number of bearings corresponds to the length of waypoints-1 or waypoints. If the bearing information for the last waypoint is given, then this will control the sector from which the destination waypoint may be reached. \"You can skip a bearing for a certain waypoint by passing an empty value for an array, e.g. `[30,20],[],[40,20]`. # noqa: E501 - :return: The bearings of this DirectionsService. # noqa: E501 + :return: The bearings of this DirectionsServiceBody. # noqa: E501 :rtype: list[list[float]] """ return self._bearings @bearings.setter def bearings(self, bearings): - """Sets the bearings of this DirectionsService. + """Sets the bearings of this DirectionsServiceBody. Specifies a list of pairs (bearings and deviations) to filter the segments of the road network a waypoint can snap to. \"For example `bearings=[[45,10],[120,20]]`. \"Each pair is a comma-separated list that can consist of one or two float values, where the first value is the bearing and the second one is the allowed deviation from the bearing. \"The bearing can take values between `0` and `360` clockwise from true north. If the deviation is not set, then the default value of `100` degrees is used. \"The number of pairs must correspond to the number of waypoints. \"The number of bearings corresponds to the length of waypoints-1 or waypoints. If the bearing information for the last waypoint is given, then this will control the sector from which the destination waypoint may be reached. \"You can skip a bearing for a certain waypoint by passing an empty value for an array, e.g. `[30,20],[],[40,20]`. # noqa: E501 - :param bearings: The bearings of this DirectionsService. # noqa: E501 + :param bearings: The bearings of this DirectionsServiceBody. # noqa: E501 :type: list[list[float]] """ @@ -247,22 +247,22 @@ def bearings(self, bearings): @property def continue_straight(self): - """Gets the continue_straight of this DirectionsService. # noqa: E501 + """Gets the continue_straight of this DirectionsServiceBody. # noqa: E501 Forces the route to keep going straight at waypoints restricting uturns there even if it would be faster. # noqa: E501 - :return: The continue_straight of this DirectionsService. # noqa: E501 + :return: The continue_straight of this DirectionsServiceBody. # noqa: E501 :rtype: bool """ return self._continue_straight @continue_straight.setter def continue_straight(self, continue_straight): - """Sets the continue_straight of this DirectionsService. + """Sets the continue_straight of this DirectionsServiceBody. Forces the route to keep going straight at waypoints restricting uturns there even if it would be faster. # noqa: E501 - :param continue_straight: The continue_straight of this DirectionsService. # noqa: E501 + :param continue_straight: The continue_straight of this DirectionsServiceBody. # noqa: E501 :type: bool """ @@ -270,22 +270,22 @@ def continue_straight(self, continue_straight): @property def coordinates(self): - """Gets the coordinates of this DirectionsService. # noqa: E501 + """Gets the coordinates of this DirectionsServiceBody. # noqa: E501 The waypoints to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 - :return: The coordinates of this DirectionsService. # noqa: E501 + :return: The coordinates of this DirectionsServiceBody. # noqa: E501 :rtype: list[list[float]] """ return self._coordinates @coordinates.setter def coordinates(self, coordinates): - """Sets the coordinates of this DirectionsService. + """Sets the coordinates of this DirectionsServiceBody. The waypoints to use for the route as an array of `longitude/latitude` pairs in WGS 84 (EPSG:4326) # noqa: E501 - :param coordinates: The coordinates of this DirectionsService. # noqa: E501 + :param coordinates: The coordinates of this DirectionsServiceBody. # noqa: E501 :type: list[list[float]] """ if coordinates is None: @@ -295,22 +295,22 @@ def coordinates(self, coordinates): @property def elevation(self): - """Gets the elevation of this DirectionsService. # noqa: E501 + """Gets the elevation of this DirectionsServiceBody. # noqa: E501 Specifies whether to return elevation values for points. Please note that elevation also gets encoded for json response encoded polyline. # noqa: E501 - :return: The elevation of this DirectionsService. # noqa: E501 + :return: The elevation of this DirectionsServiceBody. # noqa: E501 :rtype: bool """ return self._elevation @elevation.setter def elevation(self, elevation): - """Sets the elevation of this DirectionsService. + """Sets the elevation of this DirectionsServiceBody. Specifies whether to return elevation values for points. Please note that elevation also gets encoded for json response encoded polyline. # noqa: E501 - :param elevation: The elevation of this DirectionsService. # noqa: E501 + :param elevation: The elevation of this DirectionsServiceBody. # noqa: E501 :type: bool """ @@ -318,22 +318,22 @@ def elevation(self, elevation): @property def extra_info(self): - """Gets the extra_info of this DirectionsService. # noqa: E501 + """Gets the extra_info of this DirectionsServiceBody. # noqa: E501 The extra info items to include in the response # noqa: E501 - :return: The extra_info of this DirectionsService. # noqa: E501 + :return: The extra_info of this DirectionsServiceBody. # noqa: E501 :rtype: list[str] """ return self._extra_info @extra_info.setter def extra_info(self, extra_info): - """Sets the extra_info of this DirectionsService. + """Sets the extra_info of this DirectionsServiceBody. The extra info items to include in the response # noqa: E501 - :param extra_info: The extra_info of this DirectionsService. # noqa: E501 + :param extra_info: The extra_info of this DirectionsServiceBody. # noqa: E501 :type: list[str] """ allowed_values = ["steepness", "suitability", "surface", "waycategory", "waytype", "tollways", "traildifficulty", "osmid", "roadaccessrestrictions", "countryinfo", "green", "noise", "csv", "shadow"] # noqa: E501 @@ -348,22 +348,22 @@ def extra_info(self, extra_info): @property def geometry(self): - """Gets the geometry of this DirectionsService. # noqa: E501 + """Gets the geometry of this DirectionsServiceBody. # noqa: E501 Specifies whether to return geometry. # noqa: E501 - :return: The geometry of this DirectionsService. # noqa: E501 + :return: The geometry of this DirectionsServiceBody. # noqa: E501 :rtype: bool """ return self._geometry @geometry.setter def geometry(self, geometry): - """Sets the geometry of this DirectionsService. + """Sets the geometry of this DirectionsServiceBody. Specifies whether to return geometry. # noqa: E501 - :param geometry: The geometry of this DirectionsService. # noqa: E501 + :param geometry: The geometry of this DirectionsServiceBody. # noqa: E501 :type: bool """ @@ -371,22 +371,22 @@ def geometry(self, geometry): @property def geometry_simplify(self): - """Gets the geometry_simplify of this DirectionsService. # noqa: E501 + """Gets the geometry_simplify of this DirectionsServiceBody. # noqa: E501 Specifies whether to simplify the geometry. Simplify geometry cannot be applied to routes with more than **one segment** and when `extra_info` is required. # noqa: E501 - :return: The geometry_simplify of this DirectionsService. # noqa: E501 + :return: The geometry_simplify of this DirectionsServiceBody. # noqa: E501 :rtype: bool """ return self._geometry_simplify @geometry_simplify.setter def geometry_simplify(self, geometry_simplify): - """Sets the geometry_simplify of this DirectionsService. + """Sets the geometry_simplify of this DirectionsServiceBody. Specifies whether to simplify the geometry. Simplify geometry cannot be applied to routes with more than **one segment** and when `extra_info` is required. # noqa: E501 - :param geometry_simplify: The geometry_simplify of this DirectionsService. # noqa: E501 + :param geometry_simplify: The geometry_simplify of this DirectionsServiceBody. # noqa: E501 :type: bool """ @@ -394,22 +394,22 @@ def geometry_simplify(self, geometry_simplify): @property def id(self): - """Gets the id of this DirectionsService. # noqa: E501 + """Gets the id of this DirectionsServiceBody. # noqa: E501 Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - :return: The id of this DirectionsService. # noqa: E501 + :return: The id of this DirectionsServiceBody. # noqa: E501 :rtype: str """ return self._id @id.setter def id(self, id): - """Sets the id of this DirectionsService. + """Sets the id of this DirectionsServiceBody. Arbitrary identification string of the request reflected in the meta information. # noqa: E501 - :param id: The id of this DirectionsService. # noqa: E501 + :param id: The id of this DirectionsServiceBody. # noqa: E501 :type: str """ @@ -417,22 +417,22 @@ def id(self, id): @property def ignore_transfers(self): - """Gets the ignore_transfers of this DirectionsService. # noqa: E501 + """Gets the ignore_transfers of this DirectionsServiceBody. # noqa: E501 Specifies if transfers as criterion should be ignored. # noqa: E501 - :return: The ignore_transfers of this DirectionsService. # noqa: E501 + :return: The ignore_transfers of this DirectionsServiceBody. # noqa: E501 :rtype: bool """ return self._ignore_transfers @ignore_transfers.setter def ignore_transfers(self, ignore_transfers): - """Sets the ignore_transfers of this DirectionsService. + """Sets the ignore_transfers of this DirectionsServiceBody. Specifies if transfers as criterion should be ignored. # noqa: E501 - :param ignore_transfers: The ignore_transfers of this DirectionsService. # noqa: E501 + :param ignore_transfers: The ignore_transfers of this DirectionsServiceBody. # noqa: E501 :type: bool """ @@ -440,22 +440,22 @@ def ignore_transfers(self, ignore_transfers): @property def instructions(self): - """Gets the instructions of this DirectionsService. # noqa: E501 + """Gets the instructions of this DirectionsServiceBody. # noqa: E501 Specifies whether to return instructions. # noqa: E501 - :return: The instructions of this DirectionsService. # noqa: E501 + :return: The instructions of this DirectionsServiceBody. # noqa: E501 :rtype: bool """ return self._instructions @instructions.setter def instructions(self, instructions): - """Sets the instructions of this DirectionsService. + """Sets the instructions of this DirectionsServiceBody. Specifies whether to return instructions. # noqa: E501 - :param instructions: The instructions of this DirectionsService. # noqa: E501 + :param instructions: The instructions of this DirectionsServiceBody. # noqa: E501 :type: bool """ @@ -463,22 +463,22 @@ def instructions(self, instructions): @property def instructions_format(self): - """Gets the instructions_format of this DirectionsService. # noqa: E501 + """Gets the instructions_format of this DirectionsServiceBody. # noqa: E501 Select html for more verbose instructions. # noqa: E501 - :return: The instructions_format of this DirectionsService. # noqa: E501 + :return: The instructions_format of this DirectionsServiceBody. # noqa: E501 :rtype: str """ return self._instructions_format @instructions_format.setter def instructions_format(self, instructions_format): - """Sets the instructions_format of this DirectionsService. + """Sets the instructions_format of this DirectionsServiceBody. Select html for more verbose instructions. # noqa: E501 - :param instructions_format: The instructions_format of this DirectionsService. # noqa: E501 + :param instructions_format: The instructions_format of this DirectionsServiceBody. # noqa: E501 :type: str """ allowed_values = ["html", "text"] # noqa: E501 @@ -492,22 +492,22 @@ def instructions_format(self, instructions_format): @property def language(self): - """Gets the language of this DirectionsService. # noqa: E501 + """Gets the language of this DirectionsServiceBody. # noqa: E501 Language for the route instructions. # noqa: E501 - :return: The language of this DirectionsService. # noqa: E501 + :return: The language of this DirectionsServiceBody. # noqa: E501 :rtype: str """ return self._language @language.setter def language(self, language): - """Sets the language of this DirectionsService. + """Sets the language of this DirectionsServiceBody. Language for the route instructions. # noqa: E501 - :param language: The language of this DirectionsService. # noqa: E501 + :param language: The language of this DirectionsServiceBody. # noqa: E501 :type: str """ allowed_values = ["cs", "cs-cz", "de", "de-de", "en", "en-us", "eo", "eo-eo", "es", "es-es", "fr", "fr-fr", "gr", "gr-gr", "he", "he-il", "hu", "hu-hu", "id", "id-id", "it", "it-it", "ja", "ja-jp", "ne", "ne-np", "nl", "nl-nl", "nb", "nb-no", "pl", "pl-pl", "pt", "pt-pt", "ro", "ro-ro", "ru", "ru-ru", "tr", "tr-tr", "zh", "zh-cn"] # noqa: E501 @@ -521,22 +521,22 @@ def language(self, language): @property def maneuvers(self): - """Gets the maneuvers of this DirectionsService. # noqa: E501 + """Gets the maneuvers of this DirectionsServiceBody. # noqa: E501 Specifies whether the maneuver object is included into the step object or not. # noqa: E501 - :return: The maneuvers of this DirectionsService. # noqa: E501 + :return: The maneuvers of this DirectionsServiceBody. # noqa: E501 :rtype: bool """ return self._maneuvers @maneuvers.setter def maneuvers(self, maneuvers): - """Sets the maneuvers of this DirectionsService. + """Sets the maneuvers of this DirectionsServiceBody. Specifies whether the maneuver object is included into the step object or not. # noqa: E501 - :param maneuvers: The maneuvers of this DirectionsService. # noqa: E501 + :param maneuvers: The maneuvers of this DirectionsServiceBody. # noqa: E501 :type: bool """ @@ -544,22 +544,22 @@ def maneuvers(self, maneuvers): @property def maximum_speed(self): - """Gets the maximum_speed of this DirectionsService. # noqa: E501 + """Gets the maximum_speed of this DirectionsServiceBody. # noqa: E501 The maximum speed specified by user. # noqa: E501 - :return: The maximum_speed of this DirectionsService. # noqa: E501 + :return: The maximum_speed of this DirectionsServiceBody. # noqa: E501 :rtype: float """ return self._maximum_speed @maximum_speed.setter def maximum_speed(self, maximum_speed): - """Sets the maximum_speed of this DirectionsService. + """Sets the maximum_speed of this DirectionsServiceBody. The maximum speed specified by user. # noqa: E501 - :param maximum_speed: The maximum_speed of this DirectionsService. # noqa: E501 + :param maximum_speed: The maximum_speed of this DirectionsServiceBody. # noqa: E501 :type: float """ @@ -567,20 +567,20 @@ def maximum_speed(self, maximum_speed): @property def options(self): - """Gets the options of this DirectionsService. # noqa: E501 + """Gets the options of this DirectionsServiceBody. # noqa: E501 - :return: The options of this DirectionsService. # noqa: E501 + :return: The options of this DirectionsServiceBody. # noqa: E501 :rtype: RouteOptions """ return self._options @options.setter def options(self, options): - """Sets the options of this DirectionsService. + """Sets the options of this DirectionsServiceBody. - :param options: The options of this DirectionsService. # noqa: E501 + :param options: The options of this DirectionsServiceBody. # noqa: E501 :type: RouteOptions """ @@ -588,22 +588,22 @@ def options(self, options): @property def preference(self): - """Gets the preference of this DirectionsService. # noqa: E501 + """Gets the preference of this DirectionsServiceBody. # noqa: E501 Specifies the route preference # noqa: E501 - :return: The preference of this DirectionsService. # noqa: E501 + :return: The preference of this DirectionsServiceBody. # noqa: E501 :rtype: str """ return self._preference @preference.setter def preference(self, preference): - """Sets the preference of this DirectionsService. + """Sets the preference of this DirectionsServiceBody. Specifies the route preference # noqa: E501 - :param preference: The preference of this DirectionsService. # noqa: E501 + :param preference: The preference of this DirectionsServiceBody. # noqa: E501 :type: str """ allowed_values = ["fastest", "shortest", "recommended"] # noqa: E501 @@ -617,22 +617,22 @@ def preference(self, preference): @property def radiuses(self): - """Gets the radiuses of this DirectionsService. # noqa: E501 + """Gets the radiuses of this DirectionsServiceBody. # noqa: E501 A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. # noqa: E501 - :return: The radiuses of this DirectionsService. # noqa: E501 + :return: The radiuses of this DirectionsServiceBody. # noqa: E501 :rtype: list[float] """ return self._radiuses @radiuses.setter def radiuses(self, radiuses): - """Sets the radiuses of this DirectionsService. + """Sets the radiuses of this DirectionsServiceBody. A list of maximum distances (measured in metres) that limit the search of nearby road segments to every given waypoint. The values must be greater than 0, the value of -1 specifies using the maximum possible search radius. The number of radiuses correspond to the number of waypoints. If only a single value is given, it will be applied to all waypoints. # noqa: E501 - :param radiuses: The radiuses of this DirectionsService. # noqa: E501 + :param radiuses: The radiuses of this DirectionsServiceBody. # noqa: E501 :type: list[float] """ @@ -640,22 +640,22 @@ def radiuses(self, radiuses): @property def roundabout_exits(self): - """Gets the roundabout_exits of this DirectionsService. # noqa: E501 + """Gets the roundabout_exits of this DirectionsServiceBody. # noqa: E501 Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. # noqa: E501 - :return: The roundabout_exits of this DirectionsService. # noqa: E501 + :return: The roundabout_exits of this DirectionsServiceBody. # noqa: E501 :rtype: bool """ return self._roundabout_exits @roundabout_exits.setter def roundabout_exits(self, roundabout_exits): - """Sets the roundabout_exits of this DirectionsService. + """Sets the roundabout_exits of this DirectionsServiceBody. Provides bearings of the entrance and all passed roundabout exits. Adds the `exit_bearings` array to the step object in the response. # noqa: E501 - :param roundabout_exits: The roundabout_exits of this DirectionsService. # noqa: E501 + :param roundabout_exits: The roundabout_exits of this DirectionsServiceBody. # noqa: E501 :type: bool """ @@ -663,22 +663,22 @@ def roundabout_exits(self, roundabout_exits): @property def schedule(self): - """Gets the schedule of this DirectionsService. # noqa: E501 + """Gets the schedule of this DirectionsServiceBody. # noqa: E501 If true, return a public transport schedule starting at for the next minutes. # noqa: E501 - :return: The schedule of this DirectionsService. # noqa: E501 + :return: The schedule of this DirectionsServiceBody. # noqa: E501 :rtype: bool """ return self._schedule @schedule.setter def schedule(self, schedule): - """Sets the schedule of this DirectionsService. + """Sets the schedule of this DirectionsServiceBody. If true, return a public transport schedule starting at for the next minutes. # noqa: E501 - :param schedule: The schedule of this DirectionsService. # noqa: E501 + :param schedule: The schedule of this DirectionsServiceBody. # noqa: E501 :type: bool """ @@ -686,22 +686,22 @@ def schedule(self, schedule): @property def schedule_duration(self): - """Gets the schedule_duration of this DirectionsService. # noqa: E501 + """Gets the schedule_duration of this DirectionsServiceBody. # noqa: E501 The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 - :return: The schedule_duration of this DirectionsService. # noqa: E501 + :return: The schedule_duration of this DirectionsServiceBody. # noqa: E501 :rtype: str """ return self._schedule_duration @schedule_duration.setter def schedule_duration(self, schedule_duration): - """Sets the schedule_duration of this DirectionsService. + """Sets the schedule_duration of this DirectionsServiceBody. The time window when requesting a public transport schedule. The format is passed as ISO 8601 duration: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 - :param schedule_duration: The schedule_duration of this DirectionsService. # noqa: E501 + :param schedule_duration: The schedule_duration of this DirectionsServiceBody. # noqa: E501 :type: str """ @@ -709,22 +709,22 @@ def schedule_duration(self, schedule_duration): @property def schedule_rows(self): - """Gets the schedule_rows of this DirectionsService. # noqa: E501 + """Gets the schedule_rows of this DirectionsServiceBody. # noqa: E501 The maximum amount of entries that should be returned when requesting a schedule. # noqa: E501 - :return: The schedule_rows of this DirectionsService. # noqa: E501 + :return: The schedule_rows of this DirectionsServiceBody. # noqa: E501 :rtype: int """ return self._schedule_rows @schedule_rows.setter def schedule_rows(self, schedule_rows): - """Sets the schedule_rows of this DirectionsService. + """Sets the schedule_rows of this DirectionsServiceBody. The maximum amount of entries that should be returned when requesting a schedule. # noqa: E501 - :param schedule_rows: The schedule_rows of this DirectionsService. # noqa: E501 + :param schedule_rows: The schedule_rows of this DirectionsServiceBody. # noqa: E501 :type: int """ @@ -732,22 +732,22 @@ def schedule_rows(self, schedule_rows): @property def skip_segments(self): - """Gets the skip_segments of this DirectionsService. # noqa: E501 + """Gets the skip_segments of this DirectionsServiceBody. # noqa: E501 Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. # noqa: E501 - :return: The skip_segments of this DirectionsService. # noqa: E501 + :return: The skip_segments of this DirectionsServiceBody. # noqa: E501 :rtype: list[int] """ return self._skip_segments @skip_segments.setter def skip_segments(self, skip_segments): - """Sets the skip_segments of this DirectionsService. + """Sets the skip_segments of this DirectionsServiceBody. Specifies the segments that should be skipped in the route calculation. A segment is the connection between two given coordinates and the counting starts with 1 for the connection between the first and second coordinate. # noqa: E501 - :param skip_segments: The skip_segments of this DirectionsService. # noqa: E501 + :param skip_segments: The skip_segments of this DirectionsServiceBody. # noqa: E501 :type: list[int] """ @@ -755,22 +755,22 @@ def skip_segments(self, skip_segments): @property def suppress_warnings(self): - """Gets the suppress_warnings of this DirectionsService. # noqa: E501 + """Gets the suppress_warnings of this DirectionsServiceBody. # noqa: E501 Suppress warning messages in the response # noqa: E501 - :return: The suppress_warnings of this DirectionsService. # noqa: E501 + :return: The suppress_warnings of this DirectionsServiceBody. # noqa: E501 :rtype: bool """ return self._suppress_warnings @suppress_warnings.setter def suppress_warnings(self, suppress_warnings): - """Sets the suppress_warnings of this DirectionsService. + """Sets the suppress_warnings of this DirectionsServiceBody. Suppress warning messages in the response # noqa: E501 - :param suppress_warnings: The suppress_warnings of this DirectionsService. # noqa: E501 + :param suppress_warnings: The suppress_warnings of this DirectionsServiceBody. # noqa: E501 :type: bool """ @@ -778,22 +778,22 @@ def suppress_warnings(self, suppress_warnings): @property def units(self): - """Gets the units of this DirectionsService. # noqa: E501 + """Gets the units of this DirectionsServiceBody. # noqa: E501 Specifies the distance unit. # noqa: E501 - :return: The units of this DirectionsService. # noqa: E501 + :return: The units of this DirectionsServiceBody. # noqa: E501 :rtype: str """ return self._units @units.setter def units(self, units): - """Sets the units of this DirectionsService. + """Sets the units of this DirectionsServiceBody. Specifies the distance unit. # noqa: E501 - :param units: The units of this DirectionsService. # noqa: E501 + :param units: The units of this DirectionsServiceBody. # noqa: E501 :type: str """ allowed_values = ["m", "km", "mi"] # noqa: E501 @@ -807,22 +807,22 @@ def units(self, units): @property def walking_time(self): - """Gets the walking_time of this DirectionsService. # noqa: E501 + """Gets the walking_time of this DirectionsServiceBody. # noqa: E501 Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 - :return: The walking_time of this DirectionsService. # noqa: E501 + :return: The walking_time of this DirectionsServiceBody. # noqa: E501 :rtype: str """ return self._walking_time @walking_time.setter def walking_time(self, walking_time): - """Sets the walking_time of this DirectionsService. + """Sets the walking_time of this DirectionsServiceBody. Maximum duration for walking access and egress of public transport. The value is passed in ISO 8601 duration format: https://en.wikipedia.org/wiki/ISO_8601#Durations # noqa: E501 - :param walking_time: The walking_time of this DirectionsService. # noqa: E501 + :param walking_time: The walking_time of this DirectionsServiceBody. # noqa: E501 :type: str """ @@ -849,7 +849,7 @@ def to_dict(self): )) else: result[attr] = value - if issubclass(DirectionsService, dict): + if issubclass(DirectionsServiceBody, dict): for key, value in self.items(): result[key] = value @@ -865,7 +865,7 @@ def __repr__(self): def __eq__(self, other): """Returns true if both objects are equal""" - if not isinstance(other, DirectionsService): + if not isinstance(other, DirectionsServiceBody): return False return self.__dict__ == other.__dict__ diff --git a/pyproject.toml b/pyproject.toml index fec6eaad..afdbdd1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "openrouteservice" -version = "7.1.1.post1" +version = "7.1.1.post2" authors = ["HeiGIT gGmbH "] description = "Python client for requests to openrouteservice API services" readme = "README.md" diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..648e0fb1 --- /dev/null +++ b/setup.py @@ -0,0 +1,39 @@ +# coding: utf-8 + +""" + Openrouteservice + + This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + + OpenAPI spec version: 7.1.1 + Contact: support@smartmobility.heigit.org + Generated by: https://github.com/swagger-api/swagger-codegen.git +""" + +from setuptools import setup, find_packages # noqa: H301 + +NAME = "openrouteservice" +VERSION = "7.1.1.post2" +# To install the library, run the following +# +# python setup.py install +# +# prerequisite: setuptools +# http://pypi.python.org/pypi/setuptools + +REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"] + +setup( + name=NAME, + version=VERSION, + description="Openrouteservice", + author_email="support@smartmobility.heigit.org", + url="https://openrouteservice.org", + keywords=["routing","accessibility","router","OSM","ORS","openrouteservice","openstreetmap","isochrone","POI","elevation","DEM","swagger"], + install_requires=REQUIRES, + packages=find_packages(), + include_package_data=True, + long_description="""\ + Python client for requests to openrouteservice API services + """ +) diff --git a/test/test_directions_service_api.py b/test/test_directions_service_api.py index e781f65b..4b662cc0 100644 --- a/test/test_directions_service_api.py +++ b/test/test_directions_service_api.py @@ -36,7 +36,7 @@ def test_get_geo_json_route(self): Directions Service GeoJSON # noqa: E501 """ - body = openrouteservice.DirectionsService( + body = openrouteservice.DirectionsServiceBody( coordinates=[[8.681495,49.41461],[8.686507,49.41943],[8.687872,49.420318]] ) profile = 'driving-car' @@ -61,7 +61,7 @@ def test_get_json_route(self): Directions Service JSON # noqa: E501 """ - body = openrouteservice.DirectionsService1( + body = openrouteservice.DirectionsServiceBody( coordinates=[[8.681495,49.41461],[8.686507,49.41943],[8.687872,49.420318]] ) profile = 'driving-car' From d5a7be0cbd9789c8dda7b64b9572478f8dd41eab Mon Sep 17 00:00:00 2001 From: Jakob Stolze Date: Tue, 2 Apr 2024 14:48:19 +0200 Subject: [PATCH 28/38] test: deploy on testpypi on every commit --- .github/workflows/ci-test-pypi.yml | 68 ------------------------------ 1 file changed, 68 deletions(-) delete mode 100644 .github/workflows/ci-test-pypi.yml diff --git a/.github/workflows/ci-test-pypi.yml b/.github/workflows/ci-test-pypi.yml deleted file mode 100644 index c4eceede..00000000 --- a/.github/workflows/ci-test-pypi.yml +++ /dev/null @@ -1,68 +0,0 @@ -name: Test and deploy to TestPyPI | generated-client branch - -on: - push: - branches: - - generated-client - -jobs: - pytest: - strategy: - fail-fast: false - matrix: - config: - - python-version: '3.11' - tox: py311 - poetry-version: [ "1.8.2" ] - os: [ ubuntu-22.04, macos-latest, windows-latest ] - runs-on: ${{ matrix.os }} - name: Python ${{ matrix.config.python-version }} / Poetry ${{ matrix.poetry-version }} / ${{ matrix.os }} - defaults: - run: - shell: bash - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Install poetry - run: pipx install poetry - - name: Install Python ${{ matrix.config.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.config.python-version }} - cache: 'poetry' - - name: Install packages - run: poetry install --no-root - - name: Load cached tox - uses: actions/cache@v3 - with: - path: .tox - key: tox-${{ matrix.os }}-poetry-${{ matrix.poetry-version }}-python-${{ matrix.config.python-version }}-${{ hashFiles('**/poetry.lock') }} - - name: Setup API Key - env: - ORS_API_KEY: ${{ secrets.ORS_API_KEY }} - run: printf "[ORS]\napiKey = $ORS_API_KEY\n" > tests-config.ini - - name: Run tox - run: | - poetry run tox -e pytest-${{ matrix.config.tox }} - - build-and-publish: - name: Build and publish Python distributions 📦 to TestPyPI - runs-on: ubuntu-20.04 - needs: pytest - steps: - - uses: actions/checkout@v4 - - name: Install poetry - run: pipx install poetry - - name: Install Python ${{ matrix.config.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.config.python-version }} - cache: 'poetry' - - name: Publish distribution 📦 with test.pypi.org - if: startsWith(github.ref, 'refs/tags/v') - run: | - poetry config repositories.testpypi https://test.pypi.org/legacy/ - poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_API_TOKEN }} - poetry build - poetry publish -r testpypi From c01eb66910eb0f625bf3cec2b10329ae0d40a815 Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Fri, 5 Apr 2024 09:22:47 +0000 Subject: [PATCH 29/38] Generated update. Please review before merging. --- requirements.txt | 5 +++++ test-requirements.txt | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 requirements.txt create mode 100644 test-requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..bafdc075 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +certifi >= 14.05.14 +six >= 1.10 +python_dateutil >= 2.5.3 +setuptools >= 21.0.0 +urllib3 >= 1.15.1 diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 00000000..d88e2832 --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,5 @@ +coverage>=4.0.3 +nose-py3>=1.6.2 +pluggy>=0.3.1 +py>=1.4.31 +randomize>=0.13 From d52eecfc7ad12a5526fd055e22d62f7e6e14cd87 Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Fri, 5 Apr 2024 09:28:26 +0000 Subject: [PATCH 30/38] Generated update. Please review before merging. --- requirements.txt | 5 ----- test-requirements.txt | 5 ----- 2 files changed, 10 deletions(-) delete mode 100644 requirements.txt delete mode 100644 test-requirements.txt diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index bafdc075..00000000 --- a/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -certifi >= 14.05.14 -six >= 1.10 -python_dateutil >= 2.5.3 -setuptools >= 21.0.0 -urllib3 >= 1.15.1 diff --git a/test-requirements.txt b/test-requirements.txt deleted file mode 100644 index d88e2832..00000000 --- a/test-requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -coverage>=4.0.3 -nose-py3>=1.6.2 -pluggy>=0.3.1 -py>=1.4.31 -randomize>=0.13 From d912f543cf5b6bffa1b7f15cf743003ecbd2f48d Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Fri, 5 Apr 2024 09:47:45 +0000 Subject: [PATCH 31/38] Generated update. Please review before merging. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 644d7848..72a9324d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ By using this library, you agree to the ORS [terms and conditions](https://openr ## Requirements. -Python 2.7 and 3.4+ +Python 3.8+ ## Installation & Usage ### pip install @@ -22,7 +22,7 @@ Python 2.7 and 3.4+ If the python package is hosted on Github, you can install directly from Github ```sh -pip install ors-py +pip install openrouteservice ``` Then import the package: @@ -49,10 +49,10 @@ Please follow the [installation procedure](#installation--usage) before running ### Examples These examples show common usages of this library. -- [Avoid construction sites dynamically](examples/Avoid_ConstructionSites.ipynb) -- [Dieselgate Routing](examples/Dieselgate_Routing.ipynb) -- [Route optimization of pub crawl](examples/ortools_pubcrawl.ipynb) -- [Routing optimization in humanitarian context](examples/Routing_Optimization_Idai.ipynb) +- [Avoid construction sites dynamically](https://openrouteservice.org/example-avoid-obstacles-while-routing/) +- [Dieselgate Routing](https://openrouteservice.org/dieselgate-avoid-berlin-banned-diesel-streets/) +- [Route optimization of pub crawl](https://openrouteservice.org/example-optimize-pub-crawl-with-ors/) +- [Routing optimization in humanitarian context](https://openrouteservice.org/disaster-optimization/) ### Basic example ```python From f3f2c9c3fa7f58b7d4b9525b00e448da76cbf675 Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Mon, 8 Apr 2024 13:09:10 +0000 Subject: [PATCH 32/38] Generated update. Please review before merging. --- README.md | 2 +- openrouteservice/api_client.py | 2 +- openrouteservice/configuration.py | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 72a9324d..29d419f5 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ The openrouteservice library gives you painless access to the [openrouteservice] | API Version | Package version | Build package | | -------------- | ------------------ | ------------------ | -| 7.1.1 | 7.1.1.post2 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | +| 7.1.1 | 7.1.1 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | For further details, please visit: - our [homepage](https://openrouteservice.org) diff --git a/openrouteservice/api_client.py b/openrouteservice/api_client.py index a9aff6b3..1af6d6fa 100644 --- a/openrouteservice/api_client.py +++ b/openrouteservice/api_client.py @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/7.1.1.post2/python' + self.user_agent = 'Swagger-Codegen/7.1.1/python' def __del__(self): self.pool.close() diff --git a/openrouteservice/configuration.py b/openrouteservice/configuration.py index cd7000e6..4ff470ea 100644 --- a/openrouteservice/configuration.py +++ b/openrouteservice/configuration.py @@ -247,5 +247,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 7.1.1\n"\ - "SDK Package Version: 7.1.1.post2".\ + "SDK Package Version: 7.1.1".\ format(env=sys.platform, pyversion=sys.version) diff --git a/pyproject.toml b/pyproject.toml index afdbdd1e..375eeb36 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "openrouteservice" -version = "7.1.1.post2" +version = "7.1.1" authors = ["HeiGIT gGmbH "] description = "Python client for requests to openrouteservice API services" readme = "README.md" diff --git a/setup.py b/setup.py index 648e0fb1..e07bf922 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "openrouteservice" -VERSION = "7.1.1.post2" +VERSION = "7.1.1" # To install the library, run the following # # python setup.py install From 67b4a534cc0c521b53026d8c1db5c3109ded4434 Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Wed, 10 Apr 2024 10:37:45 +0000 Subject: [PATCH 33/38] Generated update. Please review before merging. --- .gitignore | 4 ++++ README.md | 2 +- docs/RouteOptions.md | 2 +- openrouteservice/__init__.py | 4 ++-- openrouteservice/api/directions_service_api.py | 4 ++-- openrouteservice/api/elevation_api.py | 4 ++-- openrouteservice/api/geocode_api.py | 4 ++-- openrouteservice/api/isochrones_service_api.py | 4 ++-- openrouteservice/api/matrix_service_api.py | 4 ++-- openrouteservice/api/optimization_api.py | 4 ++-- openrouteservice/api/pois_api.py | 4 ++-- openrouteservice/api/snapping_service_api.py | 4 ++-- openrouteservice/api_client.py | 6 +++--- openrouteservice/configuration.py | 8 ++++---- openrouteservice/models/__init__.py | 4 ++-- openrouteservice/models/alternative_routes.py | 4 ++-- openrouteservice/models/directions_service_body.py | 4 ++-- openrouteservice/models/elevation_line_body.py | 4 ++-- openrouteservice/models/elevation_point_body.py | 4 ++-- openrouteservice/models/isochrones_profile_body.py | 4 ++-- openrouteservice/models/json_response.py | 4 ++-- openrouteservice/models/matrix_profile_body.py | 4 ++-- openrouteservice/models/openpoiservice_poi_request.py | 4 ++-- openrouteservice/models/optimization_body.py | 4 ++-- openrouteservice/models/optimization_breaks.py | 4 ++-- openrouteservice/models/optimization_costs.py | 4 ++-- openrouteservice/models/optimization_jobs.py | 4 ++-- openrouteservice/models/optimization_matrices.py | 4 ++-- .../models/optimization_matrices_cyclingelectric.py | 4 ++-- openrouteservice/models/optimization_options.py | 4 ++-- openrouteservice/models/optimization_steps.py | 4 ++-- openrouteservice/models/optimization_vehicles.py | 4 ++-- openrouteservice/models/pois_filters.py | 4 ++-- openrouteservice/models/pois_geometry.py | 4 ++-- openrouteservice/models/profile_geojson_body.py | 4 ++-- openrouteservice/models/profile_json_body.py | 4 ++-- openrouteservice/models/profile_parameters.py | 4 ++-- .../models/profile_parameters_restrictions.py | 4 ++-- openrouteservice/models/profile_weightings.py | 4 ++-- openrouteservice/models/round_trip_route_options.py | 4 ++-- openrouteservice/models/route_options.py | 8 ++++---- openrouteservice/models/route_options_avoid_polygons.py | 4 ++-- openrouteservice/models/snap_profile_body.py | 4 ++-- openrouteservice/rest.py | 4 ++-- pyproject.toml | 2 +- setup.py | 6 +++--- 46 files changed, 97 insertions(+), 93 deletions(-) diff --git a/.gitignore b/.gitignore index 6c2747b3..b27e6160 100644 --- a/.gitignore +++ b/.gitignore @@ -72,6 +72,10 @@ openrouteservice-py/tests-config.ini # node_modules openrouteservice-js/node_modules +node_modules/ + +# Vitepress +.vitepress/cache # Generated and used during building client_version.txt diff --git a/README.md b/README.md index 29d419f5..80a8a0cd 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ The openrouteservice library gives you painless access to the [openrouteservice] | API Version | Package version | Build package | | -------------- | ------------------ | ------------------ | -| 7.1.1 | 7.1.1 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | +| 8.0.0 | 8.0.0 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | For further details, please visit: - our [homepage](https://openrouteservice.org) diff --git a/docs/RouteOptions.md b/docs/RouteOptions.md index a3a1ea17..aa0dff38 100644 --- a/docs/RouteOptions.md +++ b/docs/RouteOptions.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **avoid_borders** | **str** | Specify which type of border crossing to avoid | [optional] -**avoid_countries** | **list[str]** | List of countries to exclude from matrix with `driving-*` profiles. Can be used together with `'avoid_borders': 'controlled'`. `[ 11, 193 ]` would exclude Austria and Switzerland. List of countries and application examples can be found [here](https://GIScience.github.io/openrouteservice/documentation/routing-options/Country-List.html). Also, ISO standard country codes cna be used in place of the numerical ids, for example, DE or DEU for Germany. | [optional] +**avoid_countries** | **list[str]** | List of countries to exclude from matrix with `driving-*` profiles. Can be used together with `'avoid_borders': 'controlled'`. `[ 11, 193 ]` would exclude Austria and Switzerland. List of countries and application examples can be found [here](https://giscience.github.io/openrouteservice/technical-details/country-list). Also, ISO standard country codes cna be used in place of the numerical ids, for example, DE or DEU for Germany. | [optional] **avoid_features** | **list[str]** | List of features to avoid. | [optional] **avoid_polygons** | [**RouteOptionsAvoidPolygons**](RouteOptionsAvoidPolygons.md) | | [optional] **profile_params** | [**ProfileParameters**](ProfileParameters.md) | | [optional] diff --git a/openrouteservice/__init__.py b/openrouteservice/__init__.py index e3b51622..cca38af9 100644 --- a/openrouteservice/__init__.py +++ b/openrouteservice/__init__.py @@ -5,9 +5,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/directions_service_api.py b/openrouteservice/api/directions_service_api.py index 4a1fc794..e1292071 100644 --- a/openrouteservice/api/directions_service_api.py +++ b/openrouteservice/api/directions_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/elevation_api.py b/openrouteservice/api/elevation_api.py index 6afc06d1..be791937 100644 --- a/openrouteservice/api/elevation_api.py +++ b/openrouteservice/api/elevation_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/geocode_api.py b/openrouteservice/api/geocode_api.py index c03b1b7c..0bfbdad4 100644 --- a/openrouteservice/api/geocode_api.py +++ b/openrouteservice/api/geocode_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/isochrones_service_api.py b/openrouteservice/api/isochrones_service_api.py index 3d54309f..0133cbb4 100644 --- a/openrouteservice/api/isochrones_service_api.py +++ b/openrouteservice/api/isochrones_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/matrix_service_api.py b/openrouteservice/api/matrix_service_api.py index a943a212..4da4e5dc 100644 --- a/openrouteservice/api/matrix_service_api.py +++ b/openrouteservice/api/matrix_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/optimization_api.py b/openrouteservice/api/optimization_api.py index aaf57e42..f5102835 100644 --- a/openrouteservice/api/optimization_api.py +++ b/openrouteservice/api/optimization_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/pois_api.py b/openrouteservice/api/pois_api.py index 1f46ce5a..bb723ab3 100644 --- a/openrouteservice/api/pois_api.py +++ b/openrouteservice/api/pois_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/snapping_service_api.py b/openrouteservice/api/snapping_service_api.py index 32f5f3b6..0d5cf8b2 100644 --- a/openrouteservice/api/snapping_service_api.py +++ b/openrouteservice/api/snapping_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api_client.py b/openrouteservice/api_client.py index 1af6d6fa..7c3f09f7 100644 --- a/openrouteservice/api_client.py +++ b/openrouteservice/api_client.py @@ -2,9 +2,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/7.1.1/python' + self.user_agent = 'Swagger-Codegen/8.0.0/python' def __del__(self): self.pool.close() diff --git a/openrouteservice/configuration.py b/openrouteservice/configuration.py index 4ff470ea..f8034a03 100644 --- a/openrouteservice/configuration.py +++ b/openrouteservice/configuration.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -246,6 +246,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 7.1.1\n"\ - "SDK Package Version: 7.1.1".\ + "Version of the API: 8.0.0\n"\ + "SDK Package Version: 8.0.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/openrouteservice/models/__init__.py b/openrouteservice/models/__init__.py index 5a166f3a..4a37a493 100644 --- a/openrouteservice/models/__init__.py +++ b/openrouteservice/models/__init__.py @@ -4,9 +4,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/alternative_routes.py b/openrouteservice/models/alternative_routes.py index f25e7eb8..93a89fe4 100644 --- a/openrouteservice/models/alternative_routes.py +++ b/openrouteservice/models/alternative_routes.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/directions_service_body.py b/openrouteservice/models/directions_service_body.py index f553d2cd..8c52a3e0 100644 --- a/openrouteservice/models/directions_service_body.py +++ b/openrouteservice/models/directions_service_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/elevation_line_body.py b/openrouteservice/models/elevation_line_body.py index eca62ebd..625ce861 100644 --- a/openrouteservice/models/elevation_line_body.py +++ b/openrouteservice/models/elevation_line_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/elevation_point_body.py b/openrouteservice/models/elevation_point_body.py index 933d13d6..e65f2fa8 100644 --- a/openrouteservice/models/elevation_point_body.py +++ b/openrouteservice/models/elevation_point_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/isochrones_profile_body.py b/openrouteservice/models/isochrones_profile_body.py index d15b22e4..18af4400 100644 --- a/openrouteservice/models/isochrones_profile_body.py +++ b/openrouteservice/models/isochrones_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_response.py b/openrouteservice/models/json_response.py index 3bea3522..ec92ccc9 100644 --- a/openrouteservice/models/json_response.py +++ b/openrouteservice/models/json_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/matrix_profile_body.py b/openrouteservice/models/matrix_profile_body.py index b5719f8f..b859ad3d 100644 --- a/openrouteservice/models/matrix_profile_body.py +++ b/openrouteservice/models/matrix_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/openpoiservice_poi_request.py b/openrouteservice/models/openpoiservice_poi_request.py index cd65d1b5..0d08a2e7 100644 --- a/openrouteservice/models/openpoiservice_poi_request.py +++ b/openrouteservice/models/openpoiservice_poi_request.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_body.py b/openrouteservice/models/optimization_body.py index 6501fd1e..42ff06d2 100644 --- a/openrouteservice/models/optimization_body.py +++ b/openrouteservice/models/optimization_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_breaks.py b/openrouteservice/models/optimization_breaks.py index 07a3b031..607fe8a4 100644 --- a/openrouteservice/models/optimization_breaks.py +++ b/openrouteservice/models/optimization_breaks.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_costs.py b/openrouteservice/models/optimization_costs.py index 55ed5e42..cefe3b72 100644 --- a/openrouteservice/models/optimization_costs.py +++ b/openrouteservice/models/optimization_costs.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_jobs.py b/openrouteservice/models/optimization_jobs.py index 9ecf56dd..44ad4dfa 100644 --- a/openrouteservice/models/optimization_jobs.py +++ b/openrouteservice/models/optimization_jobs.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_matrices.py b/openrouteservice/models/optimization_matrices.py index d7255e64..9b5b22cd 100644 --- a/openrouteservice/models/optimization_matrices.py +++ b/openrouteservice/models/optimization_matrices.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_matrices_cyclingelectric.py b/openrouteservice/models/optimization_matrices_cyclingelectric.py index 69eb0088..9a371884 100644 --- a/openrouteservice/models/optimization_matrices_cyclingelectric.py +++ b/openrouteservice/models/optimization_matrices_cyclingelectric.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_options.py b/openrouteservice/models/optimization_options.py index 4154f264..3979077d 100644 --- a/openrouteservice/models/optimization_options.py +++ b/openrouteservice/models/optimization_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_steps.py b/openrouteservice/models/optimization_steps.py index 9da3d7fa..3b40053a 100644 --- a/openrouteservice/models/optimization_steps.py +++ b/openrouteservice/models/optimization_steps.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_vehicles.py b/openrouteservice/models/optimization_vehicles.py index 4da86f10..e65b810e 100644 --- a/openrouteservice/models/optimization_vehicles.py +++ b/openrouteservice/models/optimization_vehicles.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/pois_filters.py b/openrouteservice/models/pois_filters.py index 9d0d6cd1..a8553059 100644 --- a/openrouteservice/models/pois_filters.py +++ b/openrouteservice/models/pois_filters.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/pois_geometry.py b/openrouteservice/models/pois_geometry.py index 71f01f4b..9b119d9a 100644 --- a/openrouteservice/models/pois_geometry.py +++ b/openrouteservice/models/pois_geometry.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_geojson_body.py b/openrouteservice/models/profile_geojson_body.py index c056540f..f159ee38 100644 --- a/openrouteservice/models/profile_geojson_body.py +++ b/openrouteservice/models/profile_geojson_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_json_body.py b/openrouteservice/models/profile_json_body.py index 605c42a8..ef63d031 100644 --- a/openrouteservice/models/profile_json_body.py +++ b/openrouteservice/models/profile_json_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_parameters.py b/openrouteservice/models/profile_parameters.py index 642a0729..966c8b9f 100644 --- a/openrouteservice/models/profile_parameters.py +++ b/openrouteservice/models/profile_parameters.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_parameters_restrictions.py b/openrouteservice/models/profile_parameters_restrictions.py index a7c0a1dc..7717f06f 100644 --- a/openrouteservice/models/profile_parameters_restrictions.py +++ b/openrouteservice/models/profile_parameters_restrictions.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_weightings.py b/openrouteservice/models/profile_weightings.py index b64fd509..a4182adb 100644 --- a/openrouteservice/models/profile_weightings.py +++ b/openrouteservice/models/profile_weightings.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/round_trip_route_options.py b/openrouteservice/models/round_trip_route_options.py index 5b344ef5..a323b5e9 100644 --- a/openrouteservice/models/round_trip_route_options.py +++ b/openrouteservice/models/round_trip_route_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/route_options.py b/openrouteservice/models/route_options.py index 0db18af6..f600ade6 100644 --- a/openrouteservice/models/route_options.py +++ b/openrouteservice/models/route_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -105,7 +105,7 @@ def avoid_borders(self, avoid_borders): def avoid_countries(self): """Gets the avoid_countries of this RouteOptions. # noqa: E501 - List of countries to exclude from matrix with `driving-*` profiles. Can be used together with `'avoid_borders': 'controlled'`. `[ 11, 193 ]` would exclude Austria and Switzerland. List of countries and application examples can be found [here](https://GIScience.github.io/openrouteservice/documentation/routing-options/Country-List.html). Also, ISO standard country codes cna be used in place of the numerical ids, for example, DE or DEU for Germany. # noqa: E501 + List of countries to exclude from matrix with `driving-*` profiles. Can be used together with `'avoid_borders': 'controlled'`. `[ 11, 193 ]` would exclude Austria and Switzerland. List of countries and application examples can be found [here](https://giscience.github.io/openrouteservice/technical-details/country-list). Also, ISO standard country codes cna be used in place of the numerical ids, for example, DE or DEU for Germany. # noqa: E501 :return: The avoid_countries of this RouteOptions. # noqa: E501 :rtype: list[str] @@ -116,7 +116,7 @@ def avoid_countries(self): def avoid_countries(self, avoid_countries): """Sets the avoid_countries of this RouteOptions. - List of countries to exclude from matrix with `driving-*` profiles. Can be used together with `'avoid_borders': 'controlled'`. `[ 11, 193 ]` would exclude Austria and Switzerland. List of countries and application examples can be found [here](https://GIScience.github.io/openrouteservice/documentation/routing-options/Country-List.html). Also, ISO standard country codes cna be used in place of the numerical ids, for example, DE or DEU for Germany. # noqa: E501 + List of countries to exclude from matrix with `driving-*` profiles. Can be used together with `'avoid_borders': 'controlled'`. `[ 11, 193 ]` would exclude Austria and Switzerland. List of countries and application examples can be found [here](https://giscience.github.io/openrouteservice/technical-details/country-list). Also, ISO standard country codes cna be used in place of the numerical ids, for example, DE or DEU for Germany. # noqa: E501 :param avoid_countries: The avoid_countries of this RouteOptions. # noqa: E501 :type: list[str] diff --git a/openrouteservice/models/route_options_avoid_polygons.py b/openrouteservice/models/route_options_avoid_polygons.py index 63f5bb9f..a0290441 100644 --- a/openrouteservice/models/route_options_avoid_polygons.py +++ b/openrouteservice/models/route_options_avoid_polygons.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/snap_profile_body.py b/openrouteservice/models/snap_profile_body.py index ee0f3d4f..4e0c3826 100644 --- a/openrouteservice/models/snap_profile_body.py +++ b/openrouteservice/models/snap_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/rest.py b/openrouteservice/rest.py index 29aa8d6e..2cac6cdf 100644 --- a/openrouteservice/rest.py +++ b/openrouteservice/rest.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/pyproject.toml b/pyproject.toml index 375eeb36..73320c7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "openrouteservice" -version = "7.1.1" +version = "8.0.0" authors = ["HeiGIT gGmbH "] description = "Python client for requests to openrouteservice API services" readme = "README.md" diff --git a/setup.py b/setup.py index e07bf922..03ada803 100644 --- a/setup.py +++ b/setup.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 7.1.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 7.1.1 + OpenAPI spec version: 8.0.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "openrouteservice" -VERSION = "7.1.1" +VERSION = "8.0.0" # To install the library, run the following # # python setup.py install From 8d52e2659d49b40c894733464a942f2fc17e8d99 Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Wed, 10 Apr 2024 12:02:02 +0000 Subject: [PATCH 34/38] Generated update. Please review before merging. --- docs/ElevationApi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ElevationApi.md b/docs/ElevationApi.md index 7515c32d..df459633 100644 --- a/docs/ElevationApi.md +++ b/docs/ElevationApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description Elevation Line Service -This endpoint can take planar 2D line objects and enrich them with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Polyline * Google's Encoded polyline with coordinate precision 5 or 6 Example: ``` # POST LineString as polyline curl -XPOST https://api.openrouteservice.org/elevation/line -H 'Content-Type: application/json' \\ -H 'Authorization: INSERT_YOUR_KEY -d '{ \"format_in\": \"polyline\", \"format_out\": \"encodedpolyline5\", \"geometry\": [[13.349762, 38.112952], [12.638397, 37.645772]] }' ``` +This endpoint can take planar 2D line objects and enrich them with elevation from a variety of datasets. The input and output formats are: * GeoJSON * Polyline * Google's Encoded polyline with coordinate precision 5 or 6 Example: ``` # POST LineString as polyline curl -XPOST https://api.openrouteservice.org/elevation/line -H 'Content-Type: application/json' \\ -H 'Authorization: INSERT_YOUR_KEY -d '{ \"format_in\": \"polyline\", \"format_out\": \"encodedpolyline5\", \"geometry\": [[13.349762, 38.112952], [12.638397, 37.645772]] }' ``` ### Example ```python From 5f9ddd655a9aea39a05639f79ba95ab672bd7a65 Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Wed, 10 Apr 2024 12:46:18 +0000 Subject: [PATCH 35/38] Generated update. Please review before merging. --- README.md | 7 ++++++- docs/DirectionsServiceApi.md | 19 +++++-------------- docs/ElevationApi.md | 27 ++++++--------------------- docs/GeocodeApi.md | 35 +++++++---------------------------- docs/IsochronesServiceApi.md | 11 ++++------- docs/MatrixServiceApi.md | 11 ++++------- docs/OptimizationApi.md | 11 ++++------- docs/PoisApi.md | 11 ++++------- docs/SnappingServiceApi.md | 27 ++++++--------------------- 9 files changed, 46 insertions(+), 113 deletions(-) diff --git a/README.md b/README.md index 80a8a0cd..71a5d7b0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,9 @@ -# openrouteservice +# openrouteservice-py +> [!IMPORTANT] +> The new version of `openrouteservice-py` is generated using swagger-codegen and is **not compatible** with the old SDK. However the methods of the old client are still available and marked as deprecated in the new SDK during a transition phase. +> +> Please migrate your project to the new SDK to be able to access all new features of the openrouteservice! + The openrouteservice library gives you painless access to the [openrouteservice](https://openrouteservice.org) (ORS) routing API's. This Python package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) using our latest API specifications. | API Version | Package version | Build package | diff --git a/docs/DirectionsServiceApi.md b/docs/DirectionsServiceApi.md index 9ff96796..909a36b5 100644 --- a/docs/DirectionsServiceApi.md +++ b/docs/DirectionsServiceApi.md @@ -1,5 +1,8 @@ # openrouteservice.DirectionsServiceApi +> [!NOTE] +> This documentation is automatically generated. Code examples might not work out of the box as not all required parameters are passed. + All URIs are relative to *https://api.openrouteservice.org* Method | HTTP request | Description @@ -22,14 +25,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.DirectionsServiceApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.DirectionsServiceApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) body = openrouteservice.DirectionsServiceBody() # DirectionsServiceBody | profile = 'profile_example' # str | Specifies the route profile. @@ -78,14 +75,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.DirectionsServiceApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.DirectionsServiceApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) body = openrouteservice.DirectionsServiceBody() # DirectionsServiceBody | profile = 'profile_example' # str | Specifies the route profile. diff --git a/docs/ElevationApi.md b/docs/ElevationApi.md index df459633..cc2ac52a 100644 --- a/docs/ElevationApi.md +++ b/docs/ElevationApi.md @@ -1,5 +1,8 @@ # openrouteservice.ElevationApi +> [!NOTE] +> This documentation is automatically generated. Code examples might not work out of the box as not all required parameters are passed. + All URIs are relative to *https://api.openrouteservice.org* Method | HTTP request | Description @@ -23,14 +26,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.ElevationApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.ElevationApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) body = openrouteservice.ElevationLineBody() # ElevationLineBody | Query the elevation of a line in various formats. try: @@ -77,14 +74,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.ElevationApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.ElevationApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) geometry = [3.4] # list[float] | The point to be queried, in comma-separated lon,lat values, e.g. [13.349762, 38.11295] format_out = 'geojson' # str | The output format to be returned. (optional) (default to geojson) dataset = 'srtm' # str | The elevation dataset to be used. (optional) (default to srtm) @@ -135,14 +126,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.ElevationApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.ElevationApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) body = openrouteservice.ElevationPointBody() # ElevationPointBody | Query the elevation of a point in various formats. try: diff --git a/docs/GeocodeApi.md b/docs/GeocodeApi.md index d8cf1907..65fd1037 100644 --- a/docs/GeocodeApi.md +++ b/docs/GeocodeApi.md @@ -1,5 +1,8 @@ # openrouteservice.GeocodeApi +> [!NOTE] +> This documentation is automatically generated. Code examples might not work out of the box as not all required parameters are passed. + All URIs are relative to *https://api.openrouteservice.org* Method | HTTP request | Description @@ -24,14 +27,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.GeocodeApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.GeocodeApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) text = 'text_example' # str | Name of location, street address or postal code. focus_point_lon = 3.4 # float | Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. (optional) focus_point_lat = 3.4 # float | Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. (optional) @@ -96,14 +93,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.GeocodeApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.GeocodeApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) point_lon = 3.4 # float | Longitude of the coordinate to query. point_lat = 48.858268 # float | Latitude of the coordinate to query. (default to 48.858268) boundary_circle_radius = 1 # float | Restrict search to circular region around `point.lat/point.lon`. Value in kilometers. (optional) (default to 1) @@ -162,14 +153,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.GeocodeApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.GeocodeApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) text = 'text_example' # str | Name of location, street address or postal code. focus_point_lon = 3.4 # float | Longitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lat`. (optional) focus_point_lat = 3.4 # float | Latitude of the `focus.point`. Specify the focus point to order results by linear distance to this point. Works for up to 100 kilometers distance. Use with `focus.point.lon`. (optional) @@ -244,14 +229,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.GeocodeApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.GeocodeApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) address = 'address_example' # str | Search for full address with house number or only a street name. (optional) neighbourhood = 'neighbourhood_example' # str | Search for neighbourhoods. Neighbourhoods are vernacular geographic entities that may not necessarily be official administrative divisions but are important nonetheless. Example: `Notting Hill`. (optional) country = 'country_example' # str | Search for full country name, [alpha 2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) or [alpha 3](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3) codes. (optional) diff --git a/docs/IsochronesServiceApi.md b/docs/IsochronesServiceApi.md index 806423e4..145ad14e 100644 --- a/docs/IsochronesServiceApi.md +++ b/docs/IsochronesServiceApi.md @@ -1,5 +1,8 @@ # openrouteservice.IsochronesServiceApi +> [!NOTE] +> This documentation is automatically generated. Code examples might not work out of the box as not all required parameters are passed. + All URIs are relative to *https://api.openrouteservice.org* Method | HTTP request | Description @@ -21,14 +24,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.IsochronesServiceApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.IsochronesServiceApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) body = openrouteservice.IsochronesProfileBody() # IsochronesProfileBody | profile = 'profile_example' # str | Specifies the route profile. diff --git a/docs/MatrixServiceApi.md b/docs/MatrixServiceApi.md index 0941359b..483d3637 100644 --- a/docs/MatrixServiceApi.md +++ b/docs/MatrixServiceApi.md @@ -1,5 +1,8 @@ # openrouteservice.MatrixServiceApi +> [!NOTE] +> This documentation is automatically generated. Code examples might not work out of the box as not all required parameters are passed. + All URIs are relative to *https://api.openrouteservice.org* Method | HTTP request | Description @@ -21,14 +24,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.MatrixServiceApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.MatrixServiceApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) body = openrouteservice.MatrixProfileBody() # MatrixProfileBody | profile = 'profile_example' # str | Specifies the matrix profile. diff --git a/docs/OptimizationApi.md b/docs/OptimizationApi.md index 1e29871e..38413d8b 100644 --- a/docs/OptimizationApi.md +++ b/docs/OptimizationApi.md @@ -1,5 +1,8 @@ # openrouteservice.OptimizationApi +> [!NOTE] +> This documentation is automatically generated. Code examples might not work out of the box as not all required parameters are passed. + All URIs are relative to *https://api.openrouteservice.org* Method | HTTP request | Description @@ -21,14 +24,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.OptimizationApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.OptimizationApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) body = openrouteservice.OptimizationBody() # OptimizationBody | The request body of the optimization request. try: diff --git a/docs/PoisApi.md b/docs/PoisApi.md index 4dd3a87b..3119299d 100644 --- a/docs/PoisApi.md +++ b/docs/PoisApi.md @@ -1,5 +1,8 @@ # openrouteservice.PoisApi +> [!NOTE] +> This documentation is automatically generated. Code examples might not work out of the box as not all required parameters are passed. + All URIs are relative to *https://api.openrouteservice.org* Method | HTTP request | Description @@ -21,14 +24,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.PoisApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.PoisApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) body = openrouteservice.OpenpoiservicePoiRequest() # OpenpoiservicePoiRequest | body for a post request try: diff --git a/docs/SnappingServiceApi.md b/docs/SnappingServiceApi.md index 5480f0da..a0d7d8ec 100644 --- a/docs/SnappingServiceApi.md +++ b/docs/SnappingServiceApi.md @@ -1,5 +1,8 @@ # openrouteservice.SnappingServiceApi +> [!NOTE] +> This documentation is automatically generated. Code examples might not work out of the box as not all required parameters are passed. + All URIs are relative to *https://api.openrouteservice.org* Method | HTTP request | Description @@ -23,14 +26,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.SnappingServiceApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.SnappingServiceApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) body = openrouteservice.SnapProfileBody() # SnapProfileBody | profile = 'profile_example' # str | Specifies the route profile. @@ -79,14 +76,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.SnappingServiceApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.SnappingServiceApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) body = openrouteservice.ProfileGeojsonBody() # ProfileGeojsonBody | profile = 'profile_example' # str | Specifies the profile. @@ -135,14 +126,8 @@ import openrouteservice from openrouteservice.rest import ApiException from pprint import pprint -# Configure API key authorization: ApiKeyAuth -configuration = openrouteservice.Configuration() -configuration.api_key['Authorization'] = 'YOUR_API_KEY' -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['Authorization'] = 'Bearer' - # create an instance of the API class -api_instance = openrouteservice.SnappingServiceApi(openrouteservice.ApiClient(configuration)) +api_instance = openrouteservice.SnappingServiceApi(openrouteservice.apiClient(apiKey='YOUR_API_KEY')) body = openrouteservice.ProfileJsonBody() # ProfileJsonBody | profile = 'profile_example' # str | Specifies the profile. From a094f7d1281aed2e665a45de199aa512a6b9df0e Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Fri, 7 Jun 2024 12:51:11 +0000 Subject: [PATCH 36/38] Generated update for version 8.0.1. Please review before merging. --- README.md | 2 +- openrouteservice/__init__.py | 4 ++-- openrouteservice/api/directions_service_api.py | 4 ++-- openrouteservice/api/elevation_api.py | 4 ++-- openrouteservice/api/geocode_api.py | 4 ++-- openrouteservice/api/isochrones_service_api.py | 4 ++-- openrouteservice/api/matrix_service_api.py | 4 ++-- openrouteservice/api/optimization_api.py | 4 ++-- openrouteservice/api/pois_api.py | 4 ++-- openrouteservice/api/snapping_service_api.py | 4 ++-- openrouteservice/api_client.py | 6 +++--- openrouteservice/configuration.py | 8 ++++---- openrouteservice/models/__init__.py | 4 ++-- openrouteservice/models/alternative_routes.py | 4 ++-- openrouteservice/models/directions_service_body.py | 4 ++-- openrouteservice/models/elevation_line_body.py | 4 ++-- openrouteservice/models/elevation_point_body.py | 4 ++-- openrouteservice/models/isochrones_profile_body.py | 4 ++-- openrouteservice/models/json_response.py | 4 ++-- openrouteservice/models/matrix_profile_body.py | 4 ++-- openrouteservice/models/openpoiservice_poi_request.py | 4 ++-- openrouteservice/models/optimization_body.py | 4 ++-- openrouteservice/models/optimization_breaks.py | 4 ++-- openrouteservice/models/optimization_costs.py | 4 ++-- openrouteservice/models/optimization_jobs.py | 4 ++-- openrouteservice/models/optimization_matrices.py | 4 ++-- .../models/optimization_matrices_cyclingelectric.py | 4 ++-- openrouteservice/models/optimization_options.py | 4 ++-- openrouteservice/models/optimization_steps.py | 4 ++-- openrouteservice/models/optimization_vehicles.py | 4 ++-- openrouteservice/models/pois_filters.py | 4 ++-- openrouteservice/models/pois_geometry.py | 4 ++-- openrouteservice/models/profile_geojson_body.py | 4 ++-- openrouteservice/models/profile_json_body.py | 4 ++-- openrouteservice/models/profile_parameters.py | 4 ++-- .../models/profile_parameters_restrictions.py | 4 ++-- openrouteservice/models/profile_weightings.py | 4 ++-- openrouteservice/models/round_trip_route_options.py | 4 ++-- openrouteservice/models/route_options.py | 4 ++-- openrouteservice/models/route_options_avoid_polygons.py | 4 ++-- openrouteservice/models/snap_profile_body.py | 4 ++-- openrouteservice/rest.py | 4 ++-- pyproject.toml | 2 +- setup.py | 6 +++--- 44 files changed, 90 insertions(+), 90 deletions(-) diff --git a/README.md b/README.md index 71a5d7b0..3ee51538 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The openrouteservice library gives you painless access to the [openrouteservice] | API Version | Package version | Build package | | -------------- | ------------------ | ------------------ | -| 8.0.0 | 8.0.0 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | +| 8.0.1 | 8.0.1 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | For further details, please visit: - our [homepage](https://openrouteservice.org) diff --git a/openrouteservice/__init__.py b/openrouteservice/__init__.py index cca38af9..1ba63409 100644 --- a/openrouteservice/__init__.py +++ b/openrouteservice/__init__.py @@ -5,9 +5,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/directions_service_api.py b/openrouteservice/api/directions_service_api.py index e1292071..b9a6a938 100644 --- a/openrouteservice/api/directions_service_api.py +++ b/openrouteservice/api/directions_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/elevation_api.py b/openrouteservice/api/elevation_api.py index be791937..ee8b324a 100644 --- a/openrouteservice/api/elevation_api.py +++ b/openrouteservice/api/elevation_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/geocode_api.py b/openrouteservice/api/geocode_api.py index 0bfbdad4..b7cb9551 100644 --- a/openrouteservice/api/geocode_api.py +++ b/openrouteservice/api/geocode_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/isochrones_service_api.py b/openrouteservice/api/isochrones_service_api.py index 0133cbb4..8d384227 100644 --- a/openrouteservice/api/isochrones_service_api.py +++ b/openrouteservice/api/isochrones_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/matrix_service_api.py b/openrouteservice/api/matrix_service_api.py index 4da4e5dc..87312e54 100644 --- a/openrouteservice/api/matrix_service_api.py +++ b/openrouteservice/api/matrix_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/optimization_api.py b/openrouteservice/api/optimization_api.py index f5102835..1d7c4d47 100644 --- a/openrouteservice/api/optimization_api.py +++ b/openrouteservice/api/optimization_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/pois_api.py b/openrouteservice/api/pois_api.py index bb723ab3..adc5e764 100644 --- a/openrouteservice/api/pois_api.py +++ b/openrouteservice/api/pois_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/snapping_service_api.py b/openrouteservice/api/snapping_service_api.py index 0d5cf8b2..bf49d589 100644 --- a/openrouteservice/api/snapping_service_api.py +++ b/openrouteservice/api/snapping_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api_client.py b/openrouteservice/api_client.py index 7c3f09f7..ba2695de 100644 --- a/openrouteservice/api_client.py +++ b/openrouteservice/api_client.py @@ -2,9 +2,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/8.0.0/python' + self.user_agent = 'Swagger-Codegen/8.0.1/python' def __del__(self): self.pool.close() diff --git a/openrouteservice/configuration.py b/openrouteservice/configuration.py index f8034a03..c9009906 100644 --- a/openrouteservice/configuration.py +++ b/openrouteservice/configuration.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -246,6 +246,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 8.0.0\n"\ - "SDK Package Version: 8.0.0".\ + "Version of the API: 8.0.1\n"\ + "SDK Package Version: 8.0.1".\ format(env=sys.platform, pyversion=sys.version) diff --git a/openrouteservice/models/__init__.py b/openrouteservice/models/__init__.py index 4a37a493..3abbe97d 100644 --- a/openrouteservice/models/__init__.py +++ b/openrouteservice/models/__init__.py @@ -4,9 +4,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/alternative_routes.py b/openrouteservice/models/alternative_routes.py index 93a89fe4..33a1b0d9 100644 --- a/openrouteservice/models/alternative_routes.py +++ b/openrouteservice/models/alternative_routes.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/directions_service_body.py b/openrouteservice/models/directions_service_body.py index 8c52a3e0..4096a9b3 100644 --- a/openrouteservice/models/directions_service_body.py +++ b/openrouteservice/models/directions_service_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/elevation_line_body.py b/openrouteservice/models/elevation_line_body.py index 625ce861..593c3b6d 100644 --- a/openrouteservice/models/elevation_line_body.py +++ b/openrouteservice/models/elevation_line_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/elevation_point_body.py b/openrouteservice/models/elevation_point_body.py index e65f2fa8..731ba966 100644 --- a/openrouteservice/models/elevation_point_body.py +++ b/openrouteservice/models/elevation_point_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/isochrones_profile_body.py b/openrouteservice/models/isochrones_profile_body.py index 18af4400..734a2e87 100644 --- a/openrouteservice/models/isochrones_profile_body.py +++ b/openrouteservice/models/isochrones_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_response.py b/openrouteservice/models/json_response.py index ec92ccc9..c7665b9e 100644 --- a/openrouteservice/models/json_response.py +++ b/openrouteservice/models/json_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/matrix_profile_body.py b/openrouteservice/models/matrix_profile_body.py index b859ad3d..233ee9fc 100644 --- a/openrouteservice/models/matrix_profile_body.py +++ b/openrouteservice/models/matrix_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/openpoiservice_poi_request.py b/openrouteservice/models/openpoiservice_poi_request.py index 0d08a2e7..a5a020fa 100644 --- a/openrouteservice/models/openpoiservice_poi_request.py +++ b/openrouteservice/models/openpoiservice_poi_request.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_body.py b/openrouteservice/models/optimization_body.py index 42ff06d2..40728d47 100644 --- a/openrouteservice/models/optimization_body.py +++ b/openrouteservice/models/optimization_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_breaks.py b/openrouteservice/models/optimization_breaks.py index 607fe8a4..2ee120e5 100644 --- a/openrouteservice/models/optimization_breaks.py +++ b/openrouteservice/models/optimization_breaks.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_costs.py b/openrouteservice/models/optimization_costs.py index cefe3b72..e5a02a73 100644 --- a/openrouteservice/models/optimization_costs.py +++ b/openrouteservice/models/optimization_costs.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_jobs.py b/openrouteservice/models/optimization_jobs.py index 44ad4dfa..9fe1a8ea 100644 --- a/openrouteservice/models/optimization_jobs.py +++ b/openrouteservice/models/optimization_jobs.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_matrices.py b/openrouteservice/models/optimization_matrices.py index 9b5b22cd..ffcd9cef 100644 --- a/openrouteservice/models/optimization_matrices.py +++ b/openrouteservice/models/optimization_matrices.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_matrices_cyclingelectric.py b/openrouteservice/models/optimization_matrices_cyclingelectric.py index 9a371884..2aa6d7a3 100644 --- a/openrouteservice/models/optimization_matrices_cyclingelectric.py +++ b/openrouteservice/models/optimization_matrices_cyclingelectric.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_options.py b/openrouteservice/models/optimization_options.py index 3979077d..b6af6589 100644 --- a/openrouteservice/models/optimization_options.py +++ b/openrouteservice/models/optimization_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_steps.py b/openrouteservice/models/optimization_steps.py index 3b40053a..0d7de3fd 100644 --- a/openrouteservice/models/optimization_steps.py +++ b/openrouteservice/models/optimization_steps.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_vehicles.py b/openrouteservice/models/optimization_vehicles.py index e65b810e..85625bd3 100644 --- a/openrouteservice/models/optimization_vehicles.py +++ b/openrouteservice/models/optimization_vehicles.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/pois_filters.py b/openrouteservice/models/pois_filters.py index a8553059..7cecb898 100644 --- a/openrouteservice/models/pois_filters.py +++ b/openrouteservice/models/pois_filters.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/pois_geometry.py b/openrouteservice/models/pois_geometry.py index 9b119d9a..38aa41ca 100644 --- a/openrouteservice/models/pois_geometry.py +++ b/openrouteservice/models/pois_geometry.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_geojson_body.py b/openrouteservice/models/profile_geojson_body.py index f159ee38..bca12ab5 100644 --- a/openrouteservice/models/profile_geojson_body.py +++ b/openrouteservice/models/profile_geojson_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_json_body.py b/openrouteservice/models/profile_json_body.py index ef63d031..2e4de8c4 100644 --- a/openrouteservice/models/profile_json_body.py +++ b/openrouteservice/models/profile_json_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_parameters.py b/openrouteservice/models/profile_parameters.py index 966c8b9f..a85c7aec 100644 --- a/openrouteservice/models/profile_parameters.py +++ b/openrouteservice/models/profile_parameters.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_parameters_restrictions.py b/openrouteservice/models/profile_parameters_restrictions.py index 7717f06f..dd7576f5 100644 --- a/openrouteservice/models/profile_parameters_restrictions.py +++ b/openrouteservice/models/profile_parameters_restrictions.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_weightings.py b/openrouteservice/models/profile_weightings.py index a4182adb..79c17819 100644 --- a/openrouteservice/models/profile_weightings.py +++ b/openrouteservice/models/profile_weightings.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/round_trip_route_options.py b/openrouteservice/models/round_trip_route_options.py index a323b5e9..0566f135 100644 --- a/openrouteservice/models/round_trip_route_options.py +++ b/openrouteservice/models/round_trip_route_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/route_options.py b/openrouteservice/models/route_options.py index f600ade6..f25f6d51 100644 --- a/openrouteservice/models/route_options.py +++ b/openrouteservice/models/route_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/route_options_avoid_polygons.py b/openrouteservice/models/route_options_avoid_polygons.py index a0290441..5f5b88e5 100644 --- a/openrouteservice/models/route_options_avoid_polygons.py +++ b/openrouteservice/models/route_options_avoid_polygons.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/snap_profile_body.py b/openrouteservice/models/snap_profile_body.py index 4e0c3826..3d81c96d 100644 --- a/openrouteservice/models/snap_profile_body.py +++ b/openrouteservice/models/snap_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/rest.py b/openrouteservice/rest.py index 2cac6cdf..082cffa2 100644 --- a/openrouteservice/rest.py +++ b/openrouteservice/rest.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/pyproject.toml b/pyproject.toml index 73320c7c..829ca479 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "openrouteservice" -version = "8.0.0" +version = "8.0.1" authors = ["HeiGIT gGmbH "] description = "Python client for requests to openrouteservice API services" readme = "README.md" diff --git a/setup.py b/setup.py index 03ada803..f453fbbc 100644 --- a/setup.py +++ b/setup.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.0 + OpenAPI spec version: 8.0.1 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "openrouteservice" -VERSION = "8.0.0" +VERSION = "8.0.1" # To install the library, run the following # # python setup.py install From faa4f44b1460d5d20fc9f4e65c4a9b9e3f379bcc Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Thu, 18 Jul 2024 13:08:38 +0000 Subject: [PATCH 37/38] Generated update for version 8.1.0. Please review before merging. --- README.md | 2 +- docs/SnappingServiceApi.md | 6 +++--- openrouteservice/__init__.py | 4 ++-- openrouteservice/api/directions_service_api.py | 4 ++-- openrouteservice/api/elevation_api.py | 4 ++-- openrouteservice/api/geocode_api.py | 4 ++-- openrouteservice/api/isochrones_service_api.py | 4 ++-- openrouteservice/api/matrix_service_api.py | 4 ++-- openrouteservice/api/optimization_api.py | 4 ++-- openrouteservice/api/pois_api.py | 4 ++-- openrouteservice/api/snapping_service_api.py | 16 ++++++++-------- openrouteservice/api_client.py | 6 +++--- openrouteservice/configuration.py | 8 ++++---- openrouteservice/models/__init__.py | 4 ++-- openrouteservice/models/alternative_routes.py | 4 ++-- .../models/directions_service_body.py | 4 ++-- openrouteservice/models/elevation_line_body.py | 4 ++-- openrouteservice/models/elevation_point_body.py | 4 ++-- .../models/isochrones_profile_body.py | 4 ++-- openrouteservice/models/json_response.py | 4 ++-- openrouteservice/models/matrix_profile_body.py | 4 ++-- .../models/openpoiservice_poi_request.py | 4 ++-- openrouteservice/models/optimization_body.py | 4 ++-- openrouteservice/models/optimization_breaks.py | 4 ++-- openrouteservice/models/optimization_costs.py | 4 ++-- openrouteservice/models/optimization_jobs.py | 4 ++-- openrouteservice/models/optimization_matrices.py | 4 ++-- .../optimization_matrices_cyclingelectric.py | 4 ++-- openrouteservice/models/optimization_options.py | 4 ++-- openrouteservice/models/optimization_steps.py | 4 ++-- openrouteservice/models/optimization_vehicles.py | 4 ++-- openrouteservice/models/pois_filters.py | 4 ++-- openrouteservice/models/pois_geometry.py | 4 ++-- openrouteservice/models/profile_geojson_body.py | 4 ++-- openrouteservice/models/profile_json_body.py | 4 ++-- openrouteservice/models/profile_parameters.py | 4 ++-- .../models/profile_parameters_restrictions.py | 4 ++-- openrouteservice/models/profile_weightings.py | 4 ++-- .../models/round_trip_route_options.py | 4 ++-- openrouteservice/models/route_options.py | 4 ++-- .../models/route_options_avoid_polygons.py | 4 ++-- openrouteservice/models/snap_profile_body.py | 4 ++-- openrouteservice/rest.py | 4 ++-- pyproject.toml | 2 +- setup.py | 6 +++--- 45 files changed, 99 insertions(+), 99 deletions(-) diff --git a/README.md b/README.md index 3ee51538..4de960ef 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The openrouteservice library gives you painless access to the [openrouteservice] | API Version | Package version | Build package | | -------------- | ------------------ | ------------------ | -| 8.0.1 | 8.0.1 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | +| 8.1.0 | 8.1.0 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | For further details, please visit: - our [homepage](https://openrouteservice.org) diff --git a/docs/SnappingServiceApi.md b/docs/SnappingServiceApi.md index a0d7d8ec..06529aa9 100644 --- a/docs/SnappingServiceApi.md +++ b/docs/SnappingServiceApi.md @@ -16,7 +16,7 @@ Method | HTTP request | Description Snapping Service -Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. +Returns a list of points snapped to the nearest edge in the routing graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. ### Example ```python @@ -66,7 +66,7 @@ Name | Type | Description | Notes Snapping Service GeoJSON -Returns a GeoJSON FeatureCollection of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, it is omitted from the features array. The features provide the 'source_id' property, to match the results with the input location array (IDs start at 0). +Returns a GeoJSON FeatureCollection of points snapped to the nearest edge in the routing graph. In case an appropriate snapping point cannot be found within the specified search radius, it is omitted from the features array. The features provide the 'source_id' property, to match the results with the input location array (IDs start at 0). ### Example ```python @@ -116,7 +116,7 @@ Name | Type | Description | Notes Snapping Service JSON -Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. +Returns a list of points snapped to the nearest edge in the routing graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. ### Example ```python diff --git a/openrouteservice/__init__.py b/openrouteservice/__init__.py index 1ba63409..3355d24f 100644 --- a/openrouteservice/__init__.py +++ b/openrouteservice/__init__.py @@ -5,9 +5,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/directions_service_api.py b/openrouteservice/api/directions_service_api.py index b9a6a938..295bb145 100644 --- a/openrouteservice/api/directions_service_api.py +++ b/openrouteservice/api/directions_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/elevation_api.py b/openrouteservice/api/elevation_api.py index ee8b324a..404d07e4 100644 --- a/openrouteservice/api/elevation_api.py +++ b/openrouteservice/api/elevation_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/geocode_api.py b/openrouteservice/api/geocode_api.py index b7cb9551..a40d993d 100644 --- a/openrouteservice/api/geocode_api.py +++ b/openrouteservice/api/geocode_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/isochrones_service_api.py b/openrouteservice/api/isochrones_service_api.py index 8d384227..a4964add 100644 --- a/openrouteservice/api/isochrones_service_api.py +++ b/openrouteservice/api/isochrones_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/matrix_service_api.py b/openrouteservice/api/matrix_service_api.py index 87312e54..b1563117 100644 --- a/openrouteservice/api/matrix_service_api.py +++ b/openrouteservice/api/matrix_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/optimization_api.py b/openrouteservice/api/optimization_api.py index 1d7c4d47..08440e88 100644 --- a/openrouteservice/api/optimization_api.py +++ b/openrouteservice/api/optimization_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/pois_api.py b/openrouteservice/api/pois_api.py index adc5e764..4cee77bd 100644 --- a/openrouteservice/api/pois_api.py +++ b/openrouteservice/api/pois_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/snapping_service_api.py b/openrouteservice/api/snapping_service_api.py index bf49d589..e0b9ddbc 100644 --- a/openrouteservice/api/snapping_service_api.py +++ b/openrouteservice/api/snapping_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -35,7 +35,7 @@ def __init__(self, api_client=None): def get_default(self, body, profile, **kwargs): # noqa: E501 """Snapping Service # noqa: E501 - Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 + Returns a list of points snapped to the nearest edge in the routing graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_default(body, profile, async_req=True) @@ -58,7 +58,7 @@ def get_default(self, body, profile, **kwargs): # noqa: E501 def get_default_with_http_info(self, body, profile, **kwargs): # noqa: E501 """Snapping Service # noqa: E501 - Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 + Returns a list of points snapped to the nearest edge in the routing graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_default_with_http_info(body, profile, async_req=True) @@ -142,7 +142,7 @@ def get_default_with_http_info(self, body, profile, **kwargs): # noqa: E501 def get_geo_json_snapping(self, body, profile, **kwargs): # noqa: E501 """Snapping Service GeoJSON # noqa: E501 - Returns a GeoJSON FeatureCollection of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, it is omitted from the features array. The features provide the 'source_id' property, to match the results with the input location array (IDs start at 0). # noqa: E501 + Returns a GeoJSON FeatureCollection of points snapped to the nearest edge in the routing graph. In case an appropriate snapping point cannot be found within the specified search radius, it is omitted from the features array. The features provide the 'source_id' property, to match the results with the input location array (IDs start at 0). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_geo_json_snapping(body, profile, async_req=True) @@ -165,7 +165,7 @@ def get_geo_json_snapping(self, body, profile, **kwargs): # noqa: E501 def get_geo_json_snapping_with_http_info(self, body, profile, **kwargs): # noqa: E501 """Snapping Service GeoJSON # noqa: E501 - Returns a GeoJSON FeatureCollection of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, it is omitted from the features array. The features provide the 'source_id' property, to match the results with the input location array (IDs start at 0). # noqa: E501 + Returns a GeoJSON FeatureCollection of points snapped to the nearest edge in the routing graph. In case an appropriate snapping point cannot be found within the specified search radius, it is omitted from the features array. The features provide the 'source_id' property, to match the results with the input location array (IDs start at 0). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_geo_json_snapping_with_http_info(body, profile, async_req=True) @@ -249,7 +249,7 @@ def get_geo_json_snapping_with_http_info(self, body, profile, **kwargs): # noqa def get_json_snapping(self, body, profile, **kwargs): # noqa: E501 """Snapping Service JSON # noqa: E501 - Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 + Returns a list of points snapped to the nearest edge in the routing graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_json_snapping(body, profile, async_req=True) @@ -272,7 +272,7 @@ def get_json_snapping(self, body, profile, **kwargs): # noqa: E501 def get_json_snapping_with_http_info(self, body, profile, **kwargs): # noqa: E501 """Snapping Service JSON # noqa: E501 - Returns a list of points snapped to the nearest edge in the graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 + Returns a list of points snapped to the nearest edge in the routing graph. In case an appropriate snapping point cannot be found within the specified search radius, \"null\" is returned. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.get_json_snapping_with_http_info(body, profile, async_req=True) diff --git a/openrouteservice/api_client.py b/openrouteservice/api_client.py index ba2695de..436cc9ec 100644 --- a/openrouteservice/api_client.py +++ b/openrouteservice/api_client.py @@ -2,9 +2,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/8.0.1/python' + self.user_agent = 'Swagger-Codegen/8.1.0/python' def __del__(self): self.pool.close() diff --git a/openrouteservice/configuration.py b/openrouteservice/configuration.py index c9009906..35efaaaa 100644 --- a/openrouteservice/configuration.py +++ b/openrouteservice/configuration.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -246,6 +246,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 8.0.1\n"\ - "SDK Package Version: 8.0.1".\ + "Version of the API: 8.1.0\n"\ + "SDK Package Version: 8.1.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/openrouteservice/models/__init__.py b/openrouteservice/models/__init__.py index 3abbe97d..943c6ac4 100644 --- a/openrouteservice/models/__init__.py +++ b/openrouteservice/models/__init__.py @@ -4,9 +4,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/alternative_routes.py b/openrouteservice/models/alternative_routes.py index 33a1b0d9..24b04d71 100644 --- a/openrouteservice/models/alternative_routes.py +++ b/openrouteservice/models/alternative_routes.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/directions_service_body.py b/openrouteservice/models/directions_service_body.py index 4096a9b3..4c08fee7 100644 --- a/openrouteservice/models/directions_service_body.py +++ b/openrouteservice/models/directions_service_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/elevation_line_body.py b/openrouteservice/models/elevation_line_body.py index 593c3b6d..8461be00 100644 --- a/openrouteservice/models/elevation_line_body.py +++ b/openrouteservice/models/elevation_line_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/elevation_point_body.py b/openrouteservice/models/elevation_point_body.py index 731ba966..a471cded 100644 --- a/openrouteservice/models/elevation_point_body.py +++ b/openrouteservice/models/elevation_point_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/isochrones_profile_body.py b/openrouteservice/models/isochrones_profile_body.py index 734a2e87..052c6e85 100644 --- a/openrouteservice/models/isochrones_profile_body.py +++ b/openrouteservice/models/isochrones_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_response.py b/openrouteservice/models/json_response.py index c7665b9e..e0a5b8c2 100644 --- a/openrouteservice/models/json_response.py +++ b/openrouteservice/models/json_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/matrix_profile_body.py b/openrouteservice/models/matrix_profile_body.py index 233ee9fc..6bb63215 100644 --- a/openrouteservice/models/matrix_profile_body.py +++ b/openrouteservice/models/matrix_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/openpoiservice_poi_request.py b/openrouteservice/models/openpoiservice_poi_request.py index a5a020fa..a255ebb5 100644 --- a/openrouteservice/models/openpoiservice_poi_request.py +++ b/openrouteservice/models/openpoiservice_poi_request.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_body.py b/openrouteservice/models/optimization_body.py index 40728d47..57cc4df6 100644 --- a/openrouteservice/models/optimization_body.py +++ b/openrouteservice/models/optimization_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_breaks.py b/openrouteservice/models/optimization_breaks.py index 2ee120e5..71a38636 100644 --- a/openrouteservice/models/optimization_breaks.py +++ b/openrouteservice/models/optimization_breaks.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_costs.py b/openrouteservice/models/optimization_costs.py index e5a02a73..d65f0721 100644 --- a/openrouteservice/models/optimization_costs.py +++ b/openrouteservice/models/optimization_costs.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_jobs.py b/openrouteservice/models/optimization_jobs.py index 9fe1a8ea..297a7ea2 100644 --- a/openrouteservice/models/optimization_jobs.py +++ b/openrouteservice/models/optimization_jobs.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_matrices.py b/openrouteservice/models/optimization_matrices.py index ffcd9cef..582f3e31 100644 --- a/openrouteservice/models/optimization_matrices.py +++ b/openrouteservice/models/optimization_matrices.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_matrices_cyclingelectric.py b/openrouteservice/models/optimization_matrices_cyclingelectric.py index 2aa6d7a3..8462b28f 100644 --- a/openrouteservice/models/optimization_matrices_cyclingelectric.py +++ b/openrouteservice/models/optimization_matrices_cyclingelectric.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_options.py b/openrouteservice/models/optimization_options.py index b6af6589..f9c20a1b 100644 --- a/openrouteservice/models/optimization_options.py +++ b/openrouteservice/models/optimization_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_steps.py b/openrouteservice/models/optimization_steps.py index 0d7de3fd..e78b1ee6 100644 --- a/openrouteservice/models/optimization_steps.py +++ b/openrouteservice/models/optimization_steps.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_vehicles.py b/openrouteservice/models/optimization_vehicles.py index 85625bd3..9a1337f7 100644 --- a/openrouteservice/models/optimization_vehicles.py +++ b/openrouteservice/models/optimization_vehicles.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/pois_filters.py b/openrouteservice/models/pois_filters.py index 7cecb898..b1af8a72 100644 --- a/openrouteservice/models/pois_filters.py +++ b/openrouteservice/models/pois_filters.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/pois_geometry.py b/openrouteservice/models/pois_geometry.py index 38aa41ca..3492490d 100644 --- a/openrouteservice/models/pois_geometry.py +++ b/openrouteservice/models/pois_geometry.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_geojson_body.py b/openrouteservice/models/profile_geojson_body.py index bca12ab5..b6d49611 100644 --- a/openrouteservice/models/profile_geojson_body.py +++ b/openrouteservice/models/profile_geojson_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_json_body.py b/openrouteservice/models/profile_json_body.py index 2e4de8c4..786e4c5e 100644 --- a/openrouteservice/models/profile_json_body.py +++ b/openrouteservice/models/profile_json_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_parameters.py b/openrouteservice/models/profile_parameters.py index a85c7aec..6b1e43f7 100644 --- a/openrouteservice/models/profile_parameters.py +++ b/openrouteservice/models/profile_parameters.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_parameters_restrictions.py b/openrouteservice/models/profile_parameters_restrictions.py index dd7576f5..e5158d07 100644 --- a/openrouteservice/models/profile_parameters_restrictions.py +++ b/openrouteservice/models/profile_parameters_restrictions.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_weightings.py b/openrouteservice/models/profile_weightings.py index 79c17819..560c6d40 100644 --- a/openrouteservice/models/profile_weightings.py +++ b/openrouteservice/models/profile_weightings.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/round_trip_route_options.py b/openrouteservice/models/round_trip_route_options.py index 0566f135..c7f77048 100644 --- a/openrouteservice/models/round_trip_route_options.py +++ b/openrouteservice/models/round_trip_route_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/route_options.py b/openrouteservice/models/route_options.py index f25f6d51..027b5d1a 100644 --- a/openrouteservice/models/route_options.py +++ b/openrouteservice/models/route_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/route_options_avoid_polygons.py b/openrouteservice/models/route_options_avoid_polygons.py index 5f5b88e5..8449e970 100644 --- a/openrouteservice/models/route_options_avoid_polygons.py +++ b/openrouteservice/models/route_options_avoid_polygons.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/snap_profile_body.py b/openrouteservice/models/snap_profile_body.py index 3d81c96d..87da66ca 100644 --- a/openrouteservice/models/snap_profile_body.py +++ b/openrouteservice/models/snap_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/rest.py b/openrouteservice/rest.py index 082cffa2..d3ef9f72 100644 --- a/openrouteservice/rest.py +++ b/openrouteservice/rest.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/pyproject.toml b/pyproject.toml index 829ca479..cd28c821 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "openrouteservice" -version = "8.0.1" +version = "8.1.0" authors = ["HeiGIT gGmbH "] description = "Python client for requests to openrouteservice API services" readme = "README.md" diff --git a/setup.py b/setup.py index f453fbbc..727c8f62 100644 --- a/setup.py +++ b/setup.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.0.1. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.0.1 + OpenAPI spec version: 8.1.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "openrouteservice" -VERSION = "8.0.1" +VERSION = "8.1.0" # To install the library, run the following # # python setup.py install From 1d50279b0ce619c59f48c650ea1881eb8baa3ae8 Mon Sep 17 00:00:00 2001 From: GitLab CI/CD Date: Tue, 3 Dec 2024 13:57:51 +0000 Subject: [PATCH 38/38] Generated update for version 8.2.0. Please review before merging. --- README.md | 2 +- openrouteservice/__init__.py | 4 ++-- openrouteservice/api/directions_service_api.py | 4 ++-- openrouteservice/api/elevation_api.py | 4 ++-- openrouteservice/api/geocode_api.py | 4 ++-- openrouteservice/api/isochrones_service_api.py | 4 ++-- openrouteservice/api/matrix_service_api.py | 4 ++-- openrouteservice/api/optimization_api.py | 4 ++-- openrouteservice/api/pois_api.py | 4 ++-- openrouteservice/api/snapping_service_api.py | 4 ++-- openrouteservice/api_client.py | 6 +++--- openrouteservice/configuration.py | 8 ++++---- openrouteservice/models/__init__.py | 4 ++-- openrouteservice/models/alternative_routes.py | 4 ++-- openrouteservice/models/directions_service_body.py | 6 +++--- openrouteservice/models/elevation_line_body.py | 4 ++-- openrouteservice/models/elevation_point_body.py | 4 ++-- openrouteservice/models/isochrones_profile_body.py | 4 ++-- openrouteservice/models/json_response.py | 4 ++-- openrouteservice/models/matrix_profile_body.py | 4 ++-- openrouteservice/models/openpoiservice_poi_request.py | 4 ++-- openrouteservice/models/optimization_body.py | 4 ++-- openrouteservice/models/optimization_breaks.py | 4 ++-- openrouteservice/models/optimization_costs.py | 4 ++-- openrouteservice/models/optimization_jobs.py | 4 ++-- openrouteservice/models/optimization_matrices.py | 4 ++-- .../models/optimization_matrices_cyclingelectric.py | 4 ++-- openrouteservice/models/optimization_options.py | 4 ++-- openrouteservice/models/optimization_steps.py | 4 ++-- openrouteservice/models/optimization_vehicles.py | 4 ++-- openrouteservice/models/pois_filters.py | 4 ++-- openrouteservice/models/pois_geometry.py | 4 ++-- openrouteservice/models/profile_geojson_body.py | 4 ++-- openrouteservice/models/profile_json_body.py | 4 ++-- openrouteservice/models/profile_parameters.py | 4 ++-- .../models/profile_parameters_restrictions.py | 4 ++-- openrouteservice/models/profile_weightings.py | 4 ++-- openrouteservice/models/round_trip_route_options.py | 4 ++-- openrouteservice/models/route_options.py | 4 ++-- openrouteservice/models/route_options_avoid_polygons.py | 4 ++-- openrouteservice/models/snap_profile_body.py | 4 ++-- openrouteservice/rest.py | 4 ++-- pyproject.toml | 2 +- setup.py | 6 +++--- 44 files changed, 91 insertions(+), 91 deletions(-) diff --git a/README.md b/README.md index 4de960ef..ad651576 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The openrouteservice library gives you painless access to the [openrouteservice] | API Version | Package version | Build package | | -------------- | ------------------ | ------------------ | -| 8.1.0 | 8.1.0 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | +| 8.2.0 | 8.2.0 | io.swagger.codegen.v3.generators.python.PythonClientCodegen | For further details, please visit: - our [homepage](https://openrouteservice.org) diff --git a/openrouteservice/__init__.py b/openrouteservice/__init__.py index 3355d24f..652a6a21 100644 --- a/openrouteservice/__init__.py +++ b/openrouteservice/__init__.py @@ -5,9 +5,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/directions_service_api.py b/openrouteservice/api/directions_service_api.py index 295bb145..193cfe3d 100644 --- a/openrouteservice/api/directions_service_api.py +++ b/openrouteservice/api/directions_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/elevation_api.py b/openrouteservice/api/elevation_api.py index 404d07e4..f7115e5a 100644 --- a/openrouteservice/api/elevation_api.py +++ b/openrouteservice/api/elevation_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/geocode_api.py b/openrouteservice/api/geocode_api.py index a40d993d..f2a0747f 100644 --- a/openrouteservice/api/geocode_api.py +++ b/openrouteservice/api/geocode_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/isochrones_service_api.py b/openrouteservice/api/isochrones_service_api.py index a4964add..7038e4d7 100644 --- a/openrouteservice/api/isochrones_service_api.py +++ b/openrouteservice/api/isochrones_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/matrix_service_api.py b/openrouteservice/api/matrix_service_api.py index b1563117..1d183886 100644 --- a/openrouteservice/api/matrix_service_api.py +++ b/openrouteservice/api/matrix_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/optimization_api.py b/openrouteservice/api/optimization_api.py index 08440e88..f4fb6826 100644 --- a/openrouteservice/api/optimization_api.py +++ b/openrouteservice/api/optimization_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/pois_api.py b/openrouteservice/api/pois_api.py index 4cee77bd..78c531e9 100644 --- a/openrouteservice/api/pois_api.py +++ b/openrouteservice/api/pois_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api/snapping_service_api.py b/openrouteservice/api/snapping_service_api.py index e0b9ddbc..17c3754f 100644 --- a/openrouteservice/api/snapping_service_api.py +++ b/openrouteservice/api/snapping_service_api.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/api_client.py b/openrouteservice/api_client.py index 436cc9ec..af7c1555 100644 --- a/openrouteservice/api_client.py +++ b/openrouteservice/api_client.py @@ -2,9 +2,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Swagger-Codegen/8.1.0/python' + self.user_agent = 'Swagger-Codegen/8.2.0/python' def __del__(self): self.pool.close() diff --git a/openrouteservice/configuration.py b/openrouteservice/configuration.py index 35efaaaa..0faefdc8 100644 --- a/openrouteservice/configuration.py +++ b/openrouteservice/configuration.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -246,6 +246,6 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 8.1.0\n"\ - "SDK Package Version: 8.1.0".\ + "Version of the API: 8.2.0\n"\ + "SDK Package Version: 8.2.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/openrouteservice/models/__init__.py b/openrouteservice/models/__init__.py index 943c6ac4..ce6bc4ce 100644 --- a/openrouteservice/models/__init__.py +++ b/openrouteservice/models/__init__.py @@ -4,9 +4,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/alternative_routes.py b/openrouteservice/models/alternative_routes.py index 24b04d71..fa2f3c6e 100644 --- a/openrouteservice/models/alternative_routes.py +++ b/openrouteservice/models/alternative_routes.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/directions_service_body.py b/openrouteservice/models/directions_service_body.py index 4c08fee7..29929676 100644 --- a/openrouteservice/models/directions_service_body.py +++ b/openrouteservice/models/directions_service_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -510,7 +510,7 @@ def language(self, language): :param language: The language of this DirectionsServiceBody. # noqa: E501 :type: str """ - allowed_values = ["cs", "cs-cz", "de", "de-de", "en", "en-us", "eo", "eo-eo", "es", "es-es", "fr", "fr-fr", "gr", "gr-gr", "he", "he-il", "hu", "hu-hu", "id", "id-id", "it", "it-it", "ja", "ja-jp", "ne", "ne-np", "nl", "nl-nl", "nb", "nb-no", "pl", "pl-pl", "pt", "pt-pt", "ro", "ro-ro", "ru", "ru-ru", "tr", "tr-tr", "zh", "zh-cn"] # noqa: E501 + allowed_values = ["cs", "cs-cz", "da", "dk-da", "de", "de-de", "en", "en-us", "eo", "eo-eo", "es", "es-es", "fi", "fi-fi", "fr", "fr-fr", "gr", "gr-gr", "he", "he-il", "hu", "hu-hu", "id", "id-id", "it", "it-it", "ja", "ja-jp", "ne", "ne-np", "nl", "nl-nl", "nb", "nb-no", "pl", "pl-pl", "pt", "pt-pt", "ro", "ro-ro", "ru", "ru-ru", "tr", "tr-tr", "vi", "vi-vn", "zh", "zh-cn"] # noqa: E501 if language not in allowed_values: raise ValueError( "Invalid value for `language` ({0}), must be one of {1}" # noqa: E501 diff --git a/openrouteservice/models/elevation_line_body.py b/openrouteservice/models/elevation_line_body.py index 8461be00..fc7338db 100644 --- a/openrouteservice/models/elevation_line_body.py +++ b/openrouteservice/models/elevation_line_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/elevation_point_body.py b/openrouteservice/models/elevation_point_body.py index a471cded..7a88e4c6 100644 --- a/openrouteservice/models/elevation_point_body.py +++ b/openrouteservice/models/elevation_point_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/isochrones_profile_body.py b/openrouteservice/models/isochrones_profile_body.py index 052c6e85..b1e03aec 100644 --- a/openrouteservice/models/isochrones_profile_body.py +++ b/openrouteservice/models/isochrones_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/json_response.py b/openrouteservice/models/json_response.py index e0a5b8c2..4e0f8e9a 100644 --- a/openrouteservice/models/json_response.py +++ b/openrouteservice/models/json_response.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/matrix_profile_body.py b/openrouteservice/models/matrix_profile_body.py index 6bb63215..781ccc7f 100644 --- a/openrouteservice/models/matrix_profile_body.py +++ b/openrouteservice/models/matrix_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/openpoiservice_poi_request.py b/openrouteservice/models/openpoiservice_poi_request.py index a255ebb5..77b752bc 100644 --- a/openrouteservice/models/openpoiservice_poi_request.py +++ b/openrouteservice/models/openpoiservice_poi_request.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_body.py b/openrouteservice/models/optimization_body.py index 57cc4df6..d2d04894 100644 --- a/openrouteservice/models/optimization_body.py +++ b/openrouteservice/models/optimization_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_breaks.py b/openrouteservice/models/optimization_breaks.py index 71a38636..d648685e 100644 --- a/openrouteservice/models/optimization_breaks.py +++ b/openrouteservice/models/optimization_breaks.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_costs.py b/openrouteservice/models/optimization_costs.py index d65f0721..113f5f27 100644 --- a/openrouteservice/models/optimization_costs.py +++ b/openrouteservice/models/optimization_costs.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_jobs.py b/openrouteservice/models/optimization_jobs.py index 297a7ea2..2d1ed562 100644 --- a/openrouteservice/models/optimization_jobs.py +++ b/openrouteservice/models/optimization_jobs.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_matrices.py b/openrouteservice/models/optimization_matrices.py index 582f3e31..47e06c64 100644 --- a/openrouteservice/models/optimization_matrices.py +++ b/openrouteservice/models/optimization_matrices.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_matrices_cyclingelectric.py b/openrouteservice/models/optimization_matrices_cyclingelectric.py index 8462b28f..d105ba1e 100644 --- a/openrouteservice/models/optimization_matrices_cyclingelectric.py +++ b/openrouteservice/models/optimization_matrices_cyclingelectric.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_options.py b/openrouteservice/models/optimization_options.py index f9c20a1b..e8e185d8 100644 --- a/openrouteservice/models/optimization_options.py +++ b/openrouteservice/models/optimization_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_steps.py b/openrouteservice/models/optimization_steps.py index e78b1ee6..bef584b7 100644 --- a/openrouteservice/models/optimization_steps.py +++ b/openrouteservice/models/optimization_steps.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/optimization_vehicles.py b/openrouteservice/models/optimization_vehicles.py index 9a1337f7..42bce992 100644 --- a/openrouteservice/models/optimization_vehicles.py +++ b/openrouteservice/models/optimization_vehicles.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/pois_filters.py b/openrouteservice/models/pois_filters.py index b1af8a72..459cc3f2 100644 --- a/openrouteservice/models/pois_filters.py +++ b/openrouteservice/models/pois_filters.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/pois_geometry.py b/openrouteservice/models/pois_geometry.py index 3492490d..c7bde43f 100644 --- a/openrouteservice/models/pois_geometry.py +++ b/openrouteservice/models/pois_geometry.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_geojson_body.py b/openrouteservice/models/profile_geojson_body.py index b6d49611..2f88b29d 100644 --- a/openrouteservice/models/profile_geojson_body.py +++ b/openrouteservice/models/profile_geojson_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_json_body.py b/openrouteservice/models/profile_json_body.py index 786e4c5e..635ec555 100644 --- a/openrouteservice/models/profile_json_body.py +++ b/openrouteservice/models/profile_json_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_parameters.py b/openrouteservice/models/profile_parameters.py index 6b1e43f7..c6a16513 100644 --- a/openrouteservice/models/profile_parameters.py +++ b/openrouteservice/models/profile_parameters.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_parameters_restrictions.py b/openrouteservice/models/profile_parameters_restrictions.py index e5158d07..f30ab5ab 100644 --- a/openrouteservice/models/profile_parameters_restrictions.py +++ b/openrouteservice/models/profile_parameters_restrictions.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/profile_weightings.py b/openrouteservice/models/profile_weightings.py index 560c6d40..407956a3 100644 --- a/openrouteservice/models/profile_weightings.py +++ b/openrouteservice/models/profile_weightings.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/round_trip_route_options.py b/openrouteservice/models/round_trip_route_options.py index c7f77048..91a4fed6 100644 --- a/openrouteservice/models/round_trip_route_options.py +++ b/openrouteservice/models/round_trip_route_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/route_options.py b/openrouteservice/models/route_options.py index 027b5d1a..0a90922e 100644 --- a/openrouteservice/models/route_options.py +++ b/openrouteservice/models/route_options.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/route_options_avoid_polygons.py b/openrouteservice/models/route_options_avoid_polygons.py index 8449e970..03f64419 100644 --- a/openrouteservice/models/route_options_avoid_polygons.py +++ b/openrouteservice/models/route_options_avoid_polygons.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/models/snap_profile_body.py b/openrouteservice/models/snap_profile_body.py index 87da66ca..99ff3327 100644 --- a/openrouteservice/models/snap_profile_body.py +++ b/openrouteservice/models/snap_profile_body.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/openrouteservice/rest.py b/openrouteservice/rest.py index d3ef9f72..7ce94f4e 100644 --- a/openrouteservice/rest.py +++ b/openrouteservice/rest.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ diff --git a/pyproject.toml b/pyproject.toml index cd28c821..691ed82b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "openrouteservice" -version = "8.1.0" +version = "8.2.0" authors = ["HeiGIT gGmbH "] description = "Python client for requests to openrouteservice API services" readme = "README.md" diff --git a/setup.py b/setup.py index 727c8f62..59a66ec2 100644 --- a/setup.py +++ b/setup.py @@ -3,9 +3,9 @@ """ Openrouteservice - This is the openrouteservice API documentation for ORS Core-Version 8.1.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 + This is the openrouteservice API documentation for ORS Core-Version 8.2.0. Documentations for [older Core-Versions](https://github.com/GIScience/openrouteservice-docs/releases) can be rendered with the [Swagger-Editor](https://editor-next.swagger.io/). # noqa: E501 - OpenAPI spec version: 8.1.0 + OpenAPI spec version: 8.2.0 Contact: support@smartmobility.heigit.org Generated by: https://github.com/swagger-api/swagger-codegen.git """ @@ -13,7 +13,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "openrouteservice" -VERSION = "8.1.0" +VERSION = "8.2.0" # To install the library, run the following # # python setup.py install