<html>
<body>
<font size=3>Folks,<br><br>
When I use the following piece of code in a program I can get the Shape
files with the correct projection parameters in a .prj ESRI style
file.<br><br>
const char *pszDriverName = "ESRI Shapefile";<br>
OGRSFDriver *poDriver;<br>
OGRRegisterAll();<br>
.<br>
.<br>
.<br>
OGRSpatialReference oSRS;<br>
oSRS.SetWellKnownGeogCS( "EPSG:4326" );<br><br>
oSRS.morphToESRI();<br>
oSRS.exportToWkt( &pszWKT );<br><br>
FILE *prj1;<br>
prj1 = fopen("..\point_out.prj","w");<br>
fprintf(prj1, "%s\n", pszWKT );<br><br>
However, if I specify <br><br>
const char *pszDriverName = "MapInfo File";<br>
.<br>
.<br>
.<br>
OGRSpatialReference oSRS;<br>
oSRS.SetWellKnownGeogCS( "EPSG:4326" );<br><br>
I don't get the MapInfo files with the projection parameters. I get
the MapInfo files as a non-earth.<br><br>
Any suggestions are welcomed to help in getting the MapInfo files with
the correct projection information.<br><br>
Thanks in advance.<br><br>
Reinaldo<br><br>
</font></body>
</html>