[mapguide-users] Studio and moving folders...
Zak James
zak4ms at gmail.com
Tue Jan 16 22:58:39 EST 2007
Kori, Willem,
This is probably not the solution you're looking for, but this kind of
manipulation of the resources in the repository is possible via the
php/jsp/asp scripting interface. It would be possible to build a
custom tool (to be included in a web layout) to handle this.
A more direct approach would be to use Studio to save the layer as
XML, edit the feature source reference in a text editor and post it
back to the repository via the mapagent.
Not very user-friendly, but until Studio or web studio are enhanced to
handle this, those are the options I can see.
zak
On 1/16/07, Kori Maleski <Kori.Maleski at websoftdev.com> wrote:
> It would also be nice to be able to:
>
>
> 1 - Copy a layer that has themes and save it as a new layer.
> 2 - Load a new Feature Source that has identical file/db structure.
> 3 - re-assign the new layer copy's feature source to the new feature source
> and preserve all themes.
>
>
> Circumstances it would apply:
>
> Creating a very complex themed layer on a file containing a subset of data;
> and wanting to create an identically themed layer on a full set of data
> without having to painstakingly recreate all themes.
>
> Essentially you are creating a new layer and swapping the datasource.
> This was something you could do in 6.5 and cut off hours of cartographic
> prep.
>
> ******
>
> A save/load themes function in Studio would be a dream.
>
> A save/load colour palette would be an additional bonus.
>
>
> Cheers,
>
>
>
> ________________________________
>
>
>
>
> Kori Maleski
> Senior Application Developer
> WEBSOFT DEVELOPERS, INC.
> P: (530) 759-8754 ext 114
> F: (530) 759-0923
> kori.maleski at websoftdev.com
> ________________________________
>
>
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Willem Schwarte
> Sent: Tuesday, January 16, 2007 4:35 AM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] Studio and moving folders...
>
> It would be nice if you could move a folder to another subfolder and be
> able to keep theming rules.
>
> If I try to move a folder, now the reference is broken, and if I
> re-attach the correct feature resource, all theming is lost.
>
> When I move the folder back to the original position in the tree, then
> the theming is back to how it was.
>
> So I'm assuming that somewhere there is a file that describes the
> theming for a layer at a specific position in the tree, or of a specific
> resource at a specific location. So if you moved a folder, this file
> should be updated to the new position.
>
> Or is it already possible to keep theming rules while moving layers?
>
> Willem
>
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
--
Zak James
Applications and Software Development
DM Solutions Group Inc.
http://www.dmsolutions.ca
More information about the mapguide-users
mailing list