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

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


I'm using PHP, but not above learning Python.  I don't have much experience with C++ either.

Where can I find more information on the gdal binding for PHP?  I saw a the gdal_tutorial.html, looks a bit intimidating.  Maybe I've gotten in over my head :)

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


Arthur, John wrote:
> Thanks Frank.  Is there any other ideas outside of mapserver, maybe?

John,

Well, you could use GDAL more directly.  What flavour of MapScript are you
using?  Perl?  Python?  PHP?  There are Python bindings for GDAL and I
think there are PHP bindings as well.  If you are using one of these it
should be possible to callout to GDAL directly to get the values.  This
would be slightly ackward, but doable.  If you are using perl, things
might be more challenging.  Perhaps then the best would be to write a small
external C++ utility to fetch the values.

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