Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FI_2481: Web Map Context (WMC) backdrop layers don't include service version #21

Closed
nicolas-m-brgm opened this issue Oct 13, 2020 · 5 comments
Assignees
Labels
migrated Issue originally raised in Forge Needs checking portal For issues and enhancements to the OneGeology Portal priority_2 wmc Web Map Context

Comments

@nicolas-m-brgm
Copy link

nicolas-m-brgm commented Oct 13, 2020

Originally posted as: https://forge.brgm.fr/issues/24841
Start date: | 16/12/2019

When saving a WMC file from the portal the backdrop layers don't include a service version, standard layers do.

As per below examples.

    <Layer queryable="false" hidden="false">
        <Server service="OGC:WMS" version="1.3.0">
            <OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" 
                xlink:href="https://map.bgs.ac.uk/arcgis/services/AGA/BGS_Groundwater/MapServer/WmsServer?" 
            />
        </Server>
        <Name>NGA_BGS_5M_Geology</Name>
        <Title>NGA_BGS_5M_Geology</Title>
        <FormatList>
            <Format current="true">image/png</Format>
        </FormatList>
        <StyleList>
            <Style current="true">
                <Name/>
                <Title>Default</Title>
            </Style>
        </StyleList>
    </Layer>

Example: standard data layer giving version

    <Layer queryable="false" hidden="false">
        <Server service="OGC:WMS">
            <OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" 
                xlink:href="http://ogc2.bgs.ac.uk/geoserver/OneG/ows"/>
        </Server>
        <Name>ARCTIC_NASA_BLUEMARBLE</Name>
        <Title>ARCTIC_NASA_BLUEMARBLE</Title>
        <FormatList>
            <Format current="true">image/jpeg</Format>
        </FormatList>
        <StyleList>
            <Style current="true">
                <Name/>
                <Title>Default</Title>
            </Style>
        </StyleList>
    </Layer>

Example backdrop layer without version

Need to have a version so that external WMC clients can make valid GetMap requests.

Should be version="1.3.0" for ARCTIC_NASA_BLUEMARBLE and ATA_USGS_LIMA layers

@nmtoken nmtoken added the migrated Issue originally raised in Forge label Oct 20, 2020
@nmtoken nmtoken changed the title Web Map Context (WMC) backdrop layers don't include service version FI_2481: Web Map Context (WMC) backdrop layers don't include service version Oct 21, 2020
@nmtoken nmtoken added the portal For issues and enhancements to the OneGeology Portal label Oct 21, 2020
@nmtoken
Copy link
Contributor

nmtoken commented Oct 21, 2020

Still an issue with Portal v2020.0.1

@nmtoken nmtoken added the wmc Web Map Context label Jun 23, 2021
@nicolas-m-brgm nicolas-m-brgm self-assigned this Oct 21, 2021
@hramambazafy
Copy link

[Needs checking]
Bug is not reproduced

@nmtoken
Copy link
Contributor

nmtoken commented Jul 7, 2023

How did you generate the WMC to test that the bug can't be reproduced? it no longer seems possible (#88)

@nmtoken
Copy link
Contributor

nmtoken commented Jul 10, 2023

I see that standard layers in generated WMC have service version numbers (in staging portal) as previously reported, but I also see that the backdrop layers are no longer included, so can't test the behaviour. Testing against standard and Antarctic projections.

@nmtoken
Copy link
Contributor

nmtoken commented Jul 10, 2023

As behaviour can't be tested without backdrop layers included in the WMC will close this issue, but open a new one for the missing backdrops ~ #89

@nmtoken nmtoken closed this as completed Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migrated Issue originally raised in Forge Needs checking portal For issues and enhancements to the OneGeology Portal priority_2 wmc Web Map Context
Projects
None yet
Development

No branches or pull requests

3 participants