relocate.Spat function

Change layer/attribute order