Use Google Earth to geotag the dive sites

3rd party extensions (phpDivingLog, dive computer downloader,...)
rene
Posts: 65
Joined: Sun Sep 12, 2010 19:07
Location: France

Re: Use Google Earth to geotag the dive sites

Post by rene » Tue Sep 27, 2011 13:57

I'm sure you can not imagine what kind of English we use at work...

Sometimes good american english, sometimes british english (colour), and often "frenglish", mixing bad french spelling and approximate english spelling. And the rest of the time, french, not necessarily exact...

I'm certainly not very good in English and make lot of mistakes, but when I choose variable names, write comments, etc. I try to use the right spelling of the most accurate word.

There are also many differences between the Quebec and French language :D


Otherwise, I corrected an error in TextBoxUnit.cs (MaxDepth field was filled with previous value if it wasn't set).

rené

divinglog
Site Admin
Posts: 4699
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Use Google Earth to geotag the dive sites

Post by divinglog » Tue Sep 27, 2011 17:49

Hi everyone

Wow, lots of postings here :D Diving Log stores the units settings here:

HKEY_CURRENT_USER\Software\Divinglog\Divinglog50\Start\UnitFeet

0 = metric units, 1 = imperial. By default, when the registry key is missing, I'm using metric units (first start). When the user changes the settings, it is set to either 0 or 1, so no key = 0. Regarding metres vs. meters: I'm lucky when my English is readable and the grammar not completely wrong :lol: For me meters looks more familiar (in German it is Meter) and I think it is the US spelling and more common across users. But maybe I am wrong.

Cheers,
Sven

lloyd_borrett
Posts: 228
Joined: Sun Jun 11, 2006 09:24
Location: Frankston South, Victoria, Australia
Contact:

Re: Use Google Earth to geotag the dive sites

Post by lloyd_borrett » Wed Sep 28, 2011 04:10

Happy to report that v1.2 seems to be working just fine for me.

Best Regards, Lloyd Borrett.

rene
Posts: 65
Joined: Sun Sep 12, 2010 19:07
Location: France

Re: Use Google Earth to geotag the dive sites

Post by rene » Wed Sep 28, 2011 05:28

lloyd_borrett wrote:Happy to report that v1.2 seems to be working just fine for me.

Best Regards, Lloyd Borrett.
Thank you, Lloyd ! And thank you for testing :)

rene
Posts: 65
Joined: Sun Sep 12, 2010 19:07
Location: France

Re: Use Google Earth to geotag the dive sites

Post by rene » Sat Oct 01, 2011 07:59

New version 1.2.0.3 : http://google-earth-tagging.googlecode. ... GeoTag.zip

Bug fixes in geotagging from jpeg images.

From now until I convert the app to a ClickOnce on, I will replace the above archive with updates binaries.

rene
Posts: 65
Joined: Sun Sep 12, 2010 19:07
Location: France

Re: Use Google Earth to geotag the dive sites

Post by rene » Sat Nov 05, 2011 12:46

Any chance you could put a space between the various parts of the Lattitude and Longitude to make them easier to read? That is "0° 17' 3.47" S" instead of "0°17'3.47"S".
By the way, Dive Log for iPhone will misunderstand the coordinates if they are some spaces :
"0°17'3.47" W" -> "E 0°17'3.47"" on the iPhone.

divinglog
Site Admin
Posts: 4699
Joined: Sat Feb 08, 2003 21:02
Location: Coburg
Contact:

Re: Use Google Earth to geotag the dive sites

Post by divinglog » Sun Nov 06, 2011 16:40

Hi René

The coordinates have to be stored in a certain way in the database, otherwise it could cause problems in Diving Log or on other apps like iPhone Dive Log. The format can be different for display in the UI, but in the database it has to be without any spaces and in this format: D°M'S"N/S/E/W

I can spaces into the display format, but if you want, you can already view them in separate fields when you click the arrow icon on the right side.

Thank you,
Sven

rene
Posts: 65
Joined: Sun Sep 12, 2010 19:07
Location: France

Re: Use Google Earth to geotag the dive sites

Post by rene » Mon Nov 07, 2011 19:08

Version 1.2.0.4 is here : http://divinglog-extensions.googlecode. ... GeoTag.zip

(the old google project still exists)

One day, I will do a Click-Once auto-update app... ;)


PS about the spaces: it was a request from Lloyd. Since I can't read coordinates with ou with spaces, I don't care :)

rene
Posts: 65
Joined: Sun Sep 12, 2010 19:07
Location: France

Re: Use Google Earth to geotag the dive sites

Post by rene » Sat Nov 12, 2011 21:22

Hi,

AndyDragon has kindly provided storage space to host applications Click-Once (with simplified installation and auto update). Thank you to him! :angelic:

So, you can find the most up-to-date version of DL5GeoTag here : http://www.opencircuitscuba.com/downloa ... DL5GeoTag/

I will continue to upload a zip at google code: http://code.google.com/p/divinglog-exte ... downloads/

rené

RogerSelwyn
Posts: 38
Joined: Thu Aug 25, 2011 17:18

Re: Use Google Earth to geotag the dive sites

Post by RogerSelwyn » Sat Nov 26, 2011 22:51

This looks like excatly the app I need. I have added geotag information via Diving Log on my iPad from a recent trip, and version 1.2.1.0 of this app shows flags next to those sites with geotag info. However when I go to extract as a KML I get the error shown below.

Is this an error on my part or in the application?

Thanks in advance
Roger

--------------------------------------------------

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Data.StrongTypingException: The value for column 'Lat' in table 'Place' is DBNull. ---> System.InvalidCastException: Unable to cast object of type 'System.DBNull' to type 'System.String'.
at DL5GeoTag.PlaceDataSet.PlaceRow.get_Lat()
--- End of inner exception stack trace ---
at DL5GeoTag.PlaceDataSet.PlaceRow.get_Lat()
at DL5GeoTag.FormPlace.toolStripButton1_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

rene
Posts: 65
Joined: Sun Sep 12, 2010 19:07
Location: France

Re: Use Google Earth to geotag the dive sites

Post by rene » Sun Nov 27, 2011 00:16

Hello Roger,

It's certainly an error in the application. I will have a look tomorrow.

Maybe there is a NULL instead of the empty string (it's not the same thing) in the Latitude column.

Best regards,
René

rene
Posts: 65
Joined: Sun Sep 12, 2010 19:07
Location: France

Re: Use Google Earth to geotag the dive sites

Post by rene » Sun Nov 27, 2011 10:09

I have updated the application : I deal with null value when creating a KML.

The program should update itself when launched.

Current version is : 1.2.1.0 (deploy version: 1.2.1.21)

Download link

Thanks for reporting the error !

rené

RogerSelwyn
Posts: 38
Joined: Thu Aug 25, 2011 17:18

Re: Use Google Earth to geotag the dive sites

Post by RogerSelwyn » Sun Nov 27, 2011 11:20

Hi René,

Thanks for super fast response and update to the app. That has solved the problem!

Thanks
Roger

DutchGeek
Posts: 15
Joined: Sun Sep 11, 2011 11:11
Location: The Netherlands

Re: Use Google Earth to geotag the dive sites

Post by DutchGeek » Mon Mar 19, 2012 17:17

I am assuming that this project is no longer valid? I tried the link, but its says the page is not there anymore.

rene
Posts: 65
Joined: Sun Sep 12, 2010 19:07
Location: France

Re: Use Google Earth to geotag the dive sites

Post by rene » Mon Mar 19, 2012 17:58

DutchGeek wrote:I am assuming that this project is no longer valid? I tried the link, but its says the page is not there anymore.
Hello, I still can install my app from Andy's website. Maybe you encounter a server down ? or maintenance ?

http://www.opencircuitscuba.com/downloa ... ublish.htm

This program has lost interest since the last update of Diving Log ;-) However my two other extensions are still very useful :mrgreen:

Regards,
rené

Post Reply