Driving enthusiasts dream of sexy, curvy asphault - let's develop a way to find it.
I need someone comfortable with the Google Maps API who can develop a Mapplet which will take a road, analyze it for certain parameters (more in the detailed explanation), and then visually display where the curves are.
## Deliverables
The goal is to identifying curves ... those are what we're after.
My suggestion on how to do this is to devise a routine that selects a starting point on a Google Map road and then "steps" down that road in increments of about 25 feet.
At each step, take the tangential vector to the road, and then measure the change between that vector and the vector at the next "step" ... bigger changes = bigger curves. ?
Save the location and amount of change data to some sort of database/array. ? Then, build an overlay for the Goolge Maps frontend which visually represents the change data. ? For example, the greater the change in vector, the darker the red ... a straight road would be green.
See picture attached for a rough example.