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/image_util.cpp b/src/image_util.cpp | |
index ae36062..5e6aac3 100644 | |
--- a/src/image_util.cpp | |
+++ b/src/image_util.cpp | |
@@ -69,6 +69,7 @@ extern "C" | |
#include "agg_span_image_filter_rgba.h" | |
#include "agg_span_interpolator_linear.h" | |
#include "agg_trans_affine.h" | |
+#include "agg_blur.h" | |
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: plugins/input/ogr/ogr_datasource.cpp | |
=================================================================== | |
--- plugins/input/ogr/ogr_datasource.cpp (revision 2378) | |
+++ plugins/input/ogr/ogr_datasource.cpp (working copy) | |
@@ -59,21 +59,30 @@ | |
: datasource(params), | |
extent_(), | |
type_(datasource::Vector), | |
- desc_(*params.get<std::string>("type"), *params.get<std::string>("encoding","utf-8")), | |
+ desc_(*params.get<std::string>("type"), *params_.get<std::string>("encoding","utf-8")), |
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
#include <CoreFoundation/CoreFoundation.h> | |
#include <Cocoa/Cocoa.h> | |
#ifdef check | |
#undef check | |
#endif | |
#ifdef verify | |
#undef verify | |
#endif |
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
* Configuration: | |
* | |
* By default all macros generate "production code" (i.e non-debug). If | |
* DEBUG_ASSERT_PRODUCTION_CODE is defined to zero or DEBUG is defined to non-zero | |
* while this header is included, the macros will generated debug code. | |
* | |
* If DEBUG_ASSERT_COMPONENT_NAME_STRING is defined, all debug messages will | |
* be prefixed with it. | |
* | |
* By default, all messages write to stderr. If you would like to write a custom |
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/Library/Formula/boost.rb b/Library/Formula/boost.rb | |
index 3633158..cf405c4 100644 | |
--- a/Library/Formula/boost.rb | |
+++ b/Library/Formula/boost.rb | |
@@ -5,6 +5,8 @@ class Boost <Formula | |
url 'http://downloads.sourceforge.net/project/boost/boost/1.44.0/boost_1_44_0.tar.bz2' | |
md5 'f02578f5218f217a9f20e9c30e119c6a' | |
+ depends_on 'icu4c' | |
+ |
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
# note: there is work afoot to load pbf directly with osm2pgsql | |
# http://lists.openstreetmap.org/pipermail/dev/2010-October/020953.html | |
# but for now osmosis >= 0.37 works best | |
# install java/osmosis if you don't already have it | |
sudo apt-get install sun-java6-jre | |
wget http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-0.37.zip | |
unzip osmosis-0.37.zip | |
cd osmosis-0.37 | |
chmod +x bin/osmosis |
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" ?> | |
<Map bgcolor="rgb(255,255,255)" srs="+init=epsg:4326"> | |
<Style name="NYC_Structures4326_style"> | |
<Rule> | |
<PolygonSymbolizer> | |
<CssParameter name="fill">rgb(78,110,187)</CssParameter> | |
<CssParameter name="gamma">0.7</CssParameter> | |
</PolygonSymbolizer> | |
<LineSymbolizer> | |
<CssParameter name="stroke-width">0.96</CssParameter> |
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: plugins/input/shape/dbffile.hpp | |
=================================================================== | |
--- plugins/input/shape/dbffile.hpp (revision 2199) | |
+++ plugins/input/shape/dbffile.hpp (working copy) | |
@@ -36,6 +36,7 @@ | |
using mapnik::transcoder; | |
using mapnik::Feature; | |
+using namespace boost::iostreams; | |
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
// pull layers from query string | |
boost::optional<std::string> layer_string = get_layer_string(): | |
if (layer_string) | |
{ | |
std::clog << "filtering layers...\n"; | |
// convert comma separated layers to vector | |
std::vector<std::string> layer_names = parse_layer_string(*layer_string); | |
// for each map layer object | |
BOOST_FOREACH ( layer const& lyr, map_.layers() ) |