<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks Tanya. <br>
      <br>
      I'm going to run a few tests with a database connection to see
      what queries are generated to calculate the layer extents for
      WMS/WFS, and then may make a suggestion to update the MapServer
      docs.<br>
      <br>
      Seth<br>
      <br>
      On 02/11/2016 22:12, TC Haddad wrote:<br>
    </div>
    <blockquote
cite="mid:CAFVrPyi=rmiQi6LzrPP+6gK5fRTBgkX779tR0HzGS4AdazoTZw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Seth,
        <div><br>
        </div>
        <div>I do agree that it should be *highly* recommended to set
          the extents of each LAYER, as people are often unaware what a
          huge speed advantage it is to have this already set. I found
          it to be particularly true for WFS. </div>
        <div><br>
        </div>
        <div>I believe you should set the layer extents in the native
          coordinates of the layer, and let Mapserver take it from
          there.</div>
        <div><br>
        </div>
        <div>Tanya</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Wed, Nov 2, 2016 at 11:38 AM, Seth G
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:geographika@gmail.com" target="_blank">geographika@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hi all,<br>
              <br>
              A draft tutorial has been completed on use of projections
              in MapServer: <a moz-do-not-send="true"
href="https://geographika.github.io/tutorial/quickstart/projections.html"
                target="_blank">https://geographika.github.io/<wbr>tutorial/quickstart/<wbr>projections.html</a><br>
              Comments and feedback welcome. This relates to <a
                moz-do-not-send="true"
                href="http://mapserver.org/development/rfc/ms-rfc-115.html"
                target="_blank">http://mapserver.org/<wbr>development/rfc/ms-rfc-115.<wbr>html</a><br>
              <br>
              There are a couple of things I came across that are still
              unclear to me relating to extents.<br>
              <br>
              <ul>
                <li>Setting the EXTENT for a map has no effect when
                  accessing via WMS, apart from the BoundingBox of the
                  GetCapabilities metadata. Data is not
                  restricted/limited.Not setting this leaves the MAP
                  level BoundingBox extent as -1,-1,-1,-1. Should the
                  MAP EXTENT have any other effects?<br>
                </li>
              </ul>
              <ul>
                <li>The help for LAYER EXTENT states "In most cases you
                  will not need to specify this, but it can be used to
                  avoid the speed cost of having MapServer compute the
                  extents of the data" - however all BoundingBox extents
                  for each layer are automatically calculated from the
                  source data in the WMS GetCapabilities request. I
                  presume this could become quite slow with more and
                  more layers. Is it/should it be recommended to
                  manually set these (either with wms_extent in the
                  LAYER METADATA or using LAYER EXTENT)?</li>
              </ul>
              <p>Thanks for any clarifications on the above. <br>
              </p>
              <p>Regards,</p>
              <p>Seth<br>
              </p>
              <div class="m_4627867212317795887moz-text-html"
                lang="x-western"> <font color="#888888">--<br>
                  web:</font><a moz-do-not-send="true"
                  href="http://geographika.co.uk" target="_blank"><font
                    color="#888888"> </font>http://geographika.co.uk</a><br>
                <font color="#888888">twitter: @geographika<br>
                </font><br>
              </div>
            </div>
            <br>
            ______________________________<wbr>_________________<br>
            mapserver-users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.<wbr>org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
              rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/mapserver-<wbr>users</a><br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>