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
97 views

Consolidating overlapping and fragmented line into a single line geometry

I have a circular hiking trail. It was digitized in a way that I cannot reproduce. It is apparently a circular path, but it consists of many individual parts that overlap completely or partially. Also,...
  • 8,015
0 votes
1 answer
12 views

Polyline FLAT Buffer: How to create coverage beyond ends of line? (VISUAL REQUEST)

To clarify, if we consider the output of a buffer when choosing FLAT or ROUND. I'm wondering if there is a way to extend the area coverage of the FLAT type beyond the ends of the line with a similar (...
0 votes
0 answers
15 views

Multiple overlapping polylines [closed]

I'm using ArcMap 10.8. I had multiple polygons representing watershed areas draining to the spots in a river that had been sampled. I then converted these into polylines. However, many of them share ...
7 votes
2 answers
186 views

QGIS - align labels of point layer perpendicular to course of polyline

Is it possible to align the lable text of point layers perpendicular to the course of a polyline?
  • 489
0 votes
0 answers
28 views

Move points perpendicular a line [duplicate]

I have a points shapefile and a lines shapefile. The points are not exactly on the line and I would like to move them so that they fall exactly on the nearest line. How can I do this?
0 votes
0 answers
15 views

Check adjacency of lines in a planar coordinate system given ordering, start point northing and easting, and azimuth [closed]

I am suggesting an algorithm to check that the user-entered input order of a set of lines as defined by a point and azimuth is correct and looking for feedback on the approach. I do not need to ...
0 votes
1 answer
58 views

Cut a polygon based on lines from another layer in GeoPandas

I am trying to split a polygon based on the overlaying lines from another layer: from shapely.geometry import Polygon, LineString import geopandas as gpd polygon = Polygon([(0, 0), (1, 0), (1, 1), (0,...
0 votes
0 answers
19 views

I want to change straight line to curve line on my OD analysis

I have an OD analysis of Bicycle stations. But straight lines are overlapping. So I need to convert radial or curved line to solve this problem. How can I do? Current: Desired:
1 vote
0 answers
21 views

Combine lines and calculate their length in SQL Sever 2017 using spatial SQL [closed]

I have some geographic line[polyline] data in a table and I wish to merge based on a matching ID number. I then wish to measure the lengths of these combined lines and do all of this via an SQL query. ...
  • 11
0 votes
0 answers
39 views

Split line with distance and particular point

I try to split line, or exactly, I want to make a new line between 2 lines. I try to interpolate point, but it's create 1 point on every node. I need only on start point. I try to buffer point, but it'...
  • 434
1 vote
0 answers
19 views

Way/tool to create an average of multiple tracks/polylines in ArcGIS

I'm still new at ArcGIS and have about 100 boat tracks taking roughly the same path. For my research, I would like to include the most used path/average of these. I attached a photo of all of my ...
  • 11
5 votes
2 answers
197 views

Extract raster value at each vertex from line, while keeping the line

So I have a line that is basically drawn from two points. A starting point and an end point. It looks like this: I then densify the line by count and set the value to e.g. 50 Then I explode the line ...
  • 911
7 votes
3 answers
229 views

Styling contours by colour and by line thickness in QGIS

I commonly deal with new areas where I would like to quickly visualize contours. My aim is to be able to apply a style that contains a color ramp from the lowest to highest values but also to show all ...
1 vote
1 answer
39 views

Cut polygon shapefiles by line shapefiles grouped by unique id

I have a polygon shapefile that consists of different polygon features. Each polygon features can be identified by a unique group_id. I also have a line shapefile with different straight line features ...
1 vote
0 answers
20 views

Combining lines with similar angles in QGIS [closed]

I have a lines layer representing hedge lines. Each hedge is split at a 'junction'. I want to combine the hedgerow lines that are travelling in a similar direction to have only one hedge line. I can ...
  • 11
1 vote
1 answer
49 views

Getting jagged lines when exporting SVG/PDF and importing into Inkscape/Affinity Designer

I'm having a lot of issues with exporting contour maps in QGIS. Once extracting contours from my SRTM data, I've tried cleaning up my lines in multiple ways before exporting as either .svg or .pdf. I'...
  • 115
2 votes
1 answer
56 views

How to divide polygon into equal length but irregular widths based on depth and coastline

I've been having issues with dividing my polygon (coastline to 300ft depth contour around Oahu) on ArcGIS Pro 3.1.0. I need to create 100 equal-length polygons along the coastline, but the other side ...
1 vote
0 answers
23 views

Exporting Polylines from Outline Basemap

I'm trying to export the feature outlines from ESRI's "Outlines" basemap into a new polyline shapefile. Is there a way to accomplish this without the lines becoming a pixelated mess? My ...
4 votes
2 answers
154 views

Exporting points in specific order along a pathline using QGIS

I have a to export points along a specific path. We have a point layer of 40.000 points (representing water customers). We created a polyline from one point to the next, and so on (representing the ...
-1 votes
1 answer
51 views

Create points along line at alternating sides using QGIS

I want to create points along a polyline. The distance between each „nearest-to-point“ position on the line and the shortest distance of each point to the line should be 2 parameters that can be set ...
  • 11
1 vote
0 answers
33 views

QGIS function line_locate_point

What are the arguments (Line', 'id', '1') of the function line_locate_point( geometry:=geometry(get_feature('Line', 'id', '1')), point:=$geometry) stand for? 'Line' is obviously the name of the ...
0 votes
0 answers
53 views

Extract boundary from merged polygon QGIS

Summary of situation: i got several layers with different parts of one territory, there are not only boundaries and square but also other stuff (i mean all lines inside) I merged layers and turned ...
0 votes
0 answers
14 views

Importing a CSV with multisegmented lines into QGIS

I have successfully imported points in QGIS using csv import previously, but now I have a file that has what I am assuming are multisegmented lines that I need to break into discrete lat/lon fields. ...
  • 1
5 votes
1 answer
94 views

Detect largest area and generates polygons that arise from lines geometry

Starting from a layer with points geometry, the Geometry generator is used to create a line geometry layer that connects with the 8 nearest points. The function used is the following: ...
3 votes
1 answer
115 views

Converting Lines (Strokes) to Paths like in Inkscape before exporting as PDF

I'm having a very hard time exporting line maps that end up looking and working correctly when importing into Inkscape/Affinity Designer. What I am trying to do in QGIS before exporting is basically ...
  • 115
4 votes
1 answer
101 views

Offsetting horizontal line labels in QGIS

In QGIS 3.22.8 I have 100s of linear features on a map. I want to label them horizontally, but don't want the label sitting over the line. I can find the Horizontal placement setting, but no offset ...
  • 1,667
3 votes
2 answers
190 views

Generating points along the line at equal intervals excluding vertices in QGIS

I want to generate points along a line at equal intervals but the final point layer should not contain the vertices points. It should only contain points at specified intervals. Tools in QGIS such as &...
  • 31
4 votes
1 answer
188 views

Quantizing the value of straightness or waviness of line segment in QGIS

Is there a tool in QGIS that can calculate how smooth or zigzagy a line is in the XY plane (not Z profile) between two points, or how can I quantize this value so that I can compare the straightness ...
0 votes
0 answers
50 views

QGIS missing basic symbols for editing lines

I cannot seem to use/ view any symbols when trying to edit simple lines. I have recently download QGIS 3.28.3-Firenze I also tried downloading an older version (3.18-Zurich) of the Software and had ...
  • 9
7 votes
1 answer
187 views

Splitting line buffers into two separate polygons in QGIS

In QGIS, I have a layer of numerous vector lines that need to be buffered. Once they've been buffered, I'd like to have those polygons split into two, with the original line being the segment that ...
1 vote
0 answers
38 views

Calculating the length of lines using PyQGIS

I have a polygon layer ('anlage') and a line layer ('Linie'). I intersected these two shapefiles and created a new shapefile and a new field to calculate the length of intersected lines. But the ...
1 vote
0 answers
35 views

Aligning multiple lines so they run in parallel (QGIS)

I have a set of lines (least cost paths from on place to another), which i would like to align where they run in parallel. What QGIS-tool could i use for that? Ideally, I could define a distance and ...
  • 167
3 votes
0 answers
81 views

How to find the maximum distance from a "centerline" to the edge of a surrounding irregular polygon in QGIS

Outside of QGIS I generated an irregular polygon from a line so it always contains it. If I did a buffer over the original line what distance do I need for that buffer polygon to cover all the orange ...
1 vote
1 answer
32 views

Lines in map visually compressed due to tortuosity

When exporting a map in ArcGIS pro, shapefiles containing lines for jurisdictional borders that are very tortuous (e.g. around irregularly shaped lakes) get visually compressed, so the line width ...
  • 135
3 votes
1 answer
51 views

Create polygons from opened/overlapping lines

I have a huge amount of lines indicating boundaries of certains areas but they are most of time "opened" sometimes they do not have common vertices and sometimes are overlapping. I want to ...
0 votes
0 answers
48 views

Flow maps without using virtual layers for displaying line matrix

I found this great flow map visualisation that I have been following: Flowmap - No plugins Unfortunately the dataset I am currently working with is far too heavy for the virtual layers to handle, so ...
0 votes
0 answers
37 views

Distribute equally spaced point along a line starting from the beginning of the line

I have a line geometry shapefile and I'd like to add a point each 111.12 km traveled alongside this line starting from the beginning of the line. I've tried with the "Points along geometry" ...
0 votes
0 answers
22 views

Using point features to split lines

I have several point feature classes I would like to use to split a line feature class. I am trying to determine whether there's a way to split the lines in the existing feature class (and not create ...
  • 29.4k
3 votes
1 answer
63 views

Changing color of newly created line feature on mouseover in Leaflet?

How to highlight one feature on hover from a featureGroup layer? It's easy when the layer is predefinied and static - I could write a highlighFeature and onEachFeature functions and pass them as ...
  • 57
2 votes
1 answer
76 views

Connecting points to the nearest point with a similar value in QGIS

I have a point shapefile and am trying to create lines connecting each point to the nearest other point with a similar value, based on one of its attributes. Specifically, the points are polygon ...
3 votes
3 answers
96 views

Why simplify algorithm has no effect on input in QGIS?

I have a LineString layer that I need to reduce the number of vertices. For example, some straight lines have intermediate vertices that add no value and should be removed. A slight loss of accuracy, ...
3 votes
1 answer
89 views

QGIS 3.28 How to add vectors (segments) connecting pairs of points that I have in a CSV file [duplicate]

a) Given: I have 2 sets of points: Points M and Points N (See embedded image), given by their coordinates in a CSV file. b) Required: A set of vectors (or segments) connecting the pairs of points M ...
  • 67
0 votes
1 answer
28 views

In ArcMap, is there a tool/script that allows you to attribute a line based on an attribute of a point and hatching?

I have a large amount of lines that run through a number of points that have different values. The lines have hatching which represent what direction the line is running. Currently, I am having to ...
  • 1
1 vote
1 answer
98 views

Connect unconnected networks in QGIS

I have a network project in QGIS: Where arcs is a LineString layer, but all the arcs must be connected. I was able to detect subnetworks using the Disconnected Islands plugin which populates a ...
-1 votes
1 answer
51 views

Delete Polygons And Extend Lines in ArcGIS Pro

I am trying to do the same of Delete Polygons And Extend Lines tool, but I don't have because of the licence that I had. It works to extend the line after deleted the polygon in between any 2-3 lines. ...
5 votes
2 answers
228 views

Extending several lines at once using polygon reference layer in QGIS

I have transverse shapefile lines (blue line) with a fixed length and I would like to extend them (orange line) using another reference layer (green polygon) that has a variable shape. The 'extend' ...
2 votes
1 answer
68 views

QGIS 3 - Snap line feature endpoints within certain tolerance to other line features

I have a line layer in QGIS 3.22.12 with which I want to create a network. However I've found quite a few lines where the endpoint does not quite intersect with another line. Is it possible to clean ...
0 votes
0 answers
63 views

How to remove remove self-intersections(?) from a river network line

I am working with a new global-scale river network that splits around large islands (blue lines). I will be working with the river network in Google Earth Engine and have completed some prior vector ...
  • 33
3 votes
1 answer
249 views

Creating middle line between two lines in QGIS

I'm looking for a way or tool in QGIS that could create a mean line between two line features, from a line shapefile (not a polygon). See sketch image below for clarification.
  • 103
4 votes
1 answer
175 views

Create a line from another line

The orange line is continuous, but corresponds to the union of several lines. What I would like to do is to join the lines into a single line until it collides with a green point as shown in the ...

1
2 3 4 5
39