Skip to content
Snippets Groups Projects
Commit 7fc76067 authored by Alessandro Cerioni's avatar Alessandro Cerioni
Browse files

Improved detection of WMS links

parent 3f4f51ad
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ def protocol_to_formats_and_services( links ):
for k, link in enumerate(links):
if link['protocol'] == 'OGC:WMS':
if 'OGC:WMS' in link['protocol']:
output[k]['formats'] = ['PNG', 'JPEG']
output[k]['service'] = 'WMS'
elif link['protocol'] == 'OGC:WFS':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment