This section of switchbacks on the John Muir trail can't possibly be correct. It's been many years since I hiked this route, but nobody would build a trail where the switchbacks are perpendicular to the contour lines. I suspect the trail location is offset. Alltrails also has it offset, but a different amount. Hiking Project has two versions showing, one very much like this and one much better. Official USGS topo maps don't have sufficient resolution to tell. 

This offset (and others on the loop) cause e.g. GaiaGPS to report the Nevada Falls loop with an extra 1500' of vertical. Unfortunately it will be a few years before I can create my own GPS track.