Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 15-05-2011, 06: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, 06:58   #2
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
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, 07:20   #3
Registered User
 
S/V Alchemy's Avatar

Join Date: May 2008
Location: Nova Scotia until Spring 2021
Boat: Custom 41' Steel Pilothouse Cutter
Posts: 4,976
Re: Display of Lat and Lon?

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

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
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, 07: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, 05: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, 05:38   #7
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
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, 16:11   #8
Registered User
 
HappySeagull's Avatar

Join Date: Dec 2010
Location: B.C.,Canada
Boat: 29'
Posts: 2,423
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, 02: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, 11:47   #10
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,211
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


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 18:19
Lat / Lon Grids with C Map 93 r.fairman OpenCPN 4 10-11-2010 14:32
Need Lat / Long of Sunken Atoll Duckhead Pacific & South China Sea 7 11-12-2009 10:25
High Lat. Optical Illusions Tim Gosnell Polar Regions 24 12-02-2006 22:45
Distance from Lat/Lon GordMay The Library 0 30-06-2005 18:27

Advertise Here


All times are GMT -7. The time now is 03:17.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.