Opened 10 years ago
Last modified 10 years ago
#5663 closed defect
listgeo not printing corners correctly for PixelIsPoint — at Initial Version
Reported by: | normvcr | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Utilities | Version: | unspecified |
Severity: | normal | Keywords: | libgeotiff, listgeo, pixelIsPoint |
Cc: | normvcr@… |
Description
In GTIFPrintCorners(), the following code/hack needs to be added at the very top:
if( PixelIsPoint ) {
--xsize; --ysize;
}
For example, suppose an image extent has a width of 10m, with 5m pixels.
In PixelIsArea, the image has 2 pixels in the width, at locations 2.5m and 7.5m.
In PixelIsPoint, the image has 3 pixels in the width, at 0m, 5m and 10m.
Note:
See TracTickets
for help on using tickets.