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
Serialize an Geometry in Well Known Text (WKT) format. Receiver format corresponds to a string in ANSI format.
Ejemplo
// Création d'un carré de 2 unités de côté
oPolygone2D_1 is Polygon2D
Linestring2DAddPoint(oPolygone2D_1.Outline, -1.00, 1.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, 1.00, 1.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, 1.00, -1.00)
Linestring2DAddPoint(oPolygone2D_1.Outline, -1.00, -1.00)
// Ajout du dernier point (identique au premier)
Linestring2DAddPoint(oPolygone2D_1.Outline, -1.00, 1.00)
// Corrige la géométrie créée
oPolygone2D_1 = GeometryCorrect(oPolygone2D_1)

// Sérialisation au format WKT
PolygoneSérialisé is string ANSI
PolygoneSérialisé = GeometrySerializeWKT(oPolygone2D_1)
Trace(PolygoneSérialisé) // Renvoie "POLYGON((-1 1,1 1,1 -1,-1 -1,-1 1))"
Sintaxis
<Result> = GeometrySerializeWKT(<Geometry> [, <Accuracy>])
<Result>: ANSI character string
String representing the Geometry specified in the WKT format.
<Geometry>: Variable Receiver for spatial data
Name of the variable corresponding to the Geometry handled. This Geometry can correspond to one of the following variable types:
<Accuracy>: Optional integer
Accuracy of coordinates, Receiver corresponding to the number of significant digits (total number of digits in the number, not the number of digits after the decimal point).. For Default, this parameter corresponds to 8.
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