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
0answers
63 views

Clipper: Split polygon layer with line layer - generates empty layer

I am using QGIS 2.14.3 Essen. I wanted to split several polygons with several lines. Both layer are in GK4 coordinate system (used layers generated by: QGIS right-click on layer -> Save as... ) and ...
1
vote
1answer
121 views

Get sum of a field for each element of overlapping paths

I've used the very useful Openroute service to develop a number of routes which I have populated with traffic numbers (on each route). I want each section of road to present the total of a field (...
1
vote
1answer
1k views

Changing (flipping) line direction in QGIS?

I have river network in QGIS. I draw opposite direction one of the rivers. Now I want to change direction of that river. How can I do that in QGIS 3? (As I know it is flip in ArcGIS)
1
vote
2answers
61 views

Lines that touch same polygon two times in ArcGIS Desktop?

I have lines that touch neighboring polygons. But in some cases line touch same polygons two times, which I do not need. Thus, I would like to select those line that touch one polygons two times and ...
1
vote
0answers
47 views

Computing mean direction of river network in R

I have a shapefile of a section of river network (polyline) which I have read into R using the sp package to have a SpatialLinesDataFrame. I also have access to a terrain raster for the region in ...
6
votes
1answer
130 views

“Orphan Symbol” problem with QGIS marker line symbol

I'm experiencing a problem with the way QGIS Essen 2.14.12 draws a marker line symbol at the end of a polyline. It only occurs sometimes, and sometimes moving (even slightly) the mapping within the ...
2
votes
1answer
287 views

Convert multiple lines into a polygon in QGIS

I am working on a huge CAD-map that I am supposed to convert into a GIS map. Currently I am trying to convert the symbols used for survey points (see below) into polygons, of which I could calculate a ...
3
votes
1answer
159 views

Creating a vector layer that fills the space between two line vector

I need to create a polygon vector that fills the space between two line vectors I have. The black line vector represents the coastline, while the blue line vector indicates the 250m depth contour. ...
2
votes
0answers
154 views

split lines into segments without creating new layer in QGIS

How to split line objects into segments/multiple objects based on either polygons or lines without creating a new layer? The problem is clarified in the picture below. I need the green line to be ...
0
votes
1answer
21 views

Transfer multiple point to polyline based on spatial location

I have a number of polylines (bus routes) and points (bus stops). The polylines span from stop to stop. Each stop has an ID, a single number. I am trying to get the point ID that touches each ...
1
vote
0answers
23 views

Forcing “snap-to-road” when reshaping a line via basemap reference in ArcGIS desktop?

Sometimes, when I use "reshape a feature" in concert with a basemap, I'll find that the resultant line doesn't automatically snap to roads if a pair of verticies are far apart: But at the same time, ...
1
vote
1answer
38 views

Extending polylines via basemap reference in ArcGIS Desktop?

I have a polyline feature of a pre-existing bus route (let's call it "Route A"). I want to extend the polyline of Route A, using a basemap as reference. I don't want to totally freehand it, my first ...
1
vote
1answer
362 views

Calculate slope of line segments with QGIS

I want to calculate the slope of a forest road in mountainous areas. No problem with ArcGIS following the instructions of the following post: (see comment of user 'FelixIP') How do I find the slope ...
3
votes
1answer
63 views

Graphic style not working for line feature in GeoServer?

I am trying to use a graphic style (in ysld format) to style a line feature. The end goal is to style the line as dashed line with a picture or a circle/times in the gaps of the dashes. I tried to use ...
0
votes
0answers
31 views

How to connect a point- and a line-shape to only one layer? (QGis)

I am just working on a project in which I try to realize the presentation of streets (line-shape) in connection with some points of interest (point-shape) on these streets. At the moment it works ...
0
votes
0answers
338 views

Specify a route and then get a list of (long,lat) by specifying a percentage of the route nodejs?

I need a function witch gets origin,destination and meters,it must specify a route and get coordinates of road origin + meters: In google maps we can solve problem in this way google.maps.LatLng....
0
votes
0answers
24 views

Refining four sets of polylines to one set using MapInfo?

I'm using an old version of MapInfo. I have 4 data sets of polylines (called links) with different IDs and attributes. Each set has around 5000 links, so manual editing is not feasible. -Set 1 has a ...
1
vote
0answers
146 views

Calculating shortest distance between raster pixels and line feature in QGIS?

I am relatively new to QGIS and am trying to find a way to calculate the distance of each point in a raster file (1km resolution) to the closest coordinate on a line vector. See green line vector ...
2
votes
0answers
60 views

Converting polyline to polygon without 'Feature to Polygon'

I am attempting to create a script tool to automate some processes at work. Part of this process was to manually cut (using Cut under Editor) a buffer. My approach to this has been to try and split ...
3
votes
2answers
472 views

Create normal vector and calculate distance between start point and intersection

I have one line-layer which pictures a street net and a point-layer which defines certain locations. Please see in the picture below: What I am trying to do is to create a normal vector through a ...
1
vote
0answers
110 views

Cleanly splitting polylines / reordering vertices in QGIS?

I'm working with some shapefiles I didn't create and very frequently, when I try to split some of the polylines using the Split Features function, I am left with disjoint parts and more than two ...
2
votes
1answer
353 views

R find length along line from origin to another point

In R, I have a collection of points (~15,000) on the boundary of a polygon. For every point, I want to calculate the distance from the origin vertex (1st plotted vertex of the polygon). I have a ...
2
votes
0answers
332 views

R coordinates on line nearest to point - multiple points

In R, I have a collection of points (~15,000) within a polygon. For every point, I want to calculate the location on the polygon boundary nearest to the point's location. I'm not bothered about the ...
0
votes
0answers
39 views

How to combine (not intersect) the widths of two buffers within the length that they they overlap, but discard the rest?

I am using ArcMap 10.5. I am trying to clip the black line so it becomes a similar length/extent of the pink line. I created a buffer around each line to help with this. I have been trying to think of ...
1
vote
0answers
27 views

Build the edge-vertex topology from a polyline feature class in ArcGIS [closed]

I have a polyline feature class called line_1. What I want to achieve is the edge_vertex topology. Specifically, I want to generate a new polyine feature class called line_1_new, by adding two new ...
1
vote
1answer
121 views

Calculating mean slope of lines based on DEM?

I have a DEM and a line vector shapefile (also available in PostGIS) and I need to calculate the mean slope of every line. Direction of the slope (positive or negative) is not important. That means I ...
-2
votes
2answers
191 views

Expression to build dash pattern?

How can I use the expression builder to build a dash pattern for a line feature ?
0
votes
0answers
39 views

Converting a georeferenced line drawing to a polyline feature class

I have a TIFF diagram that I have georeferenced and now need to convert the diagram line drawings into a polyline feature class so that I can edit the lines to be consistent with basemap features. I ...
2
votes
1answer
86 views

Mapinfo Line and polygons from different layers to be snaped

I have a layer that I need to edit [ kerb and gutter (KNG)] which consists only of lines that represent the kerb and gutters on both sides of the road. I have separated the left and right side of the ...
3
votes
1answer
182 views

Controlling line width in QGIS Print Composer output

I am printing a 36" x 48" map (ARCH E size) and looking to have line width consistency for my contour lines. I want to be able to define the line width as it is printed on a 36" x 48" paper at 300 ...
3
votes
1answer
179 views

Tie line width to map scale by a formula?

I will explain it by an example : In scale 8000 the width of a road is 2 mm = 16 map units. If I use the unit mm, then width at any scale will be 2 mm. In scale 32000 I find a width of 2 mm is too ...
3
votes
2answers
922 views

Create a center line between 2 polyline - QGIS [duplicate]

I want to create a center line for a river (polygon). I thought about simply creating a new line manually, but it would be a long and imperfect process. If there is a way to automate this process, ...
6
votes
1answer
252 views

Moving lines in opposite direction?

I have a street map where one street(consisting of 2 lanes each) is shown as one line. If I click on that line, there are two objects (one object for each lane) listed like in the following image: ...
0
votes
0answers
31 views

Feature to Polygon Incomplete Polygons

I'm using the NOAA data of US Territorial waters. This is a polyline feature class that I want to convert to a series of polygons. One polygon per unique region. When I use Feature to Polygon in ...
0
votes
1answer
51 views

Import 3 XYs to draw a line

I have decimal XYs for 3 data point to create a line. Do I need to convert the table to a WKT format such as? LINESTRING (30 10, 10 30, 40 40) I have multiple locations to import to create several ...
2
votes
1answer
47 views

Calculate common length of two lines using ArcGIS Desktop?

I have a shapefile that consists of around 800 different lines. Now i have another shapefile which also consists line data. Is there a method which can help me calculate the shared length in the ...
0
votes
0answers
96 views

Connecting points with values in “the best” possible way in QGIS

I have a start and an end point. I want to connect both of them by including an existing amount of points between them (the points have different values of one attribute). The aim is to receive a line ...
3
votes
2answers
239 views

Measure tool has disappeared/not showing up

i am trying to measure distance in mine, everything worked fine until yesterday when suddenly the measure box didnt show up, thereforr i cant see the results. As you can see on the picture, the ...
0
votes
2answers
86 views

Finding number of mountains between two points using QGIS?

How can find the number of mountains that is crossed by a line between two points on a map? I guess I might adapt the answer to Number of buildings between two points but I don't exactly know how.
0
votes
0answers
49 views

Nodes does not appear where they should be while creating network in ArcGIS

My project is making demand model in VISUM (Trasportation software like TransCAD). I have a shapefile of a network. When I import it to VISUM, the software creates node points automatically but not on ...
0
votes
0answers
134 views

Moving polyline to another location in ArcGIS Desktop?

In desktop ArcGIS 10.3, I have this polyline with xy center coordinate of it is: 18157037.6 / 65108911.9 When I zoom out (1:5000000) the map, in order to grab the polyline into the right location, ...
1
vote
0answers
74 views

Create points along a track at a specified straight line distance

I'm using ArcMap 10.5. I have a track that I wish to place 30 points along at 400 meter intervals. The issue I am facing is that these points must be 400m apart measured in a straight line, not the ...
4
votes
2answers
166 views

How to make QGIS place markers at greater distances evenly?

I am trying to get waterlines visualized with arrow lines, but when zoomed out I can't get them to be spacious enough. So as you can see on the markerline settings, i set 100 pixels as an interval, ...
1
vote
0answers
77 views

Join or interpolate broken lines

I have these lines (blues lines) that extract from a raster and need to unite them automatically (red lines). Currently I'm doing it manually using a plugin (Join multiple lines) but it's very tiring. ...
0
votes
2answers
88 views

How to select/split polylines in specific distances in bulk?

I am trying to map road rehabilitation projects. I have polylines (roads) and I have a table which indicates in each year which part of the road was rehabilitated (for example, for a road HW107 ...
0
votes
0answers
60 views

Discrepency in Polyline length measurement

I have a specific question but I think it comes from a general confusion about measuring the length of a polyline feature. I downloaded the polyline shapefile for the Bigfoot Trail (a long distance ...
0
votes
1answer
46 views

How to split lines where a different set of lines intersect them, no vertices

How do I use one shapefile to split the lines into another shapefile? I have a line shapefile of streams and another line shapefile of roads. I would like to split the streamlines where the roads ...
1
vote
1answer
250 views

Merging unconnected line segments using ArcGIS Desktop?

I am looking for a way to connect line segments that are unconnected. It is a shapefile for a network of rivers and all the lines are slightly disconnected. Is there something like aggregate ...
2
votes
0answers
161 views

R - Spatial Join Between SpatialPoints (GPS coordinates) and SpatialLinesDataFrame

I am working on a university project which combines data science and GIS. We need to find an open-source solution capable of obtaining additional information from a massive GPS coordinates dataset. ...
0
votes
1answer
829 views

Fast way to get all points as integer of a LineString in shapely?

So I have a shapely LineString: print np.round(shapely_intersecting_lines.coords).astype(np.int) >>> array([[ 1520, -1140], [ 1412, -973]]) I want to get all the points in ...