User Tools

Site Tools


locodb:locodb-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
locodb:locodb-en [2025/10/16 09:01] – [Tree] rjversluislocodb:locodb-en [2025/10/16 12:24] (current) – [Description] rjversluis
Line 1: Line 1:
 ======Locomotive Databank====== ======Locomotive Databank======
 +[[:english#rocrail|{{  :server.png}}]][[:english|{{  :rocrail-logo-35.png}}]]
 +[[:english | Content ]] -> [[:english#rocrail|Rocrail Server]] -> [[:rocrailini-en | Configuration]] 
 +  * [[:rocrailini-gen-en|General]] | [[:rocrailini-trace-en|Trace]] | [[:rocrailini-service-en|Service]] | [[:rocrailini-automode-en|Automatic]] | [[:rocrailini-controller-en|Controller]] | [[:networking-en|R2Rnet]] | [[:rocrailini-rocweb-en|SVG]] | [[:finder:finder-en|Finder]] | [[:rocrailini-cmdmapping-en|Command Mapping]] | [[:rocrailini-presets-en|Presets]]
 +  * **[[:locodb:locodb-en|Locomotive Databank]]**
 + \\
 +
 +|< >|
 +| Short hand for //"Locomotive Databank"// is **//LocoDB//** |
 +
 + \\
 +=====Description=====
 +The idea behind the LocoDB is to be able to access all locomotives on all computers with access to the same NAS/Cloud storage.\\
 +Even with an offline Rocview it will be able to access the locomotives and check their properties.\\
 +====R/W Access====
 +Without read and write access of the LocoDB this concept will not work.\\
 +
  
  
  \\  \\
 =====Structure===== =====Structure=====
 +The LocoDB path points to a directory which can be read and write by all users running Rocrail.\\
 +Every loco has its own directory named by its ID. Blanks are replaced with underscores; __Blanks in IDs are discouraged and not supported.__\\
 +
 +====Example====
 +This is an example of a LocoDB on a NAS:\\
 {{:locodb:locodb-en.png?800}}\\ {{:locodb:locodb-en.png?800}}\\
  
-====Tree==== +===Tree=== 
-<code bash> +<code>
-/run/user/1000/gvfs/ftp:host=192.168.xxx.xxx/public$ tree LocoDB+
 LocoDB LocoDB
 ├── BR01097 ├── BR01097
Line 17: Line 37:
 │   ├── BR120119-3.xml │   ├── BR120119-3.xml
 │   └── m33535.png │   └── m33535.png
-├── BR216025-7 +
-│   ├── BR216025-7.xml +
-│   ├── DB216.png +.
-│   └── m3075.png +
-├── BR44690 +
-│   ├── BR44690.xml +
-│   ├── DB44.png +
-│   └── m3027.png +
-├── BR89_006 +
-│   ├── BR89006.png +
-│   ├── BR89_006.xml +
-│   └── DB89.png +
-├── E03002 +
-│   ├── E03002.xml +
-│   └── m3053.png +
-├── NS1211 +
-│   ├── m3051.png +
-│   ├── NS1200bl.png +
-│   └── NS1211.xml +
-├── NS1212 +
-│   ├── NS1212.png +
-│   └── NS1212.xml +
-├── NS232 +
-│   ├── NS232.png +
-│   └── NS232.xml +
-├── NS2418 +
-│   ├── NS2400.png +
-│   ├── ns2418.png +
-│   └── NS2418.xml +
-├── NS2424 +
-│   ├── ns2424.png +
-│   └── NS2424.xml +
-├── NS2472 +
-│   ├── ns2472.png +
-│   └── NS2472.xml +
-├── NS6405 +
-│   ├── ns6400.png +
-│   └── NS6405.xml+
 ├── RoT-1 ├── RoT-1
 │   ├── rot1.png │   ├── rot1.png
Line 62: Line 47:
     ├── m3072.png     ├── m3072.png
     └── V1002215.xml     └── V1002215.xml
- 
-16 directories, 37 files 
- 
 </code> </code>
  
  
  \\  \\
-=====Path===== +=====Rocview===== 
-====Rocview====+====Setup Path====
 {{:locodb:rocview-path-en.png?800}}\\ {{:locodb:rocview-path-en.png?800}}\\
-====Rocrail====+====Menu Programming==== 
 +{{:locodb:locodb-menu-en.png?400}}\\ 
 +===Select=== 
 +Select a directory to open just one locomotive.\\ 
 +===All=== 
 +Open all locomotives in the LocoDB.\\ 
 + 
 + 
 + \\ 
 +=====Rocrail===== 
 +====Setup Path====
 {{:locodb:rocrail-gen-en.png?800}}\\ {{:locodb:rocrail-gen-en.png?800}}\\
  
Line 78: Line 70:
  \\  \\
 =====Plan properties===== =====Plan properties=====
 +The "Workspace" and "Scale name" is used as selection in the LocoDB in case of automatically loading.\\
 {{:locodb:planprops-en.png?400}}\\ {{:locodb:planprops-en.png?400}}\\
  
Line 83: Line 76:
  \\  \\
 =====Locomotive===== =====Locomotive=====
 +For selecting a locomotive from the LocoDB the "Workspace" and/or "Scale" field should contain a value which match the [[#plan_properties|Plan properties]].\\
 {{:locodb:loco-gen-en.png?800}}\\ {{:locodb:loco-gen-en.png?800}}\\
 +
 +
 + \\
 +=====Export=====
 +With the "Locomotive database" option the export of the selected locomotives will be in the LocoDB.\\
 +The export will overwrite existing files.\\
 +{{:locodb:export-locos-en.png?600}}\\
 +
 + \\
 +=====Automatic loading=====
 +Locomotives will be automatically loaded from the LocoDB if following is all true:
 +  - No local locomotives are defined.
 +  - The [[#setup_path1|Locomotives database path]] exists and is accessible.
 +  - The [[#plan_properties|Plan properties]] contains a selection by Workspace and/or Scale-Name.
 +  - [[#locomotive|Locomotive]]s in the LocoDB matches the [[#plan_properties|Plan properties]] criterium.
 +
 +
 +
  
locodb/locodb-en.1760598118.txt.gz · Last modified: 2025/10/16 09:01 by rjversluis