.map and .tab files

Jose Luis Gonzalez joseluismapserver at YAHOO.ES
Mon Jan 31 10:19:56 EST 2005


Hi everyone

I can not manage to draw a raster I have.
This raster is a .tiff file that has associated this .tab file:


!table

!version 300

!charset WindowsLatin2

Definition Table

File "praha.tif"

Type "RASTER"

(3445375,5560000) (0,0) Label "Pt 1",

(3474000,5560000) (4507,0) Label "Pt 2",

(3474000,5539250) (4507,3266) Label "Pt 3"

CoordSys Earth Projection 8, 1001, "m", 15, 0, 1, 3500000, 0

Units "m"

RasterStyle 7 0

When I put this data to the .map file I write it as:

MAP
    NAME praha
    STATUS ON
    IMAGETYPE PNG
    SIZE 800 500
    SHAPEPATH "/opt/SUNappserver/domains/domain1/applications/j2ee-modules/test8"
    EXTENT 3445375 5539250 3474000 5560000
    UNITS METERS
    PROJECTION "proj=tmerc" "lat_0=0" "lon_0=15" "k=1" 'x_0=0" "y_0=3500000" END
  WEB
   IMAGEPATH "/opt/SUNappserver/domains/domain1/applications/j2ee-modules/test8/"
   IMAGEURL "/test8/"
  END

  LAYER
   NAME "Nighttime lights"
   TYPE RASTER
   STATUS ON
   DATA "/opt/SUNappserver/domains/domain1/applications/j2ee-modules/test8/praha.tif"
       PROJECTION "proj=tmerc" "lat_0=0" "lon_0=15" "k=1" 'x_0=0" "y_0=3500000" END
  END

END

Am I doing it correctly?

Am I missing anything?

Thank you

Jose Luis




---------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050131/c1360e0d/attachment.html


More information about the mapserver-users mailing list