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, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to