Mon 26 Sep 2016 10:51:25 AM UTC, comment #3:
Can't reproduce with current code base ... see e.g. http://osm-baustelle.de/Cluny-A4.png and http://osm-baustelle.de/Cluny-A1.png
Created with
./render.py --config=france.conf --title="Cluny" --layout="single_page_index_side" --orientation="landscape" --format="png" --paper-format=A4 -b 46.4471,4.6387 46.4182,4.6767
Looking at the DIN A4 output the 2nd column only has very few entries though, maybe we have an edge case there if things are exactly hitting the tipping point where a 2nd column needs to get started?
|
Mon 01 Sep 2014 01:37:39 PM UTC, original submission:
Hello,
When I try to render a map with both "single_page" layout, the pdf file doesn't contain street index (see attached document). with "multipage" layout I have the street index ...
Have you an idea to solve this issue ?
Here the command I use :
./render.py --title="Cluny" --layout="single_page_index_side" --orientation="landscape" -b 46.4471,4.6387 46.4182,4.6767
And here messages displayed in terminal :
DEBUG:ocitysmap:Reading OCitySMap configuration from /home/sfaucher/.ocitysmap.conf...
DEBUG:ocitysmap:Found 1 Mapnik stylesheets.
DEBUG:ocitysmap:Map represents 2911x3213m, needs at least 44.0x48.6cm on paper.
DEBUG:ocitysmap:Best fit is 68.5x54.6cm.
INFO:ocitysmap:Rendering with renderer single_page_index_side in language: fr_FR.UTF-8 (rtl: False).
INFO:ocitysmap:Connecting to database maposmatic on localhost:5432 as maposmatic...
DEBUG:ocitysmap:Configured statement timeout: 15min.
DEBUG:ocitysmap:Rendering in temporary directory /tmp/ocitysmap30WWxk
INFO:ocitysmap:Rendering to PDF format...
INFO:ocitysmap:Getting streets...
DEBUG:ocitysmap:Got 134 streets.
INFO:ocitysmap:Getting amenities for Places of worship/place_of_worship...
DEBUG:ocitysmap:Got 2 amenities for Places of worship/place_of_worship.
INFO:ocitysmap:Getting amenities for Education/kindergarten...
DEBUG:ocitysmap:Got 0 amenities for Education/kindergarten.
INFO:ocitysmap:Getting amenities for Education/school...
DEBUG:ocitysmap:Got 7 amenities for Education/school.
INFO:ocitysmap:Getting amenities for Education/college...
DEBUG:ocitysmap:Got 8 amenities for Education/college.
INFO:ocitysmap:Getting amenities for Education/university...
DEBUG:ocitysmap:Got 8 amenities for Education/university.
INFO:ocitysmap:Getting amenities for Education/library...
DEBUG:ocitysmap:Got 8 amenities for Education/library.
INFO:ocitysmap:Getting amenities for Public buildings/townhall...
DEBUG:ocitysmap:Got 1 amenities for Public buildings/townhall.
INFO:ocitysmap:Getting amenities for Public buildings/post_office...
DEBUG:ocitysmap:Got 2 amenities for Public buildings/post_office.
INFO:ocitysmap:Getting amenities for Public buildings/public_building...
DEBUG:ocitysmap:Got 2 amenities for Public buildings/public_building.
INFO:ocitysmap:Getting amenities for Public buildings/police...
DEBUG:ocitysmap:Got 3 amenities for Public buildings/police.
DEBUG:ocitysmap:Got 101 villages for Villages.
DEBUG:ocitysmap:Determining index area within 784x1535+1584+99 aligned right/width...
DEBUG:ocitysmap:Trying index fit using Style(headers='Georgia Bold 16', labels='DejaVu 12')...
DEBUG:ocitysmap:Index Style(headers='Georgia Bold 16', labels='DejaVu 12') too large: should try a smaller one.
DEBUG:ocitysmap:Trying index fit using Style(headers='Georgia Bold 14', labels='DejaVu 10')...
DEBUG:ocitysmap:Index Style(headers='Georgia Bold 14', labels='DejaVu 10') too large: should try a smaller one.
DEBUG:ocitysmap:Trying index fit using Style(headers='Georgia Bold 12', labels='DejaVu 8')...
DEBUG:ocitysmap:Index Style(headers='Georgia Bold 12', labels='DejaVu 8') too large: should try a smaller one.
DEBUG:ocitysmap:Trying index fit using Style(headers='Georgia Bold 10', labels='DejaVu 7')...
DEBUG:ocitysmap:Will be able to render index in Area(Style(headers='Georgia Bold 10', labels='DejaVu 7'), 564x1535+1804+99, n_cols=2)
DEBUG:ocitysmap:Corrected bounding box from BoundingBox(46.4471,4.6387 46.4182,4.6767) to BoundingBox(46.4471,4.6333 46.4182,4.6821), ratio: 1.16.
INFO:ocitysmap:MapCanvas rendering map on 1789x1535px.
DEBUG:ocitysmap:Created layer shade in PolyShapeFile /tmp/ocitysmap30WWxk/shade.shp.
DEBUG:ocitysmap:Added shape file /tmp/ocitysmap30WWxk/shade.shp to map canvas as layer shade.
INFO:ocitysmap:Laying out grid on 3742.0x3212.9m area...
INFO:ocitysmap:Using 250.0x250.0m grid (14.9680952545x12.8516872109 squares).
DEBUG:ocitysmap:Created layer grid in LineShapeFile /tmp/ocitysmap30WWxk/grid.shp.
DEBUG:ocitysmap:Added shape file /tmp/ocitysmap30WWxk/grid.shp to map canvas as layer grid.
DEBUG:ocitysmap:Creating CSV file citymap.csv...
INFO:ocitysmap:SinglePageRenderer rendering on 841x594mm paper at 72 dpi.
DEBUG:ocitysmap:Rendering the street index within Area(Style(headers='Georgia Bold 10', labels='DejaVu 7'), 564x1535+1804+99, n_cols=2) at 72.0dpi...
DEBUG:ocitysmap:Mapnik scale: 1/10858.538855
DEBUG:ocitysmap:Actual scale: 1/5985.435890
DEBUG:ocitysmap:Using copyright logo: /home/sfaucher/ocitysmap/images/osm-logo.png.
DEBUG:ocitysmap:Writing citymap.pdf...
DEBUG:ocitysmap:Cleaning up /tmp/ocitysmap30WWxk...
|