<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2>Stephen,</FONT></SPAN></DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff size=2>One of
the guys on the sig sent me a LINUX script that you can put in your lat and lon
and the perl script grabs google maps from you center - so many tiles wide and
high.</FONT></SPAN></DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff size=2>You
then make up a geo file for the finished tiled image. </FONT></SPAN></DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff size=2>I can
now "grow" as many google maps offile .</FONT></SPAN></DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2>#!/usr/bin/perl</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff size=2>#
download a bunch of google map tiles and stitch them together<BR># Shifty Death
Effect Done by Noah Vawter in May, 2005.<BR># Computing Culture Groop, MIT Media
Lab.<BR># Modified for compatibility with maps.7.js -> Mmaps.10.js by Ian
(June 2005)<BR># Modified for currently URL format used by google<BR># and PNG
support (instead GIF) by Andreas Weller, DF1PAW (Aug. 2007)</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff size=2># with
width 12<BR>$sx = 3790;$sy = 2374; # DF1PAW home<BR>#$sx =
947;<BR>#$sy = 523;</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff size=2>$w=10;
# Width<BR>$h=10; # Hight</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2>open(PEDG,">pedg.html");</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2>for($yd=0;$yd<$h;$yd++)<BR>{<BR>
for($xd=0;$xd<$w;$xd++)<BR>
{<BR>
$x=int($sx+$xd-$w/2);<BR>
$y=int($sy+$yd-$h/2);<BR> $localnem =
"tile$x,$y.png";</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2> # do we already have it
locally?<BR> $val =
open(CHECK,$localnem);<BR> if($val ==
0){<BR> # <A
href="http://mt.google.com/mt?v=w2.4&x=4190&y=6012&zoom=3">http://mt.google.com/mt?v=w2.4&x=4190&y=6012&zoom=3</A><BR>
# 523 wget "<A
href="http://mt.google.com/mt?v=.38&x=5376&y=-730&zoom=2">http://mt.google.com/mt?v=.38&x=5376&y=-730&zoom=2</A>"<BR>
# have a look at the Url and modify these
lines:<BR>
$req="<A
href="http://mt.google.com/">http://mt.google.com/</A>";<BR>
$nem="mt?v=w2.60&x=$x&y=$y&zoom=5";<BR>
$url = $req .
$nem;<BR>
print
"$url\n";<BR>
$cmd1="wget \"$url\"
";<BR> print
"$cmd1\n";<BR>
system($cmd1);<BR>
# $nem =~
s/\?/@/;<BR>
$cmd2="mv \"$nem\"
$localnem";<BR>
print
"$cmd2\n";<BR>
system($cmd2);<BR>
}</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2> print PEDG "<img
src=$localnem>\n";<BR> }<BR>}</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff size=2>#
concatenate horizontal maps<BR># convert tile005000.png -page +129+0
tile006000.png -page +258+0 tile007000.png -mosaic o.png</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2>for($yd=0;$yd<$h;$yd++)<BR>{<BR> $cmd3 = "convert
";</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2> for($xd=0;$xd<$w;$xd++)<BR>
{<BR>
$x=int($sx+$xd-$w/2);<BR>
$y=int($sy+$yd-$h/2);<BR> $localnem =
"tile$x,$y.png";</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2> $xsh =
$xd*128;<BR> $ysh =
$yd*128;<BR> $cmd3 .= "$localnem
";<BR> }</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2> $cmd3 .= "+append tmp$yd.png";<BR>
print "$cmd3\n";<BR> system($cmd3);<BR>}</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff size=2>#
concatenate horizontal strips<BR>$cmd4 = "convert ";</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2>for($yd=0;$yd<$h;$yd++)<BR>{<BR> $localnem =
"tmp$yd.png";<BR> $cmd4 .= "$localnem
";<BR>}</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff size=2>$cmd4
.= "-append output.png";<BR>print
"$cmd4\n";<BR>system($cmd4);</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=531174520-13092007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>----------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>Andrew Rich VK4TEC</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:vk4tec@people.net.au">vk4tec@people.net.au</A></FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="http://www.tech-software.net/">http://www.tech-software.net</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Stephen - K1LNX
[mailto:k1lnx@k1lnx.net]<BR><B>Sent:</B> Friday, 14 September 2007 6:24
AM<BR><B>To:</B> vk4tec@people.net.au<BR><B>Subject:</B> Re: [aprssig] ISS
Traffic<BR><BR></FONT></DIV>Good work as always Andrew :) <BR><BR>Hey had a
question on this:<BR><BR><A
href="http://vk4tec.no-ip.org/snapshot.jpg">http://vk4tec.no-ip.org/snapshot.jpg</A><BR><BR>What
are you doing with your maps? They look great! I'd like mine to look the same
way as far as color schemes etc using the Tiger maps but can't seem to find
the time to learn how they work..... <BR><BR>73's<BR>Stephen <BR>K1LNX<BR><BR>
<DIV><SPAN class=gmail_quote>On 9/13/07, <B class=gmail_sendername>Andrew
Rich</B> <<A
href="mailto:vk4tec@people.net.au">vk4tec@people.net.au</A>> wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV>
<DIV><SPAN><FONT face=Arial size=2>This maybe of use to
someone.</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.tech-software.net"
target=_blank>www.tech-software.net</A></FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial size=2>"ISS Traffic"</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial size=2></FONT></SPAN> </DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>----------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>Andrew Rich VK4TEC</FONT></DIV>
<DIV><FONT face=Arial size=2><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:vk4tec@people.net.au"
target=_blank>vk4tec@people.net.au</A></FONT></DIV>
<DIV><FONT face=Arial size=2><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://www.tech-software.net/"
target=_blank>http://www.tech-software.net</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV></DIV><BR>_______________________________________________<BR>aprssig
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:aprssig@lists.tapr.org">aprssig@lists.tapr.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig"
target=_blank>https://lists.tapr.org/cgi-bin/mailman/listinfo/aprssig</A><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Stephen Brown - ARS K1LNX<BR>Johnson City, TN EM86uh
</BLOCKQUOTE></BODY></HTML>