mapnik-org/mapnik — Issue #304: Shapes not renered in Viewer on Mac
Author: artemp
Created: 2011-10-11 07:47:41+00:00
State: open
Labels: Agg_Renderer

Using information from the XML tutorial at XmlGettingStarted I get the following output.

Python
---------
{{{
>>> mapnik.render_to_file(m, map_output)
scale=0.351562
start map processing bbox=Envelope(-180,-135,180,135)
scale denominator = 1.39771e+08
start layer processing : world
datasource = 0x331010
total shapes read=3784
end layer processing
end map processing
0.99 s
}}}

Viewer
---------
{{{
carl-gleisners-macbook:MacOS carlj$ ./viewer
loading /Users/carlj/milos/geodata/world_styles.xml
Warning: program compiled against libxml 207 using older 206
scale=75046.8
start map processing bbox=Envelope(-22326437.1984382,-20037508.3428,22326437.1984382,20037508.3428)
start layer processing : world
datasource = 0
end layer processing
end map processing
Envelope(-22326437.1984382,-20037508.3428,22326437.1984382,20037508.3428)
(getting the steelblue background)
}}}

XML map definition
--------------------------
{{{

My Style

shape
/Users/carlj/milos/geodata/world_borders/world_borders

}}}
My environment
----------------------
Mapnik 0.6.0
Mac OS X 10.5.6
Boost 1.35 (built using macprots according to instructions)