DEV Community

Cover image for Trying Out Various QGIS Processing
Yasunori Kirimoto for MIERUNE

Posted on

Trying Out Various QGIS Processing

img

I've been experimenting with QGIS processing 🎉

QGIS processing can be used to process a variety of location data. Processing can be used in GUI, batch processing, Python scripting, and other methods. In this article, I will show you how to use GUI!

I have tried more than 60 different types of vector processing in "dayjournal memo." I'd like to recommend five of them for you this time! Processing can be used for a variety of other processes, including raster. Check them out!

The following is a detailed explanation.

  • Advance Preparation
  • Create BBox data
  • Intersection Point Creation
  • Data selection by spatial search
  • Creating the center of gravity of geometry
  • Create a group of equally spaced points

Advance Preparation

The following repository contains sample data of points, lines, and polygons. Please use it for verification.

GitHub

Open the Processing Toolbox.
Start QGIS → Processing → Toolbox
img

Create BBox data

Automatically creates a BBox for each geometry.

Processing Toolbox → Vector Geometry → Output BBox
img

Set the target layer and destination as desired and execute.
img

Result
img

https://day-journal.com/memo/qgis-090/

Intersection Point Creation

Create points where geometry intersects.

Processing Toolbox → Vector Overlay → Intersect Lines
img

Set Target Layer 1, Target Layer 2, and Destination as desired, and execute.
img

Result
img

https://day-journal.com/memo/qgis-087/

Data selection by spatial search

The Within function is used to extract points contained in polygons. Other functions can also be used.

Processing Toolbox → Vector Selection → Selection by Location
img

Set the target layer, spatial search method, compared layers, and selection status arbitrarily, and then execute.
img

Result
img

https://day-journal.com/memo/qgis-076/

Creating the center of gravity of geometry

Create a point at the center of gravity of geometry.

Processing Toolbox → Vector Geometry → Center of Gravity
img

Set the target layer and destination arbitrarily and execute.
img

Result
img

https://day-journal.com/memo/qgis-122/

Create a group of equally spaced points

Create points on a line at intervals of a specified distance.

Processing Toolbox → Vector Geometry → Points along Geometry
img

Set the target layer, distance, start offset, end offset, and destination as desired, and execute.
img

Result
img

https://day-journal.com/memo/qgis-095/

Related Articles




References
QGIS

Top comments (0)