Hi, <br><br> thanks for the info, and I made a geotif from my tif image with gdal_translate. I tried with the newly created cgpelevation.tif too. But not appearing that also. The command switches I used with it given below. Any thing I missed, or that the problem is some thing else? <br>
-----------------------------------------<br>user@localhost:/var/www/ka-map-1.0-20070205/htdocs/cgpdata$ gdal_translate -of GTiff -co "TILED=YES" -a_ullr 75.673957 11.601310 75.732038 11.543698 elevation.tif cgpelevation.tif<br>
Input file size is 660, 655<br>0...10...20...30...40...50...60...70...80...90...100 - done.<br>user@localhost:/var/www/ka-map-1.0-20070205/htdocs/cgpdata$ gdalinfo cgpelevation.tif <br>Driver: GTiff/GeoTIFF<br>Files: cgpelevation.tif<br>
Size is 660, 655<br>Coordinate System is `'<br>Origin = (75.673957000000001,11.601310000000000)<br>Pixel Size = (0.000088001515152,-0.000087957251908)<br>Image Structure Metadata:<br> INTERLEAVE=PIXEL<br>Corner Coordinates:<br>
Upper Left ( 75.6739570, 11.6013100)<br>Lower Left ( 75.6739570, 11.5436980)<br>Upper Right ( 75.7320380, 11.6013100)<br>Lower Right ( 75.7320380, 11.5436980)<br>Center ( 75.7029975, 11.5725040)<br>Band 1 Block=256x256 Type=Byte, ColorInterp=Red<br>
Band 2 Block=256x256 Type=Byte, ColorInterp=Green<br>Band 3 Block=256x256 Type=Byte, ColorInterp=Blue<br>user@localhost:/var/www/ka-map-1.0-20070205/htdocs/cgpdata$<br>----------------------------------<br><div class="gmail_quote">
2008/5/26 Lorenzo Becchi <<a href="mailto:lorenzo@ominiverdi.com">lorenzo@ominiverdi.com</a>>:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<a href="http://www.gdal.org/gdal_translate.html" target="_blank">http://www.gdal.org/gdal_translate.html</a><div class="Ih2E3d"><br>
<br>
<br>
നെടുമ്പാല ജയ്സെന് wrote:<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
How to make correction with this info?<br>
<br></div>
2008/5/26 നെടുമ്പാല ജയ്സെന് <<a href="mailto:jaisuvyas@gmail.com" target="_blank">jaisuvyas@gmail.com</a> <mailto:<a href="mailto:jaisuvyas@gmail.com" target="_blank">jaisuvyas@gmail.com</a>>>:<div class="Ih2E3d">
<br>
<br>
Hi, I created that .tif image with GRASS - r.out.gdal from my<br>
lat-long location. The result I got when I used gdalinfo, is given below.<br>
--------------------------------------<br>
user@localhost:/var/www/ka-map-1.0-20070205/htdocs/cgpdata$<br>
gdalinfo elevation.tif<br>
Driver: GTiff/GeoTIFF<br>
Files: elevation.tif<br>
Size is 660, 655<br>
Coordinate System is `'<br>
Image Structure Metadata:<br>
INTERLEAVE=PIXEL<br>
Corner Coordinates:<br>
Upper Left ( 0.0, 0.0)<br>
Lower Left ( 0.0, 655.0)<br>
Upper Right ( 660.0, 0.0)<br>
Lower Right ( 660.0, 655.0)<br>
Center ( 330.0, 327.5)<br>
Band 1 Block=660x4 Type=Byte, ColorInterp=Red<br>
Band 2 Block=660x4 Type=Byte, ColorInterp=Green<br>
Band 3 Block=660x4 Type=Byte, ColorInterp=Blue<br>
user@localhost:/var/www/ka-map-1.0-20070205/htdocs/cgpdata$<br>
----------------------------------------------<br>
<br>
2008/5/26 Lorenzo Becchi <<a href="mailto:lorenzo@ominiverdi.com" target="_blank">lorenzo@ominiverdi.com</a><br></div>
<mailto:<a href="mailto:lorenzo@ominiverdi.com" target="_blank">lorenzo@ominiverdi.com</a>>>:<div class="Ih2E3d"><br>
<br>
Jaysuvyas, is your tif a geotif?<br>
is the extent of the geotif correct?<br>
check with gdalinfo<br>
<br>
ciao<br>
Lorenzo<br>
<br>
<br>
<br>
<br>
Alessio Di Lorenzo wrote:<br>
<br>
Hi Jaysuvyas,<br>
<br>
try to set the imageformat parameter in the LAYER METADATA<br>
<a href="http://ka-map.ominiverdi.org/wiki/index.php/Mapfile_Metadata_Configuration" target="_blank">http://ka-map.ominiverdi.org/wiki/index.php/Mapfile_Metadata_Configuration</a><br>
<br>
<br>
hope this helps...<br>
<br>
alessio<br>
<br>
</div></blockquote><br></blockquote></div><br><br clear="all"><br>-- <br>(`'·.¸(`'·.¸ ¸.·'´)¸.·'´)<br>«´¨`·*Jaisen.*..´¨`»<br>(¸.·'´(¸.·'´ `'·.¸)`'·.¸)<br>¸.·´<br>( `·.¸<br>`·.¸ )<br>¸.·)´<br>
(.·´<br>( `v´ )<br> `v´