Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 15-05-2011, 07:15   #1
Registered User

Join Date: May 2011
Posts: 1
Display of Lat and Lon ?

Already searched the forum for an answer to this question to no avail. In OpenCPN is there a way to change the display of Lat and Lon to degrees, minutes, seconds. I prefer that to the default of degrees and decimal minutes.

Thanks in advance,

George Mac
__________________

__________________
gmac52 is offline   Reply With Quote
Old 15-05-2011, 07:58   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Display of Lat and Lon?

Right now it's not possible. But as I was rewriting the coordinate parser earlier today, I will probably submit also a patch allowing the display in different formats.

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 15-05-2011, 08:20   #3
Registered User
 
S/V Alchemy's Avatar

Join Date: May 2008
Location: Toronto
Boat: Custom 41' Steel Pilothouse Cutter
Posts: 4,576
Re: Display of Lat and Lon?

That would be handy indeed.
__________________
S/V Alchemy is offline   Reply With Quote
Old 15-05-2011, 08:26   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Display of Lat and Lon?

Plain decimal degrees, DD MM.MM and DD MM SS are enough as far as formats go?

Pavel
__________________
nohal is offline   Reply With Quote
Old 15-05-2011, 08:41   #5
Registered User

Join Date: Nov 2010
Location: Lafayette, Louisiana
Boat: Ketch, Hardin 45
Posts: 440
Images: 6
Re: Display of Lat and Lon?

Quote:
Originally Posted by nohal View Post
Plain decimal degrees, DD MM.MM and DD MM SS are enough as far as formats go?

Pavel
Which one you display depends on your charts. Carefully perusing your chart to see if they are dregrees, minutes and tenths there of or whether the chart is degree, minutes & seconds. Then you will have an easier time plotting the fix on the chart or finding a published item from their cordinates.

GPS is an excellent navigation tool. But have other means to navigate with also.
__________________
boasun is offline   Reply With Quote
Old 16-05-2011, 06:15   #6
Registered User

Join Date: Feb 2010
Posts: 619
Re: Display of Lat and Lon?

Quote:
Originally Posted by nohal View Post
Plain decimal degrees, DD MM.MM and DD MM SS are enough as far as formats go?
Pavel...

Great you are aiming at this! The DD.DDDDDDDDD is needed as well, as this is the output format from OCPN into GPX... should be possible to feed it back...

Please make sure the copy-paste will work directly from major sources (Admiralty, NGA, Google Earth etc).

I think it would be wise to allow somehow a single line input of coordinates. Usually they are presented as a single chunk (LAT, LON), so it is a nuisance to split them into separate fields of LAT and LON.

Will be one more reason to drop the 1.3.6 finally (quilting still drags the perf heavily)

Piotr
__________________
PjotrC is offline   Reply With Quote
Old 16-05-2011, 06:38   #7
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Display of Lat and Lon?

Piotr,
have a look at FS#462 : [PATCH] Improved latitude/longitude parser
I can hardly imagine having a more universal parser
I was thinking about a one-line input already and it complicates the things quite a lot. Not that it's not doable, of course, but thinking of all the possible "valid" combinations makes me feel a bit sick. Anyway will it's time come next time I will want to paste in something from the web...

Pavel
__________________
nohal is offline   Reply With Quote
Old 16-05-2011, 17:11   #8
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,395
Re: Display of Lat and Lon ?

It's weird,but OpenCPN's newer betas actually accept decimal degrees in marks ".-"signs too.I've copied/pasted quite a few in per gpx etc.
__________________
HappySeagull is offline   Reply With Quote
Old 28-05-2011, 03:51   #9
Registered User

Join Date: Feb 2010
Posts: 619
Re: Display of Lat and Lon?

Quote:
Originally Posted by nohal View Post
I can hardly imagine having a more universal parser
Pavel,

Never underestimate the imagination of Hydrographic Authorities...

I posted in the 523 Beta thread an example of interpretation of a standard Admiralty coordinate format, the most widely used. Generally, the new parser has problems with unusual (for programmers) separator sequences. Forums - Post 416763">Here you can find some other strange examples. With all respect to various National HOs, Admiralty is by far the most important, and even if only one extended format should be allowed I'd pick this one.

Completely dropping the minutes would not be so dangerous, because this is immediately noticeable, but taking minute fractions for seconds can well go unnoticed, and 1/2 a mile off can get you well into trouble.

I very often annote the charts with new features and dangers. For a 4-cornered area editing this by hand means ca. 40 additional key-mouse strokes. For bigger things, like 30-odd positions area boundary or a set of TSS lanes or 80 postions of measurement buoys, I use an OpenOffice spreadsheet macro to convert the coordinate format and a Python script to generate GPX, but this is too heavy for a simple feature, so I use then my 136 parser...

So the ability to paste directy from UKHO does help a lot.

Still hoping,

Piotr
__________________
PjotrC is offline   Reply With Quote
Old 28-05-2011, 12:47   #10
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Display of Lat and Lon ?

Piotr,
forgot where that list of yours was... Will submit an extension of the parser for the next beta.

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Distance Between Two Points by Lat/Lon onestepcsy37 Navigation 25 02-12-2017 19:19
Lat / Lon Grids with C Map 93 r.fairman OpenCPN 4 10-11-2010 15:32
Need Lat / Long of Sunken Atoll Duckhead Pacific & South China Sea 7 11-12-2009 11:25
High Lat. Optical Illusions Tim Gosnell Polar Regions 24 12-02-2006 23:45
Distance from Lat/Lon GordMay The Library 0 30-06-2005 19:27



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 14:35.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.