Maptitude GISDK Help |
Changes the coordinates of a line feature in a standard geographic file.
ReshapeLink(integer ID, array line_coordinates, array options)
Argument |
Contents |
ID |
The ID of the line to be modified |
line_coordinates |
An array with the geographic coordinates of the current endpoints as the starting and ending coordinates, plus the geographic coordinates (if any) of the new shape points of the line feature |
Option |
Type |
Contents |
Reason |
String |
If provided, a record will be added to the database's log file, with this used as the Reason column. If it's not provided, no entry will be added, even if the other options are present. |
Comment |
String |
Text for the comment field of the log file. |
User |
String |
User name for the log file. |
The starting and ending coordinates in the line_coordinates array must be the current endpoints of the line.
There can be zero or more shape points between the endpoints.
To change the coordinate of an endpoint, use the MoveNode() function.
The log file name will have the same name as the database and a .txt extension.
Error Type |
Meaning |
Error |
The current layer is not a line layer, or is not from a standard geographic file |
Function |
Summary |
Gets the coordinates that describe the location of a line feature |
|
Changes the location of an endpoint feature in a standard geographic line file |
|
Deletes a line feature from a line layer |
|
Adds a line feature to a line layer |
©2025 Caliper Corporation | www.caliper.com |