Skip to main content
9 votes

Rendering polygon by two variables in QGIS

We can achieve this by combining Categorized symbols based on 'Variable 1' with color lightness based on 'Variable 2'. Categorize symbols based on 'Variable 1' as follows: Then select each colour ...
Cushen's user avatar
  • 3,167
4 votes
Accepted

Moving features of different geometries at the same time in QGIS

You could use the 'Translate' tool, available in the processing toolbox. Work out the difference between the x and y value of your point and the location of where you want to move it, e.g. 500 metres ...
SirLostalot's user avatar
3 votes

Reducing decimal places of coordinates in vector data using QGIS

You can use a process tool called Geometry by Expression and use an expression which will round every vertex to 3 decimals: make_polygon( close_line( make_line( array_foreach( ...
Bernd Loigge's user avatar
  • 2,940
2 votes
Accepted

Merging attributes from line layer and polygon layer in QGIS

i think you can use the Join attributes toolbox from QGIS. first try with line and polygon shapefile (hex). If that fails, then you can try to create a very small buffer over the line shapefile and ...
noob_noob's user avatar
2 votes
Accepted

Combine dissolve aggfunc and lambda function

You can use the .axis parameter to tell pandas to calculate quantile column-wise: df.dissolve(by="region", aggfunc={"transactions":"count", "psqm":["count&...
Bera's user avatar
  • 74.8k
2 votes
Accepted

Converting polygons to lines that are split depending on borders being shared in QGIS

It took some time but I found the solution. In case anyone needs it: "Check validity" tool "Boundary" tool "v.clean" from GRASS Vector tools with only bpol tool
Dimitar's user avatar
  • 51
2 votes
Accepted

Python: Split Polygons where they overlap one another

You can use unary_union, polygonize, and drop_duplicates or groupby (not sure what you want to do): import geopandas as gpd from shapely.ops import unary_union, polygonize #Create a df with three ...
Bera's user avatar
  • 74.8k
1 vote

Reducing decimal places of coordinates in vector data using QGIS

QGIS has a specific tool for this in the "Processing toolbox": "Snap points to grid". Note that simply rounding the coordinates (as this tool currently does) can lead to invalid ...
Pieter's user avatar
  • 3,159
1 vote

Converting polygons to lines that are split depending on borders being shared in QGIS

You can create this effect using Geomtry Genrator with this expression to create a separate line for each shared path between two polygons (to create actual lines with Geometry by Expression, see ...
Babel's user avatar
  • 73.1k

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