Questions tagged [polyline-creation]
Used for questions about making polyline features
312
questions
0
votes
0
answers
26
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 ...
5
votes
2
answers
180
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 ...
1
vote
0
answers
43
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 ...
2
votes
1
answer
48
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 ...
0
votes
0
answers
20
views
Recalculating chainage values from a parallel line
I am currently trying to recalculate the chainage value of one line in contrast with another parallel line.
I have two polylines layers and their corresponding chainage (two layers in point geometric ...
1
vote
0
answers
54
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 ...
5
votes
4
answers
317
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 ...
4
votes
3
answers
178
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 ...
0
votes
0
answers
75
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. ...
4
votes
1
answer
175
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 ...
0
votes
1
answer
33
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....
1
vote
1
answer
61
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 ...
0
votes
0
answers
111
views
ArcGIS Pro: Convert Multipatch Shapes to 3D-Polylines
Multipatch shapes which represent tubes should be converted to a 3D-polyline which will represent the the trajectory of the tubes (i.e. the center of the rings which build the tube). The tubes are ...
6
votes
1
answer
199
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 ...
3
votes
1
answer
124
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 ...
2
votes
1
answer
150
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 ...
3
votes
2
answers
283
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....
8
votes
3
answers
344
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 ...
0
votes
0
answers
243
views
Making two-way flow map in QGIS
Is there a way to make, with a clear process, a two-way flow map (possibly curved) in QGIS 3?
I have seen some tutorials, but not detailed enough (at least for a bad coder like me); I have tried the ...
2
votes
1
answer
152
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/...
2
votes
1
answer
718
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 ...
3
votes
1
answer
215
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 ...
5
votes
2
answers
388
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' ...
1
vote
0
answers
26
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 ...
4
votes
2
answers
202
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 ...
3
votes
2
answers
151
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 ...
1
vote
0
answers
132
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 ...
4
votes
1
answer
251
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)
...
1
vote
1
answer
96
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 ...
6
votes
2
answers
244
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 ...
2
votes
1
answer
278
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....
2
votes
1
answer
49
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,...
1
vote
1
answer
78
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 ...
1
vote
1
answer
448
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 ...
0
votes
0
answers
115
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, ...
7
votes
1
answer
1k
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.
0
votes
1
answer
775
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 ...
2
votes
0
answers
134
views
Create lines between points layer and line layer (but not the nearest)
I'd like to create lines between a point layer and a line layer, but not in shortest line function in geometry generator. I using this command in geometry generator:
make_line (
$geometry,
...
1
vote
1
answer
119
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, ...
1
vote
1
answer
48
views
How to calculate Beginning and End Intersections of Polylines?
I have ArcMap 10.8.2 and am working with road networks consisting of intersecting polylines. Each segment has its own ID and I would like to calculate its position relative to other segments.
The ...
3
votes
1
answer
621
views
Drawing line of given length in QGIS 3.22
How am I supposed to add a feature of a given length and/or at a given distance from another point?
In QGIS 3.4 I've used the Measure tool to mark the length then switched to "Add Feature". ...
5
votes
2
answers
731
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 &...
2
votes
2
answers
162
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 ...
2
votes
1
answer
186
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) ...
4
votes
1
answer
4k
views
Decoding polyline in Python
By making Google Maps API call I received a response JSON which contained this polyline:
ezdvBcps}Lt@W@F@BVKl@UK]Wc@}@kAOKBEzA{BdA}Ab@s@LBf@RjARZBv@?rAAfBIX?f@FLBf@^b@hATbAF~@BvB?hALjBHpCLjAVdAd@...
2
votes
1
answer
219
views
Drawing line that is tangent to two circles in ArcGIS?
I have a series of not-quite parallel lines (stream transects) that I need to put into ArcGIS. The initial plan was to gather coordinates with GPS but topography, etc has eliminated that option. In ...
0
votes
1
answer
329
views
Creating parallel polylines in specific distance of existing polyline using ArcMap
I want to create two polylines on both sides of an existing polyline and parallel to it. I use ArcMap.
-1
votes
2
answers
136
views
Creating polyline that represents Mean shoreline position from set of 4+ polyline positions for that year using ArcMap
I am looking at tracking shoreline positions across a few decades and in order to remove the noise of seasonal change I want to create a mean shoreline position that represents several shorelines ...
0
votes
1
answer
116
views
Join line to point automatically with ArcGIS
Is there a possibility in ArcGIS to join automatically line with point, for example, with the image below?
4
votes
3
answers
2k
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 ...