[mapserver-users] A Question of Group

Bob Basques bob.b at gritechnologies.com
Tue Mar 2 08:05:00 EST 2010


Oops, I didn't see right off that you were using HTML legends, You can 
do the same as I described eariler, but you could also try something 
with DUMMY layers too, where you set up a layer purely for legend 
display (no real DATA definition)


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