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 [length]

The longest extent of anything as measured from end to end

4
votes
0answers
73 views

Loop distance point PyQGIS

I have a .shp of lines where I'm able to calculate the sum of segments length but I'm trying to put a point at a given distance in meters. The problem is it puts a point at every segment. When I give ...
3
votes
0answers
58 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
0answers
193 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 ...
3
votes
0answers
992 views

FME - calculating distance to points along a line

I am new to FME, and trying to get my head around what should be pretty straightforward issues, but I find myself going around in circles Basically I want to determine the distance (chainage) to a ...
2
votes
0answers
32 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 = ...
2
votes
0answers
130 views

How to measure orthogonal distance of line from point in QGIS?

As I am fairly new to QGIS I'm seeking your help. I'm trying to measure the distance between points in a point Layer P and the end of lines in a line layer L. In L there are two categories (attributes)...
2
votes
0answers
423 views

How do I accurately measure a gps track over a long distance?

I am measuring the length of the Continental Divide Trail that goes from the Mexican border to the Canadian border. I have a .gpx file of the entire route in NAD83 with tracks about every 50 meters. I'...
2
votes
0answers
189 views

How to add column to attribute table using field calculator with $length function?

I used the following code to add a separate column to the attribute table with the length of features. from PyQt4.QtCore import QVariant from qgis.core import QgsField, QgsExpression, QgsFeature vl....
1
vote
0answers
19 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
47 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
135 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
0answers
99 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 ...
1
vote
0answers
147 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 ...
1
vote
0answers
243 views

How to loop and calculate length of each segment on a line having 2 distinct layers of points and lines?

I have a layer of polyline and a layer of points. My objective is to calculate the length of each segment along my polyline. I tried a code but it returns the length between points that are not even ...
1
vote
0answers
43 views

Seeking Brazil wide reference system to compute road length?

I've a Brazil road layer that include start km and end km for each road, some are empties. Have checked and some of the values are wrong so I'll calculate road length by myself. I use ArcGis, but can ...
1
vote
0answers
65 views

$length calculation anomaly

A polyline layer's (green) length is being calculated via $length. Result: ~100 meters (EPSG 31466). A buffer of 5meters is created and via Voronoi Polygons (and several other steps) a centerline is ...
1
vote
0answers
543 views

Deriving length values from GPX files in QGIS

I’m missing something real obvious and I apologize for revisiting a topic addressed in several Q&A’s here. I’m an experienced GIS user (not programmer) who’s new to QGIS (can’t afford Arc in ...
1
vote
0answers
1k views

Length difference between Google Earth and ArcGIS for Desktop?

I have drawn a complex path with multiple vertices in Google Earth (GE) Pro and its measurement property is shown as being 2,460 nm. It is located East of Australia. If i import this KML into ArcGIS ...
1
vote
0answers
88 views

QGIS (2.0.1): Field calculator for length not working - values way too high

Same problem as another thread: Field Calculator returning incorrect length and area values Trying to calculate length of a line shapefile, and field calculator is returning values that are way too ...
0
votes
0answers
15 views

QGis 3.4.4 xyz-dependend height length calculation

We use $length to display the length of our lines. The outputs are only xy calculated We need to calculate with the height reference system DHHN 92 to get the true xyz lengths. How do I set up the ...
0
votes
0answers
26 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 ...
0
votes
0answers
72 views

Identify the length and orientation of the features in P2 relative to features in P2? (ArcGIS)

I try to measure the maximal length and orientation of features in one shapefile (S1) relative to polygons in another shapefile 2 (S2). My goal is to evaluate the spreading of patches of beetle-...
-1
votes
0answers
68 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 ...