I'm working on a project to automatically generate schematics from a railway geospatial model using ArcGIS tools. While my boss is thrilled with the output, there's one issue we need to fix: the crossovers (the angled lines) should be at 45 degrees. I know how to create the lines, but I'm struggling to maintain the correct spatial arrangements of the assets along the x-axis. My current plan involves recording the asset IDs and their distances from each other, then repositioning them accordingly after adjusting for the angle. However, I'm worried this might not work well. An engineer mentioned that the current 'dog leg' design is intentional for this reason. Does anyone have suggestions on how to best approach this?
2 Answers
You can really only adjust two main lines at once without losing your layout efficiency. For example, if you have lines A and B, you need to figure out how to adjust the points while keeping horizontal distances in check. Just be cautious, because this could distort other aspects of your tracks if not calculated correctly. It’s all about that 1:1 slope!
It sounds like you need some trigonometry on this one! I'd suggest calculating the new intersection points first, then adjust everything else based on those anchor points instead of moving items around first. That way, you'll better maintain the angles and proportions you need.

Thanks! It’s tough with multiple sections involved. I'll experiment with the math and see if I can get it right within the constraints of the existing setup.