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 Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
Old 23-09-2015, 03:19   #1831
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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, 03:25   #1832
Registered User

Join Date: Mar 2010
Location: Den Helder, the Netherlands
Boat: Drascombe Coaster (22ft) "Seanymph"
Posts: 136
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, 04:21   #1833
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
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.
seandepagnier is offline   Reply With Quote
Old 28-09-2015, 03:33   #1834
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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, 08:19   #1835
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
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 offline   Reply With Quote
Old 29-09-2015, 01:19   #1836
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: Feature Requests

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

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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, 06:59   #1838
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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, 07:53   #1839
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,395
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 offline   Reply With Quote
Old 29-09-2015, 08:43   #1840
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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, 08:44   #1841
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
Re: Feature Requests

I think we already meet seans requirement.
rgleason is offline   Reply With Quote
Old 29-09-2015, 10:25   #1842
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Feature Requests

rick,

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

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,627
Images: 2
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, 05: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, 06:24   #1845
Registered User

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

Advanced Search
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 29-06-2008 23:29
Any requests for pics at Strictly Sail Oakland? Redbull addict Monohull Sailboats 0 30-03-2007 18:33
Capt.Jack requests permission to come aboard canatc1 Meets & Greets 8 10-04-2006 16:54

Advertise Here


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


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.