Skip to content

Instantly share code, notes, and snippets.

@yvecai
yvecai / renderd.log
Created July 8, 2012 08:09
Mapnik crash not on (0,0)
renderd[24492]: DEBUG: Connection 2, fd 10 closed, now 3 left
renderd[24492]: DEBUG: Got incoming connection, fd 10, number 4
renderd[24492]: DEBUG: Got command Render fd(10) xml(pistes), z(10), x(81), y(293)
scale=305.748
start map processing bbox=box2d(-626172.1357121642,-7.081154551613622e-10,3.492459654808044e-10,626172.1357121639)
start layer processing : nodes
datasource = 0x7f5d880619d0
end layer processing
start layer processing : nordic-bg
datasource = 0x7f5d880b4810
@yvecai
yvecai / renderd.out
Created July 8, 2012 08:07
renderd gdb
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fed5b8dd700 (LWP 25344)]
0x00007fed6a90121c in mapnik::geometry_utils::from_wkb(boost::ptr_vector<mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector>, boost::heap_clone_allocator, std::allocator<void*> >&, char const*, unsigned int, bool, mapnik::wkbFormat) ()
from /usr/local/lib/libmapnik.so.2.0
(gdb) thread apply all bt
Thread 3 (Thread 0x7fed5c0de700 (LWP 25343)):
#0 0x00007fed696f403d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007fed696f3edc in sleep () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x000000000040643a in stats_writeout_thread (arg=<optimized out>) at daemon.c:583
@yvecai
yvecai / routes-bg.xml
Created July 7, 2012 22:07
Mapnik layer
<Style name="routes-bg">
<Rule>
&maxscale_zoom17;
&minscale_zoom18;
<LineSymbolizer stroke-width="18" stroke="#FFFFFF"/>
</Rule>
<Rule>
&maxscale_zoom16;
&minscale_zoom16;
renderd[16656]: DEBUG: DONE TILE pistes 10 96-103 512-519
~stroker: destroy stroker:0x7fc9505dff00
renderd[16656]: DEBUG: DONE TILE pistes 10 96-103 512-519 in 0.732 seconds
renderd[16656]: DEBUG: Connection 0, fd 10 closed, now 0 left
renderd[16656]: DEBUG: Got incoming connection, fd 10, number 1
renderd[16656]: DEBUG: Got command RenderPrio fd(10) xml(pistes), z(10), x(512), y(512)
scale=152.874
start map processing bbox=box2d(0,-313086.0678560823,313086.0678560819,-3.783497959375381e-10)
start layer processing : nodes
datasource = 0x7fc9500219c0
@yvecai
yvecai / piste-styles.xml
Created March 17, 2012 12:13
Mapnik mapfile
<?xml version="1.0" encoding="utf-8"?>
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over"
background-color="transparent" >
<Style name="nordic-bg">
<Rule>
<LineSymbolizer stroke-width="2.5" stroke="#FFFFFF"/>
</Rule>
</Style>
@yvecai
yvecai / ne.xml
Created March 16, 2012 07:52
low-zoom style
<?xml version="1.0" encoding="utf-8"?>
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over"
background-color="white" >
<!--
<Style name="world-snow">
<Rule>
<RasterSymbolizer scaling="bilinear8"/>
</Rule>