Commit graph

3028 commits

Author SHA1 Message Date
Dane Springmeyer
e94667a8ae use std::string 2011-06-24 00:53:00 +00:00
Dane Springmeyer
45965381af throw if we encounter a font file which lacks any referencable names (freetype family_name and style_name) making it basically invalid 2011-06-24 00:51:21 +00:00
Dane Springmeyer
d403cbf4bc python: make mapnik2.Grid and mapnik2.GridView available with from mapnik import * 2011-06-24 00:00:40 +00:00
Dane Springmeyer
9573a87515 update changelog 2011-06-16 18:09:03 +00:00
Dane Springmeyer
ac44f669cc add more grid rendering tests 2011-06-16 18:08:22 +00:00
Dane Springmeyer
086138dedc switch back to using grid width/height to allow for variable size grid to be rendered (purely for testing) 2011-06-16 18:08:04 +00:00
Dane Springmeyer
b31d3c89c9 add test that asserts feature count is the same between shapefile driver and ogr (currently fails) 2011-06-16 18:06:24 +00:00
Dane Springmeyer
5f53246337 fix bug in width/height of transform in grid_renderer 2011-06-16 16:48:30 +00:00
Dane Springmeyer
c093d2ad4d add ability to supply a key_field (attribute name) to be used for feature ids + fix potential table alias quoting failure 2011-06-13 21:58:11 +00:00
Dane Springmeyer
4e229ac516 more sql utility functions for handling quoting 2011-06-13 21:43:37 +00:00
Dane Springmeyer
1829093fc9 copy string, don't get reference from boost::filesystem::path 2011-06-13 21:42:44 +00:00
Dane Springmeyer
1f32c4c9d7 default to faster -O3 compiler optimization since this is well tested by now and debian packagers who originally ask for it to be set at -O2 can now change the default 2011-06-13 15:20:29 +00:00
Artem Pavlenko
9bc45c9ca1 + addd boost::equality_comparable<box2d<T> 2011-06-07 21:16:03 +00:00
Artem Pavlenko
f0181d4c4f + small change 2011-06-07 20:35:06 +00:00
Artem Pavlenko
1264632999 + more color equality tests 2011-06-07 19:50:38 +00:00
Artem Pavlenko
a16a8f7a6b + update python tests 2011-06-07 19:50:30 +00:00
Artem Pavlenko
a27617306b + add __neq__ operator 2011-06-07 19:27:15 +00:00
Artem Pavlenko
e2cafb3327 + change repr method output to be more explicit
(TODO: Is it going to break anything ?)
2011-06-07 16:14:33 +00:00
Artem Pavlenko
6a92e63cc1 + add __neq__ operator : ( self != self ) 2011-06-07 16:14:26 +00:00
Artem Pavlenko
1d2abb8206 + add support for CSS3 HSL colors: http://www.w3.org/TR/css3-color/#hsl-color 2011-06-07 16:14:11 +00:00
Artem Pavlenko
4a72a7d680 + fix color(std::string const& ) ctor to initialize r,g,b,a.
+ impl eq ops using boost::equality_comparable.
+ output alpha in to_hex_string if not 255.
2011-06-07 16:14:02 +00:00
Artem Pavlenko
bc3d784b85 + change ingterface to work with std::string 2011-06-07 16:13:54 +00:00
Dane Springmeyer
3d81a07f06 support for png 1.5.x, should work fine with 1.4.x - closes #772 2011-06-05 21:02:55 +00:00
Dane Springmeyer
7c2549ff46 rework the grid rendering interface to be object oriented and template based allowing for working both with grids and grid views for metatiling 2011-06-04 00:28:00 +00:00
Dane Springmeyer
9cc93552f2 reflect mapnik.GridView in python 2011-06-04 00:26:29 +00:00
Dane Springmeyer
e7533dd125 reflect mapnik.Grid in python 2011-06-04 00:25:43 +00:00
Dane Springmeyer
104dd25a94 grid_renderer: only clamp markers size if initial grid resolution is reduced 2011-06-04 00:20:29 +00:00
Dane Springmeyer
7da40e3700 grid_renderer: rename step->resolution 2011-06-04 00:16:16 +00:00
Dane Springmeyer
ef6af65f17 remove debug output 2011-06-03 22:11:51 +00:00
Dane Springmeyer
e93bfa7a5a add a grid_view class to allow subsetting of grids for metatiling 2011-06-03 05:55:28 +00:00
Dane Springmeyer
001f38fc57 expose get/set of key and resolution on grid renamed from join_field/step 2011-06-03 01:55:26 +00:00
Dane Springmeyer
034e205c64 fixup grid resolve function 2011-06-03 00:15:17 +00:00
Dane Springmeyer
1e01b2d0c0 enforce at least cairomm 1.8.0 - closes #736 2011-06-01 19:43:11 +00:00
Dane Springmeyer
840bb52de6 avoid compiler warning 2011-06-01 18:53:47 +00:00
Dane Springmeyer
3654e92ee4 nearest neighbor resampling impl for grid array 2011-06-01 17:22:56 +00:00
Dane Springmeyer
14bc0be880 postgis: make sure to report boolean fields 2011-05-31 23:30:59 +00:00
Dane Springmeyer
2bec001a44 add missing change to header for r2942 2011-05-31 22:44:48 +00:00
Dane Springmeyer
ef8e1c84e4 reflect the new forward/backward functions added in r2942 in python 2011-05-31 22:43:48 +00:00
Dane Springmeyer
c230ed6733 add alternative bbox forward/inverse functions 2011-05-31 22:38:15 +00:00
Dane Springmeyer
fcdf033004 restore boost 1.41 -> 1.44 compatibility 2011-05-31 17:34:09 +00:00
Dane Springmeyer
327ed94f15 tabs -> spaces 2011-05-31 17:12:51 +00:00
Hermann Kraus
8474976353 Prepare for merging "text_placement_info" and "placement". 2011-05-30 01:16:21 +00:00
Hermann Kraus
de089f0d68 Add alignment to text_placement_info. 2011-05-29 22:33:41 +00:00
Dane Springmeyer
8322a96575 code cleanup 2011-05-27 21:00:19 +00:00
Dane Springmeyer
10a14bbda3 formatting 2011-05-27 04:16:56 +00:00
Artem Pavlenko
b6f02e6d4d + adapt mapnik::color as fusion sequence to avoid intermediate data structure 2011-05-26 10:07:37 +00:00
Dane Springmeyer
4dd2e9eda5 large potential performance boost for ogr datasources 2011-05-26 07:30:49 +00:00
Dane Springmeyer
1d07c81316 add missed commits to complete the support for map 'base' 2011-05-25 23:51:40 +00:00
Dane Springmeyer
b7a0204bf2 add tests for map 'base' parameter 2011-05-25 23:51:08 +00:00
Dane Springmeyer
7a17c7e597 load_map_from_string has always accepted a base path argument to drive the interpretation of relative paths in the stylesheet when loaded in memory- this really should be a full map property so that it can be known on the map object after parsing and changed if the map is saved to a new location 2011-05-25 23:48:07 +00:00