URL: <http://savannah.nongnu.org/bugs/?43124>
Summary: street index doesn't appear Project: MapOSMatic Submitted by: sigcluny Submitted on: lun. 01 sept. 2014 13:37:39 GMT Category: ocitysmap Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: 2012.04 _______________________________________________________ Details: 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... _______________________________________________________ File Attachments: ------------------------------------------------------- Date: lun. 01 sept. 2014 13:37:39 GMT Name: citymap.pdf Size: 993 ko By: sigcluny <http://savannah.nongnu.org/bugs/download.php?file_id=32011> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?43124> _______________________________________________ Message posté via/par Savannah http://savannah.nongnu.org/