|
6 | 6 | import uuid |
7 | 7 | from dataclasses import dataclass, field |
8 | 8 | from pathlib import Path |
9 | | -from typing import TYPE_CHECKING, Any, Iterator, Literal, Sequence, Union, cast, overload |
| 9 | +from typing import TYPE_CHECKING, Any, Literal, Union, cast, overload |
10 | 10 |
|
11 | 11 | import cytoolz.curried as tlz |
12 | 12 | import pyproj |
|
19 | 19 | from pygeoogc.exceptions import InputTypeError, InputValueError, ServiceError, ZeroMatchedError |
20 | 20 |
|
21 | 21 | if TYPE_CHECKING: |
| 22 | + from collections.abc import Iterator, Sequence |
| 23 | + |
22 | 24 | from shapely import LineString, MultiPoint, MultiPolygon, Point, Polygon |
23 | 25 |
|
24 | 26 | RESPONSE = Union[ |
@@ -437,6 +439,7 @@ def getmap_bybox( |
437 | 439 | payload["crs"] = self.crs_str |
438 | 440 |
|
439 | 441 | precision = 2 if pyproj.CRS(self.crs).is_projected else 6 |
| 442 | + |
440 | 443 | def _get_payloads( |
441 | 444 | args: tuple[str, tuple[tuple[float, float, float, float], str, int, int]], |
442 | 445 | ) -> tuple[str, dict[str, str]]: |
@@ -892,9 +895,7 @@ class WMSURLs: |
892 | 895 | nm_3dep: str = ( |
893 | 896 | "https://elevation.nationalmap.gov/arcgis/services/3DEPElevation/ImageServer/WMSServer" |
894 | 897 | ) |
895 | | - gebco: str = ( |
896 | | - "https://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv" |
897 | | - ) |
| 898 | + gebco: str = "https://wms.gebco.net/mapserv" |
898 | 899 |
|
899 | 900 |
|
900 | 901 | @dataclass(frozen=True) |
|
0 commit comments