Jump to content
  • Area of Polygons TERR Data Function for Spotfire


    This article is a guide to using the Area of Polygons data function. This data function calculates areas of polygons.

    Please download the Area of Polygons TERR Data Function for Spotfire from the exchange. 

    Details about the data function

    Description

    Calculates the areas of polygons. The polygons must be specified in longitude/latitude coordinates. May take significant time to complete on large numbers of polygons. Written in R code.

    R packages used

    • wkb
    • sp
    • geosphere

    Input parameters

    Name 

    Type

    Display 

    Name

    Description 

    Requirement

    Allowed 

    Data 

    Types

    Geometry 

    Column 

    Polygons

    Binary column representing geometries of non-overlapping polygons specified in longitude/latitude coordinates

    Mandatory 

    Binary

    Output parameters

    Name 

    Type

    Display 

    Name

    Description

    Area 

    Column 

    Area

    Real number column representing the areas of the polygons in square meters. Divide by 2589988 to change units to square miles.


    More Resources


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...