[gdal-dev] Using VSIMEM properly
nagyrobi_r at yahoo.com
nagyrobi_r at yahoo.com
Wed Jan 17 07:26:34 PST 2024
Thanks for the tips Laurențiu.
O zi faină, Robert Nagy
Sent from Yahoo Mail on Android
On Wed, Jan 17, 2024 at 3:34 PM, Laurențiu Nicola<lnicola at dend.ro> wrote:
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/1c6b07df/attachment.htm>
More information about the gdal-dev
mailing list