Lattice Grid Buy a licence

The grid (core) ยท console.warn

a "{op}" condition was refused: {reason}. It...

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

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

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

What happened

A spatial condition reached duckdbAdapter with an operand it cannot hand to the engine - a box across the antimeridian or upside down, a withinPolygon operand that is not a polygon, text that is not GeoJSON, WKT or hex WKB - or on a column the adapter does not read as geometry. The condition compiles to FALSE: the same no-row answer the grid's in-memory operator gives.

The fix

Give the operand the operator expects; split a box across the antimeridian into two withinBbox conditions joined by or.

The smallest fix

grid.filters.set({ col: 'geometry', op: 'withinBbox', value: [-1.9, 51, 0, 53] });

Reference

Covered in full at the API reference.