24 votes
Accepted

Styling border to match fill in QGIS?

I'm not sure how to enforce it for existing polygons, but you could make it work for any future ones that you create. In Project Properties>Default styles>Style Manager, you could create your own ...
JohnR's user avatar
  • 556
18 votes

Rendering dashed lines between adjacent polygons correctly in QGIS

To this kind of interesting but recurring cartographic question, there is different approaches (some suggested in the comments): The classic approachs is to use dashed lines with a white solid line ...
gisnside's user avatar
  • 7,778
17 votes

Plotting map resulted from kriging in R

In order to interpolate prices with kriging you first need to convert your geographic coordinates to projected coordinates. Assuming you have them, below there is a reproducible example, showing a way ...
Andre Silva's user avatar
  • 10.2k
17 votes
Accepted

Using dynamic text to display layer credits

As mentioned in my comment above, there isn't a way to do this using dynamic text. However, you could write a script to do this and attach it to a python addin button or to run when you save the MXD ...
Fezter's user avatar
  • 21.7k
17 votes
Accepted

Is it appropriate to create vertical scale bars?

The only reasons I can see why it would not be appropriate to use a vertical scale bar would be: The audience does not want it or does not understand it The audience associates the vertical scale ...
jbalk's user avatar
  • 7,275
16 votes
Accepted

Can someone help me identify this part of the map?

Here you find the map including the legend. The legend is in German, but I am German, so I tried to translate it as precise as possible. I think (and please @Giancarlo correct me, if you disagree): ...
Iris's user avatar
  • 894
15 votes

Is it appropriate to create vertical scale bars?

One reason would be (I think it is mentioned in one of the comments) is that the vertical scale bar may not accurately represent the distance of the railway track. This would be due to the likelyhood ...
Joseph's user avatar
  • 75k
13 votes

Interactive and dynamic map with wind data in R leaflet?

I missed some information in your dataset such as the CRS and timestamp; so I created my own dataset to provide a reproducible example. Here is one suggestion for creating interactive wind maps: one ...
Andre Silva's user avatar
  • 10.2k
13 votes
Accepted

Relating text buffer to text size in QGIS?

Create a data defined field (Font_size) and set the font size in the label properties to be dependent on this field. Create a virtual field (VRT_Buffer) with the following formula : to_real( "...
gisnside's user avatar
  • 7,778
13 votes

Designing Borders with QGIS

Option 1 - Quickest way There is actually a quite immediate way to obtain that effect: double click on the layer you want to style (in your case the border layer) under Symbology select Hashed line ...
RafDouglas C. Tommasi's user avatar
11 votes

How to convert a spatialpolygon to a SpatialPolygonsDataFrame and add a column to the attribute table

Try: #Code taken from the question: s_po <- SpatialPolygonsDataFrame(bc, buf_df, match.ID = F) match.ID avoids the requirement of rownames for match polygons ID
Fabián's user avatar
  • 111
11 votes
Accepted

Is it possible to create a round map frame in QGIS Map Composer to create circumpolar maps?

There's currently no out-of-the-box functionality for this in Print Composer. As a work-around, you can add graticules as a separate layer and label their end points, like here: For a full how to, ...
underdark's user avatar
  • 83.7k
11 votes
Accepted

Labeling (one-way) streets in QGIS?

You don't need to dissolve lines by name, as you can use the Merge connected lines to avoid duplicate labels option in the Rendering tab of Labels' options. This will reduce the number of labels, and ...
Alexandre Neto's user avatar
11 votes

Generating urban footprint polygons from building clusters in QGIS?

I was able to get some quite good results, with thanks to Michael Stimson for the suggestion. I had forgotten about the "buffer out, buffer back in" trick (this can also help reduce the number of ...
Steven Kay's user avatar
  • 20.2k
11 votes

Producing Space-Time Cube in QGIS

One option to do this would be by modifying your data and visualizing it with the excellent qgis2threejs plugin. The idea is to turn your your time to Z coordinates. I tried it out with two GPX tracks ...
tjukanov's user avatar
  • 613
11 votes
Accepted

Representing five categories of data in one symbol using QGIS

Using "Data defined override > Edit...", use the following expressions. (Edit field names) For "Size": CASE WHEN "Light"='Dark' THEN 4 WHEN "Light"='...
Kadir Şahbaz's user avatar
10 votes

Convert a spatial polygon object to data frame using R

Problems: 1: the outcome of UnionSpatialPolygons is a spatial polygon 2: converting the result back into a spatial polygon data frame is a real pain -a. you need a very exact data frame to attach ...
K .'s user avatar
  • 303
10 votes
Accepted

Group and align icons in QGIS atlas

You can achieve the following using some expression-based SVG symbols. Basically, you'd have multiple attributes that determine icon #1, #2, and so on. As far as I know, it is currently not ...
underdark's user avatar
  • 83.7k
10 votes

Is there a way of labeling the number of points with the same coordinates?

If I understand, you want aggregate a layer by location. You will need SQL for that, so create a virtual layer (Qgis >= 2.14) with a query like : SELECT geometry, count(*) AS count FROM your_layer ...
Pierma's user avatar
  • 901
10 votes
Accepted

Group legend in ArcMap basing on field value

Here is one solution on top my head: Create a new string field and use field calculator to compute as the concatenation of other fields. Here is the python snippet: !abbrev! + ' ' + !fullname1! +'...
Farid Cheraghi's user avatar
9 votes
Accepted

How to change the display order of proportional circles in QGIS 2.10?

In Layer Properties > Style, there should be an Advanced button which has the option Symbol Levels. Here you can define which symbol should have higher priority when displayed. Note that I used QGIS ...
Joseph's user avatar
  • 75k
9 votes
Accepted

Plot tilted map in R

The examples in your link look like the coordinates have been transformed via a shear and a scale matrix. You can easily apply this to the coordinates you get from the usual fortify/join data that ...
Spacedman's user avatar
  • 61.6k
9 votes
Accepted

Is there a way of labeling the number of points with the same coordinates?

Nice question! PyQGIS to the rescue! Follow these steps to get a new field (in your original layer) called label with the number of points that lie in the same location: Active (select) your layer ...
Germán Carrillo's user avatar
9 votes
Accepted

Should Legend entries be singular or plural?

I asked Dr. Aileen Buckley, Esri Cartographer for her advice. She wrote a blog post that explains when you should use singular and plural for legend items. I asked, ”Is there a cartographic convention ...
Mattropolis's user avatar
  • 1,649
8 votes

How to style points in QGIS based on multiple attributes

Thee other option is to use a size assistant that is available for each of the data layer style. Say you categorized your point data based on color using a certain attribute. Simply right click each ...
sherpas's user avatar
  • 411
8 votes
Accepted

Auto zoom on multipolygon with leaflet

Nowadays, you can use the getBounds method of a MultiPolygon object and than use that to set a map's bounds. var multipolygon = L.geoJson(foret); multipolygon.addTo(map); map.fitBounds(multipolygon....
Milan Cermak's user avatar
8 votes
Accepted

How to keep polygons detailed when exporting in QGIS?

Try setting the thickness of the borders of the polygons a bit smaller, in millimeter and maybe change the join style. If you set it too high and on bevel or rounded, the rounded factor you can set in ...
gisnside's user avatar
  • 7,778
8 votes
Accepted

Curved arrows in QGIS using geometry generator

You are changing the line width of the wrong component (the 'fill' texture of the arrow). You need to go to the Arrow section (Flèche) and change the arrow width, etc. there. Have a close look at ...
she_weeds's user avatar
  • 10.1k
8 votes
Accepted

Blending features in QGIS: Approximating road edges for map render

You need to use Symbol levels to have nicely rendered crossing lines. Using symbol levels you can sort the symbol levels and thereby control the order in which the different symbol layers are rendered....
ahmadhanb's user avatar
  • 40.3k
8 votes
Accepted

Creating nested hex grids in QGIS

Step 1. Create a grid with the "Create grid" geoalgorithm Step 2. Use the "Geometry by expression" from the Processing Toolbox (Ctrl+Alt+T). With the following expression: ...
Taras's user avatar
  • 29.9k

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