Commit graph

9745 commits

Author SHA1 Message Date
Blake Thompson
702b91e369 Included image_view headers in impl 2015-03-19 14:39:37 -05:00
Dane Springmeyer
0cb9cec686 remove header gaurd from impl file 2015-03-19 12:14:24 -07:00
Dane Springmeyer
c1d7fe3a8f fix compile error on windows: error C2065: 'M_PI': undeclared identifier 2015-03-19 12:14:24 -07:00
Blake Thompson
9fd4ea2829 Possibly fixing windows issues 2015-03-19 14:01:22 -05:00
Blake Thompson
454398985c Implementing < and == operators in image 2015-03-19 13:42:17 -05:00
Jiri Drbalek
5c65dadd72 add comment about compatibility 2015-03-19 12:32:30 +01:00
Dane Springmeyer
4a831b4936 fix msvs compiler error: C2899: typename cannot be used outside a template declaration 2015-03-19 00:44:59 -07: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
Dane Springmeyer
1b9ae043f2 Merge pull request #2732 from zerebubuth/fix-group-symbolizer-avoid-edges
Fix GroupSymbolizer placement options
2015-03-19 00:18:05 -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
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