Questions tagged [points-to-line]

Process that generates line(s) from individual points.

Filter by
Sorted by
Tagged with
0 votes
0 answers
19 views

QGIS Points to Path from Processing Toolbox - Lines Rendering Incorrectly When Crossing Antimeridian

I have a QGIS issue using Points to Path from Processing Toolbox with paths worldwide, including crossing both meridians. Those that cross the antimeridian are drawn right across the map. Because of ...
  • 1
1 vote
1 answer
43 views

Trace/clip a segment of a line using a point layer

I have a set of points as well as a line layer (a road network) as given below. After I snap the points to the line layer the result is as follows. The result that I need is to clip/trace the line ...
  • 603
1 vote
1 answer
28 views

Generating Points to Line when the points are on either side of the Pacific

I am currently trying to generate some lines with a dataset that has points on either side of the Pacific ocean. When I try to generate the line, it creates one long line connecting them through the ...
3 votes
2 answers
72 views

QGIS - Draw line along points, using next closest point as next vertex

I have a bunch of points which I have extracted from line features. Now I want to connect them back to a line, but unfortunately, they are not sorted in the correct way, so I always end up with a wild ...
  • 1,196
1 vote
0 answers
23 views

Snapping points to lines returns unexpected results [duplicate]

I have a linenetwork lines and a lot of points points. The table lines has 42869 rows, the table points has 11264 rows. I am trying to snap each point to its closes line. SELECT p.id, ...
  • 3,135
0 votes
0 answers
14 views

OD Matrice - point to point (busstop to busstop) using QNEAT3

New to Qgis. I am currently trying to establish an OD matrix from point to point. Of data I have GPS points, names and values of the busstop network. And as a secondary dataset I have starting and ...
2 votes
1 answer
63 views

Calculate distance from point to polygon edge in QGIS

I am trying to calculate the distance of around 90 points from the closest edge of a polygon. I a currently using QGIS Version 3.22.8. I have reviewed previous answers at this link that fits my ...
  • 71
0 votes
1 answer
65 views

Geopandas - Create all lines between two point shapefiles

I have two point shapefiles A (say, 10 points) and B (say, 30 points). I would like to create a shapefile with the lines between all points in A and all points in B (so, 300 lines). I have not found ...
0 votes
0 answers
19 views

Alternative to PointsToPath in QGIS 3 to link point geometries based on integers (ranking, dates etc.)

I am looking for a QGIS 3 alternative to the QGIS 2 plug-in PointsToPath, which allowed the linking of points based on an order provided in a simple integer column. I would like to create simple maps ...
1 vote
0 answers
61 views

Taking vertices and using point to path creates a mess, how can I snap the lines to roads?

I’ve tried points to path (and various other processing tools) however I end up with this: When really it should look more like this line string (without the gaps separating chunks of road here and ...
1 vote
1 answer
72 views

Lines style from layer of points in QGIS Expression

I would like to draw generate a geometry of n-1 polylines from n points in QGIS 3.22 "Field Expressions" (Sorry, the screenshot is in french) What is the formula to enter here to generate ...
1 vote
1 answer
46 views

Making lines from points and classifying them by length in QGIS

I have a QGIS point layer with several points with no attributes except the Id field. I want to make a line from each point to the rest of the points. In addition, I would like to get two new fields, ...
  • 63
1 vote
0 answers
27 views

How to assign point feature values to line features?

I have two datasets, one being a point feature dataset and the other being a line feature dataset. Each point feature contains a traffic count value that I want to assign to the corresponding line ...
0 votes
3 answers
59 views

Creating a line from point data

I have added coordinates into a excel sheet and converted them into .csv file (a short snip is shown below). these are transects therefore 'SOL' = Start of line' and 'EOL' = 'End of Line'. I have then ...
4 votes
2 answers
252 views

Connecting points to line segments along path in QGIS

I have a set of points that fall along a trail, as in this image: and I need to convert these points to line segments. The points fall along a polyline, and points on the same line share a common ID &...
  • 83
2 votes
2 answers
66 views

Connecting points by line number and code in QGIS

I am looking to connect points with a line using Geometry Generator or Virtual layer. Each point has a unique number, a code and a line number. The goal is to display in QField application the lines ...
  • 21
3 votes
1 answer
81 views

Creating multiple routes with several stops using QGIS

I am trying to find the shortest paths given a number of points with a specific order for each path. Specifically, my point data have the following format: I used the approved solution given in ...
  • 113
2 votes
1 answer
91 views

Drawing fixed-length line from points layer towards nearest points on line in QGIS

Basically, I've used a buffer to find all airbases within 100nmi of a coastline. Now what I'd like to do for each of these points is draw a line a) to the nearest point on the coastline, and b) ...
1 vote
1 answer
122 views

Creating line feature with gradient based on data from the points that were used to create line using ArcGIS Pro

I have air quality and GPS data in a table and can display these as points, but I would like to display them as one contiguous linear feature that "blends" the data and color gradient from ...
8 votes
2 answers
942 views

Shortest path touching all points

I am looking for a solution to derive the shortest route that touches all the points using Python. Please note that This is not a Travelling salesman problem (TSP), in which the route should end ...
  • 357
0 votes
0 answers
33 views

QGIS connect points by arrows and update automatically

I have a point layer with a date field and a text field. I want to create a layer with arrows that will connect them in order (and also group them by the text field). So far so good, the Points to ...
1 vote
1 answer
43 views

Reconstruct Tracks

I got a CSV file with a bunch of waypoints from different users tracking their routes. Each waypoint has information about time, UserId and RouteId. These points are already implemented in QGIS 3.14....
  • 13
4 votes
3 answers
697 views

Points to path does not group points to lines in QGIS

I often want to join sequences of GPS points to form sets of lines that represent periods of at-sea survey effort. My GPS point file includes an integer "Order" field with unique values, and ...
  • 63
1 vote
0 answers
34 views

Points to line in a river network

I'm trying to build a network from these points. I've tried points-to-path but it's not giving me the desired output. The problem is that the Node ID that comes from the shapefile is not actually in ...
0 votes
0 answers
31 views

Creating line feature from two points that doesn't intersect with land / polygon feature using ArcGIS Pro

I have some marine fish species data that is mark-recapture data i.e. coordinates for a fish tagged with a plastic ID tag and coordinates for the same fish recaptured at a later date (identified using ...
6 votes
1 answer
102 views

Calculating distance between two points using QGIS C++ APIs

I have been trying to find the distance between two points using QGIS C++ APIs in Qt. I used the following code : QgsDistanceArea d; d.setEllipsoid("WGS84"); qDebug()<< "...
2 votes
1 answer
123 views

Choosing proper Order field when using Point to Path tool in QGIS

I'm practicing creating vectors/lines in QGIS 3.16.3 by uploading .csv files from Excel with Lat/Long decimal degrees, and then using the "Points to Path" tool to connect the locations. I ...
  • 23
1 vote
1 answer
74 views

Adding Point layer attribute to subsequent Lines segment using QGIS

I have multiple point shapefiles which have values like ID , Strom ID , windspeed, Lat , lon etc. I used Points to Path tool to convert these points into storm tracks ( See fig 1) using ID as order ...
  • 83
4 votes
1 answer
2k views

Creating LINESTRING from two POINT(s) and finding mid-POINT

I would like to create a LINESTRING from two POINT geometries and then determine the mid-POINT. So, from my original Pandas' DataFrame, with "x" and "y" columns, I created the ...
0 votes
0 answers
155 views

QGIS point to path not aligned with road

Can I use QGIS 3.10 to display overlaid encoded google polylines, with the purpose of showing road network activity? I am using QGIS 3.10. I have a series of GPS points that go from one origin to ten ...
  • 9
1 vote
0 answers
28 views

Connecting all points to each other in QGIS [duplicate]

I have a points layer of about 300 points, and I'm trying to find a way to draw lines between every pair of points (so 44,850 lines in total). I've thoroughly perused similar questions here and tried ...
  • 11
5 votes
2 answers
424 views

Prevent stretching across the entire map when connecting coordinates into path from Asia to North America

I am connecting coordinates around the world in a specific order. When moving from Asia to North America the line makes a connection that stretches across the entire map instead of bleeding over the ...
  • 75
2 votes
2 answers
351 views

Points to Path using order from array of points

I have a node layer with several thousand points. Each one has a unique attribute "N". I also have a list of N values which make up the points to which I would draw a line: 19523,19581,19662,...
3 votes
2 answers
678 views

How to know if a point is on linestring or near one (<0.01units) using GeoPandas

I want to know if a point intersects/touches/on the line/linestring or if the point is less than 0.01 mts (units) from linestring. import geopandas as gpd import matplotlib.pyplot as plt lines_gdf = ...
2 votes
1 answer
98 views

Transforming points into lines and calculating total distance in QGIS

I have a series of data, minutes and seconds that are associated with latitude and longitude. I would like to calculate the total distance within each minute, getting a value for each minute. Now I ...
  • 43
8 votes
3 answers
682 views

Connecting points with parallel lines

Background I'm trying to create parallel lines that go through each parallel points. In this points arrangement, it's North-South lines: I use Python and the libraries: pygeos, geopandas, and shapely ...
  • 81
5 votes
2 answers
713 views

Creating individual polygons based on sequentially numbered points in QGIS

In QGIS 3.18.0 I have imported a series of points (representing points along the perimeter of both sides of a stream). The stream is segmented into 10 meter sections. The goal is to map out the ...
1 vote
0 answers
276 views

QGIS create line-layer from points, sorted by date/time

I have point data from telemetrie of a raptor-bird. The point-layer has id, longitude, lattitude and datetime-fields. Now I want to create a line-layer which connects all the points, sorted by ...
3 votes
3 answers
2k views

Connecting points to lines in order using QGIS

I have a set of points and I want to create lines from them. Points belonging to one line have unique "UniqueID" to be grouped by. I try to use QGIS's "Points to path algorithm". ...
  • 213
1 vote
0 answers
45 views

Why is points to path tool connecting the start and ending points?

The PointsToPath tool is connecting the start point to the end point. I'm new to QGIS. I'm using an older version - 3.4.5. I have manually entered in the points in as a scratch layer. I export as a ...
8 votes
1 answer
174 views

Connecting points with lines and saving starting and ending points in new layer

I have 3 points in one layer as shown in the first image. I am trying to connect a building points with junction point by 2 lines. For demo, I have manually drawn a lines in image 2. Here, I am trying ...
  • 835
2 votes
2 answers
323 views

Connecting thousand of points in QGIS

I have thousand of points generated along river channels. I am trying to connect these points based on distance. I tried "Join attributes by nearest Points" and "geometry by expression&...
  • 61
5 votes
3 answers
544 views

Creating line from points and counting the number of points on that line

I have a shapefile that contains a number of points, each point represents a tree. I would like to calculate how many trees there are per row. Hence my question (I think this is the best method), how ...
  • 59
8 votes
1 answer
518 views

Routing with several stops using QGIS

I have point layer and a network (segments) stored in a GeoPackage and using QGIS. The number of points and their ids are always different. What I need is to get a route from first to last points but ...
2 votes
0 answers
136 views

Draw lines between points from two layers in QGIS [duplicate]

In QGIS 3.10.4 on Mac, I have two multipoint shapefiles: one is "Start" points, and the other is "To" points. Each layer has "x" and "y" coordinate columns in ...
0 votes
1 answer
522 views

Point to line tool to link all pairs of points in ArcGIS Pro

I have a series of points which I want to connect together as a web, with lines between all possible pairs of points. I'm sure I've done this before using the points to line geoprocessing tool, but I'...
  • 3
1 vote
1 answer
1k views

Creating polygons from points with undefined order using QGIS

I have a point shapefile that contain a batch of features. I want to create polygons from these points. Each point should define a boundary of polygon. There is an unique "ID" field that ...
  • 327
3 votes
0 answers
51 views

Line along points with no continous ID and creation date/time

I have a huge points file. The points are along a route network. I would like to build lines by going from point to point - but there is no chronology given! The "ID"s seams to be chaotic ...
  • 7,777
2 votes
0 answers
83 views

Divide road network into road segments

I have a csv file with Latitude and Longitude information along with other information such as Street name. I am using as an example a map of a city and I have different points in the whole city's ...
  • 21
2 votes
0 answers
168 views

Create a path from a point in QGIS

I have layer of points of which I need to build lines. Points to path function doesn't suit me. I have data on time, but it does not reflect the order of connection that I need. I need to connect them ...