The longest extent of anything as measured from end to end
8
votes
3answers
1k 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
2answers
206 views
How to create line with exact same length over and over again?
I need to draw 30 meter lines in specific places. Ctrl+l is too annoying to do everytime. Is there a easy way to define specific same length for a line that I need to draw many times?
6
votes
1answer
1k 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 ...
6
votes
1answer
157 views
Can you permanently set the polygon/polyline segment length?
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 ...
4
votes
1answer
100 views
Measurement not correct in QGIS 1.8
I have a SHP file of sub-areas of U.S. counties (roughly about the size of a Census tract) that I've reprojected into a 'true distance' projection (World Equidistant Cylindrical) in QGIS 1.8. However, ...
4
votes
1answer
224 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 ...
3
votes
2answers
2k 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 = ...
3
votes
3answers
338 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
...
3
votes
3answers
461 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 Model Builder that uses a tool called "Surface Length". I was wondering if ...
3
votes
2answers
455 views
How to find line length in QGIS while editing?
I am using QGIS (before, I used ArcView). 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 ...
3
votes
0answers
698 views
How to get turn angle, line orientation and line length in ArcMap 9.3.1?
I am mapping and analysing animal movements using arcgis 9.3.1 along with Hawthorne Beyer's GME, and am trying to utilise the correlated random walk commands, but in order to do this I need to find ...
2
votes
3answers
559 views
How to create a rectangle polygon with set lengths in QGIS?
I have a search area i want to outline. and i need it to be 1km by 2km. is it possible to achieve this in QGIS.
I can create a rectangle polygon but only guess the lengths.
2
votes
1answer
306 views
How do i calculate line segment lengths within a polygon?
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 ...
2
votes
1answer
59 views
Line feature, Merge and Dissolve
I have a layer with several polygons and a layer with line above these polygons. Its like a map and a road network on it.
I have to find out the length of line in each polygon.
I used the intersect ...
2
votes
1answer
75 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 ...
1
vote
0answers
5 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 ...
1
vote
1answer
94 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 ...
1
vote
0answers
325 views
Length in meters arcobjects [duplicate]
i have a an array of polylines in epsg:3857 projection, and i want to calculate length of each polyline. i am new to arcgis and arcobjects, i couldn't find the functions that i need.
Should i use ...
0
votes
2answers
61 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 ...

