[PATCH] Show single dives in map.

Robert C. Helling helling at atdotde.de
Wed Jan 16 14:13:55 PST 2013


On Jan 16, 2013, at 5:40 PM, Dirk Hohndel wrote:

Hi,

> But the real
> goal for me is to continue to work on integration of the Android
> Subsurface Companion app (maybe someone will write one for iPhone,
> too). The idea is simply. At a dive site, you start the app, enter the
> name of the site and it transfers the GPS location plus name to a
> webservice (we have a sample service running at api.hohndel.org).
> Then Subsurface connects to that service and matches the time stamps of
> those GPS fixes with the time stamps of your dives and adds the GPS
> location. That last part is still missing...

strictly speaking, you don't need an app for this, only a web browser: You can determine the GPS coordinates in Javascript. That is not my native language but just as a proof of concept:

http://euve10195.vserver.de/~robert/location.html

Looking at the source you will recognize some of the <form>-code….

I also like the idea with the pictures. With a dive that still lacks GPS data, we could have a button that opens a file chooser to pick (maybe with preview) an image file to extract coordinates from the EXIF tags.

Best
Robert

--                                                                              
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO 
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics  
                      Scientific Coordinator                                   
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik    
print "Just another   Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339       
    stupid .sig\n";   http://www.atdotde.de 



More information about the subsurface mailing list