Skip to content

Commit

Permalink
GSIElevTileProvider: fix elevation tile URL
Browse files Browse the repository at this point in the history
  • Loading branch information
minorua committed Oct 5, 2023
1 parent 7504268 commit f6e3d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/gsielevtile/gsielevtileprovider.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def getDataset(self, xmin, ymin, xmax, ymax, mapUnitsPerPixel):
if self.last_dataset and self.last_dataset[0] == [zoom, ulx, uly, lrx, lry]: # if same as last tile set, return cached dataset
return self.last_dataset[1]

urltmpl = "http://cyberjapandata.gsi.go.jp/xyz/dem/{z}/{x}/{y}.txt"
urltmpl = "https://cyberjapandata.gsi.go.jp/xyz/dem/{z}/{x}/{y}.txt"
#urltmpl = "http://localhost/xyz/dem/{z}/{x}/{y}.txt"
tiles = self.fetchFiles(urltmpl, zoom, ulx, uly, lrx, lry)

Expand Down

0 comments on commit f6e3d75

Please sign in to comment.