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
-
Watch the YouTube video about this functionality:
- For an overall overview of the GeoAnalytics or Location Analytics capabilities of Spotfire please also review this page.
- Useful Geospatial Data Functions for Spotfire
Recommended Comments
There are no comments to display.