hobeone / cycletracks

Automatically exported from code.google.com/p/cycletracks
0 stars 0 forks source link

Accept GPX 1.1 #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My Garmin eTrex outputs files with this header

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" creator="" version="1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.topografix.com/GPX/1/1
http://www.topografix.com/GPX/1/1/gpx.xsd">

http://tech.groups.yahoo.com/group/gpsxml/message/629
claims that 1.0 and 1.1 are mostly the same.

controllers/site.py checks for
   if re.search(r'xmlns="http://www.topografix.com/GPX/1/0"', file):
which would be better as "http://www.topografix.com/GPX/1/[01]"

Original issue reported on code.google.com by thecap...@gmail.com on 11 Mar 2009 at 6:42

GoogleCodeExporter commented 9 years ago
Dump of profiles taken during writing http://codereview.appspot.com/28083 (see 
thread
for more details)

The first few I didn't do a good job of making sure I did exactly the same 
things to
the server before uploading. I then switched to sorting by cumtime so that 
parse_gpx
would appear and made sure to do this same thing for each profile.

Original comment by thecap...@gmail.com on 29 Mar 2009 at 5:12

Attachments:

GoogleCodeExporter commented 9 years ago
This was fixed by http://codereview.appspot.com/28083 in r142.

Original comment by thecap...@gmail.com on 8 Sep 2009 at 12:27