comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Writ 2 KML
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Writ 2 KML [message #77964] Fri, 14 October 2011 05:06 Go to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Oct 12, 11:14 am, Dave Poreh <d.po...@gmail.com> wrote:
> On Oct 11, 9:46 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
>
>> I put your data into a text file, and, adapting from the example in
>> the help, did
>
>> a=(read_ascii('testkml.txt')).(0)
>> p=plot([0,0],/
>> nodata,xrange=[-180,180],yrange=[-90,90],map_projection='equ irectangular')
>> poly=polyline(a[0:1,*], /data, color='red', name='testkml.txt',
>> thick=2.)
>> p.save,'test.kml'
>
>> And got a file that seems to work in Google Earth. But I do not know
>> how to do it with variable colors (do not even know if Google Earth
>> supports it in a line).
>
> Thanks Paulo,
> i think it works just in 8.1 and i am using 8.0. do you have any other
> suggestion to do with 8.0?
> Cheers,
> Dave

Actually i can write my data to kml (http://imageshack.us/photo/my-
images/26/999ke.jpg/), but i need to color my data too.
Cheers,
Dave
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: normalisation of PCA bands
Next Topic: widget_control,/destroy crashing IDL 7.0

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 14:26:16 PDT 2025

Total time taken to generate the page: 1.28048 seconds