add spatial index