[Chameleon] ROI Widget
Delfos, Jacob
jacob.delfos at maunsell.com
Mon Oct 24 19:55:50 EDT 2005
Hi Derek,
I don't think there is currently any support for restoring a session,
although I imagine it could be done. If you managed to restore the
complete session, your ROI objects would be in it too, since they are
stored in the session. Other than that Chameleon doesn't allow you to
save ROI objects.
I created a tool a while ago which converts the existing ROI objects to
shapefiles, and adds them as a layer to the map. The shapefile is also
stored in the session directory, so could also be restored if you were
to save the whole directory. But this may not be what you want...
I can actually see the use of a session being restored when a user
returns. Cookies could be used to help do this....
Regards,
Jacob
> -----Original Message-----
> From: chameleon-bounces at lists.maptools.org
> [mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Bird, Derek
> Sent: 24 October 2005 21:04
> To: Bart van den Eijnden; chameleon at lists.maptools.org
> Subject: RE: [Chameleon] ROI Widget
>
> Hi,
>
> What I wanted was a way to capture all of the layers, current
> zoom etc,
> including the ROI layers in a single file that could be stored in a
> database, so I can "bring up" that past snapshot ...
>
> Since the ROI stuff only seems to be client side, that makes it more
> difficult. Even if there was a way to take a snapshot of all
> of the ROI
> stuff, store it in a database and be able to redraw all of
> the ROI in a
> second call would also be fine. From what I have seen on the
> API for the
> ROI widgets there does not seems to be a "save state" "load
> state" call.
>
> Thanks for your help,
> Derek
>
> -----Original Message-----
> From: Bart van den Eijnden [mailto:bartvde at xs4all.nl]
> Sent: Saturday, October 22, 2005 12:11 PM
> To: Bird, Derek; chameleon at lists.maptools.org
> Subject: Re: [Chameleon] ROI Widget
>
> Derek,
>
> I don't get what you want.
>
> A WMC file is just an application state, so which layers are
> on and off,
> and which extent was visible in the map.
>
> What does this have to do with ROI shapes? Or do you mean
> converting ROI
> into GML by any chance?
>
> Best regards,
> Bart
>
> On Fri, 21 Oct 2005 22:23:00 +0200, Bird, Derek <Derek.Bird at xwave.com>
> wrote:
>
> > Hello,
> > I would like to know if there is any examples of converting
> all of the
>
> > ROI shapes to a WMS Context file?
> > Thanks,
> > Derek
>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
More information about the Chameleon
mailing list