From 6c3301d8eba59a02cf861bdc316ed57231c1fd13 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 12 Aug 2014 13:21:30 -0700 Subject: [PATCH] deprecate bilinear8 in 2.3.x - refs #2076 --- src/load_map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/load_map.cpp b/src/load_map.cpp index c0e942ccb..58c9e409d 100644 --- a/src/load_map.cpp +++ b/src/load_map.cpp @@ -1507,9 +1507,9 @@ void map_parser::parse_raster_symbolizer(rule & rule, xml_node const & sym) if (scaling) { std::string scaling_method = *scaling; - if (scaling_method == "fast") + if (scaling_method == "fast" || scaling_method == "bilinear8") { - MAPNIK_LOG_ERROR(raster_symbolizer) << "'scaling' value of 'fast' is deprecated and will be removed in Mapnik 3.x, use 'near' with Mapnik >= 2.1.x"; + MAPNIK_LOG_ERROR(raster_symbolizer) << "'scaling' value of '" << scaling_method << "' is deprecated and will be removed in Mapnik 3.x"; raster_sym.set_scaling_method(SCALING_NEAR); } else