just add in your mapfile a layer like this:

LAYER
                  NAME 'GPS'
                  TYPE line
                  CONNECTIONTYPE OGR
                  CONNECTION 'Strada.gpx' <--- name of gpx file
                  DATA 'tracks' <---- type of geometry
                  STATUS ON
                                  PROJECTION
    'proj=longlat'
    'datum=WGS84'
    'no_defs'
    END
                  DEBUG 5
                  CLASS
                    STYLE
         WIDTH 1.26 
         COLOR 255 255 255
       END
                  END

                    END

pay attention that if your gpx is a track or a waypoint because you have to
define in DATA 'tracks or waypoints".
No legend appears...
remember to add the "group" in config.xml (in this case name "GPS")



--
View this message in context: 
http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-GPX-Files-and-Pmapper-tp4025332p4025378.html
Sent from the pmapper-users -- p.mapper users mailing list mailing list archive 
at Nabble.com.

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to