[Mapserver-users] .tiff resolution
Hankley, Chip
Chip.Hankley at GASAI.Com
Fri Feb 7 08:40:30 PST 2003
Charlton...
I'm getting different extents than you are. My calcs:
EXTENT 593226.92463 3623834.999945 605723.07543 3637755
Here's how I did it:
31.24 - cell width
0.00 - rotation
0.00 - rotation
-31.28 - cell height
593226.92 - ULx (NOTE UL is Upper Left Corner)
3637755.00 - ULy
400.00 - Image Width (pixels)
445.00 - Image Height (pixels)
Top 3637755.00 (ULy)
Bottom 3623835 (ULy + [cell height] * [image height])
Left 593226.92 (ULx)
Right 605723.0754 (ULx + [cell width] * [image width])
As far as image quality goes, make sure you're comparing apples to apples.
Is the native image 8 bit (256 colors) or 24 bit? Also, if it's a TIFF,
you're output is likely either PNG, or GIF. This also will result in some
differences.
Chip
More information about the MapServer-users
mailing list