Thanks Zoltan!

I tried immediately and it work well ... but MS
does not reproject the raster!
The only way to display correctly the
raster is apply a lat/lon projection to the map, the same of the
raster.

In the same directory  of the .dem is a world
file, with the same name of the Gtopo tile and extension ".wld",
I tried also to rename the world file to ".dmw", without
result.

I used .tif rasters, georeferenced with world files,
and MS reproject them without problem.

Another way to
georeference .dem rasters?
Anyone can help?

thanks, bye
.....................................pg

-------------------------- Messaggio originale
---------------------------
Oggetto: Re: [UMN_MAPSERVER-USERS] USGS
DEM in mapserver {Scanned}
Da:      "Siki Zoltan"
<[EMAIL PROTECTED]>
Data:    Gio, 25 Gennaio 2007 2:52 pm
A:
      [email protected]
--------------------------------------------------------------------------

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
> 
>



-- 
Pietro Giannini
Bytewise srl - Area GIS
41°50'38.58"N 12°29'13.39"E

Reply via email to