Questions tagged [length]

The longest extent of anything as measured from end to end

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

Detecting how far a river runs along a boundary between two administrative regions when digitisation errors mean they do not coincide

I am trying to find the lengths of rivers within and on the boundaries of administrative areas ("districts"); I need to distinguish between the length within districts and the length along boundaries (...
-1
votes
1answer
24 views

How to label line features dynamically with its length? [closed]

I need to label a line feature with its length dynamically so the displayed length will be updated as I edit the line geometry. Is this possible in either QGIS or ArcGIS?
2
votes
2answers
61 views

Get LineString length in meters

I have a series of LineString that I want to have the length in meters. I use the shapely.geometry module, and importing LineString. I've seen this post, explaining how to do it, but it seems using ...
1
vote
1answer
35 views

Calculate length of paths with defined vertexes

I'd like to calculate length of some paths with defined vertexes and each route is characterized by some records. For example, I need the length of all combinations of lines (AB, BC, CD, AD, AC, BD). ...
0
votes
0answers
34 views

Measure line length from two points

Is there a way to measure the length of a line between two points (for example from pt 51-52 to my starting point (0))? In other words, I want to generate multiple lengths (always from pt x to 0) ...
3
votes
1answer
96 views

Joining fields with long field attribute names

I am working with the "Joins" option in QGIS 3.10, which joins the fields from two attribute tables based on a common shared attribute column. However, this does not work for attribute values with a ...
0
votes
0answers
25 views

Distance be between points: XYtoLine “Length” different from Add Geometry Attribute (geodesic) “length geodeisic” (ArcGIS Desktop)

I have a set of coordinates (WGS_1984) for patients home locations (Point A) and the first facility they visited (Point B). I want to calculate the distance between point A and B for each patient. I ...
1
vote
1answer
59 views

Length of longest street using Spatial SQL

I have a table with the geometry of streets and I`d like to find out, which is the longest and which length (in kilometers) it is. How can I summarize the individual street segments?
1
vote
1answer
69 views

Getting bike lane length with QGIS?

I am trying to get bike lane lengths from the following data set. To do so I have tried using the add geometry attribute from the processing toolbox. I have tried both calculate using Layer CRS and ...
0
votes
1answer
44 views

Computing total road length in fixed radius circle around a point

I have a dataset of a number of points which are plotted on QGIS using their latitude and longitude. Now, I have to find out the total length of roads surrounding each point within a circle of radius, ...
2
votes
1answer
49 views

Adding $length on the fly when adding line feature

is there a simple way (without writing script or python skills) to auto calculate and auto populate length attribute in QGIS? When I add a new line feature in my layer, I'd like the attribute length ...
8
votes
4answers
456 views

Calculating polygon's length along a line?

I need to calculate the length of polygons along / projected on a line. An image to show the idea: I have thousands of polygons to be "projected" on lines to verify how many meters of the line they ...
2
votes
3answers
126 views

Finding accurate distance of a drawing in QGIS

Attached shows a rough drawn image of a pipeline track. I need to measure the pipeline track from one end to the other, e.g from the red and blue square to the other red and blue square, e.g from the ...
1
vote
1answer
61 views

Calculating the length of a single edge in QGIS

I need the correct length of a edge between to points(yellow line in the picture below) in the unit [m] for validation of an equation. I just found the possbility to add geometry (length) to the ...
3
votes
0answers
58 views

Lines length plugin - QgsVectorLayer error

Several similar questions have already been made, but none of the is helping me. I have a layer of polygons and I want to known the length of each line of each polygon. And based on the length I ...
5
votes
2answers
150 views

Different length measures in QGIS vs. ArcMap

I noticed that QGIS and ArcMap return slightly different length measures when calculating geometries (length) on one and the same shapefile (see image). In QGIS I used the $length command, in ArcMap ...
1
vote
1answer
51 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 ...
1
vote
2answers
141 views

Measuring width of polygons, which is wider than long

Within my project I am trying to quantify and compare different submarine landslides with ArcGIS. Therefore, I created a polygon shapefile and mapped the spatial extent of each landslide. Now I want ...
2
votes
0answers
214 views

Calculate length of selected features in PyQGIS

I create a selection with getFeatures(QgsFeatureRequest()) and I want to calculate the length of the result which is a QgsFeatureIterator : select = QgsExpression(" myexpression ") selectedfeats = ...
0
votes
1answer
107 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 ...
0
votes
0answers
27 views

QGIS KML lengths appear to be wrong? [duplicate]

Every time I import a KML into QGIS the line lengths are wrong. A line that was 191 ft on Google Earth is now 260 feet in QGIS. How can I solve this problem?
3
votes
1answer
261 views

Different results using $length (field calculator) in QGIS versions 2.18 and 3.0

I use the field calculator to measure the length of LineStrings in my shapefile layer, but i get different results when using QGIS 2.18 or QGIS 3.0. If I am using the local coordinate system the ...
1
vote
1answer
117 views

QGiS 3.0: Line length without overlapping parts

I have overlapping lines in my layer and want a total length of the visible line without the overlapping part. i.e. I have two lines First one goes A-B-C Second one is B-C-D How do I get the ...
1
vote
0answers
39 views

Calculating route length per grid cell using fishnet

I have a problem determining the length of the routes (boat) I've surveyed in order to calculate the survey effort. I added the GPS points of the boat and then used the points to line tool and added a ...
1
vote
0answers
93 views

SumLineLengths in QGIS 3.2 not working?

I'm trying to use the Vector > Analysis Tools > Sum Line Lengths in QGIS version 3.2.3-Bonn. I'm inputting a ploygon (Multi Polygon) and a Lines (MultiLineString) shape files. I'm hoping to get the ...
1
vote
0answers
143 views

Attributing polygons based on line attributes

I'm using QGIS 2.18. I have a grid that I need to calculate Azimuth and length for each side. Most have 4 sides but some ( see Gird C below) many more , up to 12. My process now convert Polygon to ...
1
vote
1answer
68 views

Maximum Length parallel line

I have a polygon and I want to make parallel lines inside of the polygon. I need to have the maximum length when I sum the length of all of them. Each line must be 15 m apart.
3
votes
0answers
123 views

QGIS - Parallel Lines - Count length of one

I have a large layer of lines (telecommunication duct) with in parts several parallel lines that are close to each other (cause they lay in the same trench). I would like to count the length of the ...
3
votes
1answer
207 views

Is there a way to calculate length of linestring from one point to another?

If I have one linestring and coordinates of two points on that linestring, what is the easiest way to calculate not shortest distance from those two points, but distance over the given road (given ...
0
votes
0answers
23 views

Calculating length of line using British National Grid projection? [duplicate]

I need to calculate the length of a line in (KM) in QGIS using the British National Grid as the Projection. Can somebody explain to me how to do this?
1
vote
1answer
1k 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 ...
1
vote
0answers
177 views

Changing Virtual field properties in QGis 3.0

I have some existing virtual field with set Length and Precision An example: The formula was first set to rounding it by 2 digits With the current settings it displays 10.00 instead of 10 because of ...
3
votes
4answers
486 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 ...
3
votes
0answers
448 views

Wrong length values on QGIS 3.0.3 and 3.2

While using QGIS 3.x today I noticed that length values were not calculated and measured correctly on EPSG:32611. Calculating and measuring the same data on QGIS 2.18 latest LTR and 2.2 on EPSG:32611 ...
1
vote
1answer
126 views

$Length-attribute output

I created a layer to visualize cable-laying and want to export the sum of the cable-lengths to an excel file when I'm done so i created an attribute for it. How do I link an attribute to the auto-...
2
votes
1answer
549 views

Longest flow path in QGIS from single feature vector

I have got a vector layer with one feature (MultiLineString) representing a river network (s. below) without bifurcations. In addition there is a point shapefile containing the outlets of different ...
1
vote
2answers
100 views

Calculate perimeter of a large polygon using geodesic calculations

How do I calculate perimeter of a large vector polygon (polygon set) which spans almost half the globe? I guess regular calculations do not produce accurate results in this case.
1
vote
1answer
66 views

ST_Intersection preserving overlapping edges

I have a linestring that represents a bus route, and includes some overlapping sections where the bus has traveled back on the same street. When I ST_UnaryUnion the line, or ST_Intersection it with ...
0
votes
1answer
220 views

Buffering multiple feature classes from dataset based on length using ArcPy?

I am a beginner at Python and for my current project I am expected to list all polyline feature classes within a dataset, find the length, and then perform a buffer analysis based on it's length. This ...
2
votes
2answers
312 views

Choosing CRS for metric distance calculations? [closed]

I have the following ArcPy script to calculate total length of Polylines in a Feature Class/Shapefile: arcpy.Project_management('lines.shp', 'lines_projected.shp', arcpy.SpatialReference(TODO EPSG ...
0
votes
1answer
354 views

Calculate river distance to headwater for every pixel?

I already posted a similar question a few weeks before. But since my dataset changed and I still havent solved it, I thought its good to post a new question instead of editing the old. Using ArcGIS ...
2
votes
1answer
66 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 ...
2
votes
1answer
211 views

Difference in lengh calculations for ESPG:32632 and ESPG:4326

I have a shapefile with CRS ESPG:32632 where are shown some power lines of a ​​northern Italy area. I need to calculate the length of the lines and add it, as a new field, in the attribute table. I ...
1
vote
0answers
212 views

r.flow in QGIS 2.16.1 generates wrong output

I try to run the r.flow module to get the flow path length of my layer out. The input Layer is a DEM with pixelsize 0.0083 and the selected CRS (EPSG:32646, WGS 84/ UTM zone 46). First of all I ...
0
votes
2answers
141 views

Tracing or snapping to polygon border for measure tool

I am trying to do a simple measure of the length of seperate sides of a polygon depending on which other polygons it borders (in the image: the dark blue borders of the green polygon to the white area ...
1
vote
0answers
85 views

Measuring true length of polyline over terrain in QGIS? [closed]

I use QGIS for a variety of mapping purposes and also for managing UAV/drone data. I need to calculate the true length of a mapped fence over varying terrain for which i have a detailed DEM. Is this ...
0
votes
1answer
63 views

How to split lines that are larger than 10km?

I have a shapefile of line segments representing global rivers. The segments are all different lengths. If a segment is longer than 10km, I would like to divide it in to multiple segments approx 10km ...
0
votes
1answer
2k views

Calculating length of polyline using ArcPy? [closed]

I have a polyline shapefile that has only one polyline. How do I calculate the length of that polyline using ArcPy?
0
votes
1answer
69 views

Using intersect/clip for polyline to polyline features resulting in Warning 000117 ArcMap? [duplicate]

I am trying to measure the length of a polyline from its origin to its intersection with another polyline. The application is to find out the distance from a meteorological station to the coastline. I ...
4
votes
1answer
69 views

Incorrect measurement of intersection between polygons

I have a map divided in parts using polygons, and I want to measure the length of the boundary between each pair. I am using this script from a tutorial to find the actual neighbors, and then measure ...