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

നെടുമ്പാല ജയ്സെന്‍ jaisuvyas at gmail.com
Tue May 27 00:09:46 EDT 2008


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$
----------------------------------
2008/5/26 Lorenzo Becchi <lorenzo at ominiverdi.com>:

> http://www.gdal.org/gdal_translate.html
>
>
> നെടുമ്പാല ജയ്സെന്‍ wrote:
>
>> How to make correction with this info?
>>
>> 2008/5/26 നെടുമ്പാല ജയ്സെന്‍ <jaisuvyas at gmail.com <mailto:
>> jaisuvyas at gmail.com>>:
>>
>>    Hi, I created that .tif image with GRASS - r.out.gdal from my
>>    lat-long location.    The result I got when I used gdalinfo, is given
>> below.
>>    --------------------------------------
>>    user at localhost:/var/www/ka-map-1.0-20070205/htdocs/cgpdata$
>>    gdalinfo elevation.tif
>>    Driver: GTiff/GeoTIFF
>>    Files: elevation.tif
>>    Size is 660, 655
>>    Coordinate System is `'
>>    Image Structure Metadata:
>>      INTERLEAVE=PIXEL
>>    Corner Coordinates:
>>    Upper Left  (    0.0,    0.0)
>>    Lower Left  (    0.0,  655.0)
>>    Upper Right (  660.0,    0.0)
>>    Lower Right (  660.0,  655.0)
>>    Center      (  330.0,  327.5)
>>    Band 1 Block=660x4 Type=Byte, ColorInterp=Red
>>    Band 2 Block=660x4 Type=Byte, ColorInterp=Green
>>    Band 3 Block=660x4 Type=Byte, ColorInterp=Blue
>>    user at localhost:/var/www/ka-map-1.0-20070205/htdocs/cgpdata$
>>    ----------------------------------------------
>>
>>    2008/5/26 Lorenzo Becchi <lorenzo at ominiverdi.com
>>    <mailto:lorenzo at ominiverdi.com>>:
>>
>>        Jaysuvyas, is your tif a geotif?
>>        is the extent of the geotif correct?
>>        check with gdalinfo
>>
>>        ciao
>>        Lorenzo
>>
>>
>>
>>
>>        Alessio Di Lorenzo wrote:
>>
>>            Hi Jaysuvyas,
>>
>>            try to set the imageformat parameter in the LAYER METADATA
>>
>> http://ka-map.ominiverdi.org/wiki/index.php/Mapfile_Metadata_Configuration
>>
>>
>>            hope this helps...
>>
>>            alessio
>>
>>
>


-- 
(`'·.¸(`'·.¸ ¸.·'´)¸.·'´)
«´¨`·*Jaisen.*..´¨`»
(¸.·'´(¸.·'´ `'·.¸)`'·.¸)
¸.·´
( `·.¸
`·.¸ )
¸.·)´
(.·´
( `v´ )
`v´
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20080527/6a955e76/attachment.html


More information about the ka-Map-users mailing list