Re: [mapserver-users] Legend: Calling one of two layers shows both legend entries
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: cof...@uni-bonn.de Web:http://www.cofis.info/atlas http://www.coffee.uni-bonn.de ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@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: cof...@uni-bonn.de Web:http://www.cofis.info/atlas http://www.coffee.uni-bonn.de ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Legend: Calling one of two layers shows both legend entries
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: cof...@uni-bonn.de > > Web:http://www.cofis.info/atlas > http://www.coffee.uni-bonn.de > ___ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Legend: Calling one of two layers shows both legend entries
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: cof...@uni-bonn.de Web:http://www.cofis.info/atlas http://www.coffee.uni-bonn.de ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users