[MapServer-dev] Using OGR geoparquet data in mapserver - no spatial filtering

Even Rouault even.rouault at spatialys.com
Mon Jul 21 07:05:17 PDT 2025


Mike,
> Anyone know a current way to get mapserver to add spatial filtering on OGR geoparquet layers. Have been unable to get the actual sql query being used with CPL_DEBUG inside mapserver with CONFIG "CPL_DEBUG" "ON" but from the performance, it appears no spatial filtering is being done. I suspect code changes to mapogr would be needed to do this but wondering if anyone else has looked into this.
I haven't tried but I would assume this should work
>
> Also, I tried using ADBC connection to parquet, and while it worked (technically) it really used an excessive amount of CPU and memory over using the geoparquet driver.

Yes this is "expected". I noticed that the Arrow API of duckdb tends to 
ingest everything in memory before paging results.

Even

-- 
http://www.spatialys.com
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20250721/92f84548/attachment.htm>


More information about the MapServer-dev mailing list