[pmapper-users] GPX Files and Pmapper

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[pmapper-users] GPX Files and Pmapper

Gis Newbye
i've seen on Mapserver the documentation about Gpx files
http://mapserver.org/it/input/vector/gpx.html

I've only to customize the mapfile or i've also to do something on pmapper?
------------------------------------------------------------------------------
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=60134791&iu=/4140/ostg.clktrk
_______________________________________________
pmapper-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmapper-users
Reply | Threaded
Open this post in threaded view
|

Re: [pmapper-users] GPX Files and Pmapper

Armin Burger
this seems to be provided by the "OGR" layer connection type and so I
guess it will work.

armin


On 10/02/2013 07:22 AM, Gis Newbye wrote:

> i've seen on Mapserver the documentation about Gpx files
> http://mapserver.org/it/input/vector/gpx.html
>
> I've only to customize the mapfile or i've also to do something on pmapper?
> ------------------------------------------------------------------------------
> 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=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> pmapper-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>


------------------------------------------------------------------------------
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=60134791&iu=/4140/ostg.clktrk
_______________________________________________
pmapper-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmapper-users
Reply | Threaded
Open this post in threaded view
|

Re: [pmapper-users] GPX Files and Pmapper

gioza
In reply to this post by Gis Newbye
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")