New answers tagged legend
You can multiply the value by 100 in the column definition and then add the % signs in the legend format as shown here:
I found an answer. I basically take everything I need into the colorkey function as follows. plot3 <- spplot(mymap, "percentage", col.regions = plotclr, at = round(class$brks, digits=1), colorkey = list(labels = list( labels = c("0%", "1%","2%","3%","4%","5%","6%","7%"), width = 2, cex = 2))) Width changes ...
Add the new values with the Add Values button, not the Add ALL Values button. The add ALL values button will override the existing symbology and re-add all unique values whereas the Add Values button allows you to preserve the existing symbology and add new unique values not present in the Symbol list. EDIT: Also, confirm that after importing symbology ...
Looking at your comment above, for QGIS 2.6 you can do something like this to insert a layer into the legend model: ####### # create legend ####### composerLegend = QgsComposerLegend(comp) layerGroup = QgsLayerTreeGroup() layerGroup.insertLayer(0, the_layer) composerLegend.modelV2().setRootGroup(layerGroup)
You do not specify which ArcGIS for Desktop tool or version you tried to use to do the conversion. However, legend creation is discussed in the help page entitled Creating KML in ArcGIS for Desktop where it says: A legend is the only screen overlay that you can include in your KML created in ArcGIS for Desktop. Legends added in the map document ...
What you are trying to do is not a beginner topic in ArcPy with Data Driven Pages but should be achievable. From the help for DataDrivenPages (arcpy.mapping): Map series can be created without any scripting at all by using the Data Driven Pages toolbar from within ArcMap. The reverse is also true: map series can be completely scripted using ...
I came across this same problem, I think.... If I understand it right you had two (or more) datasets and you need to get the dataset scale ranges to match so that comparisons can be made. I solved it by: Create you're first dataset as you want it to appear. Ideally with the largest data range just so that symbols can be copied over easier to the second ...
I'm confused because layer-add-result returns an error so you can see if the layer didn't load. But layers-add-result does not return an error. so if you add a set of layers you can't get errors?
You may want to read this tutorial on the PyQGIS Tree Layer API (Part I & II). This contains a part on how to move a layer within the layer TOC.
Top 50 recent answers are included