I want to serv custom legend via GetLegendGraphic WMS request. I find two answers:
On first site there is patch file to geoserver, but I don't know how to use it (where to paste it).
On second site is github so I clone repo and build geoserver by myself, but what now? I try add
<LegendGraphic> -> <Graphic> -> <ExternalGraphic> -> <OnlineResource> to SLD file but geoserver don't validate it.
So can anyone explane how to get custom legend?