[Gdal-dev] GDAL ImportfromEPSG Error

Cho Hyun-Kee hkcho79 at hotmail.com
Tue Apr 25 00:32:42 EDT 2006


Hi!
This is my first time using GDAL.
I want to set projection information but when I use ImportfromEPSG() 
function, ogrErr return 6.
The code is like this,

#include "include\ogr_spatialref.h"
void main()
{
 	OGRSpatialReference CustomCoordinateInform;
	
	OGRErr ogrErr;

	ogrErr = CustomCoordinateInform.importFromEPSG(4001); 
         // ogrErr = 6
}
How can get PCS,GCS Inform using ImportfromEPSG() function???





More information about the Gdal-dev mailing list