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




Attachment: ms_error.rtf
Description: Binary data

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to