[Gpsbabel-code] Re: [Gpsbabel-misc] question re: <bounds>
Brought to you by:
robertl
From: Paul F. <pg...@fo...> - 2005-11-14 14:38:16
|
> [ moved to -code ] sorry 'bout that. unlike other projects i monitor, i sort both these lists to a single mailbox, and had forgotten about that. > > as promised, here's a quick patch that i believe makes the bounds > > calculation work all the time, for all waypoints, route points, > > and track points. i've only checked it on one file, but it'd be > > I'm with you in principle - if we're going to write this optional tag, > we should include all the data in the file. > > But I took a different approach on the details. Even though GPX is > the only format in the tree that uses bounding box, it's really not > GPX-specific. I've seen other formats that use it, but we don't have > modules for those right now. So I took your simple patch, beat it to > death with abstractions, and checked in the approach below which gives > us BB handlers that can be used in other formats. of course you're right. i tend to have gpx-centric blinders on these days. i'll try to keep the greater outside world in mind. :-) thanks, paul =--------------------- paul fox, pg...@fo... (arlington, ma, where it's 56.7 degrees) |