modify index to spatial point