Questions tagged [length]

The longest extent of anything as measured from end to end

12
votes
2answers
15k views

Understanding terms in Length of Degree formula?

Online calculators such as http://www.csgnetwork.com/degreelenllavcalc.html (view page source) use the below formulas to get meters per degree. I understand in general how distance per degree varies ...
7
votes
3answers
7k views

Finding line length while editing in QGIS?

I am using QGIS. I would like to know if there is any way during the editing phase of a vector (line or polygon) to know the length of the line (total and partial) that is being created?
7
votes
1answer
12k views

Calculating line segment lengths within polygon using ArcGIS Desktop?

I have a layer with line segments and a layer of polygons (in this case, buffers around points). I need to create a new field for each polygon that contains the total length of all line segments ...
3
votes
3answers
3k views

How to Calculate length of polyline geometry for several tables in PostGIS?

PostGIS database contains several geometry (polyline) tables (with names "D1_r", "D2_r", "D3_r"). I calculate length for one "postgis layer" use request: SELECT sum(ST_Length_Spheroid(the_geom,'...
7
votes
1answer
14k views

What units are shape_length in?

When generating polylines from a series of points, I used "Points to Line" tool. From this, Arc generates a polyline feature class, which includes the attribute shape_length. What units are these ...
6
votes
1answer
2k views

What's the unit of measurements produced by “sum line lengths”?

My goal is to find the total length of roads per county for a particular state. You would think there would be a simple government spreadsheet with this information in it.... I cannot figure out how ...
10
votes
2answers
11k views

What is unit of shapely length attribute?

I'm doing a very simple calculation of the length of a polyline using shapely: from shapely.geometry import LineString ... xy_list = [map(float,e) for e in xy_intm] line = LineString(xy_list) s = '%...
13
votes
4answers
4k views

Looking for a pythonic way to calculate the length of a WKT linestring

I was quite unsatisfied with Calculating Length of Linestrings in WGS84 in Miles. It kept me wondering if there is a more convenient, Pythonic way to calculate the length of a WKT linestring according ...
6
votes
1answer
3k views

How to measure length of line accurately?

In postgis 1.5 for the below given query the answer is 1540651.62674101 meters , SELECT ST_Length(ST_GeomFromText('LINESTRING(77.83042478941326 9.98463896136159,78.03469506809812 23.90398909552571 )'...
3
votes
1answer
3k views

Get LineString length in meters (Python, GEODjango)

In a Django model, I have a LineString field which holds GPS coordinates of a street route. I know that I the .length holds the length of the LineString, but I don't know what unit the returned value ...
1
vote
1answer
549 views

Calculating field length in certain directions (raster)?

Currently I'm working on winderosion. For my purpose I like to calculate the length of agricultural fields in certain wind direction. I would like to do it for raster. To be more precise, I have ...
6
votes
1answer
1k views

How to emulate a specific vector grid in QGIS?

I would like to analyze data included in a pdf file. The file contains information on characteristics of 16km grid cells for a specific study area. The file also includes a map displaying the grid. I ...
2
votes
1answer
225 views

Changing parallel line length to split polygon in QGIS?

I have a polygon which I want to split with a selected line with a parallel line. I have made the parallel line but it's lenght is not enought to split the polygon. It necessary to be parallel with ...
1
vote
1answer
277 views

How to depict line symbols with length from attribute

I want to depict angled drill holes as a horizontal traces (plan view). I have a CSV file with X,Y,Azimuth and Horizontal length. Using the simple marker I can get a line pointing in the right ...
1
vote
1answer
96 views

How to divide and split an arc into specific lengths?

I have an arc shapefile for a city which represents the rail road route. It is a single attribute arc that I would like to separate into segments of 90 ft. For example, if the standard track length ...
0
votes
1answer
216 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 ...