Maptitude GISDK Help |
Produces a new point database where the points are all moved into or out of polygons in an area layer.
Added in version 2021.
SnapPointsToArea(string area_layer_set, string points_layer_set, string out_file, array opts)
Argument |
Contents |
area_layer_set |
Name of the area layer or selection set |
points_layer_set |
Name of the point layer or selection set |
out_file |
The path and name of the output point file |
Option |
Type |
Contents |
Inside |
Boolean |
True to move points inside the areas. False (the default) to move them out |
Label |
String |
The database label |
Layer Name |
String |
The database layer name |
SnapPointsToArea("My Areas" + "|" + "Selection", "My Points|", "c:\\temp\\moved points.dbd", {{"Inside", "True"}, {"Layer Name", "Moved Points"} })
Error Type |
Meaning |
Error |
The set or layer name is invalid or the output file cannot be created |
NotFound |
There is no set with the given name |
©2025 Caliper Corporation | www.caliper.com |