gis.utils
¶
Module Contents¶
Classes¶
Functions¶
|
Checks if the Coordinates instance is inside the bounding box defined |
Attributes¶
- 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]¶
- gis.utils.outside_bbox(coordinate: onegov.gis.Coordinates | None, bbox: Collection[Coordinates] | None) bool [source]¶
Checks if the Coordinates instance is inside the bounding box defined by the most outward sitting points in an iterable of two+ Coordinates.