The longest extent of anything as measured from end to end

learn more… | top users | synonyms

0
votes
1answer
53 views

PostGIS Get the POINT that is x meters away from a fixed point on the route (LINESTRING)

We have a route network stored in the routes table (LINESTRINGs). Basically every sedment (between two vertexes) is inserted as a separate row in this table. Among that we have a locations table ...
0
votes
1answer
27 views

Calculating slope length using LS-tool

Does anyone know how to get LS-tool mentioned in Zhang et al 2013. https://www.researchgate.net/publication/256938578_Extension_of_a_GIS_procedure_for_calculating_the_RUSLE_equation_LS_factor I tried ...
1
vote
1answer
38 views

Create a line from an array and measure its length with PostGIS (ST_MakeLine, ST_Length)

do I understand it correctly that it is possible to create a line out of an array with the function ST_MakeLine()? I would like to create a line from several points (more than two) and then calculate ...
1
vote
1answer
50 views

Store into a list multiple lists

I have list of 50 lists of pairs of SpatialLinesDataFrames. That means I have something like: [[1]] [,1] [,2] [,3] [1,] spldf1 spldf3 spldf5 [2,] spldf2 spldf4 spldf6 ...
2
votes
1answer
29 views

QGIS polyline length calculation [closed]

I meet a problem while I try to calculate the length of a polyline in QGIS in the attribute table. I created a new column with the function "$length" inside (type: real, 10 digits and 3 digits of ...
1
vote
1answer
72 views

Calculating the length of the network lines inside polygon in QGIS 2.10.1

I am working with 2 datasets: delineations of the neighbourhoods traffic network. This is how they look: I would like to calculate the length of the roads per neighbourhood (polygon). As you ...
8
votes
1answer
385 views

Is there a best practice for the length of fields?

At my work have inherited several shapefiles that originate from MapInfo that I am bringing into a new project in QGIS. I have the opportunity to change the column names, add and subtract columns and ...
1
vote
0answers
36 views

Calculation of length in QGIS [duplicate]

I am trying to calculate the length of lines, which were convatede before from gps to Shapefile (vector layer). I tried it with "feldrechner" (matrix calculator?) and the most time I got 0, or in the ...
1
vote
1answer
55 views

How to get correct lengths when switching from GCS to PCS?

I'm working on ArcMap 10 and need to get the lenghts (in meters) of the segments composing my line feature class. GCS of the line is WGS_1984. Extent of this data should be: Left 11.236520 dd, Right ...
1
vote
0answers
75 views

Drawing features with specific dimensions in ArcGIS [closed]

I am having some issues drawing transect lines in ArcGIS. I need to create some lines that have specific lengths (20m and 30m). My Map units are set to 'meters' and coordinate system is NAD UTM 10. ...
0
votes
1answer
29 views

Clipping line feature to MANY polygons for measurements [closed]

I am looking to measure the length of stream segments(line) on numerous tax lot properties (Polygon). Is there a tool that will allow me to "Cut" or "Clip" streams to tax lots to estimate not only ...
3
votes
3answers
222 views

How to calculate path length of each point from the start using arcpy?

As shown in the picture below I would like to calculate the path length of each point from the start. Can anyone give me some help in writing this in python for ArcGIS?
1
vote
2answers
109 views

Check shape orientation

I have a shapefile with many minimum bounding box (envelope) polygons and I need to find out, if the boxes are rather landscape or portrait format. (See pic below, one of the selected boxes should be ...
1
vote
0answers
94 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
1answer
182 views

How to change the attribute length of an existing field afterwards

I already have about 100 values in a field in QGIS. I set it to 50 characters because I was thinking that would be enough. But that was wrong. I need more space in the column. But there is no way to ...
1
vote
0answers
170 views

Flow length analysis only shows pixel value, how to get length?

When I create a flow length analysis, and use identify tool on a cell in the layer, it just shows "stretched value" and "pixel value" I don't understand how it's supposed to show length. I'm using ...
1
vote
0answers
299 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
2answers
180 views

How to separate polygons within layer and measure line through each polygon?

I have 3 layers of polygons, each layer with multiple polygons spatially separated, although the layer only counts it as 1 polygon. I have a layer with a line going through these polygons. What is ...
9
votes
2answers
353 views

POSTGIS get the max length of the polygon and the average width

I have in postgis a polygon type table. I need to calculate automatically the maximum length of the polygon: And the second one is the average width: I am doubting rigth now if this is possible ...
1
vote
0answers
47 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 ...
2
votes
0answers
99 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. ...
2
votes
0answers
111 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 ...
2
votes
2answers
95 views

Flow Mapper wrong line length calculation

I'm finding some trouble with the length calculation in the Flow Mapper plugin. As you can see in the picture below the length of the 2 lines C001-C021 = 4233.7986... C001-C009 = 6069.3053... is ...
3
votes
0answers
403 views

How to convert length in Decimal degrees to meters programmatically?

I'm new to qgis and I want to find the length of some roads in a map. So I used the following code, from shapely.wkb import loads def getLength(): layer = ...
5
votes
1answer
2k 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 ...
1
vote
1answer
333 views

Distance Between Two Points vs Length of Linestring

So I have two points that I want to calculate the distance between. If I use: SELECT ST_Distance_Spheroid(point_a, point_b, 'SPHEROID["GRS 1980",6378137,298.257222101]') / 1000 FROM ( ...
2
votes
0answers
418 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
1answer
128 views

Tag for calculating way length in osm2pgsql?

There is a special tag 'way_area' in osm2pgsql creating a database column that stores the area of polygon features. So is there something like this for calculation of length of line objects?
1
vote
1answer
225 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 ...
1
vote
1answer
257 views

How to calculate highway lengths using QGIS? [closed]

I need to create a network of highways in 8 states of the USA. Eventually, I need their length, the speed and if possible average daily traffic volume, I don't know how to extract this information. ...
1
vote
1answer
174 views

How to split/divide linestrings of larger lengths in postgis

I want to split/divide linestrings in my data. I have roads data and I want to have every road segment having length not more than 250 meter. Check the shape length of this particular line feature. ...
0
votes
1answer
42 views

Postgis add Geography to function()?

i was wondering im getting different results when using geography() on different positions within a query. So, whats the most accurate way of forcing geography() over a functions with geometry ...
0
votes
1answer
375 views

Field Calculator returning incorrect length and area values when QGIS project is reopened

Similar to Field Calculator returning incorrect length and area values, but as always slightly different. I have QGIS 2.0 and when I create a polyline shapefile, the field calculator returns the ...
2
votes
1answer
96 views

How to examine length of vector lines in qgis/grass?

I have vector layer of lines. How can I examine length of lines?
4
votes
2answers
2k views

What is the unit the 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 = ...
4
votes
2answers
975 views

Using Calculate Field (Data Management) tool to calculate 3D Length in ArcGIS 10.1

I'm relatively new to the world of model builder and scripting, so it's likely there is a very simple solution to the question I've been trying to figure out. I'm trying to create a tool that takes ...
2
votes
1answer
310 views

Measuring polyline lengths running through a raster - is this possible?

I have a reclassified raster layer with 4 values and a vector layer of polylines. I would like to discover the length of the lines running through each raster value, or the percentage of the lines ...
5
votes
2answers
3k views

Length of a degree: where do the terms in this formula come from?

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 ...
1
vote
1answer
247 views

Problem of linear records with zero shape length and no geometry in attribute table

I am working with a bicycle and pedestrian facility file geodatabase in ArcMap. I noticed a some of the records in the shapefiles/feature classes have a shape length of zero in the shape length ...
0
votes
0answers
165 views

Identify segments that share a last vertex with the first vertex of selected segment

This has been marked as a duplicate to Connecting line features and determining the length of the longest line but I believe there are some subtle differences. And to be honest I'm not an advanced ...
2
votes
1answer
224 views

Line calculation from KML file

I am a beginner in QGIS 2 and Mac OSx Mountain Lion I need to get line length in meters for different gps waypoints. 1 I import kml file to create a new vector shape (this works fine). The projection ...
1
vote
0answers
132 views

Network Analyst: How to sum cost attributes without length with closest facility tool

I am working on Safe Routes to School, and have created a network dataset. Each segment of the newtork has a 'walk_score' assinged (0,1,3,5,10), based upon street classification and sidwalk ...
4
votes
1answer
651 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 ...
1
vote
2answers
888 views

Qgis - need to draw exact lines (mtrs) with fixed angle

I use GIS 1.8. I have the need to be able to draw exact lines and shapes on a bing map. (This is to project a yet to be build greenhous project on a map to show what i would look like). I have ...
3
votes
3answers
742 views

Why is sum of st_length() of segments 20% too big?

I'm running a query to return the total length of some bike paths, from OpenStreetMap. Compared to the known actual length of these paths, they're all a bit too big - something like 10-30%. I know it ...
3
votes
1answer
850 views

Problem about converting raster to polyline and calculating total length

I have raster file of line segment. I need to convert it to line and get the distance of that line. How can i do using Python and ArcGIS 10? I have tried with GIS tools Convert Raster to Polyline but ...
1
vote
1answer
463 views

3D and 2D lengths of lines in ArcGIS

I have a 2D road segment and convert it into 3D using a raster in ARCGIS 9.3. So, what i see is that the length of 3D road segment is still the same as the 2D road. How can this be? As due to ...
0
votes
2answers
411 views

How to create a new column to store the length of a linestring in postgis?

I am working with pgRouting, following this nice guide:A Beginner’s Guide to pgRouting I am now in this step:Calculating shortest routes, with these codes below SELECT * FROM shortest_path(' SELECT ...
1
vote
1answer
477 views

ArcObjects Java Calculate Line Length

I'm relatively new to programming and ArcObjects. I'm trying to simply calculate the length of a line (test.shp) using ArcObjects and Java. I've tried the code below with no luck. This is simple in ...
2
votes
1answer
276 views

Sum line length with clip intersect? [closed]

SELECT sum(st_length(st_intersection(POLY.geom, LINE.geom))) AS sum_line_length... Is this function OK to calculate the sum of lines length? Wonder if it do the clip line where one line go from one ...