artemp
3276bed965
Merge branch 'master' into image_data_any
2014-12-16 09:33:28 +01:00
Blake Thompson
0d2eb9cb5f
Updates for Ref #2594 and #2592 (Related to #2491 )
...
* Added support for scanline, stripped and tiled
* Added new configuration options for TIFF:
- method
- tile_height (Default 0)
- tile_width (Default 0)
- rows_per_strip (Default 0)
* Removed 'scanline' configuration option for TIFF.
* Changed RGBA TIFFs to be ASSOCALPHA rather then UNASSOCALPHA
2014-12-15 02:52:32 +00:00
Jiri Drbalek
af35cf7cdf
xml test styles standalone
2014-12-09 20:13:38 +00:00
Jiri Drbalek
3e8b50464b
update visual test runner for standalone tests
2014-12-09 20:13:36 +00:00
Dane Springmeyer
cf4f775855
Merge branch 'master' of github.com:mapnik/mapnik into image_data_any
2014-12-09 10:31:19 -05:00
Dane Springmeyer
4e671fd0e9
tiff io: test paletted (aka colormapped) tiff
2014-12-09 01:15:09 -05:00
Dane Springmeyer
fcf71c36d9
tiff io: avoid over-allocation + add more tests
2014-12-09 00:17:02 -05:00
Dane Springmeyer
dc1ed0ae29
tiff io: also test reading from in memory buffer
2014-12-08 22:58:44 -05:00
Dane Springmeyer
d2935e65ce
test reading
2014-12-08 18:45:00 -05:00
Dane Springmeyer
dcae6395af
start testing tiff read and image type returned
2014-12-08 18:13:23 -05:00
Dane Springmeyer
24a9816913
test tiff photometric setting
2014-12-08 17:16:56 -05:00
Dane Springmeyer
a706cdb000
fixup tiff alpha handling cxx tests
2014-12-08 17:04:05 -05:00
Dane Springmeyer
66e65666ae
test that gray32f is not blank (currently failing)
2014-12-08 16:47:08 -05:00
Dane Springmeyer
cb3771fbe5
fix reading of tiled tiff tile dimensions for gray32f
2014-12-08 15:23:06 -05:00
Dane Springmeyer
bc3f59af12
new c++ tiff tests - refs #2491
2014-12-08 14:52:52 -05:00
Dane Springmeyer
dc3df99f66
rename tiff test image
2014-12-08 14:11:32 -05:00
artemp
017def88b1
update raster-color-to-alpha tests to use raster.input
2014-12-08 15:55:06 +01:00
Jiri Drbalek
20178013ea
add visual test iconic font
2014-12-07 16:13:48 +00:00
Blake Thompson
74fb5f0890
Merge branch 'image_data_any' of github.com:mapnik/mapnik into image_data_any
2014-12-05 15:43:20 -05:00
Blake Thompson
8aec9aca89
Some really basic tests that I was using for testing, many more need to be added
2014-12-05 15:43:14 -05:00
Dane Springmeyer
23d78680cf
add (currently failing) tests for #1927
2014-12-05 14:04:37 -05:00
Dane Springmeyer
fc0894634c
improve image tests
2014-12-05 11:36:50 -05:00
Dane Springmeyer
cc2cf2876f
Merge branch 'master' of github.com:mapnik/mapnik into image_data_any
2014-12-05 09:45:12 -05:00
Blake Thompson
daecced552
A small modification to the image_tests removing some options not indended to be left on
2014-12-04 17:17:14 -05:00
Blake Thompson
bf5c532269
Series of changes for the tiff encoder:
...
* Added configuration options for the TIFF encoder. The options are:
- compression: adobe_deflate(default), deflate, lzw, none
- zlevel: 0-9
- scanline: 1,0 (Forces scanline encoding)
* Fixed bug in encoder with scanline where memory was being modified
* by TIFFWriteScanline. A buffer is now created for each row to prevent
* modification of the underlying image_data.
2014-12-04 17:11:33 -05:00
Jiri Drbalek
778e654933
update visual test - font-feature-settings
2014-12-04 21:19:13 +00:00
Blake Thompson
fa902bc97d
Removed logging accidently left in test.
2014-12-04 10:49:21 -05:00
Blake Thompson
e6c5f705e5
Fixed error with selection criteria for stripe vs tiled, added modulus check on length and width to select striped in some situations, changed bitspersample for RBGA. (ref #2491 )
2014-12-04 10:48:19 -05:00
artemp
38da080f82
make concrete image_data type names more expressive and explicit about color channels/depth:
...
image_data_32 -> image_data_rgba8
image_data_8 -> image_data_gray8
image_data_16 -> image_data_gray16
image_data_float32 -> image_data_gray32f
NOTE: currently image_data_gray16::pixel_type = std::int16_t (signed 16 bit int) to match GDAL
should we support unsigned types?
2014-12-04 11:02:42 +01:00
artemp
6b3fc9907f
specify alpha 0 in default-color e.g " #00000000 "
2014-12-04 10:33:44 +01:00
Blake Thompson
cdaca0ba11
Updated tiff processing so now the encoder will utilize different types of data as well as will use Tile based encoding in most situations, if the image is large will revert to scanline based encoding.
2014-12-03 18:41:49 -05:00
Dane Springmeyer
2f0e236bc0
update expected visual test images
2014-12-03 16:30:35 -05:00
Dane Springmeyer
cbe0a0cca5
update agg blending cpp test - refs #1452
2014-12-03 15:19:22 -05:00
Dane Springmeyer
954d0db46c
Merge branch 'master' of github.com:mapnik/mapnik into image_data_any
2014-12-03 13:53:14 -05:00
Dane Springmeyer
02135991ed
convert raster_symbolizer_test to use full image comparisons
2014-12-03 13:53:04 -05:00
Dane Springmeyer
9d479f246b
update a few expected images
2014-12-03 13:41:57 -05:00
Dane Springmeyer
6bba6b88de
update a few expected images
2014-12-03 13:38:55 -05:00
Dane Springmeyer
27159b8086
update visual test images after agg rgba improvements
2014-12-03 12:10:49 -05:00
Dane Springmeyer
946434002f
handle/throw on invalid encoding for ucnv_open
2014-12-02 14:21:36 -05:00
Artem Pavlenko
db4b74e8bb
Merge pull request #2580 from StevenLooman/master
...
Tests and fix for SQLite datasource missing column
2014-11-24 12:51:55 +01:00
artemp
8567aa25e0
fix text-line-wrap grid ids
2014-11-24 11:25:54 +01:00
Steven Looman
e7cf55222c
Add test case for missing columns in SQLite datasource, using subquery. Refs #2579
2014-11-20 18:58:20 +01:00
Steven Looman
4555e117e7
Add test case for missing columns in SQLite datasource. Refs #2579
2014-11-20 18:30:20 +01:00
artemp
1757797031
update cpp tests - ref #2491
2014-11-20 14:43:17 +01:00
Dane Springmeyer
2577a6c9b8
update a few visual tests against latest cairo - closes #2574
2014-11-13 12:17:15 -08:00
Jiri Drbalek
1b0a129755
add visual test - marker on line with many vertices
2014-11-13 13:21:49 +00:00
Jiri Drbalek
c540210fc6
update visual tests
2014-11-13 12:51:37 +00:00
Jiri Drbalek
3013197de7
move vertex_cache and tolerance_iterator from text directory
2014-11-13 12:51:36 +00:00
Robert Coup
76d5bdae8c
Merge pull request #2556 from stephend/master
...
Throw datasource_exception on GDAL RasterIO() failures
2014-11-05 18:21:13 +13:00
Dane Springmeyer
26d7519e57
link cpp tests to grammar libs
2014-11-04 13:17:29 -05:00
Jiri Drbalek
40510437fe
add visual test - simplify line
2014-11-04 14:08:27 +00:00
Stephen Davis
824c99f565
throw datasource_exception on GDAL RasterIO failures
2014-11-03 11:24:38 +13:00
Dane Springmeyer
06d9021d66
update map after 808e820
2014-10-27 09:25:10 -07:00
Dane Springmeyer
808e820164
smarter type handling for Map parameters
2014-10-27 09:24:33 -07:00
Jordan Hollinger
ee692eea73
Merge branch 'master' of github.com:mapnik/mapnik into group-markers
...
Conflicts:
include/mapnik/grid/grid_marker_helpers.hpp
include/mapnik/marker_helpers.hpp
include/mapnik/renderer_common/process_group_symbolizer.hpp
src/cairo/process_markers_symbolizer.cpp
src/renderer_common/process_group_symbolizer.cpp
tests/visual_tests/images/group-symbolizer-1-512-512-1.0-agg-reference.png
tests/visual_tests/images/group-symbolizer-1-512-512-1.0-cairo-reference.png
tests/visual_tests/images/group-symbolizer-1-512-512-2.0-agg-reference.png
tests/visual_tests/images/group-symbolizer-1-512-512-2.0-cairo-reference.png
2014-10-27 09:29:45 -04:00
Jordan Hollinger
864426ae54
Add reference images for new visual test group-symbolizer-4.
2014-10-27 07:46:44 -04:00
Jordan Hollinger
6f4593fb4a
Update reference images for visual test group-symbolizer-1.
2014-10-27 07:46:44 -04:00
Jordan Hollinger
bfb8d80e37
Add visual test for several cases of raster and vector markers within group symbolizer.
2014-10-27 07:46:44 -04:00
Jordan Hollinger
85622ab575
Update group symbolizer tests to use markers symbolizers.
2014-10-27 07:46:43 -04:00
Dane Springmeyer
ecb529cba2
handle boost::spirit::qi::expectation_failure
2014-10-24 21:36:19 -07:00
artemp
71085323a7
Merge branch 'peucker' of git://github.com/MapQuest/mapnik into MapQuest-peucker
2014-10-24 15:20:05 +01:00
Dane Springmeyer
c7fb48eb75
update expected visual test
2014-10-22 15:35:07 -07:00
Dane Springmeyer
87192bfcb7
silence more boost warnings
2014-10-21 16:57:44 -07:00
Dane Springmeyer
83588937b9
silence boost warnings
2014-10-21 16:37:27 -07:00
Dane Springmeyer
27c959b1bf
quiet use of mapnik-test-data
2014-10-20 22:43:17 -07:00
Dane Springmeyer
1b35d5a31b
C++ test cleanup
2014-10-20 19:55:11 -07:00
Jiri Drbalek
fef8079f03
add visual test - text data binding
2014-10-18 16:50:57 +00:00
Jiri Drbalek
4c11a4809c
improve visual test - more data bound properties
2014-10-18 16:31:20 +00:00
Jiri Drbalek
8ed1a2141b
add visual test - geometry-transform scale
2014-10-18 10:31:07 +00:00
Dane Springmeyer
1a9002859d
fix test - previous image was actually being rendered with radial-distance
2014-10-17 13:34:47 -07:00
Dane Springmeyer
fa18783bf5
python tests: remove either paths.py data or env settings for fonts/plugins
2014-10-15 18:40:07 -07:00
Dane Springmeyer
03b6b71ed2
update a few visual tests based on osx+mapnik-packaging deps
2014-10-14 21:03:15 -07:00
Dane Springmeyer
e1c1371935
Merge pull request #2514 from mapycz/perf-tolerance-iterator
...
exponential tolerance_iterator
2014-10-14 20:49:19 -07:00
Dane Springmeyer
4c93d14537
get sqlite rtree tests passing on windows - refs #1871 and #2530
2014-10-14 17:49:04 -07:00
Dane Springmeyer
a98158e97d
close sqlite db after testing
2014-10-14 17:35:59 -07:00
Jiri Drbalek
6c0aa68451
update grid reference images
2014-10-14 10:47:51 +00:00
Jiri Drbalek
2f36fbf1b0
update cairo reference images
2014-10-14 10:47:51 +00:00
Jiri Drbalek
a6e4a1bfce
update agg reference images
2014-10-14 10:47:51 +00:00
Jiri Drbalek
be7b593957
update visual test - horizontal-alignment="adjust"
2014-10-13 12:16:48 +00:00
Jiri Drbalek
1252369292
add horizontal-alignment="adjust" with immutability of style objects in
...
mind
2014-10-13 12:16:48 +00:00
Dane Springmeyer
8f94f23ea5
update postgis visual test I missed updating after #2519
2014-10-12 11:09:58 -07:00
Dane Springmeyer
6e894b1b97
avoid failing cairo tests due to #2334 (let's revert once #2334 is fixed)
2014-10-12 11:06:10 -07:00
Dane Springmeyer
22476b151f
fix code comment: test actually for #1533
2014-10-12 11:04:31 -07:00
Dane Springmeyer
a61364d263
revert halign support - refs #2426
2014-10-11 20:03:56 -07:00
Dane Springmeyer
4bfe542f31
update expected cairo images
2014-10-10 15:26:09 -07:00
Dane Springmeyer
45987988fb
update expected agg images
2014-10-10 15:26:03 -07:00
Dane Springmeyer
b35eaec891
update expected grids
2014-10-10 15:25:51 -07:00
Dane Springmeyer
e29be4cec5
update a few expected images in python tests
2014-10-10 15:25:06 -07:00
Dane Springmeyer
c26c60e48e
remove set_old_style_expression
2014-10-09 20:51:43 -07:00
Kevin Kreiser
2178f1602c
note to self. read coding convention guidelines before actually writing code.
2014-10-08 15:05:38 -04:00
Kevin Kreiser
5962d68621
tab vs spaces in ide finally fixed. apologies
2014-10-08 14:37:18 -04:00
Kevin Kreiser
d8a9a5ed4d
make the simplify test function general purpose so others can add other test cases for other simplification algorithms
2014-10-08 14:33:50 -04:00
Kevin Kreiser
a5bedfbae3
fix some whitespace issues. somehow tabs were getting in there
2014-10-08 14:05:25 -04:00
Kevin Kreiser
b7d3a798cd
add ramer douglas peucker to the list of simplify converters. also add tests for the simplify converters but so far only testing peucker. also add a method to the wkt factor for converting geometry container to wkt
2014-10-08 13:47:36 -04:00
Dane Springmeyer
65438f17aa
further tests of path expressions for shields
2014-10-08 08:00:59 -07:00
Dane Springmeyer
3019787b30
enable another shield test - this one using null path expression
2014-10-08 08:00:59 -07:00
Dane Springmeyer
0a192a5260
completely purge buggy osm plugin from visual tests
2014-10-07 15:44:20 -07:00
Dane Springmeyer
41009bfeb3
fix font caching logic
2014-10-07 00:21:52 -07:00
Dane Springmeyer
6e7935b959
visual test coverage of shield-text-opacity/text-opacity - refs #2507
2014-10-06 21:51:58 -07:00
Dane Springmeyer
51f62ad083
dodge #2505 by avoiding registering gdal/ogr plugin
2014-10-06 18:19:52 -07:00