The SLD schema allows Rule elements to contain a LegendGraphic element but
they are ignored when GeoServer converts an SLD style to YSLD.  This is not
currently implemented according to the YSLD Reference:
http://docs.geoserver.org/latest/en/user/styling/ysld/reference/rules.html

Example:
<sld:Rule>
    ...
    <sld:LegendGraphic>
        <sld:Graphic>
            <sld:ExternalGraphic>
                <sld:OnlineResource xlink:type="simple"
xlink:href="legend.png" />
                <sld:Format>image/png</sld:Format>
            </sld:ExternalGraphic>
        </sld:Graphic>
    </sld:LegendGraphic>
    ...
</sld:Rule>


Steve Ikeoka



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/YSLD-Rule-LegendGraphic-Missing-tp5309253.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to