<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Apologies if this is not the right place to ask this.<br>
<br>
I use gdal to read and write datafiles for my landscape evolution model. I have been trying to get the output rasters to include the appropriate spatial referencing, in this case the OS National Grid (EPSG 27700).  I used the guidance in the raster api tutorial
 and my code has the following line:<br>
<br>
        OSRSetWellKnownGeogCS( hSRS, "EPSG:27700" );<br>
<br>
Alas this is clearly not recognised as nothing is written in the header i.e. using gdalinfo I just get Coordinate System is ' ' .  If I substitute EPSG:4227 then the information appears - but is, of course in the wrong place!<br>
<br>
If I use gdalsrsinfo EPSG:27700 I get the correct information.<br>
<br>
I am clearly doing something wrong and would appreciate any suggestion.<br>
<br>
Many thanks<br>
<br>
Darrel<br>
<br>
Prof Darrel Maddy<br>
Chair of Quaternary Science<br>
Newcastle University<br>
<br>
<br>
</div>
</body>
</html>