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
1
vote
1answer
159 views

Create Polyline from Coordinates Array in OL OpenLayers 5.3.2

I'm using OpenLayers 5.3.2, and would like to create my own marker animation using almost exactly the example at https://openlayers.org/en/latest/examples/feature-move-animation.html?q=marker All I'd ...
2
votes
2answers
146 views

How do I split a line feature in segments of a set interval distance in Qgis?

In order to record some vegetation along a Dutch highway, I want to create a line feature along said highway of about 25 kilometers. The line feature must be split every 100 meters to create seperate ...
3
votes
2answers
132 views

QGIS Assign point data to a line layer considering line direction

I have a line layer representing a river bank. The river bank is divided in numerous separate line features representing zones, each separate line has many vertices. The lines have a set direction. I ...
3
votes
0answers
74 views

How to create equidistant points along lines (network)?

I am trying to create points at every X meters along a set of lines that represent a network. As suggested in QChainage doesn't place points evenly along dissolved lines I managed to this ...
1
vote
1answer
92 views

Merging road segments into one road line in QGIS

I have a Shapefile with a road network (lines) which includes several road segments (lines). Is there any way to merge all these lines into one line using QGIS?
1
vote
0answers
95 views

Buffer in ArcMap with FLAT end lines [closed]

I have a polyline shapefile and I am applying a Buffer tool in ArcMap 10.5 version with line_end_type='FLAT'. The buffer shape obtained has not all the end lines with a FLAT end, some of them are ...
1
vote
1answer
71 views

“Average” of two lines

I have a dataset of pairs of parallel linear features (railway tracks) and I need to simplify each pair into its central/median line. This could be achieved by computing a skeleton as suggested in ...
-2
votes
3answers
45 views

How do I generate points at the intersection of the line with each polygon?

I need to generate points in the places where the line shape cuts to the shape of polygons.
0
votes
1answer
75 views

Leaflet 'Click' event on line portion

I have a polyline as GeoJSON layer in Leaflet. I need a JavaScript event when the user click on the portion of the line. I have to highlight the selected line segment. Is it possible this?
2
votes
1answer
93 views

Change color of part of the line in QGIS

Imagine a few km long pipeline. Pipeline consists of 4 types of pipe. Those types are alternating. 0 - 200m A type of pipe go. (Green color) 200 - 230m B type of pipe etc..(RED color) 230 - 380m C ...
4
votes
0answers
56 views

Snap LineStrings considering direction in QGIS 3

I have 2 projected shape files: Roads (red) and public transit routes (blue): I want to snap the PT routes to the roads, but because of inaccurate marks sometimes the routes are snapped to the wrong ...
2
votes
1answer
118 views

How to dissolve shared line segments together in QGIS?

I have 2 features which are lines on a single layer re-projected to ESPG:2039. I wish to combine them into one MultiLineString but in a way that their common part is merged to a single LineString. I'...
1
vote
0answers
17 views

Creating Scale field based on polyline length (ArcMap)(Python)

I'm playing around with data driven pages, and have a polyline feature class that I'm using as my index. Now, because the lines are all of variable lengths I can't just use the default settings as ...
2
votes
2answers
197 views

Apply Line Pattern Fill to LineStrings?

I am trying to print out a network map using black/white hatching patterns, similar to Black/white hatching pattern fills in QGis but for Lines. Is there some trick I can use?
7
votes
3answers
545 views

Creating centerline of river in QGIS? [duplicate]

I made two river bank lines and I want to associate them. I want to make a centerline using two rows as a base. I managed to make the centre line with a lot of work creating several lines from one ...
2
votes
0answers
42 views

Splitting line into two lines with GRASS GIS?

I converted a raster to polygon, after converting polygon to lines I have one line of the channel of a river which border a river. But I need to split this line in two lines: left border and right ...
3
votes
1answer
43 views

Getting value set in binding input widget in QGIS expression?

I would like to set dynamic line width and it should be scaled by the value "Stroke width". When I set the value to 0.15, it will be less than 0.15 if $length is too small. I need a function to get ...
2
votes
2answers
165 views

QGIS 3 how to customize line dash symbology

I want to keep the same line width but specify a much longer dash. The symbology controls in QGIS 3 have changed significantly from 2.X, so the many answers re: line symbology control for QGIS 2.X ...
2
votes
1answer
62 views

Split a polylines according to a specific point in R

I have 2 distinct spatial objects: on one hand I have a SpatialLinesDataFrame on the other hand I have a SpatialPointsDataFrame Considering one line and one point that intersects that line, I ...
0
votes
0answers
81 views

Changing the color and near ocean with QGIS

The border of region near ocean looks looks very fat. How can I change color of border lines near ocean to make it thicker? I want to change color and thikness of line only near oceans
0
votes
0answers
74 views

How is the LRS ArcGIS Measure Along a Line implemented?

I'm trying to replicate a nasty corner case in a LRS implementation that doesn't agree with ArcMAP measure tool. I've tried measuring distance in its native shp coordinate system NAD83 (27916) to no ...
1
vote
0answers
28 views

Point to line interpolation using heading in R [closed]

I asked this question at StackOverFlow, but got no answers, so I thought I would try here also: I can draw a spline through 10 successive points like done in this post set.seed(1) n <- 10 x <- ...
1
vote
1answer
41 views

How can I show distance indicators along a line feature in QGIS?

I am preparing a map of a 120 km long walking trail in QGIS 2.18 for publication (printing). I have a shapefile (line feature) showing the walking trail. I want to be able to show distance indicators ...
2
votes
2answers
704 views

Connect points with lines QGIS

I have a CSV file with 2 columns with coordinates for the A side and 2 columns for the B side. I have several identifiers in other columns if needed. I want to connect these with a line between A and ...
1
vote
1answer
498 views

How to draw a line with OpenLayers by clicking two points?

I've got website with OpenLayers tile layer. I am trying to draw vector line on the map (only one segment between 2 points) on mouse click and to get coordinates of these two points. I read a lot on ...
0
votes
0answers
24 views

Distance from a point to a poly line and attributes from the poly line GIS

I'm trying to figure out what tool would be best to get the distance from multi-points from multi polylines and see which attributes are closest to what point. I'm doing a project where I have ...
0
votes
0answers
14 views

ArcGIS: Point nearest to border with information on bordering region

I am trying to create a table from a yield map in Europe, that tells me how much yield for each 5'x5' raster field is achieved. This I have managed. However, I now need information for each raster ...
0
votes
0answers
21 views

How do I find the closest distance to a line and then find the length of the remainder of the line to a point?

I want to measure the distance of a shape to a line and then follow that line all the way to a point and calculate the distance traveled. Here is my current map. I want to store that distance value ...
-1
votes
1answer
46 views

Calculating total area from two intersected polylines using ArcGIS Desktop?

If two polylines intersect with each other and there are more than 2 intersect points, there is more than 1 closed area will be created. How can I get these areas as polygons in ArcGIS Desktop? For ...
2
votes
2answers
122 views

Generate points along branching lines

I am looking to generate points along a series of connected lines at regular intervals, but I wish to keep this interval even when a line is branching into 2 or 3 other lines. All the regular tools I ...
1
vote
1answer
41 views

Counting features within other features

I've several files composed of elements like the one below which I'm trying to make sense of (essentially a very simple microtopography study). I've vectorised the image with lots of separate lines ...
1
vote
3answers
146 views

Removing 180th meridian line on map of Russia?

I'm not sure how to remove the line that represents the 180th meridian (international dateline) on my polygon. I have the "Russia Country Boundary 2017" feature layer added from the Living Atlas. My ...
1
vote
0answers
50 views

Point to line - Qwater model

I'm using EPANET in QGIS (extension QWater). I have different layers : pipe network (line vector) household (point vector) Firstly, I'd like to connect household automatically and perpendicularly to ...
0
votes
0answers
27 views

Extend many line of a given distance

I have a feature with hundreds of lines and I need to extend all the lines of a given distance (for example all of 100 meter) there is a function in ArcGIS to do it automatically?
1
vote
0answers
36 views

Check point in line segment not accurate in Shapely

I use Shapely and I've run into an issue where I can find the intersection of two lines. However once I have the intersection point, I don't seem to be able and cross-reference that it belongs in both ...
1
vote
1answer
49 views

Which coordinate system/ projection would you use to measure lines globally distributed?

Which geographic coordinate system /projection would you recommend to measure the length of hundreds of lines which are globally distributed (southern and northern hemisphere)? The lines have a length ...
2
votes
2answers
220 views

Measuring length of edge of polygon

I have a layer of polygons, cadastrals, that i'd like to have the length of the edge of: I thought about doing this: Dissolve the polygons Create one large dissolved polygon Making a; From polygon ...
1
vote
0answers
46 views

ArcGIS polyline dangling endpoints count

Is there a way for count the number of dangling endpoints of a polyline? I need that because I would like to define a feature complexity parameter. For example, on the image below, the number of ...
1
vote
0answers
38 views

Channel network polyline shapefile filter [closed]

I need to filter the red polyline shapefile keeping only the real channel network without the little features (noise). I use ArcGIS
1
vote
1answer
43 views

QGis 3.4 Ledger line color and size change

I want to change the color and size of the ledger line when drawing an object in a line layer to make it more visible if the tracing-function works correct. It's currently very thin and red. The ...
2
votes
0answers
49 views

Spatial join by argument closest, but based on majority of vertices

I'm often working with different polyline datasets which represent street networks. One of the most common tasks I have is to join information from one layer to another. Often there are no mutual ...
2
votes
1answer
56 views

Create multiple paths by joining a set of start points in one layer to a single end destination in another layer?

I need to create a batch of paths so that I can calculate the best potential placement of a development site by counting the number of intersecting features along that path. I have a grid of points ...
0
votes
0answers
55 views

How to merge / join line segments by attribute and split at intersection

I have a complex network of line features with a lot of attributes (and unique IDs). Many features have the exact same values (exept the ID). I need to join all features with the same attribute which ...
2
votes
1answer
24 views

Curved lines turn to straight lines after sDNA preparation

I am an architect, sometimes I need to use sDNA to analyze networks mapped in AutoCAD. But I met a problem with curved lines, i.e. circle, or polylines. After importing .dwg file into .gdb, and using ...
2
votes
1answer
43 views

Mapnik LineSymbolizer for overlaping lines

I'm creating a map with Mapnik, and I have some trouble to correctly render overlapping lines. Fot instance let's consider this piece of XML: <Style name="ferry-routes"> <Rule> ...
3
votes
1answer
59 views

How do I split subjacent lines and merge attributes in QGIS [duplicate]

I have 2 vector line layers. They are subjacent, so one of them is exactly on top of the other but the features have different nodes and attributes. My goal is to create labels and descriptions for ...
2
votes
0answers
45 views

Merging sections of lines with same geometry in QGIS? [duplicate]

I have a series of bus routes with the frequency/hour attached in QGIS. The idea is to combine the frequencies on routes with more than one bus to have an overall bus frequency for the sections of ...
1
vote
0answers
40 views

Export marker line to DXF [duplicate]

I was wondering if there is a way to export in DXF from QGIS (version 3.4.4) this type of line (The one with the "E" as a pattern). Here is how the line was created Currently, when I export this ...
0
votes
1answer
198 views

dist2Line - Error in dist2Line(…) could not find the function “dist2Line”

I have a csv file with points (about 20 millions georeferenced points) and a line shapefile. I want to find for each point the closest distance to the line. The line is not a straight line it's ...
4
votes
2answers
99 views

Calculating line length within mulitple overlapping polygons using ArcGIS Desktop?

My question is similar to Calculating edge length of polygon within overlapping polygon using ArcGIS Desktop? However, my issue differs in that I have multiple overlapping polygons (upwards of 7) ...