Both have spines, but the very obvious and long spines in this sighting fits Lomandra longifolia subsp longifolia. Your other sighting with shorter spines (actually bracts) leans towards Lomandra longifolia subsp exilis, but the leaves look too wide for subsp exilis and the few bracts evident are long like subsp longifolia.