Skip to content

Commit

Permalink
chore: added additional optional wms parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
santilland committed Nov 12, 2024
1 parent 09a02d8 commit fdcf0af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/eodash_catalog/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,10 @@ def add_visualization_info(
extra_fields["wms:dimensions"] = dimensions
if "Styles" in endpoint_config:
extra_fields["wms:styles"] = endpoint_config["Styles"]
if "TileSize" in endpoint_config:
extra_fields["wms:tilesize"] = endpoint_config["TileSize"]
if "Version" in endpoint_config:
extra_fields["wms:version"] = endpoint_config["Version"]
media_type = endpoint_config.get("MediaType", "image/jpeg")
endpoint_url = endpoint_config["EndPoint"]
# custom replacing of all ENV VARS present as template in URL as {VAR}
Expand Down

0 comments on commit fdcf0af

Please sign in to comment.