Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GDAL Database Creation Options #500

Open
mhkeller opened this issue Feb 19, 2025 · 0 comments
Open

Support GDAL Database Creation Options #500

mhkeller opened this issue Feb 19, 2025 · 0 comments

Comments

@mhkeller
Copy link

mhkeller commented Feb 19, 2025

I see in the docs that you can pass in LAYER_CREATION_OPTIONS like so:

COPY ⟨table⟩ TO 'some/file/path/filename.geojson'
WITH (FORMAT GDAL, DRIVER 'GeoJSON', LAYER_CREATION_OPTIONS 'WRITE_BBOX=YES');

I'm using the Sqlite driver and in the GDAL docs, there are also Database Creation Options. These don't seem to be supported with the syntax:

COPY ⟨table⟩ TO 'some/file/path/filename.sqlite'
WITH (FORMAT GDAL, DRIVER 'SQLite', DATABASE_CREATION_OPTIONS 'SPATIALITE=NO,METADATA=NO');

If I got that incorrect and my syntax was just wrong, please let me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant