We are solving route using published Network Analysis service in a US state.
Street network dataset is made from street centerlines and there is no z-value; however there are many overpasses and underpasses which do not intersect the main highways.
In a sample instance to explain the issue, we have a sign on the cross road (on the overpass) which is a restriction/barrier because sign's height is less than vehicle's height; so we select street segment related to sign which does not intersect the main highway but rather it is above the main highway (in 3D it does not intersect, but if you imagine in 2D it intersects).
When we try to solve the route in this situation, the section of main highway becomes restriction/barrier because it thinks that overpass is intersecting it.
How can we solve this issue either in the Network Analyst and/or with Data. We have whole state so there are several thousands of streets of all possible types.