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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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)

0
votes
0answers
10 views

Adding polylines to leaflet map in R

I am trying to add great circle routes between various regions in R. Here's the sample data: structure(list(CommencingRegion = c("RedSea", "EastAfrica", "GulfofMexico", "FarEast", "RedSea", "...
2
votes
1answer
30 views

Connect points in two layers using lines in QGIS 3.x

I'm using QGIS 3.2.1 and I have two Layers containing point objects, Is there any plugin for this version of qgis that I can use to select two points and then connect them using a line and save the ...
1
vote
1answer
12 views

Calculating partial distances from whole segment in grid using QGIS?

I am using QGIS and trying to find a way to calculate partial distances of lines in a grid. In the left part of the picture you can see the sum of the line lengths within the grid cell (108.96...), ...
2
votes
1answer
188 views

Access vertices of a line in Python

Given a shapely.geometry.linestring: How do you access single vertices using Python?
1
vote
1answer
33 views

Create polyline layer from csv-file (id, lat, long, time) in QGIS

Some units are moving and regularly registering it location. Each of these register events corresponds to row in a csv-file. This row contains fields: id (unit identifier), lat, long (event location)...
0
votes
1answer
35 views

Python: Open a (line) Shapefile and calculate distance to point given as a longitude-latitude tuple

I have a pandas dataframe in python with longitude and latitude values of certain locations (see sample below): Index Long Lat 0 -98.58 ...
0
votes
1answer
43 views

Removing lines on coast side using ArcGIS Desktop?

I have a shapefile of European countries (with regional subdivisions) as well as a shapefile of lines. How do I delete all the lines on the coast-side, using ArcGIS Desktop?
3
votes
1answer
43 views

Fixing bad topology on polylines with QGIS

I've been sent a shapefile containing 12 layers of some city's road system. Each layer depicts a portion of the road system, and all of them partially overlap on the map. I'd like to work on the sum ...
1
vote
0answers
35 views

Change attribute of a line according to overlapping polygon features

I'm pretty new to QGIS and python in general. For my work I'm faced with a bit of a problem. I got 100-m-segments of several streams and polygon-features of the surrounding substrate. The polygon ...
0
votes
1answer
34 views

geom_line() does not plot points from a shapefile in its correct order

I have been trying to load and plot a few shapefile in R using ggplot() and am facing an issue with a line vector shapefile. It seems that the readOGR() command is importing the line vectors ordering ...
1
vote
1answer
25 views

Display overlapping polyline segments as multiple lines with offsets?

Selecting which polyline is displayed on top in case of segment overlaps seems to be quite a FAQ, however, I would like to find a way to display overlapping polyline segments side-by-side, i.e. as ...
1
vote
0answers
26 views

Finding layout of points on road?

The problem I'm trying to solve is finding layout of street lights on a street. The street lights can be arranged in the following layout: one-side, two-side opposite, staggered, or median, etc. as ...
1
vote
1answer
21 views

JTS: generate a polygon geometry from line geomtry

I have a line and I wish to convert it to a polygon. The point is this line is NOT a ring it's an straight Line. And I want to use an specific width to extend line horizontally and create a polygon. ...
1
vote
0answers
75 views

Is it possible to convert Polygon to centerline linestring?

I have a Polygon which I want to convert to centerline linestring. IMAGE 1 I used the Vector to convert to Polyline but they are not center line as under: VECTOR TOOL IMAGE 2 Polyline created by ...
0
votes
1answer
31 views

Transforming a polygon to a linestring

Is it possible to (trivially, via a tool in python) to convert a polygon to a linestring? if so, how? If not, why?
0
votes
1answer
18 views

Get attributes from one line feature to another

I have to use two different networks (e.g., Network A and Network B) to do analysis and they don't align with each other perfectly. I used the same points to split the lines in the two networks, so ...
1
vote
0answers
25 views

Line feature won't stay in place

I'm working on a storm network system and have an issue with a drain line. When I try to snap it to a point, it moves slightly to the right every time. I've checked that there isn't topography for ...
0
votes
1answer
22 views

Find coordinates of extended line segment intersects with given longitude

I have a line between C1 and C2; My Coordinates are; C1: 36.454N - 21.785E C2: 41.725N - 38.475E I want to find C3 latitude value based on given longitude when I extend my C1-C2 line segment. IE ...
1
vote
0answers
15 views

Points on the opposing side of a breakline

If you have a breakline or even a single line segment within a DEM, how can you tell if two points lie on the opposing side of that breakline or line segment? From a computational geometry standpoint ...
0
votes
2answers
37 views

Calculating percentage (or length) of stream network that is multiple channel streams using ArcGIS Desktop?

I have a polyline stream network of all channels within a drainage basin (which is 1.1 million square km) A number of the rivers in the basin alternate between single thread and multichannel (i.e. ...
0
votes
0answers
9 views

How to make 3D Path Lines in ArcPro?

Ok here's what I want to create: I'm not quite sure if they have a name (space-time paths?), but it would essentially be a map of the paths individuals took with the time variable being vertical. If ...
2
votes
1answer
21 views

Auto snap of point features with lines

I want to snap my point feature with Line features. So That I can perform join attribute by location to read attributed from points into lines. Is there any way I can do this task automated. Once ...
1
vote
1answer
44 views

Draw polylines given distance & azimuth

I am trying to draw a polyline from a single reference point. I have each specific segment of the lines Azimuth & distance. In the sequence I have areas where my line shifts over +90 / -90 of the ...
0
votes
1answer
54 views

Calculate sum of line lengths in R

I have object1 with polygons and object2 with lines. I am looking for a way in R (preferably with the package sf) to calculate the sum of line lengths from object2 for each polygon in object1. The ...
5
votes
2answers
152 views

Creating flat end buffer using geometry generator in QGIS?

I'm new to GIS software and I've been introduced to QGIS 2.18 as part of my internship. I was tasked with creating new styles for the company's maps, however I've encountered a problem with one of ...
1
vote
1answer
40 views

Using points2one?

I downloaded the points2one plugin and tried many times to connect points to a line, but it never works. Is there something that I set wrong? I tried the answer,but it has been running 10 mins, and ...
0
votes
0answers
17 views

$length returns text value that cannot be used to sum line lengths within polygon using QGIS?

I am trying to calculate the total length of roads within polygons using QGIS 2.18.15 The roads had no length field so I added one, but it came back as either text or 64-bit. This means I can't use ...
1
vote
1answer
48 views

Calculating length of polygon in ArcGIS Desktop?

I am using ArcGIS 10.2.1 Desktop with an Advanced license. My company has electric lines that go through people's yards. The areas around these lines require trimming occasionally, which necessitates ...
2
votes
2answers
234 views

Save points and lines within the same shapefile

Is it possible to save points and multiline strings within the same shapefile? If so, how?
7
votes
1answer
272 views

Single sided buffers gives not only buffer on one side

I have tried to use single sided buffers to make buffer on one side of of a line. But the buffer is sometimes changing sides as shown below: Must mention that the line is straight: What is the ...
1
vote
4answers
88 views

Find nearest point along polyline using 'sf' package in R

This is a follow-up question related to my earlier post about using the sf package to split polylines using nearby points. I have 450 points with XY coordinates and a large river network (~214,000 ...
8
votes
1answer
222 views

Labeling polygons along their boundaries using QGIS?

When labeling polygons (not polylines!) in QGIS, is it possible to label them along their borders rather than their area? I know I could convert polygons to polylines and then label them, but I am ...
1
vote
1answer
22 views

Only output points near borders, excluding points near coast

I would have liked to ask for help, being confronted to a problem with ArcGis. I have in fact a shapefile of countries and a bunch of points. I would have liked to keep only the points that are ...
2
votes
1answer
55 views

Repairing all topology errors at once in ArcMap?

In 2012 an ArcMap user wrote Automatically fixing multiple errors using Fix topology error tool?: I am a ArcGIS.10. user. I'm want to solve multiple errors using the fix topology error. So I ...
3
votes
2answers
72 views

Select a specific line length after and before a point

As you can see from the attached image, I have a shapefile of river network (line) and a point shapefile (this one represents the middle point of transects carried out in the area). I'm trying to ...
2
votes
2answers
76 views

QGIS Distance Matrix - with line geometry output?

I have a series of Output Area centroids and I want to create a matrix of lines between each point (every point connected to every point), which is effectively what the distance matrix tool does (I ...
2
votes
1answer
39 views

Delete points on one side of a line in QGIS

I have a bunch of points and line that represents a boarderline as shown below: I want to delete all the points one the right side of the line, and letting the points in the left side stay. I dont ...
3
votes
4answers
148 views

Calculate length of huge vector lines dataset

I have a MultiLineString vector layer from which I would like to calculate the length. I have tried to calculate the length with the Field Calculator by putting in the expression $length. The ...
2
votes
1answer
85 views

Distance between multiple parallel lines?

I have a set of parallel lines where the default distance between them is 1.4m, I need to identify where that distance is greater or less than the default: I have a sample file where it was done but ...
0
votes
1answer
39 views

Determining the Longest Segment of a Non-Continuous Polyline

I have a polyline that is non-continuous (please see picture, polyline is in red). I am looking to separate the polyline based on this geographic discontinuity so that I can calculate the length of ...
2
votes
0answers
50 views

QGIS: How to find a line with defined slope starting from a point over a DEM? [closed]

If I have a DEM as raster layer and a point with defined position in a point layer, how could I generate a line with defined slope of e.g. -1%? The end point can be anywhere and should be defined by ...
1
vote
2answers
44 views

Automated way of Connecting dangling polylines of two separate feature classes

I have two datasets that I am trying to form into a network, one representing pedestrian and bike paths, the other representing roads. The lines do not connect together (as seen in the picture below)...
0
votes
0answers
36 views

Remove overlaps by moving overlapping features with a specific, scale-based delta

I need to use QGIS to move multiple polylines for tracking data. I want to move any overlapping feature to the left or right with a specific delta based on a scale. I can do that with ArcMap using ...
1
vote
2answers
132 views

Create Strava Heatmap with QGIS

I have loaded my bike tours as .gpx files into QGIS. It already looks quite nice but I was wondering if it might be possible to create something similar to the strava heatmap with tools of QGIS. I ...
0
votes
1answer
39 views

arcpy Geometry.union(Geometry) ValueError

In this script, I want to extract several polylines from one polyline. The data comes from this link : Lignes aériennes RTE au 22 décembre 2017 INF 45 kV In the flow, I merge the extracted polylines ...
3
votes
1answer
54 views

Dissolving lines with same directions using ArcGIS Desktop?

I have a feature class containing road polylines which has to be dissolved by some fields. But recently noticed that if some road has same atrtributes but different directions, Dissolve tool doesn't ...
3
votes
0answers
59 views

Drawing lines for every row from a table

I would like to make a map showing all the train trips made by different users. I know how to make the difference between a single trip on a traject and many trips by using opacity. For now I have ...
1
vote
1answer
38 views

European forest roads free download GIS

I'm looking for a free download of a shapefile about forest roads in Europe (I need forest roads of Austria and Slovenia). Here in Italy you can free download these kind of shp, but actually I can't ...
1
vote
1answer
73 views

How to Make Lines Automatically Adjust same with Another Line (Route or Road)

I have 1000 lines and 1 route or road line. I want to automatically my lines adjust to route or road without erasing all data in the attribute table. My expected results, 900 lines will same with the ...
0
votes
0answers
20 views

Retrieving the geometry of the lines by pgr_tsp()

How can I retrieve the lines with the pgr_tsp() pgRouting function to visualize it with QGIS