Re: [gdal-dev] Get specific parameter in CRS information with Python gdal

2016-10-18 Thread Even Rouault
Le mardi 18 octobre 2016 11:38:08, Ramiro Marco Figuera a écrit : > Hi, > > I have a tif image containing its CRS. I would like to extract the > parameter "central_meridian". I have the following piece of code: > > from osgeo import gdal,osr > ds=gdal.Open(r'hrsbf5c_07_if177l_trr3_CAT_scale_t

[gdal-dev] Get specific parameter in CRS information with Python gdal

2016-10-18 Thread Ramiro Marco Figuera
Hi, I have a tif image containing its CRS. I would like to extract the parameter "central_meridian". I have the following piece of code: from osgeo import gdal,osr ds=gdal.Open(r'hrsbf5c_07_if177l_trr3_CAT_scale_trial_p.img.tif') prj=ds.GetProjection() print prj srs=osr.SpatialReference(w