Skip to content

Commit

Permalink
Fix #1695 by enabling the dataset ID for synthetic footways inside th…
Browse files Browse the repository at this point in the history
…e rapid renderer.
  • Loading branch information
Benjamin Clark committed Feb 28, 2025
1 parent 0ddbc80 commit 650253f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules/pixi/PixiLayerRapid.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,10 @@ export class PixiLayerRapid extends AbstractLayer {

// fb_ai service gives us roads and buildings together,
// so filter further according to which dataset we're drawing
if (dataset.id === 'fbRoads' || dataset.id === 'omdFootways' || dataset.id === 'rapid_intro_graph') {
if (dataset.id === 'fbRoads'
|| dataset.id === 'omdFootways'
|| dataset.id === 'metaSyntheticFootways'
|| dataset.id === 'rapid_intro_graph') {
data.lines = entities.filter(d => d.geometry(dsGraph) === 'line' && !!d.tags.highway);

// Gather endpoint vertices, we will render these also
Expand Down

0 comments on commit 650253f

Please sign in to comment.