<!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> 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
"LABELITEM" if that is removed it fails on
"CLASS".</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"> LAYER<br>
NAME 'GPS'<br>
TYPE POINT<br>
CONNECTIONTYPE OGR<br>
CONNECTION
'/Applications/MAMP/d/DATA/NonGrassFiles/GPX/gpsbabel_output.gpx'<br>
DATA 'Waypoints'<br>
STATUS ON<br>
DEBUG 5<br>
OPACITY 100<br>
END<br>
LABELITEM 'name'<br>
CLASS<br>
NAME 'name = Waypoint'<br>
STYLE<br>
SYMBOL 'circle'<br>
SIZE 8<br>
OUTLINECOLOR 0 0
0</font></div>
<div><font size="-1">
COLOR 255 255 0</font></div>
<div><font size="-1"> END<br>
LABEL<br>
SIZE medium<br>
COLOR 0 0 0<br>
ANGLE 0<br>
BUFFER 1<br>
END<br>
END</font></div>
<div><font size="-1"> END</font></div>
</body>
</html>