Commit graph

5480 commits

Author SHA1 Message Date
Dane Springmeyer
3e70226a69 also translate std::out_of_bounds => IndexError otherwise new std::exception => runtime catch will override - refs #1816 2013-04-17 15:29:32 -07:00
Dane Springmeyer
ab3525cfc4 add missing exception translator for datasource exceptions by catching std::exception - closes #1816 2013-04-17 13:44:35 -07:00
Dane Springmeyer
855ff06159 Merge pull request #1815 from strk/2.1.x-too-many-float-digits
Use 15 significant digits for float to string conversion
2013-04-17 09:49:54 -07:00
Sandro Santilli
c930807b9f Use 15 significant digits for float to string conversion
Fixes printing of numbers like 67.65 or 67.35. Closes #1811
2013-04-17 12:40:15 +02:00
Sandro Santilli
bb0133e929 Exit with failure if any CPP test fails (see #1811) 2013-04-16 18:34:50 +02:00
Dane Springmeyer
96414f9262 avoid std::vector declare within mapnik namespace 2013-04-12 19:27:37 -07:00
Dane Springmeyer
c6fd387469 postgis: avoid potential crash if connection is not initialized 2013-04-02 11:24:38 -07:00
Daniel C. Casimiro
42d7263cab cherry-pick fix from #1787 into 2.1.x 2013-04-02 11:13:02 -07:00
Dane Springmeyer
88f8d9951c Merge pull request #1709 from strk/2.1.x-out_of_pool_slots
Fix postgresql connection leaks on error
2013-04-02 11:11:21 -07:00
Dane Springmeyer
7f0c745366 fix access to mapnik::query::property_names in python - closes #1762 2013-03-14 15:34:45 -07:00
Dane Springmeyer
098f9de2aa fix linking of python.input to python lib on linux 2013-03-06 14:04:17 -08:00
Dane Springmeyer
ae28268ba8 fix serialization of agg-stack-blur 2013-02-27 11:33:14 -05:00
Dane Springmeyer
cf70b9959a fix compile of json feature_collection grammar when building against >= boost 1.52 - refs #1658 and #1716 2013-02-10 07:24:35 -08:00
Sandro Santilli
3f51e17737 Fix postgresql connection leaks on error 2013-01-31 12:03:30 +01:00
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