It is unlawful for any person to urinate or defecate onto any sidewalk, street, alley, or other public way, or onto any public or private building, including but not limited to the wall, floor, hallway, steps, stairway, doorway, or window thereof, or onto any public or private land, including golf courses.