Skip to main content

Questions tagged [line]

A set of ordered co-ordinates that represent the shape of geographic features too narrow to be displayed as an area at the given scale (contours, street centrelines, or streams), or linear features with no area (county boundary lines)

Filter by
Sorted by
Tagged with
0 votes
2 answers
29 views

Splitting lines and getting the lengths in QGIS

I am new to QGIS. I need to split my vegetation line (2.19km length) into segments based on the erosion and accretion and want to get the length of those segments. I was able to split the vegetation ...
Darsh's user avatar
  • 1
3 votes
2 answers
157 views

Changing values where two geometries are equal otherwise keep value with QGIS Virtual layer

I have two line layers in QGIS, of which one layer (layer 2 - yellow in the image) is a geometrical subset of the other (layer 1- blue in the image). The two layers also differ in their values of a ...
i.i.k.'s user avatar
  • 1,755
1 vote
1 answer
55 views

Summing equal geometries with identical columns in QGIS

I have two vector layers with line geometries which share column names. The one is a subset of the other, and even though they share the same columns, they differ in their values. I would now like to ...
i.i.k.'s user avatar
  • 1,755
2 votes
2 answers
53 views

Finding overlapping line geometries (including subsets) in QGIS

I have a vector file with ~4000 line geometries. Some of the lines are overlapping, or more precise, it seems, that some lines are subsets of the longer geometry. How can I find all overlapping lines ...
i.i.k.'s user avatar
  • 1,755
0 votes
0 answers
40 views

Connecting two lines based on their value in ArcGIS Pro

In ArcGIS Pro 3.3 I have a layer of non-continuous lines that I want to connect based on depth values. Each line has a depth field (e.g., 0.3, 0.5, 0.8). I need to connect each line to the next one ...
Itamar Kadosh's user avatar
2 votes
1 answer
61 views

Assigning Z value along line on raster using QGIS

In QGIS I have a mnt, a line with a Z attribute of value 100. How can I replace the Z values ​​of the raster that intersect the line (see a buffer around the line) with that of the line, i.e. 100? I ...
fcka's user avatar
  • 985
0 votes
0 answers
21 views

When I modify the layout of a line, in a GDB ArcMap, the modification is not displayed. How can I solve this problem?

I am updating the route layout (lines) of a cartography that is in an ArcMap GDB; I have found that being in the same Feature Class, updating your layout and stopping editing, your new layout is not ...
Oscar Acevedo's user avatar
3 votes
1 answer
49 views

Merging attributes from line layer and polygon layer in QGIS

I am using QGIS 3.32 and have a grid layer with hexagons (so polygons) and a line layer. I would like the hexagons, which are overlapping the line layer to "take on" the attributes of the ...
jtheb's user avatar
  • 73
3 votes
2 answers
222 views

Getting GeoSeries with all the points and their coordinates from GeoSeries that has multiple types of geometries in GeoPandas

I'm writing a program that reads two MultiLineString shapefiles and intersects them, then processes the result in various ways. The intersection normally will give me a GeoSeries of points, like this: ...
cfnnm's user avatar
  • 33
4 votes
3 answers
82 views

Snapping line on grid / cell edges

What I want to do : This question is about finding an equivalent path on a grid to a given line. The following image shows what I am trying to achieve : Starting from a generic line (in red), I want ...
TC_Blue's user avatar
  • 49
3 votes
1 answer
66 views

Snap polyline to another polyline's vertices

I have got a polyline layer which has its own vertices (blue line in image below) and another polyline layer with a slightly different alignment and vertices in different locations (red line in image ...
Sken2107's user avatar
  • 220
0 votes
0 answers
20 views

Filled line type and unwanted connexions between segments in QGIS

In QGIS 3.36 I applied a filled line type to get lines entities with dark strokes and transparent font. I don't understand why some of my lines parts make links with each other. My line entities are ...
Iris15's user avatar
  • 67
0 votes
1 answer
50 views

Lines shapefile with black borders but transparency

In QGIS it is easy to remove fill inside a polygon to only keep black border. For the lines entities removing fill (or apply transparency) will only reveal the black bolder line behind of it that ...
Iris15's user avatar
  • 67
5 votes
1 answer
227 views

Making buffer around crossing point on lines intersection in QGIS

I have two line layers A and B. I need to create a point at the intersection of these layers (which is not a science using "Line intersection"). Is there a possibility to draw a new one on ...
sttipa's user avatar
  • 197
0 votes
1 answer
82 views

Convert a PNG file to a line layer in QGIS

I have a map in PNG-format that looks like this: I have imported it into QGIS as a raster. I want to create a line layer as a network based on the blue and pink lines. Is there a way to create a line ...
Fabi's user avatar
  • 75
0 votes
1 answer
29 views

Get all OSM-objects for landuse=meadow

I am using the geofabrik source to download all osm raw-data for Germany. Via osmfilter I extract with keep="landuse=meadow" all the meadow objects. I understand according to OSM data ...
BAE_23's user avatar
  • 677
0 votes
1 answer
74 views

Removing end vertices of a line vector in QGIS

I have a line layer in QGIS that I have digitized on the basis of a PNG file. This layer includes main lines and many secondary lines. I would like to remove these secondary lines automatically and ...
Fabi's user avatar
  • 75
0 votes
0 answers
24 views

In ArcGIS Pro, multiple line features (water main) were unknowingly created on top of each other. How?

I help manage the public works GIS database for our water infrastructure. Someone noticed that there had been 5 new main (line feature) insertions and that these all existed one on top of the other. ...
CatchE's user avatar
  • 3
2 votes
0 answers
36 views

Generating cumulative M-values in QGIS

I have a linear dataset in QGIS each vertex in each line has an X, Y and Z values. I want them to have M values. There is a set M value tool but it only seems to set a single value to each vertex i.e. ...
Fritz's user avatar
  • 21
3 votes
1 answer
62 views

Mid_point label placement using Geometry Generator in QGIS

I've tried to place a label at the start, end, and middle of my lines in QGIS using the Geometry Generator. This post, place-label-along-line-near-start-and-end-of-line-in-qgis, got me the start and ...
Nick_Jo's user avatar
  • 158
0 votes
0 answers
39 views

Using results from polyline.decode() with folium.polyline

data = {'id': ['a', 'b', 'c'], 'route': [ '[(42.3581, -71.0636), (42.82995815, -74.78991444)]', '[(43.17929819, -78.56603306),(43.40320216, -82.37774519)]', ...
user3128184's user avatar
0 votes
0 answers
31 views

ArcGIS Pro 3.1.2 Select lines from a road network that are similar to another line layer

I am working on ArcGIS pro 3.1.2. I have two line layers with different information in the table. One is the road network and the other is the Gritting routes. The lines are not overlapping and can ...
GIS Noh's user avatar
  • 321
3 votes
1 answer
80 views

Changing marker shape to ArrowHead using PyQGIS

With the code below I can add a marker to the symbology of a line type layer. But by default, this marker is a circle. layerName = 'rede_bombas' vLayer = QgsProject.instance().mapLayersByName(...
Aloísio Ângelo's user avatar
4 votes
1 answer
59 views

Getting length in meters of features in line type layer using PyQGIS

I want to get the length in meters of features with line-type geometry independent of the CRS of the layer and project. Is there any way to do this? I used the code below but I'm not sure of the unit ...
Aloísio Ângelo's user avatar
0 votes
1 answer
38 views

How to change Simple Marker to SVG Marker?

I have a line type layer and I want to add an svg type marker, I managed to add a simple marker to the layer's symbology according to the image, with the attached code. Is it possible to change this ...
Aloísio Ângelo's user avatar
1 vote
2 answers
61 views

QGIS - Creating a polygon from a section of a different line

I would like to create a polygon layer using a section of a different line layer. I selected the line component (orange highlight) which came from a high tide line shapefile and would like to use that ...
Lane Simkin's user avatar
-1 votes
1 answer
45 views

How to convert lines to polygons for a large number of features

I'm using ArcGIS Pro to try to convert line features into a polygon of the outer extent of lines (will eventually be a part of a Python tool). The line dataset has a little under 316,000 features and ...
mmoore's user avatar
  • 1,011
0 votes
1 answer
34 views

Separation angle from single point feature

I have a point feauture (radar). From this radar, I need to draw straight lines with a separation angle of 0.3° (full circle). At best, I want to draw the first line by myself with all following lines ...
Kevin_S2021's user avatar
0 votes
0 answers
60 views

PDF Export varies from display in layout view using QGIS

As in QGIS - Lines vary at a certain scale, the problem was solved in the map and layout view, but when I created a PDF, this happened: As you can see, the edges in the layout view are as sharp as ...
Hallensis's user avatar
2 votes
0 answers
37 views

Join attributes by location for lines

I have two line shapefiles in QGIS: Providing a road network (many lines) Providing the shortest route between two points via the road network (one line) I'd like to join the two attribute tables ...
Xanthia's user avatar
  • 21
2 votes
1 answer
92 views

Lines vary at certain scale using QGIS

The lines shown in the pictures start to shift in form from a certain scale onwards (Look at the corners of the polygon). Meaning, that when I'm at a higher scale the line stays the same just as it ...
Hallensis's user avatar
3 votes
1 answer
86 views

Displaying two attributes of line vector layer with same color ramp in QGIS

I have a QGIS line vector layer that contains two attributes: "attr1", "attr2". I want to display it as shown below. The same line geometry two times with an offset in both ...
588chm's user avatar
  • 625
0 votes
0 answers
45 views

Rule Based Line Symbology causing weird behaviour changes on zoom

I'm fairly sure this is an actual bug and have raised a ticket in Github, but it hasn't been looked at yet and just would to see if anyone else has any other ideas that I can try, or can see anything ...
jteez's user avatar
  • 122
2 votes
1 answer
78 views

Incorrect output when smoothing line that intersects multiline with PyQGIS

I wrote a such script to smooth my line. It checks whether a line of two points intersects the border of a polygon and, if not, then draws a line. This script works well for a simple example, but bad ...
redhat's user avatar
  • 347
0 votes
1 answer
16 views

Join Multiple Lines Plugin creates extra lines

I am using "Join Multiple Lines" plugin before using QChainage because I am getting extra points that aren't spaced properly. When I use "Join Multiple Lines" it creates extra ...
user2776946's user avatar
2 votes
1 answer
122 views

Exploding lines with PyQGIS [closed]

Are there ways to realize exploding lines through PyQGIS? I have layer with very complicated line and exploding lines is so slow, it doesn't end even after an hour. I've created spatial index and run ...
redhat's user avatar
  • 347
2 votes
1 answer
98 views

Forbid create line between the same point through geometry expression

I have a point layer and I create line between its points (like a graph) through geometry by expression collect_geometries( array_foreach( aggregate('point_layer','array_agg',$geometry), ...
redhat's user avatar
  • 347
2 votes
1 answer
62 views

Split line by another line doesn't work

I have a point layer and a line layer (old). I projected my points to the closest line of the line layer. For it I used geometry expression shortest_line( @geometry, aggregate('old_line', ...
redhat's user avatar
  • 347
0 votes
1 answer
66 views

Selecting roads covered by point features QGIS

I have a layer consisting of roads and another layer of point features (traffic signs). Is there a way in QGIS to choose the area that the traffic signs cover? By this I mean the area within multiple ...
pe5's user avatar
  • 1
1 vote
1 answer
107 views

QGIS - Find point position on line (lengthwise)

I have a line layer with some lines, and a point layer whose points are located on those lines. Now I need to get the position "along" the line where each point is (as in distance from start ...
Daniel Möller's user avatar
1 vote
1 answer
59 views

Select by location fails for some lines in QGIS

I have many line objects in a layer called "line" (pink). Further, I have line objects in a layer called "Connection" (blue). The lines in "Connection" are created by the ...
Dennis's user avatar
  • 43
0 votes
1 answer
71 views

Getting attribute values from a no geometry table for use in geometry by expression in QGIS

I have a no geometry table (named TABLE) with 3 fields. There are “Station”, “Offset”, and “Angle”. There are many rows of values (real numbers). These values will be used in geometry by expression. ...
Francis's user avatar
  • 169
0 votes
1 answer
128 views

Locating point along line at specified distance from beginning of line and at given offset (buffer) from line either left or right using QGIS [closed]

In QGIS version 3.34.2, given a line, how do I locate a point at a given distance from the beginning of the line but also at a given offset (buffer) from the line? I could use either available plugins,...
Francis's user avatar
  • 169
1 vote
1 answer
58 views

Calculating attibute for a layer objects based on objects of another layer

I have a point layer. The points have float attribute "cost". I also have a line layer with a simple line between every two points from the point layer. I want to calculate a new attribute ...
redhat's user avatar
  • 347
2 votes
1 answer
116 views

Is there a way to put a shadow behind white symbols (legend/layout/QGIS)?

I'm used to use white lines to outline municipalities along with the satellite image, and to outline colored polygons with white line to make them stand out. However, when I represent them in the ...
Rebeca's user avatar
  • 23
0 votes
0 answers
19 views

Create a (view)point perpendicular to another point on a line

I need to create a view point for each point in my map, I can create a single-sided buffer for the original line my points are on, but I don't know how to project the points in a perpendicular way on ...
Tim4497's user avatar
  • 111
2 votes
1 answer
61 views

Border background of label wrapping individual letters

Using Qgis 3.28.14 I am trying to visualize labels with a background and setting the border of the background. The result I am having is wrapping each letter instead of the entire label How do I get ...
geotyr's user avatar
  • 426
0 votes
0 answers
43 views

Snapping vertices of the same line

I am trying to automate a snapping of vertices that exist in the same polyline layer. I first implemented the Multipart to Singlepart tool which split up the up the lines (but lines which were once ...
Ephraim Fruchter's user avatar
3 votes
2 answers
229 views

Recreating the shape of curved arrows with QGIS Geometry Generator

In QGIS, I have a line layer with straight lines, consisting only of two vertices: start- end endpoint. I can now use Geometry Generator (see below for the expression I use) to create a third point in ...
Babel's user avatar
  • 73.1k
1 vote
1 answer
135 views

Splitting line to upper and lower parts in QGIS

I need to split lines (rivers) to upper and lower parts (upstream and downstream) by points (fish barrier). All the original lines start from upstream and end downstream (picture). SAGA's "Split ...
omomom's user avatar
  • 11

1
2 3 4 5
41