Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

gpsxml · GPX Developers Forum

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 1253
  • Category: XML
  • Founded: Sep 18, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

Advanced
Messages Help
Messages 2119 - 2148 of 2257   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#2119 From: "deepak_8282" <deepak_8282@...>
Date: Wed Jun 2, 2010 11:21 am
Subject: Hi iam asp.net developer need to validate GPX AND KML files in c#.net
deepak_8282
Send Email Send Email
 
i have a project where users uploads kml and gpx files and i have to validate
there XML in c3.net (asp.net),there are tools which can validate files,but is it
possible through module i can develop in asp.net using c#.am confused because
aima trying it by making DTD file for gpx and kml file but numbers of
tags/attributes are lots and aim not getting all tags.please provide me solution
for this .

Is is possible using coding or i have to buy tool/software for this.
what iam trying is that it can be done throgh custom code in c#.net.


regards
Deepak verma

#2120 From: "no1looser" <no1looser@...>
Date: Mon Jun 7, 2010 8:36 pm
Subject: Re: Hi iam asp.net developer need to validate GPX AND KML files in c#.net
no1looser
Send Email Send Email
 
--- In gpsxml@yahoogroups.com, "deepak_8282" <deepak_8282@...> wrote:
>
> i have a project where users uploads kml and gpx files and i have to validate
there XML in c3.net (asp.net),there are tools which can validate files,but is it
possible through module i can develop in asp.net using c#.am confused because
aima trying it by making DTD file for gpx and kml file but numbers of
tags/attributes are lots and aim not getting all tags.please provide me solution
for this .
>
> Is is possible using coding or i have to buy tool/software for this.
> what iam trying is that it can be done throgh custom code in c#.net.
>
>
> regards
> Deepak verma
>

I searched for some time on this until I read an article on Microsoft website.
Simply take the schema for GPX or KML and using the Visual Studio creat a DLL
from the schema. Then you can attempt to read the XML file and validate its
contents. I created on for both GPX 1.0 and 1.1 formats and now working on a KML
DLL. The code automatically generated will let you read and write these XML
files with little code in your ASPX page.

#2121 From: "the_magicien" <the_magicien@...>
Date: Wed Jun 23, 2010 3:44 am
Subject: Update Map In GPS devices
the_magicien
Send Email Send Email
 
I would like to update the map in GPS devices such as Garmin 60CSX or Garmin
Navigator.What is the file format & how to do that?

Thanks

#2122 From: Robert Lipe <robertlipe@...>
Date: Wed Jun 23, 2010 4:20 pm
Subject: Re: Update Map In GPS devices
robertlipe
Send Email Send Email
 
On Tue, Jun 22, 2010 at 10:44 PM, the_magicien <the_magicien@...>wrote:

> I would like to update the map in GPS devices such as Garmin 60CSX or
> Garmin Navigator.What is the file format & how to do that?
>

Not GPX.

Garmin sells map updates.  A few other groups make free maps.  See
http://www.gpsfaqs.org/faqs/garmin/xseries/g60csx/mapping.html#free_maps

RJL


[Non-text portions of this message have been removed]

#2123 From: Luc Le Blanc <speleoluc@...>
Date: Tue Jul 13, 2010 9:50 am
Subject: <time> not supported in GPX 1.1 ?
lucas_elblanco
Send Email Send Email
 
Hi,

I recently added a timestamp to my GPX export, only to learn it was
rejected by MapSource, and also by the SaxCount.exe validator. My
header goes like this

<?xml version="1.0" encoding="Windows-1252" standalone="no" ?>
<gpx version="1.1" xmlns="http://www.topografix.com/GPX/1/1"
creator="Auriga 1.24a http://www.speleo.qc.ca/Auriga"
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">
<time>2010-07-12T13:25:40Z</time>

Oddly, if I switch to GPX 1.0, it works. Is <time> no longer supported in 1.1?

Regards,


--
Luc Le Blanc
http://www.speleo.qc.ca/Auriga

#2124 From: Robert Lipe <robertlipe@...>
Date: Tue Jul 13, 2010 2:16 pm
Subject: Re: <time> not supported in GPX 1.1 ?
robertlipe
Send Email Send Email
 
On Tue, Jul 13, 2010 at 4:50 AM, Luc Le Blanc <speleoluc@...> wrote:

> Hi,
>
> I recently added a timestamp to my GPX export, only to learn it was
> rejected by MapSource, and also by the SaxCount.exe validator. My
> header goes like this
>
> <?xml version="1.0" encoding="Windows-1252" standalone="no" ?>
> <gpx version="1.1" xmlns="http://www.topografix.com/GPX/1/1"
> creator="Auriga 1.24a http://www.speleo.qc.ca/Auriga"
> 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">
> <time>2010-07-12T13:25:40Z</time>
>
> Oddly, if I switch to GPX 1.0, it works. Is <time> no longer supported in
> 1.1?


Time is supported.  Look in the XSD.

Most likely, you have it out of order or have created a malformed time
entry, but since you didn't include a full sample, we can't comment
authoritatively.


RJL


[Non-text portions of this message have been removed]

#2125 From: Luc Le Blanc <speleoluc@...>
Date: Tue Jul 13, 2010 5:03 pm
Subject: Re: <time> not supported in GPX 1.1 ?
lucas_elblanco
Send Email Send Email
 
2010/7/13 Robert Lipe <robertlipe@...>:
> On Tue, Jul 13, 2010 at 4:50 AM, Luc Le Blanc <speleoluc@...> wrote:
>
>> Hi,
>>
>> I recently added a timestamp to my GPX export, only to learn it was
>> rejected by MapSource, and also by the SaxCount.exe validator. My
>> header goes like this
>>
>> <?xml version="1.0" encoding="Windows-1252" standalone="no" ?>
>> <gpx version="1.1" xmlns="http://www.topografix.com/GPX/1/1"
>> creator="Auriga 1.24a http://www.speleo.qc.ca/Auriga"
>> 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">
>> <time>2010-07-12T13:25:40Z</time>
>>
>> Oddly, if I switch to GPX 1.0, it works. Is <time> no longer supported in
>> 1.1?
>
>
> Time is supported.  Look in the XSD.
>
> Most likely, you have it out of order or have created a malformed time
> entry, but since you didn't include a full sample, we can't comment
> authoritatively.
>
>
> RJL

Here are 2 files, one in GPX 1.0, the other in GPX 1.1. Note that just
adding </gpx> at the end of the header above also produced a full
sample, albeit empty.

The 1.0 file is OK, not the 1.1. The only change is the GPX version.

Regards,


--
Luc Le Blanc
http://www.speleo.qc.ca/Auriga


[Non-text portions of this message have been removed]

#2126 From: Dan Foster <egroups@...>
Date: Tue Jul 13, 2010 6:14 pm
Subject: Re: <time> not supported in GPX 1.1 ?
topografix
Send Email Send Email
 
Hello,

Tuesday, July 13, 2010, 5:50:13 AM, Luc wrote:

>
> Hi,

> I recently added a timestamp to my GPX export, only to learn it was
> rejected by MapSource, and also by the SaxCount.exe validator. My
> header goes like this

> <?xml version="1.0" encoding="Windows-1252" standalone="no" ?>
> <gpx version="1.1" xmlns="http://www.topografix.com/GPX/1/1"
> creator="Auriga 1.24a http://www.speleo.qc.ca/Auriga"
> 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">
> <time>2010-07-12T13:25:40Z</time>

> Oddly, if I switch to GPX 1.0, it works. Is <time> no longer supported in 1.1?

<time> lives inside <metadata> in GPX 1.1

GPX documents contain a metadata header, followed by waypoints,
routes, and tracks. You can add your own elements to the extensions section of
the GPX document.


--
Dan Foster

#2127 From: Luc Le Blanc <speleoluc@...>
Date: Tue Jul 13, 2010 6:35 pm
Subject: Re: <time> not supported in GPX 1.1 ?
lucas_elblanco
Send Email Send Email
 
2010/7/13 Dan Foster <egroups@...>:
> Hello,
>
> Tuesday, July 13, 2010, 5:50:13 AM, Luc wrote:
>
>>
>> Hi,
>
>> I recently added a timestamp to my GPX export, only to learn it was
>> rejected by MapSource, and also by the SaxCount.exe validator. My
>> header goes like this
>
>> <?xml version="1.0" encoding="Windows-1252" standalone="no" ?>
>> <gpx version="1.1" xmlns="http://www.topografix.com/GPX/1/1"
>> creator="Auriga 1.24a http://www.speleo.qc.ca/Auriga"
>> 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">
>> <time>2010-07-12T13:25:40Z</time>
>
>> Oddly, if I switch to GPX 1.0, it works. Is <time> no longer supported in
1.1?
>
> <time> lives inside <metadata> in GPX 1.1
>
> GPX documents contain a metadata header, followed by waypoints,
> routes, and tracks. You can add your own elements to the extensions section of
the GPX document.
>
>
> --
> Dan Foster

You mean my <time>2010-07-12T13:25:40Z</time> line should be inside
the <gps> tag, or I must use a time="" format inside the <gpx> tag?


--
Luc Le Blanc
http://www.speleo.qc.ca/Auriga

#2128 From: Dan Foster <egroups@...>
Date: Tue Jul 20, 2010 10:13 pm
Subject: Are you seeing malformed GPX files coming from Garmin GPX-based receivers?
topografix
Send Email Send Email
 
Are any of you seeing malformed GPX files coming from Garmin nuvi,
Oregon, and Colorado GPS receivers?  My Windows programs display an
error message when they encounter malformed XML, and I'm getting a
lot of customer support questions from Garmin users.

The typical corruption I'm seeing is in the <name> tag of waypoints
and routes, and usually displays as garbage characters or chinese
characters in a text editor.  The MSXML parser usually reports "An
invalid character was found in text content".

Here are a few recent examples:

I:\Garmin\gpx\current\Current.gpx
<rte><name>๏€˜๎–Ÿ๏€˜๎–Ÿ๏€˜๎–Ÿ๏€˜๎–Ÿ๏€˜๎–Ÿ๏€˜๎–Ÿ๏€˜๎–Ÿ๏€˜๎–Ÿไˆ ไฌ ไˆ ไ€ค ไ€€
ไˆ ็ </name>

G:\Garmin\gpx\current\Current.gpx
<desc>ยฃ่ސrแป˜ยฃโ†ยฃแธดยฃ</desc>

E:\GPX\Current.gpx
<gpxx:PostalCode>๊•ถ</gpxx:PostalCode>

#2129 From: Robert Lipe <robertlipe@...>
Date: Tue Jul 20, 2010 10:44 pm
Subject: Re: Are you seeing malformed GPX files coming from Garmin GPX-based receivers?
robertlipe
Send Email Send Email
 
On Tue, Jul 20, 2010 at 3:13 PM, Dan Foster <egroups@...> wrote:

> Are any of you seeing malformed GPX files coming from Garmin nuvi,
> Oregon, and Colorado GPS receivers?  My Windows programs display an
> error message when they encounter malformed XML, and I'm getting a
> lot of customer support questions from Garmin users.
>

I'm not seeing huge numbers, but I do see it.   I had a report today from
someone with  route named control-A.

Current.gpx sometimes doesn't get written.

I've been sending users with affected files to Garmin's support as that's
clearly invalid.

RJL


[Non-text portions of this message have been removed]

#2130 From: "Dave" <daveswarthout@...>
Date: Wed Aug 4, 2010 5:36 pm
Subject: UTC Offset capability?
dswarthoutak
Send Email Send Email
 
Hi,

I'm new to this group. I searched around recently looking for a way to display
saved tracks from my travels in various parts of the world with the proper
times, that is, the local time in the country (time zone) when the track was
recorded. I'm a Garmin GPS Map60Cx user so the program I use to display my
tracks, other than Google Earth, is Garmin's Mapsource. I can choose the way the
time is displayed by changing the UTC offset in Mapsource's Preferences but then
all other tracks I display will use that same "global" offset as well.

Which leads to the reason I'm posting this in the GPX group: ignoring for the
moment the issue of Daylight Saving, is there a way in the current
implementation to include a UTC offset within a GPX file? If not, are there
plans to include such capability in a newer version of the GPX format? That way
tracks would always display with the actual time they were recorded.

I understand that even if there was a way to include this information in the GPX
file certain software programs like Mapsource would need to be changed to read
and display the data properly, but that's beside the point of my question.

Any information you can share would be appreciated,
Thanks in advance,
Dave

#2131 From: "Alan" <smithalan@...>
Date: Wed Aug 4, 2010 9:29 pm
Subject: UTC Offset capability?
gpsanimator
Send Email Send Email
 
The crude but effective method I use is to add/subtract 1 hour to/from your
GPS track point time for each 15 degrees of  longitude the point is
ease/west of the Greenwich meridian.





[Non-text portions of this message have been removed]

#2132 From: Jean-Claude REPETTO <jrepetto@...>
Date: Thu Aug 5, 2010 6:21 am
Subject: Re: UTC Offset capability?
jrepetto2001
Send Email Send Email
 
On 08/04/10 23:29, Alan wrote:
> The crude but effective method I use is to add/subtract 1 hour to/from your
> GPS track point time for each 15 degrees of  longitude the point is
> ease/west of the Greenwich meridian.
>

A better method should be to use a vectorial map of the time zones.
Since the geographical coordinates are known, it will be easy to find
the time zone.

Jean-Claude

#2133 From: "Tim Thornton" <tt@...>
Date: Thu Aug 5, 2010 11:23 am
Subject: RE: UTC Offset capability?
timtupham
Send Email Send Email
 
This is actually quite a complex issue if you want times used in country, as
opposed to maritime time zones.

For countries which have just one time zone, then the boundaries are pretty
straightforward and don't change too often.

But quite a few countries have multiple time zones, and if you go anywhere
out of the way then the boundaries between one zone and another are
generally not well defined.

Also, countries change the time zone and the application of daylight saving
time much more frequently than one may think - typically a change somewhere
in the world every few weeks.

If you want more info on this, a good starting point is
http://www.twinsun.com/tz/tz-link.htm. The tz database is used in most Linux
distributions, and is better than that in Windows.

As far as including this information in GPS XML is concerned, you could do
an extension like Garmin do depth and other data in their extension. It
could either be a time offset, which gives the most flexibility, or it could
be a parameter. If a parameter this would need to cover both the tz data and
support fro maritime time zones. The offset is simplest to implement, but
the parameter tells data users a bit about why the offset is what it is.

Tim



Smartcom Software Ltd

Portsmouth Technopole

Kingston Crescent

Portsmouth PO2 8FA

United Kingdom



www.smartcomsoftware.com



Smartcom Software is a limited company registered in England and Wales,
registered number 05641521.



From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf Of
Jean-Claude REPETTO
Sent: 05 August 2010 07:22
To: gpsxml@yahoogroups.com
Subject: Re: [gpsxml] UTC Offset capability?





On 08/04/10 23:29, Alan wrote:
> The crude but effective method I use is to add/subtract 1 hour to/from
your
> GPS track point time for each 15 degrees of longitude the point is
> ease/west of the Greenwich meridian.
>

A better method should be to use a vectorial map of the time zones.
Since the geographical coordinates are known, it will be easy to find
the time zone.

Jean-Claude





[Non-text portions of this message have been removed]

#2134 From: "Dave" <daveswarthout@...>
Date: Thu Aug 5, 2010 8:37 pm
Subject: Re: UTC Offset capability?
dswarthoutak
Send Email Send Email
 
I can appreciate the complexity of the issue if one desired to make changes to
the GPX file format. All I want to do is set an offset (in hours + or - UTM and
ignoring Daylight Saving Time entirely) for a a particular saved GPX file so
that the tracks I recorded in Fiji show the actual time the track was made, and
a track I recorded in Paris shows the actual time, in Paris, when the track was
made.

I can do this on a file by file basis within Mapsource, as I mentioned, but that
method is tedious. As is adding an offset to each and every trackpoint in the
GPX XML code.

But thanks for the feedback anyway. Perhaps there is no SIMPLE way to do what I
want.


--- In gpsxml@yahoogroups.com, "Tim Thornton" <tt@...> wrote:
>
> This is actually quite a complex issue if you want times used in country, as
> opposed to maritime time zones.
>
> For countries which have just one time zone, then the boundaries are pretty
> straightforward and don't change too often.
>
> But quite a few countries have multiple time zones, and if you go anywhere
> out of the way then the boundaries between one zone and another are
> generally not well defined.
>
> Also, countries change the time zone and the application of daylight saving
> time much more frequently than one may think - typically a change somewhere
> in the world every few weeks.
>
> If you want more info on this, a good starting point is
> http://www.twinsun.com/tz/tz-link.htm. The tz database is used in most Linux
> distributions, and is better than that in Windows.
>
> As far as including this information in GPS XML is concerned, you could do
> an extension like Garmin do depth and other data in their extension. It
> could either be a time offset, which gives the most flexibility, or it could
> be a parameter. If a parameter this would need to cover both the tz data and
> support fro maritime time zones. The offset is simplest to implement, but
> the parameter tells data users a bit about why the offset is what it is.
>
> Tim
>
>
>
> Smartcom Software Ltd
>
> Portsmouth Technopole
>
> Kingston Crescent
>
> Portsmouth PO2 8FA
>
> United Kingdom
>
>
>
> www.smartcomsoftware.com
>
>
>
> Smartcom Software is a limited company registered in England and Wales,
> registered number 05641521.
>
>
>
> From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf Of
> Jean-Claude REPETTO
> Sent: 05 August 2010 07:22
> To: gpsxml@yahoogroups.com
> Subject: Re: [gpsxml] UTC Offset capability?
>
>
>
>
>
> On 08/04/10 23:29, Alan wrote:
> > The crude but effective method I use is to add/subtract 1 hour to/from
> your
> > GPS track point time for each 15 degrees of longitude the point is
> > ease/west of the Greenwich meridian.
> >
>
> A better method should be to use a vectorial map of the time zones.
> Since the geographical coordinates are known, it will be easy to find
> the time zone.
>
> Jean-Claude
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

#2135 From: Robert Lipe <robertlipe@...>
Date: Thu Aug 5, 2010 9:01 pm
Subject: Re: Re: UTC Offset capability?
robertlipe
Send Email Send Email
 
On Thu, Aug 5, 2010 at 3:37 PM, Dave <daveswarthout@...> wrote:

> I can appreciate the complexity of the issue if one desired to make changes
> to the GPX file format.


This is the group that focuses on the file format itself.   That's why most
of the answers clustered around that.   We get to think about things like
"what if your track spans multiple time zones" and how to present that in
the XML.



> All I want to do is set an offset (in hours + or - UTM and ignoring
> Daylight Saving Time entirely) for a a particular saved GPX file so that the
> tracks I recorded in Fiji show the actual time the track was made, and a
> track I recorded in Paris shows the actual time, in Paris, when the track
> was made.
>

This really is up to the application displaying the time.   The time inside
a GPX file is always GMT.




> I can do this on a file by file basis within Mapsource, as I mentioned, but
> that method is tedious. As is adding an offset to each and every trackpoint
> in the GPX XML code.
>

Doing that actually makes the file itself a lie, but I understand you just
want it to "look right" in an application that doesn't allow what you're
looking for.


> But thanks for the feedback anyway. Perhaps there is no SIMPLE way to do
> what I want.


You can use the 'move' option of GPSBabel's track filter to do it in
semi-automated way.  It's still up to you to decide how many hours/minutes
you want to shift the track.

http://www.gpsbabel.org/htmldoc-1.4.0/filter_track.html


RJL


>
> --- In gpsxml@yahoogroups.com, "Tim Thornton" <tt@...> wrote:
> >
> > This is actually quite a complex issue if you want times used in country,
> as
> > opposed to maritime time zones.
> >
> > For countries which have just one time zone, then the boundaries are
> pretty
> > straightforward and don't change too often.
> >
> > But quite a few countries have multiple time zones, and if you go
> anywhere
> > out of the way then the boundaries between one zone and another are
> > generally not well defined.
> >
> > Also, countries change the time zone and the application of daylight
> saving
> > time much more frequently than one may think - typically a change
> somewhere
> > in the world every few weeks.
> >
> > If you want more info on this, a good starting point is
> > http://www.twinsun.com/tz/tz-link.htm. The tz database is used in most
> Linux
> > distributions, and is better than that in Windows.
> >
> > As far as including this information in GPS XML is concerned, you could
> do
> > an extension like Garmin do depth and other data in their extension. It
> > could either be a time offset, which gives the most flexibility, or it
> could
> > be a parameter. If a parameter this would need to cover both the tz data
> and
> > support fro maritime time zones. The offset is simplest to implement, but
> > the parameter tells data users a bit about why the offset is what it is.
> >
> > Tim
> >
> >
> >
> > Smartcom Software Ltd
> >
> > Portsmouth Technopole
> >
> > Kingston Crescent
> >
> > Portsmouth PO2 8FA
> >
> > United Kingdom
> >
> >
> >
> > www.smartcomsoftware.com
> >
> >
> >
> > Smartcom Software is a limited company registered in England and Wales,
> > registered number 05641521.
> >
> >
> >
> > From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf
> Of
> > Jean-Claude REPETTO
> > Sent: 05 August 2010 07:22
> > To: gpsxml@yahoogroups.com
> > Subject: Re: [gpsxml] UTC Offset capability?
> >
> >
> >
> >
> >
> > On 08/04/10 23:29, Alan wrote:
> > > The crude but effective method I use is to add/subtract 1 hour to/from
> > your
> > > GPS track point time for each 15 degrees of longitude the point is
> > > ease/west of the Greenwich meridian.
> > >
> >
> > A better method should be to use a vectorial map of the time zones.
> > Since the geographical coordinates are known, it will be easy to find
> > the time zone.
> >
> > Jean-Claude
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


[Non-text portions of this message have been removed]

#2136 From: "cmarkc2001" <markc@...>
Date: Thu Sep 2, 2010 12:20 am
Subject: getting started with GPX
cmarkc2001
Send Email Send Email
 
I'm a developer working in Visual Studio 2008 (VB) and i need to build a windows
forms program that will:

open a gpx file
extract the waypoints, routes, and tracks
make changes if necessary
write the new data back to the gpx file, and save it to the gps unit.

I'm working primarily with Garmin and Magellan, but Garmin first.

I'm really having trouble finding out how to get started. I have stacks of books
on XML, but nothing on how to apply the theory to .gpx files. What's the best
way to get started? Are there any sample projects anywhere? There are xml and
gpx specifications all over, but no info on how to work with it in a VB project.

Can anyone help?

thanks
Mark c
Phoenix

#2137 From: Sunburned Surveyor <sunburned.surveyor@...>
Date: Thu Sep 2, 2010 2:32 pm
Subject: Re: getting started with GPX
sunburned.su...
Send Email Send Email
 
Mark,

I don't think there is an existing library for .Net to work with GPX files,
at least not one that is open source. I built an open source library to
parse GPX files, but it is written in Java. If it will help you to look at
the source code, you can find it here:

http://surveyos.svn.sourceforge.net/viewvc/surveyos/java/gpx/branches/20081114-R\
elease/

Take a look at the code, and then let me know if you need some more
direction.

The Sunburned Surveyor
On Wed, Sep 1, 2010 at 5:20 PM, cmarkc2001 <markc@...> wrote:

>
>
> I'm a developer working in Visual Studio 2008 (VB) and i need to build a
> windows forms program that will:
>
> open a gpx file
> extract the waypoints, routes, and tracks
> make changes if necessary
> write the new data back to the gpx file, and save it to the gps unit.
>
> I'm working primarily with Garmin and Magellan, but Garmin first.
>
> I'm really having trouble finding out how to get started. I have stacks of
> books on XML, but nothing on how to apply the theory to .gpx files. What's
> the best way to get started? Are there any sample projects anywhere? There
> are xml and gpx specifications all over, but no info on how to work with it
> in a VB project.
>
> Can anyone help?
>
> thanks
> Mark c
> Phoenix
>
>
>


[Non-text portions of this message have been removed]

#2138 From: "kazokuda" <kaz@...>
Date: Thu Sep 2, 2010 3:35 pm
Subject: Re: getting started with GPX
kazokuda
Send Email Send Email
 
GPX is pretty straight forward XML and there should be a few libraries built
right in to VB to make it easy to parse them.

I have an open source GeoTagger app that I've written (in C#) that parses out
track points from a GPX file.  It isn't VB, but it is .NET and a starting point
(at least for reading).

http://code.google.com/p/geotagger/source/browse/trunk/Geotagger/GPSTrack.cs

I don't know much VB, but the .NET libraries should be similar, and this code
uses an XmlTextReader to parse through the file (reads the file once and copies
the data into another structure for faster access).  I'm sure there is also a
DOM based library (XmlDocument?) that you can use to query the contents of the
file.

Worst case, search for "VB XML" and I'm sure you will find lots of ways to parse
a GPX/XML file.

Saving it back to the GPS unit is a totally different problem.

--- In gpsxml@yahoogroups.com, "cmarkc2001" <markc@...> wrote:
>
> I'm a developer working in Visual Studio 2008 (VB) and i need to build a
windows forms program that will:
>
> open a gpx file
> extract the waypoints, routes, and tracks
> make changes if necessary
> write the new data back to the gpx file, and save it to the gps unit.
>
> I'm working primarily with Garmin and Magellan, but Garmin first.
>
> I'm really having trouble finding out how to get started. I have stacks of
books on XML, but nothing on how to apply the theory to .gpx files. What's the
best way to get started? Are there any sample projects anywhere? There are xml
and gpx specifications all over, but no info on how to work with it in a VB
project.
>
> Can anyone help?
>
> thanks
> Mark c
> Phoenix
>

#2139 From: "Alan" <smithalan@...>
Date: Fri Sep 3, 2010 3:29 am
Subject: RE: Re: getting started with GPX
gpsanimator
Send Email Send Email
 
I used xsd.exe to generate the attached class definition which allowed me to
use the XmlSerializer class to parse (deserialize) GPX (ver 1.1) files.

That's fine for reading and writing, but it won't help you upload them to a
GPS device - you're on your own there.

Cheers,



   _____

From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf Of
kazokuda
Sent: Friday, 3 September 2010 1:35 AM
To: gpsxml@yahoogroups.com
Subject: [gpsxml] Re: getting started with GPX





GPX is pretty straight forward XML and there should be a few libraries built
right in to VB to make it easy to parse them.

I have an open source GeoTagger app that I've written (in C#) that parses
out track points from a GPX file. It isn't VB, but it is .NET and a starting
point (at least for reading).

http://code.google.com/p/geotagger/source/browse/trunk/Geotagger/GPSTrack.cs

I don't know much VB, but the .NET libraries should be similar, and this
code uses an XmlTextReader to parse through the file (reads the file once
and copies the data into another structure for faster access). I'm sure
there is also a DOM based library (XmlDocument?) that you can use to query
the contents of the file.

Worst case, search for "VB XML" and I'm sure you will find lots of ways to
parse a GPX/XML file.

Saving it back to the GPS unit is a totally different problem.

--- In gpsxml@yahoogroups.com <mailto:gpsxml%40yahoogroups.com> ,
"cmarkc2001" <markc@...> wrote:
>
> I'm a developer working in Visual Studio 2008 (VB) and i need to build a
windows forms program that will:
>
> open a gpx file
> extract the waypoints, routes, and tracks
> make changes if necessary
> write the new data back to the gpx file, and save it to the gps unit.
>
> I'm working primarily with Garmin and Magellan, but Garmin first.
>
> I'm really having trouble finding out how to get started. I have stacks of
books on XML, but nothing on how to apply the theory to .gpx files. What's
the best way to get started? Are there any sample projects anywhere? There
are xml and gpx specifications all over, but no info on how to work with it
in a VB project.
>
> Can anyone help?
>
> thanks
> Mark c
> Phoenix
>





[Non-text portions of this message have been removed]

#2140 From: "mark" <markc@...>
Date: Thu Sep 2, 2010 5:12 pm
Subject: RE: getting started with GPX
cmarkc2001
Send Email Send Email
 
Thanks for your response. I will have a look at It over the weekend. This
forum has been most helpful, and I appreciate it.

Mark c.

-----Original Message-----
From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf Of
Sunburned Surveyor
Sent: Thursday, September 02, 2010 7:32 AM
To: gpsxml@yahoogroups.com
Subject: Re: [gpsxml] getting started with GPX

Mark,

I don't think there is an existing library for .Net to work with GPX files,
at least not one that is open source. I built an open source library to
parse GPX files, but it is written in Java. If it will help you to look at
the source code, you can find it here:

http://surveyos.svn.sourceforge.net/viewvc/surveyos/java/gpx/branches/200811
14-Release/

Take a look at the code, and then let me know if you need some more
direction.

The Sunburned Surveyor
On Wed, Sep 1, 2010 at 5:20 PM, cmarkc2001 <markc@...> wrote:

>
>
> I'm a developer working in Visual Studio 2008 (VB) and i need to build a
> windows forms program that will:
>
> open a gpx file
> extract the waypoints, routes, and tracks
> make changes if necessary
> write the new data back to the gpx file, and save it to the gps unit.
>
> I'm working primarily with Garmin and Magellan, but Garmin first.
>
> I'm really having trouble finding out how to get started. I have stacks of
> books on XML, but nothing on how to apply the theory to .gpx files. What's
> the best way to get started? Are there any sample projects anywhere? There
> are xml and gpx specifications all over, but no info on how to work with
it
> in a VB project.
>
> Can anyone help?
>
> thanks
> Mark c
> Phoenix
>
>
>


[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

#2141 From: gps_dr Prehn <gps_dr@...>
Date: Sun Sep 5, 2010 2:18 am
Subject: Re: getting started with GPX
gps_dr
Send Email Send Email
 
Visual studio 2008 includes a feature called LinQ.  It allows you to process
data via SQL like queries.
You can suck in a GPX file in one statement and parse in whatever way you like. 
The Help function in Visual studio should show you videos etc on how to work
with XML in an eaiser manner.  I used it to read/write gpx files to allow me to
translate waypoint symbols between vendors and model lines. Also wrote code to
edit waypoints, process user settings etc.  Also plan to write KML for better
translation to Google earth, and maybe write spreadsheet data for documentation.
Haven't touched visual Basic in a couple years, nor used it beyond class
assignments.
Good Luck

[Non-text portions of this message have been removed]

#2142 From: "cmarkc2001" <markc@...>
Date: Tue Sep 7, 2010 3:50 am
Subject: Re: getting started with GPX
cmarkc2001
Send Email Send Email
 
can you help me out a bit more - i'm new to xml. Some of the code referes to a
gpxtype:

  Dim Myserializer As XmlSerializer = New XmlSerializer(GetType(gpxType))

what is the gpxType, and where do i get it?

thanks
mark c.

--- In gpsxml@yahoogroups.com, "Alan" <smithalan@...> wrote:
>
> I used xsd.exe to generate the attached class definition which allowed me to
> use the XmlSerializer class to parse (deserialize) GPX (ver 1.1) files.
>
> That's fine for reading and writing, but it won't help you upload them to a
> GPS device - you're on your own there.
>
> Cheers,
>
>
>
>   _____
>
> From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf Of
> kazokuda
> Sent: Friday, 3 September 2010 1:35 AM
> To: gpsxml@yahoogroups.com
> Subject: [gpsxml] Re: getting started with GPX
>
>
>
>
>
> GPX is pretty straight forward XML and there should be a few libraries built
> right in to VB to make it easy to parse them.
>
> I have an open source GeoTagger app that I've written (in C#) that parses
> out track points from a GPX file. It isn't VB, but it is .NET and a starting
> point (at least for reading).
>
> http://code.google.com/p/geotagger/source/browse/trunk/Geotagger/GPSTrack.cs
>
> I don't know much VB, but the .NET libraries should be similar, and this
> code uses an XmlTextReader to parse through the file (reads the file once
> and copies the data into another structure for faster access). I'm sure
> there is also a DOM based library (XmlDocument?) that you can use to query
> the contents of the file.
>
> Worst case, search for "VB XML" and I'm sure you will find lots of ways to
> parse a GPX/XML file.
>
> Saving it back to the GPS unit is a totally different problem.
>
> --- In gpsxml@yahoogroups.com <mailto:gpsxml%40yahoogroups.com> ,
> "cmarkc2001" <markc@> wrote:
> >
> > I'm a developer working in Visual Studio 2008 (VB) and i need to build a
> windows forms program that will:
> >
> > open a gpx file
> > extract the waypoints, routes, and tracks
> > make changes if necessary
> > write the new data back to the gpx file, and save it to the gps unit.
> >
> > I'm working primarily with Garmin and Magellan, but Garmin first.
> >
> > I'm really having trouble finding out how to get started. I have stacks of
> books on XML, but nothing on how to apply the theory to .gpx files. What's
> the best way to get started? Are there any sample projects anywhere? There
> are xml and gpx specifications all over, but no info on how to work with it
> in a VB project.
> >
> > Can anyone help?
> >
> > thanks
> > Mark c
> > Phoenix
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

#2143 From: "dananderson2" <dananderson2@...>
Date: Fri Sep 10, 2010 12:55 am
Subject: Re: getting started with GPX
dananderson2
Send Email Send Email
 
"gpxType" is the gpx data.

I suggest you read through the schema documentation...

http://www.topografix.com/GPX/1/1/

Dan


--- In gpsxml@yahoogroups.com, "cmarkc2001" <markc@...> wrote:
>
> can you help me out a bit more - i'm new to xml. Some of the code referes to a
gpxtype:
>
>  Dim Myserializer As XmlSerializer = New XmlSerializer(GetType(gpxType))
>
> what is the gpxType, and where do i get it?
>
> thanks
> mark c.

#2144 From: "vkbellis" <kellybellis@...>
Date: Tue Oct 5, 2010 3:14 pm
Subject: Looking for an app
vkbellis
Send Email Send Email
 
Does anybody know it there is a little app that can read in a text file of
coordinates and spit out a formatted GPX file?

I'm a land surveyor and wish to take a bucket of coordinates and produce a GPX
file from them.

Thanks for any advice!

Kind regards,

Kelly

#2145 From: Robert Lipe <robertlipe@...>
Date: Wed Oct 6, 2010 11:07 pm
Subject: Re: Looking for an app
robertlipe
Send Email Send Email
 
On Tue, Oct 5, 2010 at 8:14 AM, vkbellis <kellybellis@...> wrote:

> Does anybody know it there is a little app that can read in a text file of
> coordinates and spit out a formatted GPX file?
>
> I'm a land surveyor and wish to take a bucket of coordinates and produce a
> GPX file from them.
>

GPSBabel writes GPX, reads many text file formats, makes it easy to add news
ones, and probably runs on your unstated operating system.


[Non-text portions of this message have been removed]

#2146 From: "Alan" <smithalan@...>
Date: Thu Nov 4, 2010 10:16 am
Subject: Time stamps in GPX - decimal seconds
gpsanimator
Send Email Send Email
 
Hi GPX Forum
I'm wanting to analyse GPS track points with an accuracy higher than one
second. Obviously the validity of the data will depend on the GPS device,
but it seems that the xsd:dateTime does not allow for decimals.
Is this a subject already fully canvassed?

#2147 From: Dan Foster <egroups@...>
Date: Thu Nov 4, 2010 12:29 pm
Subject: Re: Time stamps in GPX - decimal seconds
topografix
Send Email Send Email
 
Hello,

Thursday, November 4, 2010, 6:16:30 AM, Alan wrote:

>
> Hi GPX Forum
> I'm wanting to analyse GPS track points with an accuracy higher than one
> second. Obviously the validity of the data will depend on the GPS device,
> but it seems that the xsd:dateTime does not allow for decimals.
> Is this a subject already fully canvassed?

GPX allows decimal seconds, as does ISO 8601, on which GPX' XML dateTime is
based.

Element: time

Creation/modification timestamp for element. Date and time in are in Univeral
Coordinated Time (UTC), not local time! Conforms to ISO 8601 specification for
date/time representation. Fractional seconds are allowed for millisecond timing
in tracklogs.

http://en.wikipedia.org/wiki/ISO_8601
Decimal fractions may also be added to any of the three time elements. A decimal
point, either a comma or a dot (without any preference as stated most recently
in resolution 10 of the 22nd General Conference CGPM in 2003), is used as a
separator between the time element and its fraction. A fraction may only be
added to the lowest order time element in the representation. To denote "14
hours, 30 and one half minutes", do not include a seconds figure. Represent it
as "14:30,5", "1430,5", "14:30.5", or "1430.5". There is no limit on the number
of decimal places for the decimal fraction. However, the number of decimal
places needs to be agreed to by the communicating parties.




--
Dan Foster

#2148 From: "Alan" <smithalan@...>
Date: Fri Nov 5, 2010 8:10 pm
Subject: RE: Time stamps in GPX - decimal seconds
gpsanimator
Send Email Send Email
 
That gives me encouragement to investigate further, thanks.

-----Original Message-----
From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf Of
Dan Foster
Sent: Thursday, 4 November 2010 11:29 PM
To: Alan
Subject: Re: [gpsxml] Time stamps in GPX - decimal seconds

Hello,

Thursday, November 4, 2010, 6:16:30 AM, Alan wrote:

>
> Hi GPX Forum
> I'm wanting to analyse GPS track points with an accuracy higher than
> one second. Obviously the validity of the data will depend on the GPS
> device, but it seems that the xsd:dateTime does not allow for decimals.
> Is this a subject already fully canvassed?

GPX allows decimal seconds, as does ISO 8601, on which GPX' XML dateTime is
based.

Element: time

Creation/modification timestamp for element. Date and time in are in
Univeral Coordinated Time (UTC), not local time! Conforms to ISO 8601
specification for date/time representation. Fractional seconds are allowed
for millisecond timing in tracklogs.

http://en.wikipedia.org/wiki/ISO_8601
Decimal fractions may also be added to any of the three time elements. A
decimal point, either a comma or a dot (without any preference as stated
most recently in resolution 10 of the 22nd General Conference CGPM in 2003),
is used as a separator between the time element and its fraction. A fraction
may only be added to the lowest order time element in the representation. To
denote "14 hours, 30 and one half minutes", do not include a seconds figure.
Represent it as "14:30,5", "1430,5", "14:30.5", or "1430.5". There is no
limit on the number of decimal places for the decimal fraction. However, the
number of decimal places needs to be agreed to by the communicating parties.




--
Dan Foster



------------------------------------

Yahoo! Groups Links

Messages 2119 - 2148 of 2257   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright ฉ 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help