[mapserver-users] A Question of Group

Bob Basques bob.b at gritechnologies.com
Tue Mar 2 05:02:24 PST 2010


James,

the Legend entries are keyed off of the NAME paramater in the mapfile, 
if you don't want a entry in the Legend, comment out the NAME parameter 
that is displaying the stuff you don't want.

bobb



On 3/2/2010 6:42 AM, Bill Thoen wrote:
> James Card wrote:
>> On Mon, 01 Mar 2010 20:48:59 -0800, Bill Thoen <bthoen at gisnet.com> 
>> wrote:
>>
>>> I've got about about 30 layers that I'd like to display as a single 
>>> layer, all in the same style, with only one entry in the legend for 
>>> the group. I've tried using the 'GROUP' command in the mapfile, and 
>>> while that does put them all under the same heading, each layer 
>>> still shows as a separate entry in the legend.
>>
>> Perhaps a tileindex would work? See "ogrtindex" at 
>> <http://mapserver.org/optimization/tileindex.html>.
>>
> Thanks! That was so close, but that doesn't work unless the data sets 
> have the same structure. Can you think of anything else short of 
> manually merging these one by one?
>




More information about the MapServer-users mailing list