[Cartoweb-users] 2 mapserver layers as 1 cartoweb layer: possible?

Simon ORTET simon.ortet at silogic.fr
Wed Aug 8 11:04:17 EDT 2007


Hi,

I found just a little problem with aggregated layers. When i select the 
group, the layer reorder plugin shows all the layers of the group 
instead of the layer group name.
I'll try to work on that but any help would be appreciated

thanks.
Simon

Alexandre Saunier a écrit :
> 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