Blake Thompson
5d9f047002
Fixed some issues in color and bindings where you could create a color and premultiplied was not set and it was resulting in it being assigned randomly, causing some issues at runtime.
...
Updated some images in visual tests that were orginally set prior to all tiffs being premultiplied, this was causing a slight difference in a few pixels.
Updated the tiff tests a lot.
Fixed tiff reader so that it always considers everything read from RGB or RGBA as premultiplied. This is due to the fact that RGBA reader always premultiplies the alpha no matter its original form.
Put in a fix so that the file does not exist no longer shows up in the test running.
Fixed some failing tests in the c++ test due to tiffs now always being premultiplied for RGB(A)
2015-01-24 20:48:15 -06:00
Stephen Davis
824c99f565
throw datasource_exception on GDAL RasterIO failures
2014-11-03 11:24:38 +13:00
Sandro Santilli
cd21789111
Fix false negative responses from python tests
...
Closes #2298
2014-07-14 18:34:20 +02:00
Dane Springmeyer
ef15c45e65
json->geojson
2013-06-13 13:34:34 -07:00
Dane Springmeyer
0365d3e081
start centralizing filesystem operations in mapnik::util::fs - refs #1177
2013-06-02 19:28:24 -07:00
artemp
a513d3f97d
+ code: avoid exposing unsafe static methods in datasource_cache ( #1451 )
...
+ python: remove redundent 'instance' method (mapnik.DatasourceCache)
+ python: reflect plugin_directories method
+ tests: update python usage
TODO: consider using similar approach in FontEngine etc..
TODO: consider returning reference from singleton::instance() to
safeguard from accidental deleting a 'singleton' pointer
2012-09-05 12:53:37 +01:00
kunitoki
1f351e0e09
implement new debug system
2012-04-08 02:20:56 +02:00
Dane Springmeyer
0a37a1591e
fixup whitespace with pep8 tricks from https://gist.github.com/1903033
2012-02-24 13:13:56 -08:00
Dane Springmeyer
63891cec15
finish refactor, moving to separate method off datasources to get_geometry_type and using enums all around
2012-01-17 01:09:46 -05:00
Dane Springmeyer
acc0d6e302
cleanup python datasource api simplifying access to descriptors
2012-01-11 20:03:47 -08:00
Artem Pavlenko
14700dba16
switch back from mapnik2 to mapnik
...
add mapnik2 module which redirects to mapnik and issues DeprecationWarning
2011-11-23 11:33:58 +00:00
Dane Springmeyer
dc1e875cb4
tests: warn if no datasources are found
2011-11-11 17:03:56 -08:00
Dane Springmeyer
a53c61a0c2
ensure the tests can be run even with no datasource plugins
2011-10-28 17:06:23 -07:00
kunitoki
c314041a5a
- implemented sql query in OGR plugin ( closes #472 )
2011-10-24 11:53:33 +02:00
Dane Springmeyer
74877c8778
test touchups to ensure they can all be run individually
2011-08-30 22:51:42 +00:00
Dane Springmeyer
3c8b4bdebe
update test
2011-07-25 23:46:15 +00:00
Dane Springmeyer
6cfc37fe0c
add a test for query_map_point by building up a run length encoded 'grid' and checking ends of output
2010-12-10 20:11:09 +00:00
Dane Springmeyer
767a500528
fix json test and add json from string test
2010-11-14 09:32:55 +00:00
Dane Springmeyer
471288a37e
add a few stylesheets that test reading json and osm files
2010-11-14 08:56:42 +00:00
Alberto Valverde
c47cd93f93
renamed mapnik to mapnik2 in python tests
2010-03-11 18:12:22 +00:00
Dane Springmeyer
8db8c27446
apply patch from mishok13 improving handling of conversion of boost python type definitions to python types definitions (closes ##397)
2009-07-23 18:20:10 +00:00
Dane Springmeyer
00b2dbb26f
add more tests for r1121
2009-05-01 01:42:58 +00:00
Dane Springmeyer
c8ee43110a
add test for new ds.fields() method added in r1121
2009-05-01 01:24:12 +00:00