ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2024 feature!
Help / WLanguage / Managing databases / HFSQL / 
  • Properties specific to LinestringGeo variables
  • Functions that use the LinestringGeo type
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The LinestringGeo type is used to define all the advanced characteristics of a geographic linestring. You can define and change the characteristics of this linestring using different WLanguage properties.
Characteristics of a geographic linestring:
A geographic linestring is a set of contiguous segments represented on a geographic coordinate system (latitude - longitude). It is defined by a sequence of points.
Remark: Geographic linestrings are not composed of straight segments like 2D linestrings. A geographic linestring describes a location on the spheroidal surface of the earth: a series of arcs with the curvature of the earth, comparable to flight paths.
If the start and end points of a linestring are the same, the linestring is "closed".
If the linestring does not self-intersect, the linestring is "simple".
A simple and closed linestring is referred to as a "LinearRing".
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
myPoint is PointGeo
myLine is LinestringGeo

myPoint.Latitude = 12.127542
myPoint.Longitude = 35.4245
myLine.Point.Add(myPoint)

myPoint.Latitude = 12.24147
myPoint.Longitude = 35.2147
myLine.Point.Add(myPoint)

myPoint.Latitude = 13.2411
myPoint.Longitude = 33.2141
myLine.Point.Add(myPoint)
Properties

Properties specific to LinestringGeo variables

The following properties can be used to manipulate a geographic linestring:
Property nameType usedEffect
PointArray of PointGeoLinestring points.
TypeInteger constantType of the current geometry. For a linestring defined with geographic coordinates, corresponds to the gtLinestringGeo constant.
Remark: Until version 2024 Update 2, this constant was named stLinestringGeo.
This property is available in read-only.
Remarks

Functions that use the LinestringGeo type

The following functions use LinestringGeo variables:
New in version 2024
GeometryArea
Calculates the area of a given geometry.
New in version 2024
GeometryContain
Determines if geometry A contains geometry B.
New in version 2024
GeometryConvexHull
Calculates the convex hull of the specified geometry.
New in version 2024
GeometryCorrect
Returns a corrected version of the specified geometry.
New in version 2024
GeometryCover
Determines if geometry A covers geometry B.
New in version 2024
GeometryCoveredBy
Determines if every point of geometry A lies inside or on the boundary of geometry B.
New in version 2024
GeometryCross
Compares two geometries and determines if their intersection spatially crosses.
New in version 2024
GeometryDifference
Returns a geometry representing the difference between two geometries.
New in version 2024
GeometryDisjoint
Determines whether two geometries are disjoint, i.e. whether their intersection is empty.
New in version 2024
GeometryDistance
Calculates the distance between two geometries.
New in version 2024
GeometryEqual
Determines whether two geometries are spatially equal, i.e. whether the first geometry is included in the second, and vice versa.
New in version 2024
GeometryIntersect
Checks whether two geometries have a non-empty intersection.
New in version 2024
GeometryIntersection
Returns a geometry representing the intersection of two geometries.
New in version 2024
GeometryIsValid
Checks whether the specified geometry is valid according to the OGC rules.
New in version 2024
GeometryLength
Calculates the length of a given geometry.
New in version 2024
GeometryOverlap
Determines whether two geometries overlap.
New in version 2024
GeometryPerimeter
Calculates the perimeter of a given geometry (polygon or multipolygon).
New in version 2024
GeometrySerializeDSV
Serializes a geometry using the specified DSV format.
New in version 2024
GeometrySerializeWKT
Serializes a geometry using the Well-Known Text (WKT) format.
New in version 2024
GeometrySymmetricDifference
Calculates the symmetric difference between two geometries.
New in version 2024
GeometryTouch
Determines whether two geometries touch.
New in version 2024
GeometryUnion
Returns a geometry corresponding to the union of two geometries.
New in version 2024
GeometryWithin
Determines whether geometry A is completely within geometry B (i.e., geometry B completely contains geometry A).
New in version 2024
LinestringGeoAddPoint
Adds a new point to a geographic linestring.
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/28/2024

Send a report | Local help