# Tag Info

Accepted

### Generating offset line from MultiLineString in QGIS

Try the "Translate" tool in the Processing Toolbox (Ctrl+Alt+T) (under Vector Geometry). Set the x-axis to whatever distance you want to create the copy: Output similar to the following:
Accepted

### Is there a common method for measuring "curviness" of a line?

One measure is Sinuosity which is the line length divided by the shortest distance from the line start and end points: select id, st_length(geom)/st_distance(st_startpoint(geom), st_endpoint(...
Accepted

### Multiple operations within Field Calculator using the same IF statement

The closest point of a point geometry, is the point itself. Also, the distance between geometries, is the distance between their closest points. "fid" attribute may or may not have the id ...
Accepted

### Smoothing corners in polyline using PyQGIS

After a research I didn't found a good implementation of what I needed. Bezier curves and QGIS smooth algorithm cannot make the rounding as if its a circle segment. Using these methods you get ...

### Is there a common method for measuring "curviness" of a line?

I'm not sure if this will be of great use to you, it might be too specific, but I have a function that tests for what I call cutbacks in lines. This is where a line bends more than a certain amount ...
1 vote

### Calculating distance between two points on line string

Using QGIS expressions, there is the function line_locate_point() that gives you the point's distance from the start-point of the line, along the linestring. Points are snapped to the line. Use the ...
1 vote

### City Suburbs Polygon using OSMNX

Got it! The edits worked. Changed and added tags in Open Street Maps: type: multipolygon, area: yes, boundary: administrative. With those edits the query managed to succeed. I had to wait a while for ...
1 vote
Accepted

### How to extract polygon attribute based on point location using QGIS expressions

Solved it using the following: aggregate( layer:='CDD', aggregate:='max', expression:="Value", filter:=contains(\$geometry, geometry(get_feature('Site Location', 'fid', 1))) )
1 vote

### Connecting two nodes with line to close segment in QGIS

In newer QGIS versions, you can automatically close a line using Geometry by Expression with this expression: close_line (\$geometry) Expression (here with Geometry Generator for visalization): red=...

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