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
22 views

Create polylines from CSV in QGIS [duplicate]

I have a CSV with 500 ship routes. Every row is a different trip and the columns have the values of ship_name, lat_1, lng_1, lat_2, lng_2,lat_3, lng_3... lat_20, lng_20 How can I insert this ...
0
votes
0answers
17 views

Average raster value between points

I have a rasterized stream network, with point (species presence) data overlaying it. What would be the basic workflow for determining the average cell value between all possible combinations of ...
2
votes
1answer
43 views

Splitting self-overlapping lines with points using PostGIS

I have a line geometry that partially overlaps itself (think about a line going A -> B -> C -> B -> D) and a set of points (not on the line but close to it) that I want to use to split the line in ...
0
votes
0answers
13 views

Polyline to Raster - Thicken overlapping lines

I have a featureclass with around 300 polylines. Since the all follow a route network to a single point, as they approach this point many of them overlap. What i want to do is to rasterise the ...
5
votes
3answers
197 views

Creating point at line end using QGIS

For an examination of a local power grid, I need to mark the transformation stations (substation) by simply create a point for each station. What I want to do is that QGIS creates a point at the end ...
0
votes
0answers
24 views

Distance be between points: XYtoLine “Length” different from Add Geometry Attribute (geodesic) “length geodeisic” (ArcGIS Desktop)

I have a set of coordinates (WGS_1984) for patients home locations (Point A) and the first facility they visited (Point B). I want to calculate the distance between point A and B for each patient. I ...
3
votes
1answer
43 views

Calculating intersection angles of multiple polylines QGIS

I have one vector layer of multiple polylines that intersect each other in QGIS. What I want to do: calculate all intersections angles (2-ray, 3-ray, 4-ray and 5-ray types) in this vector layer. What ...
1
vote
0answers
39 views

Is it possible to merge multiple polylines into one

I have vehicle GPS coordinates of the route. In my case vehicles can drive through one road multiple times, so overall it can look like round trips. Is there any way to merge two traces into one, so ...
1
vote
1answer
42 views

Conversion TIFF to shp, duplicates polygons [closed]

The purpose of my project is 512 KML tiles which represents an entire map. By editing the KML files I realized that there is redundancy of the polylines. So I look for why and it happens to the ...
-1
votes
0answers
16 views

How to conflation two sets of vector road data? [duplicate]

I have two OSM and NCC road data and I want to conflation them and make the data geometrically and descriptively better than the two source datasets. My problem is that I don't know what programming ...
1
vote
1answer
40 views

Measuring length from one polyline vertex to other polyline

I have two polyline which represent the river bank of a particular section of a river drawn based on Satellite imagery at 1984 and 2019. As you can see in the picture, it is drawn in red line with ...
0
votes
0answers
50 views

Simplify line in QGIS

I have very long curvey line which I want to smplify. I have used the simplify tool on QGIS but it is still not simplified enough. Tgose are the parameters I have used: The thing is that I still have ...
0
votes
0answers
27 views

Joining point layer with line layer using coordinates

I am using QGIS 3.14, and i want to represent a road network. I had a polyline layer (3257 entities) as a background. For each one I have calculated x_start, y_start, x_end, y_end coordinates, length ...
2
votes
1answer
67 views

Copying set of points perpendicular along polyline

I have a polyline which represents the middle of a river. Perpendicular to this polyline there is a layer with a set of points. These points all have an "X" and "Y" coordinates as well as a height ...
5
votes
1answer
112 views

Creating outer glow effect depending on the graduated symbology color of a shapefile - QGIS

I am working with a line shapefile that represents the road network of a city. I used a graduated symbology to draw each roads depending on their attribute value. Now, I want to get the outer glow of ...
1
vote
2answers
30 views

Create a polygon to wrap around polyline features in QGIS 3

I have a series of polylines representing sewer mains, with an attribute indicating the network it is in. Is there a way to create a polygon that wraps around all of the polylines with the same ...
1
vote
1answer
17 views

Slope and side-slope of vineyard rows

I have a question about interpreting the slope and side-slope of vineyard rows using a line vector layer and a DEM. I am trying to calculate the slope along the row (split into 2 meter lengths) as ...
0
votes
1answer
41 views

Lat/Long WKT field to line geometry

I'm working with data containing multiple lat/long entries within a single row. I am using PostGreSQL to process the data. Is there a way to take the WKT lat/long field and convert it into a line geom ...
4
votes
1answer
73 views

How do I construct a line from points that are out of order?

I'm using ArcGIS Pro and would prefer solutions using ArcPy, ArcMap, or ArcGIS Pro, but an open source alternative may work too. I'm trying to construct a line from a series of points using the ...
3
votes
3answers
51 views

Generalising lines of varying detail in QGIS

I am trying to generalise a line in QGIS so that I can export it as a vector without it having an unnecessarily huge file size. The line shows the GPS track of a road trip, and as such varies between ...
1
vote
1answer
64 views

Getting bike lane length with QGIS?

I am trying to get bike lane lengths from the following data set. To do so I have tried using the add geometry attribute from the processing toolbox. I have tried both calculate using Layer CRS and ...
0
votes
0answers
55 views

Getting polyline midpoint coordinates using ArcGIS REST API

I have an ArcGIS 10.7.1 feature service that integrates polyline GIS assets to a work order management system. In the work order management system, I want to retrieve the midpoint coordinates of the ...
0
votes
1answer
47 views

Remove parts of line layer [closed]

I have a shapefile layer in QGIS containing Europes coastlines. I want to extract only Norways coastline from this. If I make a polygon layer that overlaps only Norway and then use the Vector ...
0
votes
1answer
31 views

Measure part length of polygon using QGIS

I have a polygon file of area boundaries and I want to measure part of the polygon lines in each area which next to the sea. Is there a way to do this? In theory I guess I could edit and make ...
3
votes
0answers
34 views

Find distance between multiple discrete sets of points QGIS3.8

No similar question seems to relate to my issue but I desperately need help with calculating distances. I have a CSV with the residential postcode of 200 000 patients. For each patient, I also have ...
1
vote
3answers
55 views

How to find errors (gaps and overlaps) in a line feature class in ArcMap

I have a line feature class that contains roads that were manually edited. Now I want to check if all road crossings have been edited correctly. I want to check that there is no small gap or overlap (&...
1
vote
1answer
61 views

Big polyline with Leaflet

I'm using Leaflet for a project where I track the path of an entity along the map in realtime. I made a buffer with the last 1000 points but it is visible only through a big zooming cause the points ...
3
votes
0answers
62 views

Animating lines in QGIS

I am trying to set up an animation showing lines which represent erosion contours moving back. Effectively the animation will show 1 whole line then the next line then the next line etc. for about 20 ...
1
vote
0answers
44 views

Create cross sections equally spaced in a poly line imported from QGIS to MATLAB?

I had to create an Excel sheet with each profile cross-section which gave me the coordinates and elevations from a poly line of 2300 m length, referenced from 5 different DGM, which composed the study ...
6
votes
1answer
86 views

Merge/join only the lines which are snapped to vertices in QGIS

I have polygons drawn with AutoCAD as Mline (Multiline type) which are rendered in QGIS as 8 segments for each feature. An example of one selected feature is shown in the picture below: I want to ...
0
votes
0answers
27 views

Draw (extend) a straight line from points

Is there any existent tool or workflow to generate a straight line in ArcMap? I have a lot of point that represent plant counting (one point per plant) and I need to generate e line that represents ...
2
votes
0answers
49 views

Snapping line layer to line layer

I'm working on a project where I need to snap an existing line layer to a different line layer. These lines represent streams and rivers. I'm working within QGIS Maderia 3.4 LTR. I've tried using the ...
3
votes
1answer
52 views

Creating a Line feature in PyQGIS QGIS 3.x

In QGIS GUI, a line feature is created from this icon 1.jpg How to Create a line with a fixed distance from a vector layer in python console. This my example: from qgis.core import * from qgis....
2
votes
1answer
68 views

Calculating azimuth values along line for its segments using PostGIS [closed]

How can I calculate the azimuths along a line on its segments ? Is there a function in PostGIS for this? I want to calculate the min, max, sum and avg value of the azimuths for each segment.
3
votes
2answers
94 views

Polyline (route) search algorithm

I am developing a car-sharing application and I want to check if the approach I have is correct. I am using Postgres with PostGIS. I have a list of routes that users publish, where they indicate that ...
3
votes
0answers
43 views

Joining attributes from points to polygon

I am working with two shapefile, polygons and points. These shapefiles do not overlap and have different attribute values. The point layer contains data that I want to join to the beginning and end ...
3
votes
1answer
92 views

Keeping lines in PDF after export in QGIS 3.4?

I have regularly this problem: when I export lines from QGIS to Illustrator with a .pdf (or even .svg), my lines are destroyed in several lines. Is there a way to keep my lines unbroken?
3
votes
1answer
64 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
28 views

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

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
43 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
53 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
61 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
135 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, ...
2
votes
1answer
52 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
54 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
90 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
104 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
41 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
24 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 ...