OpenSeaMap-dev:IHO Hydographic Dictionary S-32: Unterschied zwischen den Versionen

Aus OpenSeaMap-dev
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „Data base description... = Rules = == clear structure == use only: - Term - Description For further attributes, - use a specific column for each attribute. …“)
 
Zeile 4: Zeile 4:
  
 
== clear structure ==
 
== clear structure ==
use only:
+
Use only:
- Term
+
* Term
- Description
+
* Description
  
For further attributes,
+
For further attributes:
- use a specific column for each attribute.
+
* use a specific column for each attribute.
 +
 
 +
All texts in UTF-8.
 +
 
 +
{| class="wikitable"
 +
! Attribute || Type || Length || Content || Description
 +
|-
 +
| ID || incremential ||  ||  || Unique ID for all languages
 +
|-
 +
| number || text || 6 || #### a || Old number for old terms (may be obsolete in future)
 +
|-
 +
| term || text || 255 ||  || Term with one or more words, <br> without special marks, without abbrevieations, <br> optional one (1) colon (:)
 +
|-
 +
| description || memo || 65.535 ||  || Description of the term
 +
|-
 +
| sex || text || 1 || f <br> m <br> n|| feminine <br> masculine <br> neutrum
 +
|-
 +
| pl || text || 2 || pl <br> <empty> || term is commonly used in plural <br> term in singular
 +
|-
 +
| type || text || 5 || subst <br> adj <br> adv <br> vi <br> vt || substantiv <br> adjective <br> adverb <br> verb intransitive <br> verb transitive
 +
|-
 +
| deleted || boolean ||  || yes/no || mark as deleted if not more used
 +
|-
 +
| .. ||  ||  ||  ||
 +
|}
  
  
 
== use only words in a term ==
 
== use only words in a term ==
 
old:
 
old:
86 alignment correction(tape)
+
: 86 <nowiki> | </nowiki> alignment correction(tape)
  
 
new:
 
new:
86 alignment correction by tape
+
: 86 <nowiki> | </nowiki> alignment correction by tape
  
  
 
== use speakable terms ==
 
== use speakable terms ==
 
; and link to the ordered term
 
; and link to the ordered term
86 alignment correction by tape see "tape: alignment correction"
+
:{| class="wikitable"
5292 tape: alignment correction (description)
+
| 86 || alignment correction by tape || see "tape: alignment correction"
 
+
|-
 +
| 5292 || tape: alignment correction || (Description)
 +
|}
  
 
== split Sub-Languages ==
 
== split Sub-Languages ==
 
(but be sure it is not only a dialect)
 
(but be sure it is not only a dialect)
en into en-BE and en-AE
+
: en into en-BE and en-AE
es into es-ESP and es-ARG
+
: es into es-ESP and es-ARG
  
 
old:
 
old:
1756 fair chart (Brit)
+
:{| class="wikitable"
1757 fair sheet see "fair chart"
+
| 1756 || fair chart (Brit) || (Description)
4793 smooth sheet (US) see "fair chart"
+
|-
 
+
| 1757 || fair sheet || see "fair chart"
new:
+
|-
1756 en-BE fair chart
+
| 4793 || smooth sheet (US) || see "fair chart"
1757 en-BE fair sheet see "fair chart"
+
|}
4793 en-BE (nothing) see "fair chart"
 
  
1756 en-AE smooth sheet
+
new en-BE:
1757 en-AE (nothing) see "smooth sheet"
+
:{| class="wikitable"
4793 en-AE (nothing) see "smooth sheet"
+
| 1756 || fair chart || (Description)
 +
|-
 +
| 1757 || fair sheet || see "fair chart"
 +
|-
 +
| 4793 || (nothing) || see "fair chart"
 +
|}
 +
new en-AE:
 +
:{| class="wikitable"
 +
| 1756 || smooth sheet || (Description)
 +
|-
 +
| 1757 || (nothing) || see "smooth sheet"
 +
|-
 +
| 4793 || (nothing) || see "smooth sheet"
 +
|}
  
 
If you don't like to split Sub-Languages:
 
If you don't like to split Sub-Languages:
 
=== decide which is the Master Language ===
 
=== decide which is the Master Language ===
 
(which may be a political issue)
 
(which may be a political issue)
 +
 
old:
 
old:
1756 fair chart (Brit)
+
:{| class="wikitable"
1757 fair sheet see "fair chart"
+
| 1756 || fair chart (Brit) || (Description)
4793 smooth sheet (US) see "fair chart"
+
|-
 +
| 1757 || fair sheet || see "fair chart"
 +
|-
 +
| 4793 || smooth sheet (US) || see "fair chart"
 +
|}
  
 
new:
 
new:
old:
+
:{| class="wikitable"
1756 fair chart
+
| 1756 || fair chart || (Description)
1757 fair sheet see "fair chart"
+
|-
4793 smooth sheet (AE) see "fair chart"
+
| 1757 || fair sheet || see "fair chart"
 
+
|-
 +
| 4793 || smooth sheet (AE) || see "fair chart"
 +
|}
  
 
== split Multi-Terms ==
 
== split Multi-Terms ==
 
old:
 
old:
998 continental (or island) shelf
+
:{| class="wikitable"
 
+
| 998 || continental (or island) shelf
 +
|}
 
new:
 
new:
998 a continental shelf
+
:{| class="wikitable"
998 b island shelf
+
| 998 a || continental shelf
 
+
|-
 +
| 998 b || island shelf
 +
|}
 
old:
 
old:
3104 marine nature reserve (U.S. marine sanctuary)
+
:{| class="wikitable"
 +
| 398 || base tape (or wire)
 +
|}
 +
new:
 +
:{| class="wikitable"
 +
| 398 a || base tape
 +
|-
 +
| 398 b || base wire
 +
|}
  
new:
 
3104 en-BE marine nature reserve
 
new:
 
3104 en-AE marine sanctuary
 
  
== split Multi-Descriptions ==
 
 
old:
 
old:
1015 control point (1)... (2)...
+
:{| class="wikitable"
 
+
| 3104 || marine nature reserve (U.S. marine sanctuary)
new:
+
|}
1015 a control point (1)
+
new en-BE:
1015 b control point (2)
+
:{| class="wikitable"
 +
| 3104 || marine nature reserve
 +
|}
 +
new en-AE:
 +
:{| class="wikitable"
 +
| 3104 || marine sanctuary
 +
|}
  
 +
== split Multi-Descriptions ==
 
old:
 
old:
398 base tape (or wire)
+
:{| class="wikitable"
 
+
| 1015 || control point || (Description 1)... (Description 2)...
 +
|}
 
new:
 
new:
398 a base tape
+
:{| class="wikitable"
398 b base wire
+
| 1015 a || control point || (Description 1)
 
+
|-
 +
| 1015 b || control point || (Description 2)
 +
|}
  
 
== Aberrations needs an own term ==
 
== Aberrations needs an own term ==
 
old:
 
old:
1276 deep scattering layer (DSL)
+
:{| class="wikitable"
 
+
| 1276 || deep scattering layer (DSL)
 +
|}
 
new:
 
new:
1276 a deep scattering layer
+
:{| class="wikitable"
1276 b DSL see "deep scattering layer"
+
| 1276 a || deep scattering layer
 
+
|-
 +
| 1276 b || DSL || see "deep scattering layer"
 +
|}
 
but how to deal with multiple meanings:
 
but how to deal with multiple meanings:
1276 c DSL see "Digital Subscriber Line"
+
:{| class="wikitable"
 +
| 1276 c || DSL || see "Digital Subscriber Line"
 +
|}
  
 
== use Singular ==
 
== use Singular ==
 
old:
 
old:
1424 divider(s)
+
{| class="wikitable"
 
+
| 1424 || divider(s)
 +
|}
 
new:
 
new:
1424 a divider
+
{| class="wikitable"
 +
| 1424 a || divider
 +
|}
 
or split if necessary:
 
or split if necessary:
1424 b dividers
+
{| class="wikitable"
 +
| 1424 a || divider
 +
|-
 +
| 1424 b || dividers
 +
|}

Version vom 4. Januar 2016, 22:54 Uhr

Data base description...

Rules

clear structure

Use only:

  • Term
  • Description

For further attributes:

  • use a specific column for each attribute.

All texts in UTF-8.

Attribute Type Length Content Description
ID incremential Unique ID for all languages
number text 6 #### a Old number for old terms (may be obsolete in future)
term text 255 Term with one or more words,
without special marks, without abbrevieations,
optional one (1) colon (:)
description memo 65.535 Description of the term
sex text 1 f
m
n
feminine
masculine
neutrum
pl text 2 pl
<empty>
term is commonly used in plural
term in singular
type text 5 subst
adj
adv
vi
vt
substantiv
adjective
adverb
verb intransitive
verb transitive
deleted boolean yes/no mark as deleted if not more used
..


use only words in a term

old:

86 | alignment correction(tape)

new:

86 | alignment correction by tape


use speakable terms

and link to the ordered term
86 alignment correction by tape see "tape: alignment correction"
5292 tape: alignment correction (Description)

split Sub-Languages

(but be sure it is not only a dialect)

en into en-BE and en-AE
es into es-ESP and es-ARG

old:

1756 fair chart (Brit) (Description)
1757 fair sheet see "fair chart"
4793 smooth sheet (US) see "fair chart"

new en-BE:

1756 fair chart (Description)
1757 fair sheet see "fair chart"
4793 (nothing) see "fair chart"

new en-AE:

1756 smooth sheet (Description)
1757 (nothing) see "smooth sheet"
4793 (nothing) see "smooth sheet"

If you don't like to split Sub-Languages:

decide which is the Master Language

(which may be a political issue)

old:

1756 fair chart (Brit) (Description)
1757 fair sheet see "fair chart"
4793 smooth sheet (US) see "fair chart"

new:

1756 fair chart (Description)
1757 fair sheet see "fair chart"
4793 smooth sheet (AE) see "fair chart"

split Multi-Terms

old:

998 continental (or island) shelf

new:

998 a continental shelf
998 b island shelf

old:

398 base tape (or wire)

new:

398 a base tape
398 b base wire


old:

3104 marine nature reserve (U.S. marine sanctuary)

new en-BE:

3104 marine nature reserve

new en-AE:

3104 marine sanctuary

split Multi-Descriptions

old:

1015 control point (Description 1)... (Description 2)...

new:

1015 a control point (Description 1)
1015 b control point (Description 2)

Aberrations needs an own term

old:

1276 deep scattering layer (DSL)

new:

1276 a deep scattering layer
1276 b DSL see "deep scattering layer"

but how to deal with multiple meanings:

1276 c DSL see "Digital Subscriber Line"

use Singular

old:

1424 divider(s)

new:

1424 a divider

or split if necessary:

1424 a divider
1424 b dividers