[mapserver-dev] Call for discussion on MS RFC 114: Faster retrieval of shape count
Lime, Steve D (MNIT)
Steve.Lime at state.mn.us
Tue Feb 9 16:34:15 PST 2016
Hi Even: I take it that "the_normal_sql_query" could also include the translated filter described by a layers FILTER/FILTERITEM combo or the NATIVE_FILTER processing option, correct?
The only other gotcha is how (or if) to deal with class-level templates. The presence of a template is used to decide if a feature is to be processed as part of query operation and, in theory, if it should be counted. Typically one would configure a template at the LAYER-level but it's also possible to define CLASS-level templates. For example:
CLASSITEM 'column'
CLASS
EXRESSION 'foo'
TEMPLATE 'void'
...
END
CLASS
EXRESSION 'bar'
# no template
...
END
In this case you wouldn't know if you should count a feature until you know what CLASS it is. Granted this is an older configuration option that probably isn't widely used but it does exist. Perhaps it's currently broken anyway, I haven't tested. Just not sure how to deal with it. Perhaps it just needs to be noted as a configuration exception folks need to avoid when setting up WFS. I'd be happy to see that option removed in the next version - it adds unnecessary complexity to the query code. You can see the affect in msIsLayerQueryable() in mapquery.c among other places in that source file.
Steve
-----Original Message-----
From: mapserver-dev [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Even Rouault
Sent: Monday, February 08, 2016 4:58 AM
To: MapServer Dev Mailing List <mapserver-dev at lists.osgeo.org>
Subject: [mapserver-dev] Call for discussion on MS RFC 114: Faster retrieval of shape count
Hi,
Your comments on the following RFC are welcome :
http://mapserver.org/development/rfc/ms-rfc-114.html
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
More information about the mapserver-dev
mailing list