The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
0
votes
0answers
14 views

Working with street network and boundary shapefiles [on hold]

I am trying to do this: GitHub - mittrees/Treepedia_Public: Treepedia package for public use I am stuck at the first step that says that: With the street network and boundary shapefile for your ...
3
votes
1answer
44 views

Distance between points along line

How do I determine the distance between points to the neighbor point that connected via the line(road)? In QGIS 3.8.3 I have tried v.distance and v.net.distance but they do not help. The line(roads) ...
-1
votes
1answer
23 views

What are the units for MapPoint M value with spatial reference WGS 84? [on hold]

Is this something I can convert to miles or meters? What is the equation?
1
vote
1answer
20 views

Displaying MS Access records as lines in ArcMap?

I'm trying to add an MS Access table as a layer in ArcMap 10.6. There are four columns with coordinates - from_x, from_y, to_x and to_y. I want to represent the records as lines on the map. I can add ...
1
vote
2answers
32 views

ArcGIS Pro: Create polygons from outlines of unclosed lines

First a disclaimer: I have very little experience with ArcGIS, I usually use QGIS and only recently started using ArcGIS Pro. I have a River dataset from the Natural Earth Site, then made its ...
4
votes
2answers
43 views

Remove unconnected polylines from a shapefile ArcPy

How do you isolate a group of polylines that are not connected to the bigger polyline group. Ideally, I would like to rank all the polyline groups based on how many features there are in each group. ...
1
vote
1answer
34 views

Splitting line with equal parts in range [closed]

How to split line into equal parts in QGIS, with a certain condition: the parts to be between 50m to 150m?
1
vote
1answer
54 views

Extract borders from country polygons

I'm trying to convert a polygon GeoJSON of countries into a line layer that contains only the borders. It should not contain the edges of the polygons that border the ocean (in my polygon dataset, ...
1
vote
1answer
29 views

Spliting a polyline object by line ID based on @data values

I am trying split a SpatialLinesDataFrame by attributes I merged into @data I extracted a list of line ID's associated with a points data frame and aggregated them by category and line ID in dplyr # ...
1
vote
1answer
51 views

Visualizing lines in QGIS

I have installed QGIS and I would like to upload a .xls-file (or Access database) with 2 GPS points (starting point and ending point), a road name and some distances from the starting point, for ...
2
votes
1answer
83 views

Splitting line with equal end parts

In QGIS 3.8.2 I would like to split line into equal segments. The issue is, that v.split splits the line into the required segments, except the last segment. I would like to split the line into equal ...
3
votes
2answers
68 views

Percentage buffer around multiline in QGIS?

I need to create plugin to QGIS that will draw buffers about width equal 1/2 length each line. Example (my amateur sketch in MS Paint): So, around each lines be created square I searched good ...
2
votes
1answer
38 views

Adding $length on the fly when adding line feature

is there a simple way (without writing script or python skills) to auto calculate and auto populate length attribute in QGIS? When I add a new line feature in my layer, I'd like the attribute length ...
0
votes
0answers
22 views

Calculate the sinuoisty of a line

I have an sf polyline layer in R an would like to calculate the sinuosity (i.e. actual length of segment divided by the shortest distance between start and endpoint). Does anyone know of a function ...
2
votes
1answer
32 views

Controlling line width at different points in QGIS [closed]

I have vector data for rivers including their width at various points. From what I have seen so far, QGIS 3.8 can set the line width only per linestring, no per segment. Is it possible (maybe with a ...
5
votes
1answer
100 views

Selecting line features by topology in QGIS (select dangles)

I want to select line features by their relationship to their neighbouring line features. To perform generalisation on the data set I need to select lines that: Do not intersect with their end point ...
2
votes
1answer
20 views

Fit Label to length of line feature at all scales

I have a shapefile with line features and an attribute table with placenames. Most lines are horizontal and they all represent label positions (orientation, length, location) on older, printed maps. ...
2
votes
1answer
44 views

Snapping lines together in QGIS

I'm using QGIS 3.8.2. I have a set of lines which represent a road network. However as I have taken different layers from different data sources the lines which represent the same road don't overlap. ...
1
vote
1answer
22 views

Nearest Neighbor Two Point Tables Return Line Geometry

I am looking to find the nearest neighbor between two point tables in PostGIS and return the ids of both along with the line geometry. I have been able to determine the distance for the nearest ...
3
votes
2answers
43 views

Clipping two line layers using QGIS

I have two line layers, A and B. Layer A is sort of a complete network (black lines on the screenshot below), layer B contains certain chunks from layer A (red and light blue lines on the screenshot)....
3
votes
1answer
46 views

Merging lines based on distance from point in QGIS

I have 5 groups of 4 lines, all the lines in all the data sets are centred around the same point. I need to algorithmically combine these lines into one line that is only the furthest from the point. ...
0
votes
1answer
177 views

Length of intersections from a linestring and a grid shapefile by using Python GeoPandas & QGIS

I am using Python GeoPandas and I have two shapefiles. One of them is a grid file containing equal polygons. The other shapefile is a linestring file with several lines and its Attributes. The idea ...
1
vote
1answer
25 views

Get shortest/fastest path between two points from SpatialLines(DataFrame)

I have a large rivernetwork as a SpatialLines(DataFrame) and want to subset it so I get a SpatialLine with only the shortest/fastest path between two SpatialPoints(DataFrame) which propably need to be ...
2
votes
1answer
24 views

Subset a SpatialLinesDataFrame in R based on the name field containing a certain string

I have a SpatialLinesDataFrame in R that is a road network dataset. The names of certain roads begin with the string "NH" to indicate that these are national highways. E.g., NH44, NH75 etc. Roads that ...
3
votes
2answers
68 views

Joining the attributes of two nearly congruent streetnetworks (lines) in QGIS

I have two streetnetwork layers containing both different attributes, none of them is similar so I can´t do a simple join. Unfortunately they are not congruent, but the line objects are close to each ...
2
votes
1answer
37 views

Display adjacent polygons without the shared borders becoming darker than the others?

When plotting adjacent polygons, for instance, the states of a country, the lines are usually thicker/darker in the border between two polygons, compared to a polygon on the edge of the map. That ...
0
votes
0answers
30 views

Geodesic line intersect Vincenty

I'm looking for a compiled 32 bit executable file that can compute the crossing of two lines given two lines defined by endpoints in latitude and longitude or state plane coordinates. A simple win ...
1
vote
1answer
47 views

Reconstruct line plugin in Qgis 3.X

I've been using reconstruct line in Qgis 2.18 and it a wonderful plug-in to create line between selected point. Now I'm on Qgis 3.4 and all I can find it plug in that add line everywhere (not only ...
1
vote
0answers
36 views

Selecting line inside polygon and copy attribute into them

I'm using QGIS 3.6. I've got around 300 polygons with "name" field. I would like to select lines inside those polygons and copy what's inside of "name" field into similar field of every line that is ...
2
votes
1answer
32 views

Extending polylines with points from Excel/Access file

I have a .shp-file filled with polylines, where some of them are currently being drawn as a straight line from A-B, where in reality they curve a lot along the way. In the shapefile, I have an "ID" ...
0
votes
0answers
22 views

Extending line to points an unspecified distance using ArcMap? [duplicate]

I would like to extend polylines (roads) to existing points (addresses points). Mostly driveways that are very close to the points. Extend Line does not do it since it requires a specified distance ...
2
votes
2answers
58 views

Clipping Lines Using Expression in QGIS?

I have a set of roads that I wish to clip. How ever I only need a segment of each road based on the state its located in. I can do this independently but seems like there should be a better way. Ill ...
1
vote
2answers
183 views

Creating lines connecting each possible pair of points in PostGIS?

I am working with a group of points I would like to create lines connecting each possible pair of points. Example: If I have points A, B and C I would like to have lines connecting A-B, A-C and B-C. ...
3
votes
1answer
62 views

Making path between polygon using QGIS?

I am trying to draw a line (vector layer) of a certain length that that tries as much as possible to dodge the green polygons. Assuming a starting point, is there some sort of line centroid ...
2
votes
2answers
63 views

Creating lines from points preserving gaps in QGIS [closed]

I have CSV sets of navigation points, with the following scheme: Easting, Northing, Line_name, Fiducial. I can connect the lines with Points to Path, using the Line_name as the Group field and ...
1
vote
0answers
53 views

How erase the rest line from WGS84 projection? [duplicate]

I am working in world map (the Natural Earth data) which I would like to readjust for a political map of the world. So, I have already changed the central meridian in Mercator projection, but I ...
1
vote
1answer
40 views

Subtract lines from lines in QGIS

I have two shape files with lines: one has 41k+ lines and the other has 606 lines. Lines from these layers often overlap. I want to use the second one as a mask to clip lines from the first one so I ...
0
votes
0answers
26 views

Split lines in R creating 2 group ids [duplicate]

I would like to split a linestring into two features separated by a point. Here's what I mean: This is what I've tried so far in R using the sf package: Sample data library(sf) library(dplyr) # ...
1
vote
1answer
65 views

Extend straight line

Is there a tool (or plugin) to extend a segment in Qgis (3)? I would use it to find objects on a map which are visible on photographs taken from known locations but too far away from those locations ...
3
votes
1answer
64 views

Correct vector data type of enclosed polyline

For a long time, I was wondering which GIS spatial vector data types does the enclosed polyline feature possess. Somebody told me, that when polyline feature's last vertex meets the first one, e.g. ...
2
votes
2answers
129 views

Deleting lines automatically which are not connected

I have a shapefile consisting of polylines. I have managed to explode these polylines (break at there vertices). There are a bunch of lines all over the shapefile which are not connected (shown in the ...
2
votes
0answers
45 views

Isolating main polyline using QGIS?

I am trying to convert a line shapefile with branches into just one polyline, actually deleting every other diramation. Imagine something like this: :________|__________|____|||______ into :...
0
votes
0answers
43 views

Line segment overlap aggregation / analysis in Python?

I have a large sample of gps coordinates, and I would like to create a similar analytical visualization to that in Overlaying lines and aggregating their values for overlapping segments using R? Does ...
2
votes
2answers
60 views

Selecting points along line in QGIS

How I can delete points along a line, with a distance tolerance? As you can see in the figure, the points near the line should stay, the points between the lines should be deleted
0
votes
0answers
36 views

Create Polygon from Polylines, w/o Feature to Polygon or Production tool bar

I have a polyline layer of all the town boundaries in Connecticut. What I want to achieve is a singular polygon for the state of Connecticut based off this layer (for use as a boundary in other ...
0
votes
0answers
37 views

GRASS GIS: From multiple lines to single line

This seems like a simple process but somehow I am not able to solve this. The situation is as follows: I have three separate lines which form visually 1 line. As I want to further process these lines ...
3
votes
2answers
186 views

Creating dummy variables between layers based on their geometries in QGIS

I have the following data: administrative boundaries for the United States: https://biogeo.ucdavis.edu/data/gadm3.6/shp/gadm36_USA_shp.zip vector layer containing coastlineshttps://www....
5
votes
4answers
245 views

Finding distance between buildings and nearest road using QGIS?

I am very new to working with GIS data. I am currently using the QGIS tool to work with the data. I have two datasets: Buildings - polygon shapefile with information about different buildings in a ...
3
votes
0answers
25 views

How to eliminate lines that are added when “join multiple line” plugin is used?

I'm new in QGIS. I have three road shapes. If I merge them, I cannot use "network analysis" (shortest path) because the merged lines are not continuous. I tried to use "Join Multiple Lines" and, ...
2
votes
3answers
95 views

Plotting points along line with specified distances from start using QGIS?

I have a table with distances in a line in meters. Distance --------- 3110 3120 3145 ... I need to create points along this line in the distance from the start, as specified, using QGIS. My doubt ...