-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cannot read boundary.geojson with DuckDB v0.9.2 #1
Comments
Hi! Saw that this issue got linked and just checking in, AFAIK this is fixed on the latest spatial builds! FORCE INSTALL spatial FROM 'http://nightly-extensions.duckdb.org';
LOAD spatial;
LOAD httpfs;
SELECT * FROM st_read('https://github.com/vida-impact/open-earth-data/raw/main/tutorials/boundary.geojson');
┌───────────────────────────────────────────────────────────────────────────────────────┐
│ geom │
│ geometry │
├───────────────────────────────────────────────────────────────────────────────────────┤
│ POLYGON ((27.492479555568025 -29.3373975037322, 27.492479555568025 -29.357824001576… │
└───────────────────────────────────────────────────────────────────────────────────────┘ |
Hi @Maxxen great to see! Just out of curiosity, is it something that was fixed very recently? I tried a couple of days ago with the latest nightly but it didn't seem to work, that's why I created the issue and PR. |
Well uh, not really, maybe you just needed to restart and reload the new spatial extension? |
No, I'm on MacOS, and that is happening when using the stable release. |
@Maxxen I can confirm that the problem with the |
Great! Thanks for the followup! |
When reading the boundary.geojson file using DuckDB v0.9.2, the following exception is thrown:
This is very related to duckdb/duckdb_spatial#181, where it is suggested to force the installation of the latest DuckDB Spatial nightly build by running:
This unfortunately results in running into another exception, already described in the more recent and still open duckdb/duckdb_spatial#221:
By now, a suitable workaround may be to load the boundary file from a local path, to avoid any HTTP-related issue.
The text was updated successfully, but these errors were encountered: