[mapserver-users] extracting geo data from a tiff

Jessica Clarke Jessica.Clarke at forestrytas.com.au
Mon Apr 30 01:18:20 EDT 2012


Hi, 
I'm trying to find out the geographic coordinates of an output map. 
Please correct me if there is an easier way, but I have added the GDAL/GTIFF output format to my mapfile, and I am calling it with ...&qformat=GTiff&... in my URL so that it selects that instead of the png output format (which is already in use by a large number of people). 
 
What I want to do now, is produce a report that gives the top-left coordinate of the map. 
Is there a way to extract this information and produce a report? 
 
My thought process at the moment:
Include another outputformat which is text so my URL would be ...&qformat=GTiff+report&...
But I'm not sure how to do that exactly, or how to extract the coordinates. 
 
I have run GDAL info in cmd, so I'm aware of the data that is contained. 
 
Any advice would be appreciated.  I am hoping I'm on the right track at the moment. 
 
Thanks in advance, 
Jess 

---------------------------------------------------------------------------------------------------------------------------------------------
This transmission is intended solely for the person or organisation to whom it is addressed.
It is confidential and may contain legally privileged information.
If you have received this transmission in error, you may not use, copy or distribute it.
Please advise us by return e-mail or by phoning 61 3 6235 8333 and immediately delete the transmission in its entirety.
We will meet your reasonable expenses of notifying us.
Despite our use of anti-virus software, Forestry Tasmania cannot guarantee that this transmission is virus-free.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120430/28a776ed/attachment.html


More information about the mapserver-users mailing list