hslayers-ng icon indicating copy to clipboard operation
hslayers-ng copied to clipboard

Load WMS with the "ignore extent" option

Open fzadrazil opened this issue 1 year ago • 1 comments

Feature Request

Is your feature request related to a problem? Please describe. When a layer is loaded from composition or from catalogue, there is no way how to ignore its extent by default. That can lead to clipped symbols on the borders of the extent. It can later be set in layer manager, but user doesn't have to know about that (it can be even an application without sidebar).

image

Describe the solution you'd like Have an option to save layer with ignoring extent to map composition. That would require change in the map-composition schema. Possibly set "ignore extent" as default when loading layer from catalogue or map composition?

fzadrazil avatar Apr 22 '24 09:04 fzadrazil

This is constantly annoying. As a first step, we might brute-force add a larger extra space around to the calculated bbox.

jmacura avatar Apr 26 '24 22:04 jmacura

  • [x] Add layer - automatically extend the extent by, let's say, 10%.

  • [x] Save current map - Save "ignoreExtent" as a temporary workaround as a param of the layer.

     "params": {
        "FORMAT": "image/png; mode=8bit",
        "INFO_FORMAT": "application/vnd.ogc.gml",
        "LAYERS": "chargers",
        "STYLES": "",
        "VERSION": "1.3.0",
        "ignoreExtent": true
      },

fzadrazil avatar Jun 03 '24 09:06 fzadrazil