Dane Springmeyer
dca44f799b
update osm plugin to new geometry
2015-03-22 15:46:27 -07:00
Dane Springmeyer
1a57aef9c6
implement hit_test for new_geometry
2015-03-22 11:41:44 -07:00
Dane Springmeyer
f0563fd8f3
more geometry tests for ogr plugin
2015-03-21 20:08:43 -07:00
artemp
8a0b4a6b6e
Merge branch 'master' into mapnik-geometry
2015-03-19 19:17:01 +01:00
Dane Springmeyer
85b20f45d7
Merge pull request #2682 from mapycz/fix-enum-word-separator
...
fix enum word separator
2015-03-19 00:22:31 -07:00
Matt Amos
78f10479e9
Added extra tests for GroupSymbolizer placement options.
...
Added tests for avoid-edges and minimum-padding when used with
GroupSymbolizer, as originally explained in #2729 .
2015-03-18 11:57:21 +00:00
artemp
c0af10d324
fix wkb_formats_test
2015-03-18 12:43:30 +01:00
artemp
236c21ffbd
cxx tests - update geometry test
2015-03-18 12:43:05 +01:00
artemp
fd8ac66cde
start converting to mapnik-geometry
2015-03-16 17:38:20 +01:00
artemp
71c9c04e92
Merge branch 'master' into mapnik-geometry
2015-03-16 16:20:46 +01:00
Blake Thompson
2e10b2ca1a
A small change to help compare grids faster in python.
2015-03-15 13:07:46 -05:00
artemp
914b8dbd76
Merge branch 'master' into mapnik-geometry
2015-03-12 15:14:45 +01:00
Artem Pavlenko
9117e7d9ff
Merge pull request #2621 from mapycz/markers-upright
...
marker direction
2015-03-12 14:58:16 +01:00
artemp
50ca6fcbe8
Merge branch 'master' into mapnik-geometry
2015-03-12 14:55:45 +01:00
artemp
ab318e0676
remove unused header
2015-03-12 13:59:30 +01:00
Blake Thompson
0fba975670
An update so that mapnik tests will pass in debug mode
2015-03-11 22:40:51 -05:00
artemp
a5d51af51c
cpp_tests : start porting to mapnik-geometry
2015-03-11 18:16:22 +01:00
Dane Springmeyer
c245c208ee
add expected test images
2015-03-10 21:08:27 -07:00
Dane Springmeyer
c8e56f1128
fix high zoom crash in line pattern rendering - closes #2726
2015-03-10 18:16:04 -07:00
Dane Springmeyer
87b75ff118
fixup test for #2726
2015-03-10 17:54:22 -07:00
Dane Springmeyer
f28bc09118
add testcase for #2726 (currently crashing)
2015-03-10 17:54:22 -07:00
artemp
317e9c497f
Merge branch 'master' into mapnik-geometry
2015-03-09 14:59:45 +01:00
Dane Springmeyer
acee056710
add tests validating current (non-ideal) need for manually supplying 'geometry_table' for specific sql query - refs #2718
2015-03-08 12:53:25 -07:00
Dane Springmeyer
09afe230fb
add test for #2721
2015-03-06 17:10:21 -08:00
Dane Springmeyer
2143dbe7ef
allow postgres tests to pass if postgres is not running: followup to #2725
2015-03-06 17:08:41 -08:00
Blake Thompson
95f98e5311
Merge branch 'master' of github.com:mapnik/mapnik
2015-03-06 17:24:34 -06:00
Blake Thompson
61abe608ee
Added the ability to get_type from an image, fixed possible bugs associated with image copy.
2015-03-06 17:24:23 -06:00
Dane Springmeyer
051462e00f
fix postgis error reporting - closes #2725
2015-03-06 14:01:22 -08:00
artemp
aa5ae6b843
update markers_symbolizer to work with mapnik-geometry (work-in-progress)
2015-03-05 15:07:23 +01:00
artemp
3ddfe34aa5
Merge branch 'master' into mapnik-geometry
2015-03-04 10:30:08 +01:00
Dane Springmeyer
5a4e821cae
fix save_map test for multipolygon-centroid-postgis.xml by avoiding whitespace usage
2015-02-25 20:09:24 -08:00
Dane Springmeyer
cce06dfe45
fix datasource type used
2015-02-25 19:07:35 -08:00
Dane Springmeyer
bd5b5bd258
Add missing test files
2015-02-25 18:57:29 -08:00
Dane Springmeyer
ea35569a51
do not generate sqlite spatial index on the fly
2015-02-25 18:57:00 -08:00
Dane Springmeyer
a6df5f9056
tests for line wrap bug (currently non-ideal) refs #2701
2015-02-25 18:54:31 -08:00
Dane Springmeyer
d9d63bb5ca
add tests for #2078 and #2151 (currently non-ideal results)
2015-02-25 18:51:57 -08:00
Dane Springmeyer
1506a1d867
avoid : in image paths - refs #2717
2015-02-25 15:25:10 -08:00
Dane Springmeyer
2818ff96e8
test reversed point geojson
2015-02-23 23:52:54 -08:00
Dane Springmeyer
6c57c08a53
add more cxx tests of new geometry
2015-02-23 23:45:11 -08:00
Blake Thompson
8153c1a9fd
Removed get_pixel_color from python bindings and added new parameter to get_pixel so that it will return color on demand.
2015-02-23 10:27:00 -06:00
Dane Springmeyer
d603becc28
update expected tests (straggler after png hextree fix)
2015-02-22 23:28:35 -08:00
Blake Thompson
5180168491
Merge branch 'master' into release/image_data_any
2015-02-18 23:03:51 -06:00
Blake Thompson
b2c1c86d99
Merge branch 'master' into release/image_data_Any
...
Conflicts:
benchmark/test_polygon_clipping.cpp
2015-02-16 14:37:01 -06:00
Blake Thompson
0cd9c1fc34
Updated image_any building switch statement to support all the correct types, added tests for all the new data formats with get and set in python.
2015-02-16 14:23:55 -06:00
Dane Springmeyer
203ce8b9a6
renable polygon clipping tests despite current flaws
2015-02-15 14:00:20 -08:00
Dane Springmeyer
1ebd6afd9c
improve sql subselect parsing + add tests - closes #2704
2015-02-13 01:26:19 -08:00
Dane Springmeyer
54dc9dd0f3
add shapeindex tests - refs #2703
2015-02-13 00:05:34 -08:00
Dane Springmeyer
df60a2f37f
more tests for object stringify in geojson plugin - refs #2678
2015-02-12 11:37:46 -08:00
artemp
3aaac077cb
add test_large_geojson_properties
2015-02-12 15:53:29 +01:00
Dane Springmeyer
89a58c5879
Merge branch 'master' of github.com:mapnik/mapnik into release/image_data_any
2015-02-11 10:01:42 -08:00
Dane Springmeyer
41ed56df14
Merge branch 'master' of github.com:mapnik/mapnik into vertex_adapter
2015-02-09 18:16:57 -08:00
Dane Springmeyer
578f8a7c29
report proj4 string in extra metadata for ogr plugin - refs #2650
2015-02-09 15:46:00 -08:00
Blake Thompson
d31bf5b171
Updated tests from cast to copy
2015-02-09 13:46:48 -08:00
Jiri Drbalek
02dff77fff
add visual test - marker direction
2015-02-07 12:23:36 +00:00
artemp
e19fdad3a6
implement vertex interface in vertex_adapter and make mapnik::geometry_type immutable
2015-02-06 16:45:51 +01:00
Jiri Drbalek
35d6769448
update visual tests - prefer hyphens as word separator in enums
2015-02-06 15:42:43 +00:00
Blake Thompson
06ef081282
Another set of fixes for the compare SSE code, added test where it was failing
2015-02-04 18:26:18 -06:00
Blake Thompson
c0fcf48019
Fixed issues with SSE compare when the threshold is greater then zero. Added several new SSE methods for unsigned integers.
2015-02-04 17:46:18 -06:00
Blake Thompson
ffb34544e6
Merge branch 'master' into release/image_data_any
2015-02-04 15:46:54 -06:00
Blake Thompson
2b8bd59d82
A large set of updates:
...
* Added new gray data types adding those to the variants and updating all the code necessary for them
* Added basic SSE to the image compare method, (only for RGBA) must be enabled with the -DSSE_MATH flag this is not yet put into the build process in any location.
* Fixed the resulting image for some TIFF visual tests, most likely they were incorrect due to fixes in TIFF reader
* Added some MAPNIK_DECL where necessary to grid rendering.
* Added support for more data types in GDAL plugin with grayscale images.
* Added views for all the new gray data types
* Updated python bindings for new gray data types.
Ref #2681
2015-02-04 15:41:58 -06:00
artemp
8faf04663c
update tests/python_tests/geojson_plugin_test.py
2015-02-04 18:34:53 +01:00
artemp
3331368e05
amend test
2015-02-04 18:29:03 +01:00
artemp
ae9eafa2c1
allow "stringified" nested objects and arrays as feature property
2015-02-04 18:28:47 +01:00
Jiri Drbalek
56adb32701
add visual test - text upright
2015-02-03 16:32:23 +00:00
Dane Springmeyer
0e017be98d
merge with master + fixups
2015-02-03 00:38:55 -08:00
Dane Springmeyer
71e7faed0d
Merge branch 'master' of github.com:mapnik/mapnik into release/image_data_any
...
Conflicts:
tests/python_tests/image_test.py
tests/python_tests/image_tiff_test.py
tests/visual_tests/images/tiff-opaque-edge-raster2-600-400-1.0-agg-reference.png
tests/visual_tests/images/tiff-opaque-edge-raster2-600-400-2.0-agg-reference.png
2015-02-03 00:05:15 -08:00
Dane Springmeyer
d915e1e634
update a few more visual tests
2015-02-02 21:26:09 -08:00
Dane Springmeyer
3e43c692cc
update visual test images after #2671
2015-02-02 20:23:45 -08:00
Dane Springmeyer
d9e49fd09a
tests: support regenerating test images in more python tests
2015-02-02 19:00:09 -08:00
Dane Springmeyer
c361e538f7
Merge pull request #2671 from sarametz/png8_encoding_bug
...
Png8 encoding bug
2015-02-02 14:08:05 -08:00
Dane Springmeyer
625a37ed12
test both geojson.input and ogr.input - refs #2666
2015-02-02 10:58:03 -08:00
Dane Springmeyer
33a7bbb4e1
Merge branch 'master' of github.com:mapnik/mapnik into kurdish-text-visual-test
2015-02-02 10:54:20 -08:00
Dane Springmeyer
956d936162
fix pep8 linter command + update a few linted files
2015-02-02 10:38:08 -08:00
Dane Springmeyer
7d78115886
pyflakes driven python file cleanup
2015-02-02 10:38:08 -08:00
Dane Springmeyer
0d6c10a2fa
fix gamma misuage in image_encoding_speed_test
2015-02-02 10:38:08 -08:00
Dane Springmeyer
851597f3f0
add visual test for reading GeoJSON GeometryCollection
2015-02-02 10:38:08 -08:00
Dane Springmeyer
a67e0dec12
python test cleanup
2015-02-02 10:38:08 -08:00
Dane Springmeyer
21862d57c0
re-enable webp tests + update expected images after #2662
2015-02-02 10:38:08 -08:00
Sara Metz
f38d2ee69b
Fixes bugs that cause tests in PR #2599 to fail
2015-01-30 10:40:50 +13:00
Robert Coup
44500b9a71
Test for 2px png8 encoding bug (hextree & octree)
2015-01-30 10:15:10 +13:00
Blake Thompson
826e13f911
Renamed background to fill, added numeric casting to fill utility, changed clog uses to MAPNIK_LOG, changed the implementation of fill some so that it only used a single template
2015-01-29 13:27:42 -07:00
Dane Springmeyer
b13dfaf644
amend 89b3e108e6
by fixing image size to be square
2015-01-29 10:24:40 -08:00
Dane Springmeyer
89b3e108e6
add testcase for kurdish language - refs #2666
2015-01-29 10:19:15 -08:00
Blake Thompson
de99180a44
Added new image_cast method and added its bindings to python, added two new properities to images: offset and scaling. Added way to cast between image types with offset and scaling. Added new unit tests for color and casting. Made it so that pixel setting doesn't result in overflows or underflows. Made the return of get_pixel, dynamic based on what is passed to it. Added new methods for setting pixels that are doubles and ints.
2015-01-28 20:20:14 -06:00
artemp
610f01bd0b
update params_test - #2651
2015-01-28 12:56:10 +01:00
Dane Springmeyer
dfb6116786
Merge branch 'master' of github.com:mapnik/mapnik into release/image_data_any
...
Conflicts:
tests/python_tests/pgraster_test.py
2015-01-27 15:19:12 -08:00
Robert Coup
93f67f9bc9
Merge pull request #2657 from rcoup/antimeridian-box-projection-2648
...
Handle bounds reprojections which cross the anti-meridian. Fixes #2648
2015-01-28 11:44:50 +13:00
Dane Springmeyer
d38b3bb2cf
respect alpha in cairo comparisons (reasons for ignoring it once no longer apply - refs #2662 )
2015-01-27 14:38:38 -08:00
Dane Springmeyer
6d5e2b1865
add support for UPDATE=1 to update visual tests (whether failing or not)
2015-01-27 14:29:48 -08:00
Robert Coup
65ef3bc625
Handle bounds reprojections which cross the anti-meridian. #2648
...
When doing an envelope-points reprojection to a geographic CS, check
the points stay in clockwise order. Otherwise expand the resulting bounds
to include the world.
Includes visual test. Cairo tests aren't finding differences, but the renderer
is doing the right thing.
2015-01-28 11:18:16 +13:00
Dane Springmeyer
584ca5d92f
drop pixel threshold to 0 - refs #2662 and #2663
2015-01-27 12:26:28 -08:00
Dane Springmeyer
44ceb77438
try zero thresholds for visual tests - refs #2662
2015-01-27 11:28:33 -08:00
Dane Springmeyer
7d8be57d81
visual tests coming soon via image_data_any branch - for now remove failing pgraster tests - refs #2639
2015-01-26 22:36:38 -08:00
Dane Springmeyer
5de637854d
comment params test for now to get travis green - refs #2651
2015-01-26 22:35:36 -08:00
Dane Springmeyer
d94f5a0cee
get pgraster tests passing again + update expected images - refs #2639
2015-01-26 22:14:38 -08:00
Dane Springmeyer
c8f70d3260
embed help text labeling expected vs actual for side-by-side images
2015-01-26 21:58:27 -08:00
Dane Springmeyer
ebfbbef454
add visual tests for pgraster to try to make sense of failures
2015-01-26 21:36:47 -08:00
Dane Springmeyer
921c058d7d
use image.blend is gone so use image.composite
2015-01-26 21:35:35 -08:00
Dane Springmeyer
f176630fcf
remove invalid tests - will be fixed by proper tests coming via image_any branch from @flippmoke
2015-01-26 16:52:31 -08:00
Blake Thompson
31a0caf2e4
Merge branch 'master' into release/image_data_any
2015-01-25 14:09:29 -06:00