This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nik2img.py tests/data/good_maps/text_rotation.xml t.png -f ARGB32 | |
Segmentation fault: 11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/mapnik/font_engine_freetype.hpp b/include/mapnik/font_engine_freetype.hpp | |
index b1d7b34..5edc5b0 100644 | |
--- a/include/mapnik/font_engine_freetype.hpp | |
+++ b/include/mapnik/font_engine_freetype.hpp | |
@@ -283,7 +283,7 @@ public: | |
face_ptr face = engine_.create_face(name); | |
if (face) | |
{ | |
- face_ptr_cache_.insert(make_pair(name,face)); | |
+ //face_ptr_cache_.insert(make_pair(name,face)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/cairo_renderer.cpp b/src/cairo_renderer.cpp | |
index f238e4a..c6aaf62 100644 | |
--- a/src/cairo_renderer.cpp | |
+++ b/src/cairo_renderer.cpp | |
@@ -1540,10 +1540,10 @@ void cairo_renderer_base::process(markers_symbolizer const& sym, | |
box2d<double> bbox = marker_ellipse.bounding_box(); | |
coord2d center = bbox.center(); | |
agg::trans_affine_translation recenter(-center.x, -center.y); | |
- agg::trans_affine marker_trans = recenter * tr; | |
+ agg::trans_affine marker_trans = recenter * marker_tr; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
FAIL: python_tests.compositing_test.test_compare_images | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/case.py", line 197, in runTest | |
self.test(*self.arg) | |
File "/Users/dane/projects/mapnik6/tests/python_tests/compositing_test.py", line 27, in test_compare_images | |
eq_(a.tostring(),expected_im.tostring(), 'failed comparing actual (%s) and expected(%s)' % (actual,'tests/python_tests/'+ expected)) | |
File "/Library/Python/2.7/site-packages/nose-1.1.2-py2.7.egg/nose/tools.py", line 31, in eq_ | |
assert a == b, msg or "%r != %r" % (a, b) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo '#include <string>' > lib.hpp | |
echo 'std::string hello();' >> lib.hpp | |
echo '#include "lib.hpp"' > lib.cpp | |
echo 'std::string hello() { return "hello world\n"; }' >> lib.cpp | |
echo '#include <iostream>' > test.cpp | |
echo '#include "lib.hpp"' >> test.cpp | |
echo 'int main(void) { std::cout << hello();return 0; }' >> test.cpp | |
g++ -o test-cpp test.cpp lib.cpp | |
./test-cpp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Building Mapnik on NT ... | |
dependencies dir: c:\dev2 | |
lib_dir_schema=lib | |
Python is not configured | |
Mapnik.Python library won't be built | |
...patience... | |
...patience... | |
...patience... | |
...patience... | |
...found 29050 targets... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE Map[]> | |
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"> | |
<Style name="water" filter-mode="first"> | |
<Rule> | |
<PolygonSymbolizer fill="green" /> | |
</Rule> | |
</Style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: backend-mapnik/renderd.cc | |
=================================================================== | |
--- backend-mapnik/renderd.cc (revision 28499) | |
+++ backend-mapnik/renderd.cc (working copy) | |
@@ -14,7 +14,7 @@ | |
#include <mapnik/datasource_cache.hpp> | |
#include <mapnik/font_engine_freetype.hpp> | |
-#include <mapnik/config_error.hpp> | |
+#include <exception> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.3.1/leaflet.css" /> | |
<script src="http://cdn.leafletjs.com/leaflet-0.3.1/leaflet.js"></script> | |
</head> | |
<body> | |
<div id="map" style="width: 100%; height: 100%"></div> | |
<script> | |
var map = new L.Map('map'); | |
var osm = new L.TileLayer('http://tile.osm.org/{z}/{x}/{y}.png'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sphericalmercator@1.0.1 node_modules/sphericalmercator | |
step@0.0.5 node_modules/step | |
chrono@1.0.4 node_modules/chrono | |
semver@1.0.14 node_modules/semver | |
generic-pool@1.0.12 node_modules/generic-pool |