Dane Springmeyer
aee275a08c
fix number handling in csv plugin and add tests for 64bit integer support in sqlite and postgis datasources - refs #1669
2012-12-21 19:53:33 -08:00
Dane Springmeyer
900774f2a7
add a visual test for label line placement collision
2012-12-20 17:27:09 -08:00
Dane Springmeyer
22b41a7c6d
also test alternative is falsey method
2012-12-20 14:28:37 -08:00
Dane Springmeyer
5479dfbe0e
change mapnik::value::to_bool to return false if a string is empty - closes #1665
2012-12-20 14:24:56 -08:00
artemp
0eefd304bf
cMerge branch 'master' into bigint
...
Conflicts:
bindings/python/mapnik_feature.cpp
2012-12-19 09:39:51 +00:00
Dane Springmeyer
4c64fb4b0d
fix #1659 but re-break bool->int auto-conversion, which is less of a problem
2012-12-18 20:22:02 -08:00
artemp
b75b54a787
+ fix bigint support
...
+ fixup cpp tests
2012-12-18 20:34:27 +00:00
artemp
8f9ebe8452
+ remove LL
2012-12-18 18:05:17 +00:00
artemp
a38b252ccd
Merge branch 'master' into bigint
...
Conflicts:
plugins/input/geojson/geojson_datasource.cpp
plugins/input/postgis/postgis_featureset.cpp
2012-12-18 13:57:39 +00:00
artemp
ae69ee9a24
+ update tests to respect new real formatting policies
2012-12-18 12:13:42 +00:00
Sandro Santilli
e8b7b82bbb
Implement scientific notation for double-to-string
...
Also fixes tests for 1e5 expecting fixed precision rather than
scientific notation (stringstream gives scientific notation indeed)
The only still failing test now is the one having less than 16
significant digits of precision, due to the boost bug:
https://svn.boost.org/trac/boost/ticket/7785
2012-12-17 19:29:44 +01:00
Dane Springmeyer
4040eebf10
catch c++ abort
2012-12-14 13:52:39 -08:00
artemp
9453d93f15
+ update conversion tests to have 0.0 and negative numbers
2012-12-14 19:22:04 +00:00
artemp
c4bae9d30a
Merge branch 'master' into bigint
...
Conflicts:
bindings/python/mapnik_feature.cpp
plugins/input/shape/dbfile.cpp
2012-12-14 10:01:21 +00:00
Artem Pavlenko
e60a3f7703
Merge pull request #1632 from strk/master-float-labels
...
Fix float data conversion to string
2012-12-12 06:21:17 -08:00
Dane Springmeyer
d716daa4d1
add tests for #1642 , refs #794 , #796
2012-12-11 19:39:06 -08:00
Dane Springmeyer
1acdb1ad3e
fixup query_tolerance test to use nose eq_ rather than asserts
2012-12-11 14:45:19 -08:00
Sandro Santilli
9416a57b85
Add test for backward compatibility of double to string conversion
...
The testcase is ready to host more conversion tests but is currently
really only targetting the double-to-string.
refs #430 , #1632
2012-12-11 10:47:01 +01:00
Dane Springmeyer
18a0521676
add a visual test for marker middle point placement on lines - refs #1604
2012-12-10 15:55:13 -08:00
Dane Springmeyer
7c58bf9fcb
replace boost::trim with faster custom trim - closes #1633
2012-12-07 14:06:13 -08:00
Dane Springmeyer
c31c4e77f1
improve quiet output for visual tests
2012-12-06 20:14:14 -08:00
Dane Springmeyer
348eed125e
try/catch in case font_registration test cannot run
2012-12-06 15:15:21 -08:00
Dane Springmeyer
e62aa47f44
Add more shapefile point type tests - one should be failing due to #1193
2012-12-05 18:40:18 -08:00
Dane Springmeyer
bb72e0e2d6
add rgb png 32
2012-12-03 15:28:12 -08:00
artemp
8fa88a71b6
Merge branch 'master' into bigint
2012-12-03 13:14:31 +00:00
artemp
855aea95e0
+ mapnik::value and mapnik::parameters - initial support for 64-bit integers
2012-12-03 13:12:09 +00:00
Dane Springmeyer
e9ca5b47e2
finish support for dbf logical type, strip handling of memo, and add tests for all basic types - refs #1614
2012-12-02 21:37:39 -08:00
Dane Springmeyer
7d408d523c
close #1548 with explict handling of point geometries and amend 629d768eae
for cairo/grid renderers to ensure proper placement on lines (refs #1604,#1350,#1607)
2012-12-02 19:53:44 -08:00
Dane Springmeyer
be05aa5b60
add palette.to_string() method and add python tests of fixed palette functionality
2012-11-30 12:31:58 -08:00
Dane Springmeyer
bf33e0eaa5
pretty print expected json grids in visual tests
2012-11-29 18:02:38 -08:00
Dane Springmeyer
6d1dec63c7
Merge pull request #1615 from strk/master-fix-marker-multi-policy-test
...
Fix marker-multi-policy test. Closes #1612
2012-11-29 17:57:01 -08:00
Sandro Santilli
54d75d946b
Fix "whole" multi centroid computation
...
Includes testcase.
Closes #1606
2012-11-29 17:55:13 +01:00
Sandro Santilli
60e3f81331
Fix marker-multi-policy test. Closes #1612
2012-11-29 15:00:26 +01:00
Dane Springmeyer
a2d82af5c1
add postgis threaded stress test (though queries still runs serially)
2012-11-28 19:15:29 -08:00
Dane Springmeyer
c95b8ff8d7
fix visual tests by restoring old hack to prevent rendering of all names
2012-11-27 18:15:56 -08:00
Dane Springmeyer
0b7272c94a
disable test that is causing spurious error to be printed from ogr
2012-11-27 18:06:31 -08:00
Dane Springmeyer
5fb3949d91
update expected grid results after #1584/4efb6ea
2012-11-21 19:26:05 -08:00
Dane Springmeyer
71cca6999a
add missing test file
2012-11-20 18:07:51 -08:00
Dane Springmeyer
8ad538d03c
add missing test file
2012-11-20 18:07:12 -08:00
Dane Springmeyer
f39c3ad857
add marker-multi-policy parameter to support user-configurable rendering behavior for multi-geometries when using either point or interior placement - closes #1573 , refs #1555
2012-11-20 17:58:39 -08:00
Dane Springmeyer
0b3ab12da7
fix missing variable
2012-11-20 15:40:35 -08:00
Dane Springmeyer
ff933fb033
only generate reference images on the fly for agg (not cairo) since we want to compare cairo to agg reference
2012-11-20 15:29:26 -08:00
Dane Springmeyer
3ce7ae7fc9
visual test improvements: comment non-critical raster-tiff tests, start testing grids, and ignore alpha when comparing agg output to cairo
2012-11-20 15:08:53 -08:00
Dane Springmeyer
eebc8cc73e
add image/grid clear methods to make it easier to quickly re-use previously allocated objects for rendering - closes #1571
2012-11-11 21:35:50 -08:00
Dane Springmeyer
18395e8fd9
make the encoding speed tests more configurable
2012-11-08 19:13:51 -05:00
Dane Springmeyer
8bb0058717
uncomment png test
2012-11-08 18:52:55 -05:00
Dane Springmeyer
3a9dd7724f
add tests and reference images (created at 211b102ec5
) for ensuring consistent output of png encoding - refs #1557
2012-11-08 18:51:34 -05:00
Dane Springmeyer
f4cf1e68c8
fix main line
2012-11-08 17:38:29 -05:00
Dane Springmeyer
f8318c81be
sort by min time in the image speed encoding test
2012-11-08 16:42:18 -05:00
Dane Springmeyer
dcee6480f6
add test for #1559
2012-11-06 11:16:11 -05:00