[Mapserver-users] RE: Using Mapserver & GDAL to find elevation

Arthur, John John.Arthur at T-Mobile.com
Wed Feb 11 15:28:57 EST 2004


Thanks Frank.  Is there any other ideas outside of mapserver, maybe?

-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com]
Sent: Wednesday, February 11, 2004 3:19 PM
To: Arthur, John
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: Using Mapserver & GDAL to find elevation


Arthur, John wrote:
> Hello all,
> 
> 	I have a project where I need to be able to find the ground elevation 
 >of coordinates on the fly.  The file format we have is supposedly a proprietary
 >format, but I believe it is close to the "ArcInfo Binary Grid".  How would I go
 >about finding the elevation using mapscript (or some other way)?  Will mapserver
 >even read this format (by way of GDAL/OGR)?

John,

GDAL will read Arc/Info Binary Grids, so if it is sufficient close to this,
it may work.

However, currently MapServer and MapScript do not provide a way to query
raster values.  The only thing you can do with rasters is render them in a
mapview.

There is an intent to get query operations (in the usual mapserver sense)
working for rasters as well as vectors.  At that point there might be some
mechanism provided for reading query results back from within MapScript.
But that isn't going to be immediate.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list