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 #77991 is a reply to message #77985] Tue, 11 October 2011 12:46 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
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).
[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: Sun Oct 12 10:39:20 PDT 2025

Total time taken to generate the page: 1.91976 seconds