[mapserver-users] GPX format supported?

bean at warbaby.com bean at warbaby.com
Tue Jan 13 16:20:02 PST 2009


Hi Jeff,

Thanks for the reply. I ran ogrinfo on both "waypoints" and 
"track_points". "waypoints" returns 147 entries and "track_points" 
returns 0 entries (there are no tracks recorded in my GPS unit at 
this point, just trying to keep it simple for now). This is returned 
from a Garmin eTrex Venture through gps babel.

Thanks for entering the SVN.

I am still puzzled about my mapfile layer however. It fails to parse 
when CLASS is added and the layer fails to load when CLASS is 
deleted. I feel sure my mapfile layer syntax is correct (although my 
previous blooper with the errant END statement says I shouldn't be so 
sure). Would you mind looking for obvious errors for the following?

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

Thanks,
bean



>
>While testing gpx just now I realized that we don't have a GPX page 
>in the MapServer Vector Data Access doc, so I have added it into SVN.
>
>In my testing I was forced to use the "track_points" feature, as 
>there was no actual data in the "waypoints" feature (you can test 
>this through ogrinfo).
>
>-jeff
>
>
>
>--
>Jeff McKenna
>FOSS4G Consulting and Training Services
>http://www.gatewaygeomatics.com/
>
>
>_______________________________________________
>mapserver-users mailing list
>mapserver-users at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090113/d93a5f2e/attachment.htm>


More information about the MapServer-users mailing list