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 2169 - 2198 of 2257   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#2169 From: "Muhammad" <muhammadhussainbalti@...>
Date: Fri Apr 1, 2011 7:40 am
Subject: track in gpx
muhammadhuss...
Send Email Send Email
 
Message-ID: <in3vh2+jsfc@eGroups.com>
User-Agent: eGroups-EW/0.82
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Yahoo Groups Message Poster
X-Yahoo-Post-IP: 117.102.8.194
X-Yahoo-Newman-Property: groups-compose
Sender: notify@yahoogroups.com
X-Yahoo-GPoster: xwipyesbnaumqiu4m5oq

hello everyone,
How to create tracks in a gpx file through serailization of entities in c#.=
net, could any provide me the source code of waypoints tracks, routes and g=
px .

thanks,
mht

#2170 From: "WARREN" <wbporter455@...>
Date: Tue Apr 5, 2011 2:38 pm
Subject: Validating existing GPX file after removing waypoints.
wbporter455...
Send Email Send Email
 
I am trying to start with an existing GPX file and removing waypoints
which are outside an area of interest.  When I write the edited file
back out, neither Google Earth or Garmin MapSource can read it.  Other
than change or add the newline character after any grouping is closed
(</etc>), I am doing nothing to the file.

Are there any suggestions to help insure the file validates?

Thanks in advance.

#2171 From: "etheriau" <eric@...>
Date: Thu Apr 7, 2011 6:26 am
Subject: rtept verses trkseg
eytheriault
Send Email Send Email
 
Hi--

I've noticed that the GPX files generated by Streets and Trips uses the rtept
for encoding their waypoints verses what Garmin uses is a a trk. From the
documentation, these appear quite similar. While a document can have both and
validate, are there things to be concerned about if I were to encode both in a
single file?  Thanks.

Eric

#2172 From: "cmarkc2001" <markc@...>
Date: Tue Apr 26, 2011 10:31 pm
Subject: Working with .gpx files
cmarkc2001
Send Email Send Email
 
I am trying to build a test project that writes a .gpx file from new gps data.
I've got the .gpx schema from Topografix, and i've built a "GPXType" with an xsd
utility. But i can't figure out how to read / write data to the GPXtype.

So i've began working with regular XML, using the topografix schema, and still
am unable to build a document and populate it with gps data.

My development environment is Visual Studio 2008, Visual Basic.

No doubt it's due to my limited experience with this, so i'm hoping there may be
some sample code or projects available. Can anyone help?

thanks

mark c.

#2173 From: "Tony Kinsella" <tonykin@...>
Date: Wed May 4, 2011 4:45 pm
Subject: RE: Validating existing GPX file after removing waypoints.
cinsellach
Send Email Send Email
 
You might like to try the validation procedure on
http://www.topografix.com/gpx_validation.asp



From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf Of
WARREN
Sent: 05 April 2011 15:38
To: gpsxml@yahoogroups.com
Subject: [gpsxml] Validating existing GPX file after removing waypoints.





I am trying to start with an existing GPX file and removing waypoints
which are outside an area of interest. When I write the edited file
back out, neither Google Earth or Garmin MapSource can read it. Other
than change or add the newline character after any grouping is closed
(</etc>), I am doing nothing to the file.

Are there any suggestions to help insure the file validates?

Thanks in advance.





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

#2174 From: "Anthony Cartmell" <ajcartmell@...>
Date: Wed May 4, 2011 5:01 pm
Subject: Re: rtept verses trkseg
fonant
Send Email Send Email
 
> I've noticed that the GPX files generated by Streets and Trips uses the
> rtept for encoding their waypoints verses what Garmin uses is a a trk.
> From the documentation, these appear quite similar. While a document can
> have both and validate, are there things to be concerned about if I were
> to encode both in a single file?  Thanks.

A route point is generally understood to be a pre-planned location along a
route. A set of route points typically draws a set of straight lines from
junction to junction along the planned route.

A track point is generally understood to be a point actually visited while
proceeding along a route. A set of track points typically draws a detailed
trace of where the route actually goes, following every twist and turn.

It's perfectly acceptable to have both in the same GPX file. How they are
used or interpreted depends on the software or device that's reading the
file.

Anthony
--
www.fonant.com - Quality web sites
Fonant Ltd is registered in England and Wales, company No. 7006596
Registered office: Amelia House, Crescent Road, Worthing, West Sussex,
BN11 1QR

#2175 From: "Alan" <smithalan@...>
Date: Wed May 4, 2011 8:58 pm
Subject: RE: Validating existing GPX file after removing waypoints.
gpsanimator
Send Email Send Email
 
It's often a problem with the text editor you're using inserting
non-printing characters - Notepad is a big offender here. Try changing test
editor - I use Vim (on UX and W7)







   _____

From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf Of
WARREN
Sent: Wednesday, 6 April 2011 12:38 AM
To: gpsxml@yahoogroups.com
Subject: [gpsxml] Validating existing GPX file after removing waypoints.





I am trying to start with an existing GPX file and removing waypoints
which are outside an area of interest. When I write the edited file
back out, neither Google Earth or Garmin MapSource can read it. Other
than change or add the newline character after any grouping is closed
(</etc>), I am doing nothing to the file.

Are there any suggestions to help insure the file validates?

Thanks in advance.





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

#2176 From: "Alan" <smithalan@...>
Date: Wed May 4, 2011 9:08 pm
Subject: RE: Working with .gpx files
gpsanimator
Send Email Send Email
 
You need to get your head around XML serialization.

Here's some VB that I use to read GPX - I hope it helps.



     Public Sub LoadGPXData(ByVal fileName As String)

         'Dim MyFileStream As FileStream = New FileStream(fileName,
FileMode.Open)

         ' overcomes read-only prevention

         Dim MyFileStream As StreamReader = New StreamReader(fileName)

         Dim i As Integer = 0

         'Dim dupTrack As Boolean

         'For i = 0 To currentTrack - 1

         '    dupTrack = (tracks(i).fileName = tracks(currentTrack).fileName)

         'Next

         Dim timedTrack As Boolean = False

         ' for un-timed tracks - need start time and route speed

         Dim startTime As Double

         Dim routeSpeed As Double

         '

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

         Dim mygpx As gpxType = New gpxType

         Try

             mygpx = CType(Myserializer.Deserialize(MyFileStream), gpxType)

             MyFileStream.Close()

         Catch ex As Exception

             MsgBox("Unable to convert the GPX file - ensure that it conforms
to GPX 1.1 (http://www.topografix.com/GPX/1/1 and try again")

             Exit Sub

         End Try

         Dim Singletrk As trkType

         Dim SingletrkSeg As trksegType

         Dim SingletrkPt As wptType

         ' how many tracks?

         Dim trkCount As Integer = 0

         Dim IGCTrkCount As Integer = 0

         Dim availableTrackNames() As String

         Dim selectedTrackName As String = ""

         ReDim availableTrackNames(mygpx.trk.GetLength(0)) ' should be
length-1 but found that comboBox.DataSource likes a null at the end???

         For Each Singletrk In mygpx.trk

             If Not Singletrk.name Is Nothing Then 'GpsBabel generates
multiple, un-named tracks from Plt files... so

                 availableTrackNames(trkCount) = Singletrk.name

                 trkCount += 1

                 If Singletrk.name = "PRESALTTRK" Or Singletrk.name =
"GNSSALTTRK" Then

                     IGCTrkCount += 1

                 End If

             End If



   _____

From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf Of
cmarkc2001
Sent: Wednesday, 27 April 2011 8:32 AM
To: gpsxml@yahoogroups.com
Subject: [gpsxml] Working with .gpx files







I am trying to build a test project that writes a .gpx file from new gps
data. I've got the .gpx schema from Topografix, and i've built a "GPXType"
with an xsd utility. But i can't figure out how to read / write data to the
GPXtype.

So i've began working with regular XML, using the topografix schema, and
still am unable to build a document and populate it with gps data.

My development environment is Visual Studio 2008, Visual Basic.

No doubt it's due to my limited experience with this, so i'm hoping there
may be some sample code or projects available. Can anyone help?

thanks

mark c.





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

#2177 From: "cmarkc2001" <markc@...>
Date: Sat May 7, 2011 7:43 pm
Subject: Re: Working with .gpx files
cmarkc2001
Send Email Send Email
 
Thanks for your help on this. I was able to run and adapt the code and it worked
well.

What i need help with now is this: creating a blank gpx file from the topografix
schema (or gpxType) and adding waypoints, routes, and tracks to it, then writing
it out as a .gpx file. Do you have any help with that?

thanks
mark c.
Phoenix

--- In gpsxml@yahoogroups.com, "Alan" <smithalan@...> wrote:
>
> You need to get your head around XML serialization.
>
> Here's some VB that I use to read GPX - I hope it helps.
>
>
>
>     Public Sub LoadGPXData(ByVal fileName As String)
>
>         'Dim MyFileStream As FileStream = New FileStream(fileName,
> FileMode.Open)
>
>         ' overcomes read-only prevention
>
>         Dim MyFileStream As StreamReader = New StreamReader(fileName)
>
>         Dim i As Integer = 0
>
>         'Dim dupTrack As Boolean
>
>         'For i = 0 To currentTrack - 1
>
>         '    dupTrack = (tracks(i).fileName = tracks(currentTrack).fileName)
>
>         'Next
>
>         Dim timedTrack As Boolean = False
>
>         ' for un-timed tracks - need start time and route speed
>
>         Dim startTime As Double
>
>         Dim routeSpeed As Double
>
>         '
>
>         Dim Myserializer As XmlSerializer = New
> XmlSerializer(GetType(gpxType))
>
>         Dim mygpx As gpxType = New gpxType
>
>         Try
>
>             mygpx = CType(Myserializer.Deserialize(MyFileStream), gpxType)
>
>             MyFileStream.Close()
>
>         Catch ex As Exception
>
>             MsgBox("Unable to convert the GPX file - ensure that it conforms
> to GPX 1.1 (http://www.topografix.com/GPX/1/1 and try again")
>
>             Exit Sub
>
>         End Try
>
>         Dim Singletrk As trkType
>
>         Dim SingletrkSeg As trksegType
>
>         Dim SingletrkPt As wptType
>
>         ' how many tracks?
>
>         Dim trkCount As Integer = 0
>
>         Dim IGCTrkCount As Integer = 0
>
>         Dim availableTrackNames() As String
>
>         Dim selectedTrackName As String = ""
>
>         ReDim availableTrackNames(mygpx.trk.GetLength(0)) ' should be
> length-1 but found that comboBox.DataSource likes a null at the end???
>
>         For Each Singletrk In mygpx.trk
>
>             If Not Singletrk.name Is Nothing Then 'GpsBabel generates
> multiple, un-named tracks from Plt files... so
>
>                 availableTrackNames(trkCount) = Singletrk.name
>
>                 trkCount += 1
>
>                 If Singletrk.name = "PRESALTTRK" Or Singletrk.name =
> "GNSSALTTRK" Then
>
>                     IGCTrkCount += 1
>
>                 End If
>
>             End If
>
>
>
>   _____
>
> From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf Of
> cmarkc2001
> Sent: Wednesday, 27 April 2011 8:32 AM
> To: gpsxml@yahoogroups.com
> Subject: [gpsxml] Working with .gpx files
>
>
>
>
>
>
>
> I am trying to build a test project that writes a .gpx file from new gps
> data. I've got the .gpx schema from Topografix, and i've built a "GPXType"
> with an xsd utility. But i can't figure out how to read / write data to the
> GPXtype.
>
> So i've began working with regular XML, using the topografix schema, and
> still am unable to build a document and populate it with gps data.
>
> My development environment is Visual Studio 2008, Visual Basic.
>
> No doubt it's due to my limited experience with this, so i'm hoping there
> may be some sample code or projects available. Can anyone help?
>
> thanks
>
> mark c.
>
>
>
>
>
> [Non-text portions of this message have been removed]
>

#2178 From: "jack Baker" <jackb@...>
Date: Wed May 4, 2011 4:47 pm
Subject: RE: Validating existing GPX file after removing waypoints.
jackb@...
Send Email Send Email
 
Sir

If you want to send me the file I will check first to see if it is a good
GPX file. I can remove the waypoints you don't want and send the file back
if you like.

Jack Baker USA

jackb@...



From: gpsxml@yahoogroups.com [mailto:gpsxml@yahoogroups.com] On Behalf Of
WARREN
Sent: Tuesday, April 05, 2011 9:38 AM
To: gpsxml@yahoogroups.com
Subject: [gpsxml] Validating existing GPX file after removing waypoints.





I am trying to start with an existing GPX file and removing waypoints
which are outside an area of interest. When I write the edited file
back out, neither Google Earth or Garmin MapSource can read it. Other
than change or add the newline character after any grouping is closed
(</etc>), I am doing nothing to the file.

Are there any suggestions to help insure the file validates?

Thanks in advance.





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

#2179 From: "etheriau" <eric@...>
Date: Thu May 5, 2011 4:18 pm
Subject: Re: rtept verses trkseg
eytheriault
Send Email Send Email
 
--- In gpsxml@yahoogroups.com, "Anthony Cartmell" <ajcartmell@...> wrote:
> A route point is generally understood to be a pre-planned location along a
> route. A set of route points typically draws a set of straight lines from
> junction to junction along the planned route.
>
> A track point is generally understood to be a point actually visited while
> proceeding along a route. A set of track points typically draws a detailed
> trace of where the route actually goes, following every twist and turn.
>
> It's perfectly acceptable to have both in the same GPX file. How they are
> used or interpreted depends on the software or device that's reading the
> file.

Thanks for clarifying! That's what I had thought, but I just wanted to be sure I
wasn't overlooking anything.

Eric

#2180 From: "James" <cizekjc@...>
Date: Mon Jun 13, 2011 7:56 pm
Subject: Adding POI data to existing GPX based on distance
jamescizek
Send Email Send Email
 
Hi everyone,

   I have a GPX file that currently has a track defined by waypoints (I believe
somewhere in the neighborhood of 1400 of them) and that is all.  I'd like to add
some POI data to the file, but want to do it by distance. For example, I'd like
to declare the first waypoint the beginning, and then add a POI, say... 20 miles
from the beginning of the track. And another at maybe 35 miles up the track,
etc,etc...
I have had no problem adding POI using various GPX editors out there, but I
can't find a way to add the distance up by measuring the distance between each
waypoint and setting the POI based on that (well, without manually calculating
the distance between each lat/long by hand and adding it!).  Can anyone help me
out with any ideas?   Many thanks!!
  -James

#2181 From: "a76574z" <a76574z@...>
Date: Tue Oct 4, 2011 1:49 pm
Subject: GPX Namespace Offline
a76574z
Send Email Send Email
 
Hi,
is there a possibility to make the gpx namespace offline available?

#2182 From: "marianocal84" <mariano.calandra@...>
Date: Sat Oct 29, 2011 2:45 pm
Subject: What the use of segment and when device create new one?
marianocal84
Send Email Send Email
 
The question is simple: What is the use of the segment? Why trkpt tag can't be
stored directly inside track supertag? What is the concept that  make useful
collect a set of points inside a segment?

Best regards
Mariano

#2183 From: "Miller, Craig" <craig.miller@...>
Date: Sat Oct 29, 2011 10:50 pm
Subject: Re: What the use of segment and when device create new one?
nwoverlander
Send Email Send Email
 
Other scenarios might be because different segments need to be displayed
differently, or have other distinguishing attributes.


On Sat, Oct 29, 2011 at 7:45 AM, marianocal84 <mariano.calandra@...>wrote:

> **
>
>
> The question is simple: What is the use of the segment? Why trkpt tag
> can't be stored directly inside track supertag? What is the concept that
> make useful collect a set of points inside a segment?
>
> Best regards
> Mariano
>
>
>



--
Craig Miller
Geospatial Software Architect
SpatialMinds.com


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

#2184 From: "Miller, Craig" <craig.miller@...>
Date: Sat Oct 29, 2011 10:48 pm
Subject: Re: What the use of segment and when device create new one?
nwoverlander
Send Email Send Email
 
Your taking a trip and the first segment of your route goes from your house
to the bus-stop.  The second segment goes from the bus-stop to downtown.

Or, the first segment goes from the trailhead where you'll have lunch.  The
second segment goes from the lunch spot to an overlook.  The third segment
takes you back to the trailhead.

or...

Craig


On Sat, Oct 29, 2011 at 7:45 AM, marianocal84 <mariano.calandra@...>wrote:

> **
>
>
> The question is simple: What is the use of the segment? Why trkpt tag
> can't be stored directly inside track supertag? What is the concept that
> make useful collect a set of points inside a segment?
>
> Best regards
> Mariano
>
>
>



--
Craig Miller
Geospatial Software Architect
SpatialMinds.com


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

#2185 From: "marianocal84" <mariano.calandra@...>
Date: Sun Oct 30, 2011 8:59 am
Subject: Re: What the use of segment and when device create new one?
marianocal84
Send Email Send Email
 
In this way, who decide to close actual segment and start a new one? Who
understand when I change transportation mode? I haven't seen tracker with this
possibility, so previous operation will be done automatically but what is the
algorithm?

One of my idea was: I'm travelling, then I take a tunnel, signal is lost, so
segment is closed. When I will be out of the tunnel and a new fix will happen
new point will be stored inside new segment. Is a right idea?

--- In gpsxml@yahoogroups.com, "Miller, Craig" <craig.miller@...> wrote:
>
> Your taking a trip and the first segment of your route goes from your house
> to the bus-stop.  The second segment goes from the bus-stop to downtown.

> Craig
>
>
> On Sat, Oct 29, 2011 at 7:45 AM, marianocal84 <mariano.calandra@...>wrote:
>
> > **
> >
> >
> > The question is simple: What is the use of the segment? Why trkpt tag
> > can't be stored directly inside track supertag? What is the concept that
> > make useful collect a set of points inside a segment?
> >
> > Best regards
> > Mariano
> >
> >
> >
>
>
>
> --
> Craig Miller
> Geospatial Software Architect
> SpatialMinds.com
>
>
> [Non-text portions of this message have been removed]
>

#2186 From: "Miller, Craig" <craig.miller@...>
Date: Sun Oct 30, 2011 9:04 am
Subject: Re: Re: What the use of segment and when device create new one?
nwoverlander
Send Email Send Email
 
Those are all implementation/app specific details that assume a very simple
"tracker".  GPX can be created by a routing engine, manually with a mouse,
or with more complex data collection software.  Anyway, you asked *why* and
I gave you several use-cases that demonstrate where segments are a useful
addition to the specification.

Craig


On Sun, Oct 30, 2011 at 1:59 AM, marianocal84 <mariano.calandra@...>wrote:

> **
>
>
> In this way, who decide to close actual segment and start a new one? Who
> understand when I change transportation mode? I haven't seen tracker with
> this possibility, so previous operation will be done automatically but what
> is the algorithm?
>
> One of my idea was: I'm travelling, then I take a tunnel, signal is lost,
> so segment is closed. When I will be out of the tunnel and a new fix will
> happen new point will be stored inside new segment. Is a right idea?
>
>
> --- In gpsxml@yahoogroups.com, "Miller, Craig" <craig.miller@...> wrote:
> >
> > Your taking a trip and the first segment of your route goes from your
> house
> > to the bus-stop. The second segment goes from the bus-stop to downtown.
>
> > Craig
> >
> >
> > On Sat, Oct 29, 2011 at 7:45 AM, marianocal84 <mariano.calandra@
> ...>wrote:
> >
> > > **
>
> > >
> > >
> > > The question is simple: What is the use of the segment? Why trkpt tag
> > > can't be stored directly inside track supertag? What is the concept
> that
> > > make useful collect a set of points inside a segment?
> > >
> > > Best regards
> > > Mariano
> > >
> > >
> > >
> >
> >
> >
> > --
> > Craig Miller
> > Geospatial Software Architect
> > SpatialMinds.com
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>



--
Craig Miller
Geospatial Software Architect
SpatialMinds.com


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

#2187 From: Albannach <oileanach@...>
Date: Sun Oct 30, 2011 2:20 pm
Subject: Re: What the use of segment and when device create new one?
cumhachd
Send Email Send Email
 
There is at least one tracking tool with this capability. I read recently
of a university project somewhere in California (searching left as an
exercise for the reader) which uses the smartphone's accelerometer to
detect vibration patterns unique to the mode. Apparently you can
distinguish among bus, cycling, walking, rail and so on fairly well. I
can't recall but it may also have used sound to aid in this detection of
mode.  At any rate you are correct of course that GPS is lost in a subway
for instance, but through the mode detection you can separate out wait time
from riding time and so on, and you can get the entry/exit stop locations
from the loss/gain of GPS.

On Sun, Oct 30, 2011 at 1:59 AM, marianocal84 <mariano.calandra@...>
wrote:
> In this way, who decide to close actual segment and start a new one? Who
> understand when I change transportation mode? I haven't seen tracker with
> this possibility, so previous operation will be done automatically but
what
> is the algorithm?
>
> One of my idea was: I'm travelling, then I take a tunnel, signal is lost,
> so segment is closed. When I will be out of the tunnel and a new fix will
> happen new point will be stored inside new segment. Is a right idea?


--
"Give a man a piece of working code and you solve his problem. Teach a
  man to write code and you give him a lifetime of new problems."
     - Timothy J. Luoma


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

#2188 From: Dan Foster <egroups@...>
Date: Mon Oct 31, 2011 8:43 pm
Subject: Re: Re: What the use of segment and when device create new one?
topografix
Send Email Send Email
 
Hello,

Sunday, October 30, 2011, 4:59:12 AM, marianocal84 wrote:

> One of my idea was: I'm travelling, then I take a tunnel, signal is
> lost, so segment is closed. When I will be out of the tunnel and a
> new fix will happen new point will be stored inside new segment. Is a right
idea?

That was the original reason that <trkseg> was included in GPX.
Garmin GPS tracklogs had a flag that signified that signal was lost
and regained, so that would trigger a new segment in GPX.  Many GPX
implementations don't draw a line between the end of a segment and the
start of the next.

Thanks to Craig Miller for pointing out other uses, and the fact that
all of this is implementation-specific.


--
Dan Foster

#2189 From: "pauleyc" <pauleyc@...>
Date: Fri Nov 4, 2011 12:58 pm
Subject: gpx data in mysql - schema available
pauleyc
Send Email Send Email
 
Hi gpsxml yahoo group,

I was working on a project using gpx data stored in a mysql database and I
thought I'd share. http://www.gpxdb.org/

I built a java middle tier and have exposed many of the CRUD functionality in a
webapp for it, which I intend to share as well, probly' in a git project once
its clean enough to put my name on it. I've been trolling for a PHP developer to
put a project together (hopefully w/Zend framework), but haven't had any serious
takers yet. BuildItWithMe http://builditwith.me/idea/qLIL

Cheers,
Chris

#2190 From: "tacman1123" <tacman@...>
Date: Mon Nov 7, 2011 11:47 pm
Subject: Pitch, tilt and heading now standard in GPX?
tacman1123
Send Email Send Email
 
I'm working on the software for a geo-enabled panoramic camera system and would
like to use GPX as our internal format for all the obvious reasons.

Have pitch, tilt and heading been accepted into the GPX 1.1 standard?  I'm
reading through old messages like the thread here:

http://tech.groups.yahoo.com/group/gpsxml/message/2049

and wondering what the status is.  If so, is the proper way to add that data
like this:

<trkpt lat="49.992008258092" lon="8.6638164208806"><ele>186.8248622</ele>
<time>2011-04-18T10:43:42Z</time>
<pitch>-9</pitch>
<tilt>0</tilt>
<heading>186</heading>
</trkpt>

If the solution is to use custom extensions, can someone point me to an example
of how to add it?

Thanks!

Tac

#2191 From: "sylmarinobia123" <sylmarino@...>
Date: Thu Nov 10, 2011 3:34 pm
Subject: Need help in getting sample GPX files over 3MB
sylmarinobia123
Send Email Send Email
 
I'm having an issue with our site upload for GPX files over 3MB.  I only have a
few of these files.  Any thoughts on how / where I can get some GPX files that
are over 3MB to test with?

#2192 From: Robert Lipe <robertlipe@...>
Date: Thu Nov 10, 2011 6:24 pm
Subject: Re: Pitch, tilt and heading now standard in GPX?
robertlipe
Send Email Send Email
 
No, they are not part of GPX 1.1.  Interest in 1.2 fizzled.  You'll have to
do it as an extension.  You can see the output of GPX writers by Topografix
(ExpertGPS) or Garmin to see how to do extensions.

On Mon, Nov 7, 2011 at 5:47 PM, tacman1123 <tacman@...> wrote:

> I'm working on the software for a geo-enabled panoramic camera system and
> would like to use GPX as our internal format for all the obvious reasons.
>
> Have pitch, tilt and heading been accepted into the GPX 1.1 standard?  I'm
> reading through old messages like the thread here:
>
> http://tech.groups.yahoo.com/group/gpsxml/message/2049
>
> and wondering what the status is.  If so, is the proper way to add that
> data like this:
>
> <trkpt lat="49.992008258092" lon="8.6638164208806"><ele>186.8248622</ele>
> <time>2011-04-18T10:43:42Z</time>
> <pitch>-9</pitch>
> <tilt>0</tilt>
> <heading>186</heading>
> </trkpt>
>
> If the solution is to use custom extensions, can someone point me to an
> example of how to add it?
>
> Thanks!
>
> Tac
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


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

#2193 From: Robert Lipe <robertlipe@...>
Date: Thu Nov 10, 2011 6:28 pm
Subject: Re: Need help in getting sample GPX files over 3MB
robertlipe
Send Email Send Email
 
If you're having problems with file upload, it's unlikely that the contents
of the file have anything to do with it.   Since you don't care about the
validity, you can fill it with nonsense or just duplicate the inside of any
GPX repeatedly.

GPSBabel can generate random points.

gpsbabel -i random,points=100000 -f ignored -o gpx -F blah.gpx   comes in
around 18MB, for example.


On Thu, Nov 10, 2011 at 9:34 AM, sylmarinobia123 <sylmarino@...>wrote:

> I'm having an issue with our site upload for GPX files over 3MB.  I only
> have a few of these files.  Any thoughts on how / where I can get some GPX
> files that are over 3MB to test with?
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


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

#2194 From: "michele" <focareta@...>
Date: Mon Nov 21, 2011 2:46 pm
Subject: library or example for create gpx in actionscript 3
focareta
Send Email Send Email
 
Hello, I'm new to the forum! I wanted to know if there is a library or example
in actionscript 3 to create a gpx file. Can you help me please?

Thanks

Michele

#2195 From: "largegreenwood" <rubbish@...>
Date: Mon Nov 28, 2011 4:23 pm
Subject: Some clarification needed on how to express routes and navigation
largegreenwood
Send Email Send Email
 
Hey all,

I'm currently working on "yet another navigation app" and I'm trying to get a
hold on how to export (and import) navigation data to and from other, and my
own, application.

Basically the docs and examples for GPX are pretty clear, which means that I can
use <rte> for the routes, <rtept> for turn points, and <wpt> for waypoints. I
don't think I should use <trk> when creating navigational data. So far, so good.
But now it get's confusing:

People usually define a route by setting up "waypoints" (start, end, visit in
between). Any application than calculates:
- a set of "turn points"
- a pre-calculated, detailed track following the roads between those turn points

So what we get is:

- user defined waypoints (start, end, visit in between)
- calculated turn points
- calculated "route" points (junctions with less than 3 roads, so no "turn" is
necessary)

I guess the waypoints could be stored as <wpt> in the file.

This leads to some questions, and I'd like to clarify if there's something "in
the format" to handle this, or if everybody just uses "workarounds" (what seems
to be what MapSource is doing):

1. if waypoints are stored in the "top level" of the file, how to assign the
waypoints to the routes within the same file?
- idea: if there are 3 routes in the file, there should be 4 waypoints, so the
routes describe what's going on between the waypoints? I have some Garmin files
that are exactly the opposite, 3 waypoints, 4 routes. They obviously do
something different. Also it's easy to see that Garmin/MapSource handles this
completely different, they use <rtept> as waypoints. No idea what the <wpt>
exactly represent.

2. there's always a level "below" the turn points, which is the more detailed
track BETWEEN the turn points. Garmin seems to use extensions to add a point
list to each <rtept>, describing those pre-calculated "track" to display without
recalculation.
- is there any more "standard" way in gpx 1.1 to do this?

I'm pretty much puzzled because MapSource is doing this all non-standard and I'm
trying to figure out if they are just trying to be special, or if there really
is no way to fit this use case perfectly into GPX.

I'd like to try to make my application "talkative" to other applications.

Thanks in advance :)
- Lars

#2196 From: "okl" <menjaraz@...>
Date: Fri Nov 11, 2011 7:04 am
Subject: New folder in files
menjaraz
Send Email Send Email
 
Hello every body,

I've created then new Delphi folder for any delphi source code related to gpx.

Thanx.

#2197 From: Robert Lipe <robertlipe@...>
Date: Mon Nov 28, 2011 5:29 pm
Subject: Re: Some clarification needed on how to express routes and navigation
robertlipe
Send Email Send Email
 
>
> 1. if waypoints are stored in the "top level" of the file, how to assign
> the waypoints to the routes within the same file?

- idea: if there are 3 routes in the file, there should be 4 waypoints, so
> the routes describe what's going on


There's no reason that start, stop, and "scheduled lunchbreak" can't all be
routepoints.   It's a perfectly reasonable way to express what you're
describing.


> between the waypoints? I have some Garmin files that are exactly the
> opposite, 3 waypoints, 4 routes. They obviously do something different.
> Also it's easy to see that Garmin/MapSource handles this completely
> different, they use <rtept> as waypoints. No idea what the <wpt> exactly
> represent.
>

Routes and Waypoints can be completely independent in GPX.   You may want a
waypoint for "home" and you may want a routepoint in a route for "home",
but you don't _have_ to have a waypoint for every routepoint.


> 2. there's always a level "below" the turn points, which is the more
> detailed track BETWEEN the turn points. Garmin seems to use extensions to
> add a point list to each <rtept>, describing those pre-calculated "track"
> to display without recalculation.
> - is there any more "standard" way in gpx 1.1 to do this?
>

As a rule: A route is where you want to go.   A track is a record of where
you've been.

If you want to store turnpoints, a rtept is the place to do it.


> I'm pretty much puzzled because MapSource is doing this all non-standard
> and I'm trying to figure out if they are just trying to be special, or if
> there really is no way to fit this use case perfectly into GPX.
>

I haven't looked at their GPX in a long time.  I remember being puzzled at
several of their extensions.

RJL


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

#2198 From: "largegreenwood" <rubbish@...>
Date: Mon Nov 28, 2011 6:15 pm
Subject: Re: Some clarification needed on how to express routes and navigation
largegreenwood
Send Email Send Email
 
Robert,

thanks for your reply; I understand your point and it makes sense. So, in a
nutshell, I should stick to <rte> and <rtept>.

But I'd like to somehow differentiate between the user-defined points ("I want
to be here while travelling") and the calculated turns ("you need to be
here/turn here to reach your target"), plus the "turns" that are not even turns
for the driver, but just turns of the road (non-junctions). Those are at least
three different types. Is there a standard to handle this?

Garmin's extensions solve this like below (abbreviated). They add an extension
that stores the "detailed" road to each rtept, while the rtept itself only
refers to the "waypoints" that have been defined manually by the user. Turns vs.
Junctions seem to be coded in the extension types.

Kind of puzzling, but a solution to exactly my question... I just don't like to
follow proprietary enhancements.

- Lars

********* example ************

   <rte>
     <name>XX 1</name>
     <rtept lat="60.216792086139321" lon="24.974595559760928">
       <extensions>
         <gpxx:RoutePointExtension
xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3">
           <gpxx:Subclass>000000000000FFFFFFFFFFFFFFFFFFFFFFFF</gpxx:Subclass>
           <gpxx:rpt lat="60.216836929321289" lon="24.974713325500488"/>
           <gpxx:rpt lat="60.217609405517578" lon="24.975700378417969"/>
           <gpxx:rpt lat="60.218081474304199" lon="24.97642993927002"/>
         </gpxx:RoutePointExtension>
       </extensions>
     </rtept>
     <rtept lat="60.222029685974121" lon="24.984884262084961">
       <name>7923</name>


--- In gpsxml@yahoogroups.com, Robert Lipe <robertlipe@...> wrote:
>
> >
> > 1. if waypoints are stored in the "top level" of the file, how to assign
> > the waypoints to the routes within the same file?
>
> - idea: if there are 3 routes in the file, there should be 4 waypoints, so
> > the routes describe what's going on
>
>
> There's no reason that start, stop, and "scheduled lunchbreak" can't all be
> routepoints.   It's a perfectly reasonable way to express what you're
> describing.
>
>
> > between the waypoints? I have some Garmin files that are exactly the
> > opposite, 3 waypoints, 4 routes. They obviously do something different.
> > Also it's easy to see that Garmin/MapSource handles this completely
> > different, they use <rtept> as waypoints. No idea what the <wpt> exactly
> > represent.
> >
>
> Routes and Waypoints can be completely independent in GPX.   You may want a
> waypoint for "home" and you may want a routepoint in a route for "home",
> but you don't _have_ to have a waypoint for every routepoint.
>
>
> > 2. there's always a level "below" the turn points, which is the more
> > detailed track BETWEEN the turn points. Garmin seems to use extensions to
> > add a point list to each <rtept>, describing those pre-calculated "track"
> > to display without recalculation.
> > - is there any more "standard" way in gpx 1.1 to do this?
> >
>
> As a rule: A route is where you want to go.   A track is a record of where
> you've been.
>
> If you want to store turnpoints, a rtept is the place to do it.
>
>
> > I'm pretty much puzzled because MapSource is doing this all non-standard
> > and I'm trying to figure out if they are just trying to be special, or if
> > there really is no way to fit this use case perfectly into GPX.
> >
>
> I haven't looked at their GPX in a long time.  I remember being puzzled at
> several of their extensions.
>
> RJL
>
>
> [Non-text portions of this message have been removed]
>

Messages 2169 - 2198 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