Blake Thompson
25e4bb3f6c
A fix for two distinct issues associated with gdal featuresets, the first is overviews were not properly being utilized based on the resolution of the final image requested. The second is that allocation of far too much memory could be possible in GDAL to attempt to do resampling internally in mapnik. This now has a hard cap so that we allocate less memory in these situations but are still able to resample internally in mapnik.
2018-03-30 15:10:29 -05:00
Artem Pavlenko
37b7f05180
Merge branch 'offset-converter-topology' of https://github.com/mapycz/mapnik into mapycz-offset-converter-topology
2018-02-26 16:06:19 +01:00
Artem Pavlenko
2a090aa799
update visual tests data
2018-02-20 12:42:40 +01:00
Artem Pavlenko
c5e91a5c1e
update color-blind filters tests post bac24cd844
2018-02-20 12:05:49 +01:00
Artem Pavlenko
bac24cd844
Fix apply_color_blind_filter to use correct color-space and avoid NAN which results in SIGILL when compiled with DEBUG_UNDEFINED=yes ( #3861 )
2018-02-20 11:19:53 +01:00
Artem Pavlenko
a2f596951e
update visual tests data
2018-02-15 10:04:43 +01:00
Jiri Drbalek
1adebaaf73
Update visual tests
2018-02-06 16:47:34 +00:00
Jiri Drbalek
f10e051e17
Add grid placement for text and shield symbolizer
2018-02-06 15:19:05 +00:00
Artem Pavlenko
d4826eea6f
Merge pull request #3844 from mapycz/interior-scale-invariant
...
Interior, polylabel: Scale precision by polygon size
2018-02-05 11:28:35 +01:00
Jiri Drbalek
953d1d1a01
Fix vertex_adapter test
2018-02-04 08:46:14 +00:00
Jiri Drbalek
c975c1b6b8
Update visual tests
2018-02-03 17:13:56 +00:00
Artem Pavlenko
828346add3
require BOOST_VERSION >= 1.62.0 ( #3835 )
2018-01-31 14:11:55 +01:00
Jiri Drbalek
223a240751
Update visual tests
2018-01-26 11:55:04 +00:00
Jiri Drbalek
fb5ca1bb8e
offset_converter: Don't filter out closing and moving segments
2018-01-26 11:55:04 +00:00
Jiri Drbalek
0c5d167028
polygon_vertex_adapter: Fix crash in case of empty interior ring
2018-01-23 15:18:44 +00:00
Artem Pavlenko
c6b9036002
Merge pull request #3827 from mapycz/gdal-test-upscaling
...
Add a test that GDAL plugin does not upsample
2018-01-18 15:54:15 +00:00
Jiri Drbalek
4e160acc88
Avoid copying
2018-01-17 13:39:21 +00:00
Jiri Drbalek
99038229f7
Polylabel: cover the case of empty polygon or exterior ring
2018-01-17 13:39:15 +00:00
Jiri Drbalek
a97eace434
Interior: cover the case of empty polygon or exterior ring
2018-01-17 12:58:42 +00:00
Jiri Drbalek
ec53f3d879
Fix crash in case of empty ring
2018-01-17 09:53:45 +00:00
Jiri Drbalek
43a9f70314
Add a test that GDAL plugin does not upsample
2018-01-10 15:02:44 +00:00
Jiri Drbalek
3af3286436
SVG: Add a test of clipPath
2018-01-09 16:11:19 +00:00
Artem Pavlenko
f6b11b86a8
update test/data
2018-01-09 15:40:41 +00:00
Jiri Drbalek
7febf6c24a
update visual tests
2017-12-17 08:11:58 +00:00
Jiri Drbalek
f52a0fa4f6
new interior algorithm
2017-12-13 21:48:13 +00:00
Jiri Drbalek
fe268b0e71
char_array_buffer should implement also seekpos()
2017-11-13 22:42:37 +00:00
Artem Pavlenko
1a338bb924
update test data
2017-11-06 10:31:37 +01:00
Artem Pavlenko
be5085d2e9
apply mapnik/c++ formatting
2017-11-06 09:47:01 +01:00
Artem Pavlenko
0a4214fe36
use latest deps
2017-10-31 11:12:14 +01:00
Jiri Drbalek
8c7d7e25cd
update visual tests
2017-10-06 09:52:30 +00:00
Artem Pavlenko
8dc1456766
update test-data
2017-09-29 10:26:04 +02:00
Artem Pavlenko
de9364d447
update deps + test data
2017-09-29 10:04:00 +02:00
talaj
377253bcc8
Check duplicate style names ( #3770 )
...
* Ported map I/O tests from Python.
These test loading, saving and round-tripping Map XML, and are
pretty much a direct port of the old Python `load_map_test.py` and
`save_map_test.py`.
* check duplicate style name
* update test data
2017-09-28 15:51:55 +02:00
Jiri Drbalek
43ea5dcb82
update visual tests data
2017-09-27 13:13:27 +00:00
Artem Pavlenko
eefe3de34b
update visual data post centroid PR
2017-09-26 09:47:26 +02:00
Artem Pavlenko
94ce4d530a
update tests
2017-09-25 16:52:59 +02:00
talaj
f3cf1ad388
Fix centroid and interior algorithms ( #3771 )
...
* fix interior algorithm - closing segment handling
* fix centroid algorithm - closing segment handling
* update visual tests
2017-09-25 15:45:02 +02:00
Artem Pavlenko
f210699884
add more tests
2017-09-22 13:20:23 +02:00
Artem Pavlenko
143d1e57cf
add 'closest_point' geometry algorithm
2017-09-21 15:40:30 +02:00
Artem Pavlenko
fa96232258
update visual data
2017-09-20 09:54:25 +02:00
talaj
13d678d9af
visual tests: allow to ignore particular renderer ( #3768 )
...
* visual tests: refactor parsing parameters from the style
* visual tests: allow to ignore particular renderer
* update visual tests
2017-09-14 14:21:30 +01:00
Artem Pavlenko
5a87d8fef9
update deps
2017-09-13 10:51:36 +01:00
talaj
d14203561d
color font support improvements ( #3758 )
...
👍
2017-09-13 10:14:46 +01:00
talaj
c7c10fed46
basic unit test for feature_style_processor ( #3766 )
2017-09-13 10:14:13 +01:00
talaj
c80cde6044
visual tests: report failed tests ( #3765 )
2017-09-13 10:13:51 +01:00
Artem Pavlenko
e97759d01b
geojson test - require throwing on an empty feature collection
...
(not sure this is correct but needed to preserve 3.0.x behaviour)
2017-09-11 17:58:26 +01:00
Dane Springmeyer
13ff9e1706
adapt to spelling fix in svg tests
2017-09-10 10:22:08 -07:00
Artem Pavlenko
0253653676
Geobuf.input ( #3715 )
...
* geobuf.input - initial implementation (WIP)
* geobuf.input - fix reading MultiPolygon's
* geobuf.input - don't store invalid bounding boxes in r-tree.
* Use `protozero` lib to read `geobuf` (Initial implementation, not complete!)
* geobuf.input - poring to `protozero`. (TODO: add support for `GeometryCollection`)
* add initial support for `GeometryCollection` + cleanup namespaces
* remove stderr + cleanup + update copyright
* fix GeometryCollection and MultiLineString decoding + add support for standalone Feature and Geometry
* don't use `reserve` as undelying data format doesn't allow for efficient `distance` implementation.
* add geobuf unit test + update test data
* update data
2017-08-17 10:52:07 +01:00
artemp
a682cea51e
svg-parser - unify error messages text + update unit test
2017-08-08 12:38:24 +01:00
artemp
6f73181e9b
Enforce consistent error handling policy - always throw on fatal errors (both strict and non-strict). In strict
mode throw on first parsing error. Remove return values from parse
,parse_from_string
and traverse_tree
methods. Update unit tests.
2017-08-02 10:32:13 +01:00