For the moment, the CSV generated by the multi-page renderer is completely incorrect. It would require more work, and is not essential to put this multi-page renderer in production, so let's disable it for now. We can make it work later on, and enable it again if we want.
Signed-off-by: Thomas Petazzoni <[email protected]> --- ocitysmap2/layoutlib/multi_page_renderer.py | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ocitysmap2/layoutlib/multi_page_renderer.py b/ocitysmap2/layoutlib/multi_page_renderer.py index 82266c7..b1436fd 100644 --- a/ocitysmap2/layoutlib/multi_page_renderer.py +++ b/ocitysmap2/layoutlib/multi_page_renderer.py @@ -756,10 +756,10 @@ class MultiPageRenderer(Renderer): def _paper_pt_to_geo_m(self, paper_pt): return self._paper_mm_to_geo_m(commons.convert_pt_to_mm(paper_pt)) - # In multi-page mode, we only render pdf and csv formats + # In multi-page mode, we only render pdf format @staticmethod def get_compatible_output_formats(): - return [ "pdf", "csv" ] + return [ "pdf" ] # In multi-page mode, we only accept A4, A5 and US letter as paper # sizes. The goal is to render booklets, not posters. -- 1.7.4.1
