This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AvNav implementation in OP2
#31
Ok, just created a daily with some correction.
You could try an update and use the URL for the daily instead of the default url:
https://www.wellenvogel.net/software/avn...210329.zip
Reply
#32
(2021-03-29, 12:08 PM)wellenvogel Wrote: Ok, we are getting closer...
So you seem to have a different default encoding on windows then me.

I guess I have to explicitly ensure UTF8 everywhere.
Could you maybe try to set the environment variable PYTHONUTF8=1 before you start the conversion?

Your reply came in as I was going to bed last night so I set the environment variable and checked the result this morning. All OK :Smile

I'll check your daily next and report back. 

Cheers
Chris
Reply
#33
Hi, Sorry about the delay. The daily worked as advertised Smile

Another query. Where is the CSS that sets the AIS vessel name font, color, etc.?

Any plans to add tracks for AIS targets?

Cheers
Chris
Reply
#34
Good to know it works now...
For the AIS stuff:
No CSS at all for that.
Color can be adapted in settings (font size too). You can also use own symbols - see https://www.wellenvogel.net/software/avn...ml?lang=en

Tracks for AIS targets are not on the list right now - maybe you could open an issue at GitHub for that. If there is some demand I could implement it.
Simple solution is some tracking in the browser only - but this most probably is not enough - so the effort would be slightly bigger.
Reply
#35
(2021-04-03, 01:32 PM)wellenvogel Wrote: Good to know it works now...
For the AIS stuff:
No CSS at all for that.
Color can be adapted in settings (font size too). You can also use own symbols - see https://www.wellenvogel.net/software/avn...ml?lang=en

Tracks for AIS targets are not on the list right now - maybe you could open an issue at GitHub for that. If there is some demand I could implement it.
Simple solution is some tracking in the browser only - but this most probably is not enough - so the effort would be slightly bigger.

I had found the colour settings for the AIS targets, and the font size but no setting for font-colour. 

The AIS target name currently has a white stroke with a black fill for the characters ( I think that is probably how it is defined) and I would like to be able to define a solid font colour i.e. fill and stroke the same. 

I'll have to do a GIT clone and look into it I guess Smile

Cheers
Chris
Reply
#36
Unfortunately you are right - for now you cannot modify the text style any further.
Maybe you could create a GitHub issue - most probably no to complex to implement.
If you are willing to provide a PR for it ... Smile
The code is in viewer/map/aislayer.js.
Reply
#37
(2021-04-06, 08:48 AM)wellenvogel Wrote: Unfortunately you are right - for now you cannot modify the text style any further.
Maybe you could create a GitHub issue - most probably no to complex to implement.
If you are willing to provide a PR for it ... Smile
The code is in viewer/map/aislayer.js.

Thanks; I'll have a look and see what I can do. My JS is very rusty. I'm better in python Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)