[mapserver-users] Legend: Calling one of two layers shows both legend entries

CoFIS Web coffee at uni-bonn.de
Wed Jul 29 07:48:46 EDT 2009


Dear Brent,
thanks a lot. Replacing the dashes with underscores helped.

I'll post that to the Geomoose list as well.

Nils

Brent Fraser schrieb:
> Nils,
> 
>   Sounds like a GeoMoose problem; you might try asking their email list.
> 
>   I seem to recall a similar problem with GeoMoose 1.6.1; try using
> underscores (_) instead of a dash (-) in the layer name.
> 
> Best Regards,
> Brent Fraser
> 
> 
>> Dear all,
>> I am using a mapfile with two layers.
>>
>> When using Geomoose 2 as client and turning the first of these layers on
>> from the legend, the respective signature will appear in the legend at
>> its respective location (as expected), but also the legend location of
>> the second layer.
>>
>> I tried using STATUS ON / OFF at layer level - but no success. How can I
>> change this? I added two screenshots for clarification. Mapbook snippets
>> are below.
>>
>> When calling the legend via URL in my browser, there is no such problem:
>> http://host/cgi-bin/mapserv?map=/srv/coffeeshop/map/conservation.map&mode=legend&layer=LAYER-01&layer=LAYER-02
>> shows both legend signatures
>>
>> http://host/cgi-bin/mapserv?map=/srv/coffeeshop/map/conservation.map&mode=legend&layer=LAYER-01
>> shows only the signature of LAYER-01
>>
>> Any hints on that?
>>
>> Thanks,
>> Nils
>> --
>> Center for Development Research
>> Department of Ecology and Resource Management
>>
>> Walter-Flex-Strasse 3
>> 53113 Bonn (Germany)
>>
>> Tel.:   +49 (0) 228 - 73-1793
>> FAX:    +49 (0) 228 - 73-1889
>>
>> E-Mail: coffee at uni-bonn.de
>>
>> Web:    http://www.cofis.info/atlas
>>          http://www.coffee.uni-bonn.de
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
> 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 
Center for Development Research
Department of Ecology and Resource Management

Walter-Flex-Strasse 3
53113 Bonn (Germany)

Tel.:   +49 (0) 228 - 73-1793
FAX:    +49 (0) 228 - 73-1889

E-Mail: coffee at uni-bonn.de

Web:    http://www.cofis.info/atlas
         http://www.coffee.uni-bonn.de


More information about the mapserver-users mailing list