Skip to content

Commit

Permalink
Update Kartverket URL
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesSample committed Nov 28, 2024
1 parent ad0467a commit cd94b61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions teotil3/vis.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ def plot_catchment(
raise ValueError("'include_connected' must be either True or False.")

if basemap == "kartverket":
# basemap = "https://cache.kartverket.no/topo4/v1/gmaps/{z}/{x}/{y}.png"
basemap = "http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=topo4&zoom={z}&x={x}&y={y}"
basemap = "https://cache.kartverket.no/v1/wmts/1.0.0/topo/default/webmercator/{z}/{y}/{x}.png"

if include_connected:
if direct == "down":
Expand Down

0 comments on commit cd94b61

Please sign in to comment.