[gdal-dev] Point Transformation

Mateusz Loskot mateusz at loskot.net
Tue Mar 18 12:46:50 EDT 2008


Kyle Shannon wrote:
> Can someone post an example of how to read in the ESRI string and use the
> importFromESRI() method to set a OGRSpatialReference?

Here is example in Python code that should be helpful to understand how 
to use the API. Also, it should be pretty easy to translate it to C/C++:

http://trac.osgeo.org/gdal/browser/trunk/autotest/osr/osr_esri.py#L176

> I am not sure I
> understand why a char** is passed instead of a char*.  Is this a good way to
> do this?

It's explained int he API reference:

http://gdal.org/ogr/classOGRSpatialReference.html#f91af2639702e2793daf93ffe231b577

The input parameter is a list of strings.

Greetings
-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the gdal-dev mailing list