If you put two discontinuous GeoServer layers over the same continuous data source into a LayerGroup e.g. a satellite image of Canada is your data source and you set up two layers, one over Nova Scotia's extent and the other over the extent of British Columbia, which you then put into a LayerGroup that you call "BC & NS".
If the user makes a WMS request to the LayerGroup for a bbox that covers Canada, you will receive the full satellite image of Canada in response, not just the rectangles which bound BC and NS.
To escape this problem, MapML could serve this LayerGroup not as a single URL template that references the layer group, but as a pair of separate URL templates, each with its own location inputs, with those inputs' min/maxvalues scoped to the bounding rectangles of the layers in the group. The MapML mapml-viewer client will only make requests against a template within the extent assigned to that template by its inputs' min/maxvalues (example shows tilematrix extents, but could be pcrs just as well, or mixed fwiw):
If you put two discontinuous GeoServer layers over the same continuous data source into a LayerGroup e.g. a satellite image of Canada is your data source and you set up two layers, one over Nova Scotia's extent and the other over the extent of British Columbia, which you then put into a LayerGroup that you call "BC & NS".
If the user makes a WMS request to the LayerGroup for a bbox that covers Canada, you will receive the full satellite image of Canada in response, not just the rectangles which bound BC and NS.
To escape this problem, MapML could serve this LayerGroup not as a single URL template that references the layer group, but as a pair of separate URL templates, each with its own location
input
s, with thoseinput
s'min
/max
values scoped to the bounding rectangles of the layers in the group. The MapML mapml-viewer client will only make requests against a template within the extent assigned to that template by itsinput
s'min
/max
values (example shows tilematrix extents, but could be pcrs just as well, or mixed fwiw):