|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Re: <extensions> tag in gpx files (Bill Park)HI,
Thanks for the prompt reply. I am running the 1.4.3 beta version as I noted it was better at handling 1.1 GPX. This is the command I am using: gpsbabel -w -r -t -i gpx,suppresswhite=0,logpoint=0,gpxver=1.1,humminbirdextensions=0,garminexten sions=0 -f D:\Bill\Documents\Testing\GPX File Compatability\GPX 005.gpx -o gpx,suppresswhite=0,logpoint=0,gpxver=1.1,humminbirdextensions=0,garminexten sions=0 -F D:/Bill/Documents/Testing/GPX File Compatability/GPX 005_b.gpx I am not very good with XML so do not understand what you mean when you say the input is not valid. I have opened it in XML Notepad 2007 and Textpad and it looks OK. I assume the people who supplied the file believe it is valid xml so if you can point me in right direction I will go back to them and suggest they fix it. Bill Park Message: 4 Date: Sun, 11 Dec 2011 20:15:59 -0600 From: Robert Lipe <robertlipe@...> Subject: Re: [Gpsbabel-misc] <extensions> tag in gpx files To: Bill Park <bill.park@...> Cc: gpsbabel-misc@... Message-ID: <CAGJ6+wq8X7-kZHBn3h9og=2FZ+ihMC2b=wqFDAObAH9jxoyqew@...> Content-Type: text/plain; charset="windows-1252" <extensions> are only supported in GPX 1.1 Our old writer defaults to 1.0 and generally makes a mess of 1.1 input when it writes it as 1.0. The new one does a better job of guessing when there's only a single input. The data you provided isn't actually valid XML; it's in some multi-byte encoding. You didn't include the commands you actually issued. You didn't mention what version you tried, so we don't know if you're working with the old writer in 1.4.2 or the new one in the beta for 1.4.3 But even with all that, we're still going to work pretty hard to preserve, not drop <extensions> as they're part of GPX, so we may not be the tool for you anyway... RJL On Sun, Dec 11, 2011 at 3:08 PM, Bill Park <bill.park@...> wrote: > Hi**** > > ** ** > > I am trying to filter a gpx file that has user extensions and have > found that the handling of these is inconsistent.**** > > ** ** > > If I have any waypoints in the file then the <extensions xmlns:?.> and > </extensions> tags around the actual extension tags are dropped. This > makes the resulting file bad**** > > ** ** > > If I have a route with route points that have virtually the same > structure then the <extensions xmlns:?> </extensions> tags are passed > through.**** > > With just a route the file is good but as soon as I include individual > waypoints the output file becomes bad.**** > > ** ** > > I obviously suspected the input file but can find no reason for the > tags to be dropped.**** > > I have looked in the archive for any references to this problem but so > far have not found any.**** > > ** ** > > Any ideas?**** > > ** ** > > I attach 3 sample sets of files.**** > > GPX 005 is a file with 2 waypoints only**** > > GPX 001 is a file with a single route**** > > GPX 002 is a file with a waypoint and a route**** > > The corresponding result files have an _b added.**** > > ** ** > > Bill Park**** > > Email: *bill.park@...***** > > ** ** > > > ********************************************************************** > **************************************************** > **** > > This electronic transmission and any files attached to it are strictly > confidential and intended solely for the addressee. If you are not the > intended addressee, you must not disclose, copy or take any action in > reliance of this transmission. If you have received this transmission > in error, please notify us by return and delete the same. Although > the sender endeavours to maintain a computer virus free network, the > sender does not warrant that this transmission is virus-free and will > not be liable for any damages resulting from any virus transmitted. > Thank You.**** > > > ********************************************************************** > **************************************************** > **** > > ** ** > > > ---------------------------------------------------------------------- > -------- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is > holding a special Learn Windows Azure training event for developers. > It will provide a great way to learn Windows Azure and what it > provides. You can attend the event by watching it streamed LIVE online. > Learn more at http://p.sf.net/sfu/ms-windowsazure > _______________________________________________ > Gpsbabel-misc mailing list http://www.gpsbabel.org > Gpsbabel-misc@... > To unsubscribe, change list options, or see archives, visit: > https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc > > An HTML attachment was scrubbed... ------------------------------ ---------------------------------------------------------------------------- -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ------------------------------ _______________________________________________ Gpsbabel-misc mailing list Gpsbabel-misc@... https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc End of Gpsbabel-misc Digest, Vol 67, Issue 8 ******************************************** ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Gpsbabel-misc mailing list http://www.gpsbabel.org Gpsbabel-misc@... To unsubscribe, change list options, or see archives, visit: https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc |
| Free embeddable forum powered by Nabble | Forum Help |