Maptitude GISDK Help |
"Rubber sheets," or performs a mathematical transformation on the coordinates of a geographic layer, and produces a new database using the "rubber-sheeted" coordinates.
RubberSheet(string layer_bar_set, string db_name, array old, array new, array options)
Argument |
Contents |
layer_bar_set |
The layer and the set to be rubber sheeted |
db_name |
The name of the new database to be created |
old |
An array of coordinates as they currently appear in the database |
new |
A corrected array of coordinates corresponding to the old array |
Option |
Type |
Contents |
Method |
String |
"TINS" or "Uniform" |
World |
String |
"True" (the default) or "False" |
Label |
String |
A descriptive label for the new geographic layer |
Layer Name |
String |
The name of the new layer in the geographic file |
Node Layer Name |
String |
The name of the endpoint layer in a line geographic layer |
The TINS option triangulates the control points and performs a separate transformation to each facet.
The World option is set to "False" when the coordinates used are map coordinates.
c1 = {Coord(-92398569,38894200),
Coord(-92383337,38882221),
Coord(-92369238,38961503),
Coord(-92352231,38884966)}
c2 = {Coord(-92400654,38885840),
Coord(-92382696,38870492),
Coord(-92371033,38961093),
Coord(-92353033,38874735)}
RubberSheet(GetLayer(), "new.dbd", c1, c2,
{{"Label", "New DB"},
{"Layer Name", "New Layer"},
{"Method", "TINS"},
{"World", "True"}})
Error Type |
Meaning |
Error |
The number of points was too small or the rubber sheeting failed |
©2025 Caliper Corporation | www.caliper.com |