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
Adds a new point to a geographic linestring.
Reminder: A geographic polygon is a set of geographic linestrings..
Example
// Linestring declaration
myGeoLinestring is LinestringGeo
// Build linestring: 4 points
LinestringGeoAddPoint(myGeoLinestring, 2.681548, 43.802043)
LinestringGeoAddPoint(myGeoLinestring, 2.816297, 43.725179)
LinestringGeoAddPoint(myGeoLinestring, 2.842733, 43.817899)
LinestringGeoAddPoint(myGeoLinestring, 2.644979, 43.837466)
// WKT serialization
Trace("myGeoLinestring: " + GeometrySerializeWKT(myGeoLinestring))
Syntax
LinestringGeoAddPoint(<Geographic linestring> , <Latitude> , <Longitude>)
<Geographic linestring>: LinestringGeo variable
Name of the LinestringGeo variable to which to add a new point.
<Latitude>: Real
Latitude of the point.
<Longitude>: Real
Longitude of the point.
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: 05/29/2024

Send a report | Local help