ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / Spatial data management
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Checks whether the specified geometry is valid according to the OGC rules.
Example
myPolygon is Polygon2D = MunicipalitiesFile.PolygonItem
// => True or False depending on whether myPolygon is valid: 
// points in the right order, 
// no intersections of the exterior ring and holes of the polygon, etc.
Trace(GeometryIsValid(myPolygon))
Syntax
<Result> = GeometryIsValid(<Geometry>)
<Result>: Boolean
  • True if the geometry is valid,
  • False otherwise.
If an error occurs, the ErrorOccurred variable is set to True. To get more details on the error, use ErrorInfo with the errMessage constant.
<Geometry>: Variable containing spatial data
Variable corresponding to the geometry to be checked. This geometry can correspond to one of the following variable types:
Business / UI classification: Business Logic
Component: wd300hf.dll
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/13/2024

Send a report | Local help