[mapserver-commits] [mapserver/mapserver] 9f1ef9: [Filter] Fix slow filter BBOX evaluation with tile...

GitHub noreply at github.com
Wed Jun 22 09:43:25 PDT 2016


  Branch: refs/heads/branch-7-0
  Home:   https://github.com/mapserver/mapserver
  Commit: 9f1ef9510c1b2e38f60c1fab4d7fa8cfca38a554
      https://github.com/mapserver/mapserver/commit/9f1ef9510c1b2e38f60c1fab4d7fa8cfca38a554
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2016-06-22 (Wed, 22 Jun 2016)

  Changed paths:
    M mapogcfilter.c
    M mapogcfilter.h
    M mapogcfiltercommon.c
    A msautotest/wxs/data/point_2_49.dbf
    A msautotest/wxs/data/point_2_49.shp
    A msautotest/wxs/data/point_2_49.shx
    A msautotest/wxs/data/point_3_50.dbf
    A msautotest/wxs/data/point_3_50.shp
    A msautotest/wxs/data/point_3_50.shx
    A msautotest/wxs/data/shp_tileindex_of_shp.dbf
    A msautotest/wxs/data/shp_tileindex_of_shp.shp
    A msautotest/wxs/data/shp_tileindex_of_shp.shx
    A msautotest/wxs/expected/wfs_shp_tileindex_of_shp_bbox_filter.xml
    M msautotest/wxs/wfs_200_allgeoms.map
    A msautotest/wxs/wfs_shp_tileindex_of_shp.map

  Log Message:
  -----------
  [Filter] Fix slow filter BBOX evaluation with tileindex of shapefile (#5291)

On a layer that is a tileindex of shapefiles, a BBOX as WFS XML filter
used the slow path of common expression evaluation, which caused all
shapefiles to be opened, instead of just the ones intersecting the BBOX.
This commit tries to fetch a "top BBOX" filter and use it as the rect
passed to msLayerWhichShapes().




More information about the mapserver-commits mailing list