GSoC 2017 - NASA/ESA WebWorldWind Marker Cluster

Introduction
My project will focus on creating a plugin to allow clusterization of markers in the ESA-NASA Web World Wind framework. These following capabilities are the features I would like to implement: 1. Clustering based on different algorithms 2. Set a custom icon based on user parameters: i.e., number of clusters or custom variables 3. Cluster based on geometries and not just polygons 4. Filter clusters based on user criteria 5. Precache the cluster at the zoom levels for optimized performance

Schedule
We will try to follow the schedule and report the status of the project each week.

Week 1
This week I set-up the development environment and made some research about the clustering algorithms and libraries available. I found out some good library for clustering point and it can be integrated with WebWorldWind. Next week I will set up the unit test environment. I already tried this week but had some problems. However, talking with my mentors I got some advice on how to proceed.
 * What did you get done this week?
 * What do you plan on doing next week?
 * Are you blocked on anything?

Week 2
I prepared the testing environment and unit tests are working. I prepared a sample test but also improved the structure of the project and created some functionalities. Next week I will improve the current functionalities and create new more to allow a better insertion of markers into the plugin. I'm not blocked on anything right now
 * What did you get done this week?
 * What do you plan on doing next week?
 * Are you blocked on anything?

Week 3
I developed some methods to improve the clustering functionalities. It accepts now a single marker, as well a list of markers. Also, some functionalities to show and hide single and groups of markers. I'm able to create a cluster for a specified zoom level and show it in the globe. Next week I would like to show and hide the clusters automatically based on the zoom level and generate at the start all the groups. I'm not blocked on anything right now
 * What did you get done this week?
 * What do you plan on doing next week?
 * Are you blocked on anything?

Week 4
I managed to show and hide clusters based on the zoom level and hide the others. However, I encountered a small performance issue when there all too many markers in the globe. Next week I'm planning to hide all the markers that are not visible in the current view. I started researching and studying some code examples to achieve this. I'm not really blocked, but I need the help of the mentors to proceed because I'm not really sure right now.
 * What did you get done this week?
 * What do you plan on doing next week?
 * Are you blocked on anything?

Brief description of the idea
My project consists in the development of a Plugin for the ESA/NASA WebWorldWind framework, to allow clustering of multiple markers.

A link to all my commits is available here: GitHub.

State of the art before this project
Currently there is no plugin for clustering large amounts of markers, even though an app may implement a similar functionality, but not with a modular plugin that can be generically reused for any number of user-specific criteria.

Additions that this project will bring to the software
As a result of the plugin I will develop, it will be possible for anyone to easily import the plugin into the framework and use it as a modular component. In this way it will be possible to cluster markers easily, using any number of options. As an example, it can be useful to use this plugin when visualizing a marker for each city in Italy, because, having thousand of markers in a small area could be very difficult to render on the globe, but also to understand. Thanks to the plugin, users will see only a few clusters while viewing the markers from a far distance and zooming in they will see more and more details.

Public Repository & Testing
The application is available in GitHub at GitHub. More instruction on how to use the plugin will be available soon
 * 1) Instructions

Student's Biography
My name is Simone Battaglia, I'm a Ph.D student in Neuroscience at Alma Mater Studiorum Bologna. I'm passionate about programming, and I like to integrate the IT world inside the neuroscience field. I started learning programming thanks to my scientific researches and the needs of creating experiments in my study field. I got to know about WebWorldWind thanks to Patrick Hogan back in 2016 and I started using it since then. This is my first time in the GSoC and I'm very happy to be coding for these 3 months and have the guidance of my mentors Patrick Hogan and Gabriele Prestifilippo.