Commit graph

5654 commits

Author SHA1 Message Date
artemp
3ffe8ec21c + add premultiplied_alpha flag to mapnik::raster 2012-09-28 16:43:05 +01:00
artemp
77e585895f + add premultiplied_alpha method to image_reader
* tiff - TIFFTAG_EXTRASAMPLES
  * png  - non-premultiplied alpha (http://www.libpng.org/pub/png/spec/1.1/PNG-Rationale.html)
  * jpeg - no-alpha channel, ensure pre-multiplied model
2012-09-28 16:37:21 +01:00
Manel Clos
49356608ce Merge branch 'master' of https://github.com/manelclos/mapnik 2012-09-28 15:14:06 +02:00
Manel Clos
8f7083d14d Add tolerance parameter to features_at_point
Make map.query_point() always pass tolerance to datasources
2012-09-28 15:12:10 +02:00
artemp
02e7aef9c9 + restore g++/darwin fix - #1507 2012-09-28 09:43:29 +01:00
Dane Springmeyer
446ef47242 Add test file 2012-09-27 19:24:02 -07:00
Dane Springmeyer
8135ac8ac1 add more color to the visual test output 2012-09-27 19:18:07 -07:00
Dane Springmeyer
a7670459d6 add testcase for #1508 to visual tests 2012-09-27 19:11:11 -07:00
Dane Springmeyer
43ded34222 visual tests: don't output debug by default and handle exceptions from rendering 2012-09-27 18:58:50 -07:00
artemp
bb27ab5d1b + formatting 2012-09-27 16:09:20 +01:00
artemp
98c3c823a0 Merge branch 'master' into conv_simplify 2012-09-27 16:07:42 +01:00
artemp
2427daa403 + make WKT generator templated on geometry type - the goal is to be able
to use generator for any type that implements 'vertex' concept
2012-09-27 16:07:14 +01:00
artemp
42bcf4ea98 + make WKT generator templated on geometry type - the goal is to be able
to use generator for any type that implements 'vertex' concept
2012-09-27 16:04:29 +01:00
artemp
03315ff893 + formatting 2012-09-27 16:03:21 +01:00
artemp
8228d99186 + cleanups: use preincrement iterators in for loop etc .. 2012-09-27 16:02:14 +01:00
Manel Clos
f4934e62ea Query tolerance test 2012-09-27 13:53:57 +02:00
artemp
d7abfc267b Merge branch 'master' into conv_simplify 2012-09-27 08:54:32 +01:00
Dane Springmeyer
35a10d48cc remove the uneeded save_data test utility function 2012-09-26 14:12:55 -07:00
Dane Springmeyer
b9b97ba652 after #1483 fontset is boost optional so check appropriately in load_map (solves assert) 2012-09-26 12:56:57 -07:00
Dane Springmeyer
7d066fe8f7 Merge branch 'master' of github.com:mapnik/mapnik 2012-09-26 12:52:26 -07:00
Dane Springmeyer
8b77547251 Add csv test files 2012-09-26 12:51:42 -07:00
Dane Springmeyer
a7d7dd245a Merge branch 'master' of github.com:mapnik/mapnik 2012-09-26 12:29:53 -07:00
Dane Springmeyer
e954bb1587 add empty/size==0 to style guide 2012-09-26 12:29:22 -07:00
Dane Springmeyer
a3aec240fe make the csv tests silent 2012-09-26 12:11:41 -07:00
Dane Springmeyer
4432b75f53 Merge branch 'master' of github.com:mapnik/mapnik 2012-09-26 12:01:40 -07:00
Dane Springmeyer
794f5e369a start moving raster visual tests into place (add new,currently failing tests for raster.input) 2012-09-26 12:01:28 -07:00
Dane Springmeyer
083ff236b7 Revert "+ fix parameters names to be more css-ish"
This reverts commit 5c5c4fb76e.
2012-09-26 11:57:29 -07:00
Dane Springmeyer
940bb98275 visual tests: actually default to m.zoom_all() 2012-09-26 11:28:23 -07:00
Dane Springmeyer
7cf4a00af9 add ability to generate expected test results on the fly 2012-09-26 11:27:25 -07:00
Dane Springmeyer
ef94bc8db8 support python 2.5 2012-09-26 11:26:51 -07:00
Dane Springmeyer
b6c7e319d6 Merge branch 'master' of github.com:mapnik/mapnik 2012-09-26 08:49:40 -07:00
artemp
be5a2c192f Merge remote-tracking branch 'origin/master' 2012-09-26 14:28:46 +01:00
artemp
d91cd510aa + ensure warp polygons are aligned exactly (avoid padding!) - #1501 2012-09-26 14:27:42 +01:00
artemp
a63df933d5 + only log transform evaluation if trans_expr is not null 2012-09-26 14:26:58 +01:00
artemp
a537c58afa + work-in-progress.. 2012-09-26 14:26:12 +01:00
artemp
fe011a988d + only log transform evaluation if trans_expr is not null 2012-09-26 14:24:26 +01:00
Dane Springmeyer
1af2faf56b formatting 2012-09-25 14:52:32 -07:00
Dane Springmeyer
d6821e8ce9 Merge branch 'master' of github.com:mapnik/mapnik 2012-09-25 14:33:54 -07:00
Dane Springmeyer
e8abc8eef1 csv: stop adding WKT/JSON geometry data to attributes 2012-09-25 14:08:07 -07:00
artemp
32d52a1a78 Merge branch 'master' into conv_simplify 2012-09-25 10:35:53 +01:00
Manel Clos
a1dde7eff9 Query tolerance test 2012-09-25 10:51:49 +02:00
artemp
ae176d1d19 + use 'extent' for both raster.input and gdal.input 2012-09-24 17:12:03 +01:00
artemp
5c5c4fb76e + fix parameters names to be more css-ish 2012-09-24 16:14:17 +01:00
artemp
ac735e82c2 + make tile_size configurable for 'tiled' read policy 2012-09-24 13:39:03 +01:00
artemp
8fe932b7d1 + tiff_reader: make TIFF* 'cacheable', to avoid initialization under
certain conditions.
2012-09-24 13:35:22 +01:00
Dane Springmeyer
52cf481043 Merge branch 'master' of github.com:mapnik/mapnik 2012-09-21 13:35:15 -07:00
Dane Springmeyer
fca564614f csv plugin: improve newline detection - closes #1497 2012-09-21 13:34:43 -07:00
artemp
a7c02cf1d8 Merge remote-tracking branch 'origin/master' into conv_simplify 2012-09-19 14:07:34 +01:00
artemp
97463abf3d + ensure mesh doesn't overflow source raster extent - #1480 2012-09-19 13:53:56 +01:00
artemp
2834b2ad92 + not sure why we have do { } while(false); - removing 2012-09-19 13:51:53 +01:00