I can see it now, Google maps having a menu with in addition to “avoid bridges, tolls, ferries, and highways” there is “avoid bad neighborhoods”.
There was a program that was avoid crime zones. Based on national stastics.It was tanked because oddly enough it avoided black neighborhoods.
Microsoft patented it in 2012
https://www.cnet.com/culture/the-joy-of-microsofts-avoid-ghetto-gps-patent/