|
|
|
|
Calculate the area of a given Geometry.
UnPolygone is Polygon2D = GeometryDeserializeWKT2D("POLYGON((0 0, 10 75,20 85, 25 12, 0 0))")
Aire is real = GeometryArea(UnPolygone)
Sintaxis
<Result> = GeometryArea(<Geometry manipulated>)
<Result>: Real - Geometry area .
- In 2 sizes: If the program considers that polygons define their coordinates in meters, the result will be expressed in square meters.. If the program uses miles, the result will be in square miles.
- In geographic coordinates (latitude, longitude), the area is expressed in square meters.
If the Geometry handled corresponds to a multiple Geometry, the result is the sum of the areas of the different Geometry s. - 0 if the Geometry area cannot be calculated.
If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo with the errMessage constant.
The area unit corresponds to the square of the unit used to define the Geometry points handled.
<Geometry manipulated>: Variable Receiver for spatial data Name of the variable corresponding to the Geometry handled. Manipulated geometries can correspond to variables of type: Remark: Area can be calculated for polygon and/or multipolygon geometries. In other cases, is 0. Clasificación Lógica de negocio / UI: Lógica de negocio
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|