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
The following functions are used to manipulate spatial data:
GeometryAreaCalculates the area of a given geometry.
GeometryContainDetermines if geometry A contains geometry B.
GeometryConvexHullCalculates the convex hull of the specified geometry.
GeometryCorrectReturns a corrected version of the specified geometry.
GeometryCoverDetermines if geometry A covers geometry B.
GeometryCoveredByDetermines if every point of geometry A lies inside or on the boundary of geometry B.
GeometryCrossCompares two geometries and determines if their intersection spatially crosses.
GeometryDeserializeWKT2DBuilds a 2D geometry from a Well-Known Text (WKT) representation.
GeometryDeserializeWKTGeoBuilds a geometry in geographic coordinates from a Well-Known Text (WKT) representation.
GeometryDifferenceReturns a geometry representing the difference between two geometries.
GeometryDisjointDetermines whether two geometries are disjoint, i.e. whether their intersection is empty.
GeometryDistanceCalculates the distance between two geometries.
GeometryEqualDetermines whether two geometries are spatially equal, i.e. whether the first geometry is included in the second, and vice versa.
GeometryIntersectChecks whether two geometries have a non-empty intersection.
GeometryIntersectionReturns a geometry representing the intersection of two geometries.
GeometryIsValidChecks whether the specified geometry is valid according to the OGC rules.
GeometryLengthCalculates the length of a given geometry.
GeometryOverlapDetermines whether two geometries overlap.
GeometryPerimeterCalculates the perimeter of a given geometry (polygon or multipolygon).
GeometrySerializeDSVSerializes a geometry using the specified DSV format.
GeometrySerializeWKTSerializes a geometry using the Well-Known Text (WKT) format.
GeometrySymmetricDifferenceCalculates the symmetric difference between two geometries.
GeometryTouchDetermines whether two geometries touch.
GeometryUnionReturns a geometry corresponding to the union of two geometries.
GeometryWithinDetermines whether geometry A is completely within geometry B (i.e., geometry B completely contains geometry A).
Linestring2DAddPointAdds a new point to a 2D linestring.
LinestringGeoAddPointAdds a new point to a geographic linestring.
Spatial data functions manipulate the following variable types:
  • Variables corresponding to geometries defined using 2D coordinates:
    Linestring2DThe Linestring2D type is used to define all the advanced characteristics of a linestring defined with 2D coordinates.
    MultiLinestring2DThe MultiLinestring2D type can be used to store a collection of linestrings defined with 2D coordinates.
    MultiPoint2DThe MultiPoint2D type is used to store a set of points defined with 2D coordinates. It is a collection of points: unlike in a linestring, points are not connected.
    MultiPolygon2DThe MultiPolygon2D type can be used to store a collection of non-overlapping polygons defined with 2D coordinates.
    Point2DThe Point2D type is used to define all the characteristics of a location represented on a Cartesian plane.
    Polygon2DThe Polygon2D type is used to define all the advanced characteristics of a 2D polygon.
  • Variables corresponding to geometries defined using geographic coordinates:
    LinestringGeoThe LinestringGeo type is used to define all the advanced characteristics of a geographic linestring.
    MultiLinestringGeoThe MultiLinestring type can be used to store a collection of linestrings defined with geographic coordinates.
    MultiPointGeoThe MultiPointGeo type is used to store a set of points defined with geographic coordinates. It is a collection of points: in this case, points are not connected.
    MultiPolygonGeoThe MultiPolygonGeo type can be used to store a collection of non-overlapping polygons defined with geographic coordinates.
    PointGeoThe PointGeo type is used to define all the advanced characteristics of a location represented on the spheroidal surface of the earth.
    PolygonGeoThe PolygonGeo type is used to define all the advanced characteristics of a geographic polygon.
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 08/23/2024

Send a report | Local help