Skip to main content

Questions tagged [polyline-creation]

Used for questions about making polyline features

Filter by
Sorted by
Tagged with
2 votes
1 answer
99 views

Creating tangential lines at points along shoreline in QGIS

I want to create tangential lines for each point along a shoreline in QGIS, such as the dashed line I've hand-drawn. These points are not randomly spaced, they each represent the angle at which each ...
Aubree's user avatar
  • 21
1 vote
1 answer
38 views

Geometry still set as point when creating lines in QGIS Geometry Generator

I'm using QGIS to analyze coastal erosion and have come across an issue with geometry type. I have a vector layer of about 150 control points along the shoreline and used a geometry generator to ...
Aubree's user avatar
  • 11
0 votes
0 answers
39 views

Calculating Length of Polylines in Miles Based on Individual Point Features

I am using ArcMap 10.8. I may be trying to do too much in one query, but I'm hoping there is a way to do what I'm trying to do without repeating the process 1,657 times. I am trying to analyze the ...
GISDawg_1785's user avatar
2 votes
2 answers
117 views

Converting polygons to lines that are split depending on borders being shared in QGIS

I have a file containing polygons that delineate the boundaries of municipalities within a specific region. I want to convert the polygon boundaries to lines. The resulting lines should be split ...
Dimitar's user avatar
  • 51
1 vote
1 answer
173 views

Creating radial lines from center of polygon to edge in QGIS

I have a set of polygons for which I need 16 radial lines each from the centroid of the polygon to the edge (see image). So far I have only found a python script to create radial points for a circle (...
Denise's user avatar
  • 91
3 votes
2 answers
136 views

Drawing routes (on road shapefile) between X,Y coordinates in QGIS

I've got a column with 300 of start points and 300 of end points (X,Y coordinates for each point). I now want each row in the column to connect with each other (e.g. X,Y Coordinate for Start Point, ...
A M's user avatar
  • 31
3 votes
1 answer
501 views

How to get the centerline of a polygon without artefacts in Python?

I am using Python to obtain the central line of a polygon (blue line) which represents the contour of a road (red line). To do so, I have used the Centerline library as shown below: from centerline....
Covadonga Prendes Pérez's user avatar
2 votes
0 answers
55 views

Building route on defined graph of roads with intermediate stops in QGIS

I have a layer with stops of public ground transportation routes. I also have a layer with a graph of roads where public transportation can go. I need to build a route from the first to the last ...
Anna Mogilevich's user avatar
3 votes
3 answers
748 views

Building the shortest path between two points inside polygon using QGIS

With QGIS I need to build the shortest route between two points inside a polygon. I have a vector polygon layer and I need to build a path inside it from the starting point to the ending point. How ...
redhat's user avatar
  • 347
6 votes
1 answer
191 views

Drawing an arc with length proportional to a distance in QGIS

From two points layers: 'ORIGIN' → Origin point at coordinate 0,0 'CLUSTERS' → Points identified by cluster with field "CLUSTER_ID" I am drawing a line from each point in the 'CLUSTERS' ...
Ingrid Ingravida's user avatar
3 votes
2 answers
230 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.2k
8 votes
1 answer
267 views

Connecting dynamically the 8 nearest lines to @map_extent_center in QGIS

Starting from a points geometry layer, I am working on the following function that has the goal of drawing 8 nearest lines to the @map_extent_center of the map view: make_line( $geometry, @...
Ingrid Ingravida's user avatar
6 votes
1 answer
119 views

Drawing 10 nearest lines from each point connecting to the centroid of the 5 points nearest to each point with QGIS expression

Starting from a layer with point geometry, my goal is to do two calculations in one Geometry Generator expression. First, for each point, I would like to calculate the centroid for the 5 points ...
Ingrid Ingravida's user avatar
5 votes
1 answer
144 views

Joining point data in chronological order using timestamp in QGIS

I have a data set which gives me the location of livestock every 30 minutes over months. I want to join these points to show the path travelled by individual animals. I have a unique ID for each ...
Eleanor Baker's user avatar
0 votes
0 answers
82 views

Merge multiple tracklogs or route points to one polyline

I'm having a similar case like the one posted Tracklogs to single line OR several lines to one line?. However what differs in my question here is that I want to display the merged or common shared ...
Sandeep J Patel's user avatar
4 votes
1 answer
197 views

Creating horizontal lines connecting points using QGIS Geometry generator

I am using the geometry generator to learn how to generate vectors using expressions. Currently, I have a point vector, and I would like to create horizontal lines (shown in red: manually drawn) ...
unknown123's user avatar
0 votes
0 answers
79 views

Unable to convert raster to polyline

I'm having trouble successfully converting a raster to a polyline feature in ArcGIS Pro. My ultimate goal is to take the values from a raster image and join them to a line layer so that I can ...
Justin Baker's user avatar
5 votes
2 answers
220 views

Ordering points when making line in QGIS Virtual Layer

I've got a QGIS point geometry layer with four point features and a numeric field sequence. I want to create a virtual layer joining these points into a line geometry layer (which will have one ...
Spacedman's user avatar
  • 65.1k
1 vote
0 answers
71 views

Creating line inside polygon using QGIS

I do have polygons in different shapes, most of them squeezed. How can I create one line inside each polygon, along? I have checked it in QGIS but could not find a way to do it. I have tried to create ...
Orkhan Abdullayev's user avatar
2 votes
1 answer
60 views

Merging polylines to next one in QGIS

I'm working with QGIS and I'm not super familiar with that. I created a Shapefile with several polylines. In some cases, my polylines do not match each other directly. For further proceedings, I would ...
Sulz's user avatar
  • 144
1 vote
0 answers
77 views

Function to get style called repeatedly - Angular OpenLayers

I have a functionality where I can modify a polyline by dragging its coordinates over the map. In order to visually separate it from untouched polylines, I apply a new style when creating the ...
mat.hudak's user avatar
  • 167
5 votes
4 answers
355 views

Importing points from CSV file with NaN as vertical separator in QGIS

I am importing a CSV file with the coordinates of several points forming some kind of circle structure. The different circles are separated in the file table with one line of NaN, NaN. When I import ...
Sanilla's user avatar
  • 61
4 votes
3 answers
229 views

Getting layer attributes along path between two points in QGIS

In QGIS I have a map of source [square] and receptor points [circles], see map. I also have a layer with ground-type data (Corine Land Type 2018). I want to know how the ground type changes along ...
gethmanuel's user avatar
0 votes
0 answers
141 views

How to calculate the polyline area in QGIS

How to calculate the polyline area in QGIS?I have the width and length and I want to calculate the area of the river using that information so I can redraw my river using the area size calculated. ...
Nurul Nabilah Mahmud's user avatar
4 votes
1 answer
289 views

Drawing line arrow from origin/destination coordinates fields using Geometry Generator in QGIS

From the following table structure with the fields "ORIG_LATITUDE", "ORIG_LONGITUDE", "DEST_LATITUDE", "DEST_LONGITUDE": I clarify that the field names ...
Ingrid Ingravida's user avatar
0 votes
1 answer
61 views

Create a point/Polyline on map

I am new to ArcGIS JavaScript API. With below code, am trying to add a point/Polyline on the map Spatial Reference is 2881 for Example POINT (914723.27587074414 524669.72858949) and PolyLine(912367....
Zr2271's user avatar
  • 1
1 vote
1 answer
71 views

QGIS merge line within 1 long line

I have a long line, which is separated by nodes. How could I merge them to make just one very long line? This is a similar query here: Join / merge lines that touch and intersect in QGIS But is it ...
Geographos's user avatar
  • 4,029
6 votes
1 answer
213 views

Creating straight line that starts from the point with the given length and also rotates around the point in QGIS

I want to create a straight line that starts from the point with the given length. And also it rotates around the point. I have a point data of cctvs: And I want to create a line with the given ...
paul lee's user avatar
3 votes
1 answer
225 views

Creating connections between multiple points from CSV file in QGIS

I have the following situation: I have two CSV files: One file lists all nodes and their longitude and latitude in the following manner with the following columns: ID Name Longitude Latitude No ...
Granola2345's user avatar
2 votes
1 answer
340 views

Make a polyline shapefile out of a mask, but do not count the boundaries of the array in the polyline

I have 3 DEMs that I mask: non-NaN values = True and NaNs = False. I have an algorithm that plots the boundaries of the masks, but the issue is that it also plots the boundaries of the array of the ...
Nihilum's user avatar
  • 143
3 votes
2 answers
392 views

Generating lines at the end of each measurement with plugin in QGIS

It would be very useful to have a tool like this when measuring and even more useful to generate lines at the end of the operation. I use this plugin which is part of a small GIS program (Map Maker 3....
Frodo's user avatar
  • 2,407
8 votes
3 answers
657 views

Creating lines between points with certain attributes using QGIS

I have a layer with the coordinates of animals from a field experiment. Apart from other attributes the layer also contains the animals' unique ID and a timestamp. I want to know the travelled ...
Simon's user avatar
  • 83
2 votes
1 answer
173 views

Euclidean distance from vector features for radiotracking data in R

I have a radiotracking dataset (ca 5000 rows) like this Animal Date Time Latitude Longitude Pepe 21/12/2020 23:00:28 52.25938 15.50511 Pepe 21/12/2020 19:00:15 52.26251 15.52726 Pepe 21/12/...
Franza's user avatar
  • 173
4 votes
2 answers
1k views

Decode Google Polylines in JS

I am a complete novice at coding and am trying to return a decoded polyline in array of (lat;lng) from an encoded polyline string. I found a similar post here Converting encoded polylines into GeoJSON ...
Raymond Woodley's user avatar
3 votes
1 answer
298 views

Adding vectors (segments) connecting pairs of points from CSV file in QGIS [duplicate]

a) Given: In QGIS 3.28 I have two 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 ...
Iyad's user avatar
  • 67
5 votes
2 answers
571 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' ...
wesleysc352's user avatar
1 vote
0 answers
29 views

Creating lines with multiple vertices from CSV file in QGIS [duplicate]

I want to draw a line with the points as vertices, the stretch name is also given. This is merely a snippet of a larger dataset, is there any tool in QGIS which will convert these vertices into a ...
Dibyajyoti Basak's user avatar
4 votes
2 answers
259 views

Creating perpendicular line between two points inside polygon using PyQGIS

I'm looking for a solution in PyQGIS to create a cut line at the midpoint of another line that connects two points within a polygon. The objective is to cut the polygon into two parts. In fact, this ...
geofausto's user avatar
  • 745
3 votes
2 answers
189 views

Splitting vectors in half using QGIS

I have a selection of vectors in QGIS (about 1000) that I'd like to split in half at once. I've already used the v.split from GRASS but as the length of links are very different one from another, I ...
Fajjo's user avatar
  • 31
1 vote
0 answers
146 views

How to fix list brackets for list of coordinates [closed]

I am trying to populate an empty list with pairs of coordinates taken from a dictionary of pairs of coordinates. Here is my code that is creating this list: #Skip shorter rows if ...
GreggUnited's user avatar
4 votes
1 answer
472 views

Adding LineString from points using PyQGIS

I want to create a LineString using points/coordinates in QGIS 3.26 using Python/PyQGIS. Here is my code : points = [] x = QgsPointXY(783648,1397243) points.append(x) y = QgsPointXY(788883,1396853) ...
BenStone's user avatar
  • 333
1 vote
1 answer
144 views

Extending line with given distance

I have (⋅)p1 and (⋅)p2, two geographic points (wgs84) with latitude, longitude, and altitude. I need to calculate point (⋅)p3 in a specific distance (in meters) from (⋅)p2 along (⋅)p1 to (⋅)p2. Any ...
Mohsen's user avatar
  • 111
6 votes
2 answers
347 views

Filling gaps between line features in QGIS Graphical Modeler

I want to merge lines and fill the gaps between them, but I cannot use the "Join multiple lines"-Plugin because I have to use the Graphical Modeler and in there is the plugin/tool not ...
Barrylim_work's user avatar
2 votes
1 answer
354 views

Creating polyline from CSV data using PyQGIS

In QGIS by means of Python I would like to add a line (polyline) from a CSV file which has the following format for the coordinates: [[7.89471262378373, 48.405478200932436], [7.896052894441773, 48....
Paulo Matias Montecinos Medel's user avatar
2 votes
1 answer
50 views

Converting polygon with attributed into centered lines using QGIS

I had some data points I wanted to aggregate with different road segments. So I buffered the road in order to process "Join Attributes by Location (Summary)". With the buffered road segments,...
rforster's user avatar
1 vote
1 answer
124 views

Create polygon from a line

I have searched high and low and cannot figure out how to do this... I need to create a polygon based off a flight path, defined by radius to either side of the path. For example, if an airplane ...
Steve's user avatar
  • 11
1 vote
1 answer
562 views

Creating Line from angle and distance using PyQGIS

In the user interface of QGIS I have the option to draw lines with the "Advances Digitizing tool", where I can enter coordinates of a point to set the first vertex. To set the second vertex ...
alice.2000's user avatar
0 votes
0 answers
147 views

Converting roads line string to polyline covering all roads

I attempted it with a linestring of Australia exported as coords array from QGIS a while ago and tested using a special website where you can input a coords array which then displays as polyline. Now, ...
IceBear123's user avatar
8 votes
2 answers
2k views

Building the shortest route through all points in QGIS

How to build the shortest route through all selected points, starting from a given point? Which plugin to use? There is a point layer and a linear layer for all routes between points.
Wawr's user avatar
  • 89
0 votes
1 answer
1k views

Show shapefile data in Flutter app

In Flutter there is availability of one package which cost more than 6k USD per year, looking a affordable method for Flutter to show shapefile in a Flutter app with data lines between continents and ...
btm me's user avatar
  • 111

1
2 3 4 5
7