<!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>Re: [mapserver-users] GPX format
supported?</title></head><body>
<div><font face="Arial" size="-1" color="#0000FF">Can you post your
gpx file (or a sample file that demonstrates the
problem)?</font></div>
<div> </div>
<div><font face="Arial" size="-1" color="#0000FF">David.</font></div>
<div><font face="Arial" size="-1" color="#0000FF"><br></font></div>
<div><font face="Arial" size="-1">Hi David,</font></div>
<div><font face="Arial" size="-1"><br></font></div>
<div><font face="Arial" size="-1">Thanks again for helping
me.</font></div>
<div><font face="Arial" size="-1"><br></font></div>
<div><font face="Arial" size="-1">I looked through ms_error log and
discovered that the file is now loading, I include the error file as
an attachment. The layer only loads when STATUS is DEFAULT. This
concerns me going forward as I want the user to control the display of
this layer.</font></div>
<div><font face="Arial" size="-1"><br></font></div>
<div><font face="Arial" size="-1">The problem I'm having is displaying
that load. Any thing added to the layer file below the DEBUG statement
(CLASS, LABEL, SYMBOL etc) causes the layer file to fail to parse.
Without symbols or labels loading the GPX file does me no
good.</font></div>
<div><font face="Arial" size="-1"><br></font></div>
<div><font face="Arial" size="-1">I went through the entire mapfile
three times yesterday looking for potential errors that could fall
through to this layer. I imagine I will do the same today. I am
concerned that I just don't understand the needs of this layer
structure. I have not been able to find a single example of a working
local GPX layer.</font></div>
<div><font face="Arial" size="-1"><br></font></div>
<div><font face="Arial" size="-1">Bean,</font></div>
<div><br></div>
<div>This Layer file loads:</div>
<div><br></div>
<blockquote>
<blockquote><font face="Arial" 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'</font></blockquote>
<blockquote><font face="Arial" size="-1"> STATUS
DEFAULT</font></blockquote>
<blockquote><font face="Arial" size="-1"> DEBUG
5</font></blockquote>
<blockquote><font face="Arial" size="-1">
END</font></blockquote>
</blockquote>
<div
> <span
></span> <font face="Arial" size="-1">
END</font></div>
<div><br></div>
<div>This Layer file fails at CLASS:</div>
<div><br></div>
<blockquote>
<blockquote><font face="Arial" 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'</font></blockquote>
<blockquote><font face="Arial" size="-1"> STATUS
DEFAULT</font></blockquote>
<blockquote><font face="Arial" size="-1"> DEBUG 5<br>
CLASS<br>
STYLE<br>
SYMBOL 'CIRCLE'</font></blockquote>
<blockquote><font face="Arial" size="-1">
SIZE 3</font></blockquote>
<blockquote><font face="Arial"
size="-1"> OUTLINECOLOR 0 0 0<br>
COLOR 106 7 182<br>
END</font></blockquote>
<blockquote><font face="Arial" size="-1">
END</font></blockquote>
</blockquote>
<div
> <span
></span> <font face="Arial" size="-1">
END</font></div>
<div><br></div>
<div> </div>
<div><br></div>
<blockquote><br></blockquote>
<blockquote><br></blockquote>
</body>
</html>