[mapserver-commits] [mapserver/mapserver] 226d19: msDrawMap(): optimize pre-processing of WMS/WFS la...

GitHub noreply at github.com
Thu Oct 12 05:13:47 PDT 2017


  Branch: refs/heads/branch-7-0
  Home:   https://github.com/mapserver/mapserver
  Commit: 226d19a6fe68ac1e0f19cc3a593841e3da54ce22
      https://github.com/mapserver/mapserver/commit/226d19a6fe68ac1e0f19cc3a593841e3da54ce22
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2017-10-12 (Thu, 12 Oct 2017)

  Changed paths:
    M mapdraw.c
    M maphttp.c

  Log Message:
  -----------
  msDrawMap(): optimize pre-processing of WMS/WFS layers

Currently we use msLayerIsVisible() to determine how many potential WMS/WFS
layers there are. But this is a costly operation. Rather test the connectiontype,
and defer testing msLayerIsVisible() as late as possible.




More information about the mapserver-commits mailing list