<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi,</p>
    <p>I'm talking about OGC filters which are undocumented currently. I
      found this feature here :
      <a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS-Enhancement-Proposals/issues/104">https://github.com/qgis/QGIS-Enhancement-Proposals/issues/104</a></p>
    <p>Niki Oro, you can try this filter changing geometry name,
      projection and coordinates :<br>
    </p>
    <p>FILTER=<Filter><BBOX><PropertyName>Name>geom</PropertyName><Box
      srsName='EPSG:3857'><coordinates>-320000,6312434
-109000,6132571</coordinates></Box></BBOX></Filter></p>
    <p>Some examples in mapserver can be found here :
      <a class="moz-txt-link-freetext" href="https://mapserver.org/development/rfc/ms-rfc-118.html">https://mapserver.org/development/rfc/ms-rfc-118.html</a><br>
    </p>
    <div class="moz-cite-prefix">Le 17/11/2020 à 19:09, DelazJ a écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAECJsSoGYV=M0FZ4wPQz2qYmPfoQkQvze6t_CyN6RZ=94tJbOQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>Hi</div>
        <div>Nicolas, about the filter parameter, are you referring to <a
href="https://docs.qgis.org/3.16/en/docs/server_manual/services.html#filter"
            moz-do-not-send="true">https://docs.qgis.org/3.16/en/docs/server_manual/services.html#filter</a>
          ?</div>
        <div>That said, there is already a bbox parameter for the wms
          service : <a
href="https://docs.qgis.org/3.16/en/docs/server_manual/services.html#bbox"
            moz-do-not-send="true">https://docs.qgis.org/3.16/en/docs/server_manual/services.html#bbox</a></div>
        <div>
          <div><br>
          </div>
          <div>Regards,</div>
          <div>Harrissou</div>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Le mar. 17 nov. 2020 à 18:56,
          niki oro <<a href="mailto:oro.niki@gmail.com"
            moz-do-not-send="true">oro.niki@gmail.com</a>> a écrit :<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">I wasn't lucky :( Could you show me some
            examples of using OGC geographical filters with WMS getMap,
            please?
            <div><br>
            </div>
            <div>Thank you</div>
          </div>
          <br>
          <div class="gmail_quote">
            <div dir="ltr" class="gmail_attr">Il giorno lun 2 nov 2020
              alle ore 09:58 niki oro <<a
                href="mailto:oro.niki@gmail.com" target="_blank"
                moz-do-not-send="true">oro.niki@gmail.com</a>> ha
              scritto:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px
              0.8ex;border-left:1px solid
              rgb(204,204,204);padding-left:1ex">
              <div dir="ltr">Thanks, I'll check it out. <br>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="ltr" class="gmail_attr">Il giorno sab 31 ott
                  2020 alle ore 21:42 Nicolas Boisteault <<a
                    href="mailto:nboisteault@3liz.com" target="_blank"
                    moz-do-not-send="true">nboisteault@3liz.com</a>>
                  ha scritto:<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div dir="auto">Hi,
                    <div dir="auto">You can use OGC filter with wms. It
                      is undocumented but you can look at this QEP : <a
href="https://github.com/qgis/QGIS-Enhancement-Proposals/issues/104"
                        target="_blank" moz-do-not-send="true">https://github.com/qgis/QGIS-Enhancement-Proposals/issues/104</a></div>
                  </div>
                  <br>
                  <div class="gmail_quote">
                    <div dir="ltr" class="gmail_attr">Le sam. 31 oct.
                      2020 à 17:17, niki oro <<a
                        href="mailto:oro.niki@gmail.com" target="_blank"
                        moz-do-not-send="true">oro.niki@gmail.com</a>>
                      a écrit :<br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0px
                      0px 0px 0.8ex;border-left:1px solid
                      rgb(204,204,204);padding-left:1ex">
                      <div dir="ltr">Hi everyone,
                        <div><br>
                        </div>
                        <div>I'm working with a layer which I need to
                          filter in a WMS GetMap request by adding a
                          BBOX query in order to retrieve only a subset
                          of information. I suppose that the right way
                          to accomplish this is by adding a kind of CQL
                          filter, but I cannot find the proper manner.</div>
                        <div>I tried with this: </div>
                        <div>Filter= LayerWhichINeedToFilter
                          : "nameOfGeometryAttribute" 'BBOX'(2841625.00,
                          8882591.00, 2962275, 8971491);</div>
                        <div><br>
                        </div>
                        <div>Is there a right way to do this?</div>
                        <div>Thank you</div>
                      </div>
                      _______________________________________________<br>
                      Qgis-user mailing list<br>
                      <a href="mailto:Qgis-user@lists.osgeo.org"
                        rel="noreferrer" target="_blank"
                        moz-do-not-send="true">Qgis-user@lists.osgeo.org</a><br>
                      List info: <a
                        href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
                        rel="noreferrer noreferrer" target="_blank"
                        moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
                      Unsubscribe: <a
                        href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
                        rel="noreferrer noreferrer" target="_blank"
                        moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote>
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </div>
          _______________________________________________<br>
          Qgis-user mailing list<br>
          <a href="mailto:Qgis-user@lists.osgeo.org" target="_blank"
            moz-do-not-send="true">Qgis-user@lists.osgeo.org</a><br>
          List info: <a
            href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
          Unsubscribe: <a
            href="https://lists.osgeo.org/mailman/listinfo/qgis-user"
            rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote>
      </div>
    </blockquote>
  </body>
</html>