Galactic cold cores. VII. Filament formation and evolution: Methods and observational constraints