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
Considering the following geojson file:
{ "type": "FeatureCollection", "features": [ { "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [] }, "properties": { "id": 0 } }, { "type": "Feature", "geometry": { "type": "LineString", "coordinates": [] }, "properties": { "id": 1 } } ] }
and SQL statement:
CREATE TABLE t0 AS SELECT * FROM ST_READ('/log/t0.geojson'); SELECT id, ST_AsText(geom) FROM t0; -- ┌───────┬──────────────────┐ -- │ id │ st_astext(geom) │ -- │ int32 │ varchar │ -- ├───────┼──────────────────┤ -- │ 0 │ │ -- │ 1 │ LINESTRING EMPTY │ -- └───────┴──────────────────┘
The EMPTY POLYGON should be imported into t0 to avoid losing information during the importing process.
Besides, the EMPTY LINESTRING is imported successfully. The importing behaviors of POLYGON and LINESTRING should be consistent.
Version: Spatial version: FORCE INSTALL spatial FROM 'http://nightly-extensions.duckdb.org'; and LOAD spatial;
DuckDB version:
┌─────────────────┬────────────┐ │ library_version │ source_id │ │ varchar │ varchar │ ├─────────────────┼────────────┤ │ v0.10.0 │ 20b1486d11 │ └─────────────────┴────────────┘
The text was updated successfully, but these errors were encountered:
bugtracker link: duckdb/duckdb-spatial#273 fix link: OSGeo/gdal@c7e2ca8 reproduce: OSGeo/gdal@efccb78
Sorry, something went wrong.
No branches or pull requests
Considering the following geojson file:
and SQL statement:
The EMPTY POLYGON should be imported into t0 to avoid losing information during the importing process.
Besides, the EMPTY LINESTRING is imported successfully. The importing behaviors of POLYGON and LINESTRING should be consistent.
Version:
Spatial version:
FORCE INSTALL spatial FROM 'http://nightly-extensions.duckdb.org'; and LOAD spatial;
DuckDB version:
The text was updated successfully, but these errors were encountered: