gis.utils
Attributes
Classes
Functions
|
Checks if the Coordinates instance is inside the bounding box defined |
Module Contents
- class gis.utils.MapboxRequests(access_token: str | None, endpoint: Literal['geocoding'] = 'geocoding', profile: GeocodeProfile = 'places', api_version: str = 'v5')[source]
- class gis.utils.MapboxRequests(access_token: str | None, endpoint: Literal['directions'], profile: DirectionsProfile, api_version: str = 'v5')
-
- directions_profiles: ClassVar[tuple[DirectionsProfile, Ellipsis]] = ('driving-traffic', 'driving', 'walking', 'cycling')[source]
- geocode(text: str | None = None, street: str | None = None, zip_code: str | None = None, city: str | None = None, ctry: str | None = None, locale: str | None = None, as_url: Literal[False] = False) requests.Response [source]
- geocode(text: str | None = None, street: str | None = None, zip_code: str | None = None, city: str | None = None, ctry: str | None = None, locale: str | None = None, *, as_url: Literal[True]) purl.URL
- geocode(text: str | None = None, street: str | None = None, zip_code: str | None = None, city: str | None = None, ctry: str | None = None, locale: str | None = None, *, as_url: bool) requests.Response | purl.URL
- directions(coordinates: Iterable[tuple[str | float, str | float]], as_url: Literal[False] = False) requests.Response [source]
- directions(coordinates: Iterable[tuple[str | float, str | float]], as_url: Literal[True]) purl.URL
- directions(coordinates: Iterable[tuple[str | float, str | float]], as_url: bool) requests.Response | purl.URL
coordinates: iterable of tuples of (lat, lon)