New answers tagged

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)


0

I'm not sure if your points' centroids are next to your lines or exactly on the lines but if they are next to them, this might helps: Make sure that your original marker point layer, let's call it Original, has got a column including unique numbers for each point and call it "id", and another column, called "rotation_2" (real number). Using v.distance ...


0

Just for anyone that may still be looking around for an answer to this issue, I havent managed to find a feature within QGIS either... but i have figured an effective way of compensating for the issue. I simply add an image box into the Print Composer and use an corresponding image (Usually .SVG files) to cover the previous symbol that is too small. I ...


0

I think the solution from PolyGeo is the best and you could group the layers fo a better handling. Another, but maybe not so nice alternative is to use a MarkerFillSymbol instead, with a narrow raster in the wished colour. This lets shine through and brings a bit transparency.


0

I haven't seem graduated symbol documentation quite like that before. This code might be a bit more comprehensible and will probably solve your problem because I too use PyCharm IDE and I have used these graduated symbols many times. # create graduated marker symbol based on ('label', 'lower_range', 'upper_range', 'color') colorRamp = (('label1', ...


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 ...


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,...


0

I've only used the Graduated Symbol renderer; however, the categorized symbol marker seems to be quite similar. I was also seeking what you were and here was my solution: # replace QgsSymbolV2.defaultSymbol(layer.geometryType()) # with sym = QgsMarkerSymbolV2.createSimple({'name' : 'triangle', 'color' : 'red'}) 'triangle' in place of whatever marker you ...


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 ...


1

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


0

In ArcGIS 10.3 there is a new tool called Edge Match Features (http://desktop.arcgis.com/en/arcmap/10.3/manage-data/editing-existing-features/using-the-edge-match-tool.htm) and Generate Edgematch links (http://desktop.arcgis.com/en/arcmap/10.3/tools/editing-toolbox/generate-edgematch-links.htm) that will link line endpoints to one another based on a search ...


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 ...


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

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 ...



Top 50 recent answers are included