[Mapserver-users] Displaying an Elevation Profile

Frank Warmerdam warmerdam at pobox.com
Tue Mar 2 16:24:28 EST 2004


Zipora Sidel wrote:
> Hi,
> I am new to the MapServer and quite overwhelmed from all the options 
> available to the user.
> However, it is not clear to me if I can use the software for my 
> application.
> My data is a grid file (latitude, longitude, elevation). I would like to 
> display the map on the web and by clicking the mouse in two points, be 
> able to display the elevation profile between those two points.
> Any help will be appreciated.

Tzipi,

Your application would not be supported out of the box.  You could use
mapserver for the mapping, but when you want to process the profile request
that would have to be done via some other mechanism.  In theory you could
write a python cgi that used GDAL to sample along the profile line, and
then drew some sort of graph.  But your application will take substantial
customization and effort on MapServer.

Of course, it may be that not many other mapservers would support this
easily out of the box either.

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