1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
|
# Base settings shared across all OneCore applications.
#
# Externally changeable parameters:
#
# main.path_share
# The root path for all NAIS resource files, which are normally located in the "share/" directory.
# The value has to terminate on a path segment separator (i.e. "/" or "\").
# See below for OS specific default values.
# Example:
# $ bin/na_onecore --main.path_share=/path/to/resources/ --config=etc/nais/na_onecore.ini
#
# main.path_temp
# The root path for all temporary files created by NAIS applications
# The value has to terminate on a path segment separator (i.e. "/" or "\").
# See below for OS specific default values.
# Example:
# $ bin/na_onecore --main.path_temp=/tmp/ --config=etc/nais/na_onecore.ini
[main]
# root path for all resources belonging to NAIS applications;
# this path can be defined to something else from the outside by setting main.path_share to any other path
#WIN32: path_share ?= /var/navi/src/nena-install-make-debug/share/
path_share ?= /usr/bin/navi/share/
#ANDROID: path_share ?= /sdcard/nena/share/
#OSX: path_share ?= /var/navi/src/nena-install-make-debug/share/
#IOS: path_share ?= ./share/
# root path for all temporary files created by NAIS applications;
# this path can be defined to something else from the outside by setting main.path_temp to any other path
#WIN32: path_temp ?= %TEMP%\
path_temp ?= /tmp/
#ANDROID: path_temp ?= %EXTERNAL_STORAGE%/tmp/neusoft/onecore/
#OSX: path_temp ?= /tmp/
#IOS: path_temp ?= /tmp/
[localization]
# Fallback default localization settings for the cases when HMI
# - doesn't configure a language and localization explicitly via API call
# - or sets an unsupported one
# Default language code. Matching Default_isoCountryCode and Default_isoScriptCode are required.
# Possible values: ISO 639-2 Alpha-3 language code
# Default value: eng
Default_isoLanguageCode = eng
# Default country code. Matching Default_isoLanguageCode and Default_isoScriptCode are required.
# Possible values: ISO 3166-1 Alpha-3 country code
# Default value: USA
Default_isoCountryCode = USA
# Default script code. Matching Default_isoLanguageCode and Default_isoCountryCode are required.
# Possible values: ISO 15924 four-letter script code
# Default value: Latn
Default_isoScriptCode = Latn
# Possible values: H12, H24
# Default value: H24
Default_TimeFormat = H24
# Possible values: METER, MILE, KM, YARD, FOOT
# Default value: KM
Default_DistanceUnit = KM
[nds]
# Full path and filename of shared library (libNdsLib.so or NdsLib.dll)
# OneCore application will not start when this file is missing or inaccessible.
#WIN32: ndslib = /var/navi/src/nena-install-make-debug\bin\NdsLib.dll
ndslib = /var/navi/src/nena-install-make-debug/lib/libNdsLib.so
#ANDROID: ndslib = libNdsLib.so
# Full path and filename of root file of the NDS database (typical name: ROOT.NDS)
# OneCore application will not start when this file is missing or inaccessible.
database = /var/DB/ROOT.NDS
# File name and path of the group key (NGK) file (for NDS database encryption)
# Default value: same as "ndslib", but file name extension changed to ".NGK" (i.e. normally bin\NdsLib.NGK or lib/libNdsLib.NGK)
# Should be changed only if it is not possible or wanted to deploy the NGK file to the same location as ndslib.
# ngkfile = /var/navi/src/nena-install-make-debug/your_path/your_name.NGK
ngkfile = /usr/bin/navi/etc/libNdsLib.NGK
# Maximum NdsLib cache size, in MBytes.
# This cache is used for loaded blobs from database and their derived (unpacked, indexed...) products.
# Objects that are currently locked by the application (and therefore could not be released anyway) are not included in
# this size, i.e. this setting refers to previousy used cached data only.
# Default value: 50
# Possible values: 1 to 500
cache_mb = 40
# Maximum number of items in NdsLib cache
# Some kinds of NDS objects are quite small, so the cache memory size specified above could be sufficient to hold
# millions of small objects. It is reasonable to limit this amout to reduce memory fragmentation, and also for
# performance reasons (size of cache index).
# Default value: 20000
# Possible values: 100 or larger
cache_objects = 20000
# Time (in seconds) after which unused Sqlite files of the NDS DB are automatically closed.
# A database may consist of hundreds of separate Sqlite files. Each open file administrative structures and
# especially a dedicated cache in memory, so it is recommendable to open the currently used files, and close
# them after use. On the other hand, re-opening and re-initialization of Sqlite files will cost performance.
# Default value: 30
# Possible values: 1 or larger (as interval in seconds). With value 0, all used files will be kept open forever.
close_unused_files_after = 30
# Maximum Sqlite cache size per open sqlite database file, in KBytes.
# This is Sqlite's internal cache. It can be reduced below standard values because NdsLib additionally uses its own
# global cache for loaded objects (see cache_mb).
# Note that Sqlite will allocate the specified amount of memory only when data of that size are actually loaded, and
# the memory will be released again when the file gets closed (see close_unused_files_after).
# This setting can be overwritten by building-block-specific settings below (for SLI and FTS)
# Default value: 2000
# Possible values: 0 or larger
sqlite_cache_default = 2000
# Maximum Sqlite cache size (in KBytes) per files containing the SLI building block (address input)
# This building block mainly relies on large and complex Sqlite queries, thus a larger cache really improves the
# performance here.
# Default value: same as sqlite_cache_default
# Recommended value: 10000
# Possible values: 0 or larger
sqlite_cache_sli = 10000
# Maximum Sqlite cache size (in KBytes) per files containing the FTS building block (full-text search)
# This building block mainly relies on large and complex Sqlite queries, thus a larger cache really improves the
# performance here.
# Default value: same as sqlite_cache_default
# Recommended value: 10000
# Possible values: 0 or larger
sqlite_cache_fts = 10000
# Maximum number of Sqlite files taht shall be opened in parallel. NdsLib will try to close unused files when
# this limit gets exceeded.
# Default value: 100
# Recommended value: should not be smaller that the number of update regions in the main navigation product DB
max_open_sqlite_files = 60
#
# Settings for Hybrid Online Database
#
# URL of root file of the remote (complete) NDS database.
# The local DB ("database" setting above) is assumed to be a stripped-down, core DB.
# Do not use this setting if only a complete local DB is used (classical onboard use case).
# Default value: empty string (no remote database)
# remote_database = http://naisftp.nts.neusoft.local/Database/nais/database/japan/NTS_1610_R0_ZE_BoA-IVI_JPN_master_26_nds/ROOT.NDS
# Local path for "Cloud Cache". Will be used to store downloaded blobs from "remote_database".
# Has no effect when no "remote_database" is specified.
# Default value: empty string (no cloud cache)
# remote_cache = ${main.path_temp}/Cache.sql
# Number of accepted startups without proper shutdown until the CloudCache is cleared.
# Has no effect when no "remote_database" or no "remote_cache" is specified.
# Default: 3
remote_cache_retry = 3
# Size of CloudCache in MBytes
# Has no effect when no "remote_database" or no "remote_cache" is specified.
# Default: 500 MB
remote_cache_size = 500
# Length in km along the start of the guided route for which additionally
# caching of all direct neighboring tiles is done (i.e. widen corridor on the initial route part).
# Only used if CloudCache is active.
# Default: 50
wide_corridor_length = 50
# Initial setting for off-line state at startup.
# Set to false to assume a startup in offline state.
# Default: true
online_at_startup = false
# Polling interval in seconds for checking for a lost online connection.
# Default value: 11 sec
# Minimum value: 2 sec
check_remote_access_after = 3
# database path using for personal poi
personal_pois_path = ${main.path_temp}/ppois/
|