Commit graph

9734 commits

Author SHA1 Message Date
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
Matt Amos
dd5f6ea739 Use correct bounding box for avoid-edges check.
This was previously using `query_extent_`, which is in
world-space, but it should have been using `dims_`, which is the
extent of the rendered area in pixel-space, as the calculations
for collisions are all done in pixel-space.
2015-03-18 11:57:21 +00:00
Blake Thompson
5a49842952 Moved image_null into a header 2015-03-16 12:18:07 -05:00
Blake Thompson
2e10b2ca1a A small change to help compare grids faster in python. 2015-03-15 13:07:46 -05:00
Blake Thompson
a1f6c2a5ec Merge pull request #2731 from mapnik/image_impl
Image impl
2015-03-13 19:41:27 -05:00
Blake Thompson
3553205f74 Updated travis coverage to remove pycairo 2015-03-13 19:24:41 -05:00
Blake Thompson
bd94cc6a60 Updated the image_view to add mapnik_decl 2015-03-13 18:21:24 -05:00
Blake Thompson
46ea6a5b1a Added impl for image_view_any and fix to benchmark that was missing include for mapnik/color.hpp 2015-03-13 17:28:22 -05:00
Blake Thompson
c262e51428 Fix for operator= in image 2015-03-13 16:49:28 -05:00
Blake Thompson
64ee848445 Forgot to add src/image_vew.cpp 2015-03-13 16:48:45 -05:00
Blake Thompson
29099ece46 Added image_view implementation 2015-03-13 16:34:49 -05:00
Blake Thompson
bf61a033d3 Intial commit for impl 2015-03-13 10:52:39 -05:00
Blake Thompson
7a84df012d reordered python stuff to hopefully make coverage pass 2015-03-12 11:17:53 -05:00
Artem Pavlenko
9117e7d9ff Merge pull request #2621 from mapycz/markers-upright
marker direction
2015-03-12 14:58:16 +01:00
Blake Thompson
0fba975670 An update so that mapnik tests will pass in debug mode 2015-03-11 22:40:51 -05:00
Blake Thompson
7575468e5c Redirecting output of cpp-coveralls to dev null to limit how much is in travis logs 2015-03-11 17:04:23 -05:00
Blake Thompson
28d4bbb688 Forgot to also exclude mason_packages 2015-03-11 17:01:19 -05:00
Blake Thompson
bcc523f0a2 One more try to get travis working properly 2015-03-11 16:59:09 -05:00
Blake Thompson
3f814014fe Updated travis stuff again because I forgot a semicolon. 2015-03-11 13:52:16 -05:00
Blake Thompson
fffe156674 Still was having issues with travis and cpp-coveralls install so trying something else 2015-03-11 13:01:05 -05:00
Blake Thompson
693dfb109d Corrected cpp-coveralls install path 2015-03-11 12:48:59 -05:00
Blake Thompson
8adc1641fd One more try at correct travis configuration for coverage 2015-03-11 12:41:06 -05:00
Blake Thompson
94e773f151 Forgot to add debug mode for coverage. 2015-03-11 12:27:33 -05:00
Blake Thompson
0a1e9cea33 Added code coverage to mapnik 2015-03-11 12:24:33 -05:00
Blake Thompson
fe01d52845 Removed unused resolution data from grids 2015-03-10 23:19:30 -05: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
Blake Thompson
80e64bb394 Merge branch 'master' of github.com:mapnik/mapnik 2015-03-10 19:59:59 -05:00
Blake Thompson
f715f9cf22 Updated the name of methods in grids from properties to fields because they are an array rather then a map. 2015-03-10 19:59:46 -05: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
Blake Thompson
bb08020d1d Updated image reader so that it would throw an exception rather then returning a 0 pointer. 2015-03-10 10:05:50 -05:00
Blake Thompson
7ee9745a8f Updated param to allow value_boolean 2015-03-09 16:33:20 -05:00
artemp
e7843ba471 use sequencial catch blocks 2015-03-09 18:48:41 +01:00
Blake Thompson
e20c68d384 Corrected a bug in hsl2rgb where if s was equal to zero an incorrect result was achieved. 2015-03-09 12:07:39 -05:00
Blake Thompson
ffad24f31d Added bugfix for image_view where if an image of zero width or height created a view, it would cause a segfault because it created a 1,1 size view. 2015-03-08 23:28:56 -05:00
Dane Springmeyer
073e46aad8 avoid querying for srid when geometry_table is empty
- this can happen when the table detection fails - refs #2718
 - ideally this would not happen but it lessens the impact if it does
 - amends 4a1f4a9b5e
2015-03-08 12:54:19 -07: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
c1e947bff1 fully static geojson parsing grammars 2015-03-07 12:00:38 -08: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
Blake Thompson
ea6677df37 A fix to the jpeg driver making it operate with parameters like the other file formats. 2015-03-05 21:51:48 -06:00
Blake Thompson
34e02bec38 A fix for jpeg saving, as it wasn't properly dealing with a colon for saving with quality. 2015-03-05 09:37:22 -06:00
Dane Springmeyer
7c9a18b16b scons: make harfbuzz min version recommended but not strict 2015-03-04 16:26:12 -08:00
Dane Springmeyer
d5e3dba3df scons: cross compilation fixes 2015-03-04 16:25:15 -08:00
Dane Springmeyer
e69bedadff add @rouault to authors for gdal plugin contributions - refs #2686 2015-03-04 16:14:07 -08:00
Dane Springmeyer
7f597233c9 better exception when boost regex cannot initialize ICU support - closes #2722 2015-03-04 12:38:45 -08:00