For now you still need the protobuf depedency installed.
For OS X do:
brew install protobuf
The protoc
command should then be on your path.
/home/ubuntu/mapnik-packaging/osx/out/build-cpp11-libstdcpp-gcc-x86_64/lib/libgdal.a(cpl_minixml.o): In function `_ZL19CPLSerializeXMLNodePK10CPLXMLNodeiPPcPjS4_.constprop.4': | |
cpl_minixml.cpp:(.text+0xf57): warning: memset used with constant zero length parameter; this could be due to transposed parameters |
./testdata-multipolygon ../../../osm-testdata/grid/data/all.osm | |
Pass 1... | |
relations: 57 | |
node members: 0 | |
way members: 136 | |
relation members: 0 | |
Pass 1 done | |
Pass 2... | |
Build relation id()=701900 members.size()=2 segments.size()=4 |
diff --git a/deps/agg/include/agg_math_stroke.h b/deps/agg/include/agg_math_stroke.h | |
index 4806dcd..7ba45f6 100644 | |
--- a/deps/agg/include/agg_math_stroke.h | |
+++ b/deps/agg/include/agg_math_stroke.h | |
@@ -22,6 +22,7 @@ | |
#include "agg_math.h" | |
#include "agg_vertex_sequence.h" | |
+#include <mapnik/debug.hpp> | |
diff --git a/deps/agg/src/agg_vcgen_stroke.cpp b/deps/agg/src/agg_vcgen_stroke.cpp | |
index 3ee336f..f00014f 100644 | |
--- a/deps/agg/src/agg_vcgen_stroke.cpp | |
+++ b/deps/agg/src/agg_vcgen_stroke.cpp | |
@@ -20,6 +20,7 @@ | |
#include "agg_vcgen_stroke.h" | |
#include "agg_shorten_path.h" | |
+const static double eps = 1e-2; | |
namespace agg |
Results in a massive dx2
value which breaks return values for dx
and dy
:
Output is:
$ ./calc-intersection-test
m_width * (v1.y - v0.y): 0.200000000023408
m_width * (v2.y - v1.y): 0.300000000000018
dx2: 9771986970684.640625000000000
1 9771986970692.2246093750000000 8934388088183.3027343750000000
Visual rendering: 19 failed / 776 passed | |
1) 1104 different pixels: | |
/tmp/mapnik-visual-images/image-filters-multi-blur-inflate-512-512-1.0-agg.png (actual) | |
tests/visual_tests/images/image-filters-multi-blur-inflate-512-512-1.0-agg-reference.png (expected) | |
2) 180 different pixels: | |
/tmp/mapnik-visual-images/image-filters-multi-blur-inflate-512-512-2.0-agg.png (actual) | |
tests/visual_tests/images/image-filters-multi-blur-inflate-512-512-2.0-agg-reference.png (expected) | |
3) 68 different pixels: | |
/tmp/mapnik-visual-images/lines-5-800-800-1.0-agg.png (actual) | |
tests/visual_tests/images/lines-5-800-800-1.0-agg-reference.png (expected) |
Process: Python [10242] | |
Path: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python | |
Identifier: Python | |
Version: 2.7.5 (2.7.5) | |
Code Type: X86-64 (Native) | |
Parent Process: sh [10221] | |
Responsible: Terminal [78893] | |
User ID: 501 | |
PlugIn Path: /opt/mapnik/*/_mapnik.so |