EOxServer / eoxserver

EOxServer is a Python application and framework for presenting Earth Observation (EO) data and metadata.
https://eoxserver.org
Other
40 stars 19 forks source link

Children Layers don't have dimension #484

Closed jankovicgd closed 3 years ago

jankovicgd commented 3 years ago

Could be the reason why QGIS doesn't want to use dynamic temporal querying for the sublayers but only for the parent layer. Example from GetCapabilities with comments below.

<Layer>
    <Title>Test configuration of MapServer used to demonstrate EOxServer</Title>
    <CRS>EPSG:4326</CRS>
    <CRS>EPSG:3857</CRS>
    <CRS>EPSG:3035</CRS>
    <EX_GeographicBoundingBox>
        <westBoundLongitude>-180</westBoundLongitude>
        <eastBoundLongitude>180</eastBoundLongitude>
        <southBoundLatitude>-90</southBoundLatitude>
        <northBoundLatitude>90</northBoundLatitude>
    </EX_GeographicBoundingBox>
    <Layer queryable="0">
        <Name>S2L2A</Name> <!-- Only this layer has WMS-T in QGIS since the Dimension temporal child exists below-->
        <Title>S2L2A</Title>
        <EX_GeographicBoundingBox>
            <westBoundLongitude>8.999727904106207</westBoundLongitude>
            <eastBoundLongitude>17.90455028557428</eastBoundLongitude>
            <southBoundLatitude>45.89570459956209</southBoundLatitude>
            <northBoundLatitude>49.65272281402924</northBoundLatitude>
        </EX_GeographicBoundingBox>
        <Layer queryable="1"> <!-- Sublayers don't have Dimension and don't have dynamic WMS-T in QGIS -->
            <Name>S2L2A__outlines</Name>
            <Title>S2L2A__outlines</Title>
        </Layer>
        <Layer queryable="1">
            <Name>S2L2A__outlined</Name>
            <Title>S2L2A__outlined</Title>
        </Layer>
        <Layer queryable="0">
            <Name>S2L2A</Name>
            <Title>S2L2A</Title>
        </Layer>
        <Layer queryable="0">
            <Name>S2L2A__FALSE_COLOR</Name>
            <Title>S2L2A__FALSE_COLOR</Title>
        </Layer>
        <Layer queryable="0">
            <Name>S2L2A__NDVI</Name>
            <Title>S2L2A__NDVI</Title>
        </Layer>
        <Layer queryable="0">
            <Name>S2L2A__TRUE_COLOR</Name>
            <Title>S2L2A__TRUE_COLOR</Title>
        </Layer>
        <Dimension name="time" units="ISO8601" default="2021-05-31T23:59:59Z">2019-09-01T00:00:00Z/2021-05-31T23:59:59Z/PT1S</Dimension>
    </Layer>
</Layer>
jankovicgd commented 3 years ago

on another note. when the TIME param isn't provided the requests take long and won't load in qgis. Sample url that qgis tries to load:

Network request 
https://vs-s52gfrubv875jlgrfdsa.demo.hub.eox.at/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=45.89570459956208737,8.999727904106206822,49.65272281402923937,17.90455028557428108&CRS=EPSG:4326&WIDTH=1625&HEIGHT=685&LAYERS=S2L2A__TRUE_COLOR&STYLES=&FORMAT=image/png&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96&TRANSPARENT=TRUE
timed out
jankovicgd commented 3 years ago

fixed with https://github.com/EOxServer/eoxserver/pull/487