Difference between revisions of "NtM Chart-correction XML"

From IHO Nautical Information Processing Working Group
Jump to navigation Jump to search
Line 103: Line 103:
 
===P&T Notices===
 
===P&T Notices===
 
It should be no difference between T&P and  regular notices. All notices are similar in structure, and only an attribute flag is indicating a notice as T or P.
 
It should be no difference between T&P and  regular notices. All notices are similar in structure, and only an attribute flag is indicating a notice as T or P.
 +
 +
P&T notices can have following status:<br>
 +
PUBLISHED - in force<br>
 +
CANCELLED - no longer in force due to cancellation by another P&T notice, or by a full notice (appropriate information must be provided)<br>
 +
DEACTIVATED- no longer in force due to HO internal processes (appropriate information must not be provided)<br>
  
 
===General notification===
 
===General notification===

Revision as of 11:03, 20 August 2018

XML chart correction examples for comparison


French XML

Description by Shom: NtM chart corrections in XML are produced since the beginning of 2018, with CARIS “Publication module” customized for Shom. They are used by our internal process for the production of our weekly NtM booklet (pdf) and NtM website. The XML also contains some internal data. The XML doesn’t contain the chart correction number. It is added later in the process as well as the link with the tracing and with the possible NtM block (graphical chart-updating). One NtM may concern several charts to be updated. The XML refers to a font (TrueTypeFont) for the graphical feature which is subject of the instruction. The chart corrections are in French and a glossary French-English is available in our weekly NtM booklet and NtM website [(http://gan.shom.fr/ganl/htdocs/FR_home.htm)]. We also convert the XML in GML for internal checking purposes using the geometry of NtM (graphical display). In the examples below, one file containts the chart corrections for one weekly NtM booklet.

Examples: File:Xml fr.zip

Contacts: pierre-yves.le.moigne@shom.fr, jonathan.mouton@shom.fr

Comments:




German XML

Description by BSH


Examples File:DE xml.zip

Contacts: daniel[dot]zuehr[at]bsh[dot]de

Comments:




Conventions Summary


Conventions

Multiple use of XML, Notice(s) applicable for one chart, notice applicable for several charts

The data model to be developed should be able to handle both versions. If the setup is such, that every chart-correction can have a reference to one or several charts [1..*], it is up to the producer to decide whether corrections are repeated chart-by-chart or each correction has a reference to all affected charts. The German XML version shows that it should be possible to create a data structure that supports both versions.

UML Diagram

Simplified UML Diagram presenting the conceptual structure of a Notice to mariner.

UML NtM conceptual structure.png

Each NoticeToMariner represents one single Notice. The Notice- object itself has attributes as; Notice number, date of publish, type of notice, source, title etc.

Each notice can contain any number of NoticeContent. NoticeContent is an abstract object, which can represent any of three types of content. The TextContent is a simple text-field, that can store simple (unformatted) text. ImageContent is any image added to the notice. Usually these are images of the chart to be corrected. The ChartCorrectionContent is a complex structure that includes a combination of an S-4 standard action (ADD, DELETE etc.), INT- symbols, standard phrases /commands and additional textual explanations.

Each NoticeContent has a reference to a ChartImage, which in turn has a reference to the ChartProduct it belongs to. A chart product is here assumed to be a given edition of a chart.


Images and Symbols

Format

TIFF
PNG
SVG

Repository

Symbols can be stored by each HO individually.
Should we try to convince the IHO Secretariat to host a repository (database) of symbols (similar to INT1) in a discrete format (to be defined) and a textual description associated to each symbol?
HOs can then download the data sets and use them in their production systems. It should be discussed how the generation/drawing of symbols can be managed. Is an appropriate online tool available on the market? Should we approach the Secretariat to contract the developement of such an online tool? Can HO(s) volunteer to contract the development?

Generation

use of predefined set(s)
customise as appropriate, e.g. depth with depth contour



Status of correction

Following status versions are appliable:
Published PUBLISHED notices are those, which are in force.

Cancelled CANCELLED notices are those, which are cancelled by a new notice.
CANCELLED notices are those, which are not showing up on the "T&P in force" list.

Deactivated DEACTIVATED notices are those, which are not active anymore due to any several (internal or external) reasons, e.g. a new edition of a chart makes it superfluous
DEACTIVATED notices are those, which are not showing up on the "T&P in force" list

Chart corrections and General notifications

Chart corrections

Instruction where to place a block, e.g ADD block in position xxx.xxx, yyy.yyy
Instructions according to IHO Standard M-4
Use of GML coordinate encoding at the backend but at the front end the coordinates should be presented as 00°00,000'N 000°00,000'E, less decimals are possible if source or chart scale make it necessary

Do we need to provide information on corrections of corrections (Pierre-Yves raises this question)? Or can we say that all corrections are independant corrections and if one needs to correct erratums, a new correction should be generated without mentioneing that it corrects erratums?

Stefan: In the FI system is a function for a notice to cancel another previously published notice. We are using this functionality for corrections to previous notices.
Also re-issuing or cancelling T&P notices is made using this same functionality

P&T Notices

It should be no difference between T&P and regular notices. All notices are similar in structure, and only an attribute flag is indicating a notice as T or P.

P&T notices can have following status:
PUBLISHED - in force
CANCELLED - no longer in force due to cancellation by another P&T notice, or by a full notice (appropriate information must be provided)
DEACTIVATED- no longer in force due to HO internal processes (appropriate information must not be provided)

General notification

The question is here, are general notification messages such as "New Chart/Edition"?

Language

The corrections should be provided in multiple languages.

Block correction

Block- corrections are to be created as separate geo-referenced PDF-documents / files. A link to the block is added to the Notice. The separate geo-referenced PDF-documents / files should also be made available for download.

Images providing correction advice

Larger images assisting the chart-correction can be added as ImageContent.