Lattice Grid Buy a licence

The grid (core) ยท console.warn

column "{col}" is {type}, which is not a geo...

Printed by The grid (core), prefixed [lattice], since 1.73.0.

Warnings reference › source.duckdb.spatial.column.*

Identifier
source.duckdb.spatial.column.*
Raised by
The grid (core)
Since
1.73.0

What happened

duckdbAdapter({ spatial }) found a geometry column by name - spatial.column, or the GeoParquet metadata - whose engine type is neither GEOMETRY nor a BLOB of WKB, so there is no SQL that reads it as a shape. Spatial conditions on it compile to FALSE rather than a guess.

The fix

Point spatial.column at the WKB or GEOMETRY column, or convert the column in the FROM (for WKT text, a view selecting ST_GeomFromText(col)).

The smallest fix

duckdbAdapter({ connection, from: 'sites', spatial: { column: 'shape_wkb' } })

Reference

Covered in full at the API reference.