AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

¡Nueva funcionalidad de WINDEV, WEBDEV y WINDEV Mobile 2024!
Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / HFSQL / 
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Otros
Procedimientos almacenados
Calculate the area of a given Geometry.
Ejemplo
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
Componente: wd290hf.dll
Versión mínima requerida
  • Versión 2024
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 15/02/2024

Señalar un error o enviar una sugerencia | Ayuda local