Stack Exchange Network

Stack Exchange network consists of 175 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)

5
votes
2answers
532 views

Changing line width by classification in QGIS

I am using QGIS 2.18.18 I have a map of rivers and I want to style them based on their width. I have width as an attribute of the rivers layer. Just as we can style colors by category or graduated ...
2
votes
1answer
844 views

Drawing line with lon, lat, distance and azimuth?

I have table in PostGIS with lon, lat, distance and azimuth columns. I want to make Geoserver draw a line through first point with given length and direction. I can turn lon and lat to geometry in ...
0
votes
2answers
135 views

Create line feature from point feature attributes: azimuth and distance [closed]

I've used Shape Tools plugin's Azimuth Distance Digitizer tool, to point and click, and then enter azimuth and distance in order to get a line. This case is the same, but I have many features, so it ...
0
votes
0answers
13 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 ...
9
votes
1answer
5k views

Creating line from points using PostGIS?

I have a PostGIS table with position data of numerous vehicles and want to create lines from these points. Data can be selected by vehicle id and ordered by timestamp but how to create lines from ...
0
votes
3answers
71 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
2answers
50 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 ...
0
votes
0answers
16 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 ...
-2
votes
1answer
25 views

Calculate the total area from two intersected polylines

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?
5
votes
2answers
2k views

Splitting lines at a specified distance

Does exist some plugin with it is possible to Splitting lines at a specified distance in Qgis?
1
vote
0answers
29 views

Copying features certain number of times between layers in QGIS

On the image below, there are two layers showing the transportation network Red | current | only important objects | geometry repeats/overlaps Blue | new | required and other objects | ...
1
vote
1answer
37 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
0answers
19 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 ...
6
votes
2answers
9k views

How to set dashed line on Leaflet?

Line style in leaflet always are solid ,I want the line to be -1)Dashed line style -2)Train line style var L2 = new L.geoJson(L2, { style: function(feature) { return { color: '...
0
votes
0answers
20 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
17 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
41 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
68 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 ...
2
votes
1answer
20 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> ...
1
vote
0answers
803 views

Showing two layers at same time in QGIS? [closed]

I want to see two QGIS layers at the same time. one is lines which are boundary lines and the other is polygon which are district. when i was surfing about this question, it is impossible to show ...
4
votes
2answers
2k views

Transforming single QgsGeometry object from one CRS to another using PyQGIS?

I have a polyline layer with roads in WGS84 that covers several UTM zones. For every road I need to place a set of points at different distances (in metres). To do so I want to reproject each road to ...
1
vote
0answers
35 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 ...
7
votes
1answer
4k views

Intersecting lines to get crossings using Python with QGIS?

I have a set of lines representing bus lines. Some of the lines are overlapping and take the same roads. I am able to extract the nodes. However I am interested in extracting only crossings like ...
1
vote
0answers
32 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
4
votes
2answers
4k views

How to assign node IDs to links in a network?

I have two shapefile layers in ArcGIS for Desktop 10. I have one line layer and node layer. My node layer(shp) has a "code_1" field and line layer has a "code_node" field. The intersection point ...
1
vote
1answer
28 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 ...
3
votes
4answers
147 views

Selecting features with same geometry in one shapefile

@TeddyTedTed's answer is nice, however, I am looking for something more efficient. I am working on a public transport network in one shapefile (polyline type) in QGIS 2.18. Certain bus routes ...
1
vote
0answers
21 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 ...
0
votes
1answer
38 views

Determining percentage of overlapping lines using QGIS?

i have a lines layer that represents the bikeways of my city, and also have another overlapping layer that represents the bikeways that need repairs. How can i get an analysis of the percentage or ...
2
votes
1answer
29 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 ...
2
votes
1answer
18 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 ...
0
votes
0answers
36 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 ...
3
votes
1answer
56 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 ...
6
votes
2answers
9k views

Nearest distance between point layer and line layer, QGIS

I have two layers , line and point layer. I need to make line layer which connect all points to nearest line features? Is someone made a plugin for qgis? This is very important tool which missing in ...
1
vote
2answers
1k views

Which style options are available for polylines in Leaflet?

I added a polyline layer as GeoJSON within Leaflet and want to style it. The following options to set the style I could find (and which work) are: color weight opacity What are other available ...
3
votes
1answer
2k 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 ...
3
votes
1answer
108 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 ...
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
36 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 ...
11
votes
4answers
4k views

Create voronoi diagram from line segments

I'm looking for a way to create a voronoi diagram based on line segments instead of points. See the example below (taken from this presentation). Ideally I'd like something I can script from Python, ...
0
votes
1answer
89 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
38 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) ...
3
votes
2answers
452 views

Create line 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 ...
2
votes
2answers
604 views

Visualizing updating lines of bearing from point?

I'm working on a project where I need to visualize a constantly updating line of bearing from a point, based on degree of rotation around that point. My plan is to design a line feature with an ...
1
vote
1answer
36 views

Polygon to line (polyline) in R

I am looking for an easy way to convert a polygon to a polyline in r. I have tried this but dit not succeed: polygon <- readOGR("~path/", "polygon.shp") polyline <- as(polygon, "...
1
vote
1answer
46 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": ...
2
votes
0answers
55 views

Shortest path between start and end point with many other points in between

Sorry if double post, but I haven't found this specific problem in the search function. I want qgis to show me the shortest path (direct) between many points with each point only is hit once. There is ...
0
votes
1answer
41 views

Polyline length within corresponding polygon

ArcGIS Pro 2.3: I have a feature class of polylines and for each polyline I want to analyze against its corresponding polygon. The link is the FLIGHTID field and it is a 1-to-1 relationship. I am ...
3
votes
1answer
26 views

Make line along edge of several rasters

I'll try to keep this simple. Is there a way to make a polyline that runs along the edge of these polygons. It is cadastrals that assembly the coastline and I need to generate a line that works as ...
6
votes
2answers
7k views

How do I find vector line bearing in QGIS or GRASS?

How can one extract the bearings from a set of lines in a vector file? I'm trying to find the bearings of several straight vector line segments (simplified contour lines, actually) and can't figure ...