You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Data Interop converts only the loaded features of a streamed layer, on the UI thread without Cancel #1857
Data Interop (data.convert, Analyze › Workflows › Data Interop) has two problems, both older than the recent export-notice changes (#1780):
A streamed layer converts only what's loaded.convert reads the layer's in-memory dataset. For a layer streamed from GeoPackage, FlatGeobuf, GeoParquet or PostGIS, that holds only the features loaded for the current view. The file it writes is missing the rest, and nothing says so. Export Features reads the whole source (exports::write_chunks_in); Data Interop doesn't.
It holds the window. It runs on the UI thread, with no progress and no Cancel, although its work grows with the layer. AGENTS.md › Never hold the window asks for a background path. Data Interop isn't in exports::runs_in_background, so long_commands_stop_when_cancelled_while_they_run doesn't cover it.
Steps to reproduce
Add a large GeoPackage or FlatGeobuf layer, so it streams, and zoom in on part of it.
Run Data Interop on it, to GeoJSON or CSV with a path.
The file holds only the features loaded for the view. With a very large layer that is all loaded, the window doesn't respond until the conversion finishes.
Expected
The conversion reads the whole source, as Export Features does, and runs on the export background path, with progress and Cancel. Without a path (text returned), it can stay on the UI thread, but then a streamed layer should be refused or noticed rather than cut silently.
Since both changes touch the same code, I'd fix them together.
I’m taking this. I’ll reuse the whole-source export background path for conversions to a file, with progress and cancellation, and cover streamed layers and text-only conversion with regression tests.
Activity
Mavrick-F commentedon Nov 12, 2026
I’m taking this. I’ll reuse the whole-source export background path for conversions to a file, with progress and cancellation, and cover streamed layers and text-only conversion with regression tests.