Page:
Api changes between v2.1 and v2.2
Pages
A perfect testcase
API changes between v2.0 and v2.1
API changes between v3.0 and v3.1
AWS Lambda
About Mapnik
AlsoFilter
Api changes between v2.1 and v2.2
Api changes between v2.2 and v2.3
Api changes between v2.3 and v3.0
ArchInstallation
Aspect Fix Mode
Benchmark Notes
BoundsClipping
BrokenExceptions
BuildingSymbolizer
CSV Plugin
CairoVersions
CentOS_RHEL
ChangeLog
Code sprint
CodingStandards
Compiler Notes
Compositing
Contributing
DebianInstallation
DebugSymbolizer
DebuggingMapnik
DemoGallery
DeveloperTopics
DevelopingPlugins
Development
ElseFilter
ExampleCode
Expression
FasterCompiling
Fasterlabeling
Filter
FontSet
FreeBSDInstallation
GDAL
GEOS
GSOC Ideas
GSOC2010
GSOC2010_Application
GSOC2010_Ideas
GSOC2011
GSOC2011_Ideas
GeoJSON Plugin
GettingStarted
GettingStartedInPython
GettingStartedInXML
GlyphSymbolizer
GroupSymbolizer
Grouped rendering
Gsoc2012 application
Gsoc2012
HaitiStyles
Home
Ideas
Ideas_Compositing
Ideas_FutureMapnik
Image IO
InstallationTroubleshooting
InternationalText
IntroductionToGIS
Kismet
LabelingSupport
Layer
LearningMapnik
Legending
LinePatternSymbolizer
LineSymbolizer
LinuxInstallation
Logging
MacInstallation
MacInstallationSource
MacInstallation_Homebrew
MacPostGIS_Setup
MacPythonUpgradeIssues
ManagingLargeXmlFiles
MapDesign
Mapnik Development
Mapnik Installation
Mapnik with wxPython
Mapnik2
Mapnik2_Changes
MapnikCodeSprint
MapnikCodeSprint_MCS01
MapnikCodeSprint_MCS01_Location
MapnikCodeSprint_MCS01_Results
MapnikCodeSprint_MCS01_Schedule
MapnikCodeSprint_MCS02
MapnikCoreConcepts
MapnikDependencies
MapnikInstallationSvn
MapnikReferences
MapnikReleaseSteps
MapnikReleases
MapnikRenderers
MapnikTutorials
MapnikUtilities
MapnikViewer
Mapnikinstallation
MarkersSymbolizer
MaxScaleDenominator
MemoryDatasource
MetaWriter
MinScaleDenominator
ModServer
Nik2Img
Notes and caveats
OCCI
OGR
OpenSolarisInstallation
OpenSolarisInstallation_32bit
OpenSolarisInstallation_64bit
OpenSolarisInstallation_TroubleShooting
OpenSuse
OpenSuseInstallation
OptimizeRenderingWithPostGIS
OsmPlugin
OutputFormats
PackageBuilding
Paleoserver
Path Expression
PgRaster
PluginArchitecture
PointSymbolizer
PolygonPatternSymbolizer
PolygonSymbolizer
PostGIS
Postgis async
Python Plugin
Python3k
RFC: Raster color interpretation
Raster
RasterColorizer
RasterSymbolizer
Rasterlite
Related projects and utilities
Release0.6.0
Release0.6.1
Release0.7.0
Release0.7.1
Release0.7.2
Release2.0.0
Release2.0.1
Release2.0.2
Release2.1.0
Release2.2.0
Runtime Logging
SQLite
SVG support
Scale factor
ScaleAndPpi
ShapeFile
ShieldSymbolizer
ShieldSymbolizerTests
Style
StyleShare
Svg rendering gochas
SymbologySupport
Text Rendering Overview
TextSymbolizer
Trac to Github wiki migration notes
Troubleshooting
UbuntuInstallation
UbuntuInstallationOld
UsingCustomFonts
UsingScons
WindowsInstallation
World population tutorial
XMLConfigReference
XmlFormatDiscussion
iOS
mapnik.Datasource
mapnik.Layer
mapnik.Map
my choice
No results
8
Api changes between v2.1 and v2.2
Dane Springmeyer edited this page 2013-06-05 13:56:09 -07:00
Removed
geos
andkismet
plugins were removed (#1809,#1833)ltdl
,cairomm
, andlibsigc++
dependencies were removed- Removed the
bind
option for datasources (#1654)
Changed
- The
max_size
andinitial_size
options for thePostGIS
datasource impact behavior for a single, global pool of postgresql connections. In Mapnik >= 2.2.0, when set for any layer, if themax_size
orinitial_size
is larger than the default (10 formax_size
and 1 forinitial_size
) or any previously set value then the global value will be increased. In older Mapnik only the values set in the first layer would be respected. Ticket - Proj4 init errors due to invalid
srs
values will now cause exceptions when a map is loaded from XML as well as when encountered during rendering. The latter will very unlikely happen now that validation is done at map loading time. Previously errors were not reported except at render time and only as warnings printed to stderr (#646) No longer the case for 2.2 release, due to backwards compatibility fix as per https://github.com/mapnik/mapnik/issues/1859<Filter>[attr] != ''</Filter>
now matches only empty strings. This syntax previously matched both empty strings and nulls but this behavior was unintended and buggy given that Mapnik has supported anull
type since 2.0.0. If you wish to filter out allattr
values that are notempty strings
ornull
orfalse boolean type
then you can do<Filter>[attr]</Filter>
or<Filter>[attr] != '' and [attr] != null and [attr] != false</Filter>
Added
- Added Logging framework documentation synced with 2.2 status: https://github.com/mapnik/mapnik/wiki/Logging
DebugSymbolizer
- if used it will draw the invisible collision boxes collected up to that point in rendering the stylesheet. Also can be used to draw all verticies of geometries withmode=vertex
(#1366)- Added new
mapnik-config
flags:--all-flags
,--defines
,--git-describe
,--includes
,--dep-includes
,--cxxflags
,--cxx
(#1443) - Added support for reading images from in memory streams (#1805) in c++ and python.
- Added
text-halo-rasterizer
property. Set tofast
for lower quality but faster halo rendering (#1298) which matched new default method when radius is < 1. - Added C++ api for overriding scale_denominator to enable rendering at fixed scale (#1582)
- Added Layer
buffer-size
that can be used to override Mapbuffer-size
(#1566) - Added
mapnik::map_request
class, a special object to allow passing mutable map objects to renderer (#1737) - Added
is_solid
method to python mapnik.Image and mapnik.ImageView classes (#1728) - Added support for controlling rendering behavior of markers on multi-geometries
marker-multi-policy
(#1555,#1573) - Added alternative PNG/ZLIB implementation (
miniz
) that can be enabled withe=miniz
(#1554) - Added support for setting zlib
Z_FIXED
strategy with format string:png:z=fixed
- Added ability to re-use
mapnik::image_32
andmapnik::grid
by exposing aclear
method (#1571) - Added support for writing RGB (no A) png images by using the format string of
png:t=0
(#1559)