vega / vegafusion

Serverside scaling for Vega and Altair visualizations
https://vegafusion.io
BSD 3-Clause "New" or "Revised" License
303 stars 15 forks source link

Fixes to support interval_selection_map_quakes example #435

Closed jonmmease closed 6 months ago

jonmmease commented 6 months ago

Closes #434

Fixes to support Interval Selection on a Map example. There were three updates required:

  1. Vega projections need to be added as variables to the scales namespace, as they are referencable using scale('projection', ...).
  2. The intersect function may reference named marks. When this happens we don't know which columns from the mark's source dataset are used downstream of intersect, so disable projection projection pushdown for the mark's upstream dataset.
  3. The vlSelectionIdTest function requires the _vgsid_ column