avoid reprojection and add spatial indexes