Search found 228 matches

by lloyd_borrett
Mon Oct 10, 2011 22:44
Forum: Extensions
Topic: Suggestion: Dive Table Extension
Replies: 6
Views: 8091

Re: Suggestion: Dive Table Extension

Yes, I'm looking for a way to auto-fill the new pressure group fields in Diving Log. It would be interesting and educational to see the results for my past 350 odd dives, plus future dives where I just rely on the computer computer. But to manually do the calculations would be tiresome. I too hadn't...
by lloyd_borrett
Sat Oct 08, 2011 21:08
Forum: Extensions
Topic: Find dive sites within specified distance of each other
Replies: 5
Views: 7057

Re: Find dive sites within specified distance of each other

To convert from ddd mm ss.sss to dd.dddd

CREATE FUNCTION `convert_from_dms`
(degrees INT, minutes int, seconds int)
RETURNS double DETERMINISTIC
BEGIN
RETURN degrees + (minutes/60) + (seconds/3600);
END $$
by lloyd_borrett
Sat Oct 08, 2011 20:40
Forum: General
Topic: Adding new tank sizes
Replies: 9
Views: 3875

Re: Adding new tank sizes

G'day, Not being able to set decimal values for the cylinder size is a bug that Sven said he'll fix in the next update. Older versions supported this but somewhere along the line it became an integer only field. All of my 10.5 litre values got changed to 10, 12.2 to 12 etc. Best Regards, Lloyd Borre...
by lloyd_borrett
Sat Oct 08, 2011 20:32
Forum: Extensions
Topic: Find dive sites within specified distance of each other
Replies: 5
Views: 7057

Re: Find dive sites within specified distance of each other

G'day Rene, Well the query I'm after would let you do both of those things. Apart from the sites in Diving Log, I also have a lot of waypoints for dive sites in other databases for my GPS unit. People keep giving them to me, and I find some on the web. But it's always hard to tell if the waypoints a...
by lloyd_borrett
Thu Oct 06, 2011 07:20
Forum: Extensions
Topic: Find dive sites within specified distance of each other
Replies: 5
Views: 7057

Find dive sites within specified distance of each other

G'day, This one is a little bit off topic, but I'm hoping someone out there could help. I came across a MySQL function at http://forge.mysql.com/tools/tool.php?id=222 to calculate/measure the distance between two points using Vincenty Distance WGS-84 algorithm. This got me to thinking that I have a ...
by lloyd_borrett
Thu Oct 06, 2011 03:15
Forum: Extensions
Topic: Suggestion: Dive Table Extension
Replies: 6
Views: 8091

Re: Suggestion: Dive Table Extension

G'day Andrew, I figured copyright could be an issue. That's why I suggested you give people the framework and enable them to put in the values for whatever table they want to use themselves. I've suggested to Sven that Diving Log needs a field to specify what the table being used is. In the meantime...
by lloyd_borrett
Wed Oct 05, 2011 21:06
Forum: Extensions
Topic: phpDivingLog 3.0 Development
Replies: 46
Views: 49238

Re: phpDivingLog 3.0 Development

G'day, Progress on phpDivingLog 3 has slowed somewhat in the last month. I've been tinkering around the edges fixing some bugs and making some minor changes, but no major progress. You can see where it's up to at http://www.borrett.id.au/divelog3/index.php . At first Rob was away on holidays and sin...
by lloyd_borrett
Wed Oct 05, 2011 09:53
Forum: Extensions
Topic: Suggestion: Dive Table Extension
Replies: 6
Views: 8091

Suggestion: Dive Table Extension

G'day, There are a few clever folk that hang around here who have written some fantastic extensions/add-ins for Diving Log. I'd like to suggest one that someone may like to develop. A Dive Table Extension. An add-on utility to enable us to step through and set the PG Start and PG End values for dive...
by lloyd_borrett
Wed Sep 28, 2011 04:15
Forum: General
Topic: New to Diving Log
Replies: 1
Views: 1152

Re: New to Diving Log

G'day Spock, One work around for your GUI certification expiry issue might be to create an equipment item called GUI Certification and enter the start and expiry dates there. Then Diving Log will tell you when your certification is due for service! There is already a Blood Group field under User Inf...
by lloyd_borrett
Wed Sep 28, 2011 04:10
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 76550

Re: Use Google Earth to geotag the dive sites

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

Best Regards, Lloyd Borrett.
by lloyd_borrett
Tue Sep 27, 2011 10:31
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 76550

Re: Use Google Earth to geotag the dive sites

An asside. I've always found it strange that Sven uses "Meters" not "Metres" for the English spelling of the length units in Diving Log. In most versions of the English language (e.g. UK and Australian), metre is a unit of distance (such as in micrometre, millimetre, metre, and kilometre). In many i...
by lloyd_borrett
Tue Sep 27, 2011 10:15
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 76550

Re: Use Google Earth to geotag the dive sites

I think Sven's code assumes the default is metric unit settings and only creates values in the registry when someone changes them. Remember, the data values in the tables are always metric, regardless of what the unit settings are. I'll test your new version tomorrow on my netbook computer. Best Reg...
by lloyd_borrett
Tue Sep 27, 2011 10:05
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 76550

Re: Use Google Earth to geotag the dive sites

Here is where I see these values in the registry, I have one for each unit type...hmm...I assume if the value does not exist, use the default (for me that would be imperial)...might have to reverse that logic: HKEY_CURRENT_USER\Software\Divinglog\Divinglog50\Start Can you confirm whether or not the...
by lloyd_borrett
Tue Sep 27, 2011 08:21
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 76550

Re: Use Google Earth to geotag the dive sites

G'day rene, Did you see this update to my previous post... I can't see any UnitFeet in my registry settings for DivingLog. Indeed, I can't see any registry settings that seem to have anything to do with any unit settings. Are you sure that's where Sven is getting them from? Or maybe he assumes defau...
by lloyd_borrett
Tue Sep 27, 2011 07:53
Forum: Extensions
Topic: Use Google Earth to geotag the dive sites
Replies: 49
Views: 76550

Re: Use Google Earth to geotag the dive sites

What regional settings do you use ? And which version of Windows ? MS Windows 7 Professional on an Acer Eee PC netbook with 1024 x 600 screen resolution. Regional settings are for Australia. If you see "ft" after the MaxDepth textbox, DivingLog is configured to use feet for depths (UnitFeet="1" in ...