Maptitude GISDK Help

MovePoint()

Summary

Changes the location of a point feature in a standard geographic file.

 

Syntax

id = MovePoint(integer ID, coordinate location)

 

Argument

Contents

ID

The ID of the point to move

location

The new location of the point

 

Returns

A string indicating the ID of the moved point.

 

Notes

Example

// 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 Codes

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

 

See Also

Function

Summary

AddPoint()

Adds a point feature to a point layer

 

 

©2025 Caliper Corporation www.caliper.com