Search found 65 matches

by rene
Tue Sep 27, 2011 10:06
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 173621

Re: Use Google Earth to geotag the dive sites

Hello Lloyd, I do something with the registry value UnitFeet (if it exists or not) AFTER the exception has been thrown. So the program will use the code default value which is "feet" (I don't why I wrote that... since I'm European :p). And yes, I'm sure that Sven stores the unit settings i...
by rene
Tue Sep 27, 2011 08:08
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 173621

Re: Use Google Earth to geotag the dive sites

Ok, the exception should occur before some settings are read and the listbox correctly initialized. There is a serious candidate: this.placeTableAdapter.Connection = new OleDbConnection(dbs.ToString()); not protected by a try-catch and throw an exception if datasource can't be found. I will certainl...
by rene
Tue Sep 27, 2011 06:06
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 173621

Re: Use Google Earth to geotag the dive sites

Hello Lloyd, Thank you for testing, I will investigate... Unluckily the text if the exception is not very helpful :p What regional settings do you use ? And which version of Windows ? If you see "ft" after the MaxDepth textbox, DivingLog is configured to use feet for depths (UnitFeet="...
by rene
Mon Sep 26, 2011 00:46
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 173621

Re: Use Google Earth to geotag the dive sites

Hello, I've modified the program to add : * a splitter between list and details panels and remembering of the location/size of the window * an icon for dive sites with coords (but no sort or filter...) * imperial/metric for MaxDepth and Altitude, depending on the Diving Log setting (I hope oyu don't...
by rene
Sun Sep 25, 2011 15:56
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 173621

Re: Use Google Earth to geotag the dive sites

Well, I thought that Anglo Saxons promised to abandon their imperial system in consideration of the choice of Meridian of Greenwich instead of the Paris one, in 1884 ;-) For the anecdote, the Greenwich meridian is shifted by 102.5 m (at the Greenwich latitude) compared to WGS84 longitude 0. For conv...
by rene
Sun Sep 25, 2011 09:09
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 173621

Re: Use Google Earth to geotag the dive sites

Altitude column is a free text field, so Diving Log won't convert it, I guess. Depending on imperial/metric settings, I will convert from metres to feet then append " ft" or " m" . But MaxDepth is a numeric field.

Well, I'll take a look. Thanks for the info :)
by rene
Sun Sep 25, 2011 08:30
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 173621

Re: Use Google Earth to geotag the dive sites

Hello,

Thank you Andy :)

I'll make the changes you suggest. For the altitude, should I understand that GE always returns meters ?

Regards,
René
by rene
Wed Sep 21, 2011 19:13
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 173621

Re: Use Google Earth to geotag the dive sites

Thank you :) In my spare time, I'll think about how to automatically generate a map of the dives, for a trip or for a selection. Manual example : https://lh6.googleusercontent.com/-SPXY8QPlGWQ/Tnl-3tlKX6I/AAAAAAAAgBY/burAFMtoOVo/s320/Capture%252520plein%252520%2525C3%2525A9cran%25252021092011%252520...
by rene
Tue Sep 20, 2011 20:19
Forum: General
Topic: import dive site info from another user
Replies: 10
Views: 7875

Re: import dive site info from another user

Maybe you could be interested in that.

Personally, I always locate my dive sites (well, new ones and when I do not forget). Google Earth is very convenient, especially with the Wannadive overlay.
by rene
Tue Sep 20, 2011 20:09
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 173621

Use Google Earth to geotag the dive sites

Hello everybody, I have wrote a little program that uses Google Earth as Picasa does for geotagging dive sites (e.g. set their GPS location). It differs from the Diving Log 5.0 built-in feature because, here, you use Google Earth to get the coordinates. screenshot3.png You can retrieve the location ...
by rene
Tue Sep 13, 2011 05:53
Forum: Extensions
Topic: phpDivingLog 3.0 Development
Replies: 46
Views: 115824

Re: phpDivingLog 3.0 Development

Thanks, These queries work, but are way too slow on my development setup. Query blows out from taking 0.0116 sec to always around 15 sec. So I guess I'll just have to forgo the nice to have but not essential extra details such a query could have provided. Hello Lloyd, Did you try to create a non un...
by rene
Mon Sep 12, 2011 22:04
Forum: General
Topic: Suunto Dive Manager 4 Import
Replies: 15
Views: 20032

Re: Suunto Dive Manager 4 Import

Well, I'm now able to read all the columns of the Dive table. Most fields are explicit. More difficult ones are: * StartTime : see above (nano seconds from 1/1/0001) * ProfileBlob : 4 bytes per sample interval, cast to float (4 byte real number) * TemperatureBlob : 1 byte/interval : temperature in °...
by rene
Mon Sep 12, 2011 17:58
Forum: General
Topic: Suunto Dive Manager 4 Import
Replies: 15
Views: 20032

Re: Suunto Dive Manager 4 Import

SDM 4 import is planned but unfortunately not yet implemented. It is using a SQLite database now, but I have trouble decrypting the dive date. The database (DM4.db) is located here: Hi Sven, DutchGeek (thanks to him!) provided me its DM4 logbook to take a look inside the database. The dive date fie...
by rene
Mon Sep 12, 2011 10:41
Forum: General
Topic: Suunto Dive Manager 4 Import
Replies: 15
Views: 20032

Re: Suunto Dive Manager 4 Import

Hello,

I don't have Suunto DM4 (or own a suunto...) but I was told that the logbook and other informations are now stored online on http://www.movescount.com since this version.

Do you have a local file where the logbook could lie ?
by rene
Mon Sep 12, 2011 07:48
Forum: Extensions
Topic: phpDivingLog 3.0 Development
Replies: 46
Views: 115824

Re: phpDivingLog 3.0 Development

Ok. I have tested with sqlite3 (I don't have mysql installed or an access to a server) on my 4 year old PC: CPU Time: user 0.296875 sys 1.000000 with the following query: select DL_LogBook.Number, DL_LogBook.Divedate, DL_LogBook.Divetime, DL_LogBook.Depth, DL_LogBook.Place, DL_LogBook.City, DL_LogBo...