Hi,
I am confused to retrieve map from mapserver using wms call:
What am I doing wrong? it says : " raise ValueError('Tile source URL format not recognized. ’
ValueError: Tile source URL format not recognized. Must contain {X}/{Y}/{Z}, {XMIN}/{XMAX}/{YMIN}/{YMAX} or {Q} template strings.
"
# Define the URL string with placeholders for the bbox values
url = "https://depmap.afad.gov.tr/ms/?map=/map/jeo_yas2wms.map&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&layers=jeo&styles=&SRS=EPSG:3857&WIDTH=400&HEIGHT=300&FORMAT=image/png&bbox={XMIN},{YMIN},{XMAX},{YMAX}"
# Define the bbox values for the area of interest
xmin, ymin, xmax, ymax = 3549145,4871211,3858146,5026295
# Replace the placeholders in the URL string with the bbox values
url = url.format(XMIN=xmin, YMIN=ymin, XMAX=xmax, YMAX=ymax)
# Retrieve the WMS data using the updated URL
self.jeo=hv.Tiles(url)