All railway crossings with overhead wires have an implied maxheight. Some are marked for a lower height, see for example https://wiki.openstreetmap.org/wiki/File:Safe_height_-_geograph.org.uk_-_558453.jpg or https://community-cdn.openstreetmap.org/uploads/default/optimized/2X/d/deef2d3c45fcdbf4a85a6872764ce6b90633bbdd_2_402x500.jpeg

