iho-ohi / S100Infrastructure

This repository is designated for user feedback on IHO S-100 Infra systems. Your comments will be reviewed by the Infra team for consideration and implementation.
9 stars 0 forks source link

CatalogToDocument FC size limitation #3

Open MikusRL opened 6 months ago

MikusRL commented 6 months ago

It is not possible to convert the S-101_FC_1.2.0.xml with the latest S-100Toolkit's CatalogToDocument tool (1.0.7467.27650). It gives this message after it has been trying to convert the document overnight:

image (we now that the converter works - tested the S-102 FC and it converted quick and generated a word document)

I appreciate it is not a high priority, but if there is a limit on the document size it can process, would it be better to state such a message that this size FC could not be converted to .doc at the beginning of the conversion? As the FC is quite standardized, there should be an appreciable correlation between the FC size and the doc zie it is generating. So I assume it could be predicted at the beginning of the conversion, that it will not succeed.

Another thing is that the message's text also does not give a good meaning. The advice from the message will never be executed just to convert the FC to doc. One does not adjust FC to be able to convert. FC is a product specification. All the message could state is to say along these lines: The FC is over the size the tool can convert, and that should be stated at the beginning of the process right after the FC to convert is indicated.

So what is then the limiting size of the FC this tool can handle? Can it be stated at the converter?

gorogara commented 5 months ago

@MikusRL The attached image is not a alarm from Catalogue To Documents, it is from MS Word. Since we are using the module of MS Word, it is difficult to know the limited size that the tool can handle. An alternative is to divide the Documents into multiple files. Or there is a idea to revise the document format by simplifying duplicated items in the MS Documents. For now, we plan to improve by simplifying the document format. When the improvement is made, the toolkit will be updated. Could you upload a oversized FC file to this issue. We need a testdata.