[Mapserver-users] mapscript help
Pramila R Gawas
pramila@darya.nio.org
Fri, 05 Mar 2004 12:46:21 +0530
i am using following mapscript :
Converted the image to 8 bits tiff
convert -depth=8 in.tif india.tif
Used gdaltindex to create shapefile as follows:
gdaltindex india.tif
Created world file "india.tfw" as follows:
2.93 #
0
0
6.50 #
65
-25
Extent of map in map file:
EXTENT 0 0 440 650
*****************************************
MAP
NAME 'test1'
SIZE 500 400
EXTENT 0 0 440 650
UNITS METERS
STATUS ON
LAYER
NAME india
STATUS DEFAULT
DATA india
TYPE RASTER
CLASS
COLOR 181 181 181
OUTLINECOLOR 0 0 0
END
END # counties
END
which gives a blank map on output
thanks
pramila
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users