The shapefile format (on which this transfer buffer is based) just has an
array of part offsets and an array of points. The parts offsets specify where
to break the shape (starting with zero, unfortunately). So, for a two part
shape, you only need one point array (with all the points) and a correct
parts buffer, with offsets of 0 and {number_of_points_in_part1}.
It is not ever legal to specify an offset of 1, or to use consecutive values
in the parts array, since lines must have at least two vertices, and polygons
must have at least four.
- V