<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>GPX format supported?</title></head><body>
<div>&nbsp;Hello,</div>
<div><br></div>
<div>I am building an application with Mapserver 5.20. I am trying to
include the ability for a local user to display GPX files downloaded
from their GPS unit. I compiled OGR and Mapserver with the latest
version of expat. I have found very few examples of how to write this
layer and have ad no success in displaying the data. I have verified
the GPX XML and have tried KML files as well.</div>
<div><br></div>
<div>Has anyone had any luck with this feature? I have included the
layer from the mapfile. It currently fails to parse on
&quot;LABELITEM&quot; if that is removed it fails on
&quot;CLASS&quot;.</div>
<div><br></div>
<div>Any help would be much appreciated!</div>
<div><br></div>
<div>Thank You,</div>
<div>Bean</div>
<div><br></div>
<div><font size="-1"><br></font></div>
<div><font size="-1">&nbsp;LAYER<br>
&nbsp;&nbsp;&nbsp; NAME 'GPS'<br>
&nbsp;&nbsp;&nbsp; TYPE POINT<br>
&nbsp;&nbsp;&nbsp; CONNECTIONTYPE OGR<br>
&nbsp;&nbsp;&nbsp; CONNECTION
'/Applications/MAMP/d/DATA/NonGrassFiles/GPX/gpsbabel_output.gpx'<br>
&nbsp;&nbsp;&nbsp; DATA 'Waypoints'<br>
&nbsp;&nbsp;&nbsp; STATUS ON<br>
&nbsp;&nbsp;&nbsp; DEBUG 5<br>
&nbsp;&nbsp;&nbsp; OPACITY 100<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; LABELITEM 'name'<br>
&nbsp;&nbsp;&nbsp; CLASS<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME 'name = Waypoint'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SYMBOL&nbsp; 'circle'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE 8<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0
0</font></div>
<div><font size="-1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
COLOR 255 255 0</font></div>
<div><font size="-1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp;&nbsp; LABEL<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE medium<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ANGLE 0<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BUFFER 1<br>
&nbsp;&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; END</font></div>
<div><font size="-1">&nbsp; END</font></div>
</body>
</html>