deprecate bilinear8 in 2.3.x - refs #2076
This commit is contained in:
parent
9d74adb871
commit
6c3301d8eb
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue