[Chameleon] Save local files context

joanvp joanvp at yahoo.com
Sat Dec 4 10:59:53 EST 2004


Thanks Paul for your guidelines,
 
I'll probably invest my time learning PHP-mapscript. But I hope with hard work to get my first widget. Maybe in a few years ;)
 
There are too much things to learn in webmapping...
 
Good work and cheers!
 


Paul Spencer <pspencer at dmsolutions.ca> wrote:
Hi,

you can't use contexts then :) If you are referring to the ability to 
keep a session alive while the user is using it, that is available in 
the KeepSessionAlive widget. If you are referring to some sort of state 
that can be saved and returned to later, you would need to create a 
widget for this I think. Some things to think about:

* what constitutes a session state (you've answered this as extents, 
layers and mapsize - what about projection? are there any other 
attributes of a session that are important?)

* how does the session state get saved? Where does it get saved?

* how do you 'restore' a session state?

* is the session state user-specific? What are the implications (login)

I think this could be a useful widget for Chameleon but unfortunately I 
don't have any spare time to do it for you. Unless someone volunteers 
(or you have $$), you may have to invest some time in learning PHP and 
Chameleon to work on this yourself.

Cheers,

Paul

joanvp wrote:
> Hi Paul,
> 
> I'm newby programming in PHP and I'm lost in some ways. I thought the 
> way to save a context WMS was similar with local files :O... Can you 
> help me? I just want to save map Extent, Layers (visibility, order...), 
> MapSize in a xml file. It's just too keep alive a session in some way...
> 
> Thanks
> 
> */Paul Spencer 
/* wrote:
> 
> Hi,
> 
> 'Context' refers Web Map Context, which is an OGC specification. By
> definition, it only refers to WMS layers. There is currently no way to
> save/load local files. Such a feature is possible, but is probably
> application specific rather than a generic capability (at least at this
> point).
> 
> I can give some general guidance on implementing this in your
> application if you are willing/able to implement it ...
> 
> Cheers,
> 
> Paul
> 
> joanvp wrote:
> > Hi list,
> >
> > I've been trying Upload and DownloadContext Widgets, and are
> nice. But
> > when I try to do the same with local files (not wms) I can't use
> it. Is
> > there some way to get it easily? Can someone help me?
> >
> > I'm using Chameleon 1.99b3
> > W2k
> >
> > Thanks in advanced
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
> 
> -- 
> +-----------------------------------------------------------------+
> |Paul Spencer pspencer at dmsolutions.ca |
> +-----------------------------------------------------------------+
> |Applications & Software Development |
> |DM Solutions Group Inc http://www.dmsolutions.ca/|
> +-----------------------------------------------------------------+
> 
> ------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail - now with 250MB free storage. Learn more. 
> 

-- 
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+


		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - now with 250MB free storage. Learn more.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20041204/8e8f3112/attachment.html


More information about the Chameleon mailing list