bugMapOSMatic - Bugs: bug #43124, street index doesn't appear

 
 

bug #43124: street index doesn't appear

Submitter:  SIGCluny <sigcluny>
Submitted:  Mon 01 Sep 2014 01:37:39 PM UTC
   
 
Category:  ocitysmap Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  2012.04
* Mandatory Fields

Add a New Comment Rich Markup
   

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?

Hartmut Holzgraefe <hartmut>
Group Member
Fri 19 Sep 2014 01:11:30 PM UTC, comment #2: 

The command I use :

./render.py --title="Cluny" --layout="single_page_index_side" --orientation="landscape" --format="png" -b 46.4471,4.6387 46.4182,4.6767

See attachement for the png


SIGCluny <sigcluny>
Tue 16 Sep 2014 06:44:50 PM UTC, comment #1: 

Interesting. It looks like the space was reserved for it on the side as it should, but somehow nothing was put on the PDF. Can you try rendering into a PNG instead to help us narrow it down?

/Maxime

Maxime Petazzoni <mpetazzoni>
Group administrator
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...


SIGCluny <sigcluny>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #32134:  citymap.png added by sigcluny (1MiB - image/png)
file #32011:  citymap.pdf added by sigcluny (993KiB - application/pdf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hartmut (Posted a comment)
  • -email is unavailable- added by mpetazzoni (Posted a comment)
  • -email is unavailable- added by sigcluny (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-19 sigcluny Attached File- Added citymap.png, #32134
    2014-09-01 sigcluny Attached File- Added citymap.pdf, #32011

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code