[Mapserver-users] mapscript help

Pramila R Gawas pramila at darya.nio.org
Thu Mar 4 23:16:21 PST 2004


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






More information about the MapServer-users mailing list