[postgis-devel] Possible error in calc_tile_size function of raster2pgsql

Varun Saraf varunsaraf14 at gmail.com
Tue Jul 15 10:13:35 PDT 2014


Hi,

For the calc_tile_size function [1], consider a case where it is called
with : dimX > max and dimY <= max.

The return values will be :
*tileX =** -1*, tileY = dimY

Which should not be the case, or am I missing something here?

[1] http://svn.osgeo.org/postgis/trunk/raster/loader/raster2pgsql.c

Regards,
Varun Saraf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20140715/fcc88fef/attachment.html>


More information about the postgis-devel mailing list