[mapserver-users] MapServer Projections and Extents Tutorial
Seth G
geographika at gmail.com
Fri Nov 4 01:04:57 PDT 2016
Thanks Tanya.
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.
Seth
On 02/11/2016 22:12, TC Haddad wrote:
> Hi Seth,
>
> 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.
>
> I believe you should set the layer extents in the native coordinates
> of the layer, and let Mapserver take it from there.
>
> Tanya
>
> On Wed, Nov 2, 2016 at 11:38 AM, Seth G <geographika at gmail.com
> <mailto:geographika at gmail.com>> wrote:
>
> Hi all,
>
> A draft tutorial has been completed on use of projections in
> MapServer:
> https://geographika.github.io/tutorial/quickstart/projections.html
> <https://geographika.github.io/tutorial/quickstart/projections.html>
> Comments and feedback welcome. This relates to
> http://mapserver.org/development/rfc/ms-rfc-115.html
> <http://mapserver.org/development/rfc/ms-rfc-115.html>
>
> There are a couple of things I came across that are still unclear
> to me relating to extents.
>
> * 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?
>
> * 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)?
>
> Thanks for any clarifications on the above.
>
> Regards,
>
> Seth
>
> --
> web:http://geographika.co.uk
> twitter: @geographika
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> <mailto:mapserver-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> <http://lists.osgeo.org/mailman/listinfo/mapserver-users>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20161104/30170e67/attachment.htm>
More information about the MapServer-users
mailing list