[Gdal-dev] OGRSpatialReference include?

Frank Warmerdam warmerdam at pobox.com
Wed Nov 19 13:56:39 EST 2003


Andrew Finley wrote:
> Just a quick question, Im not sure which header should be included to
> use the OGRSpatialReference variable.
> 
>  OGRSpatialReference prjInfo;
> 
> compiler says `OGRSpatialReference' undeclared (first use this
>    function)

Andrew,

Use ogr_spatialref.h for C++ definition related to OGRSpatialReference
and OGRCoordinateTransformation.

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