Page:
Api changes between v2.3 and v3.0
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
15
Api changes between v2.3 and v3.0
Blake Thompson edited this page 2015-01-29 11:45:07 -07:00
Removed
- Support for
-ansi
flag / non-c++11 compile. Starting at 3.x a compiler that recognizes-std=c++11
is required. - Removed
paths-from-xml
option from the<Map>
XML parser (https://github.com/mapnik/mapnik/issues/1893) ExpressionFormat
inTextSymbolizer
. Just useFormat
which now supports expressions for all properties (For nowExpressionFormat
is deprecated and will be parsed automatically intoFormat
).bilinear8
(raster scaling option) was obsolete and therefore removed.blend
method removed fromImage
object in python bindings. The same actions can be accomplished with thecomposite
function and src_over method.background
property in python bindings has been removed, added thefill
method to replace all its functionality.
Changed
- Made
clip:false
in all symbolizers (previous default wasclip:true
) - https://github.com/mapnik/mapnik/issues/2146 - In C++
mapnik::Map::addLayer
was changed tomapnik::Map::add_layer
- In C++
mapnik::Map::removeLayer
was changed tomapnik::Map::remove_layer
- In C++
mapnik::Map::getLayer
was changed tomapnik::Map::get_layer
- Changed
polygon_pattern_symbolizer
to default toglobal
rather thanlocal
for thealignment
. - CSV plugin now parses and stores the strings of
"true"
, and"false"
as boolean types (rather than strings) - https://github.com/mapnik/mapnik/issues/1540 TextSymbolizer
line wrapping behavior has now changed: previously line wrapping only happened on ascii whitespace (ifwrap-character
was not provided) but now it happens on any valid wrapping characters as determined by the default locale and the behavior of theICU::BreakIterator
(http://userguide.icu-project.org/boundaryanalysis).wrap-character
property forTextSymbolizer
should behave similarly as 2.3 but the code to support it was completely re-written so there may be slight differences in render: https://github.com/mapnik/mapnik/issues/2333
Added
MarkersSymbolizer
now supportsavoid-edges
,offset
,geometry-transform
,simplify
forline
placement and two newplacement
options calledvertex-last
andvertex-first
to place a single marker at the end or beginning of a path. Alsoclip
is now respected when rendering markers on a LineString geometry.TextSymbolizer
now supportssmooth
,simplify
,halo-opacity
,halo-comp-op
, andhalo-transform
ShieldSymbolizer
now supportssmooth
,simplify
,halo-opacity
,halo-comp-op
, andhalo-transform