aspect ratio

7 views
Skip to first unread message

YHW

unread,
Jun 19, 2008, 10:24:52 AM6/19/08
to KML Developer Support - KML Server Side Scripting
Can google earth performs aspect ratio?
I looked at the kml of fightline , it seems taht it makes use of the
aspect ratio. Is it right?

If it is the aspect ratio, how to do this? Can i perform it with the
help of python script?

ManoM

unread,
Jun 20, 2008, 6:26:40 PM6/20/08
to KML Developer Support - KML Server Side Scripting
Hi YHW,

Earth itself and KML don't have any tools for dealing with this. You'd
probably want to use something like ImageMagick for that:
http://www.imagemagick.org/script/index.php

Mano

YHW

unread,
Jun 25, 2008, 11:08:21 PM6/25/08
to KML Developer Support - KML Server Side Scripting
Hi Mano,

Thanks for your reply. I took a look on the webpage. But I still have
a question on how to write a script to achieve the aspect ratio by
using ImageMagick because the website doesn't talk much on this topic.
Can you give me some simple examples?

Is that possible to implement the ImageMagick script/code into Google
Earth?

Besides, does the example below (the flight animation) performs the
aspect ratio with the help of ImageMagick?

http://earth.google.com/ig/directory?synd=earth&pid=earth&num=6&hl=zh-TW&url=http://www.google.com/mapfiles/mapplets/earthgallery/International_Flights_Animation.xml&output=iframe

Thanks,
YHW
> > help of python script?- 隱藏被引用文字 -
>
> - 顯示被引用文字 -

ManoM

unread,
Jun 26, 2008, 4:37:51 PM6/26/08
to KML Developer Support - KML Server Side Scripting
Hi YHW,

I don't actually know much about ImageMagick, just that a lot of
people use it for image manipulation.

You can't use it in Google Earth, with doesn't support scripting.
However, you could use JavaScript in the Google Earth API:
http://www.google.com/search?q=javascript+imagemagick

http://code.google.com/apis/earth/

Mano

On Jun 25, 8:08 pm, YHW wrote:
> Hi Mano,
>
> Thanks for your reply. I took a look on the webpage. But I still have
> a question on how to write a script to achieve the aspect ratio by
> using ImageMagick because the website doesn't talk much on this topic.
> Can you give me some simple examples?
>
> Is that possible to implement the ImageMagick script/code into Google
> Earth?
>
> Besides, does the example below (the flight animation) performs the
> aspect ratio with the help of ImageMagick?
>
> http://earth.google.com/ig/directory?synd=earth&pid=earth&num=6&hl=zh...

YHW

unread,
Jun 27, 2008, 12:04:41 PM6/27/08
to KML Developer Support - KML Server Side Scripting
Thank you very much!
> > > - 顯示被引用文字 -- 隱藏被引用文字 -
>
> - 顯示被引用文字 -
Reply all
Reply to author
Forward
0 new messages