[Cartoweb-users] 2 mapserver layers as 1 cartoweb layer: possible?
Alexandre Saunier
alexandre.saunier at camptocamp.com
Tue Aug 7 12:09:39 EDT 2007
Hello,
that's a job for layers aggregation. Gather your 2 layers under the same
layergroup, declaring the latter "aggregate". Thus it will appear as a
regular layer that would behave like your 2 mapserver layers.
http://cartoweb.org/doc_head/docbook/xhtml/user.layers.html#user.layers.tree.layergroups
Alexandre
Simon ORTET wrote:
> Hi
>
> Since i have performance issues with my postgis requests on a fat table
> (despite geometry index), i have created different versions of this
> table, more or less simplified. One very simplified with a minscale of
> 500000 and an other detailed with a maxscale of 500000.
> Now i would like Cartoweb to manage these differents mapserver layers as
> one cartoweb layer. ie when the user checks the layer name in the tree,
> i want Cartoweb to choose what layer to use according to the current scale.
>
> Is that something possible without diging into layers coreplugin ?
>
>
> Thanks
> Simon
More information about the Cartoweb-users
mailing list