Maze or chicane fences are used in workplaces and on the road to slow pedestrians at a crossing.
This example is at a school on a highway in Australia. There are fences either side to concentrate the pedestrians at one place.
Opposite the school the barrier looks like this.
The design on the side opposite the school makes sense because as shown below the pedestrian is encouraged to face the oncoming traffic as they approach the road. This is in Australia where the traffic travels on the left.
On the school side the design is backwards as shown below. The school children in this case are encouraged to look away from the oncoming traffic.