GPS Data Visualizer
The idea is that we want something we can use to plot GPS coordinates on a map and filter data based on our needs. For now it should:
- Assign different colors to each cluster/class
- (Optional) Filter points based on a given time range.
For Test data you'll be given a CSV file; which will be a subset of data we have in our database. It'll be 2 - 4 weeks worth.
Some inspirational sites:
- Google Maps for Design & Layout
- Here you'll find a layout with a control panel along the left, and the main content on the right. It's best to maximize the size of the map, because that's what we'll look at the most.
- BatchGeo for Functionality
- Here you can see forms of clustor coloring, and filter applications
- Google Maps API: For Plotting
- CSS (optional w/ Bootstrap 3, but recommended): Styling and layout control
- (Completely Optional) Web Components (if you use it, you're on your own):
1: Web Page Layout
Learn how to layout a web page. You can do this in raw HTML and CSS, but if you want to make things easier (but sort of harder) use Bootstrap. It has a Grid System that you can use that will make layout websites easier. It's hard at first to understand, but if take your time to get it, you won't want to do it any other way (trust me).
Note, we suggest the layout seen for Google Maps, but it's not necessary. If you think you found a better design that can maximize map real-estate, and still provide room for controls, by all means do so. Just show us the mock design.
2: Add a Map to the Layout!
This should be an exciting second step. You'll add a map to the main content portion of the page. Once you manage this try plotting something on it. Not necessary something from the data we give you, but at least one point you make up.
I recommend understanding how to control the map. We make the assumption that when we actually plot points on the map that the points will be perfectly placed on the map so we can se eveything without making adjustments. I'm sure, as you may find out soon enough, that that convenience may not be given out of the box. It's not a neccessary feature, but a handy one to have (because I'm lazy). Just as long as we're able the Pan, Zoom, and maybe (optionally) Rotate.
3: Add an Upload Button & Parse File
You're task is to get the data, and be able to read/parse it. I recommend using Papa Parser to parse the CSV. That way you don't have to make you're own reader, but that's up to you. I almost always advocate not to reinvent the wheel, and be lazy (in a good way)!
4: Plot Data from File
1: Just put points on the Map
Just plot the points onto the map.
2: Assign Colors to Clusters
Assign points colors according to their cluster/class.
5: (Optional) Add Time Range Filter Control
I would imagine implementing this with a slider or two text fields that take a begin time, and an end time. The idea is to just plot points that are within the two time ranges (inclusively) (i.e. 1/3/2015 - 1/5/2015 should include all points within those tow days and everytnig in between).
If you manage to get this far, we have other features that would be cool additions.
You can contact us, and ask questions on Github Issues; which you can populate yourself, and I'll add stuff too.