<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>GPX format supported?</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>BLOCKQUOTE {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
DL {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
UL {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
OL {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
LI {
        PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
</STYLE>

<META content="MSHTML 6.00.6000.16788" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=997433407-13012009></SPAN><FONT face=Arial><FONT 
color=#0000ff><FONT size=2>Hi,</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT 
size=2></FONT></FONT></FONT>&nbsp;</DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2>I<SPAN 
class=997433407-13012009> think the 'END' keyword after 'OPACITY 100' shouldn't 
be there since it terminates the LAYER 
block.</SPAN></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT size=2>LAYER<BR><SPAN class=997433407-13012009>&nbsp; </SPAN>NAME 
'GPS'<BR><SPAN class=997433407-13012009>&nbsp; </SPAN>TYPE POINT<BR><SPAN 
class=997433407-13012009>&nbsp; </SPAN>CONNECTIONTYPE OGR<BR><SPAN 
class=997433407-13012009>&nbsp; </SPAN>CONNECTION 
'/Applications/MAMP/d/DATA/NonGrassFiles/GPX/gpsbabel_output.gpx'<BR><SPAN 
class=997433407-13012009>&nbsp; </SPAN>DATA 'Waypoints'<BR><SPAN 
class=997433407-13012009>&nbsp; </SPAN>STATUS ON<BR><SPAN 
class=997433407-13012009>&nbsp; </SPAN>DEBUG 5<BR><SPAN 
class=997433407-13012009>&nbsp; </SPAN>OPACITY 100<BR><SPAN 
class=997433407-13012009>#&nbsp; </SPAN>END<SPAN class=997433407-13012009> 
&lt;-- terminates LAYER</SPAN><BR><SPAN class=997433407-13012009>&nbsp; 
</SPAN>LABELITEM 'name'<BR><SPAN class=997433407-13012009>&nbsp; 
</SPAN>CLASS<BR><SPAN class=997433407-13012009>&nbsp;&nbsp;&nbsp; </SPAN>NAME 
'name = Waypoint'<BR><SPAN class=997433407-13012009>&nbsp;&nbsp;&nbsp; 
</SPAN>STYLE<BR><SPAN class=997433407-13012009>&nbsp; &nbsp;&nbsp;&nbsp; 
</SPAN>SYMBOL&nbsp; 'circle'<BR><SPAN 
class=997433407-13012009>&nbsp;&nbsp;&nbsp; &nbsp; </SPAN>SIZE 8<BR><SPAN 
class=997433407-13012009>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>OUTLINECOLOR 0 0 
0</FONT>
<DIV><FONT size=2><SPAN class=997433407-13012009>&nbsp; &nbsp;&nbsp;&nbsp; 
</SPAN>COLOR 255 255 0</FONT></DIV>
<DIV><FONT size=2><SPAN class=997433407-13012009>&nbsp;&nbsp;&nbsp; 
</SPAN>END<BR><SPAN class=997433407-13012009>&nbsp;&nbsp;&nbsp; 
</SPAN>LABEL<BR><SPAN class=997433407-13012009>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</SPAN>SIZE medium<BR><SPAN 
class=997433407-13012009>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>COLOR 0 0 
0<BR><SPAN class=997433407-13012009>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>ANGLE 
0<BR><SPAN class=997433407-13012009>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>BUFFER 
1<BR><SPAN class=997433407-13012009>&nbsp;&nbsp;&nbsp; </SPAN>END<BR><SPAN 
class=997433407-13012009>&nbsp; </SPAN>END</FONT></DIV>
<DIV><FONT size=-1>END</FONT></DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Von:</B> mapserver-users-bounces@lists.osgeo.org 
[mailto:mapserver-users-bounces@lists.osgeo.org] <B>Im Auftrag von 
</B>bean@warbaby.com<BR><B>Gesendet:</B> Montag, 12. Januar 2009 
02:54<BR><B>An:</B> mapserver-users@lists.osgeo.org<BR><B>Betreff:</B> 
[mapserver-users] GPX format supported?<BR></FONT><BR></DIV>
<DIV></DIV>
<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 "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>&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>