Thanks, I'll check it out. I think this is definitely what I want. Seth G <se...@geographika.co.uk> 于 2022年2月20日周日 21:23写道:
> Hi Kyle, > > Take a look at LAYER SCALETOKEN - > https://mapserver.org/mapfile/layer.html#mapfile-layer-scaletoken > and the RFC https://mapserver.org/development/rfc/ms-rfc-86.html#rfc86 > > You should be able to add a filter directly to the DATA clause based on > the scale that would filter the data directly at source. > > Seth > -- > web:https://geographika.net > twitter: @geographika > > > On Sun, Feb 20, 2022, at 12:59 AM, Kyle Qian wrote: > > Hi, I know that MapServer will determine the CLASS of a Feature based on > the expression and scale range when drawing, but what if I want to avoid > reading data that is not needed under the current scale? FILTER can filter > LAYER data at the same time as spatial query, but do I have to create a > separate LAYER for each scale range? > Thanks. > _______________________________________________ > MapServer-users mailing list > MapServer-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > > >
_______________________________________________ MapServer-users mailing list MapServer-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users