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 length of a given Geometry.
Ejemplo
p is Linestring2D
Linestring2DAddPoint(p, 1, 2)
Linestring2DAddPoint(p, 1, 5)
Linestring2DAddPoint(p, 3, 5)

// Calcul de la longueur de la polyligne
let longueur = GeometryLength(p) // longueur = 3 + 2 = 5
Sintaxis
<Result> = GeometryLength(<Geometry>)
<Result>: Real
Specified Geometry length.
  • For 2-dimensional geometries, length calculation uses the Euclidean norm (Pythagoras). The length uses the same unit as the point coordinates.
  • For geographical geometries, the length calculation uses an template approximation of the Earth to take into account its curvature.. The length is returned in meters.
<Geometry>: Variable Receiver for spatial data
Name of the variable corresponding to the Geometry whose length is to be calculated. This Geometry can correspond to one of the following variable types:
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