2012-03-24 02:14:57 +01:00
# Mapnik Changelog
2011-10-26 00:57:00 +02:00
2008-12-07 23:58:48 +01:00
A simple log of core changes affecting Mapnik usage.
Developers: Please commit along with changes.
2012-06-18 18:08:38 +02:00
For a complete change history, see the git log.
2008-12-07 23:58:48 +01:00
2018-08-07 23:54:25 +02:00
## UNRELEASED
#### Core
- Fixed compilation with ICU >= 61 (#3963)
- Fixed bbox reprojection (#3940)
#### Plugins
- GDAL: Fixed several issues with overviews (#3939)
2018-04-12 11:25:09 +02:00
## 3.0.20
Released: April 12, 2018
(Packaged from f02c7bcdb)
- Make max_image_area a datasource parameter for GDAL.
- GDAL Driver Overview Fix and Memory Reduction (#3872)
- Raster colorizer: check image bounds (#3879)
- Removed usage of `typename` in template template declarations (available in c++17) (#3882)
2018-03-05 11:46:26 +01:00
## 3.0.19
2018-03-06 09:47:25 +01:00
Released: March 06, 2018
2018-03-05 11:46:26 +01:00
2018-03-06 09:48:28 +01:00
(Packaged from d50562d54)
2018-03-05 11:46:26 +01:00
- Backported scaling of precision by polygon size (#3844)
- Backported GRID placement (#3847, #3854 , #3855 )
- Added missing `MAPNIK_DECL` to all `text_placement_` types (7ce142a5aa8e9da5ddd11266a054c1e69052230d)
- Fixed invalid memory access if input_buffer size is zero (a602c65354a4b595821d2300f38ebc107d07e2a9)
- Fixed handling of an empty polygon in grid_vertex_converter (2f2dcf1eeae71aaa7878f4bc9a39741321f07e68)
- Fixed PROJ_LIB detection logic (44f1ae3a6e9e9979d1a93343f40db6cd7dbf51d5)
- Default to `icu-config` for obtaining `ICU_DATA` if `u_getDataDirectory fails (2cef98d7f76cdd302afcf15f1c585379537e8f1d)
2017-12-13 15:12:21 +01:00
## 3.0.18
2018-01-26 14:59:46 +01:00
Released: January 26, 2018
2017-12-13 15:12:21 +01:00
2018-01-26 14:59:46 +01:00
(Packaged from 44ef46c81)
2017-12-13 15:12:21 +01:00
- SVG parser - fixed logic for calculating dimensions when `width` and `height` expressed in
percentage units (#3812)
2018-01-26 09:55:33 +01:00
- New improved `interior` placement algorithm (#3839)
2018-01-26 14:59:46 +01:00
- Fixed handling of an empty interior rings in `polygon_vertex_processor` (#3833)
- Fixed handling of an empty interior rings in `vertex_adapter' (#3842)(#3838)
2017-12-13 15:12:21 +01:00
2017-11-29 10:14:49 +01:00
## 3.0.17
2017-11-29 14:34:40 +01:00
Released: November 29, 2017
2017-11-29 10:14:49 +01:00
2017-11-29 14:34:40 +01:00
(Packaged from ebdd96c61)
2017-11-29 10:14:49 +01:00
- Use `Scons 3` as an internal build sytsem + support both Python 2 and 3.
- Added glibcxx workaround to support libstdc++-4.8
2017-11-14 14:49:01 +01:00
## 3.0.16
2017-11-16 15:41:24 +01:00
Released: November 16, 2017
2017-11-14 14:49:01 +01:00
2017-11-16 15:41:24 +01:00
(Packaged from 8d7b75e)
2017-11-14 14:49:01 +01:00
- Added "strict" SVG parsing mode with consistent error handling and disabled processing of unsupported attributes.
- Added support for `<use>` element.
- Implemented compile time string literal to integer conversion, to be able to convert large `if/else if/else` statements to `switch` .
- WKB reader - pre-allocate optimisations in `multi_polygon` and `geometry_collection` .
- Set alpha values in RGBA TIFFs even when `NODATA` value is pesent.
- Support building with ICU >= 59.
- SCons - added ICU_DATA, PROJ_LIB and GDAL_DATA settings, available via `mapnik-config`
- Fixed centroid and interior text placement algorithms (#3771)
- Fixed memory leak (#3775)
- SVG parser - fixed default gradient vector in linear gradient.
- Fixed bounding box collection logic (#3709)
2017-06-15 12:08:43 +02:00
## 3.0.15
2017-06-16 10:36:55 +02:00
Released: June 16, 2017
2017-06-15 12:08:43 +02:00
#### Summary
2017-06-16 10:36:55 +02:00
(Packaged from 6e6cf84)
2017-06-15 12:08:43 +02:00
- Restored `filter_factor` logic in `gdal.input` and added to `raster.input` (#3699)
(updated tests https://github.com/mapnik/test-data-visual/commit/fd518f1f512b8aea4ac740c2ce12c249616a291c)
- Fixed bug related to rows swapping implementation in `tiff_reader` ref #3679
(updated visual tests to catch this regression in the future
https://github.com/mapnik/test-data-visual/commit/be0ba965cd2240576a8edfca84801cbb7a4832d6)
- TIFF I/O - port memory mapped based I/O from master
2017-06-05 10:29:41 +02:00
## 3.0.14
2017-06-05 16:26:17 +02:00
Released: June 5, 2017
2017-06-05 10:29:41 +02:00
2017-06-06 17:44:26 +02:00
(Packaged from 2b42e17)
2017-05-12 19:16:25 +02:00
#### Summary
- Fixed problems with high levels of overzooming in the GDAL and raster plugin where data would be slightly offset
- High levels of overzooming on raster data no longer results in the return of a transparent image.
2017-06-05 10:29:41 +02:00
- Fixed bug in `mapnik::util::file::data()` (a220bda05d2aa1)
- TIFF I/O - added support for grey scale multiband images + fixed and made generic `read_stripped` and `read_generic` .
- shapeindex - return error code when no features can read from shapefile (#3198)
- Upgrade Scons to `2.5.1`
2017-06-06 17:42:15 +02:00
- Fixed bug (typo) in `raster_featureset.cpp` (#3696)
2017-07-18 10:08:16 +02:00
- Made `freetype_engine` singleton again. This allows for better control of its life-time. Original interface is preserved via adding static methods (#3688)
2017-05-12 19:16:25 +02:00
2017-01-18 14:27:49 +01:00
## 3.0.13
2017-02-08 14:06:42 +01:00
Released: February 8, 2017
2017-01-18 14:27:49 +01:00
2017-02-08 14:06:42 +01:00
(Packaged from 2a153c0)
2017-01-18 14:27:49 +01:00
#### Summary
- Unbundle `unifont` font from distribution
2017-05-19 14:40:47 +02:00
- GeoJSON: improved parsing grammar avoiding temp synthesised attribute (#3507)
2017-01-18 14:27:49 +01:00
- GeoJSON: expose `num_features_to_query` datasource parameter + unit test (#3515)
- Fixed intersecting extents in different projections (PR #3525 )
- Fixed `blur` implementation by taking into account `scale_factor`
- postgis.input - use 2D box for pgraster bounding box (PR #3551 )
- Fixed GroupSymbolizer PairLayout with 3+ items (#3526)
- Simplified `hash` implementation (204d30e58d3553278ab6bcda2d4122b0f13f6392)
2017-04-06 11:43:12 +02:00
- Simplified `mapnik::value` conversion rules (#3570)
2017-01-18 14:27:49 +01:00
- Changed `render_thunk_list` to `std::list<render_thunk>` (PR #3585 )
- Upgraded to variant `v1.1.5`
- CSV.input - fixed `blank` line test (8a3a380b3b5c64681f2478b4f0d06f6a907f5eed)
2017-02-06 16:00:00 +01:00
- GeoJSON - handle empty elements in position grammar (ref #3609 )
- mapnik-index - return failure on invalid bounding box (ref #3611 )
2017-01-18 14:27:49 +01:00
2016-08-04 11:53:04 +02:00
## 3.0.12
2016-09-08 10:36:21 +02:00
Released: September 8, 2016
2016-08-04 11:53:04 +02:00
2016-09-08 10:36:21 +02:00
(Packaged from 1d22d86)
2016-08-04 11:53:04 +02:00
#### Summary
- Ensured gdal.input is registered once (refs #3093 #3339 #3340 )
- Fixed `mapnik::util::is_clockwise` implementation to use coordinates relative to the origin and avoid numeric precision issues
- `mapnik-index` is updated to fail on first error in input (csv)
- Added `guard` to `get_object_severity` method (ref #3322 )
- Improved `hash` calculation for `mapnik::value` (ref #3406 )
- AGG - made cover `unsigned` to avoid left shift of negative values (ref #3406 )
- Fixed using `scale_factor` in `evaluate_transform(..)`
- Fixed line spacing logic by applying `scale factor`
- ~~Fixed `stringify_object/stringify_array` implementations by disabling white space skipping (ref #3419 )~~
- Added geojson unit test for property types/values
- JSON - added support for object and array type in `json_value` and update `stringifier`
- GDAL.input - fallback to using `overviews` if present (8e8482803bb435726534c3b686a56037b7d3e8ad)
- TopoJSON.input - improved and simplified grammer/parser implementation (https://github.com/mapnik/mapnik/pull/3429)
- GDAL.input - Added support for non-alpha mask band
- TopoJSON.input - fixed order of ellements limitation (ref #3434 )
- Fixed stroke-width size not included in markers ellipse bounding box (ref #3445 )
- Implemented `char_array_buffer` and removed `boost::iostreams` dependency (2e8c0d36c2237f2815d8004c1b96bad909056eb9)
- JSON.input - `extract_bounding_box_grammar` - make features optional (ref #3463 )
- Ensure input plugins return `empty_featureset` rather than `nullptr` (feature_ptr())
- Added support for quantising small (less than 3 pixel) images (ref #3466 )
- Added support for natural logarithm function in expressions (ref #3475 )
2016-08-04 12:00:57 +02:00
- Improved logic determining if certain compiler features are available e.g `inheriting constructors` (MSVC)
2016-08-26 15:39:56 +02:00
- GeoJSON - corrected quoting in `stringify` objects (ref #3491 )
- GeoJSON - ensured consistent ordering of attribute descriptors (ref #3494 )
- GeoJSON - exposed `num_features_to_query` as datasource paramer (ref #3495 )
- Replaced `boost::mpl::vector<Types...>` with `std::tuple<Types...>` (ref #3503 )
- BuildingSymbolizer - fixed closing segment of polygon in building symbolizer (ref #3505 )
2016-09-05 15:38:55 +02:00
- Update dependencies versions
- Fixed warnings when compiling with g++5
2016-09-08 10:36:21 +02:00
- Fixed image swap (ref #3513 )
- Stop bundling testdata in source tarball (ref #3335 )
2016-08-04 11:53:04 +02:00
2016-03-08 15:30:08 +01:00
## 3.0.11
2016-08-04 11:54:39 +02:00
Released: April 1, 2016
2016-03-08 15:30:08 +01:00
2016-04-01 19:00:59 +02:00
(Packaged from 8d9dc27)
2016-03-08 15:30:08 +01:00
#### Summary
- Raster scaling: fixed crash and clipping negative pixel values of floating point rasters (https://github.com/mapnik/mapnik/pull/3349)
2016-04-01 19:00:59 +02:00
- Restored support for unquoted strings in expressions (https://github.com/mapnik/mapnik/pull/3390)
2016-04-04 09:24:25 +02:00
- [TWKB ](https://github.com/TWKB/ ) support via https://github.com/mapnik/mapnik/pull/3356 (#3355)
2016-05-18 22:06:31 +02:00
- Visual test runner can render SVG, PDF and Postscript with Cairo renderer (https://github.com/mapnik/mapnik/pull/3418)
- Scale factor is now applied also to `text-line-spacing` and transforms (https://github.com/mapnik/mapnik/pull/3416)
2016-08-04 11:53:04 +02:00
2016-02-26 01:17:05 +01:00
## 3.0.10
Released: February 25, 2016
2016-02-26 01:37:57 +01:00
(Packaged from 5c0d496)
2016-02-26 01:17:05 +01:00
#### Summary
- The `shapeindex` command now has a `--index-parts` option. When used the index will be bigger
but will allow the Shapefile datasource to only parse polygon parts within the query bounds.
- WARNING: index files generated with this newer Mapnik are invalid for older versions of Mapnik.
- Any `.index` files accompanying a `.shp` must now be regenerated otherwise
it will be skipped. To avoid this problem you can delete the existing `.index` files, or ideally run `shapeindex` to recreate the `.index` . (https://github.com/mapnik/mapnik/pull/3300)
The trigger for this change was an optimization that required a new binary format for the shapefile indexes (https://github.com/mapnik/mapnik/pull/3217).
- Shapeindex - another fix for skipping `null` shapes (#3288)
- Fixed support for filter expressions starting with `not` (https://github.com/mapnik/mapnik/issues/3017)
- Ensure `mapped_memory_cache` acts as singleton across shared objects (#3306)
- Removed miniz support in PNG encoder (#3281)
- Added `-fvisibility=hidden -fvisibility-inlines-hidden` to default compiler flags
- Fixed parsing of SVG `PathElement` (https://github.com/mapnik/mapnik/issues/3225)
- JSON parsing now supports arbitrary (nested) attributes in `geometry`
- Support for rendering `dash-array` in SVGs
- SVG parser is now stricter (fails is all input is not parsable) (#3251)
- SVG parser now correctly handles optional separator `(,)` between multiple command parts
- Optimized parsing of `png` format string
- The `memory_datasource` now dynamically reports correct datasource type (vector or raster)
- Upgraded `mapbox::variant v1.1.0`
- Compare: https://github.com/mapnik/mapnik/compare/v3.0.9...v3.0.10
2015-11-05 15:23:22 +01:00
## 3.0.9
2015-11-26 11:13:12 +01:00
Released: November 26, 2015
2015-11-05 15:23:22 +01:00
2015-11-26 11:13:12 +01:00
(Packaged from 03a0926)
2015-11-05 15:23:22 +01:00
#### Summary
2015-11-10 22:19:16 +01:00
- Fixed offsetting of complex paths and sharp angles (https://github.com/mapnik/mapnik/pull/3160) (via @winni159 )
2015-11-10 17:00:44 +01:00
- Fixed mapnik.util.variant issue when compiling with gcc-5.x and SSO enabled by default (https://github.com/mapnik/mapnik/issues/3103) (via @nkovacs )
2015-11-10 22:19:16 +01:00
- Fixed issue with complex scripts where some character sequences weren't rendered correctly (https://github.com/mapnik/mapnik/issues/3050) (via @jkroll20 )
2015-11-10 17:00:44 +01:00
- Revived postgis.input tests
2016-02-26 01:17:05 +01:00
- JSON: geometry grammar has been re-factored and optimized to have expectation points
2015-11-10 22:19:16 +01:00
- Filled missing specializations for value_bool in `mapnik::value` comparison operators
- `mapnik.Image` - fixed copy semantics implementation for internal buffer
- JSON parsing: unified error_handler across all grammars
2015-11-10 17:00:44 +01:00
- Improved unit test coverage
2016-02-26 01:17:05 +01:00
- Raster scaling: fixed nodata handling, accuracy when working with small floats and clipping floats by \[0; 255\] (https://github.com/mapnik/mapnik/pull/3147)
2015-11-26 11:13:12 +01:00
- Added [`code of conduct` ](http://contributor-covenant.org )
- GeoJSON plug-in is updated to skip feature with empty geometries
- GeoJSON plug-in : ensure original order of features is preserved (fixed) (https://github.com/mapnik/mapnik/issues/3182)
- Shapeindex utility: fixed `empty` shapes handling and ported tests to c++
2015-11-24 16:41:34 +01:00
- Centroid algorithm: fixed invalid input handling, particularly empty geometries (https://github.com/mapnik/mapnik/pull/3185)
2015-11-26 11:13:12 +01:00
- Updated SCons build system to the latest version 2.4.1 (http://scons.org/)
2015-11-05 15:23:22 +01:00
2015-10-16 22:34:53 +02:00
## 3.0.8
2015-10-23 15:49:02 +02:00
Released: October 23, 2015
2015-10-16 22:34:53 +02:00
2015-10-23 15:49:02 +02:00
(Packaged from 2d15567)
2015-10-16 22:34:53 +02:00
#### Summary
- Renamed `SHAPE_MEMORY_MAPPED_FILE` define to `MAPNIK_MEMORY_MAPPED_FILE` . Pass `./configure MEMORY_MAPPED_FILE=True|False` to request
2015-10-19 19:01:49 +02:00
support for memory mapped files across Mapnik plugins (currently shape, csv, and geojson).
2016-02-26 01:17:05 +01:00
- Unified `mapnik-index` utility supporting GeoJSON and CSV formats
2015-10-23 15:42:29 +02:00
- Increased unit test coverage for GeoJSON and CSV plugins
2016-02-26 01:17:05 +01:00
- shape.input - re-factor to support *.shx and improve handling various bogus shapefiles
2015-10-23 15:42:29 +02:00
- geojson.input - make JSON parser stricter + support single Feature/Geometry as well as FeatureCollection
2015-10-23 15:46:50 +02:00
- maintain 'FT_LOAD_NO_HINTING' + support >= harfbuzz 1.0.5
2015-10-23 15:42:29 +02:00
- geojson.input - implement on-disk-index support
2015-10-16 22:34:53 +02:00
2015-10-10 00:28:51 +02:00
## 3.0.7
2015-10-13 01:18:50 +02:00
Released: October 12, 2015
2015-10-10 00:28:51 +02:00
2015-10-13 01:18:50 +02:00
(Packaged from e161253)
2015-10-10 00:28:51 +02:00
#### Summary
2015-10-13 01:18:50 +02:00
- Removed `MAPNIK_VERSION_IS_RELEASE` define / `mapnik-config --version` not longer reports `-pre` for non-release versions.
Use `mapnik-config --git-revision` instead (https://github.com/mapnik/mapnik/issues/3123)
2015-10-12 19:38:58 +02:00
- Renamed `nik2img` command to `mapnik-render`
2015-10-10 00:28:51 +02:00
- PostGIS: Fixed handling of all attributes when `key_field_as_attribute=false` (https://github.com/mapnik/mapnik/issues/3120)
2015-10-10 00:50:52 +02:00
- PostGIS: Fixed parsing of `key_field_as_attribute` as boolean: now `true/false` can be used in addition to `0/1`
2015-10-10 00:28:51 +02:00
2015-10-07 23:48:20 +02:00
## 3.0.6
2015-08-11 22:31:09 +02:00
2015-10-07 23:48:20 +02:00
Released: October 7, 2015
2015-08-11 22:31:09 +02:00
2015-10-07 23:48:20 +02:00
(Packaged from 3cebe97)
2015-08-11 22:31:09 +02:00
2015-09-16 13:24:14 +02:00
#### Summary
2015-10-07 23:10:26 +02:00
- PostGIS plugin: added `key_field_as_attribute` option. Defaults to `True` to preserve current behavior of having the `key_field` added both
as an attribute and as the `feature.id` value. If `key_field_as_attribute=false` is passed then the attribute is discarded (https://github.com/mapnik/mapnik/issues/3115)
2015-10-07 17:29:20 +02:00
- CSV plugin has been further optimized and has gained experimental support for on-disk indexes (https://github.com/mapnik/mapnik/issues/3089)
- SVG parser now fallsback to using `viewbox` if explicit dimensions are lacking (https://github.com/mapnik/mapnik/issues/3081)
2015-09-16 13:24:14 +02:00
- Visual tests: new command line arguments `--agg` , `--cairo` , `--svg` , `--grid` for selecting renderers (https://github.com/mapnik/mapnik/pull/3074)
2015-09-16 15:12:44 +02:00
- Visual tests: new command line argument `--scale-factor` or abbreviated `-s` for setting scale factor (https://github.com/mapnik/mapnik/pull/3074)
2015-09-18 15:54:05 +02:00
- Fixed parsing colors in hexadecimal notation (https://github.com/mapnik/mapnik/pull/3075)
2015-10-01 16:16:11 +02:00
- Removed mapnik::Feature type alias of mapnik::feature_impl (https://github.com/mapnik/mapnik/pull/3099)
2015-10-07 17:29:20 +02:00
- Fixed linking order for plugins to avoid possible linking errors on linux systems (https://github.com/mapnik/mapnik/issues/3105)
2015-09-16 13:24:14 +02:00
2015-09-16 19:45:26 +02:00
## 3.0.5
Released: September 16, 2015
2015-09-16 19:47:36 +02:00
(Packaged from 165c704)
2015-09-03 13:33:53 +02:00
#### Summary
2015-09-11 13:26:20 +02:00
- `scale-hsla` image filter: parameters are no longer limited by interval \[0, 1\] (https://github.com/mapnik/mapnik/pull/3054)
2015-09-10 13:15:31 +02:00
- Windows: Fixed SVG file loading from unicode paths
2015-09-11 13:26:20 +02:00
- `colorize-alpha` image filter: fixed normalization of color components (https://github.com/mapnik/mapnik/pull/3058)
2015-09-09 15:16:12 +02:00
- `colorize-alpha` image filter: added support for transparent colors (https://github.com/mapnik/mapnik/pull/3061)
2015-09-16 19:45:26 +02:00
- Enable reading optional `MAPNIK_LOG_FORMAT` environment variable(https://github.com/mapnik/mapnik/commit/6d1ffc8a93008b8c0a89d87d68b59afb2cb3757f)
- CSV.input uses memory mapped file by default on *nix.
- Updated bundled fonts to the latest version
- Topojson.input - fixed geometry_index logic which was causing missing features
- Fixed SVG file loading from unicode paths (https://github.com/mapnik/node-mapnik/issues/517)
- CSV.input - improved support for LF/CR/CRLF line endings on all platforms (https://github.com/mapnik/mapnik/issues/3065)
- Revive `zero allocation image interface` and add unit tests
- Benchmark: use return values of test runner.
2015-09-03 13:33:53 +02:00
2015-08-26 11:45:05 +02:00
## 3.0.4
Released: August 26, 2015
2015-08-26 12:06:51 +02:00
(Packaged from 17bb81c)
2015-08-26 11:45:05 +02:00
#### Summary
2016-02-26 01:17:05 +01:00
- CSV.input: plug-in has been re-factored to minimise memory usage and to improve handling of larger input.
2015-08-26 11:45:05 +02:00
(NOTE: [large_csv ](https://github.com/mapnik/mapnik/tree/large_csv ) branch adds experimental trunsduction parser with deferred string initialisation)
- CSV.input: added internal spatial index (boost::geometry::index::tree) for fast `bounding box` queries (https://github.com/mapnik/mapnik/pull/3010)
- Fixed deadlock in recursive datasource registration via @zerebubuth (https://github.com/mapnik/mapnik/pull/3038)
- Introduced new command line argument `--limit` or `-l` to limit number of failed tests via @talaj (https://github.com/mapnik/mapnik/pull/2996)
2015-08-12 12:00:29 +02:00
## 3.0.3
Released: August 12, 2015
2015-08-12 17:37:22 +02:00
(Packaged from 3d262c7)
2015-08-12 12:00:29 +02:00
2015-08-11 22:31:09 +02:00
#### Summary
2015-08-12 19:09:34 +02:00
- Fixed an issue with fields over size of `int32` in `OGR` plugin (https://github.com/mapnik/node-mapnik/issues/499)
2015-08-11 22:31:09 +02:00
- Added 3 new image-filters to simulate types of colorblindness (`color-blind-protanope`,`color-blind-deuteranope`,`color-blind-tritanope`)
- Fix so that null text boxes have no bounding boxes when attempting placement ( 162f82cba5b0fb984c425586c6a4b354917abc47 )
- Patch to add legacy method for setting JPEG quality in images ( #3024 )
2015-08-12 19:09:34 +02:00
- Added `filter_image` method which can modify an image in place or return a new image that is filtered
- Added missing typedef's in `mapnik::geometry` to allow experimenting with different containers
2015-08-11 22:31:09 +02:00
2015-07-31 21:31:21 +02:00
## 3.0.2
Released: July 31, 2015
2015-07-31 21:31:56 +02:00
(Packaged from 8305e74)
2015-07-31 21:31:21 +02:00
#### Summary
This release is centered around improvements to the SVG parsing within mapnik. Most work was done in pull request #3003 .
- Added container to log SVG parsing errors
- Reimplemented to use rapidxml for parsing XML (DOM)
- Support both xml:id and id attributes ( xml:id takes precedence )
- Added parse_id_from_url using boost::spirit
- Added error tracking when parsing doubles
- Unit tests for svg_parser to improve coverage
- Fixed rx/ry validation for rounded_rect
- Fixed dimensions parsing
- Remove libxml2 dependency
2015-07-28 03:42:09 +02:00
## 3.0.1
Released: July 27th, 2015
(Packaged from 28f6f4d)
#### Summary
2015-07-30 19:39:48 +02:00
The 3.0.1 fixes a few bugs in geojson parsing, svg parsing, and rendering. It also avoids a potential hang when using `line-geometry-transform` and includes a speedup for text rendering compared to v3.0.0. It is fully back compatible with v3.0.0 and everyone is encouraged to upgrade.
2015-07-10 21:56:10 +02:00
2015-07-28 02:29:18 +02:00
- Fixed text placement performance after #2949 (#2963)
2015-07-28 02:09:46 +02:00
- Fixed rendering behavior for `text-minimum-path-length` which regressed in 3.0.0 (#2990)
2015-07-28 00:56:14 +02:00
- Fixed handling of `xml:id` in SVG parsing (#2989)
2015-07-28 00:53:09 +02:00
- Fixed handling of out of range `rx` and `ry` in SVG `rect` (#2991)
- Fixed reporting of envelope from `mapnik::memory_datasource` when new features are added (#2985)
- Fixed parsing of GeoJSON when unknown properties encountered at `FeatureCollection` level (#2983)
2015-07-10 21:56:10 +02:00
- Fixed parsing of GeoJSON when properties contained `{}` (#2964)
2015-07-14 22:29:17 +02:00
- Fixed potential hang due to invalid use of `line-geometry-transform` (6d6cb15)
2015-07-28 04:04:28 +02:00
- Moved unmaintained plugins out of core: `osm` , `occi` , and `rasterlite` (#2980)
2015-07-10 21:56:10 +02:00
2014-09-08 07:14:08 +02:00
## 3.0.0
2015-07-07 21:42:22 +02:00
Released: July 7th, 2015
2015-07-01 01:12:22 +02:00
2015-07-07 21:50:42 +02:00
(Packaged from e6891a0)
2015-07-01 01:12:22 +02:00
#### Summary
The 3.0 release is a major milestone for Mapnik and includes many performance and design improvements. The is the first release to provide text shaping using the harfbuzz library. This harfbuzz support unlocks improved rendering and layer for many new languages, particularly SE Asian scripts. The internal storage for working with images and geometries has been made more flexible, faster, and strongly typed. The python bindings that were previously bundled with Mapnik have now been moved to < https: / / github . com / mapnik / python-mapnik > and are versioned independently.
#### Notice
- Mapnik 3.0.0 requires a compiler capable of `std=c++11` .
- It is highly recommended you use the `clang++` compiler on both OS X and Linux since it has robust c++11 support lower memory requirements.
##### Major Changes
2014-09-08 07:14:08 +02:00
- Improved support for International Text (now uses harfbuzz library for text shaping)
2015-07-01 01:12:22 +02:00
- Uses latest C++11 features for better performance (especially map loading)
2014-10-23 10:20:02 +02:00
- Expressions everywhere: all symbolizer properties can now be data driven expressions (with the exception of `face-name` and `fontset-name` on the `TextSymbolizer` ).
2015-07-01 01:12:22 +02:00
- Rewritten geometry storage based on `std::vector` (#2739)
- Separate storage of polygon exterior rings and interior rings to allow for more robust clipping of parts.
- Enforces consistent winding order per OGC spec (exterior rings are CCW, interior CW)
- Reduced memory consumption for layers with many points
- Ability to adapt Mapnik geometries to boost::geometry operations (in a zero-copy way)
- Ability to have i/o grammars for json/wkt work on geometries rather than paths for better efficiency and simpler code
- Added new and experimental `dot` symbolizer for fast rendering of points
2014-09-08 07:14:08 +02:00
- New functions supported in expressions: `exp` , `sin` , `cos` , `tan` , `atan` , `abs` .
2015-07-01 01:12:22 +02:00
2014-10-23 10:36:39 +02:00
- New constants supported in expressions: `PI` , `DEG_TO_RAD` , `RAD_TO_DEG`
2015-07-01 01:12:22 +02:00
- Added support for a variety of different grayscale images:
- `mapnik.imageType.null`
- `mapnik.imageType.rgba8`
- `mapnik.imageType.gray8`
- `mapnik.imageType.gray8s`
- `mapnik.imageType.gray16`
- `mapnik.imageType.gray16s`
- `mapnik.imageType.gray32`
- `mapnik.imageType.gray32s`
- `mapnik.imageType.gray32f`
- `mapnik.imageType.gray64`
- `mapnik.imageType.gray64s`
- `mapnik.imageType.gray64f`
2014-09-08 07:14:08 +02:00
- Pattern symbolizers now support SVG input and applying transformations on them dynamically
2015-07-01 01:12:22 +02:00
2014-09-08 07:14:08 +02:00
- Experimental / interface may change: `@variables` can be passed to renderer and evaluated in expressions
2015-07-01 01:12:22 +02:00
2014-09-08 07:14:08 +02:00
- Supports being built with clang++ using `-fvisibility=hidden -flto` for smaller binaries
2015-07-01 01:12:22 +02:00
2014-09-08 07:14:08 +02:00
- Supports being built with Visual Studio 2014 CTP #3
2015-07-01 01:12:22 +02:00
2014-09-09 22:17:12 +02:00
- Shield icons are now pixel snapped for crisp rendering
2015-07-01 01:12:22 +02:00
2015-08-26 11:45:05 +02:00
- `MarkersSymbolizer` now supports `avoid-edges` , `offset` , `geometry-transform` , `simplify` for `line` placement and two new `placement` options called `vertex-last` and `vertex-first` to place a single marker at the end or beginning of a path. Also `clip` is now respected when rendering markers on a LineString
2014-09-09 22:17:12 +02:00
geometry.
2015-07-01 01:12:22 +02:00
2014-09-09 22:17:12 +02:00
- `TextSymbolizer` now supports `smooth` , `simplify` , `halo-opacity` , `halo-comp-op` , and `halo-transform`
2015-07-01 01:12:22 +02:00
2014-09-09 22:17:12 +02:00
- `ShieldSymbolizer` now supports `smooth` , `simplify` , `halo-opacity` , `halo-comp-op` , and `halo-transform`
2013-09-05 20:29:12 +02:00
2015-07-01 01:12:22 +02:00
- The `text-transform` property of `TextSymbolizer` now supports `reverse` value to flip direction of text.
2013-09-05 20:29:12 +02:00
2015-07-01 01:12:22 +02:00
- The `TextSymbolizer` now supports `font-feature-settings` for advanced control over Opentype font rendering (https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings)
2013-09-05 20:29:12 +02:00
2015-07-01 01:12:22 +02:00
- New GroupSymbolizer for applying multiple symbolizers in a single layout
2014-04-10 01:41:02 +02:00
2014-04-04 02:15:57 +02:00
- AGG renderer: fixed geometry offsetting to work after smoothing to produce more consistent results (#2202)
2014-04-02 02:09:18 +02:00
- AGG renderer: increased `vertex_dist_epsilon` to ensure nearly coincident points are discarded more readily (#2196)
2015-07-01 01:12:22 +02:00
- GDAL plugin
- Now keeps datasets open for the lifetime of the datasource (rather than per featureset)
- Added back support for user driven `nodata` on rgb(a) images (#2023)
- Allowed nodata to override alpha band if set on rgba images (#2023)
- Added `nodata_tolerance` option to set nearby pixels transparent (has similar effect to the `nearblack` program) (#2023)
- At process exit Mapnik core no longer calls `dlclose` on gdal.input (#2716)
- TopoJSON plugin
- Now supporting optional `bbox` property on layer
- Fixed support for reporting correct `feature.id()`
- Now supports `inline` string for passing data from memory
- Faster parsing via static initialization of grammars
- Fix crash on invalid arc index
- GeoJSON plugin
- Now supporting optional `bbox` property on layer
- Fixed support for reporting correct `feature.id()`
- Now supports `inline` string for passing data from memory
- Faster parsing via static initialization of grammars
- SQLite plugin
- Fixed support for handling all column types
2014-01-18 04:13:53 +01:00
2015-07-01 01:12:22 +02:00
- CSV Plugin
- Added the ability to pass an `extent` in options
2014-01-18 04:13:53 +01:00
2015-07-01 01:12:22 +02:00
- PostGIS plugin
- Added Async support to - https://github.com/mapnik/mapnik/wiki/PostGIS-Async
- Added support for rendering 3D and 4D geometries (previously silently skipped) (#44)
2014-01-18 04:13:53 +01:00
2015-07-01 01:12:22 +02:00
- Added support for web fonts: `.woff` format (#2113)
2013-12-20 23:28:49 +01:00
2013-11-06 01:43:08 +01:00
- Added missing support for `geometry-transform` in `line-pattern` and `polygon-pattern` symbolizers (#2065)
2013-11-04 00:32:29 +01:00
- Dropped support for Sun compiler
2013-11-01 19:34:26 +01:00
- Upgraded unifont to `unifont-6.3.20131020`
2013-10-28 22:08:33 +01:00
- Fixed crash when rendering to cairo context from python (#2031)
2015-07-01 01:12:22 +02:00
- Moved `label-position-tolerance` from `unsigned` type to `double`
2013-10-24 08:48:24 +02:00
2013-10-04 01:37:09 +02:00
- Added support for more seamless blurring by rendering to a larger internal image to avoid edge effects (#1478)
2013-10-03 02:20:20 +02:00
- Fixed rendering of large shapes at high zoom levels, which might dissapear due to integer overflow. This
bug was previously fixable when geometries were clipped, but would, until now, re-appear if clipping was turned
off for a symbolizer (#2000)
2013-09-28 01:11:23 +02:00
- Added single color argument support to `colorize-alpha` to allow colorizing alpha with one color.
2013-09-27 01:14:40 +02:00
- Added `color-to-alpha` `image-filter` to allow for applying alpha in proportion to color similiarity (#2023)
2013-09-20 22:51:05 +02:00
- Fixed alpha handling bug with `comp-op:dst-over` (#1995)
2013-09-20 04:19:11 +02:00
- Fixed alpha handling bug with building-fill-opacity (#2011)
2013-09-19 04:12:14 +02:00
- Optimized mapnik.Path.to_wkb
2013-09-19 01:08:34 +02:00
- Python: added `__geo_interface__` to mapnik.Feature and mapnik.Path (#2009)
2013-09-16 08:24:01 +02:00
- Python: Exposed optimized WKTReader for parsing WKT into geometry paths (6bfbb53)
2013-09-16 08:18:33 +02:00
- Optimized expression evaluation of text by avoiding extra copy (1dd1275)
2015-08-26 11:45:05 +02:00
- Added Map level `background-image-comp-op` to control the compositing operation used to blend the
2013-09-05 21:40:41 +02:00
`background-image` onto the `background-color` . Has no meaning if `background-color` or `background-image`
are not set. (#1966)
- Added Map level `background-image-opacity` to dynamically set the opacity of the `background-image` (#1966)
2013-09-05 21:19:17 +02:00
- Removed `RENDERING_STATS` compile option since it should be replaced with a better solution (#1956)
- Added support to experimental `svg_renderer` for grouping layers for inkscape and illustrator (#1917)
- Fixed compile of python bindings against Python 3.x
2013-09-05 20:29:12 +02:00
- Optimized SVG loading by improving color parsing speed (#1918)
- Fixed startup problem when fonts cannot be read due to lacking permissions (#1919)
- Fixed bad behavior when negative image dimensions are requested (#1927)
- Fixed handling of `marker-ignore-placement:true` when `marker-placement:line` (#1931)
- Fixed handling of svg `opacity` in Cairo renderer (#1943)
- Fixed handling of SVG files which contain empty `<g>` (#1944)
- Fixed various 32bit test failures
2013-09-05 21:11:16 +02:00
- Fixed compile against icu when by using `U_NAMESPACE_QUALIFIER`
2013-09-05 20:29:12 +02:00
- Fixed missing support for using PathExpression in `marker-file` (#1952)
2013-09-05 21:11:16 +02:00
- Added support for `line-pattern-offset` (#1991)
2013-09-05 20:29:12 +02:00
- Added support for building on Android (tested with `android-ndk-r9` )
- Added support for compiling with both -ansi (aka -std=c++98) and -std=c++11
- Added support for compiling and linking on OS X against libc++
2013-07-02 22:01:23 +02:00
2013-08-08 00:58:01 +02:00
- Fixed regression in handling `F` type dbf fields, introduced in v2.2.0.
2013-07-30 21:45:46 +02:00
- Added the ability to create a mapnik Feature from a geojson feature with `mapnik.Feature.from_geojson` in python.
2013-07-24 01:37:25 +02:00
- Added to python bindings: `has_tiff` , `has_png` , `has_webp` , `has_proj4` , `has_svg_renderer` , and `has_grid_renderer`
- Made it possible to disable compilation of `grid_renderer` with `./configure GRID_RENDERER=False` (#1962)
2013-07-02 22:01:23 +02:00
- Added `premultiplied` property on mapnik::image_32 / mapnik.Image to enable knowledge of premultiplied status of image buffer.
2013-09-05 20:29:12 +02:00
- Added `webp` image encoding and decoding support (#1955)
2013-07-19 06:37:51 +02:00
- Added `scale-hsla` image-filter that allows scaling colors in HSL color space. RGB is converted to HSL (hue-saturation-lightness) and then each value (and the original alpha value) is stretched based on the specified scaling values. An example syntax is `scale-hsla(0,1,0,1,0,1,0,1)` which means no change because the full range will be kept (0 for lowest, 1 for highest). Other examples are: 1) `scale-hsla(0,0,0,1,0,1,0,1)` which would force all colors to be red in hue in the same way `scale-hsla(1,1,0,1,0,1,0,1)` would, 2) `scale-hsla(0,1,1,1,0,1,0,1)` which would cause all colors to become fully saturated, 3) `scale-hsla(0,1,1,1,0,1,.5,1)` which would force no colors to be any more transparent than half, and 4) `scale-hsla(0,1,1,1,0,1,0,.5)` which would force all colors to be at least half transparent. (#1954)
2015-07-01 01:12:22 +02:00
- The `shapeindex` tool now works correctly with point 3d geometry types
2013-05-22 00:14:09 +02:00
## 2.2.0
2012-09-07 19:36:14 +02:00
2013-06-04 03:28:47 +02:00
Released June 3rd, 2013
2013-05-22 02:41:18 +02:00
2013-06-04 03:28:47 +02:00
(Packaged from 9231205)
2013-05-22 02:41:18 +02:00
2013-06-01 00:53:17 +02:00
Summary: The 2.2.0 release is primarily a performance and stability release. The code line represents development in the master branch since the release of 2.1.0 in Aug 2012 and therefore includes nearly a year of bug-fixes and optimizations. Nearly 500 new tests have been added bring the total coverage to 925. Shapefile and PostGIS datasources have benefited from numerous stability fixes, 64 bit integer support has been added to support OSM data in the grid renderer and in attribute filtering, and many fixes have landed for higher quality output when using a custom `scale_factor` during rendering. Critical code paths have been optimized include raster rendering, xml map loading, string to number conversion, vector reprojection when using `epsg:4326` and `epsg:3857` , `hextree` encoding, halo rendering, and rendering when using a custom `gamma` . Mapnik 2.2 also compiles faster than previous releases in the 2.x series and drops several unneeded and hard to install dependencies making builds on OS X and Windows easier than any previous release.
2013-05-22 02:41:18 +02:00
2016-10-15 20:07:52 +02:00
- Removed 3 dependencies without loosing any functionality: `ltdl` , `cairomm` and `libsigc++` (#1804,#806,#1681)
2013-05-22 00:14:09 +02:00
- Added 64 bit integer support in expressions, feature ids, and the grid_renderer (#1661,#1662,#1662)
2013-05-22 18:03:40 +02:00
- Added the ability to disable the need for various dependencies: `proj4` , `libpng` , `libtiff` , `libjpeg`
2013-05-22 00:14:09 +02:00
- Added faster reprojection support between `epsg:3857` and `epsg:4326` (#1705,#1703,#1579)
2013-09-27 22:59:08 +02:00
- Added `colorize-alpha` image filter that applies user provided color gradients based on level of alpha.
Accepts one or more colors separated by commas. Each color can be paired with an `offset` value separated
2013-09-27 23:44:25 +02:00
by a space that is either `0-100%` or `0.0-1.0` . An `offset` of `0` is implied and the default. For background
on where this design came from see http://www.w3.org/TR/SVG/pservers.html#GradientStops. A simple example
2013-09-27 22:59:08 +02:00
of colorizing alpha into a "rainbow" is `colorize-alpha(blue,cyan,lightgreen, yellow, orange, red)` . An example of
using offsets and the variety of supported color encodings is to produce a ramp which sharp contrast between `blue`
and `cyan` is `colorize-alpha(blue 30%, cyan, yellow 0.7 , rgb(0%,80%,0%) 90%)` (#1371).
2013-05-22 02:02:33 +02:00
- Fixed concurrency problem when using cursors in postgis plugin (#1823,#1588)
2013-05-22 00:14:09 +02:00
- Fixed postgres connection pool leaks when using `persist_connection=false` (#1764)
- Fixed postgres connection key to respect highest value of `max_size` and `initial_size` for any layer in map (#1599)
2013-05-22 01:44:32 +02:00
- Fixed potential crash in wkb parsing when postgis returns null geometry (#1843)
2013-05-22 00:14:09 +02:00
- Fixed blurry rendering of image and SVG icons (#1316)
2013-05-30 00:16:44 +02:00
- Added detection of invalid srs values when loading xml (#646)
2013-06-03 01:25:39 +02:00
- Added support for specifying a base_path as a third, optional argument to load_xml
2013-05-30 00:16:44 +02:00
- Removed muffling of projection errors while rendering (#646)
2013-05-22 00:14:09 +02:00
- Improved logging system (https://github.com/mapnik/mapnik/wiki/Logging)
- Added support for reading images from in memory streams (#1805)
2013-03-14 03:49:59 +01:00
2013-05-22 01:44:32 +02:00
- Optimized halo rendering. When halo radius is < 1 new method will be used automatically (# 1781 )
2013-03-09 05:32:39 +01:00
- Added `text-halo-rasterizer` property. Set to `fast` for lower quality but faster
2013-05-22 01:44:32 +02:00
halo rendering (#1298) which matched new default method when radius is < 1.
2013-03-09 05:32:39 +01:00
2013-05-22 00:14:09 +02:00
- Added support in `shape` , `sqlite` , `geojson` , and `csv` plugin for handling non-latin characters in the paths to file-based resources (#1177)
2013-02-22 22:58:38 +01:00
2013-05-22 00:14:09 +02:00
- Fixed rendering of markers when their size is greater than the specified `spacing` value (#1487)
2013-02-22 22:58:38 +01:00
2013-05-22 00:14:09 +02:00
- Fixed handling of alpha premultiplication in image scaling (#1489)
2013-02-21 03:02:28 +01:00
2013-05-22 00:14:09 +02:00
- Optimized rendering when a style with no symbolizers is encountered (#1517)
- Optimized string handling and type conversion by removing `boost::to_lower` , `boost::trim` , and `boost::lexical_cast` usage (#1687,#1687,#1633)
2013-05-22 02:41:18 +02:00
- Optimized alpha preserving `hextree` method for quantization of png images (#1629)
2013-05-22 00:14:09 +02:00
- Faster rendering of rasters by reducing memory allocation of temporary buffers (#1516)
2013-05-22 02:02:33 +02:00
- Fixed some raster reprojection artifacts (#1501)
2013-05-22 01:44:32 +02:00
- Fixed raster alignment when width != height and raster is being scaled (#1748,#1622)
2013-05-22 00:14:09 +02:00
- Added support for caching rasters for re-use during rendering when styling more than once per layer (#1543)
- Improved compile speeds of the code - in some cases by up to 2x and removed need for freetype dependency when building code against mapnik (#1688, #1756 )
2013-05-22 01:44:32 +02:00
- Removed internal rule cache on `mapnik::Map` c++ object (#1723)
2013-05-22 00:14:09 +02:00
- Improved the scaled rendering of various map features when using `scale_factor` > 1 (#1280,#1100,#1273,#1792,#1291,#1344,#1279,#1624,#1767,#1766)
- Added C++ api for overriding scale_denominator to enable rendering at fixed scale (#1582)
2013-02-21 02:55:53 +01:00
2013-01-16 03:56:50 +01:00
- Added Layer `buffer-size` that can be used to override Map `buffer-size` to avoid
over-fetching of data that does not need to be buffered as much as other layers.
Map level `buffer-size` will be default if layers do not set the option. Renamed a
previously undocumented parameter by the same name that impacted clipping extent and
was not needed (clipping padding should likely be a symbolizer level option) (#1566)
2013-05-22 00:14:09 +02:00
- Fixed potential file descriptor leaks in image readers when invalid images were encountered (#1783)
- Fixed alpha handling in the `blur` and `invert` image filters (#1541)
- Fixed error reporting in the python plugin (#1422)
2013-05-22 02:41:18 +02:00
- Added the ability to run tests without installing with `make test-local`
2013-05-22 00:14:09 +02:00
- Reduced library binary size by adding support for `-fvisibility-inlines-hidden` and `-fvisibility=hidden` (#1826,#1832)
- Added `mapnik::map_request` class, a special object to allow passing mutable map objects to renderer (#1737)
2013-01-02 19:54:04 +01:00
2013-05-22 00:14:09 +02:00
- Added the ability to use `boost::hash` on `mapnik::value` types (#1729)
2013-05-22 02:41:18 +02:00
- Removed obsolete `geos` plugin (functionality replaced by `csv` plugin) and unmaintained `kismet` plugin (#1809,#1833)
2013-05-22 00:14:09 +02:00
2013-05-22 02:41:18 +02:00
- Added new `mapnik-config` flags: `--all-flags` , `--defines` , `--git-describe` , `--includes` , `--dep-includes` , `--cxxflags` , `--cxx` (#1443)
2013-05-22 00:14:09 +02:00
- Added support for unicode strings as arguments in python bindings (#163)
2013-05-22 02:41:18 +02:00
- Added DebugSymbolizer which is able to render the otherwise invisible collision boxes (#1366)
2013-05-22 00:14:09 +02:00
2013-05-22 02:41:18 +02:00
- Optimized rendering by reducing overhead of using `gamma` property (#1174)
2013-05-22 00:14:09 +02:00
- Fixed rendering artifacts when using `polygon-gamma` or `line-gamma` equal to 0 (#761,#1763)
- Fixed and optimized the display of excessive precision of some float data in labels (#430,#1697)
- Removed the `bind` option for datasources (#1654)
- Added ability to access style list from map by (name,obj) in python (#1725)
- Added `is_solid` method to python mapnik.Image and mapnik.ImageView classes (#1728)
- Changed scale_denominator C++ interface to take scale as first argument rather than map.
- Added support for `background-image` in cairo_renderer (#1724)
- Fixed building symbolizer rendering to be fully sensitive to alpha (8b66128c892 / bc8ea1c5a7a)
2012-12-22 04:58:19 +01:00
2012-12-20 23:24:56 +01:00
- `<Filter>[attr]</Filter>` now returns false if attr is an empty string (#1665)
2013-05-22 00:14:09 +02:00
- `<Filter>[attr]!=null</Filter>` now returns true if attr is not null (#1642)
2012-12-19 19:48:19 +01:00
2012-12-03 04:58:40 +01:00
- Added support for DBF `Logical` type: #1614
2012-11-29 05:24:20 +01:00
- Added serialization of `line-offset` to save_map (#1562)
2012-11-27 02:46:57 +01:00
- Enabled default input plugin directory and fonts path to be set inherited from environment settings in
python bindings to make it easier to run tests locally (#1594). New environment settings are:
2016-08-04 11:53:04 +02:00
- MAPNIK_INPUT_PLUGINS_DIRECTORY
- MAPNIK_FONT_DIRECTORY
2012-11-27 02:46:57 +01:00
2012-11-21 02:58:39 +01:00
- Added support for controlling rendering behavior of markers on multi-geometries `marker-multi-policy` (#1555,#1573)
2012-11-04 13:10:05 +01:00
- Added alternative PNG/ZLIB implementation (`miniz`) that can be enabled with `e=miniz` (#1554)
2012-11-04 12:58:25 +01:00
- Added support for setting zlib `Z_FIXED` strategy with format string: `png:z=fixed`
2013-05-22 02:41:18 +02:00
- Fixed handling of transparency level option in `octree` png encoding (#1556)
2012-11-04 12:32:51 +01:00
2012-10-03 22:15:54 +02:00
- Added ability to pass a pre-created collision detector to the cairo renderer (#1444)
2012-10-03 20:54:30 +02:00
- Tolerance parameter is now supported for querying datasources at a given point (#503/#1499)
2012-09-21 22:34:43 +02:00
- Improved detection of newlines in CSV files - now more robust in the face of mixed newline types (#1497)
2012-09-15 01:13:37 +02:00
- Allow style level compositing operations to work outside of featureset extents across tiled requests (#1477)
2012-09-14 03:24:33 +02:00
- Support for encoding `literal` postgres types as strings 69fb17cd3/#1466
2012-09-07 19:36:14 +02:00
- Fixed zoom_all behavior when Map maximum-extent is provided. Previously maximum-extent was used outright but
now the combined layer extents will be again respected: they will be clipped to the maximum-extent if possible
and only when back-projecting fails for all layers will the maximum-extent be used as a fallback (#1473)
2010-01-27 02:09:43 +01:00
2013-05-16 20:33:23 +02:00
- Compile time flag called `PLUGIN_LINKING` to allow input datasource plugins to be statically linked with the mapnik library (#249)
2013-05-22 00:14:09 +02:00
- Fixed `dasharray` rendering in cairo backend (#1740)
- Fixed handling of `opacity` in svg rendering (#1744)
- Fixed uneven rendering of markers along lines (#1693)
2013-05-22 02:02:33 +02:00
- Fixed handling of extra bytes in some shapefile fields (#1605)
2013-05-22 00:14:09 +02:00
- Fixed handling (finally) of null shapes and partially corrupt shapefiles (#1630,#1621)
- Added ability to re-use `mapnik::image_32` and `mapnik::grid` by exposing a `clear` method (#1571)
- Added support for writing RGB (no A) png images by using the format string of `png:t=0` (#1559)
2013-05-22 02:02:33 +02:00
- Added experimental support for geometry simplification at symbolizer level (#1385)
2012-03-24 02:14:57 +01:00
## Mapnik 2.1.0
2011-10-17 23:12:32 +02:00
2012-08-23 23:52:53 +02:00
Released Aug 23, 2012
(Packaged from a25aac8)
2012-06-18 17:57:42 +02:00
2012-08-18 02:14:03 +02:00
- Feature-level compositing (comp-op) for all symbolizers (except building) in AGG and Cairo renderers (#1409)
- Style-level compositing (comp-op) (#1409) and style-level opacity for AGG renderer (#314)
- New experimental framework for image manipulation called `image-filters` to allow things to be done across entire layer canvas like burring (#1412)
- Support for recoloring stroke, fill, and opacity of SVG files (#1410 / #659 )
- Support for data-driven transform expressions (#664)
- New support for offsetting geometries / parallel lines in line_symbolizer (#927/#1269)
- New support for clipping geometries - now default enabled on all symbolizers (#1116)
- Framework for chainable geometry transformations (called `vertex_converters` ) so that you can do things like clip, smooth, and offset at the same time (#927)
- WKT parsing now is more robust and supports multi-geometries (#745)
2012-08-17 03:39:11 +02:00
2012-08-23 04:09:12 +02:00
- New support for outputting WKT/WKB/GeoJSON/SVG from mapnik.Geometry objects (#1411)
2012-08-18 02:14:03 +02:00
- New experimental python datasource plugin (#1337)
- New experimental geojson datasource plugin using in-memory rtree indexing (#1413)
2012-08-23 04:09:12 +02:00
- Cairo rendering is now much more similiar to AGG rendering as cairo backend now supports `scale_factor` (#1280) and other fixed have landed (#1343, #1233 , #1344 , #1242 , #687 , #737 , #1006 , #1071 )
2012-08-18 02:14:03 +02:00
2012-08-23 04:09:12 +02:00
- mapnik::Feature objects and datasource plugins now use a `Context` to store attribute schemas to reduce the memory footprint of features (#834)
2012-08-18 02:14:03 +02:00
2012-08-21 04:19:21 +02:00
- Added Stroke `miterlimit` (#786)
2012-08-21 03:18:36 +02:00
- Python: exposed Map `background_image` (and aliased `background` to `background_color` )
2012-08-21 03:17:00 +02:00
- Python: exposed BuildingSymbolizer
2012-08-18 02:14:03 +02:00
- Support in the CSV plugin for reading JSON encoded geometries (#1392)
- Increased grid encoding performance (#1315)
2012-07-31 03:31:21 +02:00
- Added support for setting opacity dynamically on images in polygon pattern and markers symbolizers
2012-08-24 19:13:31 +02:00
- Added support for filtering on a features geometry type, either `point` , `linestring` , `polygon` ,
2012-07-25 23:56:28 +02:00
or `collection` using the expression keyword of `[mapnik::geometry_type]` (#546)
2012-06-29 04:58:40 +02:00
- MarkersSymbolizer width and height moved to expressions (#1102)
2012-08-24 19:13:31 +02:00
- PostGIS: Added `simplify_geometries` option - will trigger ST_Simplify on geometries before returning to Mapnik (#1179)
2012-04-19 21:19:49 +02:00
2012-04-13 20:28:30 +02:00
- Improved error feedback for invalid values passed to map.query_point
2012-04-11 19:27:37 +02:00
- Fixed rendering of thin svg lines (#1129)
2012-08-18 02:14:03 +02:00
- Improved logging/debugging system with release logs and file redirection (https://github.com/mapnik/mapnik/wiki/Runtime-Logging) (#937 and partially #986 , #467 )
2012-04-10 10:24:53 +02:00
2013-09-27 01:14:40 +02:00
- GDAL: allow setting `nodata` value on the fly (will override value if `nodata` is set in data) (#1161)
2013-03-15 03:26:29 +01:00
2013-09-27 01:14:40 +02:00
- GDAL: respect `nodata` for paletted/colormapped images (#1160)
2012-04-04 01:06:36 +02:00
2012-08-24 19:13:31 +02:00
- PostGIS: Added a new option called `autodetect_key_field` (by default false) that if true will
trigger autodetection of the table primary key allowing for feature.id() to represent
globally unique ids. This option has no effect if the user has not manually supplied the `key_field` option. (#804)
2012-04-03 01:23:08 +02:00
2012-04-04 20:47:20 +02:00
- Cairo: Add full rendering support for markers to match AGG renderer functionality (#1071)
2012-04-10 02:10:48 +02:00
- Fix Markers rendering so that ellipse height/width units are pixels (previously were unintentionally radii) (#1134)
2012-04-04 20:47:20 +02:00
2012-08-24 19:13:31 +02:00
- Added `ignore-placement` attribute to markers-symbolizer (#1135)
2012-03-24 04:28:12 +01:00
2012-01-17 15:58:45 +01:00
- Removed PointDatasource - use more robust MemoryDatasource instead (#1032)
2011-12-16 19:05:54 +01:00
- SQLite - Added support for !intersects! token in sql subselects (#809) allow custom positioning of rtree spatial filter.
2011-10-18 01:12:39 +02:00
- New CSV plugin - reads tabular files - autodetecting geo columns, newlines, and delimiters. Uses in-memory featureset for fast rendering and is not designed for large files (#902)
2011-10-17 23:12:32 +02:00
- Fixed bug in shield line placement when dx/dy are used to shift the label relative to the placement point (Matt Amos) (#908)
2011-10-26 00:57:00 +02:00
- Added < layer_by_sql > parameter in OGR plugin to select a layer by SQL query (besides name or index): see http://www.gdal.org/ogr/ogr_sql.html for specifications (kunitoki) (#472)
2011-10-17 23:12:32 +02:00
2012-03-19 17:37:21 +01:00
- Added support for output maps as tiff files (addresses #967 partially)
- Added support for justify-alignment=auto. This is the new default. (#1125)
2011-11-28 17:47:16 +01:00
2012-08-31 08:35:11 +02:00
- Added support for grouped rendering using the `group-by` layer option: https://github.com/mapnik/mapnik/wiki/Grouped-rendering
2011-10-17 23:12:32 +02:00
2012-08-04 03:01:55 +02:00
## Mapnik 2.0.2
Released Aug 3, 2012
(Packaged from adb2ec741)
- Fixed handling of empty WKB geometries (#1334)
- Fixed naming of `stroke-dashoffset` in save_map (cc3cd5f63f28)
- Fixed support for boost 1.50 (8dea5a5fe239233)
- Fixed TextSymbolizer placement in Cairo backend so it respects avoid-edges and minimum-padding across all renderers (#1242)
- Fixed ShieldSymbolizer placement so it respects avoid-edges and minimum-padding across all renderers (#1242)
- Rolled back change made in 2.0.1 to marker width/height meaning that Mapnik > 2.0.2 will stick to assuming width/heigh are radii for back compatibility with 2.0.0. The reverted change is seen below as "Fix Markers rendering so that ellipse height/width units are pixels (previously were unintentionally radii)". Issue tracking this is #1163
- XML: Fixed to avoid throwing if a `<Parameters>` element is encountered (which is supported in >= 2.1.x)
- Support for PostGIS 2.0 in the pgsql2sqlite command (e69c44e/47e5b3c)
- Fixed reference counting of Py_None when returning null attributes from Postgres during UTFGrid encoding, which could cause a Fatal Python error: deallocating None (#1221)
- Fixed possible breakage registering plugins via python if a custom PREFIX or DESTDIR was used (e.g. macports/homebrew) (#1171)
2013-03-15 03:26:29 +01:00
- Fixed memory leak in the case of proj >= 4.8 and a projection initialization error (#1173)
2012-08-04 03:01:55 +02:00
2012-04-09 23:31:38 +02:00
## Mapnik 2.0.1
2012-06-18 17:57:42 +02:00
Released April 10, 2012
(Packaged from 57347e9106)
2012-04-09 23:31:38 +02:00
- Support for PostGIS 2.0 (#956,#1083)
- Switched back to "libmapnik" and "import mapnik" rather than "mapnik2" (mapnik2 will still work from python) (#941)
- Restored Python 2.5 compatibility (#904)
- Fixed `mapnik-config --version` (#903)
- Cairo: Add full rendering support for markers to match AGG renderer functionality (#1071)
- Fix Markers rendering so that ellipse height/width units are pixels (previously were unintentially radii) (#1134)
2012-08-24 19:13:31 +02:00
- Added `ignore-placement` attribute to markers-symbolizer (#1135)
2012-04-09 23:31:38 +02:00
- Removed svn_revision info from mapnik-config and python bindings as git is now used
- Removed OGCServer from core - now at https://github.com/mapnik/OGCServer (e7f6267)
- Fixed SQLite open stability across platforms/versions (#854)
- Workaround for boost interprocess compile error with recent gcc versions (#950,#1001,#1082)
2013-05-22 02:41:18 +02:00
- Fix possible memory corruption when using `hextree` mode for png color reduction (#1087)
2012-04-09 23:31:38 +02:00
- Fixed bug in shield line placement when dx/dy are used to shift the label relative to the placement point (Matt Amos) (#908)
- Fix to avoid modifying a feature if an attribute is requested that does not exist (0f5ab18ed)
- Fixed ability to save to jpeg format from python (7387afd9) (#896)
2012-03-24 02:14:57 +01:00
## Mapnik 2.0.0
2010-01-22 06:01:23 +01:00
2012-06-18 18:08:38 +02:00
Released September 26, 2011
2012-06-18 17:57:42 +02:00
(Packaged from 5b4c20eab3)
2011-09-04 19:33:48 +02:00
- Add minimum-path-length property to text_symbolizer to allow labels to be placed only on lines of a certain length (#865)
2011-08-31 04:28:14 +02:00
- Add support for png quantization using fixed palettes (#843)
2012-08-16 21:27:58 +02:00
- Add AlsoFilter functionality - https://github.com/mapnik/mapnik/wiki/AlsoFilter
2011-08-30 19:38:27 +02:00
2011-08-31 04:28:14 +02:00
- SQLite Plugin: optimize i/o using shared cache and no mutexes (#797)
2011-07-14 02:28:04 +02:00
2011-07-06 01:41:17 +02:00
- Directly link input plugins to libmapnik to avoid having to set dlopen flags from binding languages (#790)
2011-06-24 02:51:21 +02:00
- Throw an error during registration for fonts which Freetype2 does not report a family or style name (r2985).
2011-06-16 20:09:03 +02:00
- Fixed quoting syntax for "table"."attribute" in PostGIS plugin (previously if table aliases were used quoting like "table.attribute" would cause query failure) (r2979).
- Added the ability to control the PostGIS feature id by suppling a key_field to reference and integer attribute name (r2979).
2011-06-01 00:38:15 +02:00
- Added alternative, more robust proj_transform functions to project a bbox using more points than just the four
corners to ensure an optimally sized bbox despite proj4 out of bounds conditions. (olt)
2011-05-26 01:51:08 +02:00
- Added map.base parameter that can be set to control where files with relative paths should be interpreted
from when a map is loaded from a string or saved to a string. It defaults to an empty string which means
that the base path will be the current working directory of the mapnik process. When a stylesheet is read
2011-10-26 00:57:00 +02:00
from a file that files directory is used. And a custom value can still be passed as an argument to
2011-05-26 01:51:08 +02:00
load_map_from_string().
2012-08-24 19:13:31 +02:00
- Added python function `render_grid` to allow conversion of grid buffer to python object containing list of grid
2011-04-27 01:51:29 +02:00
pixels, list of keys, and a and dictionary of feature attributes.
2011-04-26 23:44:52 +02:00
- Added new rendering backend, grid_renderer, that collects the attributes of rendered features and
burns their ids into a grid buffer.
2012-08-24 19:13:31 +02:00
- Added optional `maximum-extent` parameter to map object. If set will be used, instead of combined
2011-04-14 04:20:33 +02:00
layer extents, for return value of map.zoom_all(). Useful in cases where the combined layer extents
cannot possibly be projected into the map srs or the user wishes to control map bounds without
modifying the extents of each layer.
2013-09-27 01:14:40 +02:00
- Support for `nodata` values with grey and rgb images in GDAL plugin (#727)
2011-03-11 22:28:18 +01:00
2011-02-05 04:15:17 +01:00
- Print warning if invalid XML property names are used (#110)
- Made XML property names use consistent dashes, never underscores (#644)
2011-02-01 23:55:50 +01:00
- Added support for drawing only first matching rule using filter-mode="first" in Style (#706)
2012-08-24 19:13:31 +02:00
- Added support to PointSymbolizer (`ignore_placement`) for skipping adding placed points to collision detector (#564)
2010-10-15 04:15:40 +02:00
2012-08-24 19:13:31 +02:00
- Added ability to register fonts within XML using Map level `font-directory` parameter (#168)
2010-10-07 03:49:07 +02:00
2010-09-18 21:13:50 +02:00
- TextSymbolizer: Change text_convert to text_transform to better match css naming (r2211)
2010-09-18 20:08:15 +02:00
- Shapefile Plugin: Throw error if attribute name is requested that does not exist (#604)
2010-08-10 20:18:31 +02:00
- Upgraded to the latest proj4 string literal for EPSG:4326 (WGS84) as global default projection (#333)
2012-08-24 19:13:31 +02:00
- Added `mapnik_version_from_string()` function in python bindings to easily convert string representation
of version number to the integer format used in `mapnik/version.hpp` . e.g. `0.7.1` --> `701` .
2010-08-10 19:13:14 +02:00
2010-08-10 08:01:16 +02:00
- Added xinclude (http://www.w3.org/TR/xinclude/) support to libxml2-based xml parser (oldtopos) (#567)
2010-08-28 00:05:15 +02:00
- Optimized rendering speeds by avoiding locking in the projection code (r2063) (r2713)
2010-07-22 01:05:22 +02:00
2010-06-21 00:36:49 +02:00
- Added support for setting global alignment of polygon pattern fills (#203)
2012-08-24 19:13:31 +02:00
- Added support for choosing OGR layer by index number using `layer_by_index` parameter (r1904)
2010-06-19 17:13:47 +02:00
2010-09-23 12:39:53 +02:00
- Added support for fractional halo widths (using FT Stroker) (#93)
2010-06-03 23:24:58 +02:00
- Added support for reading jpeg images (in addition to png/tiff) for image symbolizers (#518)
2010-06-03 21:50:27 +02:00
- Made libjpeg dependency optional at compile time and added mapnik2.has_jpeg() method to check for support in python (#545).
2010-02-19 08:50:47 +01:00
- Fixed reading of PostGIS data on Big Endian systems (#515)
2010-06-03 23:24:58 +02:00
- PostGIS: Added better support for alternative schemas (#500)
2010-02-19 22:04:45 +01:00
2010-02-09 18:28:17 +01:00
- AGG Renderer - Enforced default gamma function on all symbolizers to ensure proper antialiasing
even when gamma is modified on the PolygonSymbolizer. (#512)
2011-04-19 02:20:50 +02:00
- Added ability to read pre 2.0.0 stylesheets, but prints a warning for deprecated syntax (r1592, #501 )
2010-01-27 02:09:43 +01:00
- Rasterlite Plugin: Experimental support for Rasterlite, to practically use sqlite database with wavelet compressed rasters (#469)
2008-12-07 23:58:48 +01:00
2010-03-06 12:13:44 +01:00
- PNG: fixed png256 for large images and some improvements to reduce color corruptions (#522)
2010-08-28 00:05:15 +02:00
- Implement MarkersSymbolizer in Cairo render and improve the markers placement finder. (#553)
2010-07-12 15:30:08 +02:00
2009-09-27 19:23:09 +02:00
2012-06-18 17:57:42 +02:00
# Mapnik 0.7.2
Released Oct 18, 2011
(Packaged from bc5cabeb6a)
2011-10-26 00:57:00 +02:00
2012-08-16 21:27:58 +02:00
- Added forward compatibility for Mapnik 2.0 XML syntax (https://github.com/mapnik/mapnik/wiki/Mapnik2/Changes)
2011-10-19 03:19:02 +02:00
- Build fixes to ensure boost_threads are not used unless THREADING=multi build option is used
- Fixes for the clang compiler
- Support for latest libpng (>= 1.5.x) (r2999)
- Fixes to the postgres pool
- Fix for correct transparency levels in png256/png8 output (#540)
- Various build system fixes, especially for gcc compiler on open solaris.
- When plugins are not found, report the searched directories (#568)
- Improved font loading support (#559)
- Fix to shapeindex for allowing indexing of directory of shapefiles like `shapeindex dir/*shp`
- Fixed handling of null and multipatch shapes in shapefile driver - avoiding inf loop (#573)
- Fixed raster alpha blending (#589,#674)
- Enhanced support for faster reprojection if proj >= 4.8 is used (#575)
- Allow for late-binding of datasources (#622)
- Fix to OSM plugin to avoid over-caching of data (#542)
- Various fixes to sqlite, ogr, and occi driver backported from trunk.
2012-08-24 19:13:31 +02:00
- Ensured that `\n` triggers linebreaks in text rendering (#584)
2011-10-19 03:19:02 +02:00
- Support for boost filesystem v3
- Fixes to cairo renderer to avoid missing images (r2526)
- Fixed reading of label_position_tolerance on text_symbolizer and height for building_symbolizer
2012-06-18 18:08:38 +02:00
2012-06-18 17:57:42 +02:00
# Mapnik 0.7.1
Released March 23, 2010
(Packaged from r1745/db89f1ca75)
- Rasters: Various fixes and improvements to 8bit png output ([#522](https://github.com/mapnik/mapnik/issues/522),[#475](https://github.com/mapnik/mapnik/issues/475))
- XML: Save map buffer_size when serializing map.
2012-08-24 19:13:31 +02:00
- SCons: Added new build options `PRIORITIZE_LINKING` and `LINK_PRIORITY` . The first is a boolean (default True)
2012-06-18 17:57:42 +02:00
of whether to use the new sorting implementation that gives explcit preference to custom or local paths
during compile and linking that will affect builds when duplicate libraries and include directories are on the
system. LINK_PRIORITY defaults to prioritizing internal sources of the mapnik source folder, then local/user
installed libraries over system libraries, but the option can be customized. Sorting not only ensures that
compiling and linking will more likely match the desired libraries but also gives more likelyhood to avoid
2012-08-24 19:13:31 +02:00
the scenario where libraries are linked that don`t match the includes libmapnik compiled against.
2012-06-18 17:57:42 +02:00
- XML: Fixed behavior of PolygonPatternSymbolizer and LinePatternSymbolizer whereby width, height,
and type of images is actually allowed to be optionally ommitted ([#508](https://github.com/mapnik/mapnik/issues/508)). This was added in r1543 but
only worked correctly for PointSymbolizer and ShieldSymbolizer.
- Fixed reading of PostGIS data on Big Endian systems ([#515](https://github.com/mapnik/mapnik/issues/515))
- PostGIS: Added better support for alterative schemas ([#500](https://github.com/mapnik/mapnik/issues/500))
- AGG Renderer - Enforced default gamma function on all symbolizers to ensure proper antialiasing
even when gamma is modified on the PolygonSymbolizer. ([#512](https://github.com/mapnik/mapnik/issues/512))
- PNG: fixed png256 for large images and some improvements to reduce color corruptions ([#522](https://github.com/mapnik/mapnik/issues/522))
2013-05-22 02:41:18 +02:00
- PNG: Added new quantization method for indexed png format using `hextree` with full support for alpha
2012-06-18 17:57:42 +02:00
channel. Also new method has some optimizations for color gradients common when using elevation based
2013-05-22 02:41:18 +02:00
rasters. By default old method using `octree` is used. (r1680, r1683, [#477 ](https://github.com/mapnik/mapnik/issues/477 ))
2012-06-18 17:57:42 +02:00
- PNG: Added initial support for passing options to png writter like number of colors, transparency
support, quantization method and possibly other in future using type parameter. For example
"png8:c=128:t=1:m=h" limits palette to 128 colors, uses only binary transparency (0 - none,
2013-05-22 02:41:18 +02:00
1 - binary, 2 - full), and new method of quantization using `hextree` (h - `hextree` , o - `octree` ).
2012-06-18 17:57:42 +02:00
Existing type "png256" can be also written using "png8:c=256:m=o:t=2" (r1680, r1683, [#477 ](https://github.com/mapnik/mapnik/issues/477 ))
2012-06-18 18:08:38 +02:00
2012-06-18 17:57:42 +02:00
# Mapnik 0.7.0
2011-10-19 03:19:02 +02:00
2012-06-18 17:57:42 +02:00
Released January, 19 2010
2009-07-17 06:32:19 +02:00
2012-06-18 17:57:42 +02:00
(Packaged from r1574/a0da946be9)
2009-11-13 02:49:11 +01:00
2010-01-22 06:01:23 +01:00
- Core: Fixed linking to external libagg (r1297,r1299)
- Core: Completed full support for PPC (Big endian) architectures (r1352 -> r1357)
- Gdal Plugin: Added support for Gdal overviews, enabling fast loading of > 1GB rasters (#54)
2009-12-16 21:02:06 +01:00
2016-08-04 11:53:04 +02:00
* Use the gdaladdo utility to add overviews to existing GDAL datasets
2010-01-22 06:01:23 +01:00
2012-08-24 19:13:31 +02:00
- PostGIS: Added an optional `geometry_table` parameter. The `geometry_table` used by Mapnik to look up
metadata in the geometry_columns and calculate extents (when the `geometry_field` and `srid` parameters
are not supplied). If `geometry_table` is not specified Mapnik will attempt to determine the name of the
table to query based on parsing the `table` parameter, which may fail for complex queries with more than
one `from` keyword. Using this parameter should allow for existing metadata and table indexes to be used
while opening the door to much more complicated subqueries being passed to the `table` parameter without
2010-01-22 06:01:23 +01:00
failing (#260, #426 ).
2009-11-06 21:56:34 +01:00
2012-08-24 19:13:31 +02:00
- PostGIS Plugin: Added optional `geometry_field` and `srid` parameters. If specified these will allow
2009-12-11 02:50:55 +01:00
Mapnik to skip several queries to try to determine these values dynamically, and can be helpful to avoid
possible query failures during metadata lookup with complex subqueries as discussed in #260 and #436 , but
2012-08-24 19:13:31 +02:00
also solvable by specifying the `geometry_table` parameter. (r1300,#376)
2009-12-11 02:50:55 +01:00
2012-08-24 19:13:31 +02:00
- PostGIS: Added an optional `extent_from_subquery` parameter that when true (while the `extent` parameter is
not provided and `estimate_extent` is false) will direct Mapnik to calculate the extent upon the exact table
or sql provided in the `table` parameter. If a sub-select is used for the table parameter then this will,
2009-12-11 03:15:25 +01:00
in cases where the subquery limits results, provide a faster and more accurate layer extent. It will have
2012-08-24 19:13:31 +02:00
no effect if the `table` parameter is simply an existing table. This parameter is false by default. (#456)
2009-12-11 02:50:55 +01:00
2012-08-24 19:13:31 +02:00
- PostGIS Plugin: Added `!bbox!` token substitution ability in sql query string. This opens the door for various
2009-12-11 02:50:55 +01:00
complex queries that may aggregate geometries to be kept fast by allowing proper placement of the bbox
2010-01-22 06:01:23 +01:00
query to be used by indexes. (#415)
2016-08-04 11:53:04 +02:00
* Pass the bbox token inside a subquery like: !bbox!
2011-10-26 00:57:00 +02:00
2016-08-04 11:53:04 +02:00
* Valid Usages include:
2010-01-22 06:01:23 +01:00
2016-08-04 11:53:04 +02:00
< Parameter name = "table" >
(Select ST_Union(geom) as geom from table where ST_Intersects(geometry,!bbox!)) as map
< / Parameter >
2011-01-08 02:14:35 +01:00
2016-08-04 11:53:04 +02:00
< Parameter name = "table" >
(Select * from table where geom & & !bbox!) as map
< / Parameter >
2009-12-11 02:50:55 +01:00
2012-08-24 19:13:31 +02:00
- PostGIS Plugin: Added `scale_denominator` substitution ability in sql query string (#415/#465)
2009-12-11 02:50:55 +01:00
2016-08-04 11:53:04 +02:00
* Pass the scale_denominator token inside a subquery like: !scale_denominator!
2010-01-22 06:01:23 +01:00
2016-08-04 11:53:04 +02:00
* e.g. (Select * from table where field_value > !scale_denominator!) as map
2010-01-22 06:01:23 +01:00
- PostGIS Plugin: Added support for quoted table names (r1454) (#393)
2009-10-21 23:26:26 +02:00
2012-08-24 19:13:31 +02:00
- PostGIS: Add a `persist_connection` option (default true), that when false will release
2009-10-14 06:21:46 +02:00
the idle psql connection after datasource goes out of scope (r1337) (#433,#434)
2009-12-11 02:50:55 +01:00
- PostGIS: Added support for BigInt (int8) postgres type (384)
2009-09-30 01:40:40 +02:00
2009-12-11 02:50:55 +01:00
- PostGIS Plugin: Throw and report errors if SQL execution fails (r1291) (#363, #242 )
2009-09-27 19:23:09 +02:00
2010-01-22 06:01:23 +01:00
- PostGIS Plugin: Fixed problem in conversion of long numbers to strings (r1302,1303)
2009-12-11 02:50:55 +01:00
- PostGIS Plugin: Added missing support for BigInt(int8) postgres datatypes (r1250) (#384)
2009-08-27 05:54:52 +02:00
2010-01-22 06:01:23 +01:00
- OGR Plugin: Added support for reading multipoint features (#458)
- Shape Plugin: Fixed bug in file extension stripping (#413)
- Shape Plugin: Fixed missing compiler flags that causes crashing on newer g++ versions (#436)
2010-08-28 00:05:15 +02:00
- PNG: Fixed problem with garbled/striped png256 output along sharp edges(#416,#445,#447,#202)
2010-01-22 06:01:23 +01:00
2010-08-28 00:05:15 +02:00
- PNG: Added support for semi-transparency in png256 output (#477,#202)
2010-01-22 06:01:23 +01:00
2012-08-24 19:13:31 +02:00
- PolygonSymbolizer: Added `gamma` attribute to allow for dilation of polygon edges - a solution
2010-01-22 06:01:23 +01:00
to gap artifacts or "ghost lines" between adjacent polygons and allows for slight sharpening of
the edges of non overlapping polygons. Accepts any values but 0-1 is the recommended range.
2011-10-26 00:57:00 +02:00
2012-08-24 19:13:31 +02:00
- TextSymbolizer: Large set of new attributes: `text_transform` , `line_spacing` , `character_spacing` ,
`wrap_character` , `wrap_before` , `horizontal_alignment` , `justify_alignment` , and `opacity` .
2010-01-22 06:01:23 +01:00
2016-08-04 11:53:04 +02:00
* More details at changesets: r1254 and r1341
2010-01-22 06:01:23 +01:00
2012-08-24 19:13:31 +02:00
- SheildSymbolizer: Added special new attributes: `unlock_image` , `VERTEX` placement, `no_text` and many
attributes previously only supported in the TextSymbolizer: `allow_overlap` , `vertical_alignment` ,
`horizontal_alignment` , `justify_alignment` , `wrap_width` , `wrap_character` , `wrap_before` , `text_transform` ,
`line_spacing` , `character_spacing` , and `opacity` .
2010-01-22 06:01:23 +01:00
2016-08-04 11:53:04 +02:00
* More details at changeset r1341
2010-01-22 06:01:23 +01:00
2009-12-11 02:50:55 +01:00
- XML: Added support for using CDATA with libxml2 parser (r1364)
2010-01-22 06:01:23 +01:00
- XML: Fixed memory leak in libxml2 implementation (#473)
2012-08-24 19:13:31 +02:00
- XML: Added function to serialize map to string, called `mapnik.save_map_to_string()` (#396)
2010-01-22 06:01:23 +01:00
2012-08-24 19:13:31 +02:00
- XML: Added parameter to < Map > called `minimum_version` to allow for enforcing the minimum Mapnik version
2010-01-22 06:01:23 +01:00
needed for XML features used in the mapfiles. Uses Major.Minor.Point syntax, for example
< Map minimum_version = "0.6.1" > would throw an error if the user is running Mapnik less than 0.6.1.
2012-08-24 19:13:31 +02:00
- XML: Added support for relative paths when using entities and `mapnik.load_map_from_string()` (#440)
2010-01-22 06:01:23 +01:00
- XML: Made width and height optional for symbolizers using images (r1543)
- XML: Ensured that default values for layers are not serialized in save_map() (r1366)
2012-08-24 19:13:31 +02:00
- XML: Added missing serialization of PointSymbolizer `opacity` and `allow_overlap` attributes (r1358)
2009-12-11 02:50:55 +01:00
2010-02-03 19:03:18 +01:00
- XML: Default text vertical_alignment now dependent on dy (#485, r1527)
2012-08-24 19:13:31 +02:00
- Python: Exposed ability to write to Cairo formats using `mapnik.render_to_file()` and without pycairo (#381)
2010-01-22 06:01:23 +01:00
- Python: Fixed potential crash if pycairo support is enabled but python-cairo module is missing (#392)
2009-12-11 02:50:55 +01:00
2012-08-24 19:13:31 +02:00
- Python: Added `mapnik.has_pycairo()` function to test for pycairo support (r1278) (#284)
2009-09-30 01:40:40 +02:00
2012-08-24 19:13:31 +02:00
- Python: Added `mapnik.register_plugins()` and `mapnik.register_fonts()` functions (r1256)
2010-01-22 06:01:23 +01:00
- Python: Pickling support for point_symbolizer (r1295) (#345)
- Python: Ensured mapnik::config_errors now throw RuntimeError exception instead of UserWarning exception (#442)
2012-08-24 19:13:31 +02:00
- Filters: Added support for `!=` as an alias to `<>` for not-equals filters (avoids <> ) (r1326) (#427)
2010-01-22 06:01:23 +01:00
- SCons: Improved boost auto-detection (r1255,r1279)
- SCons: Fixed support for JOBS=N and FAST=True to enable faster compiling (r1440)
- SCons: Ensured that -h or --help will properly print help on custom Mapnik options before a user
2012-08-24 19:13:31 +02:00
has been able to properly run `configure` . (r1514)
2010-01-22 06:01:23 +01:00
- SCons: Added ability to link to custom icu library name using ICU_LIB_NAME (r1414)
- SCons: Improved reliability of python linking on OSX (#380)
- Fonts: Added unifont to auto-installed fonts, which is used by the OSM styles as a fallback font (r1328)
2009-07-17 06:32:19 +02:00
2012-06-18 17:57:42 +02:00
# Mapnik 0.6.1
2009-07-08 02:10:43 +02:00
2012-06-18 18:08:38 +02:00
Released July 14, 2009
2012-06-18 17:57:42 +02:00
(Packaged from r1247/353ff576c7)
2009-07-08 02:10:43 +02:00
2012-08-24 19:13:31 +02:00
- Plugins: expose list of registered plugins as a `plugin_names()` method of DatasourceCache (r1180)
2010-02-03 19:03:18 +01:00
2009-07-09 21:16:18 +02:00
- XML: Fixed serialization and parsing bugs related to handling of integers and Enums (#328,#353)
2009-07-08 19:41:09 +02:00
- SCons: Added the ability to set the PKG_CONFIG_PATH env setting (#217)
- SCons: Improved linking to only required libraries for libmapnik (#371)
- Shape Plugin: Added compile time flag to allow disabling the use of memory mapped files (r1213) (#342)
- Core: Improved support for PPC (Big endian) architectures (r1198 -> r1213)
- Scons: Improved auto-detection of boost libs/headers (r1200) (#297)
2009-07-08 02:33:36 +02:00
- Plugins: Exposed list of available/registered plugins (r1180) (#246)
- SCons: Improve build support for SunCC (patches from River Tarnell) (r1168, r1169)
- Python: Pickling support for text_symbolizer (r1164) (#345)
- Python: Pickling support for proj_transform and view/coord_transform (r1163) (#345)
- Python: Pickling support for parameters (r1162) (#345)
- Python: Pickling support for stroke objects (r1161) (#345)
- Python: Pickling support for line_symbolizer (r1160) (#345)
- Python: Pickling support for projection objects (r1159) (#345)
- Python: Pickling support for shield_symbolizer (r1158) (#345)
- Python: Pickling support for polygon_symbolizer (r1157) (#345)
- Python: Pickling support for query objects (r1156) (#345)
- Python: Pickling support for pattern symbolizers (r1155) (#345)
- Python: Pickling support for raster_symbolizer (r1154) (#345)
2012-08-24 19:13:31 +02:00
- Python: Added `mapnik.has_cairo()` function to test for cairo support (r1152) (#284)
2009-09-30 01:40:40 +02:00
2009-07-08 02:33:36 +02:00
- Python: Exposed dash_array get method (r1151) (#317)
- Python: Pickling support for Coord objects (#345)
2012-08-24 19:13:31 +02:00
- GDAL Plugin: Added an experimental option to open files in `shared mode` (r1143)
2009-07-08 02:33:36 +02:00
- Python: Exposed RasterSymbolizer options in Python (r1139)
2009-07-08 02:10:43 +02:00
2009-07-08 19:41:09 +02:00
- Plugins: Fixed support for non-file based sources in GDAL and OGR plugins (#336,#337)
2009-07-08 02:10:43 +02:00
- Plugins: Formal inclusion of new plugin for Kismet server (r1127) (#293)
- Python: Made access to features and featuresets more Pythonic (r1121) (#171,#280,#283)
- XML: Ensured relative paths in XML are interpreted relative to XML file location (r1124) (#326)
2012-08-24 19:13:31 +02:00
- XML: Added ability to serialize all default symbolizer values by passing third argument to save_map(m,`file.xml`,True)(r1117) (#327)
2009-07-08 02:10:43 +02:00
- Core: Added support for alpha transparency when writing to png256 (patch from Marcin Rudowski) (#202)
- SCons: Ensured ABI compatibility information is embedded in libmapnik.dylib on Mac OS X (#322)
2012-08-24 19:13:31 +02:00
- SCons: Ensured that the full `install_name` path would be added to libmapnik.dylib on Mac OS X (#374)
2009-07-08 02:10:43 +02:00
- Tests: Added testing framework in Python using nose (r1101-r1105)
- Raster Plugin: Added a tile/bbox-based read policy for large (rasters width * height > 1024*1024 will be loaded in chunks) (r1089)
2009-04-07 17:48:51 +02:00
2009-04-09 20:42:27 +02:00
- OGCServer: Made lxml dependency optional (r1085) (#303)
2009-04-09 20:40:39 +02:00
2009-04-08 01:06:51 +02:00
- Rasters: Handle rounding to allow better alignment of raster layers (r1079) (#295)
2009-04-07 17:48:51 +02:00
- AGG Renderer: Added option to control output JPEG quality (r1078) (#198)
2009-04-09 20:40:39 +02:00
- Plugins: Fixed segfault in OGR Plugin with empty geometries (r1074) (#292)
2009-04-07 17:48:51 +02:00
2012-06-18 17:57:42 +02:00
# Mapnik 0.6.0
2009-04-01 03:18:14 +02:00
2012-06-18 18:08:38 +02:00
Released April 1, 2009
2012-06-18 17:57:42 +02:00
(Packaged from r1066/c88e03436f)
2009-07-08 02:10:43 +02:00
2009-03-21 12:25:07 +01:00
- Python: Added support for aspect_fix_mode (r1013)
2009-02-12 03:12:26 +01:00
2009-07-08 19:41:09 +02:00
- OGCServer Fixed axis-ordering for WMS 1.3.0 request (r1051) (#241)
2009-04-01 03:18:14 +02:00
2012-08-24 19:13:31 +02:00
- Plugins: Added option to all plugins to support using a `base` path argument (r1042)
2009-04-01 03:18:14 +02:00
- Symbolizers: RasterSymbolizer now support composing modes for hillshading (r1027)
- SCons: Added options to build the rundemo and pgsql2sqlite tools (r989)
- OGCServer: Added content-length output (r986)
- SCons: Replaced LIBS/INCLUDES options for postgres and gdal with pg_config and gdal-config (r977)
- SCons: Created an optional configure stage (r973)
2009-03-05 07:20:46 +01:00
- Python: Added further pickling/copy support to Map, Layers, Datasources, Styles,and Rules (r907,r913,r921)
- Plugins: Added Sqlite driver for reading sqlite databases (r881)
- Python: Exposed a number of properties for the Text Symbolizer (r869)
- Plugins: PostGIS plugin now accepts multi-line queries (r862)
2009-02-02 00:07:37 +01:00
- Filter parsing: Allow numbers in the filter field name.
2012-08-24 19:13:31 +02:00
This allows for shapefiles with columns like `1970` .
2009-02-02 00:07:37 +01:00
2009-01-28 21:16:31 +01:00
- Plugins: Added OGR driver for reading all OGR supported formats (kunitoki) (r836) (#170)
2009-03-05 07:20:46 +01:00
- XML: Added serialization of Fontsets (r807)
- XML: Added support for reading xml from a string (r806)
2009-03-05 06:39:12 +01:00
- C++: renamed mapnik::Color to mapnik::color (r796)
2009-03-18 00:52:55 +01:00
- Python: Made available the scale_denominator property from the map in c++ and python (r794)
2009-01-14 07:14:47 +01:00
2009-01-25 20:02:07 +01:00
- Python: Added ability to resize map and clear all layers and styles from python (r793)
2009-01-14 05:52:04 +01:00
2009-01-25 20:04:34 +01:00
- Python: Exposed Proj to/from transformation for projected coordinate systems (r792,r822) (#117)
2009-01-25 20:02:07 +01:00
2009-03-05 07:20:46 +01:00
- Memory Datasource: Added support for dynamically adding Points to map using Point Datasource (r790)
- XML: Added xml serialization for abstract, title, minzoom, maxzoom, and queryable attributes (r787)
- Core: Transformation is now skipped if srs values match exactly (r777)
2012-08-24 19:13:31 +02:00
- Symbolizers: `min_distance` now honored for POINT placement using Text Symbolizer (r771)
2009-03-05 07:20:46 +01:00
- Plugins: PostGIS plugin now accepts a geometry_field,record_limit, cursor_size options (r769,r872)
- Python: Added ability to transform as a method on Coord and Envelope objects (r764)
- Python: Added docstrings to the Layer object (r763)
- Plugins: Loosened the type checking in Shapefile Plugin dbf reader (r762)
- Fonts: Added support for Right-to-left Hebrew text (r749)
- Core: Added a Map buffer parameter - helps to avoid cut labels at tile edges (r744)
- Symbolizers: Added opacity support to Point Symbolizer (r743)
- Symbolizers: Added support of using Points with Shield Symbolizer (r741)
2009-05-14 22:02:33 +02:00
- Plugins: PostGIS plugin now accepts alternate schemas (r773)
2009-03-05 07:39:52 +01:00
2010-11-05 00:33:16 +01:00
- Core: Added a Map aspect_fix_mode to ensure proper syncing of map dimensions and bbox (r705)
2009-03-05 07:39:52 +01:00
- Fonts: Added support for fallback fonts (r704)
- Cairo: Cairo support exposed in Python (r666)
- Plugins: Added OSM plugin for reading directly from OSM data (r663)
- Filters: Added support for boolean expressions (r660)
- Python: Added ability to open Image32 files (r652)
- Cairo: Cairo rendering support added (r656)
- Core: Added unicode support based on ICU (r650)
- Core: Added support for single and multi threaded variants of Mapnik (r632,r634)
- Plugins: Use memory mapped files for reading shape file (r628)
2016-02-26 01:17:05 +01:00
- Core: Use streams to write images (i/o re-factor) (r628) (#15)
2012-06-18 18:08:38 +02:00
# Mapnik 0.5.1
Released April 15, 2008
(Packaged from c29cb7386d)
# Mapnik 0.5.0
Released April 15, 2008
(Packaged from 0464a3563c)
# Mapnik 0.4.0
Released February 26, 2007
(Packaged from 8d73e3a8dc)
# Mapnik 0.3.0
Released May 22, 2006
(Packaged from 3ae046ebe2)