You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #451, repeated call will fail (on Windows this time)
CLI reprex
> duckdb
v1.1.3 19864453f7
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
D FORCE INSTALL spatial FROM core_nightly;
D LOAD spatial;
D SELECT layers[1].geometry_fields[1].crs.proj4 proj4 FROM ST_Read_Meta('test.shp');
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ proj4 │
│ varchar │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ +proj=aea +lat_0=45 +lon_0=-126 +lat_1=50 +lat_2=58.5 +x_0=1000000 +y_0=0 +datum=NAD83 +units=m +no_defs │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
D SELECT layers[1].geometry_fields[1].crs.proj4 proj4 FROM ST_Read_Meta('test.shp');
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ proj4 │
│ varchar │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ +proj=aea +lat_0=45 +lon_0=-126 +lat_1=50 +lat_2=58.5 +x_0=1000000 +y_0=0 +datum=NAD83 +units=m +no_defs │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────┘
D SELECT layers[1].geometry_fields[1].crs.proj4 proj4 FROM ST_Read_Meta('test.shp');
Mismatch Type Error: Type STRUCT("name" VARCHAR, "type" VARCHAR, nullable BOOLEAN) does not match with STRUCT("name" VARCHAR, "type" VARCHAR, nullable BOOLEAN, crs STRUCT("name" VARCHAR, auth_name VARCHAR, auth_code VARCHAR, wkt VARCHAR, proj4 VARCHAR, projjson VARCHAR)). Cannot cast STRUCTs of different size
D SELECT layers[1].geometry_fields[1].crs.proj4 proj4 FROM ST_Read_Meta('test.shp');
Similar to #451, repeated call will fail (on Windows this time)
CLI reprex
test.zip
The text was updated successfully, but these errors were encountered: