As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [length]

The longest extent of anything as measured from end to end

Filter by
Sorted by
Tagged with
1 vote
1 answer
280 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 ...
Ganesh Ambi Ramakrishnan's user avatar
18 votes
4 answers
26k views

Getting geometry length in meters in PostGIS

In PostGIS, the ST_length() function returns the length of a LineString in some units, but not in meters. Is there a function like ST_Length() but in meters?
José Alejandro's user avatar
3 votes
3 answers
4k 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,'...
spatialhast's user avatar
  • 3,591
5 votes
3 answers
10k 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.
Ger's user avatar
  • 2,547
2 votes
2 answers
7k 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?
Binoy's user avatar
  • 759
6 votes
1 answer
596 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 ...
FCHobbs's user avatar
  • 61
15 votes
2 answers
3k views

Getting the length of line inside polygon

How can I get the length (brown marked part) of the "Road 7" inside the red polygon? My start: SELECT ST_Length(way) FROM lines WHERE road = "Road 7" AND ST_Intersects(line, ...
np00's user avatar
  • 533
1 vote
0 answers
498 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 ...
bahadir's user avatar
  • 369
8 votes
1 answer
4k views

Why Attribute name length in QGIS is limited to 10 characters?

In QGIS software, a vector layer has "attribute" but the name length is limited to only 10 Characters. Is there any method to name an "attribute" to a longer name? (e.g. attribute name "building name"...
Xianlin's user avatar
  • 477
3 votes
3 answers
16k 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 = [...
Phillip Trujillo's user avatar
14 votes
3 answers
27k 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?
user4756's user avatar
  • 141
6 votes
1 answer
4k 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 )'...
Kumar's user avatar
  • 153
3 votes
3 answers
1k 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 ...
Kapjaki's user avatar
  • 171
3 votes
1 answer
2k 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 ...
elusival's user avatar
  • 111
12 votes
5 answers
6k 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 ...
Adam Matan's user avatar
  • 6,770

1 2 3 4
5