TSMAD20/DIPWG2-08.1A. S-100 PORTRAYAL MODEL DIPWG-2 May 2010. A first attempt has been made to define an S-100 portrayal model keeping in mind the following four points: Define the S-100 portrayal model as a candidate to handle the digital part of a portrayal specification (text document).
A first attempt has been made to define an S-100 portrayal model keeping in mind the following four points:
Define the S-100 portrayal model as a candidate to handle the digital part of a portrayal specification (text document).
Define this portrayal model as also a candidate for the IHO portrayal register. The main objective is to provide a flexible means to define new portrayal catalogues either for new S-100 product specifications or for an existing product specification.
Define a portrayal model as a profile of the abstract standard ISO 19117.
The future S-52 specification (define to portray S-101 datasets in an ECDIS context => IMO Requirements) relies on a portrayal catalog issued from the S-100 portrayal model. We also have taken this opportunity to improve some portrayal aspects of the current presentation library, but with keeping in mind not to introduce regressions. For example, by mapping “diagram conditional procedure” to digital portrayal function.
Is associated with
IHO PORTRAYAL REGISTRY
Symbols and CSP
Specific Process (XSLT) to generate “human readable” version.
Symbols , CSP and flat rules
The S-100 Portrayal Model in conformance with ISO 19117 will organize portrayal information in two sub models: the S-100 Symbol Model. the S-100 Portrayal Function Model.The implementation of this model will be an XML schema application.An S-100 portrayal catalog will group digital portrayal information necessary to portray S-100 products taking a specific context into account (e.g. Navigation).
The S-100 Portrayal Catalog contains the portrayal function that contains all necessary elements (rules, functions, parameters) for mapping feature instances to symbols taking into account a specific context.
The portrayal function is mandatory in a portrayal catalog.
Optionally, the catalog supplies the symbols pointed to by portrayal rules defined in the portrayal function.
The S-100 Portrayal Function contains mainly the catalog portrayal functions.
A Catalog Portrayal Function is associated with a product feature catalog and in turn supplies portrayal rules for feature types defined in this product feature catalog.
The portrayal function also collects the “function” declarations . These basic functions are called from portrayal rules. There are specific context functions (e.g., setViewingGroup, setRaderLevel) or graphic functions (e.g., drawSectorLine) or conditional procedures (e.g., Restrn01, Lights05, ..)
The portrayal function collects the “portrayal parameters” declarations associated with the context, such as safetyContourValue.
The S-100 Catalog Portrayal Function is first linked to a product feature catalog by designed the product feature catalog name.
This means that the feature portrayal functions collected in the feature portrayal function list concerns feature types defined in the associated product feature catalog.
Note that the catalog portrayal function may be limited to a geometry delineation (point, line or area). This means that this catalog portrayal function is defined for feature types for which the selected geometry delineation is allowed by the product specification (e.g., “PaperChart” catalog portrayal function is restricted to point feature type).
Example default portrayal instructionsat the feature portrayal list level
The feature portrayal function proposes portrayal rules for one or a set of feature types. Portrayal rules are organized by geometry delineation (S-100 Portrayal delineation types).
The feature portrayal function element is an abstract element. It is mainly implemented as a feature type portrayal function, which is associated with one feature type.
Occasionally, it could be implemented as a feature filter portrayal function, which allows the selection of a set of feature instances by defining more than one feature type and potentially by defining a semantic (attribute) filter."
Feature Type Portrayal Function
Feature Filter Portrayal Function
The portrayal delineation associates a set of portrayal rules(S-100_PortrayalRuleSet) and potentially a geometry delineation.
The portrayal rule set could supply a set of portrayal rules and default portrayal instructions in cases where no portrayal rule matchs the current feature instance.
Each Portrayal Rule has a rule priority.
The portrayal rule is qualified by a filter.
This filter must be evaluated to true through the current feature instance (calling object)
If yes, the portrayal instructions set must be associated with the current feature with the display priority defined in the rule.
If there are some function calls they also must be executed on the current objet. (setViewingGroup or conditional procedure).
The “RESTRN01” conditional procedure is called from portrayal rules and must include or append to the existing portrayal instructions already set by the rule.
You need to declare the conditional procedures used by portrayal rules and point their definition path (may point to the specification documentation).
We choose to isolate “conditional procedure” in a stand alone xml file (in conformance with the S-100 portrayal model).
Classification of portrayal rules