Hi, I created that .tif image with GRASS - r.out.gdal from my lat-long location. <br>The result I got when I used gdalinfo, is given below. <br>--------------------------------------<br> user@localhost:/var/www/ka-map-1.0-20070205/htdocs/cgpdata$ 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><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;">Jaysuvyas, is your tif a geotif?<br>
is the extent of the geotif correct?<br>
check with gdalinfo<br>
<br>
ciao<br><font color="#888888">
Lorenzo</font><div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
Alessio Di Lorenzo wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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>
hope this helps...<br>
<br>
alessio<br>
<br>
നെടുമ്പാല ജയ്സെന് ha scritto:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have a problem. I was trying to set up ka-map with my own data. The problem is that the raster background pic I selected as base map, is not being displayed. no probs for vector layer. Any problem with the settings in my map file? the portions given below:- --------------------------<br>
MAP<br>
NAME cgp<br>
STATUS ON<br>
SIZE 600 300<br>
EXTENT 75.673957 11.543698 75.732038 11.601310<br>
UNITS DD<br>
IMAGECOLOR 255 255 255<br>
IMAGETYPE png<br>
-----------<br>
-----------<br>
LAYER<br>
NAME elevation<br>
TYPE RASTER<br>
STATUS ON<br>
DATA "cgpdata/cgpelevation.tif"<br>
END --------------------------------<br>
<br>
And the cgpelevation.tif Image I tried to use have a size 660x655 pixels, with a resolution 72x72 pixels and a size of 1.2 MB.<br>
<br>
I also tried with an image 2048x1024 pixels with a resolution 72x72 pixels and a size of 252.9 KB (compressed)<br>
<br>
No hope in both cases.<br>
<br>
When I issued <a href="http://localhost/ka-map/tile.php" target="_blank">http://localhost/ka-map/tile.php</a>, only a white square is seen as url icon in adress bar, may be a piece of my map, not sure. I can't understand where I did a mistake. What shall I do to get a correct display for raster? Any problem with EXTENT or SIZE?<br>
<br>
-- <br>
(`'·.¸(`'·.¸ ¸.·'´)¸.·'´)<br>
«´¨`·*Jaisen.*..´¨`»<br>
(¸.·'´(¸.·'´ `'·.¸)`'·.¸)<br>
¸.·´<br>
( `·.¸<br>
`·.¸ )<br>
¸.·)´<br>
(.·´<br>
( `v´ )<br>
`v´<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
ka-Map-users mailing list<br>
<a href="mailto:ka-Map-users@lists.maptools.org" target="_blank">ka-Map-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
<br>
</blockquote>
<br>
_______________________________________________<br>
ka-Map-users mailing list<br>
<a href="mailto:ka-Map-users@lists.maptools.org" target="_blank">ka-Map-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
<br>
</blockquote>
_______________________________________________<br>
ka-Map-users mailing list<br>
<a href="mailto:ka-Map-users@lists.maptools.org" target="_blank">ka-Map-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>(`'·.¸(`'·.¸ ¸.·'´)¸.·'´)<br>«´¨`·*Jaisen.*..´¨`»<br>(¸.·'´(¸.·'´ `'·.¸)`'·.¸)<br>¸.·´<br>( `·.¸<br>`·.¸ )<br>¸.·)´<br>(.·´<br>
( `v´ )<br> `v´