add spatial coordinates to node