[mapserver-users] GPX format supported?

bean at warbaby.com bean at warbaby.com
Wed Jan 14 10:40:33 PST 2009


Can you post your gpx file (or a sample file that demonstrates the problem)?

David.

Hi David,

Thanks again for helping me.

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.

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.

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.

Bean,

This Layer file loads:

LAYER
   NAME 'GPS'
   TYPE POINT
   CONNECTIONTYPE OGR
   CONNECTION '/Applications/MAMP/d/DATA/NonGrassFiles/GPX/gpsbabel_output.gpx'
   DATA 'waypoints'
   STATUS DEFAULT
   DEBUG 5
   END
                END

This Layer file fails at CLASS:

LAYER
   NAME 'GPS'
   TYPE POINT
   CONNECTIONTYPE OGR
   CONNECTION '/Applications/MAMP/d/DATA/NonGrassFiles/GPX/gpsbabel_output.gpx'
   DATA 'waypoints'
   STATUS DEFAULT
   DEBUG 5
   CLASS
     STYLE
       SYMBOL 'CIRCLE'
       SIZE 3
        OUTLINECOLOR 0 0 0
        COLOR 106 7 182
     END
   END
                END




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090114/1f13976f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ms_error.rtf
Type: application/octet-stream
Size: 4815 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090114/1f13976f/attachment.obj>


More information about the MapServer-users mailing list