DATEX-II-EU / DatexII

Main repository for issues and bugs for the DATEXII standard
0 stars 0 forks source link

Definition of Percentage (Bugzilla Bug 464) #464

Open datexii opened 1 year ago

datexii commented 1 year ago

This issue was created automatically with bugzilla2github.py

Bugzilla Bug 464

Date: 2023-10-05T15:05:46+02:00 From: @JoergFst To: Jean-Philippe Mechine <Jean-Philippe.Mechin@cerema.fr>

Last updated: 2023-10-05T15:05:46+02:00

datexii commented 1 year ago

Comment 1866

Date: 2023-10-05 15:05:46 +0200 From: @JoergFst

In Part 7, the definition of data type Percentage is poor (see also Bug #463 https://bugzilla.datex2.eu/show_bug.cgi?id=463).

In CEN/TS 16157-2 the following contradictionary expressions can be found:

7.4.1.2 Semantics "A percentage as distance expression i.e. the ratio between the absolute distance [...]"

and

C.3.3.2 "Percentage [...] A value of 0 (zero) represents a location at the start of the linear element. A value of 100 represents a location at the end of the linear element."

Depending on the outcome of Bug #463, those two statements have to be adopted to the resulting definition of Percentage.

LBlaive commented 2 months ago

In EN 16157-7, the “Percentage” class define a type of value represented as a percentage. In EN 16157-2, this model part complies with EN ISO 19148 which has introduced three possibilities for representing the distance of a point along a linear element from a given origin. The “Percentage” method of EN ISO 19148 has been remodelled as “PercentageDistanceAlongLinearElement” and the attribute named as “percentageDistanceAlong” has a “percentage” data type consistent with the definition in Part 7 to avoid any misinterpretation. If the definition of "percentage" in Part 7 is updated, it is acceptable to add complements to the definition (or comment using this new possibility in v4). The text in C.3.3 stems from an annex of EN ISO 19148. This annex is informative only. There is no contradiction between this text and the data model part. No action on the data model is needed.

LBlaive commented 2 months ago

Proposed new text for definition (or comment) (modification in bold): "A measure of distance along a linear element from the start of the element expressed as a percentage of the total length of the linear object. The value 0 represents the starting point of the linear element when the value 100 represents the end point of the linear element.

iancornwell1 commented 1 month ago

As well as being updated for v4, this can also be updated in our branch for v3 support and we can include in release 3.6.