Open tbonfort opened 12 years ago
Author: sgillies@frii.com Date: 2004/08/31 - 00:10
Rather than remove the test of valid extents, which is a good thing, I've added
an optional 5th argument, imageunits, which defaults to MS_FALSE. This means
that the normal use case of a spatial rectangle with easting/northing units
remains exactly the same.
To create a rectangle in image or pixel/line coordinates:
# a 100 x 100 rect with image origin (upper left) at 0,0
(llx, lly, urx, ury) = (0, 100, 100, 0)
rect = rectObj(llx, lly, urx, ury, MS_TRUE)
Author: sgillies@frii.com Date: 2004/08/31 - 18:04
Also committed changes to the 4.2 branch so that they'll get into 4.2.4
Reporter: sgillies@frii.com Date: 2004/08/30 - 20:14