Besides soil, they may also be cognisant of tree pollen, and its dispersal patterns. It may identify a very specific forest neighbourhood (tree species). It may indicate the seasonal time of year.
“Now if you think you can just wash your clothes or try some other method to get rid of any pollen, think again. Most pollen and spores are hard to destroy and they don't easily decay. This means that pollen and spore evidence from a region or crime scene can remain intact for years, hundreds of years, or even thousands and millions of years! As long as the crime scene evidence is handled correctly and stored safely, years or decades later the trapped pollen and spores can still be recovered and used to assist investigators.”
Pollen Clues | Ask A Biologist
https://www.uwa.edu.au/study/-/media/Faculties/Science/Docs/Fact-Sheet-Forensic-palynology.pdf