I wouldn't be too impressed Bobby, I screwed up the placement of the image map (forgot to centre it) and when I fixed that, the noise in the image destroyed the model

. So a vector displacement of a plane it will have to be. At the end of this, most of the nodes doing the math can be hidden, leaving just the nodes required for placing the track and connecting the pieces left visible.
I'm happy to explain specific bits in detail if it helps Joel. This approach to building masks is very useful eg my old tiled terrain method (those masks can now be simplified with using SSS), or my river/lake model where a single base mask can be turned into several different masks with a few simple adjustments. I'll make a version which previews a few of the "landmark" nodes in the progress of constructing the final mask.
One thing I've got out of this is that while trying to figure out how to smooth the transitions between masks, particularly changing the altitude of the track I finally spotted the obvious... use a sine function on the linear gradients.