On 11-09-06 10:14 AM, aphunter wrote:
Hello. I am new to MapServer and I am having some trouble. I've got a sample
MAP file that I created from some examples (and modified based on this
thread:
http://osgeo-org.1803224.n2.nabble.com/Cannot-display-raster-MS4W-shows-white-rectangle-instead-td4996020.html)
however, I am still getting blank images when using shp2img.

In my mapfile, if I change overview3.tif to overview3.png (which I manually
converted to a PNG), the images show up just fine. I made sure my extent was
setup properly as well based on the gdalinfo (below). Can anybody please
help me figure out why I get a blank image when using a TIF file, but not a
PNG as the input? MapServer was compiled using GDAL as opposed to the native
TIFF support as the readme said it was more efficient.
...
Upper Left  (  222400.000, 4210380.000) (120d 9'40.96"W, 37d59'55.05"N)
Lower Left  (  222400.000, 3595630.000) (119d57'12.04"W, 32d27'47.78"N)
Upper Right (  777900.000, 4210380.000) (113d50'6.76"W, 37d59'54.72"N)
Lower Right (  777900.000, 3595630.000) (114d 2'36.48"W, 32d27'47.51"N)
Center      (  500150.000, 3903005.000) (116d59'54.06"W, 35d16'12.63"N)

...

   EXTENT      222400 222400 421000 421000

A.P. Hunter,

The Y coordinate range in your EXTENT line does not intersect
the Y range of the image.  Try adjusting your EXTENT line
accordingly.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/warmerda
and watch the world go round - Rush    | Geospatial Software Developer

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to