Wykres commitów

22 Commity (e34791cd5591ddefb1e73926d61d6b45109ecc89)

Autor SHA1 Wiadomość Data
David MENTRE 8379cd7862 Print page number at bottom of multi-page map index
Signed-off-by: David MENTRE <dmentre@linux-france.org>
2012-03-31 18:46:10 +02:00
David MENTRE a4ac0f1805 multi-page index: wrap long labels over several lines
Signed-off-by: David MENTRE <dmentre@linux-france.org>
2012-03-31 10:54:57 +02:00
David MENTRE cf6ce9585b multi-page index: en entry repeated several times in a row is only printed once
Signed-off-by: David MENTRE <dmentre@linux-france.org>
2012-03-31 10:54:54 +02:00
Étienne Loks 8f2b75d4ab Fix name grouping in the index 2012-03-31 02:02:21 +02:00
Thomas Petazzoni fe3d542fa7 multi-page: fix index rendering when no streets are present
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 18:19:24 +02:00
Thomas Petazzoni ccda3983d2 MultiPageStreetIndexRenderer: automatically compute the number of columns
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:22 +02:00
Thomas Petazzoni b83e4e180e MultiPageStreetIndexRenderer: reduce size of default font
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:22 +02:00
Thomas Petazzoni 8d3e07b148 MultiPageStreetIndexRenderer: remove debugging background rectangle
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:22 +02:00
Thomas Petazzoni 72c8552dc3 indexlib: add min_drawing_width() method
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:22 +02:00
Thomas Petazzoni 637af377d5 index for multi-page: improve page_number handling
The page_number is now directly given to the StreetIndex constructor,
which in turn ensures that each IndexItem it creates have it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:22 +02:00
Thomas Petazzoni 44bccb3e8c indexlib: properly differentiate the page_number=None and page_number=0 cases
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:22 +02:00
Thomas Petazzoni dd71db9dc4 multi-page: remove multiple debugging outputs
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:22 +02:00
Thomas Petazzoni 5a3d51c80c multi-page: add index rendering with a new MultiPageStreetIndexRenderer class
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:21 +02:00
Thomas Petazzoni 42522fa968 indexlib: render page number as part of the street/amenity location
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:21 +02:00
Thomas Petazzoni 40fbac09b5 indexlib: villages section is not of street type
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:21 +02:00
Thomas Petazzoni a3adba5d85 indexlib: do not raise exception when index is empty
The StreetIndex constructor was raising an exception when no street
was found. With the multi-page renderer, it is very possible to have
pages of map without any street or other elements to put in the index,
but for convenience we still want to get a StreetIndex object, even if
its ._categories list is empty.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:21 +02:00
Thomas Petazzoni 042c127756 indexlib: add page_number to IndexItem
The multi-page renderer needs to know on which page each IndexItem has
been found. Therefore, we introduce a new page_number field in the
IndexItem class. This field remains to None for the single page
renderers, and is used to store an integer by the multi-page renderer.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-30 13:04:21 +02:00
Gael UTARD e5daf37d16 Indexer: capitalize each letter in index
Signed-off-by: Gael UTARD <gael.utard@kisis.fr>
2012-03-30 13:02:41 +02:00
Étienne Loks 01b7253e07 Index improvment: group locations whith the same name and the same position 2012-03-25 17:55:42 +02:00
David MENTRE 6d25c4913d Add 'place=isolated_dwelling' into index of villages 2012-01-08 08:27:28 +01:00
David MENTRE 0339b2f13b Add an index of villages 2011-12-31 18:57:06 +01:00
David Decotigny 04377283a9 Major reorganization, new maplib/indexlib/layoutlib hierarchy
New maplib (map creation routines), indexlib (index creation routines)
and layoutlib (page layout & rendering) structure. Besides moving
files around, a new layoutlib.commons module has been create to host
the mm to/from pt conversion routines.
2010-09-11 12:31:08 +02:00