Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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)

2
votes
1answer
150 views

Repairing all topology errors at once in ArcMap?

In 2012 an ArcMap user wrote Automatically fixing multiple errors using Fix topology error tool?: I am a ArcGIS.10. user. I'm want to solve multiple errors using the fix topology error. So I ...
3
votes
2answers
85 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
185 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
65 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
194 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
128 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
48 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
69 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
52 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
42 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 ...
1
vote
2answers
335 views

Create Strava 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
100 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
67 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
66 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
57 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
105 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 ...
0
votes
0answers
23 views

Retrieving the geometry of the lines by pgr_tsp()

How can I retrieve the lines with the pgr_tsp() pgRouting function to visualize it with QGIS
3
votes
1answer
79 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
104 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
80 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
183 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
56 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 ...
3
votes
1answer
124 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 ...
0
votes
0answers
25 views

Get rid of line inside polygon after merge [duplicate]

I am a GIS beginner and looking for a solution to make one big polygon for the country Russia. I have a shapefile of Russia and it is, because of the coordinate system, split in two parts at +/-180 ...
1
vote
0answers
53 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
32 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 ...
1
vote
2answers
106 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
60 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
61 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
48 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
78 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
80 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
176 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 ...
3
votes
2answers
40 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 ...
4
votes
1answer
375 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
172 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
91 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
31 views

Calculating the longest (theoretical) line of sight?

As far I'm not familiar with GIS, my question can sound strange :) Is it possible to calculate longest (theoretical) line of sight? I found many tools which can calculate line of sight, but you must ...
0
votes
0answers
481 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 ...
2
votes
1answer
166 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 ...
0
votes
0answers
27 views

Extracting boundary ID in which polyline (Road network) runs using QGIS?

How to extract boundary ID in which a polyline(Road network) runs? My map contains road network runs in different Blocks and District, I need to extract Block ID and District ID. In QGIS
2
votes
1answer
54 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
20 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
151 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
0answers
204 views

How do I count the number of intersections within one SpatialLines object?

I have one SpatialLines object where I would like to find and count the total number of intersections between linear features. I have tried using gIntersects() to determine whether lines have points ...
1
vote
1answer
165 views

How to create polygon like a dashed line in Global Mapper?

I need to draw polygons like a "dash line" in Global Mapper. It is necessary that the polygon has beats and spaces between the dashes. GM has a style for lines with dashes, but it's for lines and I ...
0
votes
1answer
92 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
45 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
45 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
145 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.