The dataset contains geodesic points, even spaced, which show elevations for each point. The goal identify the number of islands in the dataset. Say for a dataset which represents a map of the united kingdom there would be 2 (major islands) + a number of smaller island as the result.

What is a good way to algorithmically acheive this?