Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-08-2015, 00:42   #1
Registered User

Join Date: Jun 2013
Posts: 10
Read sounding info of maps

hi everybody,

I want to create a plugin for reading available sounding info under ownship or mouse position (or nearest) in any scale, I mean maybe Map be in a large scale and so i must load a smaller scale without showing in viewport and get soundg information.

i want to know whats the proper way of writing this plugin?

thanks a lot.
__________________

__________________
danics is offline   Reply With Quote
Old 06-08-2015, 03:32   #2
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,809
Re: Read sounding info of maps

To get from raster charts is difficult and error prone.

For vector charts.. it is a feature currently not implemented. It would be nice.
__________________

__________________
boat_alexandra is online now   Reply With Quote
Old 07-08-2015, 07:44   #3
Registered User

Join Date: Jun 2013
Posts: 10
Re: Read sounding info of maps

Yes, i want to this on cm93 or s57 charts

If map scale be in a right scale I can read the SOUNDG feature for cm93 charts but how can I read another chart scale's features without rendering it in Viewport?

thanks in advance
__________________
danics is offline   Reply With Quote
Old 07-08-2015, 08:14   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Read sounding info of maps

danics...
You would have to load and parse all the charts that cover the area all the time. Quite a performance penalty involved, IMO.
Of course there could be plan B to extend the plugin API currently providing named chart objects to the API with sounding values and store them externally in an efficient, indexed way - Principally the same what Chart Object Search plugin does. Of course it works just after the chart is displayed once, but the subsequent performance hit is minimized.

Pavel
__________________
nohal is offline   Reply With Quote
Old 07-08-2015, 08:50   #5
Registered User

Join Date: Jun 2013
Posts: 10
Re: Read sounding info of maps

it is a good idea, I look at it too thanks a lot.

Boat speed is slow enough for query this info from another thread and after all i don't think we need all chart scale's object data. just 3 or 4 must be enough and one part I don't understand completely is that witch ViewPort size and scale should i use for reading these info from different charts?, I mean a ViewPort With size 100x100 and center of boat position don't load correctly needed map (i use SetVPparams) ?
do you have any idea how can i use right values for scale and viewport size?
__________________
danics is offline   Reply With Quote
Old 07-08-2015, 09:01   #6
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: Read sounding info of maps

danics...
Why do you want the viewport and scale at all? Especially when you want to work with the data from charts not being displayed at all... I suppose you are interested in the boat/cursor lat/long and the sounding closest to it, aren't you?
The discussion would probably be a bit more productive looking at some code on Github.

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
Sounding size adjustment on Vector Charts rgleason OpenCPN 79 05-08-2017 20:43
Making .KAP Maps for Android Marine Navigator and ORUX maps sinbad7 Navigation 5 15-07-2013 17:31
Sounding-Out Possible Suitors for 'Oh Joy' . . . CharlieCobra Monohull Sailboats 5 06-06-2010 21:57
Finally, a Way to Download Big, Detailed Maps from Google Maps ! malovich The Library 6 05-02-2010 13:27
At The Risk of Sounding Like a Jerk ssullivan Multihull Sailboats 31 07-09-2008 19:50



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 13:27.


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.