We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This was run on Ubuntu 20 LTS, PostgreSQL 15, PostGIS 3.2.1.
$ ~/duckdb_spatial/build/release/duckdb \ -unsigned \ census.duckdb
COPY (SELECT wkb_geometry WKT FROM census_2010 ORDER BY LENGTH(wkb_geometry::text) DESC LIMIT 1) TO 'out.csv' WITH (HEADER 1);
$ head -c40 out.csv
WKT "POLYGON ((-89.859552 30.004109, -89
$ ogr2ogr \ -f GPKG \ out.gpkg \ CSV:out.csv \ -a_srs EPSG:4326
FAILURE: Unable to open datasource `CSV:out.csv' with the following drivers. ... -> `CSV'
I have to add a delimiter to the first line of the file before ogr2ogr will open it properly.
$ sed -i '1 s|$|,|' out.csv $ ogr2ogr \ -f GPKG \ out.gpkg \ CSV:out.csv \ -a_srs EPSG:4326
The text was updated successfully, but these errors were encountered:
d3260c8
Merge pull request #7597 from rouault/fix_7595
8363245
CSV: allow reading single column file (fixes #7595)
Thank you.
Sorry, something went wrong.
rouault
No branches or pull requests
This was run on Ubuntu 20 LTS, PostgreSQL 15, PostGIS 3.2.1.
$ ~/duckdb_spatial/build/release/duckdb \ -unsigned \ census.duckdb
I have to add a delimiter to the first line of the file before ogr2ogr will open it properly.
$ sed -i '1 s|$|,|' out.csv $ ogr2ogr \ -f GPKG \ out.gpkg \ CSV:out.csv \ -a_srs EPSG:4326
The text was updated successfully, but these errors were encountered: