$region as cts.region,
[$options as String]
) as cts.region
This function removes duplicate (adjacent) vertices. Whether a vertex
counts as a duplicate depends on the governing coordinate system.
If it is applied to a box, circle, or point, no action is taken and the region
is returned unchanged.
A cts region.
Use the named coordinate system. Valid names are wgs84
for the WGS84 coordinate system and raw for the
unmapped planar coordinate system
A tolerance value. For the raw coordinate system, use the units
of the coordinate system. For other (geodetic) coordinate systems,
use the units specified by the units option. If the tolerance is
too fine for the precision, inconsistencies may result and a larger
tolerance should be used.
Distance is measured in miles.
// => A cts.region with the following coordinates:
// 40.123457,-120.12346 40.12455,-120.12347 40.13456,-120.14552