Dane Springmeyer
7cbabd9b46
workaround boost bug on osx - refs #2747
2015-03-30 13:34:46 -07:00
artemp
8735311f83
radial distance - set x=y=0 on SEG_CLOSE command
2015-03-30 12:40:28 +02:00
artemp
6a6af26566
handle SEG_CLOSE in visvalingam_whyatt and douglas_peucker
2015-03-29 19:11:07 +02:00
artemp
3593f3c52c
attempt to fix zhao simplification to handle zZ (SEG_CLOSE) command correctly
2015-03-29 18:49:09 +02:00
artemp
919d41aeb6
remove unused member variable
2015-03-29 13:55:46 +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
artemp
51b65534f5
geojson bounding box grammar - don't require "type": "Feature"
to appear in particular order (ref #2745 )
2015-03-27 10:36:04 +01:00
artemp
64312a8dc1
geojson bounding box grammar - don't require "type": "Feature"
to appear in particular order
2015-03-27 10:32:52 +01: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
artemp
6aae88f90f
only apply unique to line_string and polygon
2015-03-26 18:41:15 +01:00
artemp
75699eb5b4
remove duplicate include
2015-03-26 18:33:17 +01:00
artemp
b025071b28
add geometry_unique algo (removes coincident points)
2015-03-26 18:32:09 +01:00
artemp
b0587a01c0
correct line_string/multi_line_string
2015-03-26 18:13:44 +01:00
artemp
f06443910f
update polygon clipping test
2015-03-26 17:31:31 +01:00
artemp
a2933f9cb1
fix includes
2015-03-26 17:31:19 +01:00
artemp
330bc5686c
avoid relying on x and y in SEG_CLOSE command - instead cache MOVE_TO's coordinates
2015-03-26 17:30:00 +01:00
artemp
6a827f5018
don't output last-vertex (== first-vertex) - SEG_CLOSE should be sufficient
2015-03-26 17:27:40 +01:00
artemp
bc913bcc59
fix names
2015-03-26 17:26:39 +01:00
artemp
a05225d8b1
move vertex_adpaters into separate header
2015-03-26 17:20:38 +01:00
artemp
74fb3ddde0
Merge branch 'master' into mapnik-geometry
2015-03-25 16:19:02 +01:00
artemp
06f512f584
markers_helper - add support for geometry collections
2015-03-25 16:15:48 +01:00
artemp
ba423f0955
wkt parser/genrator - handle POINT EMPTY by constructing geometry::geometry_empty
2015-03-25 15:52:12 +01:00
artemp
dc6f1924fa
split multi geometries before applying placement algos
2015-03-25 14:20:47 +01:00
artemp
389d00d442
make geometry methods templated to allow using modified geometry types ( e.g variant<reference_wrapper<T>..>
...
symbolizer_helper - store geometries in custom varaint using reference_wrapper<T const>
2015-03-25 12:58:50 +01:00
artemp
22de30bb37
update variant (add support for 'unwrapping' std::reference_wrapper<T> and accessing std::reference_wrapper<T>::type through get<T>())
2015-03-25 10:52:33 +01:00
Dane Springmeyer
f2673c6432
fix cairo_test.py [skip ci]
2015-03-24 20:38:08 -07:00
Dane Springmeyer
dfddd53c84
renable all polygon clippers
2015-03-24 18:47:44 -07:00
Dane Springmeyer
c964b090ed
first pass updating the clipping test
...
- actual results are still slightly broken for agg and clipper
- todo: try clipper directly rather than through agg interface
- todo: color polygon parts differently in test renderer
2015-03-24 18:43:29 -07:00
Dane Springmeyer
834a74b1ed
make geometry_correct more flexible but harder to misuse
2015-03-24 18:43:05 -07:00
Dane Springmeyer
93e825d727
delete previous incantation of boost polygon clipper
2015-03-24 16:44:50 -07:00
Dane Springmeyer
55fd38a25a
back to j1 for first compiles since travis cannot build src/renderer_common/process_group_symbolizer.cpp
2015-03-24 16:42:44 -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
852776d5e3
geometry is_empty refactoring
2015-03-24 14:16:58 -07:00
Dane Springmeyer
546e46756c
fix ogr plugin compile
2015-03-24 14:16:28 -07:00
Dane Springmeyer
dcc5632f82
svg_renderer is broken, disable temporarily
2015-03-24 14:15:57 -07:00
Blake Thompson
3270d42b74
Standardizing on the output of a boolean to string is true or false rather then 0 or 1.
2015-03-24 14:32:25 -05: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
1cf0a897ac
move datasource::geometry_t into separate header and rename -> datasource_geometry_t to avoid cyclic dependencies issue
...
to_ds_type - return actual datasource_geometry_t (remove optional)
update across datasources
experssions - revert to using
2015-03-24 12:13:31 +01:00