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
1 vote
1 answer
53 views

Moving (snap) lines to nearest features in QGIS

I have two sets of lines: Layer A (a planned network) and Layer B (how the network was realized). The course of the lines on those two layers is similar, but not the same and they do not have the same ...
Jackie's user avatar
  • 11
0 votes
0 answers
16 views

Closing open polylines to create polygons in ArcGIS Pro [closed]

I have a large file with right-of-way lines displaying the edge of roadways. I am trying to create polygons that encompass the entire area within these lines but have stumbled upon a handful of issues ...
Tristan Trejo's user avatar
1 vote
1 answer
35 views

Uploading transit data to QGIS

I'm in QGIS and I've got a map of all the bus routes. The only problem is that they are all one layer, and I can't color each route individually. There isn't a property (as far as I can tell) that can ...
Gavy's user avatar
  • 11
2 votes
0 answers
32 views

QGIS: Problem to rasterize track

I'm not able to rasterize a GPS plot in QGIS (layer Chemins in red which is interpolation of GPS points) , the output is empty even though it works when I tried with a new simple layer with two line (...
user234137's user avatar
4 votes
1 answer
109 views

Difference of two polyline layers in QGIS

I have an original polyline layer and a modified one representing only a part of the original network. In an example case I cut 10 meters at start and end of each feature using Geometry by expression ...
winnewoerp's user avatar
  • 1,193
1 vote
0 answers
40 views

Removing lines that intersect with other within the same layer

This may be very simple, but I have a line feature class in ArcGIS and I want to remove all the lines that intersect other lines in the feature class. So in the example below, I would like to remove ...
anner.paldor's user avatar
1 vote
1 answer
72 views

Create alternatingly colored line segment in QGIS

I have a request to carry out a task which resembles Creating alternatingly colored line from points layer in QGIS. Is it possible to achieve an alternation of color between sections (several lines) ...
KQTN's user avatar
  • 13
0 votes
0 answers
22 views

Extract specific lines from multiple layers

In QGIS I have 16 layers (polygons) which represent the extents of shoreline erosion/recession at different time scales and scenarios into the future. Each layer contains 10 polygons. What I want to ...
JohnF's user avatar
  • 1
2 votes
1 answer
63 views

Determine area enclosed by multiple segments

I am trying to determine the area enclosed by multiple linestrings. For example, in the following picture, I have 4 linestrings, forming 2 closed polygons. I'd like to be able to get the coordinates ...
arno's user avatar
  • 43
0 votes
1 answer
43 views

Want to curve lines that are already connected (not drawing)

I have three layers. 1 point data with slaughterhouses, 1 point data with stores, and 1 line layer connecting the two (I connected them using the plugin "Connect points"). I want the lines ...
tina's user avatar
  • 17
0 votes
0 answers
17 views

ArcGIS Pro 3.2 fill gaps line section using another line layer

I extracted two lines layers of road condition. One was surveyed when the roads were dry. The other layer is when the roads were wet. The dry layer has some gaps And I want to fill these gaps with the ...
GIS Noh's user avatar
  • 191
2 votes
0 answers
18 views

How do I find the length of part of a line segment that crosses a polygon boundary?

I have a street centerline table and a borough boundary polygon table. I want to select any centerlines that cross borough boundaries and also return the how much of that centerline is crossing each ...
Kurt Cederholm's user avatar
2 votes
1 answer
57 views

Using label placement via PyQGIS

In QGIS 3.28 I am trying to align my labels along line features but cannot get them in curved mode. I tried: layer = iface.activeLayer() layer.placement = Qgis.LabelPlacement.Curved settings = ...
UngerFGIS1985's user avatar
3 votes
0 answers
44 views

How to clean dangling ends from bathymetric lines so they can be polygonized? [duplicate]

Problem I want to turn bathymetric lines into polygons. However, the bathymetric line datasets have multiple dangling ends within them. Because of this, the 'Lines to polygons' or 'Polygonize' tools ...
Nick_K's user avatar
  • 31
4 votes
1 answer
138 views

Finding number of lines touching intersection point in polyline layer using QGIS

I am trying to calculate the number of lines touching an intersection point to calculate the number of 3-way, 4-way (etc) intersections within my polyline layer. E. g. when 4 lines are connected to an ...
marla's user avatar
  • 57
0 votes
0 answers
37 views

Cross-slope of a trail in ArcGIS Pro

I am trying to make an accessible map that includes the typical and maximum slope and the typical and maximum cross slope. I understand how to determine the elevation profile of the trail, but it is ...
Deb Innes's user avatar
1 vote
1 answer
49 views

Creating relation for duplicate lines

I have two datasets with some duplicate lines. I can select the duplicates with GRASS v.select: v.select ainput=map1 binput=map2 output=duplicates operator=equals or QGIS Select by Location: ...
Jeshua Lacock's user avatar
2 votes
1 answer
57 views

Generate shortest straight path between points and a given elevation in QGIS

I'm trying to do terrain analysis in QGIS. I have a vector layer with equally spaced points along a slope, and these points are somewhat parallel to the coastline of a fjord: I'm interested in ...
Will's user avatar
  • 23
3 votes
2 answers
277 views

How to draw 8 lines away from every point in a layer using QGIS?

In QGIS I have a layer of many points, and I am trying to draw 8 lines of radius, r, from each point outwards, in the eight windrose directions (N, NE, .. etc). What is one method that can be used to ...
p1unge's user avatar
  • 89
-1 votes
2 answers
34 views

Is it possible to split a polyline into three equal segments that are rounded down to the nearest integer without allocating the remaining amount?

I need to split polylines that are over 900m into three equal segments. I need the segment lengths to be integers that are rounded down without the remaining amount being allocated to either the last ...
Lou's user avatar
  • 1
0 votes
0 answers
36 views

Identifying near continuous line features in a broken network

I have a line dataset which contains thousands of records, the network isn't continuous and it is broken in many locations. The aim is to find potential routes which are continuous in long sections, ...
ohh_danielson's user avatar
0 votes
0 answers
45 views

Creating equidistant points along polyline with multiple objects

I want to create equidistant points along a polyline layer that consists of multiple objects. The problem using the "point along geometry" tool in the QGIS processing toolbox is that every ...
Jakob_DB_EC's user avatar
3 votes
1 answer
88 views

Find the median line from the input broken line

I already tried to use ST_Simplify, but as the result Wrong Line was gotten, because the function reduced the number of points significantly and curvature was lost. Is it possible to get the Desired ...
Slava's user avatar
  • 65
1 vote
1 answer
82 views

Draw line between China and South America through the Pacific Ocean in Leaflet

I am relatively new using Leaflet.js. I want to draw a polyline in Leaflet.js between China and South America through the Pacific Ocean. Instead, I can only draw this line through both places through ...
Carlos Muñoz's user avatar
1 vote
0 answers
19 views

QGIS 3.22.16 Selecting points near lines

I try to select and delete some roads (lines) that have a False value in the attribute table. Along with that, I need to delete all the gullies (points)along these road. I don't have any related Field ...
GIS Noh's user avatar
  • 191
0 votes
0 answers
33 views

QGIS 3.22.16 Split road lines at polygon border

I am using the QGIS 3.22.16. I tried to get the length of the roads in each county. I used the clip tool however the road length of the ones crossing the boundary still the same length. By any chance ...
GIS Noh's user avatar
  • 191
0 votes
0 answers
51 views

Adding slope to lines drawn using PyQGIS

I want to add a slope to lines drawn using PyQGIS. The lines drawn with PyQGIS are currently green, but I want them to appear brown. How can I achieve this? The code I wrote: import math from qgis....
BrsDltV's user avatar
0 votes
0 answers
18 views

How to convert turn-by-turn text directions into polyline data

I am interested in converting turn-by-turn text directions into polyline data. For example, the turn-by-turn text directions would look like this: STARTING AT 1805 VICTORIA DR - SOUTH ON VICTORIA DR ...
Encepta's user avatar
3 votes
2 answers
107 views

Multiply line using style in OpenLayers

I'm working on a map application, where I should display multiple routes, each with its own name and coloring. In some locations, there are multiple routes following the same path. Is there a way to ...
mat.hudak's user avatar
  • 155
2 votes
2 answers
138 views

Create wider selection area to select lines on map using LeafletJS

When there are thin lines on the map, it is very difficult to click them with the mouse cursor. So is there any option to wider the selection area for lines in LeafletJS, without increasing the line ...
Kishor's user avatar
  • 526
0 votes
0 answers
39 views

Placing label along line problems

I would like to get the map rotation python code (it varies depending on the atlas rotation). My goal is to create a label along a line offset in a perpendicular direction. I am using the code: , but ...
Filip's user avatar
  • 1
2 votes
1 answer
38 views

Split a line using "Split lines by maximum length" does not generate a result using QGIS

In QGIS I try to split a line of 11.7 km length into segments of 450m plus a rest. I tried to use "Split lines by maximum length", but it just does not work. For some reason, to the right of ...
Timm's user avatar
  • 41
0 votes
1 answer
71 views

Create Points to Line in QGIS while keep all information of points

I am creating a storm track using HURDAT2 data which provided by NOAA. Provided Storm track information available in points like below snip (only sample) Earlier with help of Previous version of QGIS ...
Raj's user avatar
  • 103
0 votes
0 answers
40 views

Combined style for GeoJSON line in Leaflet

In leaflet I have a GeoJSON of line type. I want the latter to have two styles, the solid color in the background and a dotted line inside, as shown in the following image: In the image, I have two ...
MrShaggy87's user avatar
2 votes
1 answer
116 views

Function to draw lines based on starting point, angle and length

I have used an R script to calculate the distance from a point within a polygon to the edge of the polygon at 1-degree increments. This has been saved as a CSV file. I am now wanting to create a ...
AotearoaNico's user avatar
0 votes
0 answers
29 views

Trouble with a line intersection algorithm

So to put this in perspective, I have a DXF file, I parsed the lines from the DXF file and I have to create polygons from those lines. I decided to save the created polygons from those lines to SVGs ...
badotnetdev's user avatar
3 votes
1 answer
88 views

Calculating new id with suffix for another id field that has duplicates in QGIS

I have a linear dataset that has a unique "ID" for every row, but many of the linear features needed to be segmented. After segmenting, there are some rows that were split into two, three, ...
MidPiedmont's user avatar
-1 votes
1 answer
56 views

ArcGIS Pro: Counting points near a line within a sliding window

I am trying to determine a solution to this problem in ArcGIS Pro: We need to generate a count of points that lie within a specified distance of a line, evaluated within all contiguous 1 mile sections ...
David Bell's user avatar
2 votes
2 answers
78 views

Advanced QGIS Marker Line symbol controls

With a line geometry layer, I can use a "Marker Line" symbology element to regularly space markers along a line, for example every 20mm, even if there's no line vertexes there. I can also ...
Spacedman's user avatar
  • 62.4k
1 vote
0 answers
55 views

Splitting lines and deleting segments in QGIS

I have created a line that I now want to partially delete. I tried to do it with "split feature" but it didn't work. The wohle line deleted automatically when using this function. As you ...
eva's user avatar
  • 59
3 votes
1 answer
46 views

Plotting transect line with equally spaced points and get the coordinates in QGIS

In QGIS I am trying to plot a transect line. For this I would like to place points every 500m along a line and get the coordinates of each point, but have not managed to achieve this unfortunately. Is ...
onc's user avatar
  • 31
0 votes
1 answer
40 views

Width of lines determined by attribute value in SLD in GeoServer

I read in Size of points determined by attribute value in SLD in Geoserver, that it is possible to set the size of points via an attribute supplied by the data source as follows: <se:Size><...
William Dicks's user avatar
1 vote
0 answers
173 views

Drawing arrow only at the start and end of a line string in OpenLayers

I want to draw an arrow only at the end and start of the line string. The arrow should point in the direction of the last / first segment. I have found one way to do this, but it leads to bad ...
Lars Eivind's user avatar
1 vote
1 answer
48 views

Create dashed lines in QGIS that will export as dashed in a GeoJSON file

I have a project that has several lines in QGIS. I know how to make them display as dashed in QGIS, but I need to make them into actual dashed lines instead of just displaying them as dashed because ...
lightbord's user avatar
  • 113
3 votes
1 answer
98 views

Creating dotted line in OpenLayers with outline and fill color for each dot

I want to create a line style with dotted lines, where each dot has an outline color and a different fill color. I know how to make dotted lines, but is it possible to have different colors for the ...
Lars Eivind's user avatar
0 votes
0 answers
54 views

Is there a format like polyline6 but with altitude for API

I develop a REST API and need to send/receive coordinates with their altitude. For now we only needed latitude and longitude so we were using Polyline6 to have an efficient way to transfer data. ...
Will's user avatar
  • 101
1 vote
0 answers
30 views

How to add attributes to connected elements

I have a Points dataframe (shp). Those Points are connected via a lines (polylines, each element only connects two points) (shp). I would like to choose manually two points (in the picture the yellow ...
Sulz's user avatar
  • 144
0 votes
0 answers
26 views

QGIS, place points on polylines by name of the the polyline and linear distance along that polyline from a CSV

I have a CSV file with mileposts for road hazards on named roads, but I do not have coordinates. I have a polyline GeoPackage layer with said roads. The road names on the hazards CSV and road gpk ...
Ammon50's user avatar
0 votes
0 answers
36 views

Automated way of connecting line features with dangles in ArcGIS Pro

I have a line layer with around 9000 features. There is disconnectivity throughout the dataset Is there an automated to connect these? Attached are examples.
BenM's user avatar
  • 3
0 votes
0 answers
36 views

QGIS - Electrical Power Grid: getting the value from a previous line

I am working with two layers. One of them is a set of lines supposed to represent the electrical grid of a city. And the other one is a set of points representing the utility poles of the grid. The ...
Lucas Carvalho's user avatar

1
2 3 4 5
40