[ka-Map-users] Raster image - base map is not displayed

Lorenzo Becchi lorenzo at ominiverdi.com
Wed May 28 06:19:07 EDT 2008


not sure about you problem
a possible hint:

use
    "imageformat" "jpeg"
in layer's metadata to be sure it will be drawn as jpg.

in any case your file doesn't seem to be that big (660, 655), am I wrong?

ciao
Lorenzo



നെടുമ്പാല ജയ്സെന്‍ wrote:
> Hai.., I got it.. Thanks.. I deleted all the temporary files in 
> /tmp/kacache/ and reloaded ka-map. I got my background picture. But 
> now the problem is, the resolution of that picture is very poor, 
> comparing to my original picture when viewed in a pictureviewer. What 
> shall I do to look it as the same as my original picture?   
>
> 2008/5/27 നെടുമ്പാല ജയ്സെന്‍ <jaisuvyas at gmail.com 
> <mailto:jaisuvyas at gmail.com>>:
>
>     Hi,
>
>          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?  
>     -----------------------------------------
>     user at 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
>     Input file size is 660, 655
>     0...10...20...30...40...50...60...70...80...90...100 - done.
>     user at localhost:/var/www/ka-map-1.0-20070205/htdocs/cgpdata$
>     gdalinfo cgpelevation.tif
>     Driver: GTiff/GeoTIFF
>     Files: cgpelevation.tif
>
>     Size is 660, 655
>     Coordinate System is `'
>     Origin = (75.673957000000001,11.601310000000000)
>     Pixel Size = (0.000088001515152,-0.000087957251908)
>
>     Image Structure Metadata:
>       INTERLEAVE=PIXEL
>     Corner Coordinates:
>     Upper Left  (  75.6739570,  11.6013100)
>     Lower Left  (  75.6739570,  11.5436980)
>     Upper Right (  75.7320380,  11.6013100)
>     Lower Right (  75.7320380,  11.5436980)
>     Center      (  75.7029975,  11.5725040)
>     Band 1 Block=256x256 Type=Byte, ColorInterp=Red
>     Band 2 Block=256x256 Type=Byte, ColorInterp=Green
>     Band 3 Block=256x256 Type=Byte, ColorInterp=Blue
>
>     user at localhost:/var/www/ka-map-1.0-20070205/htdocs/cgpdata$
>     ----------------------------------
>
>
>
> -- 
> (`'·.¸(`'·.¸ ¸.·'´)¸.·'´)
> «´¨`·*Jaisen.*..´¨`»
> (¸.·'´(¸.·'´ `'·.¸)`'·.¸)
> ¸.·´
> ( `·.¸
> `·.¸ )
> ¸.·)´
> (.·´
> ( `v´ )
> `v´ 


More information about the ka-Map-users mailing list