Skip to content

Commit b6a490d

Browse files
author
Taher Chegini
committed
ENH: Update GebCo's link to the latest. [skip ci]
1 parent d20d66c commit b6a490d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/pygeoogc/pygeoogc.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import uuid
77
from dataclasses import dataclass, field
88
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
1010

1111
import cytoolz.curried as tlz
1212
import pyproj
@@ -19,6 +19,8 @@
1919
from pygeoogc.exceptions import InputTypeError, InputValueError, ServiceError, ZeroMatchedError
2020

2121
if TYPE_CHECKING:
22+
from collections.abc import Iterator, Sequence
23+
2224
from shapely import LineString, MultiPoint, MultiPolygon, Point, Polygon
2325

2426
RESPONSE = Union[
@@ -437,6 +439,7 @@ def getmap_bybox(
437439
payload["crs"] = self.crs_str
438440

439441
precision = 2 if pyproj.CRS(self.crs).is_projected else 6
442+
440443
def _get_payloads(
441444
args: tuple[str, tuple[tuple[float, float, float, float], str, int, int]],
442445
) -> tuple[str, dict[str, str]]:
@@ -892,9 +895,7 @@ class WMSURLs:
892895
nm_3dep: str = (
893896
"https://elevation.nationalmap.gov/arcgis/services/3DEPElevation/ImageServer/WMSServer"
894897
)
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"
898899

899900

900901
@dataclass(frozen=True)

0 commit comments

Comments
 (0)