[gdal-dev] reproject
Frank Warmerdam
warmerdam at pobox.com
Sat Jan 29 11:56:36 EST 2011
On 11-01-29 04:55 AM, Mohammed Rashad wrote:
> is there any function in ogr to export the projection string to proj4.
>
> there is a function called importFromProj4 but nothing like export from proj4.
> i have the wkt of projection read from .prj file
> I need to convert it to proj4 string.
Rashad,
The method is OGRSpatialReference::exportToProj4(). There are corresponding
C, C#, python, java, etc entry points.
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 gdal-dev
mailing list