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

Emmanuel BELO emmanuel.belo at camptocamp.com
Wed Aug 8 11:34:55 EDT 2007


Hi,

have you tried the GROUP option in Mapserver?

http://mapserver.gis.umn.edu/docs/reference/mapfile/layer

Best regards,

Emmanuel BELO

Simon ORTET wrote:
> 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
>>
>>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users

-- 
Camptocamp SA
Emmanuel BELO
PSE A
CH-1015 Lausanne

+41 21 619 10 25 (direct)
+41 21 619 10 10 (centrale)
+41 21 619 10 00 (fax)


More information about the Cartoweb-users mailing list