Commit graph

1874 commits

Author SHA1 Message Date
Dane Springmeyer
03250d0efe fix up metaclass injector to work with both python 2 and python 3 because the 2to3 script cannot handle this tricky bit 2010-09-26 23:28:29 +00:00
Dane Springmeyer
9492d309e6 better checking for whether our target python is python 3 2010-09-26 22:49:14 +00:00
Dane Springmeyer
18dd9ff40e python3 support - patch thanks to Haoyu Bai - closes #334 2010-09-26 12:15:16 +00:00
Dane Springmeyer
6ebb182c11 actually add fix for #621 2010-09-26 11:52:06 +00:00
Dane Springmeyer
d7740caffc revert unintended changes 2010-09-26 11:50:16 +00:00
Dane Springmeyer
48f7533808 fix text_transform upgrade issue - thx ajashton - closes #621 2010-09-26 11:48:43 +00:00
Dane Springmeyer
207168fafc fix broken feature caching - #624 2010-09-26 10:25:15 +00:00
Dane Springmeyer
baf04537ee 619_raster_colorizer_documentation.patch from tmcw - closes #619 2010-09-25 13:55:51 +00:00
Artem Pavlenko
77da818cd9 + recentre SVG symbols before rendering
(todo: maybe better recentre SVGs at loading time)
2010-09-25 12:12:59 +00:00
Dane Springmeyer
3c8926a395 apply python docs patch from tmcw - closes #618 2010-09-24 17:41:08 +00:00
Dane Springmeyer
5c424d2e7c add impl for grayscale_to_alpha (e.g. devseed world glass effect) - #609 2010-09-24 17:08:12 +00:00
Dane Springmeyer
0a300c8be7 impl of alpha setting in C++ core - should work now via python - #609 2010-09-24 16:12:23 +00:00
Artem Pavlenko
01076f87e3 + don't process raster datasource
+ if src and dest projections are not matched
2010-09-24 15:44:35 +00:00
Dane Springmeyer
b3810a5f6a stub in new alpha manipulation functions for mapnik image - #609 2010-09-24 15:37:19 +00:00
Tom Hughes
05ab656b57 The upcoming 4.8.0 release of PROJ.4 is supposed to be threadsafe, so
lets believe them and not use any locks if we are building against
version 4.8.0 or later.

Instead we use the new proj_ctx_alloc routine to create a context and
pass that when initialising the projection structure.
2010-09-24 15:26:50 +00:00
Artem Pavlenko
6fa56b143a + add 'is' keyword (same as 'eq', '=')
+ parse 'null' as  value_null()
2010-09-24 12:55:20 +00:00
Artem Pavlenko
8b92943608 + max_char_angle default to 25 degrees 2010-09-24 12:55:14 +00:00
Artem Pavlenko
86f4027d9d + store max_char_angle in radians
+ default to 25.0 degrees
2010-09-24 12:55:08 +00:00
Artem Pavlenko
71bfe37601 + align text placement to pixel boundary 2010-09-24 12:55:03 +00:00
Dane Springmeyer
4a2d1f49a6 catch up CHANGELOG to #93 2010-09-23 10:39:53 +00:00
Dane Springmeyer
6dd98b58a0 fix tabs --> spaces 2010-09-20 14:12:11 +00:00
Dane Springmeyer
07bae46fd7 scons: more logic reporting around cairo support 2010-09-19 18:29:22 +00:00
Dane Springmeyer
d73d72d509 scons: no direct linking to python on platforms other than darwin 2010-09-19 18:10:41 +00:00
Dane Springmeyer
8e708a8160 gdal: protect from passing wrong number of bands to gdal 2010-09-19 17:52:17 +00:00
Dane Springmeyer
3549fea396 enable upgrading xml for attribute changes (e.g text_convert -> text_transform) 2010-09-18 19:33:13 +00:00
Dane Springmeyer
22d402aa7a Add Carlos and Herm to the Authors list for their GSOC contributions 2010-09-18 19:28:26 +00:00
Dane Springmeyer
00f473de63 gdal plugin: calculate constant raster properties used in featureset up front at datasource creation (no real speed boost but less repeated code) 2010-09-18 19:19:27 +00:00
Dane Springmeyer
985e54379e catch up CHANGELOG with r2211 2010-09-18 19:13:50 +00:00
Dane Springmeyer
c35310445a rename text_convert to text_transform to match css naming convention (also matching enums to css) 2010-09-18 19:10:18 +00:00
Dane Springmeyer
ec8de98740 avoid compiler warnings 2010-09-18 18:51:22 +00:00
Dane Springmeyer
2f32f991ed missed change that should have been added with r2207 2010-09-18 18:09:34 +00:00
Dane Springmeyer
00457ea64e update changelog to capture change to shapefile behavior in r2204 (#604) 2010-09-18 18:08:15 +00:00
Dane Springmeyer
523b09701e Add the ability to pass custom CXXFLAGS and LDFLAGS that will be prioritized above other compiler and linker flags 2010-09-18 18:02:15 +00:00
Dane Springmeyer
65ef9a3548 add ability to set the cc compiler and default it to gcc (solaris configure check fix), and touchups around CXXFLAGS 2010-09-18 16:50:05 +00:00
Dane Springmeyer
e22c187e95 expose an indexing operator on box2d to allow for easy pythonic access to bounds parts 2010-09-16 14:41:29 +00:00
Dane Springmeyer
1aa05e052d shape: throw an error if an attribute name is requested that does not exist and report out which attribute names are available - closes #604 2010-09-14 17:59:50 +00:00
Dane Springmeyer
fbd0e4954c remove duplicate locks - handled in pool.hpp already (mapnik held up fine this way in the wms benchmarks) 2010-09-14 17:08:18 +00:00
Dane Springmeyer
73fe7fda4a use boost::iostreams::stream_offset for dbf offset and record_length_ to work around >2 GB issue with filtering features - closes #595 (TODO - look into offset issues in shape indexes - #603) 2010-09-14 16:21:25 +00:00
Dane Springmeyer
d84ac3ad5b better error message if shapefile index cannot be read 2010-09-14 15:43:38 +00:00
Dane Springmeyer
4c07bc8447 avoid compiler warning in indexed shape reader 2010-09-14 15:43:02 +00:00
Artem Pavlenko
46f9a7188a + don't compensate dx/dy 2010-09-10 13:49:21 +00:00
Artem Pavlenko
acd05cb5cd + align text and shields to pixels 2010-09-10 13:15:34 +00:00
Artem Pavlenko
14971ed88c + initialise displacement_ with shield_displacement 2010-09-10 13:15:25 +00:00
Artem Pavlenko
962f2b8c5e + use forward slashes in *.ini file 2010-09-10 13:15:15 +00:00
Artem Pavlenko
56bca0d194 + re-use placement for subsequent points 2010-09-10 13:15:06 +00:00
Artem Pavlenko
ad03de5895 + better .index handling (TODO!) 2010-09-06 19:20:59 +00:00
Dane Springmeyer
89acd2e6e0 pass iterators as const to qi::phrase_parse allowing compile on linux g++ (rhel) 2010-09-06 18:37:02 +00:00
Artem Pavlenko
23ea9e0004 add coomment 2010-09-02 20:21:00 +00:00
Artem Pavlenko
65eba5f894 use boost::spirit to parse int and double from dbf 2010-09-02 20:20:51 +00:00
Artem Pavlenko
7776b8f4ae + make shape_io object a shape datasource member and re-use memmapped files
(todo : only implemented for indexed shape files atm)
2010-09-02 20:20:42 +00:00