Hot answers tagged

3

To do this I would take a copy of the layer, and then set complementary Definition Queries on the two layers so that you can set transparency on the features appearing in one layer while leaving those in the other layer opaque.


3

You can do it like this: # I'm assuming cat is the full path to a raster # or a raster object TempDir = os.environ.get("TEMP") # Your temp folder ColFile = os.path.join(TempDir,"TEMP_CLR_FILE.clr") with open(ColFile,'w') as ColWrite: ColWrite.write("1 255 0 0\n") # 1 = red ColWrite.write("2 0 0 255\n") # 2 = blue arcpy.AddColormap_management(cat,...


3

First of all, this is not a new feature in 2.16, it's also possible at least with 2.14 You can combine several styles for one layer, so you can create such a visualization. In this particular case, I would recommend to combine a shapeburst fill, a line pattern fill and a simple fill. See also the following image for the different fill types: The inner ...


3

try tweaking the Legend > Symbol > Symbol Width setting as follows... nudge the values up and down, you should see your symbols move from left-align to centre-align... (QGIS 2.16)


2

You need to modify the content of the SVG file and an answer was given in GIS SE (How to create svg symbols that have modifiable fill color, stroke color and stroke width?) and in Add and personalise SVG symbols in QGIS (in French, Portail SIG) Compare the "transport_bus_stop.svg" file where you can change the colors In the file, the <path contains ...


2

I would use the Summary Statistics tool to create a table from the related table that flattens the one-to-many into a count that you can just join and symbolize. Summary Statistics: Calculates summary statistics for field(s) in a table ... A field will be created for each statistic type using the following naming convention: SUM_, MAX_, MIN_, RANGE_,...


2

Categorized symbols and graduated symbols are applied in pretty much the same way. The only difference is that graduated symbols are taking into account certain ranges, whereas, categorized is simply taking in the actual field value. Quite honestly, you could literally replicate the code given from the PyQGis cookbook site: http://docs.qgis.org/testing/...


1

This is a bug. It is using the color ramp, but only a small portion of it. It doesn't matter how you change the settings, you're not going to get the full color ramp for your points. You will only get a small section of the color ramp. You may be able to improve the color range by increasing the number of classes, changing the class break values, or ...


1

In Layer Property --> Style --> for a symbol: in "Symbol layer type" = Shapeburst fill, and then, you can to choose your favorite configuration.


1

Can you see if these lines are offsetting in different directions? If so, then I think your lines were drawn in different directions. That is, one was drawn from left to right and the other from right to left. To fix this, you need to flip one of the lines. It's up to you to determine what makes sense. Whether you fix the one on the top, or the one on ...



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