[mapserver-dev] msPostGISLayerGetExtent should consider layer filter

Rahkonen Jukka (MML) jukka.rahkonen at maanmittauslaitos.fi
Fri Apr 6 00:24:58 PDT 2018


What would be the benefits of appending the ”where”? How often the query is run and can it be slow?

-Jukka Rahkonen-

Lähettäjä: mapserver-dev [mailto:mapserver-dev-bounces at lists.osgeo.org] Puolesta Tamas Szekeres
Lähetetty: 6. huhtikuuta 2018 10:19
Vastaanottaja: mapserver-dev at lists.osgeo.org
Aihe: [mapserver-dev] msPostGISLayerGetExtent should consider layer filter

Hi Devs,

We would require that msPostGISLayerGetExtent would apply the specified filter when calculating the layer extent. This would probably be happen by appending the "where" clause from  msPostGISBuildSQLWhere to sqlExtentTemplate. Does this make sense?

I've checked the code and some of the drivers consider the filter and some are not, so I'm not completely sure about the expected behaviour.

Best regards,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20180406/495bbdd3/attachment.html>

More information about the mapserver-dev mailing list