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

നെടുമ്പാല ജയ്സെന്‍ jaisuvyas at gmail.com
Mon May 26 08:26:37 EDT 2008


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>:

> 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
>>
>> നെടുമ്പാല ജയ്സെന്‍ ha scritto:
>>
>>>   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:- --------------------------
>>> MAP
>>>  NAME cgp
>>>  STATUS ON
>>>  SIZE 600 300
>>>  EXTENT 75.673957 11.543698 75.732038 11.601310
>>>  UNITS DD
>>>  IMAGECOLOR 255 255 255
>>>  IMAGETYPE png
>>> -----------
>>> -----------
>>> LAYER
>>>   NAME elevation
>>>   TYPE RASTER
>>>   STATUS ON
>>>   DATA "cgpdata/cgpelevation.tif"
>>>  END  --------------------------------
>>>
>>> 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.
>>>
>>> I also tried with an image 2048x1024 pixels with a resolution 72x72
>>> pixels and a size of 252.9 KB (compressed)
>>>
>>> No hope in both cases.
>>>
>>> When I issued http://localhost/ka-map/tile.php, 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?
>>>
>>> --
>>> (`'·.¸(`'·.¸ ¸.·'´)¸.·'´)
>>> «´¨`·*Jaisen.*..´¨`»
>>> (¸.·'´(¸.·'´ `'·.¸)`'·.¸)
>>> ¸.·´
>>> ( `·.¸
>>> `·.¸ )
>>> ¸.·)´
>>> (.·´
>>> ( `v´ )
>>> `v´
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> ka-Map-users mailing list
>>> ka-Map-users at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/ka-map-users
>>>
>>>
>>
>> _______________________________________________
>> ka-Map-users mailing list
>> ka-Map-users at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/ka-map-users
>>
>>  _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>



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


More information about the ka-Map-users mailing list