The longest extent of anything as measured from end to end

learn more… | top users | synonyms

0
votes
1answer
52 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 ...
3
votes
3answers
877 views

ArcGIS Surface Length Tool equivalent in FME?

I am trying to calculate the 3D length of a line. I currently have a rather complex and cumbersome model built in ArcGIS ModelBuilder that uses a tool called "Surface Length". I was wondering if ...
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
28 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
37 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
68 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 ...
5
votes
3answers
2k 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?
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 ...
6
votes
1answer
393 views

Permanently setting polygon/polyline segment length using ArcGIS Desktop?

I'm trying to create a several hundred polygons in ArcGIS 10, each of which may have up to several hundred vertices. For consistency sake I would like each line segment in these polygons to be of a ...
1
vote
2answers
2k views

Calculating sum of geometric length of shapefile in ArcGIS Desktop?

I have a shapefile with lots of line routes. I projected it and calculated the length using calculate geometry. How can I get the sum of all these routes in ArcGIS Desktop?
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 ...
2
votes
1answer
126 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
0answers
73 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
221 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
179 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
168 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
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. ...
1
vote
0answers
297 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
179 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 ...
1
vote
1answer
256 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. ...
9
votes
2answers
350 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
46 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
95 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. ...
1
vote
2answers
885 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 ...
5
votes
1answer
713 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
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
402 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 = ...
4
votes
2answers
972 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 ...
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 ...
12
votes
4answers
2k 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 ...
3
votes
1answer
848 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
332 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
416 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 ...
3
votes
3answers
6k views

Polyline length calculation in ArcGIS 10/VB script

I used to run this length calc on my data in ArcGIS 8 and 9, and now it don't work in ArcGIS10. Can you tell me what I have done wrong? Dim dbllength as double Dim pcurve as icurve Set Pcurve = ...
1
vote
1answer
224 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 ...
3
votes
3answers
741 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 ...
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 ...
2
votes
1answer
308 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 ...
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 ...
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 = ...
2
votes
1answer
94 views

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

I have vector layer of lines. How can I examine length of lines?
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
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 ...