Steve,

You don't have to copy the raster tiles, just the .tab file.  The .tab file
is a text file, which for your raster tables refers to the .tif file & you
can set up as many .tab files as you like referring to the same .tif file -
they don't have to be in the same folder - you can include a full pathname
in the File line.  For example, here are some excerpts from .tab files.

1. The original colour representation (I've named it z_col_tv.tab) -

Definition Table
  File "z_lzw_tv.tif"
  Type "RASTER"
  (500000,100000) (1,1) Label "NW",
  (600000,100000) (4001,1) Label "NE",
  (600000,90000) (4001,401) Label "SE",
  (500000,90000) (1,401) Label "SW"
  CoordSys Earth Projection 8, 79, "m", -2, 49, 0.9996012717, 400000,
-100000
  Units "m"

2. A greyscale representation of the same .tif file (I've named it
z_gry_tv.tab) -

Definition Table
  File "z_lzw_tv.tif"
  Type "RASTER"
  (500000,100000) (1,1) Label "NW",
  (600000,100000) (4001,1) Label "NE",
  (600000,90000) (4001,401) Label "SE",
  (500000,90000) (1,401) Label "SW"
  CoordSys Earth Projection 8, 79, "m", -2, 49, 0.9996012717, 400000,
-100000
  Units "m"
  RasterStyle 3 1

RasterStyle 3 is the setting that turns greyscale on.
To adjust contrast and brightness, add further lines using RasterStyle 1
for brightness and 2 for contrast.  Thus
  RasterStyle 1 70
  RasterStyle 2 70
sets both to 70 percent.

You can do all this using a text editor (or program).

Regards

Leslie Last
------------------------------------------------------

             -    D O T T E D  E Y E S    -

Consultancy  -  Geographical Information  -  Marketing

------------------------------------------------------
web: http://www.dottedeyes.com
email: [EMAIL PROTECTED]
telephone: +44 (0)1527 854830


----------
> From: Steve Halsall <[EMAIL PROTECTED]>
> To: '[EMAIL PROTECTED]'
> Subject: MI colour/greyscale raster
> Date: 10 August 1999 13:47
> 
> Hi
> 
> I am using the UK Ordnance Survey 1:50,000 raster mapping (tif format)
with their Boundary Line product. The tif map tiles are in colour which is
great for when I want to view an area. However I am mainly interested in
the boundaries (from Boundary Line) and just need the raster mapping for
reference. For printing purposes I change the raster image to greyscale and
change the contrast and brightness to about 70% using the Adjust Image
Style option in Mapinfo. This produces the output that I want but
unfortunately it appears to make this change to the raster map rather than
in the MapInfo table or the Workspace. This causes problems as the next
time I open the raster map it may not be in the format that I require.
> 
> The only solution I have come up with is to copy the raster tiles (84 of
them!) and rename them, then I will have to rename the relevant MapInfo
registration tables (and edit them to point to the correct raster file). I
can then use both sets of raster maps within MapInfo switching them off and
on as required.
> 
> Before I go ahead I would like to ask list members if they have found an
easier way?
> 
> Steve Halsall
> LGBCW
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to