Documenting and protecting cultural heritage