Hello,

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.

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".

Any help would be much appreciated!

Thank You,
Bean


 LAYER
    NAME 'GPS'
    TYPE POINT
    CONNECTIONTYPE OGR
CONNECTION '/Applications/MAMP/d/DATA/NonGrassFiles/GPX/gpsbabel_output.gpx'
    DATA 'Waypoints'
    STATUS ON
    DEBUG 5
    OPACITY 100
    END
    LABELITEM 'name'
    CLASS
      NAME 'name = Waypoint'
       STYLE
        SYMBOL  'circle'
         SIZE 8
         OUTLINECOLOR 0 0 0
         COLOR 255 255 0
      END
     LABEL
      SIZE medium
      COLOR 0 0 0
      ANGLE 0
      BUFFER 1
     END
    END
  END
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to