[OSM-dev] Reimplementation of the GPX importer

Tom Hughes tom at compton.nu
Tue Sep 23 01:00:25 BST 2008


Daniel Silverstone wrote:

> On Mon, 2008-09-22 at 23:46 +0100, Jon Burgess wrote:
>
>> gpx.c:
>> - The old parser used to accept gz, bzip2, tar, zip etc, is this still
>> supported?
> 
> I couldn't find this in gpx.rb -- is it some magical behaviour of the
> ruby libxml binding?!

The xml_file method in the trace model takes care of doing any unpacking 
and returning an uncompressed file which the daemon then processes.

Tom

-- 
Tom Hughes (tom at compton.nu)
http://www.compton.nu/




More information about the dev mailing list