Maptitude GISDK Help |
Changes the location of a point feature in a standard geographic file.
id = MovePoint(integer ID, coordinate location)
Argument |
Contents |
ID |
The ID of the point to move |
location |
The new location of the point |
A string indicating the ID of the moved point.
The point layer must be the current layer.
// Move a point to a new location
from_pt = ClickCoord()
to_pt = ClickCoord()
SetLayer("Stores")
id = RH2ID(LocateNearestRecord(from_pt, 0.25))
MovePoint(id, to_pt)
Error Type |
Meaning |
Error |
The current layer is not a point layer, or is not from a standard geographic file |
NotFound |
There is no feature with the given ID |
Function |
Summary |
Adds a point feature to a point layer |
©2025 Caliper Corporation | www.caliper.com |