[gdal-dev] Using VSIMEM properly

Laurențiu Nicola lnicola at dend.ro
Wed Jan 17 06:34:29 PST 2024


A pipe might prevent you from creating a spatial index, right?

I didn't test it, but another method would be to use a join (you can query multiple data sources in the same ogr2ogr invocation, https://gdal.org/user/ogr_sql_dialect.html#joins), but they are pretty limited and you might lose the spatial index.

If you just want to make it faster, https://gdal.org/drivers/vector/sqlite.html#target-drivers-vector-sqlite-performance-hints can also be pretty useful.

Laurentiu

On Wed, Jan 17, 2024, at 15:51, nagyrobi_r at yahoo.com wrote:
> Technically in want to save time by not saving to disk. That is one of the main reasons that i want to save in memory. 
> I tried chaning them using pipes but didnt work. 
> 
> Cu respect, 
> Robert Nagy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20240117/996b62f8/attachment.htm>


More information about the gdal-dev mailing list