Hello,<br><br>Ogrinfo is for vector files, use gdalinfo instead.<br><br>Regards,<br><br>Yves Jacolin<br><br>----- Reply message -----<br>De : &quot;RolandB&quot; &lt;rbaatz@gmail.com&gt;<br>Pour : &lt;gdal-dev@lists.osgeo.org&gt;<br>Objet : [gdal-dev] GDAL interpolation of Gtiff / ESRI polygon.shp<br>Date : mer., déc. 21, 2011 12:13<br><br><br>Dear users,<br><br>I want use gdal for some file transformation.<br>Any help in solving the issue is greatly appreciated by me! It would<br>be great if one of you have solved already this problem or knows how to do<br>so.<br><br>By gdal_rasterize I did create a Gtiff raster from a ESRI Polygon shapefile.<br>This is successful. I have worked with the Gtiff successful later on with<br>$user&gt;: gdal_translate -of netCDF ./tmp/output.tif ./tmp/output2.nc<br>Still some commands do not work. I&#39;m looking forward for replies.<br><br><br>Where is the GTiff driver in the list below???<br>And what is the output layer of the Gtiff file? I tried &quot;1&quot;, &quot;Band1&quot;,<br>&quot;band&quot;. No file opening with any band.<br><br>So here are the commands and the error messages:<br><br>First:<br><br>*$user&gt;: * gdal_rasterize -a kennummer -init 0 -l Bk50_rur_wgs -te 5.93<br>50.39 6.74722 51.22886 -ts 59 94 -ot Int32 ./Input/bk50_rur_wgs.shp<br>./tmp/output.tif<br>0...10...20...30...40...50...60...70...80...90...100 - done.<br><br>*$user&gt;: *gdal_grid -a invdist:power=2.0:smoothing=1.0 -ot Int32 -txe<br>50.39 51.22886 -tye 5.93 6.74722 -outsize 59 94 -l Band1<br>./tmp/output.tif ./tmp/newout.tif<br>Unable to open input datasource &quot;./tmp/output.tif&quot;.<br><br>*$user&gt;:* &quot;gdalinfo ./tmp/output.tif&quot;<br><br>Driver: GTiff/GeoTIFF<br>Files: ./tmp/output.tif<br>Size is 59, 94<br>Coordinate System is:<br>GEOGCS[&quot;WGS 84&quot;,<br> &nbsp;DATUM[&quot;WGS_1984&quot;,<br> &nbsp; &nbsp; &nbsp;SPHEROID[&quot;WGS 84&quot;,6378137,298.257223563,<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;AUTHORITY[&quot;EPSG&quot;,&quot;7030&quot;]],<br> &nbsp; &nbsp; &nbsp;AUTHORITY[&quot;EPSG&quot;,&quot;6326&quot;]],<br> &nbsp;PRIMEM[&quot;Greenwich&quot;,0],<br> &nbsp;UNIT[&quot;degree&quot;,0.0174532925199433],<br> &nbsp;AUTHORITY[&quot;EPSG&quot;,&quot;4326&quot;]]<br>Origin = (5.930000000000000,51.228859999999997)<br>Pixel Size = (0.013851186440678,-0.008924042553191)<br>Metadata:<br> AREA_OR_POINT=Area<br>Image Structure Metadata:<br> INTERLEAVE=BAND<br>Corner Coordinates:<br>Upper Left &nbsp;( &nbsp; 5.9300000, &nbsp;51.2288600)<br>Lower Left &nbsp;( &nbsp; 5.9300000, &nbsp;50.3900000)<br>Upper Right ( &nbsp; 6.7472200, &nbsp;51.2288600)<br>Lower Right ( &nbsp; 6.7472200, &nbsp;50.3900000)<br>Center &nbsp; &nbsp; &nbsp;( &nbsp; 6.3386100, &nbsp;50.8094300)<br>Band 1 Block=59x34 Type=Int32, ColorInterp=Gray<br><br><br>*$user&gt;: *&quot;ogrinfo ./tmp/output.tif&quot;<br>FAILURE:<br>Unable to open datasource `./tmp/output.tif&#39; with the following drivers.<br> -&gt; ESRI Shapefile<br> -&gt; MapInfo File<br> -&gt; UK .NTF<br> -&gt; SDTS<br> -&gt; TIGER<br> -&gt; S57<br> -&gt; DGN<br> -&gt; VRT<br> -&gt; REC<br> -&gt; Memory<br> -&gt; BNA<br> -&gt; CSV<br> -&gt; GML<br> -&gt; GPX<br> -&gt; KML<br> -&gt; GeoJSON<br> -&gt; GMT<br> -&gt; SQLite<br> -&gt; PostgreSQL<br> -&gt; PCIDSK<br> -&gt; XPlane<br> -&gt; AVCBin<br> -&gt; AVCE00<br> -&gt; DXF<br> -&gt; Geoconcept<br> -&gt; GeoRSS<br> -&gt; GPSTrackMaker<br> -&gt; VFK<br> -&gt; PGDump<br> -&gt; GPSBabel<br> -&gt; SUA<br> -&gt; OpenAir<br> -&gt; PDS<br> -&gt; WFS<br> -&gt; HTF<br> -&gt; AeronavFAA<br><br>*$user&gt;:* gdal_translate -of netCDF ./tmp/output.tif ./tmp/output2.nc<br>Input file size is 59, 94<br><br>(This last should be done with the interpolated file, which I did not<br>manage so far.)<br><br>Best regards,<br>Roland<br><br>--<br>View this message in context: http://osgeo-org.1803224.n2.nabble.com/GDAL-interpolation-of-Gtiff-ESRI-polygon-shp-tp7114807p7114807.html<br>Sent from the GDAL - Dev mailing list archive at Nabble.com.<br>_______________________________________________<br>gdal-dev mailing list<br>gdal-dev@lists.osgeo.org<br>http://lists.osgeo.org/mailman/listinfo/gdal-dev<br>