Questions tagged [points-to-line]

Process that generates line(s) from individual points.

Filter by
Sorted by
Tagged with
5
votes
4answers
744 views

Creating all possible line segments between all points

I want to connect all points in a point feature with every possible line segment using QGIS. For example, how a pentagon has five points with ten line segments connecting them all to form a pentagram ...
5
votes
2answers
140 views

Creating point precisely on line

In QGIS I wanted to move points to the nearest lines. I checked the solutions here, but there are using tools which I am not familiar to yet (PostGIS or GRASS GIS). I figured out my own way with using ...
6
votes
7answers
354 views

Creating point at line end using QGIS

For an examination of a local power grid, I need to mark the transformation stations (substation) by simply create a point for each station. What I want to do is that QGIS creates a point at the end ...
2
votes
1answer
191 views

Distance between point and line layers & spatial index issue

I am trying to compute on QGIS the distance from some clusters (ie points) to their closest road (ie lines); no need for all combinations, just the distance from each cluster to the closest road. To ...
2
votes
0answers
71 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 ...
0
votes
2answers
138 views

Calculate distance covered by points in a shapefile

Is there a way to calculate the total distance covered by thousands of points in a shapefile in ArcMap 10.4 or possibly ArcPro? I am trying to apply a buffer for each point, then dissolve and find the ...
4
votes
1answer
205 views

Creating line connecting polygons/points based on their location using QGIS

I have polygon layer which looks like this (here is small cutout): What I need is to connect all polygons with line in somehow "logical" order - it means to go from first to last polygon (...
4
votes
2answers
176 views

Points from various sources to one line

I have "unsorted" points from various sources - steming from a hiking track / path. How can I create one line from the closest points (...following the track). I´ve already imported all points to ...
0
votes
0answers
19 views

Points to path and Reprojecting

My dataset contains the beginning and ending points of certain street segments in a city. I used Points to Path to create a line between the two. What I want to do is use Points along geometry to ...
2
votes
1answer
173 views

QGIS Points to Path tool checkbox option - where did it go?

Back in late 2017, I made considerable use of the Points to Paths tool. I forget which QGIS version I was using, but it was most likely 2.x, probably 2.14. According to my memory and notes from the ...
1
vote
0answers
68 views

Using NNjoin tool for closest distance between multiple points and multilinestring

When I use the NNjoin tool to compute the distance between points (from an CSV file) and a multilinestring (from a shapefile) the tool creates the new layer, but in this new layer it does not take ...
1
vote
1answer
72 views

Convert points to line segment

In MySQL, I have two tables to store GPS trackpoint and second table to store chainage values. Lines can have more than one condition. I wish to generate line segments by using both tables above. ...
2
votes
2answers
51 views

pyqgis: add attributes of points to attributtable of lines

I'm using QGIS 3.10 with Python 3.7. I have two layers: "line_layer" and "vertices_layer". I want to add only the names of my vertices (attributtable: "node_name") to the attributtable of my "...
0
votes
0answers
25 views

create a 3D line from 3D points in Arcgis

I have a large amount of 3D points that represent several (separate) linear elements. This means that these points partly have the similar/(same) x,y - coordinates and differ only in the height (z) (...
0
votes
1answer
50 views

Connect points by a line

I have a .shp with points which have unique IDs based on which I want to connect them. When I run the code, it creates empty line layers without geometry. layer = QgsProject.instance()....
5
votes
1answer
734 views

Turn a map canvas into a vector layer in QGIS

I ran a program that created points on the nearest edge of a polygon, but it only appears in the iface.mapLayer() canvas. The code is taken from the answer in: https://gis.stackexchange.com/a/94428 ...
9
votes
1answer
1k views

Creating points along line according to attribute data using QGIS?

I would like to create equidistant points along lines in QGIS, but each of my lines have an attribute of how many points should be on them in a column called "piece" and these values are different in ...
0
votes
0answers
42 views

Line to points R

I am trying to convert a polyline to a series of points. My polyline is a simple shapefile. So far I have used the command below which does a great job in converting my line to a bunch of points. ...
0
votes
0answers
16 views

ArcGIS Pro: Points to Line will not accept point feature class

I'm trying to make a graphic for a presentation where multiple points are connected to a single origin (hub and spokes). I initially had over a thousand spoke end points but many of them were ...
3
votes
2answers
324 views

Draw lines between points

I am doing a research project for which I need to find an effective way for drawing lines between a number of points along a square. I need there to be a line between every point on the square in ...
4
votes
2answers
337 views

Join a set of sequential points with individual line segments QGIS

My data set contains radar plots for flights on approach to an airport. For each unique flight I have hundreds of points as they are recorded every four seconds. Using Points2One I can join the points ...
3
votes
1answer
75 views

Points to Lines (not all joined) - QGIS

I have a series of GPS points recorded at an interval from a crop dusting/ aerial topdressing aircraft. They are all time stamped so sequencing is no issues. When the aircraft is spraying/spreading ...
3
votes
1answer
71 views

Building a path from points by distance

I have layer of points of which I need to build lines. Standart 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 ...
0
votes
1answer
66 views

CSV attribute table to polyline shapefile

I have a .csv file that is an exported attribute table that I would like to reconstruct as a polyline shapefile (for reasons beyond my control I cannot access the original shapefile from which the ....
4
votes
1answer
103 views

How do I construct a line from points that are out of order?

I'm using ArcGIS Pro and would prefer solutions using ArcPy, ArcMap, or ArcGIS Pro, but an open source alternative may work too. I'm trying to construct a line from a series of points using the ...
2
votes
1answer
173 views

Create line from points while keeping attribute information

Is there a way (in QGIS) to create a line from a series of points, while maintaining (at least) a column of the attribute information for each point (ie one column containing the values for a certain ...
0
votes
1answer
162 views

Drawing connecting lines between points to nearest within layer using ArcMap

I need to connect points within one layer to the nearest with polyline. Tool to the nearest would be ideal, but there is nothing in the attribute table. I tried to find tool in X Y coordinate, but ...
2
votes
1answer
1k views

Looking for an algorithm to quickly find the closest point on a road network (or other graph)

I am looking for a fast algorithm that will find the closest point on a line segment in a graph (such as a road network) to my test point. I'll try to be more specific. I have a road network graph. ...
2
votes
1answer
72 views

Identifying which tracks are too close together?

I have a point shape (yield logging data) and I want to find the tracks that are too close to another track. Usually the combine drives always with the same distance (e.g. 10m). I want to find the ...
3
votes
3answers
258 views

Plotting a smooth line through a set of geospatial points

I have a number of (long, lat) points as plotted below: ggplot(data=transect,aes(x=long,y=lat)) + geom_point( ) I have posted the raw data below. I would like to fit a smooth spatial line through ...
1
vote
1answer
271 views

QGIS making points to path permanent

I'm using the "Points to path" processing tool. It works fine but it is not saved when I exit QGIS. It shows up in layers panel but not on screen on restart. I tried making the scratch ...
3
votes
1answer
111 views

Merging lines based on distance from point in QGIS

I have 5 groups of 4 lines, all the lines in all the data sets are centred around the same point. I need to algorithmically combine these lines into one line that is only the furthest from the point. ...
1
vote
1answer
195 views

Reconstruct line plugin in Qgis 3.X

I've been using reconstruct line in Qgis 2.18 and it a wonderful plug-in to create line between selected point. Now I'm on Qgis 3.4 and all I can find it plug in that add line everywhere (not only ...
3
votes
1answer
778 views

Extending lines to Points without altering original geometry using ArcMap?

Is there an efficient way to extend lines to points in ArcMap? I have a utilities dataset, where I do not want to change the original geometry, but instead add to it in order for end vertices of lines ...
9
votes
1answer
14k views

Turning GeoDataFrame of x,y coordinates into Linestrings using GROUPBY?

I have a dataframe of X,Y coordinates that represent points along the paths taken by several different entities. Pseudo-data here, but it is roughly of the form: entity_id lat lon time 1001 ...
2
votes
1answer
31 views

Find gaps in spatial database based on attributes and fill those caps with new features with existing attributes

I have a big line shapefile data (over 2 millions features) showing animal movements. Simplified example: ID    Year    st_time     end_time&...
2
votes
1answer
82 views

Connect Points using line different table in QGIS3

I have two tables. Table1 is having many point objects (Sample given below) Table2 shows the connectivity between the point object(using a link) and link details My requirement is to have a new Line ...
2
votes
1answer
228 views

postgis: scaling / optimization of shortest distance between two geometries (seeking recommendations)

I have two tables in postgis: one with 1B rows containing points (POINT, 4326)::geometry the other, with 250k rows containing linestrings also in 4326 Both tables have a GIST index. I am trying to ...
2
votes
1answer
101 views

Points to path algorithm - is it possible to keep the attributes in the new file (lines) from the source file (points) [closed]

In my dataset of points, I need first to group points by ID, sort them by time and for each group to draw a line by time order. And for that processing algorithm points to path works perfectly. But my ...
2
votes
4answers
523 views

Adding points along the centre lines with QGIS

I'm trying to solve a spatial problem in QGIS. I have a set of polygons which I would like to add points along the centre line of each polygon. These points should be placed at 3 metres between each ...
7
votes
4answers
3k views

Create mid point from line layer

In QGIS I am trying to create a new point layer based on the mid point of a line layer (and keep all the feature attributes in the table). For example, one line feature becomes one point, located on ...
2
votes
2answers
937 views

Creating closest distance line between points and lines in QGIS

QGIS I have multiple lines in one layer (trench) and multiple points in another later. I've searched the whole Internet for a plug-in which can: connect points to the nearest line, creating a new ...
3
votes
0answers
120 views

Transforming points in CSV to linestring / polyline in QGIS

I have "BeginLat", "BeginLon", "EndLat" and "EndLon" as under in a CSV-file I am trying to import it as a line string but I cant. I tried to import using 'Create a Layer from a Delimited Text File', ...
0
votes
0answers
52 views

Creating many lines from point feature using ArcGIS Desktop?

I would like to create many line from a point feature, or a table (I created the feature with 'Display XY Data'). I was using 'points to line', but it works only for a single line. In the point ...
0
votes
1answer
1k views

Point connection in QGIS [closed]

I have to connect points to a polygon. I tried to use "points to path" and "point connector" plugins in QGIS, but neither of them are working. For testing, I just drew 4 points and used "points to ...
1
vote
1answer
262 views

Drawing series of lines from hub in QGIS?

I'm trying to create a route map and was wondering how best to do this. I have a series of 'routes' emanating from hubs to single destinations and wish to link them creating a spoke-like effect like ...
1
vote
0answers
110 views

How to generate road curvature from the Points to path tool in QGIS?

I have been working on a project and I have used the "Points to path" tool in the processing toolbox to connect multiple points up along a route on the road network. However, when processing this ...
3
votes
1answer
232 views

How to draw all possible lines between a set of points in QGIS?

I have a points layer in QGIS defined by a csv file in the following format: group,name,lat,long 1,A,…,… 1,B,…,… 1,C,…,… 2,A,…,… 2,D,…,… 3,E,…,… 3,F,…,… (lat and long are coordinates in WGS84) How ...
2
votes
1answer
178 views

Batch process with custom plugins in QGIS

In QGIS, it is very easy to do batch processing like this but how do you do run a batch process for a custom plugin? More detail: I have a number of point shapefiles and want to convert them to ...
1
vote
0answers
37 views

Improve visual appearance of line of points

Arcgis 10.5 I have a point shape representing a river system. It is points, not a line, because of the mathematical calculations I had to do beforehand. In close it looks like this (the actual river ...