MapWinGeoProc:Utils Area2

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

Area

(overloaded version 2)

Syntax

 double Area(ref MapWinGIS.Shape shape, MapWindow.Interfaces.UnitOfMeasure shapeUnits)

Summary

Computes the area of a polygon. For multi-part polygons, assume holes are counter-clockwise.

Parameters

shape The polygon shape.
shapeUnits Member of MapWindow.Interfaces.UnitOfMeasure enumeration specifying the distance units used by the shapefile projection. If the units are DecimalDegrees, the calculated area will always be in square kilometers.

Returns

The area in square units, or 0.0 if it could not be found. If shapeUnits are DecimalDegrees, the calculated area is in square kilometers.

Remarks

Added 3/17/2008. This function is new in MapWindow 4.5

Back to Area

Back to Utils

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGeoProc:Utils_Area2"

This page has been accessed 457 times. This page was last modified on 17 March 2008, at 10:04.