[Mapserver-users] rasters with more then 256 colors with gdal

Ed McNierney ed at topozone.com
Thu Jun 12 05:15:46 PDT 2003


Stephan -

Those look like two very different maps.  They don't appear to be the
same location, and one of them is a point elevation image (DEM) and the
other is a labeled vector contour map (I think).

I'm not a GRASS user at all, but I would first eliminate the vector
overlay and try to get the DEM working first by itself.  Can you confirm
(using a different visualization tool) that the DEM image is loaded
correctly into GRASS?  It obviously won't come OUT right if it didn't go
IN right.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
Phone: (978) 251-4242  Fax: (978) 251-1396
ed at topozone.com


-----Original Message-----
From: Stephan Holl [mailto:sholl at gmx.net] 
Sent: Thursday, June 12, 2003 4:09 AM
To: Ed McNierney
Cc: mapserver-users
Subject: Re: [Mapserver-users] rasters with more then 256 colors with
gdal

At Wed, 11 Jun 2003 12:21:53 -0400 Ed McNierney wrote:

Hello Ed,

> Can you give us a description (with pictures, if possible) of the
> result you're trying to produce?  It's hard to tell what "comparable
> to a geotiff" means, since a geotiff can look like anything at all. 
Of course I can send you some pics.
There is a dem-raster-file, which is read as geotiff and renders nicly
through mapserver.
http://www.8ung.at/stephan.holl/tmp/dem_from_tiff.png

but when I try to access the dem from a GRASS-database through gdal it
renders all black as seen here (some contours are above...)
http://www.8ung.at/stephan.holl/tmp/dem_from_grass_through_gdal.png

As I read on the list, there should be the processing-directive to
auto-scale the image.
But when I do 
LAYER 
  [...]
  PROCESSING "SCALE=AUTO"
  [...]
END
nothing happens.

I also tried to set in the lowest and the higest point o the dem
PROCESSING "SCALE=1089, 2332"
but same result as above.

What am I doing wrong ?!
-- 
Stephan Holl

GnuPG Key-ID: 11946A09 




More information about the MapServer-users mailing list