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

invalid OnlineResource element returned by WMS 1.3.0 GetCapabilities #391

Open
mtCarto opened this issue Feb 11, 2022 · 0 comments
Open
Labels

Comments

@mtCarto
Copy link

mtCarto commented Feb 11, 2022

Using GeoTools 27-Snapshot to access a WMS 1.3.0 service endpoint fails to parse the GetCapabilities document returned by the geotrellis-server. The culprit is a blank OnlineResource element in the service metadata.

        <Name>WMS</Name>
        <Title>elevation</Title>
        <KeywordList>
            <Keyword>HRDEM</Keyword>
            <Keyword>DEM</Keyword>
            <Keyword>DTM</Keyword>
            <Keyword>DSM</Keyword>
            <Keyword>MNEHR</Keyword>
            <Keyword>MNE</Keyword>
            <Keyword>MNS</Keyword>
            <Keyword>MNT</Keyword>
        </KeywordList>
        <OnlineResource/>

Is this a bug with the server not populating the OnlineResource block? Could that element be omitted if it has no values, since the WMS spec doesn't say its required but states it may be used to refer to the service providers site.

@pomadchin pomadchin added the bug label May 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants