[mapserver-users] using gdalinfo.exe

Ken S. Elvehjem elvehjem at runestone.net
Wed Apr 9 07:22:58 PDT 2008


OK,

I'll check it out.

Thanks once again for the timely reply!

Ken


----- Original Message ----- 
From: "Frank Warmerdam" <warmerdam at pobox.com>
To: "Ken S. Elvehjem" <elvehjem at runestone.net>
Cc: <mapserver-users at lists.osgeo.org>
Sent: Wednesday, April 09, 2008 9:22 AM
Subject: Re: [mapserver-users] using gdalinfo.exe


> Ken S. Elvehjem wrote:
>> Frank,
>>
>> Thank you for the response.  Is there some other way to get some of  the 
>> "gdal  info" with a simple query?  I'm not stuck on using gdalinfo... it 
>> just seemed like a good idea.
>>
>> What I need is the UTM Zone -- that's already specified (I guess) in the 
>> EPSG statement in the mapfile.  Can it be extracted from there over the 
>> web by way of a URL / query?
>
> Ken,
>
> There is no stock mechanism for this, but you could write a custom
> mapscript application to pick this information out of the map file and
> return it as a web service.  I would note though that MapServer does not
> normally provide access to stuff like file bounds to mapscript so there
> it is hard to provide very much information using mapscript itself.
>
> You could try setting up the dataset as WCS accessable, and then the
> WCS DescribeCoverage method would provide a variety of information about
> the file.
>
> 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    | President OSGeo, http://osgeo.org
> 




More information about the MapServer-users mailing list