[Linux] re: late response to Google Maps Question
Steven Benmosh
linux@flux.org
Mon, 21 Apr 2008 08:17:56 -0600
------=_Part_12502_16712721.1208787476908
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
1. The original question was about taking a KML file (an xml file of points
and tracks, tracks being groups of points with longitude/latitude/altitude,
while waypoints have individual names in addition to log/lat/alt.) and
displaying it on a google map with a single link.
I the case of a point, one can embed a link that looks like that - it lists
the center point and the span of the map (related to scale):
http://maps.google.com/maps?f=q&hl=en&geocode=&q=N9+44+05.9+W83+46+44.1&ie=UTF8&t=h&ll=9.734944,-83.778906&spn=0.056678,0.080338&z=14&iwloc=addr
I wanted something that will do the same for a track. Embedded javascript is
a bit of security issue in a wiki - by default my wiki does not allow it.I
can allow the tags, but it can be tricky if the page are user editable.
2. Currently, I am working on a small script that will take my lon/lat in
the form N 9 44 05.9 W 83 46 44.1, and will generate the link above - maybe
let me select the span. It is a bit more complicated because I use the
coordinate both as string and as a number, but I am sure python can handle
it if I can't (not much of a programmer, I am).
Thanks,
Z.
On Sun, Apr 20, 2008 at 9:43 PM, Peter Capazzi <pcapazzi@dwcsolutions.com>
wrote:
> Do I understand you right... You just want points on a map? Maybe a line
> between the points? This is where I'd start:
>
> If you want a trail with lines.... Use polyline overlays
> http://code.google.com/apis/maps/documentation/mapplets/overlays.html#Po
> lylines_Overview
>
> Otherwise just use markers:
> http://code.google.com/apis/maps/documentation/mapplets/overlays.html#Ma
> rkers
>
> Hope that helps.
>
> -----Original Message-----
> From: linux-admin@flux.org [mailto:linux-admin@flux.org] On Behalf Of
> bob daggit
> Sent: Saturday, April 19, 2008 5:48 PM
> To: linux@flux.org
> Subject: [Linux] re: late response to Google Maps Question
>
>
> as the thread read then:
>
> This is not a linux question per se, but I think it is too technical for
> Talk.
>
> I would like to know if there is a way to display a trail (collection of
> points, each with longitude and latitude) in Google maps......
>
> anyway i ran across an article in a back issue of linux pro magazine,
> and it has alot to say about this issue. that article is now in the pdf
> archives of the website for the mag. page 4 has a pic of something like
> what you were asking
>
> http://www.linux-magazine.com/w3/issue/64/Google_Maps_API.pdf
>
>
> _________________________________________________________________
> Going green? See the top 12 foods to eat organic.
> http://green.msn.com/galleries/photos/photos.aspx?gid=164&ocid=T003MSN51
> N1653A_______________________________________________<http://green.msn.com/galleries/photos/photos.aspx?gid=164&ocid=T003MSN51N1653A_______________________________________________>
> Linux mailing list
> Linux@flux.org
> http://www.flux.org/mailman/listinfo/linux
>
>
> _______________________________________________
> Linux mailing list
> Linux@flux.org
> http://www.flux.org/mailman/listinfo/linux
>
--
Check out my web site - www.words2u.net
------=_Part_12502_16712721.1208787476908
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
1. The original question was about taking a KML file (an xml file of points and tracks, tracks being groups of points with longitude/latitude/altitude, while waypoints have individual names in addition to log/lat/alt.) and displaying it on a google map with a single link.<br>
<br>I the case of a point, one can embed a link that looks like that - it lists the center point and the span of the map (related to scale):<br><a href="http://maps.google.com/maps?f=q&hl=en&geocode=&q=N9+44+05.9+W83+46+44.1&ie=UTF8&t=h&ll=9.734944,-83.778906&spn=0.056678,0.080338&z=14&iwloc=addr">http://maps.google.com/maps?f=q&hl=en&geocode=&q=N9+44+05.9+W83+46+44.1&ie=UTF8&t=h&ll=9.734944,-83.778906&spn=0.056678,0.080338&z=14&iwloc=addr</a><br>
<br>I wanted something that will do the same for a track. Embedded javascript is a bit of security issue in a wiki - by default my wiki does not allow it.I can allow the tags, but it can be tricky if the page are user editable.<br>
<br>2. Currently, I am working on a small script that will take my lon/lat in the form N 9 44 05.9 W 83 46 44.1, and will generate the link above - maybe let me select the span. It is a bit more complicated because I use the coordinate both as string and as a number, but I am sure python can handle it if I can't (not much of a programmer, I am).<br>
<br>Thanks,<br><br>Z.<br><br><br><br><br><div class="gmail_quote">On Sun, Apr 20, 2008 at 9:43 PM, Peter Capazzi <<a href="mailto:pcapazzi@dwcsolutions.com">pcapazzi@dwcsolutions.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Do I understand you right... You just want points on a map? Maybe a line<br>
between the points? This is where I'd start:<br>
<br>
If you want a trail with lines.... Use polyline overlays<br>
<a href="http://code.google.com/apis/maps/documentation/mapplets/overlays.html#Po" target="_blank">http://code.google.com/apis/maps/documentation/mapplets/overlays.html#Po</a><br>
lylines_Overview<br>
<br>
Otherwise just use markers:<br>
<a href="http://code.google.com/apis/maps/documentation/mapplets/overlays.html#Ma" target="_blank">http://code.google.com/apis/maps/documentation/mapplets/overlays.html#Ma</a><br>
rkers<br>
<br>
Hope that helps.<br>
<div><div></div><div class="Wj3C7c"><br>
-----Original Message-----<br>
From: <a href="mailto:linux-admin@flux.org">linux-admin@flux.org</a> [mailto:<a href="mailto:linux-admin@flux.org">linux-admin@flux.org</a>] On Behalf Of<br>
bob daggit<br>
Sent: Saturday, April 19, 2008 5:48 PM<br>
To: <a href="mailto:linux@flux.org">linux@flux.org</a><br>
Subject: [Linux] re: late response to Google Maps Question<br>
<br>
<br>
as the thread read then:<br>
<br>
This is not a linux question per se, but I think it is too technical for<br>
Talk.<br>
<br>
I would like to know if there is a way to display a trail (collection of<br>
points, each with longitude and latitude) in Google maps......<br>
<br>
anyway i ran across an article in a back issue of linux pro magazine,<br>
and it has alot to say about this issue. that article is now in the pdf<br>
archives of the website for the mag. page 4 has a pic of something like<br>
what you were asking<br>
<br>
<a href="http://www.linux-magazine.com/w3/issue/64/Google_Maps_API.pdf" target="_blank">http://www.linux-magazine.com/w3/issue/64/Google_Maps_API.pdf</a><br>
<br>
<br>
_________________________________________________________________<br>
Going green? See the top 12 foods to eat organic.<br>
<a href="http://green.msn.com/galleries/photos/photos.aspx?gid=164&ocid=T003MSN51N1653A_______________________________________________" target="_blank">http://green.msn.com/galleries/photos/photos.aspx?gid=164&ocid=T003MSN51<br>
N1653A_______________________________________________</a><br>
Linux mailing list<br>
<a href="mailto:Linux@flux.org">Linux@flux.org</a><br>
<a href="http://www.flux.org/mailman/listinfo/linux" target="_blank">http://www.flux.org/mailman/listinfo/linux</a><br>
<br>
<br>
_______________________________________________<br>
Linux mailing list<br>
<a href="mailto:Linux@flux.org">Linux@flux.org</a><br>
<a href="http://www.flux.org/mailman/listinfo/linux" target="_blank">http://www.flux.org/mailman/listinfo/linux</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Check out my web site - <a href="http://www.words2u.net">www.words2u.net</a>
------=_Part_12502_16712721.1208787476908--