| Maptitude GISDK Help |
Adds an endpoint to a standard geographic line file.
new_id = AddNode(coordinate coordinate, integer ID)
| Argument | Contents |
|---|---|
| coordinate | The location of the point |
| ID | The ID of the point to add, or null to generate an ID automatically |
The integer ID of the new endpoint.
The endpoint layer must be the current layer.
// Add an Intersection where the user clicks
SetLayer("Xsections")
new_id = AddNode(ClickCoord(), )
ShowMessage("The new node has an ID of " + String(new_id))
| Error Type | Meaning |
|---|---|
| Error | The current layer is not an endpoint layer, or is not from a standard geographic file; or ID is already in use |
| Function | Summary |
|---|---|
| DeleteNode() | Deletes an endpoint feature from a standard geographic file |
| MoveNode() | Changes the location of an endpoint feature in a standard geographic file |
| SplitLink() | Splits a line feature at a given coordinate |
| ©2025 Caliper Corporation | www.caliper.com |