Hi
I have given the mapfile below and after modifying the value as you suggested in
your previous, I am not getting the raster image on my final output.
Thanks in advance
Raffle
NAME "Europe"
SIZE 200 200
STATUS ON
SYMBOLSET ....."
EXTENT 2700051.860 2462746.020 3582564.801 3012459.468
UNITS METERS
SHAPEPATH " "
WEB
IMAGEPATH ""
IMAGEURL ""
END
.......
LAYER
DATA "/usr/local/apache/htdocs/gmap/htdocs/data/europe.tif"
NAME "raster_back"
TYPE RASTER
STATUS ON
END
END
Raffle -
Zero is a perfectly nice number! There's nothing wrong with 0.0 in your world file, especially in the second and third lines. For the vast majority of raster images you will find that the fourth line is the same as the first line with the sign reversed, and the second and third lines are 0.0. A world file will often look like:
100.0
0.0
0.0
-100.0
12345.67
987654.32
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
Phone: +1 (978) 251-4242
Fax: +1 (978) 251-1396
[EMAIL PROTECTED]
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
Phone: +1 (978) 251-4242
Fax: +1 (978) 251-1396
[EMAIL PROTECTED]
From: UMN MapServer Users List [mailto:[EMAIL PROTECTED] On Behalf Of raffle peter
Sent: Saturday, May 06, 2006 9:07 AM
To: [email protected]
Subject: [UMN_MAPSERVER-USERS] Help needed in Raster/World file
Hi
I am trying to include a .tif file for raster background. For that i have to write a .tfw(world file) for the corresponding .tif file. The information that i need to put in the world file are X, Y Pixel size, rotational co-efficient and X, Y location of the center of the top left pixel. I am trying to find these values by using gdalinfo-- but some values are 0.0
in their corresponding field.
Can
anyone plz help me, how to get/set these values for the world file so that i can
keep my raster data georeferenced with other layers in my mapfile.
Thanks in advance
Raffle
24 FIFA World Cup tickets to be won with Yahoo! Mail. Learn more
