text: With regard to the first of your linked examples, that is definitely a barrier=fence between the concrete slabs appear to be inserted directly into the ground, not placed over a foundation.
  
  With regard to the second example, I have zero doubt that if you presented this photo on the forums in 2020 and asked for opinions on tagging, you would encounter enormous disagreement about whether this is a barrier=wall, or barrier=fence. Many mappers would rely on the rule of thumb that I was taught by my OSM community when I began mapping: such a substantial masonry foundation – which takes up more room than the fencing! – means barrier=wall.
  
  In any event, in the case of the red-barrier outside the government office, the barrier=wall tag has a tag that would allow us to accurately represent the red-brick nature of this uninterrupted foundation, wall=brick. There is no fence_type=brick. 
  
  OSM supports 3D mapping, and this is an area that I am becoming more interested in now that renderers supporting OSM 3D are appearing. So, I would like to tag this object as accurately as possible, and that is partly why I left a note, primarily for myself so that I will return here and continue examining the object. 