I can confirm that the offset fix works for me, using geographic CRS with SAD69 and WGS84 datums. I can't comment on the edge problem.
great job! Etienne ----- Original Message ----- From: Even Rouault <even.roua...@mines-paris.org> To: gdal-dev@lists.osgeo.org Cc: Hermann Peifer <pei...@gmx.eu>; Eli Adam <ea...@co.lincoln.or.us> Sent: Sunday, August 28, 2011 9:25:05 AM Subject: Re: [gdal-dev] Re: gdal_rasterize output off by one pixel/cell Le samedi 27 août 2011 11:14:00, Hermann Peifer a écrit : > Matthew, > > An absolute kludge-type of "solution" would be a) to make sure that the > GeoTIFF is larger than the shapefile when rasterising (in order to not > loose points at the edges) and b) to shift the GeoTIFF NW by 0.5 pixel > after rasterising, as I already wrote in my previous mail. > > There has been no traffic on Eli's ticket > http://trac.osgeo.org/gdal/ticket/3774 during the last 11 months, so my > guess is that the bug will remain for a while. It's strange that there > aren't more people stumbling across the issue. > I've applied a fix in trunk in http://trac.osgeo.org/gdal/changeset/22998 . Please test and confirm if it works for you. _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev