<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div style="font-family:Arial;">A pipe might prevent you from creating a spatial index, right?<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">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, <a href="https://gdal.org/user/ogr_sql_dialect.html#joins">https://gdal.org/user/ogr_sql_dialect.html#joins</a>), but they are pretty limited and you might lose the spatial index.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">If you just want to make it faster, <a href="https://gdal.org/drivers/vector/sqlite.html#target-drivers-vector-sqlite-performance-hints">https://gdal.org/drivers/vector/sqlite.html#target-drivers-vector-sqlite-performance-hints</a> can also be pretty useful.<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Laurentiu<br></div><div style="font-family:Arial;"><br></div><div>On Wed, Jan 17, 2024, at 15:51, <a href="mailto:nagyrobi_r@yahoo.com">nagyrobi_r@yahoo.com</a> wrote:<br></div><blockquote type="cite" id="qt" style=""><div>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. <br></div><div>I tried chaning them using pipes but didnt work. <br></div><div><br></div><div>Cu respect, <br></div><div><div>Robert Nagy<br></div></div></blockquote><div style="font-family:Arial;"><br></div></body></html>