D C -
 
The UNITS and EXTENT in your mapfile need to correspond to the units used in the projection of your data.  If they don't, then you're looking to reproject the data and there's some extra work you need to do.
 
gdalinfo will tell you the units and extent in the data source's native projection.  Changing those values in the mapfile won't change the input data, and you're simply requesting an output image that doesn't correspond to any part of your input data, so you (correctly) get nothing displayed.
 
What is it you're trying to do?  Are you trying to display the image in a different projection than the raster source image is using?  If so, what projection does the raster use and what output projection do you want?
 
    - Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
[EMAIL PROTECTED]
(978) 251-4242



From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] On Behalf Of d c
Sent: Friday, May 05, 2006 5:54 AM
To: [email protected]
Subject: [UMN_MAPSERVER-USERS] Raster image doesn't show

Hello,

I just changed the EXTENT of my mapfile which was in METERS to DD.
I just wrote down the corresponding decimals which were given by gdalinfo.

BEFORE
--------------
UNITS METERS
EXTENT -3174450 -3225675 2867175 2815950


AFTER
-----------

UNITS DD
EXTENT  -131.5 -56.5 134 -52.3

nb: the map is a raster im. of antarctica

The PROBLEM now is that THE MAP DOESN'T SHOW.
I don't get an error or anything, the map just doesn't show.

Any suggestions?

Thanks in advance.

Reply via email to