Translate posts to Experimental | Feedback
Google
Official Google Earth Download Site
Page 1 of 3 1 2 3 >
Topic Options
Rate This Topic
Previous Topic
View All Topics Index
Next Topic
#1061435 - 03/15/08 03:16 PM Mail-to-GE; Mail-to-Map service ****
Siberian Offline
Tracker

Registered: 10/08/05
Posts: 42
Mail to Map/SMS-to-Map/Mail to GE service: new twist in (r)Evolution

The idea of creating a simple Mail-to-Map service came when I was tracking White-Tailed Deer in the suburbs of Pennsylvania. The GPS coordinates were send by the collared deer as a SMS/Text Message via GSM/cell-phone networks to a server in Sweden, and then relayed to my e-mail account. I was surprised to find out that there was no way for me to gain access to the server, so the creation of dynamic kml/kmz files straight from the server was out of the question. All what I was left with was a set of e-mails with 8 coordinates in each.

Here is my first attempt for a solution, which reads coordinates in e-mail and relays coordinates in real-time to the Google-Earth/Google Map service. I believe this is the fist successful solution of Mail-to-Map service which is based entirely on free web services. Let me know, if it is not correct.

Important notice: since the displayed coordinates belongs to a live animal (currently a white-tailed Deer nicknamed Thor), by reading this page and looking at the map you are accepting terms of agreement: do not harm the animal in anyway. Actually it lives on private grounds or a preserve territory anyway.

So, if you want to see the resulting dynamic map, skip this section and click at the map links or download the kml file.

If you are interested in details, here they are.

1. Set up a blog dedicated exclusively to mail-to-map service. There are number of possibilities for doing that. For this project I used http://u-mail-to-map.blogspot.com/ Be sure that the blog is set for only for you to edit.
2. Set up e-mail address within blog setting, so that you can e-mail the data to the blog. Use this e-mail address for the step 3.
3. Set automatic mail forward to the e-mail address set in the step 2. I use g-mail account with associated filters to forward only messages referred to particular collar (individual) number.
4. set up a spread-sheet in google-documents and link the blog to the spreadsheets. I use command =importxml("http://u-mail-to-map.blogspot.com/","//p[1]/text()"). The resulting spreadsheet is here: http://spreadsheets.google.com/pub?key=pb-UYBP_92h9qQKwbVy07Zg&gid=0
5. Consult google-spreadsheet documentation how to filter/sort the location, and this posts ( http://bbs.keyhole.com/ubb/showflat.php?Number=725524 ; http://bbs.keyhole.com/ubb/showthreaded.php/Cat/0/Number/550183 ) how to construct kml files from the spreadsheets. Mind, that if the coordinates are blank, the google-maps/google-earth service will treat such locations as syntax error. In my spread-sheets I corrected GPS timeouts by substituting blanks with average locations for entire sms message (8 gps fixes).
6. Now link the kml portion of the spreadsheet (http://spreadsheets.google.com/pub?key=pb-UYBP_92h9qQKwbVy07Zg&gid=4&output=txt&range=Q2) to google maps (example here), and create Network link as advised in this post (). The resulting KML file is here. Do not forget to publish the spreadsheet, and tick the widnow Automatically re-publish when changes are made. The address pb-UYBP_92h9qQKwbVy07Zg is unique for your spreadsheet.
7. Now, important notice about refresh rates. In my example the coordinated arrive via email every 40 min, blog is updated almost instantly, spreadsheets are updated/re-published c. every 5 mins, but I have notice that it may be as long as 20 mins on some occasions. So it is prudent to set refresh rate to 20-40 min in the network link, so it will deliver the up-to-date coordinates.
8. For web-pages and imbedded iframe links: it is important to set No-cache options, and refresh rates. I used all possible solutions to make the web page browser independent:
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV=Expires CONTENT=0>
The last tag was instrumental to tame IE.
Refresh rate was set to 900 sec by the command
<meta http-equiv=Refresh content=900>
Failure to set auto-refresh and no-cache options will result in displaying out-of-date locations.
Important is to center the map on your coordinates. I achieve it my pointing g-maps to get ll from the cell in my spreadsheet: ll=http://spreadsheets.google.com/pub?key=pb-UYBP_92h9qQKwbVy07Zg&gid=1&output=txt&range=G2.

The resulting Google-Map is here http://www.potapov-nature.com/forBA/deer/map4.html , and kml file (network link) for Google-Earth is here.
A block diagram of the totally free web based Mail-to-Map service is below.

Potentially such simple Mail-to-Map solution can be used for a variety of applications such as satellite telemetry, fleet monitoring, iphone coordinates display, sms-to-map service, etc.

Special thanks to Valery aka Valery35 for ideas of blog usage.


Attachments
1132665-Thor-Automatic.kml (25472 downloads)
Preview this file with the Google Earth Plugin (learn more)

Top
#1061436 - 03/16/08 07:45 AM Re: Mail-to-GE; Mail-to-Map service [Re: Siberian]
lorenzojuan Offline
Traveler

Registered: 05/04/06
Posts: 102
Loc: san juan argentina
Hi
!!!Extraordinary Proyect!!!
I will link "Primary health Care" SMS/ GE.
Record Clinic SMS/GE with use proyect JAVA.
_________________________
Trabajar en epidemiologia con earth google

Top
#1061437 - 03/16/08 11:17 AM Re: Mail-to-GE; Mail-to-Map service [Re: Siberian]
Valery35 Offline
Master Craftsman

Registered: 09/02/05
Posts: 2299
Loc: Russia, Perm, Sun


Your deer have now himself blog! He write into his blog everyday article
GE have now deergeoblogger!
http://u-mail-to-map.blogspot.com/2008/03/tellus-data-from-t5h-1890_1141.html
Posted by Siberians deer.

By definition Blog = backward log. You use blog as log
Great services. Best way!
What in next? Argos SMS? GPS SMS? Google mashup editor feed?
Every deer must have blog!

We have time and permalink for all messages.


Edited by Valery35 (03/17/08 01:31 AM)

Top
#1061438 - 03/17/08 06:19 AM Re: Mail-to-GE; Mail-to-Map service [Re: Siberian]
Delta102 Moderator Offline
Master Guide

Registered: 07/07/05
Posts: 5519
Loc: Quantico, VA
What a great use of GE,And what a handsome Buck !

Top
#1061439 - 03/17/08 11:17 AM Re: Mail-to-GE; Mail-to-Map service [Re: Siberian]
giasen Offline
Traveler

Registered: 07/14/05
Posts: 98
Loc: AZ, USA
Can you mount a camera to it?
_________________________
Hi.
GPS devices
Multi-Dimensional Google Earth

Top
#1061440 - 03/17/08 02:33 PM Re: Mail-to-GE; Mail-to-Map service [Re: giasen]
Siberian Offline
Tracker

Registered: 10/08/05
Posts: 42
Potentially yes, but this is another project. We also think that we can make 'street-view' of the entire forest where the animal roams. That would be less stressful way to address the questions.

Top
#1061441 - 03/18/08 05:19 AM Re: Mail-to-GE; Mail-to-Map service [Re: Siberian]
Frank4 Offline
Master Blogger

Registered: 07/10/05
Posts: 1057
Loc: Cary, North Carolina, USA
Great project... I've written a post about your deer tracking system at the Google Earth Blog.
_________________________
Frank Taylor - Author of Google Earth Blog
All about Google Earth news, features, tips, technologies, and applications. Also read: http://TahinaExpedition.com
(If you have story ideas, please send me a private message.)

Top
#1061442 - 03/18/08 09:14 AM Re: Mail-to-GE; Mail-to-Map service [Re: Frank4]
Siberian Offline
Tracker

Registered: 10/08/05
Posts: 42
Thanks, Frank4
It looks that our deer-geoblogger is going to be a star of several blogs.

Nice blog, great job

Siberian

Top
#1061443 - 03/18/08 12:34 PM Re: Mail-to-GE; Mail-to-Map service [Re: Siberian]
Gerardo64 Offline
World Explorer

Registered: 09/07/05
Posts: 1391
Loc: Argentina
Congratulations for your work!
I have a suggestion: Why dont you change this post name so it includes something like "Deer Blogger" or "Deer Tracking via e-mail" so we could search and find it in the future.. As you can see your deer got a lot of fame in these days...and for sure is the way we are going to remember this interesting post.

Thanks!

Top
#1061444 - 03/18/08 08:21 PM Re: Mail-to-GE; Mail-to-Map service [Re: Gerardo64]
Siberian Offline
Tracker

Registered: 10/08/05
Posts: 42
Well, the post is not just about the deer. The collar which is now on the deer will sooner or later run out of the batteries, and we will have to drop it off using the remote command....

However the method is applicable to a plethora of various applications: birds with satellite transmitters, cellphones with gps, etc...

As regards the deer in the title: I tried to put these terms too, but the length of the title is limited, so I was prevented to put it on.

Thanks for the comment anyway.

Top
Page 1 of 3 1 2 3 >