Commit graph

5466 commits

Author SHA1 Message Date
Dane Springmeyer
d8128a04f8 scons: make python includes a list and sensitive to platform specific directories - closes #1691 and fixes mapnik/mapnik-packaging#66 2013-01-14 16:10:49 -08:00
Dane Springmeyer
abaca39738 comment failing to_string precision test - refs #1676 2013-01-02 18:09:38 -08:00
artemp
e99f8be047 fixup cherry pick of ae69ee9a24 to 2.1.x from master 2013-01-02 18:08:30 -08:00
Dane Springmeyer
66aaa4f70c Merge branch '2.1.x' of github.com:mapnik/mapnik into 2.1.x 2012-12-18 18:00:23 -08:00
Dane Springmeyer
8b649f7555 fix compile error due to ambiguous 'str' variable 2012-12-18 18:00:06 -08:00
Dane Springmeyer
3f54120354 python plugin: catch and report exceptions, closes #1422 2012-12-18 17:15:36 -08:00
Dane Springmeyer
9d209cf959 Merge pull request #1650 from strk/2.1.x-looser-simplification-factor
Loosen simplification factor to 1/20 of pixel (2.1.x branch) - closes #1639
2012-12-18 11:57:05 -08:00
Artem Pavlenko
2fb39d23b4 Merge pull request #1631 from strk/2.1.x-float-labels
Fix float data conversion to string (backward compatibility)
2012-12-18 04:16:06 -08:00
Sandro Santilli
17dd295a1d Implement scientific notation for double-to-string
Also fixes tests for 1e5 expecting fixed precision rather than
scientific notation (stringstream gives scientific notation indeed)

The only still failing test now is the one having less than 16
significant digits of precision, due to the boost bug:
https://svn.boost.org/trac/boost/ticket/7785
2012-12-17 20:47:42 +01:00
Sandro Santilli
c921a67fd4 Loosen simplification factor to 1/20 of pixel 2012-12-14 10:00:37 +01:00
Dane Springmeyer
41a650e568 Merge pull request #1636 from strk/2.1.x-marker-placement-fixes
2.1.x marker placement fixes
2012-12-10 10:37:01 -08:00
Dane Springmeyer
664e05b2ca Fix line placement of markers on points (#1548)
REFS #1604,#1350,#1607,#1548,#1625
2012-12-10 17:09:28 +01:00
Sandro Santilli
33dcd5a459 Add visual test for point placement marker on lines (#1604) 2012-12-10 16:25:42 +01:00
Dane Springmeyer
3e938cbfaa Use middle_point placement for marker POINT placement on lines
REFS #1604, #1350, #1607 and #1625
2012-12-10 16:05:03 +01:00
Sandro Santilli
19522ac509 Fix float data conversion to string
Fixes precision digits, closing #430
Also avoids forcing a trailing '.0', closing #1627
2012-12-06 11:59:28 +01:00
Dane Springmeyer
93f58b1ef3 backport support for postgis literal type to 2.1.x - refs #1464 - closes #1626 2012-12-05 20:07:49 -08:00
Dane Springmeyer
3d7575c282 fix potential compile due to error problematic defines that did not get properly cleaned up in a986aedd05 - refs #1400 2012-11-30 11:27:34 -08:00
Dane Springmeyer
f99190cbdd fix marker-multi-policy test - closes #1613 and closes #1612 2012-11-29 18:28:05 -08:00
Dane Springmeyer
3ec3a7cd66 Merge pull request #1610 from strk/2.1.x-whole-centroid
Fix "whole" multi centroid computation (#1606)
2012-11-29 18:04:13 -08:00
Sandro Santilli
e9cb647423 Add test for whole centroid computation (#1606) 2012-11-29 17:10:52 +01:00
Sandro Santilli
9cccf2ba77 Fix "whole" multi centroid computation (#1606)
Still lacks a testcase
2012-11-29 11:41:24 +01:00
Dane Springmeyer
9728f346f4 fix method name - refs #1562 2012-11-28 20:55:05 -08:00
Dane Springmeyer
499c6aca70 add #1562 backport to CHANGELOG 2012-11-28 20:23:58 -08:00
Dane Springmeyer
13a437232d add serialization of line_symbolizer offset - closes #1562 2012-11-28 20:22:17 -08:00
Dane Springmeyer
0b2f2f8ee0 Merge pull request #1587 from strk/2.1.x-multi_policy
Add marker-multi-policy parameter (backport to 2.1.x from master) - refs #1573, #1555 and #1586
2012-11-21 14:51:38 -08:00
Sandro Santilli
4a0933e34a Add marker-multi-policy parameter
This is to support user-configurable rendering behavior for
multi-geometries when using either point or interior placement
See #1573 and #1555
2012-11-21 23:05:43 +01:00
Colin Rundel
219c5f5809 Added set_name to font_set class 2012-09-26 16:12:14 -07:00
Hermann Kraus
924f3fb19c Raise Exception instead of returning None. 2012-09-26 14:52:49 -07:00
Hermann Kraus
29a0d6133b Reenable "name" tests.
Refs #1482.
2012-09-26 14:46:19 -07:00
Dane Springmeyer
36a5e0d857 scons: do not invoke any install or uninstall targets if using SYSTEM_FONTS - closes #1481 2012-09-26 14:23:11 -07:00
Dane Springmeyer
e221168e4e after #1483 fontset is boost optional so check appropriately in load_map (solves assert) 2012-09-26 14:21:06 -07:00
Dane Springmeyer
78790e6692 fix conflicts from cherry-picking 8cfb40a 2012-09-26 14:21:03 -07:00
Dane Springmeyer
62b74002cb Add a test (currently failing) ensuring that named fontsets created in python are propertly serialized 2012-09-26 14:19:22 -07:00
Hermann Kraus
00a4ab0528 Add Changelog entry for DebugSymbolizer. 2012-09-15 01:56:51 +02:00
Hermann Kraus
f27578d41c Add TextSymbolizer.name in python bindings.
Refs #1482.
2012-09-14 02:00:45 +02:00
Dane Springmeyer
d617403b33 now working on mapnik v2.1.1-pre 2012-08-23 15:22:50 -07:00
Dane Springmeyer
ef297c6263 update CHANGELOG for mapnik v2.1.0 release 2012-08-23 14:52:53 -07:00
Dane Springmeyer
a25aac80f7 setting up for mapnik v2.1.0 release 2012-08-23 14:50:36 -07:00
Dane Springmeyer
4f4902611b only run tests if shape plugin is available 2012-08-23 14:41:45 -07:00
Dane Springmeyer
6806ca1509 load in load_map if image/svg files are not available when not using stock markers or dynamic expressions - closes #1439 2012-08-23 14:31:50 -07:00
Dane Springmeyer
1ca4bcf78d further improve the reporting of unprocessed nodes and attributes - refs #1441 2012-08-23 14:11:25 -07:00
Dane Springmeyer
03860b1728 improve error messages for exceptions thrown in symbolizers during load_map - closes #1441 2012-08-23 14:04:03 -07:00
Dane Springmeyer
c0539406d8 fix includes post bf3efbeab8 - refs #1435 2012-08-23 11:34:13 -07:00
Dane Springmeyer
05fdb5424b more fully disable the svg_renderer backend - refs #1438 2012-08-23 10:10:18 -07:00
Dane Springmeyer
4e2d2c67b0 double csv parsing speeds when handling geojson encoded geometries - refs #1436 2012-08-23 09:30:51 -07:00
Dane Springmeyer
f4a74d0dde add a csv_datasource initialization c++ test 2012-08-23 09:10:03 -07:00
Dane Springmeyer
a3254965fe double csv parsing speeds when handling wkt encoded geometries - refs #1436 2012-08-23 09:07:06 -07:00
Dane Springmeyer
bf3efbeab8 move image filter grammar to cpp and re-use in load map by attaching to xml_tree - closes #1435 2012-08-23 08:13:22 -07:00
Dane Springmeyer
ce03b3599b expose svg output for geometries - refs #1437 (TODO: support svg_multi_generator) 2012-08-22 19:13:37 -07:00
Dane Springmeyer
fc63bd0d24 avoid compile error due to namespace clash with wkt generator - refs #1437 2012-08-22 19:11:01 -07:00