Dane Springmeyer
f0936f2672
always link pthread on linux
2015-01-28 13:33:15 -08:00
Robert Coup
a27b886e19
Handle bounds reprojections which cross the anti-meridian.
...
When doing an envelope-points reprojection to a geographic CS, check
the points stay in clockwise order. Otherwise expand the resulting bounds
to include the world.
Backport of #2657 from master to 2.3.x. Fixes #2648 .
2015-01-28 13:20:33 +13:00
Dane Springmeyer
2ce8900cf1
quick fix for #2451
2014-12-17 11:36:02 -08:00
Dane Springmeyer
a35acd2a41
support building without dlopen support
2014-12-16 16:03:51 -05:00
Dane Springmeyer
c2385437f1
apply fix from #2418 to 2.3.x branch
2014-09-19 14:15:21 -07:00
artemp
b0cfbdf2b7
disable AA when warping images #1913
...
Conflicts:
src/warp.cpp
2014-09-11 10:26:12 -07:00
Dane Springmeyer
c0e8fba619
add support for windows unicode paths in rapidxml loader
2014-08-25 14:50:58 -07:00
Dane Springmeyer
c7cca17494
fix avoid-edges support for shields - closes #983
2014-08-21 23:51:03 -07:00
Dane Springmeyer
5651a8b9db
fix collsion box for shields when scale_factor is used #2381
2014-08-21 23:36:27 -07:00
Dane Springmeyer
d62365cd64
adapt to ptree change in boost 1.56 - closes #2365
2014-08-19 09:07:30 -07:00
Dane Springmeyer
422f3bd8b0
add RESPECT mode to make 'fixing' of bbox aspect a no-op on map
2014-08-14 20:25:53 -07:00
Dane Springmeyer
35f7314e92
rollback png8 default in 2.3.x - closes #2110
2014-08-12 13:50:32 -07:00
Dane Springmeyer
6c3301d8eb
deprecate bilinear8 in 2.3.x - refs #2076
2014-08-12 13:26:35 -07:00
Dane Springmeyer
5a481fcf2d
fix support for ttc/dfont font formats
...
- both formats likely will contain multiple valid faces
- ttc should work on across platforms - dfont is likely osx only
- fixes #2274 and 2341
Thanks @strk for helping uncover the problem and providing a testcase
2014-08-11 19:13:20 -07:00
Dane Springmeyer
417f1c7c3f
fix -Wsign-compare warnings in several grammars
2014-07-28 11:56:33 -07:00
Dane Springmeyer
bdd800b6fc
Faster font i/o backported to 2.3.x - refs #2282
2014-06-24 19:46:46 -07:00
Dane Springmeyer
42698d76b8
register_font: return false instead of throwing
2014-06-18 16:19:35 -07:00
Dane Springmeyer
474b3c0d6d
fix typo
2014-06-18 16:13:52 -07:00
Dane Springmeyer
b70997fe73
fix boost directory iterator to use wide paths - closes #2273
2014-06-18 16:11:36 -07:00
Dane Springmeyer
4007104bf1
use FT_Open_Face instead of FT_New_Face - refs #1897
2014-06-18 15:42:32 -07:00
Dane Springmeyer
a96fc9e9cc
fix unicode handling in is_regular_file check - refs #2273
2014-06-18 12:55:59 -07:00
Dane Springmeyer
49c01f8449
webp reader: initialize WebPDecoderConfig
2014-06-12 20:54:50 -07:00
Dane Springmeyer
fa3971b99f
fix miniz inlining
2014-06-12 06:52:13 -07:00
Dane Springmeyer
a56389a093
fix miniz encoder - closes #1560
2014-06-11 22:43:05 -07:00
Dane Springmeyer
8c5049e0f8
image readers: ability to check if image has alpha before full read
2014-06-11 18:50:58 -07:00
Dane Springmeyer
a7e6f3a24b
scons: support MAPNIK_NAME option to customize libmapnik name for custom packaging
2014-06-09 13:32:48 -07:00
Dane Springmeyer
d0a509ccf4
speed up xml map loading
2014-05-28 14:32:39 -07:00
Dane Springmeyer
5f3e11c33a
fixup xml_node::get_text() to avoid returning temporary
2014-05-28 14:14:14 -07:00
Dane Springmeyer
93e1b74c82
use math functions from std::
2014-05-28 07:52:55 -07:00
Dane Springmeyer
c87cf109a6
return const& string from xml_node::get_text()
...
Conflicts:
src/load_map.cpp
2014-05-27 18:23:21 -07:00
Dane Springmeyer
dc7fc35446
don't report the line number unless its > 0 (its not meaningful)
2014-05-23 14:29:24 -07:00
Dane Springmeyer
68f4906088
Revert "rapidxml: don't report the line number (its not meaningful)"
...
This reverts commit f56121377e
.
2014-05-23 14:26:37 -07:00
Dane Springmeyer
f56121377e
rapidxml: don't report the line number (its not meaningful)
2014-05-23 14:18:05 -07:00
Dane Springmeyer
ab85fb4705
fix skipping of empty text nodes in rapidxml parser (matches libxml2) - closes #2253
2014-05-23 10:27:37 -07:00
Dane Springmeyer
468ead3370
fix ambiguous std::fabs and the compile on windows
2014-05-22 19:57:34 -07:00
Dane Springmeyer
2b49af9627
pass string by const&
2014-05-22 16:55:48 -07:00
Dane Springmeyer
5b7a9b9b2d
rapidxml: validate closing tags like libxml2 parser (no overhead measurable seen)
2014-05-22 16:54:28 -07:00
Dane Springmeyer
3684db211c
optimize raster rendering when not resizing
2014-05-15 23:23:31 -07:00
Dane Springmeyer
a4985b3b79
add support for halo-rasterizer for shields - closes #2226
2014-04-25 16:01:35 -07:00
Dane Springmeyer
3339255b18
remove force_odd_labels - refs #2120
2014-04-24 20:22:01 -07:00
Dane Springmeyer
1e53351467
only compile cpp code if cairo/grid/svg renderers are enabled
2014-04-24 12:54:18 -07:00
Dane Springmeyer
a93252e569
add newlines to avoid pedantic warnings
2014-04-24 12:53:28 -07:00
Dane Springmeyer
83c0db36cb
add support for rendering (vs skipping) 3D and 4D postgis geometries like POINTZM, LINESTRINGZM, and POLYGONZM - closes #44
2014-04-09 19:40:14 -04:00
Dane Springmeyer
103e874f25
fix #2202
2014-04-03 17:15:57 -07:00
Oliver Tonnhofer
fc8eb981fe
prevent double-free in mapnik::projection
...
A double-free can happen when init_proj4 is called outside of the
constructor (for projections with defer_proj_init=true) and when that
call fails. In this case proj_ctx_ is not set to NULL and then freed
again in the destructor. Set to null to avoid second pj_ctx_free call.
See #2170
2014-03-08 19:50:34 -08:00
Dane Springmeyer
e49f63730e
support scale_factor in geometry-transform translate and scale - refs #1926
2014-02-27 11:55:58 -08:00
Dane Springmeyer
4e957c9cac
make inflated image for blurring opt-in via 'image-filters-inflate' option - refs #2165
2014-02-27 10:11:17 -08:00
Dane Springmeyer
f037eb99c2
silence debug print
2014-02-06 18:42:20 -08:00
Dane Springmeyer
69de7f0a10
only return true if plugins are actually newly registered
2014-02-06 18:24:35 -08:00
Dane Springmeyer
dcb87dd935
check filesystem before trying to open plugin + only report unique directories searched - closes #2131
2014-02-06 17:05:46 -08:00