AW: [mapserver-users] GPX format supported?

Eichner, Andreas - SID-NLKM Andreas.Eichner at sid.sachsen.de
Tue Jan 13 02:38:34 EST 2009


 
Hi,
 
I think the 'END' keyword after 'OPACITY 100' shouldn't be there since
it terminates the LAYER block.
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 <-- terminates LAYER
  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

________________________________

Von: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von
bean at warbaby.com
Gesendet: Montag, 12. Januar 2009 02:54
An: mapserver-users at lists.osgeo.org
Betreff: [mapserver-users] GPX format supported?


 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090113/5cc2ca33/attachment-0001.html


More information about the mapserver-users mailing list