adamfranco / curvature

Find roads that are the most curvy or twisty based on Open Street Map (OSM) data.
http://roadcurvature.com/
225 stars 39 forks source link

min/max lat/lon sanity checking #16

Closed nitrogen76 closed 8 years ago

nitrogen76 commented 8 years ago

There doesn't seem to be much if any santiy checking for lat/lon bounds.

I was a dumbass and made it crash with an argument list like this:

--min_lat_bound 32.50 --max_lat_bound 33.25 --min_lon_bound -96.50 because i'm a dummy that fails at math. (min_lon should have been max, and vice versa)

nitrogen76 commented 8 years ago

actually i'm having another issue that might be related to my environment,m oops.