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
3 votes
2 answers
192 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
1 vote
0 answers
16 views

Ungrouping objects in ArcGIS Pro grouped in AutoCAD

I have a serious problem with one of my layers. It has been imported from AutoCAD LT, where all the features have been grouped. As a result, I am unable to ungroup them in ArcGIS Pro as you see below: ...
Geographos's user avatar
  • 4,039
3 votes
3 answers
72 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
  • 39
3 votes
1 answer
62 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
19 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
47 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
221 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
66 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
0 answers
21 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
71 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
20 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
31 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
54 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
34 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
26 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
76 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
57 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
33 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
59 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
39 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
33 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
58 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
86 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
85 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
44 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
  • 112
2 votes
1 answer
75 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
15 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
121 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
59 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
102 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
57 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
69 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
124 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
57 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
104 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
59 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
39 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
2 votes
2 answers
216 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
  • 72.4k
1 vote
1 answer
134 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 vote
0 answers
33 views

Point-to-line-error when joining attributes by location in QGIS

In QGIS I have several lines with an azimuth attribute. I want to write this attribute to a point layer with "Join attributes by location". The points lay right on the lines (I used the &...
Max's user avatar
  • 11
1 vote
1 answer
85 views

Connect touching lines by condition using expressions in QGIS

I have a polyline layer (Layer_A) in QGIS that represents entities (street crossings) that either consist of a single feature or are split into two or more features. The entities may also touch at ...
winnewoerp's user avatar
  • 1,504
0 votes
1 answer
47 views

Remove transition between two lines

I'm trying to display a highway on a map. But there is a transition between the lines (see picture within the red circles) that I would like to remove. Does anyone know how to remove the transition ...
vuayalo's user avatar
  • 11
1 vote
2 answers
69 views

Finding features of connected lines to simplify line elements

I have a dataset of spatial line element where each line is classified as a certain vegetation type. The issue is that there are quite few instances where different vegetation types are recorded for ...
Nick's user avatar
  • 85
1 vote
0 answers
76 views

Extract central part of automatically created perpendicular lines in QGIS

I have a set of lines (roadways) on layer A and a set of (mainly) parallel lines (sidewalks) on layer B. I want to create perpendicular lines at a given distance that extend from the layer A center ...
winnewoerp's user avatar
  • 1,504
1 vote
0 answers
61 views

Separating intersecting lines in QGIS

I have a project in QGIS where multiple cables follow different paths using specific points as vertices, and sometimes the cables end up crossing over each other. I would like to perform a ...
João Monego's user avatar
1 vote
1 answer
125 views

Moving (snap) lines to nearest features in QGIS

I have two sets of lines: Layer A (a planned network) and Layer B (how the network was realized). The course of the lines on those two layers is similar, but not the same and they do not have the same ...
Jackie's user avatar
  • 11

1
2 3 4 5
41