openoereb / pyramid_oereb

pyramid_oereb is an open-source implementation of the server side part for the Swiss "Cadastre of Public-law Restrictions on landownership" (PLR-cadastre).
Other
8 stars 22 forks source link

PDF: general points #1210

Closed voisardf closed 3 years ago

voisardf commented 3 years ago

With the latest specifications the PDF format version has been updated to use the version PDF/A-2a by default. Also, the error messages to return if a PDF can not be produced have been defined.

What needs to be done:

jwkaltz commented 3 years ago

@voisardf regarding "Set version to PDF/A-2a (or PDF/A-1 (ISO 19005-1:2005) if not possible)":

Our current underlying reporting technology, https://github.com/TIBCOSoftware/jasperreports, does not support PDF/A-2. The Weisung says "Der statische Auszug wird im Dateiformat PDF/A-1 ... oder PDF/A-2a ... erzeugt".

Reading that, it seems that we can simply stay with PDF/A-1, which we implemented with pyramid_oereb 1.5, see notes here: https://openoereb.github.io/pyramid_oereb/changes.html#mapfish-print-pdf-a-conformance

What do you think?

voisardf commented 3 years ago

@jwkaltz: Yes, the specifications allows to stay with PDF/A-1, and if the new standard is not supported yet by Jasper Reports we do not have a lot of options. But we should keep an eye on that and 'upgrade' if Jasper Reports starts to support the new version.

jwkaltz commented 3 years ago

we do not have a lot of options.

Just for completeness: a contribution by the openoereb community to JasperReports to support PDF/A-2 would be conceivable (but for sure non-trivial).