## Re: [Gpsbabel-misc] Circles to make a route...

 Re: [Gpsbabel-misc] Circles to make a route... From: Robert Lipe - 2005-07-18 23:31:21 ```[ This will be kind of a geocaching-centric conversation, so some of you may tune out while we figure out if this can be solved in a better way here. ] > Computing the minimum distance from the route to the intersection points > would also be tricky for such a route. And I can't shake a nagging > suspicion that there exists a pathological route that would violate the It's more complicated than that becuase there's another variable involved. It's not merely "how to I place the circles to cover the distance?" it's "how do I place the circles to cover the distance and not exceed the max number of points per circle that the server can hand me?" Remember, there's a max of 500 in a PQ. So you have to factor caches per square mile into your calcs. Since this information can only be gotten from the server - the very server you're computing these circles to query - you have problem that is, well, circular. 500 points will get you a very tiny circle in Santa Clara but a much larger circle in New Mexico. http://forums.groundspeak.com/GC/index.php?showtopic=68615 I'll admit I've always built them by hand and have find it kind of frustrating to have to futz with it but it's not insurmountable. I'll use the 'preview' function to get an idea how much distance I can cover with one. Then I'll check that last page for the most distant in the directions of interest and then futz with centerpoints of the next one unt If I have time up front, I'll just stock up on PQs of the area and pile them into S&T. I'll then use the "find nearest by radius" and circle drawing with the various PQ's set for different colored pushpins. I can sometimes squeeze things down another 20 or 30% by eliminating overlap and overspray just by moving the centers (sometimes in non-obvious ways) to maximize the coverage along the route I cared about. What non-obvious ways? Use the state selection to be sure you get only what you want. For example, when I drive from Nashville to St. Louis I'll go through KY and IL but never get near IN. So when picking states, be sure that MO and IL are ticked by TN, AK, and IN are not so you don't pick those up in the PQ. Think of the state filter as a mask over the radius filter. I've long meant to write this technique up ala http://www.gpsbabel.org/formats/s_and_t/TripPlanning.html but just never gotten around to it. RJL ```