diff --git a/CHANGELOG b/CHANGELOG index e6434556e..2e7ad06d0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -61,7 +61,7 @@ Mapnik Trunk - AGG Renderer - Enforced default gamma function on all symbolizers to ensure proper antialiasing even when gamma is modified on the PolygonSymbolizer. (#512) -- Added ability to read pre 0.8.0 stylesheets, but prints a warning for deprecated syntax (r1592, #501) +- Added ability to read pre 2.0.0 stylesheets, but prints a warning for deprecated syntax (r1592, #501) - Rasterlite Plugin: Experimental support for Rasterlite, to practically use sqlite database with wavelet compressed rasters (#469) diff --git a/bindings/python/mapnik/__init__.py b/bindings/python/mapnik/__init__.py index bd106069c..6e309d0ae 100644 --- a/bindings/python/mapnik/__init__.py +++ b/bindings/python/mapnik/__init__.py @@ -77,13 +77,13 @@ _injector = _MapnikMetaclass('_injector', (object, ), {}) def Filter(*args,**kwargs): - warnings.warn("'Filter' is deprecated and will be removed in Mapnik 0.8.1, use 'Expression' instead", + warnings.warn("'Filter' is deprecated and will be removed in Mapnik 2.0.1, use 'Expression' instead", DeprecationWarning, 2) return Expression(*args, **kwargs) class Envelope(Box2d): def __init__(self, *args, **kwargs): - warnings.warn("'Envelope' is deprecated and will be removed in Mapnik 0.8.1, use 'Box2d' instead", + warnings.warn("'Envelope' is deprecated and will be removed in Mapnik 2.0.1, use 'Box2d' instead", DeprecationWarning, 2) Box2d.__init__(self, *args, **kwargs) diff --git a/bindings/python/mapnik/ogcserver/__init__.py b/bindings/python/mapnik/ogcserver/__init__.py index eed458356..45456fd00 100644 --- a/bindings/python/mapnik/ogcserver/__init__.py +++ b/bindings/python/mapnik/ogcserver/__init__.py @@ -24,5 +24,5 @@ import os import warnings -warnings.warn("ogcserver module development has moved to https://github.com/mapnik/OGCServer.\n This code will function fine with this version, but will be removed in Mapnik 0.8.1. Disable this warning by editing this file: %s" % os.path.realpath(__file__), DeprecationWarning, 2) +warnings.warn("ogcserver module development has moved to https://github.com/mapnik/OGCServer.\n This code will function fine with this version, but will be removed in Mapnik 2.1.0. Disable this warning by editing this file: %s" % os.path.realpath(__file__), DeprecationWarning, 2) diff --git a/osx/python/mapnik.py b/osx/python/mapnik.py index 90ee1942e..65686258b 100644 --- a/osx/python/mapnik.py +++ b/osx/python/mapnik.py @@ -93,13 +93,13 @@ _injector = _MapnikMetaclass('_injector', (object, ), {}) def Filter(*args,**kwargs): - warnings.warn("'Filter' is deprecated and will be removed in Mapnik 0.8.1, use 'Expression' instead", + warnings.warn("'Filter' is deprecated and will be removed in Mapnik 2.0.1, use 'Expression' instead", DeprecationWarning, 2) return Expression(*args, **kwargs) class Envelope(Box2d): def __init__(self, *args, **kwargs): - warnings.warn("'Envelope' is deprecated and will be removed in Mapnik 0.8.1, use 'Box2d' instead", + warnings.warn("'Envelope' is deprecated and will be removed in Mapnik 2.0.1, use 'Box2d' instead", DeprecationWarning, 2) Box2d.__init__(self, *args, **kwargs)