[ka-Map-users] Drawing lines dynamically on top of kaMap

ramesh karra karrarm at yahoo.com
Wed Sep 20 14:59:05 EDT 2006


Thanks Pg.

Ramesh

--- Pg <pg.navone at gmail.com> wrote:

> I'use kaXmlOverlay to display the result of route
> calculation and
> vehicle tracking. See attached some screenshots.
> But my application is not public, but destinated to
> my collegues, on
> the intranet; so the traffic is limited and the
> browser variety is
> controlled.
> 
> - Pg
> 
> 
> 2006/9/16, ramesh karra <karrarm at yahoo.com>:
> > Thanks!
> >
> > How about using KaXmlOverlay with kaXmlLinestring
> > object. Has anyone used this successfully?
> >
> > Thanks
> > Ramesh
> >
> > --- Stephen Woodbridge <woodbri at swoodbridge.com>
> > wrote:
> >
> > > ramesh karra wrote:
> > > > Thank you very much for the quick response
> > > stephen! I
> > > > will look into the archives.
> > > >
> > > > I have a quick question -
> > > >
> > > > What is the most efficient way to do this if
> the
> > > > number of points is small (say < 30).
> > >
> > > I think some people have mentioned doing it in
> > > javascript. I forget
> > > which library, but one of them has some basic
> line
> > > drawing capabilities.
> > > I think you will find it in the archives, or
> someone
> > > else might respond
> > > to this thread.
> > >
> > > -Steve
> > >
> > > > Thanks
> > > > Ramesh
> > > >
> > > >
> > > > --- Stephen Woodbridge
> <woodbri at swoodbridge.com>
> > > > wrote:
> > > >
> > > >> ramesh karra wrote:
> > > >>> Hi,
> > > >>>
> > > >>> Currently, I can successfully display a map
> > > >> generated
> > > >>> from a map file using mapserver and kaMap.
> > > >>>
> > > >>> I would like to know what is the best way to
> > > draw
> > > >> a
> > > >>> dynamic line(or route) as a layer on top of
> this
> > > >> map
> > > >>> given that the data I have is a sequence of
> > > points
> > > >>> represented by lattitude and longitude (and
> not
> > > in
> > > >>> some shape file or postgres db)
> > > >> Ramesh,
> > > >>
> > > >> There has been a lot of discussion on this,
> you
> > > >> might want to search the
> > > >> archives. To summarize, there is no good way
> to
> > > do
> > > >> this on the client
> > > >> yet. You can do it for a few line segments,
> but
> > > >> performance rapidly
> > > >> degrades to unacceptable as you start pushing
> > > over
> > > >> about 50 points.
> > > >>
> > > >> I think what a lot of people, well those that
> > > have
> > > >> actually implemented
> > > >> something are doing it server side. The
> scenario
> > > is
> > > >> as follows:
> > > >>
> > > >> 1) put your points into a session storage
> > > >> 2) modify the client to request a route image
> on
> > > >> viewport extents change
> > > >> 3) have a php, or cgi script read the session
> > > data
> > > >> and the viewport
> > > >> extents and scale and generate an image that
> is
> > > >> returned to the client
> > > >> 4) have the client pin the image to the
> viewport.
> > > >>
> > > >> This is basically the way that google is
> doing
> > > it.
> > > >> You can get a little
> > > >> bit smarter on the client to not make
> requests
> > > when
> > > >> the view port
> > > >> extents change if you don't need to redraw
> the
> > > >> image.
> > > >>
> > > >> -Steve W.
> > > >>
> > > >
> > > >
> > > >
> __________________________________________________
> > > > Do You Yahoo!?
> > > > Tired of spam?  Yahoo! Mail has the best spam
> > > protection around
> > > > http://mail.yahoo.com
> > >
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > ka-Map-users mailing list
> > ka-Map-users at lists.maptools.org
> >
>
http://lists.maptools.org/mailman/listinfo/ka-map-users
> >
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the ka-Map-users mailing list