[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH] multi-page: only support pdf as output format
From: |
Thomas Petazzoni |
Subject: |
[Maposmatic-dev] [PATCH] multi-page: only support pdf as output format |
Date: |
Sat, 31 Mar 2012 23:15:10 +0200 |
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 <address@hidden>
---
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
- [Maposmatic-dev] [PATCH] multi-page: only support pdf as output format,
Thomas Petazzoni <=