[gdal-dev] Problem with OGRCreateCoordinateTransformation

Mateusz Loskot mateusz at loskot.net
Fri Apr 10 11:10:04 EDT 2009


Reinaldo Escada Chohfi wrote:
> Hello,
> 
> The code compiles because it is part of a bigger program.  This is
> just the portion on Coordinate Transformation.

It doesn't matter actually how big is the program.
Howard is referring to this particular assignment:

OGRSpatialReference oSourceSRS, oTargetSRS;
oSourceSRS="EPSG:4326";
oTargetSRS="EPSG:4989";


It is invalid C++ code and it would be surprising if this code even
compiles, no matter what compiler you use.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org


More information about the gdal-dev mailing list