Dear all,

In attachment a fix to the toPolygon method. In a raster the origin of
the pixel coordinate system is on the top left corner.

The toPoint method seems to have already been corrected.

Cheers,

Luís