New answers tagged

0

The content is probably generated by GeoServer through GetLegendGraphic? Check out legend_options here: https://github.com/boundlessgeo/gxp/blob/2919a75dc3bfb7765091759d8d3a151ae7c46656/src/script/plugins/LayerManager.js#L119 and https://github.com/boundlessgeo/gxp/blob/2919a75dc3bfb7765091759d8d3a151ae7c46656/src/script/plugins/LayerManager.js#L39:L46


3

If there are really only four colors, then you can simply go into the layer's Symbology tab and group all of the same colors together into one symbol. That will leave you with 4 symbols. Just select all the legend entries you'd like to group together, right-click them, and select "Group Values" from the context menu: Or, if the colors vary slightly you can ...


0

Have you considered doing a dot density analysis instead. In order to do something like that you would first have to preform the dot density process. After that is done you would need to export these dots as a point shapefile, while at the same time preserving the second value.


0

AFAIK legends act on the layer level, not the symbol class level (other than using view extent option to show classes). You are right, you can copy/paste the layer and leave the new one out of the legend. Or you can convert the legend to graphics and delete the legend elements manually.


0

There is a qgis plugin to do this in the main repository: Colour Scale Bar for One-Band Rasters and works well for me http://www.bc-consult.com/free/bccscbar.html


1

Question can be closed, I detected the problem myself, registered that somewhere in my code i assigned new numerical values to the raster cells that are identical with the corine codes. The original data and the qml however are based on values fron 1 to 45 instead of the land cover class codes such as 111, 112... I just had to change the numbers in the qml ...


1

I cannot reproduce your issue here, loading the .qml from the page you linked styles the 250m raster as expected:


2

Not completely sure why but for 10 legend items, increasing the column count to 6 instead of 5 seems to split the items equally. Perhaps it is related to hiding the group/subgroup name which seems to count as a legend item itself...



Top 50 recent answers are included