Loitering seems to have incredibly vague definition, according to Wikipedia. It seems that it's illegal, even if you don't seem to be doing anything wrong. In the US, there are signs to this effect, which came to a surprise to me. Can I actually get into trouble if I, well, loiter, whatever loose definition you use?
Photo is from personal archive.