Skip to content

Commit

Permalink
ensure MAP.WEB.METADATA wms_allow_getmap_without_styles set to true (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Dukestep authored Jan 8, 2025
1 parent 02f047b commit 6797300
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geomet_climate/mapfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def gen_web_metadata(m, c, service, url):
d['ows_fees'] = c['identification']['fees']
d['ows_accessconstraints'] = c['identification']['accessconstraints']
d['wms_getmap_formatlist'] = 'image/png,image/jpeg'
d['wms_allow_getmap_without_styles'] = 'true'
d['ows_extent'] = ','.join(str(x) for x in m['extent'])
d['ows_role'] = c['provider']['role']
d['ows_http_max_age'] = 604800 # cache for one week
Expand Down

0 comments on commit 6797300

Please sign in to comment.