- When a pedestrian put a foot in a crosswalk the cars really did stop
- There were no-parking areas either side of all crosswalks
- There were lights on the crosswalk to mark its location and to make the pedestrians more visible. Crossing places were clearly marked with road paint that's generally not faded out
- School crosswalks had uniformed crossing attendants with giant "lollipops"
- There were no clumps of bushes to "decorate" the crosswalks / hide pedestrians
- Touristy areas had arrows in the road telling pedestrians which way to look for oncoming traffic (easy to forget they drive on the left)
- Many of the crosswalks are pushbutton operated lights, not some funky flashing yellow light that nobody understands what to do with, but real r/y/g traffic signals that actually do respond to the push button
- The roads are narrower, so the time given by the lights to allow pedestrians to cross mean that the pedestrians don't need to sprint
If Barcelona is doing better, maybe someone from SFO shoudl go there and find out why.