[Gdal-dev] Can gdal help get proj4 string from geotiff?

Fu Chen chen at yinyue123.com
Fri Oct 22 08:35:09 EDT 2004


Hi!
I am designing a program to show a lot of raster images on webgis mapserver. And I try to set the map projection as the projection of  the raster file.
My idea is to dynamicly generate a map file or dynamicly change some part of mapfile by php mapscript.
But they all need to get a PROJ4 PROJECTION description like

  "proj=tmerc"
  "ellps=WGS84"
  "lon_0=117"
  "x_0=500000"

from the information inside raster images such like geotiff.
Can GDAL api help me?

Any idea?
Thank you!


More information about the Gdal-dev mailing list