The data is all set for transit near trail and near town to be rendered separately. Essentially the _trail key is true (or maybe 1) if that route has a stop within 1km of the trail, and if that stop is on such a route. Same for _town, but currently they're all shown together.