Tag Info

Hot answers tagged

5

There are a couple of ways I could think of to do it in the Symbology tab, which won't affect your original raster values: Set each of the classes to the same color. Select the five classes you want to consolidate. Right-click, and choose "Group Values." (This is described in "Combining Categories" for grouping vector data, but it also works for raster ...


2

If you're writing a geoprocessing script, I'd recommend authoring a .lyr file you bundle with your toolbox and set the symbology in the script tool parameters to point to the .lyr file (see the "Symbology" part of the dialog).


2

You can create a symbology of unique values for a layer without actually having a value occur in the dataset. you could use 'group values' (ctrl+select values and right click) to take all the possible values that indicate category 'A' in any given file. This way, you could have a single symbology that covers all possibilities from each dataset without ...


2

@ChrisW said: As far as I know and can find evidence for, you cannot set a classification range below the minimum value in the data. This got me thinking, and I actually found a way to set the classification range below the minimum value. My original issue was built around the fact that the lowest classification range was required to contain the ...


1

While the classification uses similar ranges, the data don't share a range. I think the solution here is to solve it in the legend and color assignments, and not the actual classification. Start with your lower left result, and convert that legend to a graphic. Edit the text to get the ranges you want. I notice all your other images have a 10 unit range, ...


1

myVectorLayer = QgsVectorLayer("polygon", "mypoly", 'ogr') does not create a valid vector layer, therefore mySymbol1 = QgsSymbolV2.defaultSymbol(myVectorLayer.geometryType()) does not return a valid symbol and causes the error you see. Replace "polygon" with a valid file path.


1

As far as I know you cannot symbolize based on related tables out of the box. There are various solutions including joining tables and populating fields with arcpy cursors, but I doubt any would be satisfactory for what you describe other than creating your own renderer with ArcObjects. There is a sample multivariate renderer that would give you a good ...



Only top voted, non community-wiki answers of a minimum length are eligible