Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 22-04-2015, 12:20   #1
Registered User

Join Date: Oct 2014
Posts: 26
Reading Object Query TXTDSC information?

When I do an Object Query on an item on a chart, the last line in the object listing is frequently TXTDSC: <filename>.TXT.

For example see this shot of an Object Query dialog:

Click image for larger version

Name:	2015-04-22 15_09_01-Object Query.jpg
Views:	88
Size:	31.2 KB
ID:	100770

The filename, in this case US3SC10F.TXT matches to a NOAA-supplied file in the same directory as the chart being displayed, like this one:

US3SC10F.TXT

To read the information about the object, I have to browse to the directory and open the file with a text editor, then read the contents of the file, in this case it says:
Area is open to unrestricted surface navigation but all vessels are cautioned neither to anchor (except as shown) dredge, trawl, lay cables, bottom, nor conduct any other similar type of operation because of residual danger from mines on the bottom.
This process is very slow and tedious. Am I missing something in having to do it this way? Is there an easier way? If not, what do I need to do to request a feature in the next version that either provides a hyperlink to the file, or that actually reads the file and puts the information from the file in the object dialog?

Thanks,

Jim
__________________

jim326 is offline   Reply With Quote
Old 22-04-2015, 14:10   #2
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,451
Re: Reading Object Query TXTDSC information?

Jim...
You can create a feature request at http://willkamp.com/opencpn/flyspray/

Pavel
__________________

nohal is online now   Reply With Quote
Old 23-04-2015, 04:30   #3
Registered User

Join Date: Oct 2014
Posts: 26
Re: Reading Object Query TXTDSC information?

Thanks for that link! So I see from a search of that site that this feature was already requested way back in 2013. I guess it's not very high priority...

Oh well, at least it's possible to GET the information without that feature, even if it's not EASY.

Thanks,

Jim
jim326 is offline   Reply With Quote
Old 20-05-2018, 00:47   #4
Registered User

Join Date: Jan 2007
Location: Hobart, TAS
Boat: Hallberg-Rassy 382
Posts: 14
Re: Reading Object Query TXTDSC information?

Did anything come of this feature request? Access to the txt files associated with caution areas, anchorage areas, etc is important. Can the request be re-activated?


Andrew
aboon is offline   Reply With Quote
Old 20-05-2018, 04:25   #5
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,451
Re: Reading Object Query TXTDSC information?

No, nobody has implemented direct access to the chart attachments from inside OpenCPN yet, you still have to open them manually.

Pavel
nohal is online now   Reply With Quote
Old 20-05-2018, 05:36   #6
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 683
Re: Reading Object Query TXTDSC information?

Quote:
Originally Posted by nohal View Post
No, nobody has implemented direct access to the chart attachments from inside OpenCPN yet, you still have to open them manually.

Pavel

Pavel, what do you think about a 'workaround' implementation of such direct access support, working by converting TXTDSC <FILENAME> message to one containing an URL of the form: TXTDSC file:///<FULL_PATH_TO_DIRECTORY>/<FILENAME> ?


Clicking this link would point the local browser to the file and open it.



Marius
mrm is offline   Reply With Quote
Old 20-05-2018, 06:05   #7
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,451
Re: Reading Object Query TXTDSC information?

Quote:
Originally Posted by mrm View Post
Pavel, what do you think about a 'workaround' implementation of such direct access support, working by converting TXTDSC <FILENAME> message to one containing an URL of the form: TXTDSC file:///<FULL_PATH_TO_DIRECTORY>/<FILENAME> ?


Clicking this link would point the local browser to the file and open it.



Marius
Marius...
Yes, something like that has to be done to implement it, either with wxLaunchDefaultBrowser() on all platforms or invoking "xdg-open" on Linux, "open" on macOS and whatever there is on Windows to open the default application associated with the mime type and is not completely broken.
It will be a couple of lines of code, just nobody was attracted enough to do it so far.

Pavel
nohal is online now   Reply With Quote
Old 20-05-2018, 07:45   #8
Registered User
 
AISEAG's Avatar

Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 423
Re: Reading Object Query TXTDSC information?

Quote:
Originally Posted by mrm View Post
Pavel, what do you think about a 'workaround' implementation of such direct access support, working by converting TXTDSC <FILENAME> message to one containing an URL of the form: TXTDSC file:///<FULL_PATH_TO_DIRECTORY>/<FILENAME> ?


Clicking this link would point the local browser to the file and open it.



Marius
Hello Marius,

The best to do with your suggestion is to store it into Tracker/Flyspray and ask people to vote for it

Serge
AISEAG is offline   Reply With Quote
Old 20-05-2018, 11:48   #9
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 344
Re: Reading Object Query TXTDSC information?

Please double check, but I think it is implemented already for the oeSenc plugin. If I am correct it is likely easy to copy into O itself.
__________________

__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Reply

Tags
dsc

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
Hitting an Object While Motoring sonnysoh Monohull Sailboats 38 02-03-2016 19:12
Left click gives me object query so I cannot drag Tudorsailor OpenCPN 1 28-03-2014 11:34
Object Query on Mac Is Empty George64 OpenCPN 7 15-03-2011 14:15
If money was no object... Llamster Construction, Maintenance & Refit 14 25-03-2009 12:30
cost no object... neither to buy or maintain - what mono would you have any why? Sterling Monohull Sailboats 36 25-10-2008 07:19



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 16:48.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.