<!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> </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> </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> </SPAN>NAME
'GPS'<BR><SPAN class=997433407-13012009> </SPAN>TYPE POINT<BR><SPAN
class=997433407-13012009> </SPAN>CONNECTIONTYPE OGR<BR><SPAN
class=997433407-13012009> </SPAN>CONNECTION
'/Applications/MAMP/d/DATA/NonGrassFiles/GPX/gpsbabel_output.gpx'<BR><SPAN
class=997433407-13012009> </SPAN>DATA 'Waypoints'<BR><SPAN
class=997433407-13012009> </SPAN>STATUS ON<BR><SPAN
class=997433407-13012009> </SPAN>DEBUG 5<BR><SPAN
class=997433407-13012009> </SPAN>OPACITY 100<BR><SPAN
class=997433407-13012009># </SPAN>END<SPAN class=997433407-13012009>
<-- terminates LAYER</SPAN><BR><SPAN class=997433407-13012009>
</SPAN>LABELITEM 'name'<BR><SPAN class=997433407-13012009>
</SPAN>CLASS<BR><SPAN class=997433407-13012009> </SPAN>NAME
'name = Waypoint'<BR><SPAN class=997433407-13012009>
</SPAN>STYLE<BR><SPAN class=997433407-13012009>
</SPAN>SYMBOL 'circle'<BR><SPAN
class=997433407-13012009> </SPAN>SIZE 8<BR><SPAN
class=997433407-13012009> </SPAN>OUTLINECOLOR 0 0
0</FONT>
<DIV><FONT size=2><SPAN class=997433407-13012009>
</SPAN>COLOR 255 255 0</FONT></DIV>
<DIV><FONT size=2><SPAN class=997433407-13012009>
</SPAN>END<BR><SPAN class=997433407-13012009>
</SPAN>LABEL<BR><SPAN class=997433407-13012009>
</SPAN>SIZE medium<BR><SPAN
class=997433407-13012009> </SPAN>COLOR 0 0
0<BR><SPAN class=997433407-13012009> </SPAN>ANGLE
0<BR><SPAN class=997433407-13012009> </SPAN>BUFFER
1<BR><SPAN class=997433407-13012009> </SPAN>END<BR><SPAN
class=997433407-13012009> </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> 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>