[mapserver-dev] RFC 101: Content Dependant Legend Rendering
Worth Lutz
wal3 at mindspring.com
Wed Aug 21 17:17:43 PDT 2013
Thomas,
This looks like something I need! One question though.
If I have a layer with one class and the style defined by attributes
selected by my DATA statement query, will this create all those legend
icons?
Example:
CLASS
#NAME "AaA"
#EXPRESSION "AaA"
STYLE
COLOR [color]
OUTLINECOLOR [outlinecolor]
END
INCLUDE "layers/soil_label.inc"
END
I do see the one problem. You cannot use an attribute for the NAME which is
what shows up in the legend.
Where this would be helpful is where I have many different classes but only
several (5-10) may show up on one zoomed in view. I can select the colors
from a small palette and assign them in my query. I just cannot figure out
how to get a legend.
I hope this makes sense and my spark an idea for a solution.
Thanks,
Worth Lutz
-----Original Message-----
From: mapserver-dev-bounces at lists.osgeo.org
[mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of thomas bonfort
Sent: Friday, July 19, 2013 9:50 AM
To: MapServer Dev Mailing List
Subject: [mapserver-dev] RFC 101: Content Dependant Legend Rendering
Devs,
Please find RFC 101 which proposes an extension to GetLegendRequest
image results to only include legend icons for features that are
actually present in a given map view
https://github.com/mapserver/docs/blob/5398e449f6307419e2557a5a5ca0404bab827
728/en/development/rfc/ms-rfc-101.txt
and soon at: http://mapserver.org/development/rfc/ms-rfc-101.html
I'll be calling for vote on it next week, in time for our upcoming 6.4
feature-freeze.
Best regards,
Thomas
_______________________________________________
mapserver-dev mailing list
mapserver-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.3349 / Virus Database: 3204/6501 - Release Date: 07/18/13
More information about the mapserver-dev
mailing list