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 04-08-2015, 23: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, 02:32   #2
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,422
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.
seandepagnier is offline   Reply With Quote
Old 07-08-2015, 06: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, 07:14   #4
Registered User

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

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


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 103 22-08-2020 09:23
Making .KAP Maps for Android Marine Navigator and ORUX maps sinbad7 Navigation 5 15-07-2013 16:31
Sounding-Out Possible Suitors for 'Oh Joy' . . . CharlieCobra Monohull Sailboats 5 06-06-2010 20:57
Finally, a Way to Download Big, Detailed Maps from Google Maps ! malovich The Library 6 05-02-2010 12:27
At The Risk of Sounding Like a Jerk ssullivan Multihull Sailboats 31 07-09-2008 18:50

Advertise Here


All times are GMT -7. The time now is 19:20.


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.