rename.Spat function

Rename layers/attributes