sljardine / upstream

MIT License
0 stars 0 forks source link

Suggest feature crashes for some WRIAS #54

Closed sljardine closed 9 months ago

sljardine commented 9 months ago

The Suggest feature crashes for some WRIAS including but not limited to: Puyallup - White, Deschutes, and Duwamish - Green.

The warning message is:

Warning: Error in leafgl::addGlPolylines: inherits(sf::st_geometry(data), c("sfc_LINESTRING", "sfc_MULTILINESTRING")) is not TRUE [No stack trace available]

The script "test_Suggest_Map.R" is bug-free suggesting the issue is how inputs are being fed into solve_opt() and map_leaflet_opt().

sljardine commented 9 months ago

Fixed with commit 519baf1 on 2/7/24.