Skip to content

Commit

Permalink
Also consider the path-part of a WMS service for creating legend entr…
Browse files Browse the repository at this point in the history
…ies (#773)
  • Loading branch information
andreasneumann authored and pfirpfel committed Feb 5, 2019
1 parent 5a5f816 commit 622f81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyramid_oereb/standard/load_legend_entries.py
Expand Up @@ -112,7 +112,7 @@ def create_legend_entries_in_standard_db(config, topic_code, temp_creation_path=
type_code_list.append(unique_plr.type_code)
url, params = parse_url(unique_plr.view_service.reference_wms)
layer_existent = False
service_url = urlunsplit((url.scheme, url.netloc, '', '', '')) \
service_url = urlunsplit((url.scheme, url.netloc, url.path, '', '')) \
if replace_host is None else replace_host
layer = params.get('LAYERS')[0] if replace_layer is None else replace_layer
for layer_config in pyconizer_config:
Expand Down

0 comments on commit 622f81f

Please sign in to comment.