[Gdal-dev] Calculating Polyline lengths in a file
dylan.beaudette at gmail.com
Tue Nov 7 18:17:50 EST 2006
the results from most PostGIS operations are in the same units as your
geometry is in.
On Tuesday 07 November 2006 14:26, matt.pettis at thomson.com wrote:
> Is there an easy way to calculate the lengths of polyline objects in a
> shapefile (i have a shapefile of roads for a county, and want to find the
> total length)? Is there an OGR tool to do this, or does anybody know of
> another tool?
> I have done this halfway a hard way... I imported my file into
> PostgreSQL/PostGIS, and applied length2d to it, and got a number. However,
> I can't find documentation for what the units of the result are in. Does
> anybody know the answer to this question as well, as long as I am here?
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
Soils and Biogeochemistry Graduate Group
University of California at Davis
More information about the Gdal-dev