Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Old 23-09-2015, 04:19   #1831
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: Feature Requests

Saqqarra the dashboard styles have been improved several times however your new feature request should be entered into tracker. Please follow instruction above
__________________

__________________
rgleason is offline   Reply With Quote
Old 25-09-2015, 04:25   #1832
Registered User

Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 77
Re: Feature Requests

Quote:
Originally Posted by rgleason View Post
Roel Smidt you should make a new feature request in "opencpn feature request" project dropdown. Register make a new task and then vote for it.
O.K. Very sorry for that. I was not familiar with that Tracker/Feature Request-procedure (stupid, should have read that sticky first ). It can't say it was the easiest thing I did today but I think I managed to make a new Android feature request (and even vote for it )

Roel
__________________

__________________
Roel Smidt is offline   Reply With Quote
Old 25-09-2015, 05:21   #1833
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,512
Re: Feature Requests

the raspberry pi graphics hardware supports textures to 2048x2048, however only rectangular (non power of 2) to 1024x1024 or so roughly. So the chart symbols which is 1500x1200 cannot fit and I must allocate 2048x2048 which uses 16mb of video memory instead of the usual 6mb.

My feature request is, could someone rearrange the files in data/s57data like rastersymbols-day.png to "fit" in 1024x1024.? I think it can as there is a lot of space. And a bunch of the icons can be removed because they aren't even used. The chartsymbols.xml would have to be updated as well. This could probably be done with a script which re-packs everything. It will benefit all users with reduced use of graphics memory, faster loading time, and less disk space so also smaller download for opencpn.
__________________
boat_alexandra is offline   Reply With Quote
Old 28-09-2015, 04:33   #1834
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: Feature Requests

Is this something I could do? -A brief description of what is needs to be done would be helpful.
How are the graphics referenced? By x,y pixel boxes?
Can the symbols be rearranged graphically to be more compact and then make a list for each symbol name with the two x,y pixel pairs?

Quote:
My feature request is, could someone rearrange the files in data/s57data like rastersymbols-day.png to "fit" in 1024x1024.? I think it can as there is a lot of space. And a bunch of the icons can be removed because they aren't even used. The chartsymbols.xml would have to be updated as well. This could probably be done with a script which re-packs everything. It will benefit all users with reduced use of graphics memory, faster loading time, and less disk space so also smaller download for opencpn.
"probably be done with a script which re-packs everything." -- maybe not something I can do.
__________________
rgleason is offline   Reply With Quote
Old 28-09-2015, 09:19   #1835
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,494
Re: Feature Requests

Rick...

That is exactly right. You could do this.

Take a look at the bitmaps, e.g.

Code:
src/bitmaps/toolicons_traditional.png
Open this file in some graphics editor that allows detailed editing by pixel, say gimp or Photoshop. Or other....

Then look at

Code:
src/bitmaps/styles.xml
Take an example: The tool for zoomin...

You will see in styles.xml this:

Code:
            <tool name="zoomin">
                <icon-location x="20" y="20"/>
                <rollover-location x="20" y="220"/>
                <disabled-location x="20" y="320"/>
            </tool>
You will find the zoomin icon at x=20, y=20. What you will do is move the icon in the png file using the graphics tool to wherever you want it, and then adjust the <icon-location> tag in the .xml file to match. Rinse and repeat.

Lots of fiddly work, but straightforward.

The same thing could be done for

data/s57data/rastersymbols-x.png, using chartsymbols.xml

Give it a try?

Dave
__________________
bdbcat is online now   Reply With Quote
Old 29-09-2015, 02:19   #1836
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: Feature Requests

I will try it. Doesn't seem too difficult.
__________________
rgleason is offline   Reply With Quote
Old 29-09-2015, 07:52   #1837
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: Feature Requests

Bdcat:
Quote:
Take a look at the bitmaps, e.g. src/bitmaps/toolicons_traditional.png
Using Gimp 2.8 this one is 800 x 500 and the icons generally have 2 pixels between, with the exception of an icon catagory separation of 7 pixels horizontally.

By rearrangement of the Donate button, the large black square and the smaller icons we might be able to save an additional 7 pixels horizontally.

Also the palette of 800x500 pixels, 72.009x72.009 ppi Print area 11.11" x 6.944" generally has a 5 pixel border with a 16 pixel free space at the bottom for adding icons.

Do you want me to tighten it up, even if it meets Sean's requirement? 1500x1200
__________________
rgleason is offline   Reply With Quote
Old 29-09-2015, 07:59   #1838
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: Feature Requests

I am a little puzzled why Sean thinks the chart symbols are larger than 1500 x 1200. Does Linux do something differently?
I have checked C:\Users\...\Documents\GitHub\OpenCPN\src\bitmaps and found none larger.

Jesper or someone must have done a whole lot of work to set this up.
__________________
rgleason is offline   Reply With Quote
Old 29-09-2015, 08:53   #1839
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,494
Re: Feature Requests

Rick...

Sean's objective is to get the entire image down to 1024x1024. Square, power-of-two, in other words.

Thanks for looking at this.
Dave
__________________
bdbcat is online now   Reply With Quote
Old 29-09-2015, 09:43   #1840
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: Feature Requests

Bdcat I am sorry, I am not understanding completely. I think of pixels for resolution and it shows 800x500. Is Sean refering to a different standard?
__________________
rgleason is offline   Reply With Quote
Old 29-09-2015, 09:44   #1841
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: Feature Requests

I think we already meet seans requirement.
__________________
rgleason is offline   Reply With Quote
Old 29-09-2015, 11:25   #1842
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: grenada
Boat: bristol 27
Posts: 2,512
Re: Feature Requests

rick,

You are looking at the wrong file. I am talking about the png files in data/s57data
__________________
boat_alexandra is offline   Reply With Quote
Old 29-09-2015, 14:49   #1843
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,646
Re: Feature Requests

Sorry should have re-read Sean's post.

Quote:
could someone rearrange the files in data/s57data like rastersymbols-day.png to "fit" in 1024x1024.? I think it can as there is a lot of space. And a bunch of the icons can be removed because they aren't even used. The chartsymbols.xml would have to be updated as well.
Yes
C:\.. \GitHub\OpenCPN\data\s57data
rastersymbols-dark.png
rastersymbols-day.png
rastersymbols-dusk.png
These are all 1500x1200 pixels
You want them to be 1024x1024

and to change the xml file chartsymbols.xml

Is there some way I can get a handle on which symbols are not used?
Is there any particular criteria for packing?
Is 2 pixels apart adequate?

Looks like we can get to 1024 vertical by just cutting off the bottom and moving a few symbols. Compacting horizontally will require moving the last 1/3 of a row into intermediate open space vertically.

I assume the three ..day, dusk and night should all be arranged identically so that the xml will be identical. This may require editing all three at the same time.

Is there a way to just edit ..day and then create the dusk and night with a change in colors by color remapping or something?
__________________
rgleason is offline   Reply With Quote
Old 03-10-2015, 06:50   #1844
Registered User

Join Date: Oct 2015
Posts: 10
Re: Feature Requests

I have two suggestions:

  1. Switching the program GUI from wxWidgets to Qt. Qt is required for Android. That would save a lot of development time to code just one graphical framework.
  2. I would like to have a plugin for importing OpenSeaMap vector data.
__________________
Mr. S is offline   Reply With Quote
Old 03-10-2015, 07:24   #1845
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,903
Re: Feature Requests

Quote:
Originally Posted by Mr. S View Post
I have two suggestions:
Switching the program GUI from wxWidgets to Qt. Qt is required for Android. That would save a lot of development time to code just one graphical framework.
As far as I can tell, the fact that we use wxQt in the Android port did not bring us any closer to replacing wxWidgets with Qt, the task is still enormous. Do you want to undertake this adventure?

Quote:

I would like to have a plugin for importing OpenSeaMap vector data.
There was such an effort once, probably ready to be picked up and completed from https://github.com/ktec/osm_pi

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
Yet anothr of my stupid requests Little Otter Multihull Sailboats 2 30-06-2008 00:29
Any requests for pics at Strictly Sail Oakland? Redbull addict Monohull Sailboats 0 30-03-2007 19:33
Capt.Jack requests permission to come aboard canatc1 Meets & Greets 8 10-04-2006 17:54


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.