Commit graph

1716 commits

Author SHA1 Message Date
Dane Springmeyer
1a7b6729d1 regenerate new expected images 2015-04-14 15:38:08 +02:00
Dane Springmeyer
748fe3d228 fix polygon winding order for shapefiles + add test enforcing it 2015-04-14 15:35:32 +02:00
Dane Springmeyer
1dc77443ab add vertex_adapter to work per polygon ring 2015-04-13 18:48:45 +02:00
Blake Thompson
bb7f965d6c Updated geometry_reprojection tests to include all variant types, put in fix for geometry_equal tool which wasn't working properly with geometry_collections, corrected result of failing hit_test in python tests after the correct implementation of hit test was throwing out invalid polygons. 2015-04-08 11:36:10 -05:00
Blake Thompson
431c581759 Added a lot of additional tests for geometry_reprojection 2015-04-07 18:37:30 -05:00
Blake Thompson
c5d5a1f22e Added several unit tests around reprojection. 2015-04-07 17:20:29 -05:00
Blake Thompson
0fec41a87e Updated reprojection code 2015-04-07 11:55:45 -05:00
Dane Springmeyer
bc77157c57 re-expose geometry_empty test / fix compile 2015-04-04 13:24:00 -04:00
Blake Thompson
19eaf4cfff Fix for geometry envelope with geometry collections and added tests. 2015-04-03 18:56:57 -05:00
Dane Springmeyer
ecbacc5933 Merge branch 'master' of github.com:mapnik/mapnik into mapnik-geometry 2015-04-03 12:17:59 -04:00
artemp
390fff5bb4 ensure we're returning the same object from multiple return paths
from_wkb now returns geometry::geometry_empty instead of throwing
update cpp_tests
2015-04-01 15:04:05 +02:00
Dane Springmeyer
d5f98ba07c avoid duplicated line_to - matches 6a827f50, rolls back a2185bb9d8 2015-03-28 23:55:20 -07:00
Dane Springmeyer
a2185bb9d8 add vertex_adapter.cpp tests
- focus is on behavior of polygons (including with holes)
 - reverts 6a827f501 because it seems incorrect to me and without it the vertex_adapter.cpp tests pass
 - @artemp if you see something I don't please restore 6a827f501, but updated the vertex_adapter.cpp tests
   to show what the expected behavior should be
2015-03-27 23:16:49 -07:00
Dane Springmeyer
01a9b4c077 add regression coverage for #2745 2015-03-27 09:10:04 -07:00
Blake Thompson
8c93d05796 More attempts to fix visual tests for windows 32 bit 2015-03-26 14:50:17 -05:00
Blake Thompson
1fa27227b9 For windows only increased the pixel difference threshold from 0 to 3 2015-03-26 12:57:23 -05:00
Dane Springmeyer
f2673c6432 fix cairo_test.py [skip ci] 2015-03-24 20:38:08 -07:00
Dane Springmeyer
a3e2079bc5 update datasource hit test (not sure why it changed) 2015-03-24 16:31:11 -07:00
Dane Springmeyer
f153c5c6be more coverage of wkb parsing 2015-03-24 16:30:48 -07:00
Dane Springmeyer
7527dadf64 restore filter_test.py to previous 3.x behavior 2015-03-24 14:55:54 -07:00
Dane Springmeyer
b87e09c147 fix memory datasource accumulate_extent 2015-03-24 14:46:26 -07:00
Dane Springmeyer
2c49c8b7fa update the geometry_io test
- one bug in wkb empty parsing is leading to failure
 - removed testing of len(geom) but we should consider bringing this back
   in the future based on http://www.boost.org/doc/libs/1_57_0/libs/geometry/doc/html/geometry/reference/algorithms/num_geometries.html
2015-03-24 14:17:33 -07:00
Dane Springmeyer
04158ab9d5 fix sqlite_rtree_test.py 2015-03-24 11:08:23 -07:00
Dane Springmeyer
e954609ed9 fix sqlite_test.py 2015-03-24 11:03:58 -07:00
artemp
4389c80d84 and finaly, rename 'new_geometry' namespace to 'geometry' 2015-03-24 14:21:28 +01:00
artemp
7e03d41606 rename geometry_impl.hpp to geometry.hpp 2015-03-24 13:32:05 +01:00
artemp
323fdd5212 rename geometry -> path ( geometry_type -> path_type) 2015-03-24 13:17:07 +01:00
artemp
ac1ffa2bfb move geometry.hpp into path.hpp and update code base to reflect this change 2015-03-24 12:42:09 +01:00
artemp
9aa3542680 update more python tests 2015-03-24 09:38:02 +01:00
artemp
d71ff55545 update to mapnik-geometry 2015-03-23 18:04:37 +01:00
artemp
a5cd3b0194 update filter_test 2015-03-23 12:18:50 +01:00
artemp
600cc41d11 update csv_test 2015-03-23 12:18:28 +01:00
artemp
b1f79f28ee tests - update feature_test 2015-03-23 12:17:09 +01:00
artemp
9f04e2317a update to mapnik-geometry - TODO: investigate test failure 2015-03-23 11:00:16 +01:00
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