Writing more than one layer to a GeoPackage file #185
Unanswered
HanOostdijk
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I did not succeed in writing two layers to a GeoPackage with DuckDB CLI.
My version of DuckDB CLI is v0.9.2 3c695d7ba9 (on Windows 11)
Writing one layer goes well when I use e.g. the following script (as
stdin
) :When I add a second
COPY
statement with a different layer name the layer is written tofile.gpkg.tmp
(noticetmp
) and I see the messageError: near line xxx: IO Error: Could not move file: The process cannot access the file because it is being used by another process.
The same happens when I try to add the second layer with a second script.
So questions:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions