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
2answers
666 views

Get nearest line to point with v.distance in QGIS

I want to retrieve the nearest line to a point with the GRASS function v.distance(). But I think I do not fully understand how to use this function. What I have are two layers (in the same CRS -> EPSG:...
3
votes
5answers
665 views

Finding line with minimum distance to point and update attribute of points?

I am currently working with QGIS 2.18 and I have two layers: one layer is filled with lines which represent streets. The second layer describes the location of sensors which are represented as points ...
2
votes
2answers
47 views

Converting 1-D line features to 2-D polygons W/O editing manually

I have a line file of airport runways across my state. I'm looking to symbolize them as part of a thematic town parcel layer, so I'd like them all to be in 2-D. My problem is, some bigger airports (...
3
votes
1answer
141 views

Creating edge lines between specific polygons

I have a polygon layer containing habitat types. It looks something like this: where dark green is forest, yellow are open lands and the other signatures different other habitat types. In order to ...
1
vote
0answers
114 views

Line detection on binary image in QGIS

I am beginner of QGIS. The purpose of using QGIS is making contour line and 3d visualization. I practice to make contour with DEM and it is not hard, but in my work, I have to treat contour line on ...
1
vote
2answers
99 views

Distance Travel - QGIS

I have the number of travels from one city to nearby cities. I already created centroids for all of these cities. And I want to create a map connecting this cities (by lines) and to give those line ...
1
vote
0answers
233 views

Merging Selected Features in QGIS?

i tried to merge several polygon into one using "merge selected features" but it's look not perfect because there are some lines left as residual. can anyone help me to solve my problem. i am using ...
0
votes
1answer
142 views

Draw horizontal lines on points shapefile using ArcGIS [closed]

I have one shapefile of 200 points in which I would like to draw one horizontal line of 2Km on each of those points. How can I do this?
1
vote
0answers
135 views

Create a polygon from multiline offset

I've a multiline in Postgis. The multiline represents a wall, and I need to transform it to a polygon given the thickness of the wall itself, so I need to create offset lines, join them and create ...
3
votes
0answers
64 views

Given a line find whether another line is along side, N,E,S,W or not

I have a shapefile representing roads (Black) and I need to know whether another line object (Red) is to the side of it. Including the orientation between them, to define whether the Red line lies to ...
2
votes
1answer
2k views

How to get leaflet polyline segment length?

I'm working on a project that plots out some pipes on a leaflet map, these are displayed on the map as polylines with arrows showing flow direction. i am feeding the data in as geojson linestrings ...
2
votes
1answer
216 views

Drill trace line (arrow) from a point (collar) along a given azimuth with a given length

I'm trying to create a diamond drill surface trace line (arrow) from a point (collar) along a given azimuth with a given length from a csv file. This actually stems from a problem of projecting a ...
1
vote
0answers
193 views

Create line layer around selected polygons

I want to select numerous polygons out of a polygon layer and create an outer line surrounding only selected features. All polygons are part of the same layer. For example, I want to have an outer ...
3
votes
1answer
449 views

Convert Line to central point in QGIS?

I want to use QGIS to convert millions of lines (It's a Streetlayer.shp) to Points. I know, that there is a way to do that but what I haven't figured out yet is following problem: The conversion-tool ...
3
votes
1answer
601 views

Polygon to polyline conversion

I've got a polygon of agriculture field. I want to fill this polygon area with polylines in equal spaces between them (it supposed to represent the tree lines). those lines are not only for symbolic ...
2
votes
1answer
425 views

Snap lines to nearest line in PostGIS

I have a number of pedestrian trajectories (green) that I would like to snap to the nearest road (brown). The roads are downloaded from OpenStreetMap and have been dissolved by name with CREATE ...
3
votes
2answers
287 views

Calculate distance between 2 points following a path in QGIS

I'm currently working on bird's data. I have coordinates of observation points and I'd like to measure the distance between points following a path. The given bird is probably moving from point to ...
0
votes
0answers
110 views

Create points with Z, intersecting one 2D line and one 3D line

I have points to create along a line A by intersecting others line B,C,D.... Just this is quite easy, but my Pline A have an elevation and I would like my points creates by intersection to have also ...
1
vote
1answer
262 views

Spatial Join between lines and points does not work in QGIS

Here is the workflow: I've imported lines from a shapefile I've used the Random points along line tool to generate points all across the previously imported lines Then in Vector > Data Management > ...
4
votes
1answer
806 views

Style line-width proportionally to maintain relative size in Mapbox GL

I want a data driven line-width to keep its relative size in all sizes I tried using an exponential function for that but it did not work the way I expected. For the sake of the example let's say I ...
1
vote
1answer
84 views

Identify polygons intersected by lines in a different shapefile

I have a shapefile with lines and a different shapefile with polygons. I want to identify the id (attribute) of the polygons intersected or overlapped by each line, to then make some additional ...
1
vote
0answers
35 views

2D Curve to poly-lines transformation through triangulation?

I'd like to understand whether it is possible to change the curve in the picture to a sets of poly-lines through triangulation? and is it possible in QGIS? Otherwise, are there other methods to ...
4
votes
1answer
199 views

Clip line close to polygon

I want to clip a line layer that I have, only within a polygon. Used Vector -> Geoprocessing Tools -> Clip, and I do get most of line I want that is EXACTLY within the polygon layer. Thing is the line ...
0
votes
1answer
439 views

How to show line symbol (arrow) independently of line length in ArcGIS?

I am manually creating a polyline layer in ESRI geodatabase. Lines are of 2 vertices (start-end), variable length but all very short. I am using directional symbol with arrow at the end (or middle). ...
5
votes
3answers
917 views

Create mid point from line layer

Apologies if this has been asked before and I’ve missed it with my searches. In QGIS I am trying to create a new point layer based on the mid point of a line layer (and keep all the feature attributes ...
1
vote
1answer
42 views

Erasing a part from a line-GeoJSON

Consider the following line (GeoJSON): { "type": "FeatureCollection", "name": "longline", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": ...
3
votes
2answers
179 views

ArcGIS Select by location tolerance with “Are identical to”

I am wondering if there is a way to put a tolerance when doing a "Select by location" with the option "Are identical to the source layer feature". Here is why I want to do this (I got a polyline ...
3
votes
0answers
86 views

How to undo/redo drawing polyline

I want to draw a custom polyline using mouse click events in an AddIn.Tool project without esri's build-in interfaces eg. Rubberband, IDisplayFeedback or IShapeConstuct. I got problems pushing caches ...
1
vote
0answers
110 views

Polyline disappearing intermittently in layout view

I'm using ArcGIS Desktop 10.4.1 and I'm running into an issue with a polyline disappearing. This exhibit has 4 data frames on it each with a combination of polygons and polylines. The data frame ...
1
vote
1answer
249 views

Draw line between all points on a layer based on parent field

I have a table that contains georeferenced points, a bunch of other information and a parent for each point. So let's say the unique identifier is name in the table, each record also has a parent ...
3
votes
1answer
58 views

How to randomly replace a given line vector multiple times within a polygon?

I have this line vector that represents the movement trajectory of a given animal. I would like to randomly replace this vector line within a polygon, multiple times, changing its position and ...
1
vote
2answers
45 views

Tracing Along Line From A Point

I have a set of point features which have been snapped to a waterways polyline feature class. I need to select the waterways where they are within 6km upstream or downstream of any given point and ...
4
votes
1answer
221 views

Preventing symbol rotation of point character symbols combined with line features in ArcMap?

I have a line feature that needs to have a marker symbol at set distances along it. I want the markers to NOT rotate with the line orientation but can not find out how. I am working with arcmap 10,4 ...
4
votes
1answer
119 views

Adding line sinuosity with PyQGIS?

I would like to calculate line sinuosity for line segments. The sinuosity is defined as a ratio of the distance between start and end point along a line (line length) and the euclidean distance ...
1
vote
0answers
64 views

How to copy a polyline using an offset? [duplicate]

Is there a QGIS functionality or a plugin that I can use to 'move' polylines in a shapefile with a certain offset to the right or left of its original position and save the result in a new shapefile? ...
2
votes
0answers
246 views

QGIS: Select Lines within a polygon

I would like to select all lines within a polygon. I tried to do that with the clip-function, but it didn't work out (the resulting layer was empty). Do I have to select a particular setting before ...
1
vote
2answers
76 views

Labeling streets in extremely dense areas using ArcGIS Desktop?

I'm looking for some suggestions for labeling a a town that includes residential and urban areas that are extremely dense. So far, the only progress I've made has been by using the "reduce font size" ...
3
votes
2answers
541 views

Sorting line features into route order in attribute table using QGIS?

I have a several line features stored as shapefiles, obviously constructed of several connecting segment. I wish to export the attribute tables of each feature as a CSV to use in a separate ...
12
votes
2answers
270 views

Aggregate Lines Based on Distance between Segments

I have a VectorTile basemap that I am optimizing, (working on reducing the size of individual tiles), the major chunk of tile size is road data (geometry and attributes). I am working on simplifying ...
1
vote
1answer
332 views

Merge overlapping polylines to new polyline layer

I am new to QGIS. I have an underlying polyline map layer and another polyline layer representing a drive I took. Naturally, the drive data overlaps the map and I would like to create a new layer ...
2
votes
0answers
30 views

Why do new lines appear when transforming polygon into lines?

I'm quite new to QGIS, and I want to do something fairly simple, but I found something strange in my data. I want to transform polygons into lines, so I can apply the buffer function afterwards to ...
2
votes
1answer
62 views

When trying to find the nearest line to a point, how useful are nodes?

I am working with a dataset (OS Open Roads) which consists of lines and nodes in separate shapefiles. The lines represent the roads themselves. The nodes represent, for example, the end of a road, ...
0
votes
1answer
138 views

ArcGIS Point every 100 meters along poline

ArcObjects with ArcGis 10.1 I have constructed a polyline in WGS84 that has straight segments and curved segments. The line is heavily geodesically densified. Now I have to step through every 100 ...
1
vote
0answers
36 views

Joining multiple GPS traces to a road

I have multiple GPS traces (polylines) from cars. I would like merge them somehow to create roads. I don't have access to maps in this solution so basically I'm trying to create a poor man's map, with ...
1
vote
1answer
167 views

Calculate polygon intersection without boundary intersections

I'm trying to intersect the shapefiles for US congressional districts and US counties. I can intersect manually (Vector->Geoprocessing Tools->Intersect) or with python (processing.runalg('qgis:...
4
votes
0answers
277 views

how to buffer a line with varying distances associated with directional quadrant with open source GIS?

I would like to buffer a set of lines with different distances to the NW, SW, SE, and NE. I have the distances stored in four attribute fields that correspond to the direction the buffer should be ...
2
votes
1answer
370 views

Select Lines within a Polygon

I would like to select all the lines within a Polygon and the lines have to be cut at the border to the Polygon. The option spatial queries takes the whole line. However I only want the part of the ...
1
vote
0answers
24 views

Autocad revcloud type polygon edge

I'm wondering if there's an easy way to make a polygon edge in QGIS 2.18 look like an Autocad revcloud (shown in red). I would prefer an edge that looks a little random over one that is made up of a ...
0
votes
0answers
50 views

Calculating point distance in separate X/Y-values (lengths of opposite side and adjacent side) using ArcGIS Desktop?

Description: I have to position a temporary initial zero point into a corner of my map. Afterwards I want to calculate the geometric distance between many different points and this so called initial ...
2
votes
0answers
146 views

Shortest path creation between two lines

I've a raster of temperature of a river, I'd like to extract values horizontally, so from bank to bank, shortest path. so basically extract pixel values along the red lines in the schema I did. What ...