SidewalkWebpage
SidewalkWebpage copied to clipboard
Configure label types per city
As we add in new label types (e.g., crosswalks, pedestrian signals), we have discussed making it possibly to parameterize which label types are available for each city:
We already do this with tags but I could imagine some cities not being interested in pedestrian signals, for example, because they don't even have them in their cities.
I recall @misaugstad discussing how to best implement this in configuration files but couldn't find the Issue to link it to here.
Although there is a lot of code that assumes that all label types are being used, I think that changing most of it is very doable! Queries that have the label types hard-coded can be fixed relatively easily. I think that the hardest part will really be making a UI that is a bit more dynamic. IMO, it will be harder to make sure that things look visually appealing given a variable number of label types.
In an ideal world, we would also have something like "modules" for a tutorial, so that we can plug in some education for different label types, but that's another whole discussion ;)
Ultimately, I think that this is legitimately doable. And I'm very interested in making our tool more generalizable!
In #2869 @jonfroehlich talks more about the value of making this change, and I agree :)