USGS DEM in mapserver {Scanned}

Siki Zoltan siki at AGT.BME.HU
Thu Jan 25 08:52:49 EST 2007


Hi Pietro,

I'm using Gtopo data. Simpli add a layer to your map file.
AFAIK gdal can read it, it may depend on gdal version.
My layer definition looks like:

LAYER
	NAME "e020n90"
	DATA "e020n90.dem"
	TYPE RASTER
	STATUS DEFAULT
	CLASSITEM '[pixel]'
	CLASS
		NAME "Nodata"
		EXPRESSION ([pixel] < 1)
		COLOR 0 0 255
	END
	CLASS
		NAME "0 - 50 m"
		EXPRESSION ([pixel] >= 1 AND [pixel] < 50)
		COLOR 0 119 32
	END
   ...
END #of layer

Bye
Zoltan 

On Thu, 25 Jan 2007, Pietro Giannini wrote:

> 
> 
> Hi list,
> Is anyone experienced about the USGS gTopo30 dataset
> and his use with mapserver?
> This dataset contain a binary elevation
> raster (.dem) in
> 16 bit signed integer.
> 
> Data is here:
> (http://edc.usgs.gov/products/elevation/gtopo30/gtopo30.html)
> 
> thank for any hint
> 
> pg
> 
> 



More information about the mapserver-users mailing list