On 31 Aug 2006, at 00:29, Rich Gibson wrote:

The biggest suckage in Geo::Track::Log is that my GPX parsing is
a)primitive and b)slow as all heck.  It uses XML::Simple (ack!).

How well does your pure perl version work?

Well it works fine - but it's only as fast as XML::Parser (which doesn't seem /too/ slow)

GPSBabel is so much faster...personally I'd rather do

NMEA -> gpsbabel -> something faster to parse than GPX, even text -> Perl something parser -> perl data structure

Even cooler would be to leave the data within gpsbabel's internal
structure and have a perl wrapper to access the data.

Indeed - and that's still a possibility. But gpsbabel's internal data structures are pretty complex.

In a sense it doesn't matter (yet) as long as I can keep the interface consistent. gpsbabel is already pretty good about exposing its capabilities [1] and I have plans in that area too :)

[1] gpsbabel -^3
    gpsbabel -%1

--
Andy Armstrong, hexten.net

_______________________________________________
Geowanking mailing list
[email protected]
http://lists.burri.to/mailman/listinfo/geowanking

Reply via email to