K-mean GPS Points Classification

To meet the Google Geocoding API server limit, we use the OpenCV K-mean method to classify the GPS points into 2500 area. I slightly modified the OpenCV K-means algorithm to perform the hierarchical classification by space and time.

Hierarchical GPS spatial clustering

Prepare GPS data table

See E-Log:K-mean GPS spatial database.

Program codes

See E-Log:K-mean GPS spatial classification code.

Running results

Hierarchical_clustering_example_on_Trento.png

Hierarchical GPS spatial-temporal clustering

To-do