<div dir="ltr"><div dir="ltr"><div>> Does the PROCESSING 'NATIVE_FILTER=id=234' approach work?</div><div><br></div><div>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).</div><div><br></div><div>> 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.</div><div><br></div><div>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.</div><div><br></div><div>Thanks for the ideas!</div><div><br></div><div>Pete </div></div></div>