handle spatial queries across the international dateline