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)

1
vote
0answers
22 views

How to export a single feature (line) from multiple layers and export to individual layers?

I have multiple vector layers representing a time series. Each layer contains many lines each. I want to select a single specific line from each of these these layers and save it to another layer. ...
0
votes
0answers
28 views

Google Maps: polylines showing up incorrectly

I'm trying to draw an encoded polyline via Google Maps but getting the wrong output. Correct Output: My Script Shows: I have this KML https://drive.google.com/file/d/...
0
votes
1answer
29 views

Measure distance for spatialLine in R returns bad value

I have this spatialLine in R: library(sp) library(maptools) library(SDraw) library(leaflet) x <- c(153.9, 152.67072,147.9879,144.25364,135.45557,116.03998,76.92708,45.10622,37.02522,36.76888,36....
0
votes
1answer
45 views

Spatial (nearest neighbour) Join Between Points (GPS coordinates) and Line in R

I want to do spatial join to an OSM line data and GPS point data both in geographic coordinate system, the result which I want is a road layer(has a unique ID) with the attributes of of road and the ...
0
votes
1answer
62 views

Lines in Polygon Analysis

This question is similar to the "points in polygon" analysis, but I want to keep the attribute data for multiple lines within a single polygon. The data source is multiple line segments representing ...
5
votes
2answers
70 views

Measuring average, min and max of vertex height of linear shape using QGIS?

I have a linear shape, all of the vertexes of each segment has a z-value, stored in the geometry. I need for every record, segment the average, min and max height value aggregated from their vertex ...
4
votes
1answer
75 views

Create Line From Points

I have this NDVI image of eucalyptus trees. I've already been able to isolate the trees and extract the location. Then I created the delaunay triangulation, turned it into lines, and then exploded to ...
3
votes
1answer
104 views

Merging lines (with and with no overlaps) in QGIS

I have two layers ("Layer_1" and "Layer_2") of lines where they sometimes overlap and follow each other for a bit and then takes another route (see the image below). "Layer_1": Red line "Layer_2": ...
-1
votes
0answers
23 views

ArcGIS tool to batch re-order directions of polylines

I'm working with multiple datasets that each have thousands of polylines in their respective shapefiles. Is there an ArcGIS tool that allows me to batch re-order the directions of the lines? For ...
1
vote
1answer
46 views

Extending polylines edges to create polygons using ArcGIS Desktop?

I have two separate polyline shapefiles where the second was created by editing the records of the first one. (in the first file the line is in a different position than the other and have common ...
0
votes
0answers
10 views

Creating terrain polygon buffer from line using ArcMap? [duplicate]

I have a line in a steep hill, and need a 400 meter buffer on each side of the line. I know (roughly) how to create buffer on a point, but not a line. Can someone help me here?
1
vote
1answer
25 views

Creating/digitizing roads using ArcMap editor?

This is probably very basic but I am not able to figure out. I am trying to digitize roads by drawing lines. I go to Editor>Star Editing, select the layer, select my layer under 'create features'. ...
0
votes
1answer
45 views

How to get polyline coordinates in Leaflet

Using leafletjs, I created a polyline connecting a bunch of markers: var line = L.polyline( latlngs, { weight: 5, color: '#8EE9FF' }) Now, I am trying to get the start and end markers when I ...
0
votes
4answers
48 views

Welding line vertices or resume creating new line from end of old one in QGIS?

I'm creating a long and detailed (historical) border, and I guess it will take days. How can I weld lines, or just resume creating a new one directly from the end of old fragment using QGIS? When I ...
1
vote
2answers
44 views

Selecting/tracing part of line feature using QGIS?

I have a shapefile which comprises a number of lines, each representing a bus route. I'm wanting to create a new bus route which is the same as an existing line to a certain point, but then branches ...
1
vote
1answer
39 views

Splitting multilinestrings in segments using PosgreSQL

I need to split several multilinestring into a defined number of segments using PosgreSQL. I tried using ST_subdvideand ST_segmentize but they didn't work. Can someone help me to solve this problem? ...
1
vote
1answer
28 views

Bulk Snapping Points to Line Vertex in QGIS?

I have around 8000 point features that require snapping to the nearest line vertex. Please see below image for reference. I would like to do this in one go if possible. Is there a tool in QGIS 8....
3
votes
1answer
83 views

Line width and labels based on blended values of features sharing same geometry in QGIS

I want to appropriate line segments that share the same geometry with a particular line width and labels based on the aggregated values of one field "GIS@BUS_5_Min". My attribute table and polyline ...
1
vote
1answer
24 views

Selecting features with same geometry within one shapefile

I am working on a public transport network in one shapefile (polyline type). Certain bus routes share the same path, means that one line-part can repeat more than once. For instance, if I select a ...
2
votes
2answers
39 views

Add line feature using bearing

QGIS 3.4.Is there a way using advanced digitizing to use a bearing, i.e. N 45° 15' 25" E as the angle?
0
votes
0answers
28 views

Parameters for BSL Package in R

I am using the landsat BSL (Bare Soil Line) package from R https://rdrr.io/cran/landsat/man/BSL.html, and I am wondering why the code sample is using llimit 0.005 and not 0.01: BSL(band3, band4, ...
0
votes
1answer
24 views

Inserting line along line using ArcPy?

I try to insert a line between two lines. End points of lines are in intersection of lines. I use positionAlongLine in arcpy but it interestingly gets coordinates from the first points of referenced ...
0
votes
1answer
46 views

Count number of points on a line in R

I have a SpatialLinesDataFrame and a SpatialPointsDataFrame. I want to calculate the number of points that fall on a line by a specific field in the lines data frame. Example: I have a river network ...
1
vote
1answer
42 views

Deleting overlap between two polyline layers in ArcMap? [closed]

I have two stream layers and they overlap, I want to delete this overlap on one layer so I do not repeat any information. How do I do this? I can only seem to find information regarding polygons.
1
vote
1answer
58 views

QGiS 3.0: Line length without overlapping parts

I have overlapping lines in my layer and want a total length of the visible line without the overlapping part. i.e. I have two lines First one goes A-B-C Second one is B-C-D How do I get the ...
1
vote
1answer
68 views

Calculating Bare Soil Line using R?

I am using a package in R called BSL (Bare soil line), package is at https://rdrr.io/cran/landsat/man/BSL.html. I've used it successfully to run regression line for my soil study area but it is ...
1
vote
1answer
30 views

Lines from Oracle Spatial Layer in QGIS are not completly visible

I connected a spatial layer from the Oracle database which contains lines (OracleDB objectclass typ is polyline) to be visible in QGIS. An example geometry is as follows: sdo_geometry(2002,2056,...
1
vote
1answer
38 views

Splitting polyline at multiple points using Mapinfo Pro?

I have a table of points and used the mapbasic app "Connect the Dots" to create a polyline. The problem is it creates a single polyline and I want to split it up into separate lines so I can delete ...
0
votes
2answers
24 views

Merge only lines that they are touches on QGIS 3.2.3 and create a shapefile output with the result

I have a project with five lines, every element have a different ID. This is view below: I want to merge only lines that there are touching. According with this conditions the lines they should ...
1
vote
1answer
35 views

Merging lines, issue

I use qgis 2.18. I've merged two lines into one with the merging tool from advanced toolset. When I cut off a small part of the line, I see the original lines again? In these two lines I have the same ...
2
votes
1answer
59 views

Create perpendicular line transects - PostGIS

I have a river network (Line with arrow as shown in image below) and I need to create perpendicular lines to the river at every 15 meters as you walk along it (see image below). Is there a function in ...
1
vote
0answers
25 views

How to keep point number when converting to a line

I have a layer of point that I convert to a line with the plugin Point2One to be able to do apply a smoothing with the generalizer tool. It works well! then I convert my layer back to points using the ...
0
votes
0answers
50 views

Changing direction of one polyline in the set of two parallel polylines

In my database, I have a bunch of parallel (in nature) polyline objects. Those lines are having the same direction of traffic flow. The requirement of my project is to change the direction only of ...
1
vote
0answers
57 views

QGIS “Sum Line Lengths” return 'nan.'

I have a polygon shapefile and a (merged) line shapefile (both are zipped). When I use Vector -> Analysis Tools -> Sum Line Lengths on these shapefiles, I get a layer with some of the LENGTHS filled ...
0
votes
0answers
23 views

Distance between points along separate polyline layer

I have an interesting problem to solve. Data: polyline layer of railroads (multiline with 11373 separate lines, also running parallel, separating and merging in many locations) point layer with ...
0
votes
0answers
14 views

Google Maps, middle point/ Halfway mark of road

I'm wanting to supplement some address data I obtained on ArcMap with the coordinates of the roads that the World Locator cannot find but appear on Google Maps. No house numbers are available for the ...
0
votes
0answers
21 views

Process to smoothing curves and lines of Centerline Layer?

I am looking for a workflow to improve the visual appearance of a municipal centerline shapefile that I will be using for some mapping outputs. It is a standard line segment vector layer. I have ...
1
vote
0answers
11 views

Averaging attributes from small line segments into a new line segment

I'm working on a project which involves combining shorter road line segments into longer ones where needed using ArcGIS 10.5. Each segment has an attribute of average traffic flow. For example, there ...
1
vote
0answers
28 views

Shapefiles and attributes from ArcGIS Pro missing in ArcMap?

I have data that is a series of digitised polylines that due to issues with maintaining the Z component have been exported (from another software package) as XYZ points in .csv format. Using ArcGIS ...
0
votes
1answer
41 views

Splitting line into segments of different length with ArcGIS Desktop?

I have a river network and I have to split each river into transects of different length. The distances where the lines have to be split are in an excel sheet. For example I have to split the river 1 ...
1
vote
1answer
79 views

A line between point to nearest neighbour point using QGIS

I have a layer of points in QGIS which represent electric poles How do I create a polyline layer that would have lines running between the poles so it can represent the the electric cables that ...
1
vote
0answers
48 views

Adding Points to line at certain distance using QGIS?

USING QGIS 2.18 This question seems to have been asked a ton with lots of options.i just need to add some points/nodes/vertex to a line at a recurring distance along that line. There are some ...
0
votes
0answers
69 views

Add line programatically in OpenLayers 3?

I successfully added point like this: var iconFeature = new ol.Feature({ geometry: new ol.geom.Point([8637791.36, 1456487.82]), name: 'Police Station', population: 4000, rainfall: 500 }); ...
0
votes
0answers
35 views

Difference between/uses of kernel and line density?

I am reading up on density calculations and their variants, and situations to which they might each be applied. I have read the article on differences between point line and kernel density I was ...
0
votes
1answer
26 views

QGIS Line Subdivide by distance

I know in QGIS you can subdivide a line, but is there a way you can type in a distance and the line will split according to this, with the last segment being smaller in length? If not I will try to ...
2
votes
0answers
49 views

Is there a keyboard shortcut to draw a perftectly straight line?

In most programs, when you have a line tool, you can hold control or shift and it will let you draw a perfectly vertical or horizontal line, sometimes it the tool will snap at 90 degree angles. How ...
0
votes
0answers
37 views

Split to equal length option is not working properly

I have a road data (line vector) which consist of a few lines and I have the length of each line segment. I want to split it into segments of 100m. When I used v.split tool, apart from 100m segments, ...
1
vote
0answers
69 views

r - intersection of 3D objects

How can an intersection of 3D object with 3D object be done in R, for example a 3D line with 3D polygon ? Saw that "sf" provides some possibilities but didn't get the desired result. What was ...
0
votes
0answers
48 views

Analyzing single Polygon or Polyline that overlaps itself using ArcObjects?

My current process is to determine obstructions in an area and determine properties of those obstructions as they relate to a center polyline. Per the image below I take a polyline which denotes a ...
0
votes
0answers
37 views

Which ArcGIS tools to use to get perpendicular distance between polylines

I have a polyline shapefile with several thousand polylines. Each polyline is within a polygon, and the Polygon_ID is contained in the polyline shapefile attribute table. I need to figure out the ...