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

 
 

bug #43124: street index doesn't appear

Submitted by:  SIGCluny <sigcluny>
Submitted on:  Mon 01 Sep 2014 01:37:39 PM UTC  
 
Category: ocitysmapSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 2012.04

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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

(file #32134)

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by hartmut (Posted a comment)
  • -unavailable- added by mpetazzoni (Posted a comment)
  • -unavailable- added by sigcluny (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 19 Sep 2014 01:11:30 PM UTCsigclunyAttached File-=>Added citymap.png, #32134
    Mon 01 Sep 2014 01:37:39 PM UTCsigclunyAttached File-=>Added citymap.pdf, #32011

    Back to the top


    Powered by Savane 3.1-cleanup1