[gdal-dev] VRT OGRVRTDataSource filter & python function

Peter Schmitt pschmitt at gmail.com
Thu Jul 31 09:27:41 PDT 2025


> Does the PROCESSING 'NATIVE_FILTER=id=234' approach work?

This yields the correct behavior. However, looking at logs with
CPL_DEBUG=ON and enabling postgis logs makes me think it might still be
filtered client side (in Mapserver).

> Another possibility is that you don't directly use the MapServer CGI, but
have a Python WSGI server that intercepts requests and generate mapfiles on
the fly, and use Python MapScript to get the result.

This is an interesting idea! I have never used MapScript and didn't realize
until today that it provides bindings to intercept Mapserver methods in
this manner.  Ultimately for my application I'm trying to do some work
on-the-fly with data in cloud storage which is in not quite the
right format.  Yet another option I am considering is to do some batch
processing to convert my "not quite right" data into a vector tile cache.

Thanks for the ideas!

Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250731/8dc1809b/attachment.htm>


More information about the gdal-dev mailing list