Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
3
votes
2answers
131 views

Select a specific line length after and before a point

As you can see from the attached image, I have a shapefile of river network (line) and a point shapefile (this one represents the middle point of transects carried out in the area). I'm trying to ...
2
votes
2answers
367 views

QGIS Distance Matrix - with line geometry output?

I have a series of Output Area centroids and I want to create a matrix of lines between each point (every point connected to every point), which is effectively what the distance matrix tool does (I ...
2
votes
1answer
93 views

Delete points on one side of a line in QGIS

I have a bunch of points and line that represents a boarderline as shown below: I want to delete all the points one the right side of the line, and letting the points in the left side stay. I dont ...
3
votes
4answers
373 views

Calculate length of huge vector lines dataset

I have a MultiLineString vector layer from which I would like to calculate the length. I have tried to calculate the length with the Field Calculator by putting in the expression $length. The ...
2
votes
1answer
216 views

Distance between multiple parallel lines?

I have a set of parallel lines where the default distance between them is 1.4m, I need to identify where that distance is greater or less than the default: I have a sample file where it was done but ...
0
votes
1answer
76 views

Determining the Longest Segment of a Non-Continuous Polyline

I have a polyline that is non-continuous (please see picture, polyline is in red). I am looking to separate the polyline based on this geographic discontinuity so that I can calculate the length of ...
2
votes
0answers
87 views

QGIS: How to find a line with defined slope starting from a point over a DEM? [closed]

If I have a DEM as raster layer and a point with defined position in a point layer, how could I generate a line with defined slope of e.g. -1%? The end point can be anywhere and should be defined by ...
1
vote
2answers
61 views

Automated way of Connecting dangling polylines of two separate feature classes

I have two datasets that I am trying to form into a network, one representing pedestrian and bike paths, the other representing roads. The lines do not connect together (as seen in the picture below)...
0
votes
0answers
62 views

Remove overlaps by moving overlapping features with a specific, scale-based delta

I need to use QGIS to move multiple polylines for tracking data. I want to move any overlapping feature to the left or right with a specific delta based on a scale. I can do that with ArcMap using ...
3
votes
2answers
677 views

Create line heatmap with QGIS

I have loaded my bike tours as .gpx files into QGIS. It already looks quite nice but I was wondering if it might be possible to create something similar to the strava heatmap with tools of QGIS. I ...
1
vote
2answers
307 views

arcpy Geometry.union(Geometry) ValueError

In this script, I want to extract several polylines from one polyline. The data comes from this link : Lignes aériennes RTE au 22 décembre 2017 INF 45 kV In the flow, I merge the extracted polylines ...
3
votes
1answer
132 views

Dissolving lines with same directions using ArcGIS Desktop?

I have a feature class containing road polylines which has to be dissolved by some fields. But recently noticed that if some road has same atrtributes but different directions, Dissolve tool doesn't ...
3
votes
0answers
78 views

Drawing lines for every row from a table

I would like to make a map showing all the train trips made by different users. I know how to make the difference between a single trip on a traject and many trips by using opacity. For now I have ...
1
vote
1answer
78 views

European forest roads free download GIS

I'm looking for a free download of a shapefile about forest roads in Europe (I need forest roads of Austria and Slovenia). Here in Italy you can free download these kind of shp, but actually I can't ...
1
vote
1answer
136 views

How to Make Lines Automatically Adjust same with Another Line (Route or Road)

I have 1000 lines and 1 route or road line. I want to automatically my lines adjust to route or road without erasing all data in the attribute table. My expected results, 900 lines will same with the ...
3
votes
1answer
197 views

How to calculate the number of polygons along a line segment in QGIS

The image below is a representation of a digitised urban area derived from Google Satellite and OSM. The black lines between nodes are street segments and the irregular polygons are households. I ...
-1
votes
2answers
284 views

Finding Start and End Point IDs for a Line [duplicate]

I have a simple point feature class and line feature class. Each point has an ID. The Line feature class has a "Start Point ID" and "End Point ID" field, both of which are currently empty. The line ...
2
votes
1answer
96 views

Adding to attributes based on shared line in QGIS?

using 2.18.16 QGIS Trying to attribute shared poly lines. for example would like to calc the adjoining polygon name to a attribute filed Called Adjoin_Po. so for P01 it would be 'P02,P08' for P10 it ...
1
vote
0answers
427 views

When draw line in QGIS 3, it is not attached to the shapefile layer, can't select or edit or make invisible

I am trying to draw a line in QGIS3. I create the appropriate Shapefile layer, click on the editing pencil, select add feature and draw the line. However the resulting line does not seem to be drawn ...
1
vote
1answer
117 views

Line intersection with multiple polygons from a shapefile in PostGIS/PostgreSQL database

I am trying find where a line (chosen by a user) intersects any of the multiple polygons within the shapefile. The shapefile is in EPSG:4326 and the coordinates are in (longitude, latitude). I have ...
4
votes
2answers
317 views

Density map of pedestrian paths and footways in QGIS

I need to identify public places within pedestrian areas in London, so I need to calculate the density of both pedestrian links and footways. I have classified my data according to the categorization ...
1
vote
0answers
65 views

Distinguishing two streets with the same name?

I am trying to get road data using the Overpass API. I want a user to be able to find a street using its name then retrieve the data for the nodes to draw a line on the map. This is all fine using: [...
0
votes
1answer
68 views

Customization of Line drawings in Carto Mobile

I've been following up the "Add a line" section in the tutorial of Getting started for the Carto Mobile SDK https://carto.com/docs/carto-engine/mobile-sdk/getting-started/#basic-map-features and so ...
0
votes
2answers
240 views

Create line feature from point feature attributes: azimuth and distance [closed]

I've used Shape Tools plugin's Azimuth Distance Digitizer tool, to point and click, and then enter azimuth and distance in order to get a line. This case is the same, but I have many features, so it ...
0
votes
0answers
130 views

Split Line at Point not working in ArcGIS Desktop?

While i was using the "Split Line at Point" function with two features, both with 80000 point features and 90000 line features each, the finished result wouldnt split on the points. It would split a ...
3
votes
1answer
66 views

Assigning existing geometry to another layer in QGIS?

I have several line layers that run parallel to each other and would like to assign the geometry of the central line to all the others without losing information in the attribute tables. Is there a ...
3
votes
1answer
56 views

Trying to build lines by cursing through points

I am trying to create a tool that creates lines from selected point features. I am able to select the point features and create a search cursor to curse through them. I can message box attributes ...
1
vote
1answer
212 views

Displaying single symbol in legend for proportional symbol layer

I'd like to be able to show just one line in the legend for my layer of multiple proportional symbols. Previously, my workaround was to create a secondary layer not displayed on the map, and to bring ...
0
votes
1answer
81 views

Selecting intersected lines from two common attributes in very big data set?

I have a layer with lines representing cables. The data set is huge, over 100 000 polylines. Some of these cables lies within the same shaft, some of them lies within the same shaft as an other cable ...
2
votes
1answer
353 views

Longest flow path in QGIS from single feature vector

I have got a vector layer with one feature (MultiLineString) representing a river network (s. below) without bifurcations. In addition there is a point shapefile containing the outlets of different ...
2
votes
2answers
45 views

Determining which polygons line crosses and length of it within each polygon using ArcGIS Desktop?

I have two layers, one with polylines representing cables in the ground and one layer of the land cover. The cable data consists of around 200 different objects, all with an ID and a total length. I ...
5
votes
2answers
1k views

Changing line width by classification in QGIS

I am using QGIS 2.18.18 I have a map of rivers and I want to style them based on their width. I have width as an attribute of the rivers layer. Just as we can style colors by category or graduated ...
0
votes
1answer
332 views

Profile/Transect tool in QGIS like Arc's interpolate transect tool?

I am quite new to GIS. I am trying to determine the values along a transect of a raster in QGIS. I can perform this task in ArcMap using the profile tool however I've tried several methods in QGIS (...
3
votes
1answer
259 views

Create or move points at specific distances perpendicular to a line?

I'd like to create new points or move existing points at specific individual distances (according to a field in the attribute table), perpendicular to a line. The points are evenly spaced out at 100 m....
0
votes
0answers
942 views

How to convert a raster to a line vector layer?

I would like to convert all values having the value 1 in a binary raster to a line vector layer. The following image shows the binary raster (value 1=white and 0=black): The optimal output would ...
3
votes
1answer
292 views

Determining total number of lines connected to a line segment in QGIS?

I have a line shapefile showing the street network for a major city in Africa. For each line segment, I want to calculate the total number of roads/streets connected to it. For example, the road ...
2
votes
1answer
69 views

Averaging polylines from a number of lines

I have a number of polylines with different length, direction, and curvature. I want to create an average or ensemble of the polylines. What I previously did in ArcGIS 10.1 is to convert the ...
0
votes
0answers
26 views

Splitting a polyline at vertices and calculating start and end measurements for new features based on a known measurement of the original polyline

I have a route network which has a length-attribute defining length of each feature. This length-attribute comes from a data register outside of gis. Now I need to split each original feature at ...
1
vote
1answer
301 views

Split lines with lines

I would like to split a line with a smaller line on QGIS in order to have the rest. I used split line with line but it doesn't work. Sorry I have difficultes to explain because I'm not an English ...
0
votes
1answer
330 views

Adding m value to points using ArcMap? [closed]

I have used Points to line to create a polyline from a series of points. I want the points to have attributes with m values corresponding to the distance from the start of the line. There is also a ...
1
vote
1answer
69 views

Finding intersection point of point and polyline using ArcMap?

I have two shapefiles that looks something like this: One point file and one polyline file. I want to find the points where the points and line would intersect if you drew a perpendicular line ...
0
votes
1answer
58 views

How is geometry loaded into QGIS Midvatten plugin obs_lines table?

I have created a csv file that contains the coordinates for a series of polyline vectors and I am trying to load it into Midvatten's obs_line table. I have made several attempts at this but the data ...
2
votes
1answer
204 views

Convert polygon to polyline with adjacent polygon IDs

Is it possible to convert a polygon to polyline in QGIS WITH the adjacent polygon IDs for each polyline segment? I know one can do this in ArcToolbox but need to find out how to do it in QGIS.
2
votes
0answers
99 views

Clipper: Split polygon layer with line layer - generates empty layer

I am using QGIS 2.14.3 Essen. I wanted to split several polygons with several lines. Both layer are in GK4 coordinate system (used layers generated by: QGIS right-click on layer -> Save as... ) and ...
1
vote
1answer
172 views

Get sum of a field for each element of overlapping paths

I've used the very useful Openroute service to develop a number of routes which I have populated with traffic numbers (on each route). I want each section of road to present the total of a field (...
4
votes
2answers
3k views

Changing (flipping) line direction in QGIS?

I have river network in QGIS. I draw opposite direction one of the rivers. Now I want to change direction of that river. How can I do that in QGIS 3? (As I know it is flip in ArcGIS)
1
vote
2answers
81 views

Lines that touch same polygon two times in ArcGIS Desktop?

I have lines that touch neighboring polygons. But in some cases line touch same polygons two times, which I do not need. Thus, I would like to select those line that touch one polygons two times and ...
1
vote
0answers
74 views

Computing mean direction of river network in R

I have a shapefile of a section of river network (polyline) which I have read into R using the sp package to have a SpatialLinesDataFrame. I also have access to a terrain raster for the region in ...
6
votes
1answer
145 views

“Orphan Symbol” problem with QGIS marker line symbol

I'm experiencing a problem with the way QGIS Essen 2.14.12 draws a marker line symbol at the end of a polyline. It only occurs sometimes, and sometimes moving (even slightly) the mapping within the ...
2
votes
1answer
1k views

Convert multiple lines into a polygon in QGIS

I am working on a huge CAD-map that I am supposed to convert into a GIS map. Currently I am trying to convert the symbols used for survey points (see below) into polygons, of which I could calculate a ...