[gradsusr] geotiff kml question

Jennifer Adams jma at cola.iges.org
Tue Nov 8 08:24:40 EST 2011


On Nov 8, 2011, at 6:08 AM, teresa tiberi wrote:

> hi,
> 
> I'm using in grads v2.0.a7.1 geotiff and kml code to obtain a colored
> map of temperature, I attach the output files ...
> I obtain output (geokml_*) using the kml code
>  'set gxout kml'
>  'set kml geokml_mediter_t2m_42
>  'd t2-273.15'
> 
> if I try with geotiff code I obtain output (geotiff_*)
> 'set geotiff geotiff_mediter_t2m_42
>  'set gxout geotiff'
>  'd t2-273.15'
> 
> in kml case) the problem is that geokml_*.tif is all black in
> googlemap and in a lot of graphic softwares.
In google earth and google maps, you must open the .kml file, not the .tif file. 

> in geotiff case) the problem is that geotiff_*.tif is in gray scale
The color scale of the display is controlled by the tool you are using to display -- check the properties menu for color scale controls. The geotiff file is just a grid of numbers with georeferencing information. 

> 
> could you tell me why?is there some problems in code?
> 
> and as last note: into
> set kml <type> nome
> -poly doesn't work.
The -poly option was added in version 2.0.0. 
--Jennifer

> 
> thanks in advance for help
> 
> Teresa
> 
> 2009/2/24 Jennifer Adams <jma at cola.iges.org>:
>> On Feb 24, 2009, at 12:25 PM, Arlindo da Silva wrote:
>>> 
>>> Would it make sense to add a convenience -kml option to printim?
>> 
>> No. The printim code doesn't know anything about the grid structure or
>> the dimension environment -- it only knows about what's in the
>> graphics metafile. The geolocaiton information is not available at
>> that point.
>> 
>> This technique of substituting the .tif image file created with 'gxout
>> kml' with another image created with printim is a hack -- an
>> unofficial alternative if you want something besides a pixelated image
>> of your data values.
>> 
>> By the way, I have noticed that Google Earth's smoothing algorithm can
>> make the GrADS images look really awful -- anyone know how to turn off
>> that feature?
>> 
>> Jennifer
>> 
> <geokml_mediter_t2m_42.tif><geotiff_mediter_t2m_42.tif><geokml_mediter_t2m_42.kml>_______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20111108/bdecc7eb/attachment-0003.html 


More information about the gradsusr mailing list