Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 22-03-2017, 14:26   #1
Registered User
 
Aart K.'s Avatar

Join Date: Oct 2015
Location: the Netherlands
Posts: 119
Layers or layers?

The foldername layers, must that be Layers with a uppercase L or a l as lowercase?

Same question for the foldername UserIcons. Two uppercases? Or Usericons with one uppercase or usericons without any uppercase?

Or does it make no sense how you do it?

Aart
from the Netherlands
__________________

Aart K. is offline   Reply With Quote
Old 23-03-2017, 03:53   #2
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 677
Re: Layers or layers?

Under windows, upper-case or lover case does not matter. Under Linux, UserIconns will be different than usericons. as a thumb rule always stick to lover case when naming files and folders, that might avoid incomparability and confusions
Quote:
Originally Posted by Aart K. View Post
The foldername layers, must that be Layers with a uppercase L or a l as lowercase?

Same question for the foldername UserIcons. Two uppercases? Or Usericons with one uppercase or usericons without any uppercase?

Or does it make no sense how you do it?

Aart
from the Netherlands
__________________

petter5 is offline   Reply With Quote
Old 23-03-2017, 05:21   #3
Registered User

Join Date: Jul 2010
Location: Kalamata, Greece
Boat: Amel Sharki
Posts: 1,876
Re: Layers or layers?

Best choice to take always the name as it is hard coded in the sources.
Often it doesn't matter but in some operating systems as petter5 wrote above already it matters. Not only Unix but also macOS allows to format a drive with HFS+ case-sensitive filesystem.
Layers is coded as "layers" and UserIcons is coded as "UserIcons" in the OpenCPN code. It is up to the developer to inform the users however.

Gerhard
CarCode is online now   Reply With Quote
Old 23-03-2017, 05:29   #4
Registered User

Join Date: Dec 2005
Location: Helsingborg, Sweden
Boat: Dufour 35
Posts: 3,475
Re: Layers or layers?

The directory for user-defined layers should be named "layers".
The directory for user-defined icons should be named "UserIcons".
These names, even though inconsistent, are recognized by O.

This is exactly the way it is described in the documentation.
In Windows you may get away with other versions of the words, as petter5 indicates, but it's a good idea to stick to the official naming accepted by O.

Thomas
cagney is offline   Reply With Quote
Old 23-03-2017, 07:09   #5
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 677
Re: Layers or layers?

Hmmm, it might be an idea to for the future to change the code and force all letters to lover case,,, just my 10 cents.
Quote:
Originally Posted by cagney View Post
The directory for user-defined layers should be named "layers".
The directory for user-defined icons should be named "UserIcons".
These names, even though inconsistent, are recognized by O.

This is exactly the way it is described in the documentation.
In Windows you may get away with other versions of the words, as petter5 indicates, but it's a good idea to stick to the official naming accepted by O.

Thomas
petter5 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
A Library of Layers cagney OpenCPN 7 15-02-2012 03:16
Daily Track, Anchor Watch, Layers Visibility . . . PjotrC OpenCPN 0 16-09-2011 10:55
Implementing Layers in 0324 Beta PjotrC OpenCPN 10 30-06-2011 08:07
Organizing Nav Objects into Layers PjotrC OpenCPN 68 31-03-2011 06:53
Are Ten Layers of Fiberglass Strong? goldbeard Construction, Maintenance & Refit 18 14-04-2010 08:05



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 07:21.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.